/AliOS-Things-master/components/linkkit/external/nghttp2/ |
A D | nghttp2_hd_huffman.c | 160 size_t avail; in nghttp2_hd_huff_encode() local 162 avail = nghttp2_bufs_cur_avail(bufs); in nghttp2_hd_huff_encode() 167 if (avail) { in nghttp2_hd_huff_encode() 174 avail = nghttp2_bufs_cur_avail(bufs); in nghttp2_hd_huff_encode() 177 rembits = huff_encode_sym(bufs, &avail, (size_t)rembits, sym); in nghttp2_hd_huff_encode() 187 assert(avail); in nghttp2_hd_huff_encode()
|
/AliOS-Things-master/components/SDL2/src/ |
A D | SDL_dataqueue.c | 241 const size_t avail = packet->datalen - packet->startpos; in SDL_PeekIntoDataQueue() local 242 const size_t cpy = SDL_min(len, avail); in SDL_PeekIntoDataQueue() 243 SDL_assert(queue->queued_bytes >= avail); in SDL_PeekIntoDataQueue() 266 const size_t avail = packet->datalen - packet->startpos; in SDL_ReadFromDataQueue() local 267 const size_t cpy = SDL_min(len, avail); in SDL_ReadFromDataQueue() 268 SDL_assert(queue->queued_bytes >= avail); in SDL_ReadFromDataQueue() 317 const size_t avail = queue->packet_size - packet->datalen; in SDL_ReserveSpaceInDataQueue() local 318 if (len <= avail) { /* we can use the space at end of this packet. */ in SDL_ReserveSpaceInDataQueue()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/ |
A D | pngimage.c | 817 size_t avail; in buffer_read() local 845 if (avail > size) in buffer_read() 846 avail = size; in buffer_read() 850 size -= avail; in buffer_read() 851 data += avail; in buffer_read() 1281 size_t avail; in buffer_write() local 1301 if (avail > size) in buffer_write() 1302 avail = size; in buffer_write() 1305 end_count += avail; in buffer_write() 1306 size -= avail; in buffer_write() [all …]
|
A D | pngvalid.c | 1591 uInt avail = (uInt)-1; in store_read_chunk() local 1596 if (avail > st) in store_read_chunk() 1597 avail = (uInt)/*SAFE*/st; in store_read_chunk() 1602 store_read_imp(ps, pb, avail); in store_read_chunk() 1604 pb += (size_t)/*SAFE*/avail; in store_read_chunk() 1605 st -= (size_t)/*SAFE*/avail; in store_read_chunk() 1672 size_t avail = st; in store_read_chunk() local 1674 if (avail > chunklen - chunkpos) in store_read_chunk() 1677 store_read_imp(ps, pb, avail); in store_read_chunk() 1678 pb += avail; in store_read_chunk() [all …]
|
/AliOS-Things-master/components/freetype/src/sfnt/ |
A D | ttkern.c | 52 FT_UInt32 avail = 0, ordered = 0; in tt_face_load_kern() local 121 avail |= mask; in tt_face_load_kern() 158 face->kern_avail_bits = avail; in tt_face_load_kern()
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/ |
A D | pngrutil.c | 517 uInt avail; in png_inflate() local 530 avail = ZLIB_IO_MAX; in png_inflate() 532 if (avail_in < avail) in png_inflate() 535 avail_in -= avail; in png_inflate() 536 png_ptr->zstream.avail_in = avail; in png_inflate() 553 if (avail_out < avail) in png_inflate() 557 avail_out -= avail; in png_inflate() 803 uInt avail = ZLIB_IO_MAX; in png_inflate_read() local 804 if (avail > *out_size) in png_inflate_read() 805 avail = (uInt)*out_size; in png_inflate_read() [all …]
|
A D | pngwutil.c | 641 png_uint_32 avail = (sizeof comp->output); in png_write_compressed_data_out() local 646 if (avail > output_len) in png_write_compressed_data_out() 647 avail = output_len; in png_write_compressed_data_out() 649 png_write_chunk_data(png_ptr, output, avail); in png_write_compressed_data_out() 651 output_len -= avail; in png_write_compressed_data_out() 656 avail = png_ptr->zbuffer_size; in png_write_compressed_data_out() 973 uInt avail = ZLIB_IO_MAX; in png_compress_IDAT() local 975 if (avail > input_len) in png_compress_IDAT() 976 avail = (uInt)input_len; /* safe because of the check */ in png_compress_IDAT() 978 png_ptr->zstream.avail_in = avail; in png_compress_IDAT() [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ |
A D | stats.c | 108 LWIP_PLATFORM_DIAG(("avail: %"U32_F"\n\t", (u32_t)mem->avail)); in stats_display_mem()
|
A D | memp.c | 252 desc->stats->avail = desc->num; in memp_init_pool()
|
A D | mem.c | 401 MEM_STATS_AVAIL(avail, MEM_SIZE_ALIGNED); in mem_init()
|
/AliOS-Things-master/components/freetype/src/bdf/ |
A D | bdflib.c | 672 ptrdiff_t bytes, start, end, cursor, avail; in _bdf_readstream() local 694 avail = 0; in _bdf_readstream() 707 avail = cursor + bytes; in _bdf_readstream() 715 if ( start < avail && buf[start] == to_skip ) in _bdf_readstream() 723 while ( end < avail && buf[end] != '\n' && buf[end] != '\r' ) in _bdf_readstream() 728 if ( end >= avail ) in _bdf_readstream() 756 bytes = avail - start; in _bdf_readstream() 761 avail -= bytes; in _bdf_readstream()
|
/AliOS-Things-master/components/SDL2/src/audio/wasapi/ |
A D | SDL_wasapi.c | 336 const int avail = SDL_AudioStreamAvailable(stream); in WASAPI_CaptureFromDevice() local 337 if (avail > 0) { in WASAPI_CaptureFromDevice() 338 const int cpy = SDL_min(buflen, avail); in WASAPI_CaptureFromDevice()
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | objexcept.c | 133 …size_t avail = (uint8_t *)MP_STATE_VM(mp_emergency_exception_buf) + mp_emergency_exception_buf_siz… in decompress_error_text_maybe() local 134 if (avail < MP_MAX_UNCOMPRESSED_TEXT_LEN + 1) { in decompress_error_text_maybe()
|
/AliOS-Things-master/components/py_engine/engine/extmod/nimble/ |
A D | modbluetooth_nimble.c | 1760 size_t avail = OS_MBUF_PKTLEN(chan->rx_pending); in mp_bluetooth_l2cap_recvinto() local 1764 *len = avail; in mp_bluetooth_l2cap_recvinto() 1768 *len = min(*len, avail); in mp_bluetooth_l2cap_recvinto() 1773 if (*len == avail) { in mp_bluetooth_l2cap_recvinto()
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/ |
A D | stats.h | 103 mem_size_t avail; member
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/ |
A D | stats.h | 103 mem_size_t avail; member
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/ |
A D | deflate.c | 384 unsigned avail; local 412 avail = strm->avail_in; 439 strm->avail_in = avail;
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/rtos/rhino/kernel/include/network/curl/ |
A D | curl.h | 2488 const curl_ssl_backend ***avail);
|
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/ |
A D | duktape.c | 49611 duk_size_t avail; local 49614 avail = (fb->offset >= fb->length ? (duk_size_t) 0 : (duk_size_t) (fb->length - fb->offset)); 49615 if (length > avail) { 49616 copylen = avail; 49634 duk_size_t avail; local 49638 avail = (fb->offset >= fb->length ? (duk_size_t) 0 : (duk_size_t) (fb->length - fb->offset)); 49639 if (avail > 0) { 49640 duk_int_t res = (duk_int_t) DUK_VSNPRINTF((char *) (fb->buffer + fb->offset), avail, fmt, ap); 49643 } else if ((duk_size_t) res >= avail) { 49645 fb->offset += avail; [all …]
|