Home
last modified time | relevance | path

Searched refs:SkDataTable (Results 1 – 13 of 13) sorted by relevance

/external/skia/src/core/
DSkDataTable.cpp22 SkDataTable::SkDataTable() { in SkDataTable() function in SkDataTable
30 SkDataTable::SkDataTable(const void* array, size_t elemSize, int count, in SkDataTable() function in SkDataTable
41 SkDataTable::SkDataTable(const Dir* dir, int count, FreeProc proc, void* ctx) { in SkDataTable() function in SkDataTable
51 SkDataTable::~SkDataTable() { in ~SkDataTable()
57 size_t SkDataTable::atSize(int index) const { in atSize()
67 const void* SkDataTable::at(int index, size_t* size) const { in at()
85 sk_sp<SkDataTable> SkDataTable::MakeEmpty() { in MakeEmpty()
86 static SkDataTable* singleton; in MakeEmpty()
88 once([]{ singleton = new SkDataTable(); }); in MakeEmpty()
92 sk_sp<SkDataTable> SkDataTable::MakeCopyArrays(const void * const * ptrs, in MakeCopyArrays()
[all …]
DBUILD.bazel99 "SkDataTable.cpp",
/external/skia/include/core/
DSkDataTable.h23 class SK_API SkDataTable : public SkRefCnt {
68 static sk_sp<SkDataTable> MakeEmpty();
79 static sk_sp<SkDataTable> MakeCopyArrays(const void * const * ptrs,
90 static sk_sp<SkDataTable> MakeCopyArray(const void* array, size_t elemSize, int count);
92 static sk_sp<SkDataTable> MakeArrayProc(const void* array, size_t elemSize, int count,
111 SkDataTable();
112 SkDataTable(const void* array, size_t elemSize, int count,
114 SkDataTable(const Dir*, int count, FreeProc, void* context);
115 ~SkDataTable() override;
DBUILD.bazel41 "SkDataTable.h",
/external/skia/tests/
DDataRefTest.cpp24 const SkDataTable* a, const SkDataTable* b) { in test_is_equal()
35 static void test_datatable_is_empty(skiatest::Reporter* reporter, SkDataTable* table) { in test_datatable_is_empty()
41 sk_sp<SkDataTable> table0(SkDataTable::MakeEmpty()); in test_emptytable()
42 sk_sp<SkDataTable> table1(SkDataTable::MakeCopyArrays(nullptr, nullptr, 0)); in test_emptytable()
43 sk_sp<SkDataTable> table2(SkDataTable::MakeCopyArray(nullptr, 0, 0)); in test_emptytable()
44 sk_sp<SkDataTable> table3(SkDataTable::MakeArrayProc(nullptr, 0, 0, nullptr, nullptr)); in test_emptytable()
59 sk_sp<SkDataTable> itable(SkDataTable::MakeCopyArray(idata, sizeof(idata[0]), icount)); in test_simpletable()
79 sk_sp<SkDataTable> table(SkDataTable::MakeCopyArrays((const void*const*)str, sizes, count)); in test_vartable()
100 sk_sp<SkDataTable> table( in test_globaltable()
101 SkDataTable::MakeArrayProc(gData, sizeof(gData[0]), count, nullptr, nullptr)); in test_globaltable()
DEncodeTest.cpp262 options.fComments = SkDataTable::MakeCopyArrays((void const *const *)commentPointers.data(), in testPngComments()
/external/skia/include/encode/
DSkPngEncoder.h67 sk_sp<SkDataTable> fComments;
/external/skia/include/ports/
DSkRemotableFontMgr.h16 class SkDataTable; variable
/external/skia/src/ports/
DSkFontMgr_fontconfig.cpp525 const sk_sp<SkDataTable> fFamilyNames;
602 static sk_sp<SkDataTable> GetFamilyNames(FcConfig* fcconfig) { in GetFamilyNames()
636 return SkDataTable::MakeCopyArrays((void const *const *)names.begin(), in GetFamilyNames()
/external/skia/src/encode/
DSkPngEncoder.cpp226 const sk_sp<SkDataTable>& comments = options.fComments; in setHeader()
/external/skia/gn/
Dcore.gni47 "$_include/core/SkDataTable.h",
315 "$_src/core/SkDataTable.cpp",
/external/skia/
Dpublic.bzl33 "include/core/SkDataTable.h",
426 "src/core/SkDataTable.cpp",
DAndroid.bp257 "src/core/SkDataTable.cpp",
1057 "src/core/SkDataTable.cpp",
3833 "src/core/SkDataTable.cpp",