/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()
|
/third_party/skia/gm/ |
H A D | fontcache.cpp | 33 return x + font.measureText(text.c_str(), text.size(), SkTextEncoding::kUTF8); in draw_string() 105 auto size = 2 * s; in drawText() local 106 font.setSize(size); in drawText() 110 x = size + draw_string(canvas, text, x + subpixelX, y + subpixelY, font); in drawText() 114 y += SkScalarCeilToScalar(size + 3); in drawText()
|
H A D | filterindiabox.cpp | 75 SkSize size = computeSize(fBM, fMatrix[i]); variable 76 size.fWidth += 20; 77 size.fHeight += 20; 79 draw_row(canvas, fBM, fMatrix[i], size.fWidth); 80 canvas->translate(0, size.fHeight);
|
/third_party/skia/modules/skottie/src/ |
H A D | SkottieJson.cpp | 27 if (array->size() > 0) { in Parse() 80 s->set(sv->begin(), sv->size()); in Parse() 94 return av.size() >= 2 in Parse() 115 vec->resize(av.size()); in Parse() 116 for (size_t i = 0; i < av.size(); ++i) { in Parse()
|
/third_party/skia/experimental/sktext/tests/ |
H A D | UnicodeText.cpp | 42 if (a.size() != b.size()) { in operator ==() 45 for (size_t i = 0; i < a.size(); ++i) { in operator ==() 59 UnicodeText unicodeText16(SkUnicode::Make(), SkSpan<uint16_t>((uint16_t*)utf16.data(), utf16.size())); in UNIX_ONLY_TEST() 64 for (size_t i = 0; i < unicodeText16.getText16().size(); ++i) { in UNIX_ONLY_TEST()
|
/third_party/selinux/libsepol/src/ |
H A D | private.h | 83 extern size_t put_entry(const void *ptr, size_t size, size_t n, 88 static inline void* reallocarray(void *ptr, size_t nmemb, size_t size) { in reallocarray() argument 89 if (size && nmemb > (size_t)-1 / size) { in reallocarray() 94 return realloc(ptr, nmemb * size); in reallocarray()
|
/test/testfwk/arkxtest/testserver/test/fuzztest/loadtestserver_fuzzer/ |
H A D | loadtestserver_fuzzer.cpp | 25 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 36 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 39 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/third_party/ffmpeg/libavcodec/ |
H A D | chomp_bsf.c | 33 while (pkt->size > 0 && !pkt->data[pkt->size - 1]) in chomp_filter() 34 pkt->size--; in chomp_filter()
|
H A D | sinewin_tablegen.c | 27 #define SINETABLE(size) \ 28 float ff_sine_##size[size]
|
H A D | sinewin.h | 33 #define SINETABLE(size) \ 34 SINETABLE_CONST DECLARE_ALIGNED(32, float, ff_sine_##size)[size] 39 * @param n size of half window
|
/third_party/ffmpeg/libavformat/ |
H A D | hevc.h | 36 * are replaced by 4-byte size fields, as per ISO/IEC 14496-15). 43 * @param size size (in bytes) of the input buffer 52 int size, int filter_ps, int *ps_count); 58 * are replaced by 4-byte size fields, as per ISO/IEC 14496-15). 63 * On success, *size holds the size (in bytes) of the output data buffer. 66 * @param size address of the variable holding the size (in bytes) of the input 79 int *size, in [all...] |
/third_party/curl/lib/ |
H A D | inet_ntop.h | 29 char *Curl_inet_ntop(int af, const void *addr, char *buf, size_t size); 35 #define Curl_inet_ntop(af,addr,buf,size) \ 36 inet_ntop(af, addr, buf, (curl_socklen_t)size)
|
/third_party/lzma/CPP/7zip/Archive/Common/ |
H A D | DummyOutStream.cpp | 7 Z7_COM7F_IMF(CDummyOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize))
in Write() argument 9 UInt32 realProcessedSize = size;
in Write() 12 res = _stream->Write(data, size, &realProcessedSize);
in Write()
|
/third_party/ltp/include/old/ |
H A D | old_device.h | 46 const char *tst_acquire_device_(void (cleanup_fn)(void), unsigned int size); 48 const char *tst_acquire_device__(unsigned int size); 64 const char *tst_acquire_loop_device(unsigned int size, const char *filename);
|
/third_party/ntfs-3g/include/ntfs-3g/ |
H A D | mst.h | 30 extern int ntfs_mst_post_read_fixup(NTFS_RECORD *b, const u32 size); 31 extern int ntfs_mst_post_read_fixup_warn(NTFS_RECORD *b, const u32 size, 33 extern int ntfs_mst_pre_write_fixup(NTFS_RECORD *b, const u32 size);
|
/third_party/node/benchmark/crypto/ |
H A D | randomBytes.js | 7 size: [64, 1024, 8192, 512 * 1024], 11 function main({ n, size }) { 14 randomBytes(size);
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_heap.h | 29 * On initial allocation, there is a single node with the full size that's 44 * full size of the heap. 53 unsigned size; member 60 unsigned size); 66 nouveau_heap_alloc(struct nouveau_heap *heap, unsigned size, void *priv,
|