Searched refs:packet_size (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/SDL2/src/ |
A D | SDL_dataqueue.c | 40 size_t packet_size; /* size of new packets */ member 71 queue->packet_size = packetlen; in SDL_NewDataQueue() 100 const size_t packet_size = queue ? queue->packet_size : 1; in SDL_ClearDataQueue() local 101 const size_t slackpackets = (slack + (packet_size-1)) / packet_size; in SDL_ClearDataQueue() 153 … packet = (SDL_DataQueuePacket *) SDL_malloc(sizeof (SDL_DataQueuePacket) + queue->packet_size); in AllocateDataQueuePacket() 179 const size_t packet_size = queue ? queue->packet_size : 0; in SDL_WriteToDataQueue() local 195 SDL_assert(!packet || (packet->datalen <= packet_size)); in SDL_WriteToDataQueue() 196 if (!packet || (packet->datalen >= packet_size)) { in SDL_WriteToDataQueue() 217 datalen = SDL_min(len, packet_size - packet->datalen); in SDL_WriteToDataQueue() 310 } else if (len > queue->packet_size) { in SDL_ReserveSpaceInDataQueue() [all …]
|
/AliOS-Things-master/components/ble_host/ble_profiles/ |
A D | ota_server.c | 33 uint16_t packet_size; member 50 uint16_t packet_size; member 133 ota_ctrl.packet_size = 0; in ota_reset() 249 uint16_t packet_size = e->data[5] << 8 | e->data[6]; in event_char_write() local 253 LOGE(TAG, "unsupport ota param %d %d", firmware_size, packet_size); in event_char_write() 258 ota_ctrl.packet_size = packet_size; in event_char_write() 263 … ota_ctrl.expect_packet_count = (firmware_size + packet_size - 1) / packet_size; in event_char_write() 265 firmware_size, packet_size, timeout, ota_ctrl.expect_packet_count); in event_char_write() 299 ota_rx.expect_len = ota_ctrl.firmware_size % ota_ctrl.packet_size; in event_char_write() 301 ota_rx.expect_len = ota_ctrl.packet_size; in event_char_write() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/release/aos_burn_tool/ |
A D | ymodem.py | 173 packet_size = 128 219 data = data_stream.read(packet_size) 228 packet_size = 128 348 packet_size = 128 351 packet_size = 1024 376 packet_size = 128 378 packet_size = 1024 391 data = self.getc(packet_size + 2) 455 assert packet_size in (128, 1024), packet_size 457 if packet_size == 128: [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/release/aos_burn_tool/ |
A D | ymodem.py | 173 packet_size = 1024 215 data = data_stream.read(packet_size) 224 packet_size = 128 334 packet_size = 128 337 packet_size = 1024 362 packet_size = 128 364 packet_size = 1024 377 data = self.getc(packet_size + 2) 441 assert packet_size in (128, 1024), packet_size 443 if packet_size == 128: [all …]
|
/AliOS-Things-master/components/py_engine/engine/tools/ |
A D | ymodemfile.py | 186 packet_size = 1024 227 data = data_stream.read(packet_size) 236 packet_size = 128 367 packet_size = 128 370 packet_size = 1024 393 packet_size = 128 395 packet_size = 1024 408 data = self.getc(packet_size + 2) 470 assert packet_size in (128, 1024), packet_size 472 if packet_size == 128: [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/uart/ |
A D | ymodem.c | 214 uint16_t i, packet_size; in Receive_Packet() local 224 packet_size = PACKET_SIZE; in Receive_Packet() 227 packet_size = PACKET_1K_SIZE; in Receive_Packet() 248 for (i = 1; i < (packet_size + PACKET_OVERHEAD); i ++) in Receive_Packet() 259 *length = packet_size; in Receive_Packet()
|
Completed in 10 milliseconds