/third_party/json/include/nlohmann/detail/input/ |
H A D | json_sax.hpp | 235 JSON_THROW(out_of_range::create(408, concat("excessive object size: ", std::to_string(len)), ref_stack.back())); in start_object() 267 JSON_THROW(out_of_range::create(408, concat("excessive array size: ", std::to_string(len)), ref_stack.back())); in start_array() 416 const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::object_start, discarded); in start_object() 425 JSON_THROW(out_of_range::create(408, concat("excessive object size: ", std::to_string(len)), ref_stack.back())); in start_object() 436 const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::key, k); in key() 452 if (!callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::object_end, *ref_stack.back())) in end_object() 486 const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::array_start, discarded); in start_array() 495 JSON_THROW(out_of_range::create(408, concat("excessive array size: ", std::to_string(len)), ref_stack.back())); in start_array() 507 keep = callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::array_end, *ref_stack.back()); in end_array() 583 const bool keep = skip_callback || callback(static_cast<int>(ref_stack.size()), parse_event_ in handle_value() [all...] |
/third_party/json/tests/src/ |
H A D | unit-inspection.cpp | 235 CHECK(j.dump().size() == 94); 236 CHECK(j.dump(1).size() == 127); 237 CHECK(j.dump(2).size() == 142); 238 CHECK(j.dump(512).size() == 7792); 242 CHECK(j.dump(1024).size() == 15472); 245 CHECK(binary.dump(1024).size() == 2086);
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_pass.c | 146 size_t size = sizeof(*pass); in v3dv_CreateRenderPass2() local 147 size_t subpasses_offset = size; in v3dv_CreateRenderPass2() 148 size += pCreateInfo->subpassCount * sizeof(pass->subpasses[0]); in v3dv_CreateRenderPass2() 149 size_t attachments_offset = size; in v3dv_CreateRenderPass2() 150 size += pCreateInfo->attachmentCount * sizeof(pass->attachments[0]); in v3dv_CreateRenderPass2() 152 pass = vk_object_zalloc(&device->vk, pAllocator, size, in v3dv_CreateRenderPass2() 320 /* Granularity is defined by the tile size */ in subpass_get_granularity()
|
/third_party/mesa3d/src/compiler/ |
H A D | glsl_types.h | 68 unsigned *size, unsigned *align); 99 /* Return the bit size of a type. Note that this differs from 640 /** Returns an explicitly laid out type given a type and size/align func 642 * The size/align func is only called for scalar and vector types and the 648 * possible following the alignment required by the size/align func. 658 unsigned *size, unsigned *align) const; 676 * through explicit offset, stride and matrix layout, so the size 1077 unsigned size = length; in arrays_of_arrays_size() local 1081 size = size * array_base_typ in arrays_of_arrays_size() [all...] |
/third_party/libwebsockets/lib/tls/openssl/ |
H A D | openssl-ssl.c | 68 lws_context_init_ssl_pem_passwd_cb(char *buf, int size, int rwflag, in lws_context_init_ssl_pem_passwd_cb() argument 74 strncpy(buf, info->ssl_private_key_password, (unsigned int)size); in lws_context_init_ssl_pem_passwd_cb() 75 buf[size - 1] = '\0'; in lws_context_init_ssl_pem_passwd_cb() 83 lws_context_init_ssl_pem_passwd_client_cb(char *buf, int size, int rwflag, in lws_context_init_ssl_pem_passwd_client_cb() argument 93 strncpy(buf, p, (unsigned int)size); in lws_context_init_ssl_pem_passwd_client_cb() 94 buf[size - 1] = '\0'; in lws_context_init_ssl_pem_passwd_client_cb() 254 /* hm not retryable.. could be 0 size pkt or error */ in lws_ssl_capable_read()
|
/third_party/ltp/include/old/ |
H A D | safe_macros.h | 41 #define SAFE_GETCWD(cleanup_fn, buf, size) \ 42 safe_getcwd(__FILE__, __LINE__, (cleanup_fn), (buf), (size)) 50 #define SAFE_MALLOC(cleanup_fn, size) \ 51 safe_malloc(__FILE__, __LINE__, (cleanup_fn), (size)) 141 #define SAFE_MEMALIGN(cleanup_fn, alignment, size) \ 142 safe_memalign(__FILE__, __LINE__, (cleanup_fn), (alignment), (size))
|
/third_party/mesa3d/src/gallium/winsys/sw/xlib/ |
H A D | xlib_sw_winsys.c | 122 alloc_shm(struct xlib_displaytarget *buf, unsigned size) in alloc_shm() argument 130 shminfo->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT | 0600); in alloc_shm() 409 unsigned nblocksy, size; in xlib_displaytarget_create() local 423 size = xlib_dt->stride * nblocksy; in xlib_displaytarget_create() 427 xlib_dt->data = alloc_shm(xlib_dt, size); in xlib_displaytarget_create() 434 xlib_dt->data = align_malloc(size, alignment); in xlib_displaytarget_create()
|
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/ |
H A D | iowin32.c | 42 uLong ZCALLBACK win32_read_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size)); 43 uLong ZCALLBACK win32_write_file_func OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); 203 uLong ZCALLBACK win32_read_file_func (voidpf opaque, voidpf stream, void* buf,uLong size) in win32_read_file_func() argument 212 if (!ReadFile(hFile, buf, size, &ret, NULL)) in win32_read_file_func() 225 uLong ZCALLBACK win32_write_file_func (voidpf opaque,voidpf stream,const void* buf,uLong size) in win32_write_file_func() argument 234 if (!WriteFile(hFile, buf, size, &ret, NULL)) in win32_write_file_func()
|
/third_party/nghttp2/src/ |
H A D | shrpx_http2_downstream_connection.cc | 204 nva.reserve(trailers.size()); in http2_data_read_callback() 207 rv = nghttp2_submit_trailer(session, stream_id, nva.data(), nva.size()); in http2_data_read_callback() 293 nva.reserve(req.fs.headers().size() + 11 + num_cookies + in push_request_headers() 294 httpconf.add_request_headers.size()); in push_request_headers() 435 vialen += via->value.size() + 2; in push_request_headers() 491 rv = http2session_->submit_request(this, nva.data(), nva.size(), data_prdptr); in push_request_headers()
|
H A D | shrpx_mruby_module_request.cc | 74 return mrb_str_new(mrb, method.c_str(), method.size()); in request_get_method() 110 return mrb_str_new(mrb, req.authority.c_str(), req.authority.size()); in request_get_authority() 144 return mrb_str_new(mrb, req.scheme.c_str(), req.scheme.size()); in request_get_scheme() 178 return mrb_str_new(mrb, req.path.c_str(), req.path.size()); in request_get_path() 238 auto token = http2::lookup_token(keyref.byte(), keyref.size()); in request_mod_header() 243 for (size_t i = 0; i < headers.size(); ++i) { in request_mod_header()
|
/third_party/musl/porting/liteos_m/user/hook/ |
H A D | los_usr_libc.c | 100 int pthread_attr_setstack(pthread_attr_t *a, void *addr, size_t size) in pthread_attr_setstack() argument 102 return g_usrLibc->pthread_attr_setstack(a, addr, size); in pthread_attr_setstack() 105 int pthread_attr_getstack(const pthread_attr_t *restrict a, void **restrict addr, size_t *restrict size) in pthread_attr_getstack() argument 107 return g_usrLibc->pthread_attr_getstack(a, addr, size); in pthread_attr_getstack() 423 void *malloc(size_t size) in malloc() argument 425 g_usrLibc->malloc(size); in malloc()
|
/third_party/node/deps/googletest/src/ |
H A D | gtest-printers.cc | 96 // If the object size is bigger than kThreshold, we'll have to omit in PrintBytesInObjectToImpl() 526 if (PrintCharsAsStringTo(s.data(), s.size(), os) == kHexEscape) { in PrintStringTo() 528 ConditionalPrintAsText(s.data(), s.size(), os); in PrintStringTo() 535 PrintCharsAsStringTo(s.data(), s.size(), os); in PrintU8StringTo() 540 PrintCharsAsStringTo(s.data(), s.size(), os); in PrintU16StringTo() 544 PrintCharsAsStringTo(s.data(), s.size(), os); in PrintU32StringTo() 549 PrintCharsAsStringTo(s.data(), s.size(), os); in PrintWideStringTo()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_array.cpp | 218 /* For each attribute, upload the maximum possible size. */ in st_setup_current() 228 const unsigned size = attrib->Format._ElementSize; in st_setup_current() local 229 const unsigned alignment = util_next_power_of_two(size); in st_setup_current() 231 memcpy(cursor, attrib->Ptr, size); in st_setup_current() 232 if (alignment != size) in st_setup_current() 233 memset(cursor + size, 0, alignment - size); in st_setup_current()
|
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_layout.c | 70 * Given an AFBC modifier, return the superblock size. 117 * Given a format, determine the tile size used for u-interleaving. For formats 131 * Determine the block size used for interleaving. For u-interleaving, this is 132 * the tile size. For AFBC, this is the superblock size. For linear textures, 147 * Determine the tile size used by AFBC. This tiles superblocks themselves. 175 * header tile. This is also divided by the tile size to give a "line stride" in 197 * Checksumming is believed to be a CRC variant (CRC64 based on the size?). 407 /* AFBC body size */ in pan_image_layout_init() 440 slice->size in pan_image_layout_init() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_vp3_video.c | 315 fprintf(stderr, "firmware file %s wrong size!\n", path); in nouveau_vp3_load_firmware() 350 munmap(dec->fw_bo->map, dec->fw_bo->size); in nouveau_vp3_load_firmware() 382 int size; in firmware_present() local 386 size = sizeof(nv04_data); in firmware_present() 389 size = sizeof(nvc0_args); in firmware_present() 392 size = sizeof(nve0_args); in firmware_present() 398 data, size, &channel); in firmware_present()
|
/third_party/icu/icu4c/source/tools/gendict/ |
H A D | gendict.cpp | 408 outDataSize = sp.size(); in main() 430 int32_t size = outDataSize + indexes[DictionaryData::IX_STRING_TRIE_OFFSET]; in main() 431 indexes[DictionaryData::IX_RESERVED1_OFFSET] = size; in main() 432 indexes[DictionaryData::IX_RESERVED2_OFFSET] = size; in main() 433 indexes[DictionaryData::IX_TOTAL_SIZE] = size; in main() 449 if (bytesWritten != (size_t)size) { in main()
|
/third_party/icu/icu4c/source/tools/gensprep/ |
H A D | store.c | 12 * tab size: 8 (not used) 66 * UTrie stringPrepTrie; -- size in bytes=indexes[_SPREP_INDEX_TRIE_SIZE] 69 * size in bytes = indexes[_SPREP_INDEX_MAPPING_DATA_SIZE] 72 * indexes[_SPREP_INDEX_TRIE_SIZE] -- The size of the StringPrep trie in bytes 73 * indexes[_SPREP_INDEX_MAPPING_DATA_SIZE] -- The size of the mappingTable in bytes 336 /* If this happens there is a bug in the computation of the mapping data size in storeMapping() */ in storeMappingData() 559 int32_t size, dataLength; in generateData() local 564 size=0; in generateData() 579 size = sprepTrieSize + mappingDataCapacity*U_SIZEOF_UCHAR + sizeof(indexes); in generateData() 581 printf("size o in generateData() [all...] |
/third_party/libwebsockets/win32port/zlib/ |
H A D | gzlib.c | 98 state->size = 0; /* no buffers allocated yet */
99 state->want = GZBUFSIZE; /* requested buffer size */
228 int ZEXPORT gzbuffer(file, size)
in gzbuffer() 230 unsigned size;
242 if (state->size != 0)
245 /* check and set requested size */
246 if (size == 0)
248 state->want = size;
|
/third_party/lz4/tests/ |
H A D | test-lz4-list.py | 27 if "concat-all" in self.filename or "2f--content-size" in self.filename: 53 elif "2f--content-size" in nvinfo.filename: 86 if "--content-size" in nvinfo.filename: 91 if "--content-size" in nvinfo.filename: 119 test_list_SM_lz4f = glob.glob(f"{TEMP}/test_list_*M-lz4f-2f--content-size.lz4") 134 if "2f--content-size" in filename: 183 if "-2f-" not in ffm and "--content-size" in ffm: 189 if "--content-size" in self.cvinfo.file_frame_map[i]: 195 def to_human(size): 197 if size < 1024. [all...] |
/third_party/node/deps/openssl/config/archs/linux-ppc64le/asm_avx2/crypto/sha/ |
H A D | keccak1600-ppc64.s | 181 .size KeccakF1600_int,.-KeccakF1600_int 299 .size KeccakF1600,.-KeccakF1600 325 .size dword_le_load,.-dword_le_load 552 .size SHA3_absorb,.-SHA3_absorb 629 .size SHA3_squeeze,.-SHA3_squeeze 667 .size iotas,.-iotas
|
/third_party/node/deps/openssl/config/archs/linux-ppc64le/asm/crypto/sha/ |
H A D | keccak1600-ppc64.s | 181 .size KeccakF1600_int,.-KeccakF1600_int 299 .size KeccakF1600,.-KeccakF1600 325 .size dword_le_load,.-dword_le_load 552 .size SHA3_absorb,.-SHA3_absorb 629 .size SHA3_squeeze,.-SHA3_squeeze 667 .size iotas,.-iotas
|
/third_party/node/deps/v8/include/v8-include/ |
H A D | v8-local-handle.h | 124 void* operator new(size_t size); 125 void* operator new[](size_t size); 490 void* operator new(size_t size); 491 void* operator new[](size_t size); 515 void* operator new(size_t size); 516 void* operator new[](size_t size);
|
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-string.cc | 87 one_byte_buffer.data(), one_byte_buffer.size()))); in BUILTIN() 115 static_cast<int>(one_byte_buffer.size() + two_byte_buffer.size()))); in BUILTIN() 119 one_byte_buffer.size()); in BUILTIN() 120 CopyChars(result->GetChars(no_gc) + one_byte_buffer.size(), in BUILTIN() 121 two_byte_buffer.data(), two_byte_buffer.size()); in BUILTIN()
|
/third_party/node/deps/v8/include/ |
H A D | v8-local-handle.h | 106 void* operator new(size_t size); 107 void* operator new[](size_t size); 418 void* operator new(size_t size); 419 void* operator new[](size_t size); 443 void* operator new(size_t size); 444 void* operator new[](size_t size);
|
/third_party/node/deps/v8/src/heap/ |
H A D | memory-chunk.cc | 21 void MemoryChunk::DiscardUnusedMemory(Address addr, size_t size) { in DiscardUnusedMemory() argument 23 MemoryAllocator::ComputeDiscardMemoryArea(addr, size); in DiscardUnusedMemory() 24 if (memory_area.size() != 0) { in DiscardUnusedMemory() 29 reinterpret_cast<void*>(memory_area.begin()), memory_area.size())); in DiscardUnusedMemory() 182 MemoryAllocator::GetCommitPageSizeBits(), size()); in MemoryChunk() 201 if (!base::OS::HasLazyCommits() || IsLargePage()) return size(); in CommittedPhysicalMemory()
|