Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 25 of 36) sorted by relevance

12

/AliOS-Things-master/components/ble_host/bt_host/hci_driver/
A Dh4_driver.c56 uint16_t remaining; member
309 hci_h4.rx.remaining = 0; in reset_rx()
339 hci_h4.rx.hdr_len = hci_h4.rx.remaining; in h4_get_type()
344 hci_h4.rx.hdr_len = hci_h4.rx.remaining; in h4_get_type()
358 hci_h4.rx.remaining -= read_byte((uint8_t *)hdr + to_read, hci_h4.rx.remaining); in get_acl_hdr()
359 if (!hci_h4.rx.remaining) { in get_acl_hdr()
360 hci_h4.rx.remaining = hdr->len; in get_acl_hdr()
371 hci_h4.rx.remaining -= read_byte((uint8_t *)hdr + to_read, hci_h4.rx.remaining); in get_evt_hdr()
372 if (!hci_h4.rx.remaining) { in get_evt_hdr()
425 hci_h4.rx.remaining -= read; in read_payload()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/untgz/
A Duntgz.c392 int remaining = 0; in tar() local
414 remaining = 0; /* force I/O cleanup */ in tar()
470 remaining = getoct(buffer.header.size,12); in tar()
471 if (remaining == -1) in tar()
477 printf(" %s %9d %s\n",strtime(&tartime),remaining,fname); in tar()
505 remaining = getoct(buffer.header.size,12); in tar()
506 if (remaining < 0 || remaining >= BLOCKSIZE) in tar()
514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining) in tar()
529 unsigned int bytes = (remaining > BLOCKSIZE) ? BLOCKSIZE : remaining; in tar()
542 remaining -= bytes; in tar()
[all …]
/AliOS-Things-master/components/mbedtls/library/
A Dpoly1305.c334 size_t remaining = ilen; in mbedtls_poly1305_update() local
340 if( ( remaining > 0U ) && ( ctx->queue_len > 0U ) ) in mbedtls_poly1305_update()
355 remaining = 0U; in mbedtls_poly1305_update()
369 remaining -= queue_free_len; in mbedtls_poly1305_update()
373 if( remaining >= POLY1305_BLOCK_SIZE_BYTES ) in mbedtls_poly1305_update()
375 nblocks = remaining / POLY1305_BLOCK_SIZE_BYTES; in mbedtls_poly1305_update()
380 remaining %= POLY1305_BLOCK_SIZE_BYTES; in mbedtls_poly1305_update()
383 if( remaining > 0U ) in mbedtls_poly1305_update()
386 ctx->queue_len = remaining; in mbedtls_poly1305_update()
387 memcpy( ctx->queue, &input[offset], remaining ); in mbedtls_poly1305_update()
/AliOS-Things-master/hardware/chip/rtl872xd/hci_driver/
A Dhci_driver.c62 uint16_t remaining; member
89 rx.remaining = 0; in reset_rx()
113 rx.remaining = hdr->len - (rx.hdr_len - sizeof(*hdr)); in get_evt_hdr()
127 rx.remaining = sys_le16_to_cpu(hdr->len); in get_acl_hdr()
128 BT_DBG("Got ACL header. Payload %u bytes", rx.remaining); in get_acl_hdr()
184 rx.discard = rx.remaining; in h4_receive()
196 net_buf_add_mem(rx.buf, pdata, rx.remaining); in h4_receive()
/AliOS-Things-master/components/amp/libjs/init/
A Dpromise.js268 var remaining = 0;
271 remaining++;
274 if (!--remaining)
288 if (!remaining)
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dproxy.c1211 bt_s32_t remaining = K_FOREVER; in gatt_proxy_advertise() local
1218 return remaining; in gatt_proxy_advertise()
1223 return remaining; in gatt_proxy_advertise()
1230 remaining = NODE_ID_TIMEOUT - active; in gatt_proxy_advertise()
1231 BT_DBG("Node ID active for %u ms, %d ms remaining", active, remaining); in gatt_proxy_advertise()
1260 if (remaining > max_timeout || remaining < 0) { in gatt_proxy_advertise()
1261 remaining = max_timeout; in gatt_proxy_advertise()
1265 BT_DBG("Advertising %d ms for net_idx 0x%04x", remaining, sub->net_idx); in gatt_proxy_advertise()
1267 return remaining; in gatt_proxy_advertise()
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/
A Dcmac_mode.c238 size_t remaining = TC_AES_BLOCK_SIZE - s->leftover_offset; in tc_cmac_final() local
240 _set(&s->leftover[s->leftover_offset], 0, remaining); in tc_cmac_final()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/dbs/xtiff/
A DREADME4 handle as many different kinds of TIFF files as possible while remaining
/AliOS-Things-master/components/py_engine/engine/py/
A Dobjstringio.c61 mp_uint_t remaining = o->vstr->len - o->pos; in stringio_read() local
62 if (size > remaining) { in stringio_read()
63 size = remaining; in stringio_read()
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandtouch.h344 qt_windowmanager_open_url(struct qt_windowmanager *qt_windowmanager, uint32_t remaining, const char… in qt_windowmanager_open_url() argument
347 QT_WINDOWMANAGER_OPEN_URL, remaining, url); in qt_windowmanager_open_url()
/AliOS-Things-master/components/SDL2/src/audio/coreaudio/
A DSDL_coreaudio.m528 while (remaining > 0) {
541 if (len > remaining)
549 remaining -= len;
556 while (remaining > 0) {
568 if (len > remaining) {
569 len = remaining;
574 remaining -= len;
599 while (remaining > 0) {
601 if (len > remaining) {
602 len = remaining;
[all …]
/AliOS-Things-master/components/SDL2/src/power/linux/
A DSDL_syspower.c137 int remaining = -1; in check_proc_acpi_battery() local
164 remaining = cvt; in check_proc_acpi_battery()
180 if ((maximum >= 0) && (remaining >= 0)) { in check_proc_acpi_battery()
181 pct = (int) ((((float) remaining) / ((float) maximum)) * 100.0f); in check_proc_acpi_battery()
/AliOS-Things-master/components/ble_host/bt_crypto/
A Dbt_crypto.c394 size_t remaining = 16 - ctx->leftover_offset; in bt_crypto_cmac_finish() local
396 memset(&ctx->leftover[ctx->leftover_offset], 0, remaining); in bt_crypto_cmac_finish()
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Dcompile244 Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
A Djdmarker.c721 unsigned int datalen, INT32 remaining) in examine_app0() argument
727 INT32 totallen = (INT32) datalen + remaining; in examine_app0()
798 unsigned int datalen, INT32 remaining) in examine_app14() argument
822 TRACEMS1(cinfo, 1, JTRC_APP14, (int) (datalen + remaining)); in examine_app14()
A Dwizard.txt101 If you specify fewer HxV pairs than there are components, the remaining
193 # Send remaining Y AC coefficients, minus 2 lowest bits:
A Djconfig.txt131 * The remaining options do not affect the JPEG library proper,
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dcompile244 Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
A Dpngpread.c63 size_t remaining = png_ptr->buffer_size; in png_process_data_pause() local
69 if (png_ptr->save_buffer_size < remaining) in png_process_data_pause()
70 return remaining - png_ptr->save_buffer_size; in png_process_data_pause()
/AliOS-Things-master/components/SDL2/src/image/
A Dcompile244 Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
A DIMG_xcf.c226 Sint64 remaining; in read_string() local
231 remaining = SDL_RWsize(src) - SDL_RWtell(src); in read_string()
232 if (tmp > 0 && (Sint32)tmp <= remaining) { in read_string()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/config/
A Dcompile244 Remove '-o dest.o' from ARGS, run PROGRAM with the remaining
/AliOS-Things-master/components/lwip/lwip2.0.0/api/
A Dapi_msg.c1454 u32_t remaining = msg->msg.r.len; local
1456 u16_t recved = (remaining > 0xffff) ? 0xffff : (u16_t)remaining;
1458 remaining -= recved;
1459 } while (remaining != 0);
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodlwip.c775 mp_uint_t remaining = p->len - socket->recv_offset; in lwip_tcp_receive() local
776 if (len > remaining) { in lwip_tcp_receive()
777 len = remaining; in lwip_tcp_receive()
782 remaining -= len; in lwip_tcp_receive()
783 if (remaining == 0) { in lwip_tcp_receive()
/AliOS-Things-master/components/freetype/src/autofit/
A Dafblue.dat29 // remaining lines the corresponding array data.

Completed in 42 milliseconds

12