Home
last modified time | relevance | path

Searched refs:max_size (Results 26 - 50 of 377) sorted by relevance

12345678910>>...16

/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dhistogram_enc.c129 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 Dpicture_enc.c183 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 Dimage.c567 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 Dprobetest.c101 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 Dmotor.cpp106 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 Dfd_layout_test.c42 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 Ddata_space.c73 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 Dasync.c122 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 Dasync.c122 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 Dtest_error_response.c36 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 Dtest_pdu.c274 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 Dcontainer-raw.c54 .max_size = UINT64_MAX,
62 .max_size = UINT64_MAX,
/third_party/jerryscript/jerry-debugger/
H A Djerry_client_serial.py43 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 Djerry_client_tcp.py39 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 Dmhd2spdy_spdy.h75 unsigned int max_size,
84 unsigned int max_size,
/third_party/gn/src/base/files/
H A Dfile_util.cc119 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 Dreiser_fract_tree.c42 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 Dftdbgmem.c67 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 Dir3_nir_opt_preamble.c265 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 Dlibmodplug.c47 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 Drs_uiextension_data.cpp77 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 Ddwarf_getpubnames.c90 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 Drescaler_utils.c93 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 Dcso_cache.h104 int max_size,
109 int max_size; member
/third_party/skia/third_party/externals/libwebp/extras/
H A Dquality_estimate.c27 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

Completed in 15 milliseconds

12345678910>>...16