Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkDataTable.cpp17 SkDataTable::SkDataTable() { in SkDataTable() function in SkDataTable
25 SkDataTable::SkDataTable(const void* array, size_t elemSize, int count, in SkDataTable() function in SkDataTable
36 SkDataTable::SkDataTable(const Dir* dir, int count, FreeProc proc, void* ctx) { in SkDataTable() function in SkDataTable
46 SkDataTable::~SkDataTable() { in ~SkDataTable()
52 size_t SkDataTable::atSize(int index) const { in atSize()
62 const void* SkDataTable::at(int index, size_t* size) const { in at()
80 sk_sp<SkDataTable> SkDataTable::MakeEmpty() { in MakeEmpty()
81 static SkDataTable* singleton; in MakeEmpty()
83 once([]{ singleton = new SkDataTable(); }); in MakeEmpty()
87 sk_sp<SkDataTable> SkDataTable::MakeCopyArrays(const void * const * ptrs, in MakeCopyArrays()
[all …]
/external/skia/include/core/
DSkDataTable.h20 class SK_API SkDataTable : public SkRefCnt {
65 static sk_sp<SkDataTable> MakeEmpty();
76 static sk_sp<SkDataTable> MakeCopyArrays(const void * const * ptrs,
87 static sk_sp<SkDataTable> MakeCopyArray(const void* array, size_t elemSize, int count);
89 static sk_sp<SkDataTable> MakeArrayProc(const void* array, size_t elemSize, int count,
108 SkDataTable();
109 SkDataTable(const void* array, size_t elemSize, int count,
111 SkDataTable(const Dir*, int count, FreeProc, void* context);
112 virtual ~SkDataTable();
/external/skia/tests/
DDataRefTest.cpp19 const SkDataTable* a, const SkDataTable* b) { in test_is_equal()
30 static void test_datatable_is_empty(skiatest::Reporter* reporter, SkDataTable* table) { in test_datatable_is_empty()
36 sk_sp<SkDataTable> table0(SkDataTable::MakeEmpty()); in test_emptytable()
37 sk_sp<SkDataTable> table1(SkDataTable::MakeCopyArrays(nullptr, nullptr, 0)); in test_emptytable()
38 sk_sp<SkDataTable> table2(SkDataTable::MakeCopyArray(nullptr, 0, 0)); in test_emptytable()
39 sk_sp<SkDataTable> table3(SkDataTable::MakeArrayProc(nullptr, 0, 0, nullptr, nullptr)); in test_emptytable()
54 sk_sp<SkDataTable> itable(SkDataTable::MakeCopyArray(idata, sizeof(idata[0]), icount)); in test_simpletable()
74 sk_sp<SkDataTable> table(SkDataTable::MakeCopyArrays((const void*const*)str, sizes, count)); in test_vartable()
95 sk_sp<SkDataTable> table( in test_globaltable()
96 SkDataTable::MakeArrayProc(gData, sizeof(gData[0]), count, nullptr, nullptr)); in test_globaltable()
DEncodeTest.cpp203 options.fComments = SkDataTable::MakeCopyArrays((void const *const *)commentPointers.data(), in testPngComments()
/external/skia/include/encode/
DSkPngEncoder.h68 sk_sp<SkDataTable> fComments;
/external/skia/include/ports/
DSkRemotableFontMgr.h16 class SkDataTable; variable
/external/skia/src/ports/
DSkFontMgr_fontconfig.cpp522 sk_sp<SkDataTable> fFamilyNames;
598 static sk_sp<SkDataTable> GetFamilyNames(FcConfig* fcconfig) { in GetFamilyNames()
632 return SkDataTable::MakeCopyArrays((void const *const *)names.begin(), in GetFamilyNames()
/external/skia/src/images/
DSkPngEncoder.cpp171 const sk_sp<SkDataTable>& comments = options.fComments; in setHeader()
/external/skia/gn/
Dcore.gni101 "$_src/core/SkDataTable.cpp",
/external/skia/dm/
DDM.cpp1004 options.fComments = SkDataTable::MakeCopyArrays((const void**)comments, lengths, 4); in dump_png()
/external/skia/
DAndroid.bp155 "src/core/SkDataTable.cpp",