Home
last modified time | relevance | path

Searched refs:name_table (Results 1 – 25 of 34) sorted by relevance

12

/external/pdfium/core/fxge/ge/
Dfx_ge_fontmap.cpp22 CFX_ByteString GetNameFromTT(const uint8_t* name_table, in GetNameFromTT() argument
25 if (!name_table || name_table_size < 6) { in GetNameFromTT()
28 uint32_t name_count = GET_TT_SHORT(name_table + 2); in GetNameFromTT()
29 uint32_t string_offset = GET_TT_SHORT(name_table + 4); in GetNameFromTT()
36 const uint8_t* string_ptr = name_table + string_offset; in GetNameFromTT()
38 name_table += 6; in GetNameFromTT()
44 for (uint32_t i = 0; i < name_count; i++, name_table += 12) { in GetNameFromTT()
45 if (GET_TT_SHORT(name_table + 6) == name_id && in GetNameFromTT()
46 GET_TT_SHORT(name_table) == 1 && GET_TT_SHORT(name_table + 2) == 0) { in GetNameFromTT()
48 GET_TT_SHORT(name_table + 10), in GetNameFromTT()
[all …]
/external/sfntly/cpp/src/test/
Dname_editing_test.cc80 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in TestChangeOneName() local
81 UChar* name = name_table->Name(PlatformId::kWindows, in TestChangeOneName()
129 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in TestModifyNameTableAndRevert() local
130 UChar* name = name_table->Name(PlatformId::kWindows, in TestModifyNameTableAndRevert()
175 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in TestRemoveOneName() local
176 UChar* name = name_table->Name(PlatformId::kWindows, in TestRemoveOneName()
/external/freetype/src/base/
Dftsnames.c57 TT_Name entry = ttface->name_table.names + idx; in FT_Get_Sfnt_Name()
106 if ( ttface->name_table.format != 1 ) in FT_Get_Sfnt_LangTag()
110 langID - 0x8000U < ttface->name_table.numLangTagRecords ) in FT_Get_Sfnt_LangTag()
112 TT_LangTag entry = ttface->name_table.langTags + in FT_Get_Sfnt_LangTag()
/external/pcre/dist2/src/
Dpcre2demo.c74 PCRE2_SPTR name_table; in main() local
251 &name_table); /* where to put the answer */ in main()
262 tabptr = name_table; in main()
417 PCRE2_SPTR tabptr = name_table; in main()
Dpcre2_intmodedep.h697 PCRE2_UCHAR *name_table; /* The name/number table */ member
797 PCRE2_SPTR name_table; /* Table of group names */ member
/external/freetype/src/sfnt/
Dsfdriver.c241 TT_Name name = face->name_table.names + n; in sfnt_get_ps_name()
262 TT_Name name = face->name_table.names + found_win; in sfnt_get_ps_name()
271 FT_Stream stream = face->name_table.stream; in sfnt_get_ps_name()
304 TT_Name name = face->name_table.names + found_apple; in sfnt_get_ps_name()
313 FT_Stream stream = face->name_table.stream; in sfnt_get_ps_name()
Dsfobjs.c155 rec = face->name_table.names; in tt_face_get_name()
229 rec = face->name_table.names + found_win; in tt_face_get_name()
253 rec = face->name_table.names + found_apple; in tt_face_get_name()
258 rec = face->name_table.names + found_unicode; in tt_face_get_name()
266 FT_Stream stream = face->name_table.stream; in tt_face_get_name()
/external/pdfium/third_party/freetype/src/sfnt/
Dsfdriver.c238 TT_NameEntryRec* name = face->name_table.names + n; in sfnt_get_ps_name()
258 TT_NameEntryRec* name = face->name_table.names + found_win; in sfnt_get_ps_name()
267 FT_Stream stream = face->name_table.stream; in sfnt_get_ps_name()
300 TT_NameEntryRec* name = face->name_table.names + found_apple; in sfnt_get_ps_name()
309 FT_Stream stream = face->name_table.stream; in sfnt_get_ps_name()
Dsfobjs.c148 rec = face->name_table.names; in tt_face_get_name()
222 rec = face->name_table.names + found_win; in tt_face_get_name()
246 rec = face->name_table.names + found_apple; in tt_face_get_name()
251 rec = face->name_table.names + found_unicode; in tt_face_get_name()
259 FT_Stream stream = face->name_table.stream; in tt_face_get_name()
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc103 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in HasName() local
104 if (name_table == NULL) { in HasName()
108 for (int32_t i = 0; i < name_table->NameCount(); ++i) { in HasName()
109 switch (name_table->NameId(i)) { in HasName()
117 UChar* name_part = name_table->Name(i); in HasName()
121 int32_t hash_code = HashCode(name_table->PlatformId(i), in HasName()
122 name_table->EncodingId(i), in HasName()
123 name_table->LanguageId(i), in HasName()
124 name_table->NameId(i)); in HasName()
125 ConstructName(name_part, &(names[hash_code]), name_table->NameId(i)); in HasName()
/external/libdrm/etnaviv/
Detnaviv_device.c58 dev->name_table = drmHashCreate(); in etna_device_new()
90 drmHashDestroy(dev->name_table); in etna_device_del_impl()
Detnaviv_bo.c42 drmHashInsert(bo->dev->name_table, name, bo); in set_name()
52 drmHashDelete(bo->dev->name_table, bo->name); in bo_del()
176 bo = lookup_bo(dev->name_table, req.handle); in etna_bo_from_name()
Detnaviv_priv.h93 void *handle_table, *name_table; member
/external/libdrm/freedreno/
Dfreedreno_device.c87 dev->name_table = drmHashCreate(); in fd_device_new()
117 drmHashDestroy(dev->name_table); in fd_device_del_impl()
Dfreedreno_bo.c44 drmHashInsert(bo->dev->name_table, name, bo); in set_name()
166 bo = lookup_bo(dev->name_table, name); in fd_bo_from_name()
229 drmHashDelete(bo->dev->name_table, bo->name); in bo_del()
Dfreedreno_priv.h98 void *handle_table, *name_table; member
/external/compiler-rt/lib/interception/
Dinterception_win.cc876 RVAPtr<IMAGE_THUNK_DATA> name_table(module, imports->OriginalFirstThunk); in OverrideImportedFunction() local
878 for (; name_table->u1.Ordinal != 0; ++name_table, ++iat) { in OverrideImportedFunction()
879 if (!IMAGE_SNAP_BY_ORDINAL(name_table->u1.Ordinal)) { in OverrideImportedFunction()
881 module, name_table->u1.ForwarderString); in OverrideImportedFunction()
887 if (name_table->u1.Ordinal == 0) in OverrideImportedFunction()
/external/pdfium/third_party/freetype/src/type1/
Dt1load.c1537 PS_Table name_table = &loader->glyph_names; in parse_charstrings() local
1587 name_table, num_glyphs + 1 + TABLE_EXTEND, memory ); in parse_charstrings()
1675 error = T1_Add_Table( name_table, n, cur, len + 1 ); in parse_charstrings()
1680 name_table->elements[n][len] = '\0'; in parse_charstrings()
1685 (const char*)(name_table->elements[n]) ) == 0 ) in parse_charstrings()
1726 ft_strcmp( ".notdef", (const char*)name_table->elements[0] ) ) in parse_charstrings()
1736 name_table->elements[0], in parse_charstrings()
1737 name_table->lengths [0] ); in parse_charstrings()
1750 name_table->elements[notdef_index], in parse_charstrings()
1751 name_table->lengths [notdef_index] ); in parse_charstrings()
[all …]
/external/pdfium/third_party/freetype/src/base/
Dftsnames.c57 TT_NameEntryRec* entry = ttface->name_table.names + idx; in FT_Get_Sfnt_Name()
/external/python/cpython2/Tools/webchecker/
Dwebchecker.py282 self.name_table = {}
414 self.name_table[url] = page
431 self.name_table[url_pair[0]] = None
489 if self.name_table.has_key(url):
490 return self.name_table[url]
/external/pdfium/core/fxge/
Dfx_font.h246 CFX_ByteString GetNameFromTT(const uint8_t* name_table,
/external/sfntly/
DAndroid.bp43 "cpp/src/sfntly/table/core/name_table.cc",
/external/skia/third_party/sfntly/
DBUILD.gn58 "../externals/sfntly/cpp/src/sfntly/table/core/name_table.cc",
/external/pdfium/xfa/fgas/font/
Dcfgas_fontmgr.h213 void GetNames(const uint8_t* name_table, std::vector<CFX_WideString>& Names);
Dcfgas_fontmgr.cpp1058 void CFGAS_FontMgr::GetNames(const uint8_t* name_table, in GetNames() argument
1060 if (!name_table) in GetNames()
1063 uint8_t* lpTable = (uint8_t*)name_table; in GetNames()

12