/third_party/node/test/cctest/ |
H A D | test_inspector_socket.cc | 735 for (size_t i = 0; i < buffer->size(); i += 1) { in fill_message() 743 for (size_t i = 0; i < message.size(); i += 1) { in mask_message() 767 delegate->Write(message.data(), message.size()); in TEST_F() 768 expect_on_client(expected.data(), expected.size()); in TEST_F() 778 outgoing.resize(outgoing.size() + message.size()); in TEST_F() 781 do_write(outgoing.data(), outgoing.size()); in TEST_F() 782 delegate->ExpectData(message.data(), message.size()); in TEST_F()
|
/third_party/node/deps/icu-small/source/common/unicode/ |
H A D | utf_old.h | 12 * tab size: 8 (not used) 73 * were meaningful only in the framework of choosing the UTF size. 105 * The UTF-specific macros have the UTF size in the macro name prefixes (UTF16_...), while 362 #define UTF8_ARRAY_SIZE(size) ((5*(size))/2) 580 #define UTF16_ARRAY_SIZE(size) (size) 827 #define UTF32_ARRAY_SIZE(size) (size) 954 #define UTF_ARRAY_SIZE(size) UTF16_ARRAY_SIZ [all...] |
/third_party/node/deps/googletest/src/ |
H A D | gtest-port.cc | 172 size_t size = sizeof(info); 173 if (sysctl(mib, miblen, &info, &size, NULL, 0)) { 194 size_t size; 195 if (sysctl(mib, miblen, NULL, &size, NULL, 0)) { 199 mib[5] = static_cast<int>(size / static_cast<size_t>(mib[4])); 203 if (sysctl(mib, miblen, info.data(), &size, NULL, 0)) { 209 for (size_t i = 0; i < size / static_cast<size_t>(mib[4]); i++) { 436 0, // Default stack size. in CreateThread() 605 0, // Default stack size in StartWatcherThreadFor() 969 full_pattern_.reserve(pattern_.size() in Init() [all...] |
/third_party/node/deps/icu-small/source/tools/toolutil/ |
H A D | pkg_genc.cpp | 103 .size x,20 145 ".long ",".size %s, .-%s\n",HEX_0X 208 "\t.size Drodata.rodata,0\n" 945 int32_t i, entryLength, length, size, entryOffset=0, entryLengthOffset=0; in writeObjectCode() local 1224 size=T_FileStream_size(in); in writeObjectCode() 1275 sectionHeaders32[4].sh_size=(Elf32_Word)size; in writeObjectCode() 1277 symbols32[1].st_size=(Elf32_Word)size; in writeObjectCode() 1295 sectionHeaders64[4].sh_size=(Elf64_Xword)size; in writeObjectCode() 1297 symbols64[1].st_size=(Elf64_Xword)size; in writeObjectCode() 1334 objHeader.fileHeader.PointerToSymbolTable=IMAGE_SIZEOF_FILE_HEADER+2*IMAGE_SIZEOF_SECTION_HEADER+length+size; /* star in writeObjectCode() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_state_validate.c | 389 PUSH_SPACE(push, nv50->blend->size); in nv50_validate_blend() 390 PUSH_DATAp(push, nv50->blend->state, nv50->blend->size); in nv50_validate_blend() 398 PUSH_SPACE(push, nv50->zsa->size); in nv50_validate_zsa() 399 PUSH_DATAp(push, nv50->zsa->state, nv50->zsa->size); in nv50_validate_zsa() 407 PUSH_SPACE(push, nv50->rast->size); in nv50_validate_rasterizer() 408 PUSH_DATAp(push, nv50->rast->state, nv50->rast->size); in nv50_validate_rasterizer() 532 struct nv50_state_validate *validate_list, int size, in nv50_state_validate() 545 for (i = 0; i < size; i++) { in nv50_state_validate() 531 nv50_state_validate(struct nv50_context *nv50, uint32_t mask, struct nv50_state_validate *validate_list, int size, uint32_t *dirty, struct nouveau_bufctx *bufctx) nv50_state_validate() argument
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | crestst.c | 688 /* ### TODO UResourceBundle staticItem={ 0 }; - need to know the size */ in TestTable32() 934 int32_t size; in TestGetSize() member 956 int32_t size = 0; in TestGetSize() local 979 size = ures_getSize(res); in TestGetSize() 980 if(size != test[i].size) { in TestGetSize() 981 log_err("Expected size %i, got size %i for key %s\n", test[i].size, size, tes in TestGetSize() [all...] |
H A D | citertst.c | 802 int32_t size = 0; in TestMaxExpansion() local 818 size = ucol_getMaxExpansion(iter, order); in TestMaxExpansion() 819 if (U_FAILURE(status) || size < count) { in TestMaxExpansion() 829 int32_t size; in TestMaxExpansion() local 832 size = ucol_getMaxExpansion(iter, order); in TestMaxExpansion() 833 if (U_FAILURE(status) || size != 1) { in TestMaxExpansion() 951 since by default the writable buffer is of size 256 in TestSmallBuffer() 969 log_err("Error collation elements size is not 2 for \\u0300\\u031A\n"); in TestSmallBuffer() 1046 int size = 20; in TestDiscontiguos() local 1062 while (count < size) { in TestDiscontiguos() [all...] |
/third_party/icu/icu4c/source/tools/toolutil/ |
H A D | pkg_genc.cpp | 103 .size x,20 145 ".long ",".size %s, .-%s\n",HEX_0X 192 "\t.size Drodata.rodata,0\n" 890 int32_t i, entryLength, length, size, entryOffset=0, entryLengthOffset=0; in writeObjectCode() local 1169 size=T_FileStream_size(in); in writeObjectCode() 1220 sectionHeaders32[4].sh_size=(Elf32_Word)size; in writeObjectCode() 1222 symbols32[1].st_size=(Elf32_Word)size; in writeObjectCode() 1240 sectionHeaders64[4].sh_size=(Elf64_Xword)size; in writeObjectCode() 1242 symbols64[1].st_size=(Elf64_Xword)size; in writeObjectCode() 1279 objHeader.fileHeader.PointerToSymbolTable=IMAGE_SIZEOF_FILE_HEADER+2*IMAGE_SIZEOF_SECTION_HEADER+length+size; /* star in writeObjectCode() [all...] |
/third_party/icu/icu4c/source/tools/ctestfw/ |
H A D | ctest.c | 932 static void *U_CALLCONV ctest_libMalloc(const void *context, size_t size) { in ctest_libMalloc() argument 935 printf("Allocated %ld\n", (long)size); in ctest_libMalloc() 937 if (MINIMUM_MEMORY_SIZE_FAILURE <= size && size <= MAXIMUM_MEMORY_SIZE_FAILURE) { in ctest_libMalloc() 940 return malloc(size); in ctest_libMalloc() 942 static void *U_CALLCONV ctest_libRealloc(const void *context, void *mem, size_t size) { in ctest_libRealloc() argument 945 printf("Reallocated %ld\n", (long)size); in ctest_libRealloc() 947 if (MINIMUM_MEMORY_SIZE_FAILURE <= size && size <= MAXIMUM_MEMORY_SIZE_FAILURE) { in ctest_libRealloc() 951 return realloc(mem, size); in ctest_libRealloc() [all...] |
/third_party/libwebsockets/lib/tls/openssl/ |
H A D | openssl-client.c | 418 size_t size; in lws_ssl_client_bio_create() local 427 size = lws_system_blob_get_size(b); in lws_ssl_client_bio_create() 428 if (!size) in lws_ssl_client_bio_create() 444 size) != 1) { in lws_ssl_client_bio_create() 456 size = lws_system_blob_get_size(b); in lws_ssl_client_bio_create() 457 if (!size) in lws_ssl_client_bio_create() 474 size) != 1 && in lws_ssl_client_bio_create() 485 size) != 1) { in lws_ssl_client_bio_create()
|
/third_party/node/deps/v8/src/parsing/ |
H A D | preparse-data.cc | 129 DCHECK_EQ(byte_data_->size(), 0); in Start() 148 DCHECK_LE(length(), byte_data_->size()); in Reserve() 149 size_t capacity = byte_data_->size() - length(); in Reserve() 159 DCHECK_LT(index_, byte_data_->size()); in Add() 185 // Save expected item size in debug mode. in WriteVarint32() 205 // Save expected item size in debug mode. in WriteUint8() 327 byte_data_.Reserve(children_.size() * kSkippableFunctionMaxDataSize); in SaveScopeAllocationData() 561 data_->byte_data()->size()); 755 // The first uint32 contains the size of the skippable function data. in VerifyDataStart() 788 int data_size = static_cast<int>(byte_data()->size()); in Serialize() [all...] |
/third_party/rust/crates/libc/src/windows/ |
H A D | mod.rs | 312 pub fn setvbuf(stream: *mut FILE, buffer: *mut c_char, mode: c_int, size: size_t) -> c_int; in setvbuf() 322 pub fn fread(ptr: *mut c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fread() 323 pub fn fwrite(ptr: *const c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fwrite() 342 pub fn calloc(nobj: size_t, size: size_t) -> *mut c_void; in calloc() 343 pub fn malloc(size: size_t) -> *mut c_void; in malloc() 344 pub fn realloc(p: *mut c_void, size: size_t) -> *mut c_void; in realloc() 484 pub fn getcwd(buf: *mut c_char, size: ::c_int) -> *mut c_char; in getcwd() 513 pub fn aligned_malloc(size: size_t, alignment: size_t) -> *mut c_void; in aligned_malloc()
|
/third_party/qrcodegen/python/ |
H A D | qrcodegen.py | 138 # This determines the size of this barcode. 179 # Initialize both grids to be size*size arrays of Boolean false 214 """Returns this QR Code's size, in the range [21, 177].""" 417 size: int = self._size 421 for y in range(size): 425 for x in range(size): 440 for x in range(size): 444 for y in range(size): 460 for y in range(size [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawDepthClampTests.cpp | 297 , m_viewportVect (params.viewportData.size(), VkViewport()) in DepthClampTestInstance() 298 , m_scissorVect (params.viewportData.size(), VkRect2D()) in DepthClampTestInstance() 304 const deUint32 viewportCount = static_cast<deUint32>(m_params.viewportData.size()); in DepthClampTestInstance() 591 deUint32 indexCount = static_cast<deUint32>(m_viewportVect.size()); in drawCommands() 681 for(deUint32 viewportIndex = 0 ; viewportIndex < m_scissorVect.size() ; ++viewportIndex) in iterate() 735 if (m_params.viewportData.size() > 1) in initPrograms() 747 "layout(invocations = " + std::to_string(m_params.viewportData.size()) + ") in;\n" in initPrograms() 777 if (m_params.viewportData.size() > 1) in checkSupport()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawDepthClampTests.cpp | 297 , m_viewportVect (params.viewportData.size(), VkViewport()) in DepthClampTestInstance() 298 , m_scissorVect (params.viewportData.size(), VkRect2D()) in DepthClampTestInstance() 304 const deUint32 viewportCount = static_cast<deUint32>(m_params.viewportData.size()); in DepthClampTestInstance() 591 deUint32 indexCount = static_cast<deUint32>(m_viewportVect.size()); in drawCommands() 681 for(deUint32 viewportIndex = 0 ; viewportIndex < m_scissorVect.size() ; ++viewportIndex) in iterate() 735 if (m_params.viewportData.size() > 1) in initPrograms() 747 "layout(invocations = " + std::to_string(m_params.viewportData.size()) + ") in;\n" in initPrograms() 777 if (m_params.viewportData.size() > 1) in checkSupport()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | Image9.cpp | 224 const gl::Extents &size, in redefine() 228 ASSERT(size.depth <= 1); in redefine() 233 if (mWidth != size.width || mHeight != size.height || mDepth != size.depth || in redefine() 236 mWidth = size.width; in redefine() 237 mHeight = size.height; in redefine() 238 mDepth = size.depth; in redefine() 222 redefine(gl::TextureType type, GLenum internalformat, const gl::Extents &size, bool forceRelease) redefine() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | capture_gles_1_0_autogen.h | 68 GLint size, 284 angle::CallCapture CapturePointSize(const State &glState, bool isCallValid, GLfloat size); 285 angle::CallCapture CapturePointSizex(const State &glState, bool isCallValid, GLfixed size); 323 GLint size, 379 GLint size, 398 GLint size, 544 GLint size, 575 GLint size,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
H A D | TypeRecordMapping.cpp | 155 size_t BytesNeeded = Name.size() + UniqueName.size() + 2; in mapNameAndUniqueName() 160 size_t DropN = std::min(N.size(), BytesToDrop / 2); in mapNameAndUniqueName() 161 size_t DropU = std::min(U.size(), BytesToDrop - DropN); in mapNameAndUniqueName() 456 Size = Slots.size(); in visitKnownRecord() 459 for (size_t SlotIndex = 0; SlotIndex < Slots.size(); SlotIndex += 2) { in visitKnownRecord() 461 if ((SlotIndex + 1) < Slots.size()) { in visitKnownRecord() 487 NamesLen += Name.size() + 1; in visitKnownRecord()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
H A D | Archive.cpp | 64 std::string Msg("remaining size of archive too small for next archive " in ArchiveMemberHeader() 125 // This gets the name looking up long names. Size is the size of the archive 126 // member including the header, so the size of any name following the header 149 if (Name.size() == 1) // Linker member. in getName() 151 if (Name.size() == 2 && Name[1] == '/') // String table. in getName() 170 if (StringOffset >= Parent->getStringTable().size()) { in getName() 219 if (Name[Name.size() - 1] != '/') in getName() 237 return malformedError("characters in size field in archive header are not " in getSize() 323 : Parent(Parent), Header(Parent, Data.data(), Data.size(), nullptr), in Child() 331 ? Parent->getData().size() in Child() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/ |
H A D | peeling_pass.cpp | 97 EXPECT_EQ(stats.peeled_loops_.size(), expected_peel_trace.size()); in BuildAndCheckTrace() 98 if (stats.peeled_loops_.size() != expected_peel_trace.size()) { in BuildAndCheckTrace() 212 EXPECT_EQ(stats.peeled_loops_.size(), 1u); in TEST_F() 213 if (stats.peeled_loops_.size() != 1u) in TEST_F() 579 EXPECT_EQ(stats.peeled_loops_.size(), 0u); in TEST_F() 680 expected_peel_trace, expected_peel_trace.size() + 1); in TEST_F()
|
/third_party/skia/third_party/externals/spirv-tools/source/link/ |
H A D | linker.cpp | 337 const auto num_chars = processed_string.size(); in MergeModules() 464 else if (possible_exports.size() > 1u) in GetImportExportPairs() 466 << "Too many external references, " << possible_exports.size() in GetImportExportPairs() 570 imports.reserve(linkings_to_do.size()); in RemoveLinkageSpecificInstructions() 646 binary_ptrs.reserve(binaries.size()); in Link() 648 binary_sizes.reserve(binaries.size()); in Link() 652 binary_sizes.push_back(binary.size()); in Link() 655 return Link(context, binary_ptrs.data(), binary_sizes.data(), binaries.size(), in Link()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | copy_prop_arrays.cpp | 150 if (source->AccessChain().size() == 0) { in BuildNewAccessChain() 378 static_cast<uint32_t>(struct_type->element_types().size()); 450 if (memory_object->AccessChain().size() + 1 != 451 current_memory_object->AccessChain().size()) { 805 return static_cast<uint32_t>(struct_type->element_types().size()); 849 if (AccessChain().size() > other->AccessChain().size()) { 853 for (uint32_t i = 0; i < AccessChain().size(); i++) {
|
H A D | instruction.cpp | 172 assert(words.size() == 1 && "expected the operand only taking one word"); in GetSingleWordOperand() 177 uint32_t size = 0; in NumInOperandWords() local 178 for (uint32_t i = TypeResultIdCount(); i < operands_.size(); ++i) in NumInOperandWords() 179 size += static_cast<uint32_t>(operands_[i].words.size()); in NumInOperandWords() 180 return size; in NumInOperandWords() 821 context()->grammar().target_env(), inst_binary.data(), inst_binary.size(), in PrettyPrint() 822 module_binary.data(), module_binary.size(), in PrettyPrint()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/link/ |
H A D | linker.cpp | 337 const auto num_chars = processed_string.size(); in MergeModules() 464 else if (possible_exports.size() > 1u) in GetImportExportPairs() 466 << "Too many external references, " << possible_exports.size() in GetImportExportPairs() 570 imports.reserve(linkings_to_do.size()); in RemoveLinkageSpecificInstructions() 646 binary_ptrs.reserve(binaries.size()); in Link() 648 binary_sizes.reserve(binaries.size()); in Link() 652 binary_sizes.push_back(binary.size()); in Link() 655 return Link(context, binary_ptrs.data(), binary_sizes.data(), binaries.size(), in Link()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | copy_prop_arrays.cpp | 150 if (source->AccessChain().size() == 0) { in BuildNewAccessChain() 378 static_cast<uint32_t>(struct_type->element_types().size()); 450 if (memory_object->AccessChain().size() + 1 != 451 current_memory_object->AccessChain().size()) { 805 return static_cast<uint32_t>(struct_type->element_types().size()); 849 if (AccessChain().size() > other->AccessChain().size()) { 853 for (uint32_t i = 0; i < AccessChain().size(); i++) {
|