/third_party/python/Lib/ |
H A D | tempfile.py | 688 def __init__(self, max_size=0, mode='w+b', buffering=-1, 698 self._max_size = max_size 709 max_size = self._max_size 710 if max_size and file.tell() > max_size:
|
/third_party/node/test/fixtures/wpt/wasm/jsapi/ |
H A D | wasm-module-builder.js | 662 constructor(module, type, initial_size, max_size) { 666 this.has_max = max_size != undefined; 667 this.max_size = max_size; 745 addTable(type, initial_size, max_size = undefined) { 749 let table = new WasmTableBuilder(this, type, initial_size, max_size); 866 if (table.has_max && table_size > table.max_size) { 867 table.max_size = table_size; 971 if (table.has_max) section.emit_u32v(table.max_size);
|
/third_party/ffmpeg/libavcodec/ |
H A D | vaapi_h264.c | 84 int max_size; ///< Max number of reference frames. This is FF_ARRAY_ELEMS(VAPictureParameterBufferH264.ReferenceFrames) member 98 if (dpb->size >= dpb->max_size) in dpb_add() 132 dpb.max_size = FF_ARRAY_ELEMS(pic_param->ReferenceFrames); in fill_vaapi_ReferenceFrames() 134 for (i = 0; i < dpb.max_size; i++) in fill_vaapi_ReferenceFrames()
|
/third_party/ffmpeg/libavformat/ |
H A D | aiffdec.c | 396 int64_t max_size; in aiff_read_packet() local 400 max_size = aiff->data_end - avio_tell(s->pb); in aiff_read_packet() 401 if (max_size <= 0) in aiff_read_packet() 422 size = FFMIN(max_size, size); in aiff_read_packet()
|
H A D | voc.h | 51 AVStream *st, int max_size);
|
/third_party/alsa-utils/axfer/ |
H A D | container-riff-wave.c | 484 if (byte_count > cntr->max_size - total_byte_count) in write_riff_chunk_for_wave() 485 total_byte_count = cntr->max_size; in write_riff_chunk_for_wave() 553 .max_size = UINT32_MAX - 565 .max_size = UINT32_MAX -
|
/third_party/libbpf/src/ |
H A D | ringbuf.c | 543 __u32 avail_size, total_size, max_size; in user_ring_buffer__reserve() local 559 max_size = rb->mask + 1; in user_ring_buffer__reserve() 560 avail_size = max_size - (prod_pos - cons_pos); in user_ring_buffer__reserve() 564 if (total_size > max_size) in user_ring_buffer__reserve()
|
/third_party/json/include/nlohmann/detail/input/ |
H A D | json_sax.hpp | 233 if (JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size())) in start_object() 265 if (JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size())) in start_array() 423 if (ref_stack.back() && JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size())) in start_object() 493 if (ref_stack.back() && JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size())) in start_array()
|
/third_party/vixl/test/ |
H A D | test-invalset.cc | 165 size_t max_size = set.size(); in TEST() local 167 VIXL_CHECK(set.size() == max_size - 1); in TEST() 168 for (size_t i = 2; i <= max_size; i++) { in TEST() 170 VIXL_CHECK(set.size() == max_size - i); in TEST()
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
H A D | mixer.c | 52 unsigned max_size, i; in vlVdpVideoMixerCreate() local 150 max_size = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_SIZE); in vlVdpVideoMixerCreate() 151 if (vmixer->video_width < 48 || vmixer->video_width > max_size) { in vlVdpVideoMixerCreate() 153 vmixer->video_width, max_size); in vlVdpVideoMixerCreate() 156 if (vmixer->video_height < 48 || vmixer->video_height > max_size) { in vlVdpVideoMixerCreate() 158 vmixer->video_height, max_size); in vlVdpVideoMixerCreate()
|
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-module.cc | 306 base::Optional<uint32_t> max_size, in GetTypeForMemory() 317 if (max_size.has_value()) { in GetTypeForMemory() 319 factory->NewNumberFromUint(max_size.value()), NONE); in GetTypeForMemory() 329 base::Optional<uint32_t> max_size) { in GetTypeForTable() 343 if (max_size.has_value()) { in GetTypeForTable() 345 factory->NewNumberFromUint(max_size.value()), NONE); in GetTypeForTable() 305 GetTypeForMemory(Isolate* isolate, uint32_t min_size, base::Optional<uint32_t> max_size, bool shared) GetTypeForMemory() argument 327 GetTypeForTable(Isolate* isolate, ValueType type, uint32_t min_size, base::Optional<uint32_t> max_size) GetTypeForTable() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | common.c | 935 size_t reslen, alen, i, max_size; in int_array_concat() local 940 max_size = (size_t) -1; in int_array_concat() 941 if (alen >= max_size - reslen) { in int_array_concat() 1002 size_t reslen, max_size; in int_array_add_unique() local 1010 max_size = (size_t) -1; in int_array_add_unique() 1011 if (reslen > max_size - 2) { in int_array_add_unique()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | parcel_macro.h | 64 if ((readSize > readAbleDataSize) || ((val)->max_size() < readSize)) { \
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/transaction/ |
H A D | rs_occlusion_data.cpp | 31 if (len > readableSize || len > data->visibleData_.max_size()) { in Unmarshalling()
|
/third_party/json/docs/ |
H A D | Makefile | 40 check_output_portable: $(filter-out examples/meta.test examples/max_size.test examples/std_hash.test examples/basic_json__CompatibleType.test,$(EXAMPLES:.cpp=.test))
|
/third_party/node/deps/openssl/openssl/crypto/async/ |
H A D | async_local.h | 73 size_t max_size; member
|
/third_party/openssl/crypto/async/ |
H A D | async_local.h | 73 size_t max_size; member
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/ |
H A D | mutator_cache.h | 44 /// @param max_size - the maximum number of elements the cache can store. May 46 explicit MutatorCache(size_t max_size); 63 /// - if the number of elements in the cache is equal to `max_size`, the
|
/foundation/barrierfree/accessibility/common/interface/test/unittest/mock/ |
H A D | mock_accessibility_element_operator_callback_stub.cpp | 126 bool verifyResult = ContainerSecurityVerify(data, accessibilityInfosize, tmpData.max_size()); in HandleSetSearchElementInfoByAccessibilityIdResult() 161 bool verifyResult = ContainerSecurityVerify(data, accessibilityInfosize, infos.max_size()); in HandleSetSearchElementInfoByTextResult()
|
/foundation/barrierfree/accessibility/common/interface/src/ |
H A D | accessibility_element_operator_callback_stub.cpp | 126 bool verifyResult = ContainerSecurityVerify(data, accessibilityInfosize, tmpData.max_size()); in HandleSetSearchElementInfoByAccessibilityIdResult() 161 bool verifyResult = ContainerSecurityVerify(data, accessibilityInfosize, infos.max_size()); in HandleSetSearchElementInfoByTextResult()
|
/third_party/glslang/glslang/Include/ |
H A D | PoolAlloc.h | 309 size_type max_size() const { return static_cast<size_type>(-1) / sizeof(T); } in max_size() function in glslang::pool_allocator 310 size_type max_size(int size) const { return static_cast<size_type>(-1) / size; } in max_size() function in glslang::pool_allocator
|
/third_party/backends/backend/genesys/ |
H A D | serialize.h | 83 size_t max_size = std::numeric_limits<size_t>::max()) in serialize() 88 if (new_size > max_size) { in serialize()
|
/third_party/libuv/src/unix/ |
H A D | netbsd.c | 144 int max_size = sizeof(struct kinfo_proc2); in uv_resident_set_memory() local 154 kinfo = kvm_getproc2(kd, KERN_PROC_PID, pid, max_size, &nprocs); in uv_resident_set_memory()
|
/third_party/jerryscript/tools/ |
H A D | gen-magic-strings.py | 244 max_size = len(defs[-1][1]) 245 for size in range(max_size + 1):
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-deaddrop/mount-origin/ |
H A D | deaddrop.js | 246 server_max_size = j.max_size; 249 humanize(j.max_size);
|