/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | histogram_enc.c | 129 memory += set->max_size * sizeof(*set->histograms); in HistogramSetResetPointers() 130 for (i = 0; i < set->max_size; ++i) { in HistogramSetResetPointers() 156 set->max_size = size; in VP8LAllocateHistogramSet() 168 const int size = set->max_size; in VP8LHistogramSetClear() 175 set->max_size = size; in VP8LHistogramSetClear() 590 assert(image_histo->max_size == orig_histo->max_size); in HistogramCopyAndAnalyze() 591 for (cluster_id = 0, i = 0; i < orig_histo->max_size; ++i) { in HistogramCopyAndAnalyze() 610 assert(cluster_id <= image_histo->max_size); in HistogramCopyAndAnalyze() 741 int max_size; member 744 HistoQueueInit(HistoQueue* const histo_queue, const int max_size) HistoQueueInit() argument [all...] |
H A D | picture_enc.c | 183 writer->max_size = 0; in WebPMemoryWriterInit() 194 if (next_size > w->max_size) { in WebPMemoryWrite() 196 uint64_t next_max_size = 2ULL * w->max_size; in WebPMemoryWrite() 209 w->max_size = (size_t)next_max_size; in WebPMemoryWrite() 223 writer->max_size = 0; in WebPMemoryWriterClear()
|
/third_party/cups-filters/cupsfilters/ |
H A D | image.c | 567 max_size; /* Maximum cache size in bytes */ in cupsImageSetMaxTiles() local 585 switch (sscanf(cache_env, "%d%254s", &max_size, cache_units)) in cupsImageSetMaxTiles() 588 max_size = 32 * 1024 * 1024; in cupsImageSetMaxTiles() 591 max_size *= 4 * CUPS_TILE_SIZE * CUPS_TILE_SIZE; in cupsImageSetMaxTiles() 595 max_size *= 1024 * 1024 * 1024; in cupsImageSetMaxTiles() 597 max_size *= 1024 * 1024; in cupsImageSetMaxTiles() 599 max_size *= 1024; in cupsImageSetMaxTiles() 601 max_size *= 4 * CUPS_TILE_SIZE * CUPS_TILE_SIZE; in cupsImageSetMaxTiles() 606 max_size = 32 * 1024 * 1024; in cupsImageSetMaxTiles() 608 if (cache_size > max_size) in cupsImageSetMaxTiles() [all...] |
/third_party/ffmpeg/tools/ |
H A D | probetest.c | 101 int max_size = 65537; in main() local 111 max_size = read_int(argv[i]); in main() 114 fprintf(stderr, "probetest [-f <input format>] [<retry_count> [<max_size>]]\n"); in main() 119 if (max_size > 1000000000U/8) { in main() 120 fprintf(stderr, "max_size out of bounds\n"); in main() 132 for (size = 1; size < max_size; size *= 2) { in main()
|
/third_party/backends/backend/genesys/ |
H A D | motor.cpp | 106 unsigned min_size, unsigned max_size) in create_slope_table_for_speed() 128 table.table.reserve(max_size); in create_slope_table_for_speed() 130 while (table.table.size() < max_size - 1) { in create_slope_table_for_speed() 143 while (table.table.size() < max_size - 1 && in create_slope_table_for_speed() 104 create_slope_table_for_speed(const MotorSlope& slope, unsigned target_speed_w, StepType step_type, unsigned steps_alignment, unsigned min_size, unsigned max_size) create_slope_table_for_speed() argument
|
/third_party/mesa3d/src/freedreno/fdl/ |
H A D | fd_layout_test.c | 42 int max_size = MAX2(testcase->layout.width0, testcase->layout.height0); in fdl_test_layout() local 44 while (max_size > 1 && testcase->layout.slices[mip_levels].pitch) { in fdl_test_layout() 46 max_size = u_minify(max_size, 1); in fdl_test_layout()
|
/third_party/ltp/testcases/kernel/mem/vmtests/ |
H A D | data_space.c | 73 int max_size; /* max file size */ variable 113 max_size = K_1 * K_1; 119 if (sscanf(argv[i++], "%d", &max_size) != 1) 242 nchunks = max_size / csize; 252 mondobuf = malloc(max_size); 281 bfill(mondobuf, 0, max_size);
|
/third_party/node/deps/openssl/openssl/crypto/async/ |
H A D | async.c | 122 if ((pool->max_size != 0) && (pool->curr_size >= pool->max_size)) in async_get_pool_job() 352 int ASYNC_init_thread(size_t max_size, size_t init_size) in ASYNC_init_thread() argument 357 if (init_size > max_size) { in ASYNC_init_thread() 381 pool->max_size = max_size; in ASYNC_init_thread()
|
/third_party/openssl/crypto/async/ |
H A D | async.c | 122 if ((pool->max_size != 0) && (pool->curr_size >= pool->max_size)) in async_get_pool_job() 352 int ASYNC_init_thread(size_t max_size, size_t init_size) in ASYNC_init_thread() argument 357 if (init_size > max_size) { in ASYNC_init_thread() 381 pool->max_size = max_size; in ASYNC_init_thread()
|
/third_party/libcoap/tests/ |
H A D | test_error_response.c | 36 coap_pdu_clear(pdu, pdu->max_size); in t_error_response1() 65 coap_pdu_clear(pdu, pdu->max_size); in t_error_response2() 95 coap_pdu_clear(pdu, pdu->max_size); in t_error_response3() 134 coap_pdu_clear(pdu, pdu->max_size); in t_error_response4() 175 coap_pdu_clear(pdu, pdu->max_size); in t_error_response5() 216 coap_pdu_clear(pdu, pdu->max_size); in t_error_response6() 257 coap_pdu_clear(pdu, pdu->max_size); in t_error_response7() 293 coap_pdu_clear(pdu, pdu->max_size); in t_error_response8()
|
H A D | test_pdu.c | 274 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_parse_pdu15() 340 coap_pdu_clear(pdu, pdu->max_size); in t_encode_pdu1() 357 size_t old_max = pdu->max_size; in t_encode_pdu2() 402 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_encode_pdu4() 453 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_encode_pdu5() 491 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_encode_pdu6() 512 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_encode_pdu7() 535 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_encode_pdu8() 568 coap_pdu_clear(pdu, pdu->max_size); /* clear PDU */ in t_encode_pdu9() 650 coap_pdu_clear(pdu, pdu->max_size); /* clea in t_encode_pdu10() [all...] |
/third_party/alsa-utils/axfer/ |
H A D | container-raw.c | 54 .max_size = UINT64_MAX, 62 .max_size = UINT64_MAX,
|
/third_party/jerryscript/jerry-debugger/ |
H A D | jerry_client_serial.py | 43 def receive_data(self, max_size=1024): 44 """ The maximum amount of data to be received at once is specified by max_size. """ 45 return self.ser.read(max_size)
|
H A D | jerry_client_tcp.py | 39 def receive_data(self, max_size=1024): 40 """ The maximum amount of data to be received at once is specified by max_size. """ 41 return self.socket.recv(max_size)
|
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A D | mhd2spdy_spdy.h | 75 unsigned int max_size, 84 unsigned int max_size,
|
/third_party/gn/src/base/files/ |
H A D | file_util.cc | 119 size_t max_size) { in ReadFileToStringWithMaxSize() 138 chunk_size = std::min<uint64_t>(chunk_size, max_size) + 1; in ReadFileToStringWithMaxSize() 147 if ((max_size - bytes_read_so_far) < bytes_read_this_pass) { in ReadFileToStringWithMaxSize() 148 // Read more than max_size bytes, bail out. in ReadFileToStringWithMaxSize() 149 bytes_read_so_far = max_size; in ReadFileToStringWithMaxSize() 117 ReadFileToStringWithMaxSize(const FilePath& path, std::string* contents, size_t max_size) ReadFileToStringWithMaxSize() argument
|
/third_party/ltp/testcases/kernel/fs/mongo/ |
H A D | reiser_fract_tree.c | 42 max_size to both equal the max size of the file size range you want in print_usage() 94 double max_size /* The maximal value of size */ ) in determine_size() 96 /* when x is half of its random range (max_size/median_size), result is in determine_size() 107 /* this code does poorly when max_size is not a lot more than median size, in determine_size() 113 line will equal max_size */ in determine_size() 114 /* the granularity_reducer is to handle the case where max_size is near in determine_size() 116 of handling that for small values of max_size/median_size by making in determine_size() 118 if (max_size / median_size < 1024) in determine_size() 126 (((double)max_size) / ((double)median_size)))); in determine_size() 131 (double_nr_random) / (((double)max_size) / in determine_size() [all...] |
/third_party/skia/third_party/externals/freetype/src/base/ |
H A D | ftdbgmem.c | 67 FT_Long max_size; /* maximum cumulative allocated size */ member 448 node->max_size = 0; in ft_mem_table_get_source() 538 if ( source->cur_size > source->max_size ) in ft_mem_table_set() 539 source->max_size = source->cur_size; in ft_mem_table_set() 885 if ( s2->max_size > s1->max_size ) in ft_mem_source_compare() 887 else if ( s2->max_size < s1->max_size ) in ft_mem_source_compare() 953 source->cur_size, source->max_size, source->cur_max, in FT_DumpMemory()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_nir_opt_preamble.c | 265 unsigned max_size; in ir3_nir_opt_preamble() local 267 max_size = const_state->preamble_size * 4; in ir3_nir_opt_preamble() 271 max_size = (ir3_max_const(v) - worst_case_const_state.offsets.immediate) * 4; in ir3_nir_opt_preamble() 274 if (max_size == 0) in ir3_nir_opt_preamble() 281 .preamble_storage_size = max_size, in ir3_nir_opt_preamble()
|
/third_party/ffmpeg/libavformat/ |
H A D | libmodplug.c | 47 int max_size; ///< max file size to allocate member 92 {"max_size", "Max file size supported (in bytes). Default is 5MB. Set to 0 for no limit (not recommended)", 93 OFFSET(max_size), AV_OPT_TYPE_INT, {.i64 = FF_MODPLUG_DEF_FILE_SIZE}, 0, FF_MODPLUG_MAX_FILE_SIZE, D}, 183 sz = modplug->max_size; in modplug_read_header() 184 } else if (modplug->max_size && sz > modplug->max_size) { in modplug_read_header() 185 sz = modplug->max_size; in modplug_read_header() 188 sz == FF_MODPLUG_DEF_FILE_SIZE ? " (see -max_size)" : "", sz); in modplug_read_header() 198 modplug->buf = av_malloc(modplug->max_size); in modplug_read_header()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/transaction/ |
H A D | rs_uiextension_data.cpp | 77 if (mapSize > uiExtensionData->secData_.max_size()) { in Unmarshalling() 86 if (uiExtensionNodesCount > uiExtensionData->secData_[hostNodeId].max_size()) { in Unmarshalling() 99 if (upperNodesCount > secSurfaceInfo.upperNodes.max_size()) { in Unmarshalling()
|
/third_party/elfutils/libdw/ |
H A D | dwarf_getpubnames.c | 90 size_t max_size = dbg->sectiondata[IDX_debug_pubnames]->d_size; in get_offsets() local 91 if (mem[cnt].set_start >= max_size in get_offsets() 92 || len - (2 + 2 * len_bytes) > max_size - mem[cnt].set_start) in get_offsets()
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
H A D | rescaler_utils.c | 93 const int max_size = INT_MAX / 2; in WebPRescalerGetScaledDimensions() local 106 if (width <= 0 || height <= 0 || width > max_size || height > max_size) { in WebPRescalerGetScaledDimensions()
|
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/ |
H A D | cso_cache.h | 104 int max_size, 109 int max_size; member
|
/third_party/skia/third_party/externals/libwebp/extras/ |
H A D | quality_estimate.c | 27 uint64_t max_size, uint64_t* const bit_pos) { in GetBit() 29 if (*bit_pos + nb <= 8 * max_size) { in GetBit() 26 GetBit(const uint8_t* const data, size_t nb, uint64_t max_size, uint64_t* const bit_pos) GetBit() argument
|