/third_party/skia/src/pdf/ |
H A D | SkJpegInfo.cpp | 17 JpegSegment(const void* data, size_t size) in JpegSegment() argument 19 , fSize(size) in JpegSegment() 82 SkISize* size, in SkGetJpegInfo() 115 if (size) { in SkGetJpegInfo() 116 *size = {JpegSegment::GetBigendianUint16(&segment.data()[3]), in SkGetJpegInfo() 81 SkGetJpegInfo(const void* data, size_t len, SkISize* size, SkEncodedInfo::Color* colorType, SkEncodedOrigin* orientation) SkGetJpegInfo() argument
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLSwizzle.h | 28 &base->type().componentType().toCompound(context, components.size(), 1)) in Swizzle() 31 SkASSERT(this->components().size() >= 1 && this->components().size() <= 4); in Swizzle() 85 SkASSERT(this->components().size() >= 1 && this->components().size() <= 4); in Swizzle()
|
/third_party/skia/tests/ |
H A D | YUVCacheTest.cpp | 49 size_t size = yuvaPixmapInfo.computeTotalBytes(); in DEF_TEST() local 50 data = cache.newCachedData(size); in DEF_TEST() 51 memset(data->writable_data(), 0xff, size); in DEF_TEST() 67 REPORTER_ASSERT(reporter, data->size() == size); in DEF_TEST()
|
H A D | FontTest.cpp | 24 size_t size = wb.bytesWritten(); in serialize_deserialize() local 25 SkAutoMalloc storage(size); in serialize_deserialize() 37 SkReadBuffer rb(storage.get(), size); in serialize_deserialize() 86 for (float size : sizes) { in DEF_TEST() 87 font.setSize(size); in DEF_TEST()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | StagingDescriptorAllocatorD3D12.cpp | 38 ASSERT(buffer.freeBlockIndices.size() == freeBlockIndicesSize); in ~StagingDescriptorAllocator() 40 ASSERT(mAvailableHeaps.size() == mPool.size()); in ~StagingDescriptorAllocator() 92 mAvailableHeaps.push_back(mPool.size()); in AllocateCPUHeap() 103 ASSERT(heapIndex < mPool.size()); in Deallocate()
|
/third_party/openssl/crypto/asn1/ |
H A D | f_int.c | 54 int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size) in a2i_ASN1_INTEGER() argument 63 bufsize = BIO_gets(bp, buf, size); in a2i_ASN1_INTEGER() 131 bufsize = BIO_gets(bp, buf, size); in a2i_ASN1_INTEGER() 149 int a2i_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *bs, char *buf, int size) in a2i_ASN1_ENUMERATED() argument 151 int rv = a2i_ASN1_INTEGER(bp, bs, buf, size); in a2i_ASN1_ENUMERATED()
|
/third_party/skia/third_party/externals/freetype/include/freetype/internal/ |
H A D | ftdrv.h | 42 (*FT_Size_InitFunc)( FT_Size size ); 45 (*FT_Size_DoneFunc)( FT_Size size ); 56 (*FT_Size_RequestFunc)( FT_Size size, 60 (*FT_Size_SelectFunc)( FT_Size size, 65 FT_Size size, 104 * The size of a face object in bytes. 107 * The size of a size object in bytes. 110 * The size of a glyph object in bytes. 119 * The format-specific size constructo [all...] |
/third_party/skia/third_party/externals/freetype/src/cache/ |
H A D | ftcimage.c | 111 FT_Offset size = 0; in FT_LOCAL_DEF() local 125 size = bitg->bitmap.rows * (FT_Offset)FT_ABS( bitg->bitmap.pitch ) + in FT_LOCAL_DEF() 136 size = (FT_Offset)outg->outline.n_points * in FT_LOCAL_DEF() 147 size += sizeof ( *inode ); in FT_LOCAL_DEF() 148 return size; in FT_LOCAL_DEF()
|
/third_party/skia/third_party/externals/freetype/src/pfr/ |
H A D | pfrdrivr.c | 107 FT_Size size = face->root.size; in FT_CALLBACK_DEF() local 119 if ( size ) in FT_CALLBACK_DEF() 121 x_scale = FT_DivFix( size->metrics.x_ppem << 6, in FT_CALLBACK_DEF() 124 y_scale = FT_DivFix( size->metrics.y_ppem << 6, in FT_CALLBACK_DEF()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | CVRecord.h | 27 /// CVRecord is a fat pointer (base + size pair) to a symbol or type record. 28 /// Carrying the size separately instead of trusting the size stored in the 41 uint32_t length() const { return RecordData.size(); } in length() 44 if (RecordData.size() < sizeof(RecordPrefix)) in kind() 54 RecordData.size()); in str_data() 74 if (StreamBuffer.size() < sizeof(RecordPrefix)) in forEachCodeViewRecord() 81 if (StreamBuffer.size() < RealLen) in forEachCodeViewRecord()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | DebugInfo.h | 123 unsigned compile_unit_count() const { return CUs.size(); } in compile_unit_count() 124 unsigned global_variable_count() const { return GVs.size(); } in global_variable_count() 125 unsigned subprogram_count() const { return SPs.size(); } in subprogram_count() 126 unsigned type_count() const { return TYs.size(); } in type_count() 127 unsigned scope_count() const { return Scopes.size(); } in scope_count()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | Delinearization.cpp | 102 if (Subscripts.size() == 0 || Sizes.size() == 0 || in print() 103 Subscripts.size() != Sizes.size()) { in print() 110 int Size = Subscripts.size(); in print()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/ |
H A D | StreamingMemoryObject.cpp | 28 const uint8_t *getPointer(uint64_t address, uint64_t size) const override; 64 uint64_t size) const { in getPointer() 70 // If the bitcode has a header, then its size is known, and we don't have to 122 void StreamingMemoryObject::setKnownObjectSize(size_t size) { in setKnownObjectSize() argument 123 ObjectSize = size; in setKnownObjectSize() 124 Bytes.reserve(size); in setKnownObjectSize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceRangeSpec.cpp | 52 if (Tokens.size() == 1) { in getRange() 55 } else if (Tokens.size() == 2) { in getRange() 85 if (Last >= D->Numbers.size()) in record() 139 if (Number < Excludes.Numbers.size() && Excludes.Numbers[Number]) in match() 147 if (Number < Includes.Numbers.size() && Includes.Numbers[Number]) in match()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | DeltaAlgorithm.cpp | 33 unsigned idx = 0, N = S.size() / 2; in Split() 50 if (Sets.size() <= 1) in Delta() 63 if (SplitSets.size() == Sets.size()) in Delta() 85 if (Sets.size() > 2) { in Search()
|
/third_party/skia/third_party/externals/tint/fuzzers/ |
H A D | random_generator.cc | 35 /// @param size - number of elements in buffer 37 size_t HashBuffer(const uint8_t* data, const size_t size) { in HashBuffer() argument 39 utils::HashCombine(&hash, size); in HashBuffer() 40 for (size_t i = 0; i < size; i++) { in HashBuffer() 102 uint64_t RandomGenerator::CalculateSeed(const uint8_t* data, size_t size) { in CalculateSeed() argument 106 // Fewer bytes may be skipped when `size` is small. in CalculateSeed() 114 auto size_i64 = static_cast<int64_t>(size); in CalculateSeed()
|
/third_party/skia/third_party/externals/tint/src/ |
H A D | program_builder_test.cc | 41 ASSERT_EQ(inner.AST().Functions().size(), 1u); in TEST_F() 47 ASSERT_EQ(inner.AST().Functions().size(), 1u); in TEST_F() 48 ASSERT_EQ(outer.AST().Functions().size(), 1u); in TEST_F() 60 ASSERT_EQ(inner.AST().Functions().size(), 1u); in TEST_F() 61 ASSERT_EQ(outer.AST().Functions().size(), 2u); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | parser_impl_elseif_stmt_test.cc | 28 ASSERT_EQ(e.value.size(), 1u); in TEST_F() 33 EXPECT_EQ(e.value[0]->body->statements.size(), 2u); in TEST_F() 42 ASSERT_EQ(e.value.size(), 2u); in TEST_F() 47 EXPECT_EQ(e.value[0]->body->statements.size(), 2u); in TEST_F() 52 EXPECT_EQ(e.value[1]->body->statements.size(), 1u); in TEST_F()
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
H A D | stringpiece.h | 99 : ptr_(str.data()), length_(static_cast<int32_t>(str.size())) { } in StringPiece() 107 length_(static_cast<int32_t>(str.size())) { } in StringPiece() 118 * size_t size(); 139 std::is_same<decltype(T().size()), size_t>::value>::type> 142 length_(static_cast<int32_t>(str.size())) {} in StringPiece() 195 int32_t size() const { return length_; } in size() function in StringPiece 197 * Returns the string length. Same as size().
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | du.c | 39 long size; member 42 // Print the size and name, given size in bytes 43 static void print(long long size, struct dirtree *node) in print() argument 50 human_readable(toybuf, size, 0); in print() 58 printf("%llu", (size>>bits)+!!(size&((1<<bits)-1))); in print() 96 // dirtree callback, compute/display size of node 119 // Collect child info before printing directory size in do_du() 143 help_exit("Directory size statistic in du_main() [all...] |
/third_party/python/Modules/_sqlite/ |
H A D | statement.c | 36 Py_ssize_t size; in pysqlite_statement_create() local 37 const char *sql_cstr = PyUnicode_AsUTF8AndSize(sql, &size); in pysqlite_statement_create() 44 if (size > max_length) { in pysqlite_statement_create() 49 if (strlen(sql_cstr) != (size_t)size) { in pysqlite_statement_create() 59 rc = sqlite3_prepare_v2(db, sql_cstr, (int)size + 1, &stmt, &tail); in pysqlite_statement_create()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | bytestream_unittest.cc | 53 size_t Available() const { return data_.size(); } in Available() 70 source.CopyTo(&sink, data.size()); in TEST() 81 source.CopyTo(&sink, data.size() - 2); in TEST() 82 EXPECT_EQ(data.substr(1, data.size() - 2), str); in TEST() 117 source.CopyTo(&sink, data.size()); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | str_split.cc | 50 absl::string_view found(text.data() + text.size(), in GenericFind() 92 return absl::string_view(text.data() + text.size(), 0); in Find() 105 return absl::string_view(text.data() + text.size(), 0); in Find() 128 pos = std::min(pos, text.size()); // truncate `pos` in Find() 130 // If the string is shorter than the chunk size we say we in Find() 133 return absl::string_view(text.data() + text.size(), 0); in Find()
|
/third_party/skia/modules/skparagraph/src/ |
H A D | TypefaceFontProvider.cpp | 39 if (familyName.size() == 0) { in registerTypeface() 54 for (int i = 0; i < fFamilyNames.size(); i++) { in registerTypeface() 68 int TypefaceFontStyleSet::count() { return fStyles.size(); } in count() 71 SkASSERT(index < fStyles.size()); in getStyle() 81 SkASSERT(index < fStyles.size()); in createTypeface()
|
/third_party/skia/experimental/sktext/editor/ |
H A D | Texts.cpp | 14 SkSpan<TextIndex>(chunks.data(), chunks.size())); in paint() 40 auto chunks = this->getDecorationChunks(SkSpan<DecoratedBlock>(decorations.data(), decorations.size())); in paint() 43 SkSpan<TextIndex>(chunks.data(), chunks.size())); in paint() 54 merged.reserve_back(fDecorations.size() + fSelection->count()); in mergeSelectionIntoDecorations() 61 while (indexDecor < fDecorations.size()) { in mergeSelectionIntoDecorations()
|