/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/ |
A D | huffman_utils.c | 84 int total_size = 1 << root_bits; // total size root table + 2nd level table in BuildHuffmanTable() local 132 ReplicateValue(table, 1, total_size, code); in BuildHuffmanTable() 133 return total_size; in BuildHuffmanTable() 139 uint32_t mask = total_size - 1; // mask for low bits in BuildHuffmanTable() 178 total_size += table_size; in BuildHuffmanTable() 196 return total_size; in BuildHuffmanTable() 207 int total_size; in VP8LBuildHuffmanTable() local 212 total_size = BuildHuffmanTable(root_table, root_bits, in VP8LBuildHuffmanTable() 218 total_size = BuildHuffmanTable(root_table, root_bits, in VP8LBuildHuffmanTable() 222 return total_size; in VP8LBuildHuffmanTable()
|
A D | utils.c | 169 const uint64_t total_size = nmemb * size; in CheckSizeArgumentsOverflow() local 172 if (total_size != (size_t)total_size) return 0; in CheckSizeArgumentsOverflow() 180 const uint64_t new_total_mem = (uint64_t)total_mem + total_size; in CheckSizeArgumentsOverflow()
|
A D | quant_levels_dec_utils.c | 223 const size_t total_size = size_scratch_m + size_m + size_lut; in InitParams() local 224 uint8_t* mem = (uint8_t*)WebPSafeMalloc(1U, total_size); in InitParams()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Source/ReshapeFunctions/ |
A D | arm_reshape_s8.c | 49 void arm_reshape_s8(const int8_t *input, int8_t *output, const uint32_t total_size) in arm_reshape_s8() argument 51 memcpy(output, input, total_size); in arm_reshape_s8()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/NN/Source/ReshapeFunctions/ |
A D | arm_reshape_s8.c | 49 void arm_reshape_s8(const int8_t *input, int8_t *output, const uint32_t total_size) in arm_reshape_s8() argument 51 memcpy(output, input, total_size); in arm_reshape_s8()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/api/ |
A D | netdb.c | 277 size_t total_size; in lwip_getaddrinfo() local 354 total_size = sizeof(struct addrinfo) + sizeof(struct sockaddr_storage); in lwip_getaddrinfo() 363 LWIP_ASSERT("namelen is too long", total_size + namelen + 1 > total_size); in lwip_getaddrinfo() 364 total_size += namelen + 1; in lwip_getaddrinfo() 368 total_size <= NETDB_ELEM_SIZE); in lwip_getaddrinfo() 374 memset(ai, 0, total_size); in lwip_getaddrinfo()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/ |
A D | imageio_util.c | 152 const uint64_t total_size = nmemb * size; in ImgIoUtilCheckSizeArgumentsOverflow() local 153 int ok = (total_size == (size_t)total_size); in ImgIoUtilCheckSizeArgumentsOverflow() 155 ok = ok && (total_size <= (uint64_t)WEBP_MAX_IMAGE_SIZE); in ImgIoUtilCheckSizeArgumentsOverflow()
|
A D | jpegdec.c | 70 size_t total_size = 0; in StoreICCP() local 109 total_size += segment_size; in StoreICCP() 132 iccp->bytes = (uint8_t*)malloc(total_size); in StoreICCP() 134 iccp->size = total_size; in StoreICCP()
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | moductypes.c | 147 mp_uint_t total_size = 0; in uctypes_struct_agg_size() local 182 return total_size; in uctypes_struct_agg_size() 200 mp_uint_t total_size = 0; in uctypes_struct_size() local 216 if (offset + s > total_size) { in uctypes_struct_size() 217 total_size = offset + s; in uctypes_struct_size() 227 if (offset + s > total_size) { in uctypes_struct_size() 228 total_size = offset + s; in uctypes_struct_size() 236 total_size = (total_size + *max_field_size - 1) & ~(*max_field_size - 1); in uctypes_struct_size() 238 return total_size; in uctypes_struct_size()
|
/AliOS-Things-master/components/drivers/core/fbdev/src/ |
A D | fb.c | 110 unsigned long total_size; in fb_read() local 121 total_size = info->screen_size; in fb_read() 123 if (total_size == 0) in fb_read() 124 total_size = info->fix.smem_len; in fb_read() 126 if (len >= total_size) in fb_read() 127 len = total_size; in fb_read()
|
/AliOS-Things-master/components/freetype/src/base/ |
A D | ftmac.c | 584 FT_ULong total_size = 0; in read_lwfn() local 609 total_size += 2; /* just the end code */ in read_lwfn() 611 total_size += 6; /* code + 4 bytes chunk length */ in read_lwfn() 614 total_size += GetHandleSize( post_data ) - 2; in read_lwfn() 618 if ( total_size < old_total_size ) in read_lwfn() 624 old_total_size = total_size; in read_lwfn() 627 if ( FT_ALLOC( buffer, (FT_Long)total_size ) ) in read_lwfn() 683 *size = total_size; in read_lwfn()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/ |
A D | picture_psnr_enc.c | 184 double total_size = 0., total_distortion = 0.; in WebPPictureDistortion() local 213 total_size += w * h; in WebPPictureDistortion() 216 results[4] = (type == 1) ? (float)GetLogSSIM(total_distortion, total_size) in WebPPictureDistortion() 217 : (float)GetPSNR(total_distortion, total_size); in WebPPictureDistortion()
|
A D | picture_enc.c | 98 uint64_t y_size, uv_size, a_size, total_size; in WebPPictureAllocYUVA() local 117 total_size = y_size + a_size + 2 * uv_size; in WebPPictureAllocYUVA() 125 mem = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*mem)); in WebPPictureAllocYUVA()
|
A D | histogram_enc.c | 64 const size_t total_size = sizeof(VP8LHistogram) + sizeof(int) * literal_size; in VP8LGetHistogramSize() local 65 assert(total_size <= (size_t)0x7fffffff); in VP8LGetHistogramSize() 66 return (int)total_size; in VP8LGetHistogramSize() 113 const int total_size = VP8LGetHistogramSize(cache_bits); in VP8LAllocateHistogram() local 114 uint8_t* const memory = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*memory)); in VP8LAllocateHistogram() 149 const size_t total_size = HistogramSetTotalSize(size, cache_bits); in VP8LAllocateHistogramSet() local 150 uint8_t* memory = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*memory)); in VP8LAllocateHistogramSet() 169 const size_t total_size = HistogramSetTotalSize(size, cache_bits); in VP8LHistogramSetClear() local 172 memset(memory, 0, total_size); in VP8LHistogramSetClear()
|
/AliOS-Things-master/components/ble_host/bt_host/include/bluetooth/ |
A D | sdp.h | 276 bt_u32_t total_size; member 323 .total_size = BIT(_type & BT_SDP_SIZE_DESC_MASK) + 1 333 .total_size = BIT((_type & BT_SDP_SIZE_DESC_MASK) - \
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/drivers/norflash/ |
A D | norflash_drv.h | 78 const uint32_t total_size; member 102 int norflash_get_size(uint32_t *total_size, uint32_t *block_size, uint32_t *sector_size, uint32_t *…
|
/AliOS-Things-master/components/debug/src/ |
A D | debug_overview.h | 16 int32_t total_size; member
|
/AliOS-Things-master/components/littlevgl/src/lv_misc/ |
A D | lv_mem.h | 50 uint32_t total_size; /**< Total heap size */ member
|
A D | lv_mem.c | 342 mon_p->total_size = LV_MEM_SIZE; in lv_mem_monitor() 343 mon_p->used_pct = 100 - (100U * mon_p->free_size) / mon_p->total_size; in lv_mem_monitor()
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/wifi_app/audio_dec/ |
A D | audio_player.h | 34 …int audio_player_play_mem_init(audio_player_format_t format, uint32_t total_size, audio_player_pla…
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | stream.c | 306 mp_uint_t total_size = 0; in stream_readall() local 319 if (total_size == 0) { in stream_readall() 329 total_size += out_sz; in stream_readall() 339 vstr.len = total_size; in stream_readall()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/ |
A D | buffer_dec.c | 99 uint64_t uv_size = 0, a_size = 0, total_size; in AllocateBuffer() local 118 total_size = size + 2 * uv_size + a_size; in AllocateBuffer() 121 output = (uint8_t*)WebPSafeMalloc(total_size, sizeof(*output)); in AllocateBuffer()
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | sdp.c | 316 data_elem->total_size = data_elem->data_size + size_field_len + 1; in parse_data_elem() 400 return elem->total_size; in search_uuid() 527 uuid_list_size -= data_elem.total_size; in find_services() 713 bt_u32_t size, seq_size, total_size; in copy_attribute() local 721 total_size = elem->total_size; in copy_attribute() 727 switch (total_size - (seq_size + 1U)) { in copy_attribute() 767 return total_size; in copy_attribute() 835 attr_size = 3 + attr->val.total_size; in select_attrs() 1024 size -= data_elem.total_size; in get_att_search_list()
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/ |
A D | dwebp.c | 145 uint32_t total_size = stride * h * (has_alpha ? 2 : 1) in AllocateExternalBuffer() local 148 external_buffer = (uint8_t*)malloc(total_size); in AllocateExternalBuffer() 173 assert(tmp <= external_buffer + total_size); in AllocateExternalBuffer()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/optimized/ |
A D | sse_tensor_utils.cc | 233 const int total_size = n_batch * m_rows; in SseMatrixBatchVectorMultiplyAccumulate() local 235 for (; i <= total_size - 8; i += 8, result += 8) { in SseMatrixBatchVectorMultiplyAccumulate() 254 for (; i < total_size; i++) { in SseMatrixBatchVectorMultiplyAccumulate()
|