/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++) {
|
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/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/icu/source/tools/ctestfw/ |
H A D | ctest.c | 930 static void *U_CALLCONV ctest_libMalloc(const void *context, size_t size) { in ctest_libMalloc() argument 933 printf("Allocated %ld\n", (long)size); in ctest_libMalloc() 935 if (MINIMUM_MEMORY_SIZE_FAILURE <= size && size <= MAXIMUM_MEMORY_SIZE_FAILURE) { in ctest_libMalloc() 938 return malloc(size); in ctest_libMalloc() 940 static void *U_CALLCONV ctest_libRealloc(const void *context, void *mem, size_t size) { in ctest_libRealloc() argument 943 printf("Reallocated %ld\n", (long)size); in ctest_libRealloc() 945 if (MINIMUM_MEMORY_SIZE_FAILURE <= size && size <= MAXIMUM_MEMORY_SIZE_FAILURE) { in ctest_libRealloc() 949 return realloc(mem, size); in ctest_libRealloc() [all...] |
/third_party/skia/third_party/externals/icu/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/skia/tests/ |
H A D | UtilsTest.cpp | 206 REPORTER_ASSERT(reporter, s1.size() == 3); in DEF_TEST() 271 REPORTER_ASSERT(reporter, e.size() == 2); in DEF_TEST() 279 REPORTER_ASSERT(reporter, e.size() == 2); in DEF_TEST() 287 REPORTER_ASSERT(reporter, e.size() == 2); in DEF_TEST() 305 for (size_t i = 0; i < s.size(); i++) { in DEF_TEST() 323 for (size_t i = 0; i < s.size(); i++) { in DEF_TEST() 341 for (size_t i = 0; i < s.size(); i++) { in DEF_TEST() 359 REPORTER_ASSERT(reporter, z.size() == 4); in DEF_TEST()
|
/third_party/skia/src/pdf/ |
H A D | SkPDFFont.cpp | 274 size_t size = stream->getLength(); in stream_to_data() local 278 return SkData::MakeWithProc(base, size, proc, stream.release()); in stream_to_data() 280 return SkData::MakeFromStream(stream.get(), size); in stream_to_data() 317 tmp->insertInt("Length1", SkToInt(subsetFontData->size())); in emit_subset_type0() 376 if (widths && widths->size() > 0) { in emit_subset_type0() 394 SkASSERT(SkToSizeT(font.typeface()->countGlyphs()) == glyphToUnicode.size()); in emit_subset_type0() 617 content.write(characterName.c_str(), characterName.size()); in emit_subset_type3() 654 SkASSERT(glyphToUnicode.size() == SkToSizeT(typeface->countGlyphs())); in emit_subset_type3()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | scheduler.cpp | 136 for (size_t i = 0; i < spinningWorkers.size(); i++) { in singleThreadedWorkers() 176 auto i = --nextSpinningWorkerIdx % spinningWorkers.size(); in enqueue() 218 auto idx = nextSpinningWorkerIdx++ % spinningWorkers.size(); in onBeginSpinning() 597 MARL_ASSERT(work.num == work.fibers.size() + work.tasks.size(), in waitForWork() 677 MARL_ASSERT(work.num == work.fibers.size() + work.tasks.size(), in runUntilIdle() 719 auto fiberId = static_cast<uint32_t>(workerFibers.size() + 1); in createWorkerFiber()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUCallLowering.cpp | 166 assert(OrigArg.Regs.size() == SplitVTs.size()); in splitToValueTypes() 223 assert(DstRegs.size() > 1 && "Nothing to unpack"); in unpackRegsToOrigType() 236 for (int i = 0, e = DstRegs.size(); i != e; ++i) in unpackRegsToOrigType() 255 for (unsigned i = 0, e = DstRegs.size(); i != e; ++i, Offset += PartSize) in unpackRegsToOrigType() 472 OrigArgRegs.size() == 1 in lowerFormalArgumentsKernel() 478 if (OrigArgRegs.size() > 1) in lowerFormalArgumentsKernel() 638 for (int I = 0, E = VRegs[Idx].size(); I != E; ++I) in lowerFormalArguments()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/ |
H A D | WebAssemblyAsmParser.cpp | 155 OS << "BrList:" << BrL.List.size(); 430 Name = StringRef(NameLoc.getPointer(), Name.size()); 441 Name = StringRef(Name.begin(), Name.size() + Sep.getString().size()); 448 Name = StringRef(Name.begin(), Name.size() + Id.getString().size()); 603 if (ExpectBlockType && Operands.size() == 1) { 856 if (ErrorInfo >= Operands.size()) 885 // Automatically output a .size directive, so it becomes optional for the in onEndOfFunction()
|
/third_party/skia/third_party/externals/icu/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/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
H A D | WireBufferMappingTests.cpp | 72 descriptor.size = kBufferSize; in SetupBuffer() 566 descriptor.size = 4; in TEST_F() 588 descriptor.size = 4; in TEST_F() 610 descriptor.size = 4; in TEST_F() 648 descriptor.size = 4; in TEST_F() 682 // Check that trying to create a buffer of size MAX_SIZE_T is an error handling in the client and 692 descriptor.size = kOOMSize; in TEST_F() 705 descriptor.size = kOOMSize; in TEST_F() 717 descriptor.size = kOOMSize; in TEST_F()
|
/third_party/spirv-tools/test/opt/loop_optimizations/ |
H A D | peeling_pass.cpp | 96 EXPECT_EQ(stats.peeled_loops_.size(), expected_peel_trace.size()); in BuildAndCheckTrace() 97 if (stats.peeled_loops_.size() != expected_peel_trace.size()) { in BuildAndCheckTrace() 211 EXPECT_EQ(stats.peeled_loops_.size(), 1u); in TEST_F() 212 if (stats.peeled_loops_.size() != 1u) in TEST_F() 578 EXPECT_EQ(stats.peeled_loops_.size(), 0u); in TEST_F() 679 expected_peel_trace, expected_peel_trace.size() + 1); in TEST_F()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsBufferTestUtil.cpp | 55 VERIFY_QUAD_SIZE = 8, //!< Quad size in VertexArrayVerifier 246 DE_ASSERT(de::inBounds(offset, 0, (int)m_data.size()) && de::inRange(offset+numBytes, offset, (int)m_data.size())); in setSubData() 603 glBufferData (GL_ARRAY_BUFFER, (glw::GLsizeiptr)(positions.size()*sizeof(positions[0])), &positions[0], GL_STATIC_DRAW); 609 glBufferData (GL_ELEMENT_ARRAY_BUFFER, (glw::GLsizeiptr)(indices.size()*sizeof(indices[0])), &indices[0], GL_STATIC_DRAW); 810 glBufferData (GL_ARRAY_BUFFER, (glw::GLsizeiptr)(positions.size()*sizeof(positions[0])), &positions[0], GL_STREAM_DRAW); 814 glBufferData (GL_ARRAY_BUFFER, (glw::GLsizeiptr)(colors.size()*sizeof(colors[0])), &colors[0], GL_STREAM_DRAW); 827 glBufferData (GL_ARRAY_BUFFER, (glw::GLsizeiptr)(fetchedPos.size()*sizeof(fetchedPos[0])), &fetchedPos[0], GL_STREAM_DRAW); 831 glBufferData (GL_ARRAY_BUFFER, (glw::GLsizeiptr)(fetchedColor.size()*sizeof(fetchedColor[0])), &fetchedColor[0], GL_STREAM_DRAW);
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fVertexArrayTest.cpp | 511 << spec.arrays.size(); in getTestName() 581 << spec.arrays.size(); in getTestName() 583 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName() 599 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in addStorageCases() 684 << spec.arrays.size(); in getTestName() 686 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName() 775 << spec.arrays.size(); in getTestName() 777 for (int arrayNdx = 0; arrayNdx < (int)spec.arrays.size(); arrayNdx++) in getTestName()
|
/drivers/peripheral/audio/test/systemtest/common/hdi_common/src/ |
H A D | audio_hdi_common.cpp | 149 for (int i = flag.size() - 1; i >= 0; i--) { in StringToInt() 165 int portFlag, struct AudioPort *&audioPort, int size) in SwitchAdapter() 167 if (descs == nullptr || size > ADAPTER_COUNT) { in SwitchAdapter() 171 for (int index = 0; index < size; index++) { in SwitchAdapter() 259 int32_t GetAdapters(TestAudioManager *manager, struct AudioAdapterDescriptor **descs, int &size) in GetAdapters() argument 265 int32_t ret = manager->GetAllAdapters(manager, descs, &size); in GetAdapters() 273 size = 1; in GetAdapters() 286 (size))); in GetAdapters() 304 int size = 0; in GetLoadAdapter() local 310 ret = GetAdapters(manager, &descs, size); in GetLoadAdapter() 164 SwitchAdapter(struct AudioAdapterDescriptor *descs, const std::string &adapterNameCase, int portFlag, struct AudioPort *&audioPort, int size) SwitchAdapter() argument [all...] |
/drivers/peripheral/pin_auth/hdi_service/database/src/ |
H A D | pin_db.c | 212 uint32_t size = pinIndexLen * sizeof(PinIndexV1); in DelPinInDb() local 213 PinIndexV1 *pinIndex = (PinIndexV1 *)Malloc(size); in DelPinInDb() 218 (void)memset_s(pinIndex, size, 0, size); in DelPinInDb() 313 uint32_t size = (g_pinDbOp->pinIndexLen + 1) * sizeof(PinIndexV1); in AddPinInDb() local 314 PinIndexV1 *pinIndex = (PinIndexV1 *)Malloc(size); in AddPinInDb() 319 (void)memset_s(pinIndex, size, 0, size); in AddPinInDb() 321 if (memcpy_s(pinIndex, size, in AddPinInDb() 324 (void)memset_s(pinIndex, size, in AddPinInDb() [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | af_alg.c | 753 * @min Set to minimum request size if partial requests are allowed. 825 * @size size of message from user space 826 * @ivsize the size of the IV for the cipher operation to verify that the 827 * user-space-provided IV has the right size 830 int af_alg_sendmsg(struct socket *sock, struct msghdr *msg, size_t size, in af_alg_sendmsg() argument 885 while (size) { in af_alg_sendmsg() 887 size_t len = size; in af_alg_sendmsg() 910 size -= len; in af_alg_sendmsg() 956 size in af_alg_sendmsg() 983 af_alg_sendpage(struct socket *sock, struct page *page, int offset, size_t size, int flags) af_alg_sendpage() argument [all...] |