/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
H A D | cfa.h | 181 const size_t undefined_dom = postorder.size(); in CalculateDominators() 184 for (size_t i = 0; i < postorder.size(); i++) { in CalculateDominators() 329 augmented_preds.reserve(1 + preds->size()); in ComputeAugmentedCFG() 339 augmented_succ.reserve(1 + succ->size()); in ComputeAugmentedCFG()
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
H A D | webpdec.c | 124 MetadataCopy((const char*)chunk_iter.chunk.bytes, chunk_iter.chunk.size, in ExtractMetadata() 129 MetadataCopy((const char*)chunk_iter.chunk.bytes, chunk_iter.chunk.size, in ExtractMetadata() 134 MetadataCopy((const char*)chunk_iter.chunk.bytes, chunk_iter.chunk.size, in ExtractMetadata() 196 output_buffer->u.RGBA.size = output_buffer->u.RGBA.stride * pic->height; in ReadWebP()
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLSwitchStatement.cpp | 26 cases.reserve_back(this->cases().size()); in clone() 91 blockStmts.reserve_back(block.children().size()); in move_all_but_break() 174 SkASSERT(caseValues.size() == caseStatements.size()); in Convert()
|
/third_party/skia/third_party/externals/angle2/util/ |
H A D | OSWindow.cpp | 394 if (mEvents.size() > 0 && event) in popEvent() 470 if (candidatePath.size() + 1 >= maxDataPathOutLen) in FindTestDataPath() 478 memcpy(dataPathOut, candidatePath.c_str(), candidatePath.size() + 1); in FindTestDataPath() 485 memcpy(dataPathOut, candidatePath.c_str(), candidatePath.size() + 1); in FindTestDataPath()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | SwapChain.cpp | 88 "Swap Chain size (width: %u, height: %u) is empty.", descriptor->width, in ValidateSwapChainDescriptor() 94 "Swap Chain size (width: %u, height: %u) is greater than the maximum 2D texture " in ValidateSwapChainDescriptor() 95 "size (width: %u, height: %u).", in ValidateSwapChainDescriptor() 107 desc.size = {swapChain->GetWidth(), swapChain->GetHeight(), 1}; in GetSwapChainBaseTextureDescriptor() 191 descriptor.size.width = mWidth; in APIGetCurrentTextureView() 192 descriptor.size.height = mHeight; in APIGetCurrentTextureView() 193 descriptor.size.depthOrArrayLayers = 1; in APIGetCurrentTextureView() 239 "Configuration size (width: %u, height: %u) for %s is empty.", width, in ValidateConfigure()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | DeviceD3D12.h | 78 uint64_t size); 89 ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(size_t size) override; 94 uint64_t size) override; 101 uint64_t size);
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
H A D | ErrorTests.cpp | 127 ASSERT_EQ(singleData->GetBacktrace().size() + 1, doubleData->GetBacktrace().size()); in TEST() 200 ASSERT_EQ(singleData->GetBacktrace().size() + 1, doubleData->GetBacktrace().size()); in TEST()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | UtilsVulkan.cpp | 83 // pRegions must be a region that is contained within srcImage/dstImage. Here the size of 84 // the image refers to the virtual size, while Dawn validates texture copy extent with the 85 // physical size, so we need to re-calculate the texture copy extent to ensure it should fit 86 // in the virtual size of the subresource. 210 if (programmableStage.constants.size() == 0) { in GetVkSpecializationInfo() 226 static_cast<uint32_t>(specializationDataEntries->size() * in GetVkSpecializationInfo() 250 specializationInfo->mapEntryCount = static_cast<uint32_t>(specializationMapEntries->size()); in GetVkSpecializationInfo() 253 specializationDataEntries->size() * sizeof(OverridableConstantScalar); in GetVkSpecializationInfo()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
H A D | GPURenderPassEncoder.cpp | 177 std::optional<interop::GPUSize64> size) { in setIndexBuffer() 185 !conv(s, size)) { in setIndexBuffer() 195 std::optional<interop::GPUSize64> size) { in setVertexBuffer() 200 if (!conv(b, buffer) || !conv(s, size)) { in setVertexBuffer() 173 setIndexBuffer(Napi::Env env, interop::Interface<interop::GPUBuffer> buffer, interop::GPUIndexFormat indexFormat, interop::GPUSize64 offset, std::optional<interop::GPUSize64> size) setIndexBuffer() argument 191 setVertexBuffer(Napi::Env env, interop::GPUIndex32 slot, interop::Interface<interop::GPUBuffer> buffer, interop::GPUSize64 offset, std::optional<interop::GPUSize64> size) setVertexBuffer() argument
|
/third_party/python/Modules/_io/clinic/ |
H A D | fileio.c.h | 238 "read($self, size=-1, /)\n" 241 "Read at most size bytes, returned as bytes.\n" 251 _io_FileIO_read_impl(fileio *self, Py_ssize_t size); 257 Py_ssize_t size = -1; in _io_FileIO_read() local 265 if (!_Py_convert_optional_to_ssize_t(args[0], &size)) { in _io_FileIO_read() 269 return_value = _io_FileIO_read_impl(self, size); in _io_FileIO_read() 383 "truncate($self, size=None, /)\n" 386 "Truncate the file to at most size bytes and return the truncated size.\n" 389 "The current file position is changed to the value of size [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | LegacyPassManagers.h | 165 return (unsigned)PassManagers.size(); in getNumContainedManagers() 261 ID.AddInteger(Vec.size()); in Profile() 380 return (unsigned)PassVector.size(); in getNumContainedPasses() 400 /// Set the initial size of the module if the user has specified that they 401 /// want remarks for size. 507 assert ( N < PassVector.size() && "Pass number out of range!"); in getContainedPass()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | BinaryStreamArray.h | 281 assert(Index < size()); in operator []() 287 // an exact multiple of the element size. in operator []() 294 uint32_t size() const { return Stream.getLength() / sizeof(T); } 296 bool empty() const { return size() == 0; } 303 return FixedStreamArrayIterator<T>(*this, size());
|
H A D | Compiler.h | 418 # define __msan_allocated_memory(p, size) 419 # define __msan_unpoison(p, size) 430 # define __asan_poison_memory_region(p, size) 431 # define __asan_unpoison_memory_region(p, size) 548 /// Allocate a buffer of memory with the given size and alignment. 566 /// Deallocate a buffer of memory with the given size and alignment.
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | DependenceGraphBuilder.cpp | 112 if (SCC.size() > 1) in createPiBlocks() 117 LLVM_DEBUG(dbgs() << "Creating pi-block node with " << NL.size() in createPiBlocks() 397 size_t OldSize = Graph.Nodes.size(); in sortNodesTopologically() 401 if (Graph.Nodes.size() != OldSize) in sortNodesTopologically()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | StringSwitch.h | 76 if (!Result && N-1 == Str.size() && in Case() 87 if (!Result && Str.size() >= N-1 && in EndsWith() 88 (N == 1 || std::memcmp(S, Str.data() + Str.size() + 1 - N, N-1) == 0)) { in EndsWith() 98 if (!Result && Str.size() >= N-1 && in StartsWith()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | Compiler.h | 389 # define __msan_allocated_memory(p, size) 390 # define __msan_unpoison(p, size) 400 # define __asan_poison_memory_region(p, size) 401 # define __asan_unpoison_memory_region(p, size)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | DataExtractor.cpp | 176 assert(*offset_ptr <= Data.size()); in getULEB128() 185 reinterpret_cast<const uint8_t *>(Data.data() + Data.size()), &error); in getULEB128() 196 assert(*offset_ptr <= Data.size()); in getSLEB128() 202 reinterpret_cast<const uint8_t *>(Data.data() + Data.size()), &error); in getSLEB128()
|
H A D | ItaniumManglingCanonicalizer.cpp | 31 ID.AddString(llvm::StringRef(Str.begin(), Str.size())); in operator ()() 40 ID.AddInteger(A.size()); in operator ()() 240 if (Str.size() == 2 && P->Demangler.consumeIf("St")) in addEquivalence() 315 StringView(Mangling.data(), Mangling.size())); in parseMaybeMangledName()
|
H A D | ScaledNumber.cpp | 85 // Minimize size of divisor. in divide64() 96 // Maximize size of dividend. in divide64() 242 DigitsOut = Str.size(); 260 size_t AfterDot = Str.size(); 286 std::max(Str.size() - (DigitsOut - Precision), AfterDot + 1); 289 if (Truncate >= Str.size())
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
H A D | ARMCallingConv.cpp | 180 if (PendingMembers.size() > 0) in CC_ARM_AAPCS_Custom_Aggregate() 183 // Add the argument to the list to be allocated once we know the size of the in CC_ARM_AAPCS_Custom_Aggregate() 194 // size to hold one member. in CC_ARM_AAPCS_Custom_Aggregate() 208 while (RegIdx % RegAlign != 0 && RegIdx < RegList.size()) in CC_ARM_AAPCS_Custom_Aggregate() 230 unsigned RegResult = State.AllocateRegBlock(RegList, PendingMembers.size()); in CC_ARM_AAPCS_Custom_Aggregate() 249 if (RegIdx >= RegList.size()) in CC_ARM_AAPCS_Custom_Aggregate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/ |
H A D | MSP430InstrInfo.cpp | 108 assert(!BytesRemoved && "code size not handled"); in removeBranch() 133 assert(Cond.size() == 1 && "Invalid Xbranch condition!"); in reverseBranchCondition() 246 assert(Cond.size() == 1); in analyzeBranch() 273 assert((Cond.size() == 1 || Cond.size() == 0) && in insertBranch() 275 assert(!BytesAdded && "code size not handled"); in insertBranch()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
H A D | PPCHazardRecognizers.cpp | 38 for (unsigned i = 0, ie = (unsigned) SU->Preds.size(); i != ie; ++i) { in isLoadAfterStore() 46 for (unsigned j = 0, je = CurGroup.size(); j != je; ++j) in isLoadAfterStore() 64 for (unsigned i = 0, ie = (unsigned) SU->Preds.size(); i != ie; ++i) { in isBCTRAfterSet() 72 for (unsigned j = 0, je = CurGroup.size(); j != je; ++j) in isBCTRAfterSet()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/Disassembler/ |
H A D | WebAssemblyDisassembler.cpp | 77 if (Size >= Bytes.size()) in nextByte() 89 Bytes.data() + Bytes.size(), &Error) in nextLEB() 91 Bytes.data() + Bytes.size(), in nextLEB() 110 if (Size + sizeof(T) > Bytes.size()) in parseImmediate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
H A D | PoisonChecking.cpp | 93 if (Ops.size() == 0) in buildOrChain() 96 for (; i < Ops.size() && isConstantFalse(Ops[i]); i++) {} in buildOrChain() 97 if (i == Ops.size()) in buildOrChain() 100 for (; i < Ops.size(); i++) in buildOrChain()
|
/third_party/skia/third_party/externals/zlib/ |
H A D | crc32.c | 517 ZLIB_INTERNAL void copy_with_crc(z_streamp strm, Bytef *dst, long size) in copy_with_crc() argument 521 crc_fold_copy(strm->state, dst, strm->next_in, size); in copy_with_crc() 525 zmemcpy(dst, strm->next_in, size); in copy_with_crc() 526 strm->adler = crc32(strm->adler, dst, size); in copy_with_crc()
|