/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | validate_interfaces.cpp | 56 for (uint32_t i = 0; i < uses.size(); ++i) { in check_interface_variable() 162 for (uint32_t i = 1; i < type->operands().size(); ++i) { in NumConsumedLocations() 342 // Determine the array size if possible and get the element type. in GetLocationsForVariable() 410 for (uint32_t i = 1; i < type->operands().size(); ++i) { in GetLocationsForVariable() 440 // size, calculate the used locations in a strided manner. in GetLocationsForVariable() 495 for (uint32_t i = 3; i < entry_point->operands().size(); ++i) { in ValidateLocations()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
H A D | binary_to_text_test.cpp | 85 EXPECT_EQ(SPV_SUCCESS, spvTextToBinary(context, text.c_str(), text.size(), in CompileSuccessfully() 149 spvBinaryToText(context, damaged_binary.data(), damaged_binary.size(), in TEST_F() 501 words.size(), SPV_BINARY_TO_TEXT_OPTION_NONE, in TEST_F() 532 words.size(), SPV_BINARY_TO_TEXT_OPTION_NONE, in TEST_P()
|
/third_party/skia/third_party/externals/libpng/ |
H A D | pngerror.c | 604 * If the buffer size is no *larger* than the size of jmp_buf when libpng is in png_set_longjmp_fn() 606 * semantics that this call will not fail. If the size is larger, however, in png_set_longjmp_fn() 632 else /* Already allocated: check the size */ in png_set_longjmp_fn() 634 size_t size = png_ptr->jmp_buf_size; in png_set_longjmp_fn() local 636 if (size == 0) in png_set_longjmp_fn() 638 size = (sizeof png_ptr->jmp_buf_local); in png_set_longjmp_fn() 651 if (size != jmp_buf_size) in png_set_longjmp_fn() 653 png_warning(png_ptr, "Application jmp_buf size changed"); in png_set_longjmp_fn() 672 /* A size o in png_free_jmpbuf() [all...] |
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | dec_mips32.c | 93 int hstride, int vstride, int size, in FilterLoop26() 96 while (size-- > 0) { in FilterLoop26() 109 int hstride, int vstride, int size, in FilterLoop24() 112 while (size-- > 0) { in FilterLoop24() 92 FilterLoop26(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) FilterLoop26() argument 108 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) FilterLoop24() argument
|
/third_party/skia/third_party/externals/libwebp/src/utils/ |
H A D | bit_writer_utils.c | 182 const uint8_t* data, size_t size) { in VP8BitWriterAppend() 185 if (!BitWriterResize(bw, size)) return 0; in VP8BitWriterAppend() 186 memcpy(bw->buf_ + bw->pos_, data, size); in VP8BitWriterAppend() 187 bw->pos_ += size; in VP8BitWriterAppend() 201 // This is the minimum amount of size the memory buffer is guaranteed to grow 220 // make allocated size multiple of 1k in VP8LBitWriterResize() 181 VP8BitWriterAppend(VP8BitWriter* const bw, const uint8_t* data, size_t size) VP8BitWriterAppend() argument
|
/third_party/skia/tests/ |
H A D | BitmapTest.cpp | 427 { 2, 0, big_rb, 0 }, // zero-height means zero-size in DEF_TEST() 434 size_t size = info.computeByteSize(r.rowbytes); in DEF_TEST() local 435 REPORTER_ASSERT(reporter, size == r.expected_size); in DEF_TEST() 439 REPORTER_ASSERT(reporter, size == bm.computeByteSize()); in DEF_TEST() 444 sk_bzero(bm.getPixels(), size); in DEF_TEST()
|
H A D | ColorSpaceTest.cpp | 103 sk_sp<SkColorSpace> newSpace1 = SkColorSpace::Deserialize(data1->data(), data1->size()); in test_serialize() 104 sk_sp<SkColorSpace> newSpace2 = SkColorSpace::Deserialize(data2->data(), data2->size()); in test_serialize() 123 REPORTER_ASSERT(r, skcms_Parse(data->data(), data->size(), &profile)); in DEF_TEST() 156 REPORTER_ASSERT(r, skcms_Parse(data->data(), data->size(), &profile)); in DEF_TEST()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | UtilsD3D12.cpp | 206 const uint32_t splitIndex = copyLayer % copySplits.copySubresources.size(); in CopyBufferTo2DTextureWithCopySplit() 219 bytesPerLayer * copySplits.copySubresources.size(); in CopyBufferTo2DTextureWithCopySplit() 324 const uint32_t splitIndex = copyLayer % copySplits.copySubresources.size(); in Copy2DTextureToBufferWithCopySplit() 337 bytesPerLayer * copySplits.copySubresources.size(); in Copy2DTextureToBufferWithCopySplit()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | PipelineLayout.cpp | 119 // Minimum buffer binding size excluded because we take the maximum seen across stages. in CreateDefault() 237 entryVec.reserve(entries.size()); in CreateDefault() 244 desc.entryCount = entryVec.size(); in CreateDefault() 270 for (BindGroupIndex group(0); group < metadata.bindings.size(); ++group) { in CreateDefault() 309 if (entryData[group].size() != 0) { in CreateDefault()
|
/third_party/skia/third_party/externals/piex/src/image_type_recognition/ |
H A D | image_type_recognition_lite.cc | 58 // Returns the requested data size (in bytes) for current checker. The checker 59 // guarantees that it will not read more than this size. 67 // we will not read more than this size from the source. 122 return source.substr(source_offset, signature.size()) == signature; in IsSignatureMatched() 136 i < search_offset + search_range - signature.size(); ++i) { in IsSignatureFound() 426 // we will not read more than this size from the source. in IsMyType() 776 for (size_t i = 0; i < checkers_.size(); ++i) { in ~TypeCheckerList() 785 for (size_t i = 0; i < checkers_.size(); ++i) { in GetType() 793 // Returns the maximum size of requested size o [all...] |
/third_party/python/Modules/_ctypes/ |
H A D | callbacks.c | 175 PyObject *v = dict->getfunc(*pArgs, dict->size); in _CallPythonObject() 182 We have the problem that c_byte or c_short have dict->size of in _CallPythonObject() 198 memcpy(obj->b_ptr, *pArgs, dict->size); in _CallPythonObject() 257 if (restype->type != FFI_TYPE_FLOAT && restype->size < sizeof(ffi_arg)) { in _CallPythonObject() 258 mem = (char *)mem + sizeof(ffi_arg) - restype->size; in _CallPythonObject()
|
/third_party/python/Modules/_io/clinic/ |
H A D | textio.c.h | 398 "read($self, size=-1, /)\n" 431 "readline($self, size=-1, /)\n" 439 _io_TextIOWrapper_readline_impl(textio *self, Py_ssize_t size); 445 Py_ssize_t size = -1; in _io_TextIOWrapper_readline() local 463 size = ival; in _io_TextIOWrapper_readline() 466 return_value = _io_TextIOWrapper_readline_impl(self, size); in _io_TextIOWrapper_readline()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | IndirectionUtils.h | 271 /// Create StubInits.size() stubs with the given names, target 308 if (auto Err = reserveStubs(StubInits.size())) 362 if (NumStubs <= FreeStubs.size()) in reserveStubs() 365 unsigned NewStubsRequired = NumStubs - FreeStubs.size(); in reserveStubs() 366 unsigned NewBlockId = IndirectStubsInfos.size(); in reserveStubs()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | CFG.h | 362 static size_t size(Function *F) { return F->size(); } in size() function 379 static size_t size(const Function *F) { return F->size(); } in size() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/ |
H A D | Instruction.h | 182 unsigned NumUsers = Users.size(); in getNumUsers() 319 unsigned size() const { return End - Begin; }; in size() function in llvm::mca::CycleSegment 342 unsigned size() const { return CS.size(); } in size() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | ScopedPrinter.h | 283 Value.size()); in printBinary() 293 Value.size()); in printBinary() 299 Value.size()); in printBinary() 314 Value.size()); in printBinaryBlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/XRay/ |
H A D | FDRRecords.h | 124 uint64_t size() const { return Size; } in size() function in llvm::xray::BufferExtents 223 int32_t size() const { return Size; } in size() function in llvm::xray::CustomEventRecord 251 int32_t size() const { return Size; } in size() function in llvm::xray::CustomEventRecordV5 279 int32_t size() const { return Size; } in size() function in llvm::xray::TypedEventRecord
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
H A D | ModuleUtils.cpp | 55 ArrayType *AT = ArrayType::get(EltTy, CurrentCtors.size()); in appendToGlobalArray() 96 ArrayType *ATy = ArrayType::get(Int8PtrTy, Init.size()); in appendToUsedList() 125 assert(InitArgs.size() == InitArgTypes.size() && in createSanitizerCtorAndInitFunctions()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/ |
H A D | Profile.cpp | 58 Twine("Error parsing block header size at offset '") + in readBlockHeader() 224 PathAndData.reserve(IndexedThreadBlock.second->size()); in mergeProfilesByThread() 256 Block.reserve(PathData.size()); in mergeProfilesByStack() 280 StringRef Data(MappedFile.data(), MappedFile.size()); in loadProfile() 287 while (Offset != MappedFile.size()) { in loadProfile()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | Allocator.h | 13 /// Allocate method accepting a size and alignment, and a Deallocate accepting 14 /// a pointer and size. Further, the LLVM "Allocator" concept has overloads of 15 /// Allocate and Deallocate for setting size and alignment based on the final 131 /// size into their own slab. 273 size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } in GetNumSlabs() 287 detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, in PrintStats() 315 // Scale the actual allocated slab size based on the number of slabs in computeSlabSize() 316 // allocated. Every 128 slabs allocated, we double the allocated size to in computeSlabSize() 317 // reduce allocation frequency, but saturate at multiplying the slab size b in computeSlabSize() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceGlobalContext.h | 102 assert(static_cast<SizeT>(Tag) < Stats.size()); in update() 106 for (uint32_t i = 0; i < Stats.size(); ++i) in add() 140 assert(size() == Src.size()); in mergeFrom()
|
H A D | IceGlobalInits.h | 236 : Initializer(DataInitializerKind), ContentsSize(Values.size()), in DataInitializer() 241 // size. in DataInitializer() 243 for (SizeT I = 0; I < Values.size(); ++I) in DataInitializer() 340 OffsetExprSize(OffsetExpr.size()), in RelocInitializer() 385 return !(Initializers.size() == 1 && in hasNonzeroInitializer()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
H A D | YAMLRemarkParser.cpp | 65 if (Buf.size() < 1 || !Buf.consume_front(StringRef("\0", 1))) in parseMagic() 72 if (Buf.size() < sizeof(uint64_t)) in parseVersion() 89 if (Buf.size() < sizeof(uint64_t)) in parseStrTabSize() 91 "Expecting string table size."); in parseStrTabSize() 101 if (Buf.size() < StrTabSize) in parseStrTab() 130 // If the size of string table is not 0, try to build one. in createYAMLParserFromMeta()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/Disassembler/ |
H A D | ARCDisassembler.cpp | 301 if (Bytes.size() < 2) { 310 if (Bytes.size() < 4) { 315 if (Bytes.size() >= 8) { 335 if (Bytes.size() >= 6) {
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
H A D | AVRInstrInfo.cpp | 377 assert(Cond.size() == 1); in analyzeBranch() 408 assert((Cond.size() == 1 || Cond.size() == 0) && in insertBranch() 468 assert(Cond.size() == 1 && "Invalid AVR branch condition!"); in reverseBranchCondition()
|