Home
last modified time | relevance | path

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

12

/external/pdfium/core/fxge/
Dfx_ge_fontmap.cpp22 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 …]
Dfx_font.h102 ByteString GetNameFromTT(const uint8_t* name_table,
/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.c59 TT_Name entry = ttface->name_table.names + idx; in FT_Get_Sfnt_Name()
108 if ( ttface->name_table.format != 1 ) in FT_Get_Sfnt_LangTag()
112 langID - 0x8000U < ttface->name_table.numLangTagRecords ) in FT_Get_Sfnt_LangTag()
114 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
266 &name_table); /* where to put the answer */ in main()
277 tabptr = name_table; in main()
470 PCRE2_SPTR tabptr = name_table; in main()
Dpcre2_intmodedep.h723 PCRE2_UCHAR *name_table; /* The name/number table */ member
863 PCRE2_SPTR name_table; /* Table of group names */ member
/external/freetype/src/type42/
Dt42parse.c786 PS_Table name_table = &loader->glyph_names; in t42_parse_charstrings() local
892 error = psaux->ps_table_funcs->init( name_table, in t42_parse_charstrings()
961 error = T1_Add_Table( name_table, n, cur, len + 1 ); in t42_parse_charstrings()
966 name_table->elements[n][len] = '\0'; in t42_parse_charstrings()
971 (const char*)(name_table->elements[n]) ) == 0 ) in t42_parse_charstrings()
1017 (const char*)name_table->elements[0] ) ) in t42_parse_charstrings()
1027 name_table->elements[0], in t42_parse_charstrings()
1028 name_table->lengths [0] ); in t42_parse_charstrings()
1041 name_table->elements[notdef_index], in t42_parse_charstrings()
1042 name_table->lengths [notdef_index] ); in t42_parse_charstrings()
[all …]
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc140 NameTablePtr name_table = down_cast<NameTable*>(font->GetTable(Tag::name)); in HasName() local
141 if (name_table == NULL) { in HasName()
145 for (int32_t i = 0; i < name_table->NameCount(); ++i) { in HasName()
146 switch (name_table->NameId(i)) { in HasName()
154 UChar* name_part = name_table->Name(i); in HasName()
158 int32_t hash_code = HashCode(name_table->PlatformId(i), in HasName()
159 name_table->EncodingId(i), in HasName()
160 name_table->LanguageId(i), in HasName()
161 name_table->NameId(i)); in HasName()
162 ConstructName(name_part, &(names[hash_code]), name_table->NameId(i)); in HasName()
/external/freetype/src/sfnt/
Dsfdriver.c609 TT_Name name = face->name_table.names + n; in sfnt_get_name_id()
831 face->name_table.stream, in sfnt_get_var_ps_name()
832 face->name_table.names + win, in sfnt_get_var_ps_name()
837 face->name_table.stream, in sfnt_get_var_ps_name()
838 face->name_table.names + apple, in sfnt_get_var_ps_name()
1055 face->name_table.stream, in sfnt_get_ps_name()
1056 face->name_table.names + win, in sfnt_get_ps_name()
1061 face->name_table.stream, in sfnt_get_ps_name()
1062 face->name_table.names + apple, 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/libdrm/etnaviv/
Detnaviv_device.c54 dev->name_table = drmHashCreate(); in etna_device_new()
86 drmHashDestroy(dev->name_table); in etna_device_del_impl()
Detnaviv_bo.c38 drmHashInsert(bo->dev->name_table, name, bo); in set_name()
48 drmHashDelete(bo->dev->name_table, bo->name); in bo_del()
172 bo = lookup_bo(dev->name_table, name); in etna_bo_from_name()
Detnaviv_priv.h74 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/libdrm/freedreno/
Dfreedreno_device.c83 dev->name_table = drmHashCreate(); in fd_device_new()
114 drmHashDestroy(dev->name_table); in fd_device_del_impl()
Dfreedreno_bo.c40 drmHashInsert(bo->dev->name_table, name, bo); in set_name()
169 bo = lookup_bo(dev->name_table, name); in fd_bo_from_name()
246 drmHashDelete(bo->dev->name_table, bo->name); in bo_del()
Dfreedreno_priv.h96 void *handle_table, *name_table; member
/external/freetype/src/type1/
Dt1load.c1803 PS_Table name_table = &loader->glyph_names; in parse_charstrings() local
1853 name_table, num_glyphs + 1 + TABLE_EXTEND, memory ); in parse_charstrings()
1941 error = T1_Add_Table( name_table, n, cur, len + 1 ); in parse_charstrings()
1946 name_table->elements[n][len] = '\0'; in parse_charstrings()
1951 (const char*)(name_table->elements[n]) ) == 0 ) in parse_charstrings()
1998 ft_strcmp( ".notdef", (const char*)name_table->elements[0] ) ) in parse_charstrings()
2008 name_table->elements[0], in parse_charstrings()
2009 name_table->lengths [0] ); in parse_charstrings()
2022 name_table->elements[notdef_index], in parse_charstrings()
2023 name_table->lengths [notdef_index] ); in parse_charstrings()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c116 struct hash_table *name_table; member
502 bo = hash_find_bo(bufmgr->name_table, handle); in brw_bo_gem_create_from_name()
542 _mesa_hash_table_insert(bufmgr->name_table, &bo->global_name, bo); in brw_bo_gem_create_from_name()
586 entry = _mesa_hash_table_search(bufmgr->name_table, &bo->global_name); in bo_free()
587 _mesa_hash_table_remove(bufmgr->name_table, entry); in bo_free()
1062 _mesa_hash_table_destroy(bufmgr->name_table, NULL); in brw_bufmgr_destroy()
1255 _mesa_hash_table_insert(bufmgr->name_table, &bo->global_name, bo); in brw_bo_flink()
1424 bufmgr->name_table = in brw_bufmgr_init()
/external/syzkaller/pkg/report/testdata/linux/guilty/
D321 FILE: net/tipc/name_table.c
25 tipc_nametbl_unsubscribe+0x318/0x990 net/tipc/name_table.c:851
/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/skia/third_party/sfntly/
DBUILD.gn65 "$_src/sfntly/table/core/name_table.cc",
/external/pdfium/xfa/fgas/font/
Dcfgas_fontmgr.h164 void GetNames(const uint8_t* name_table, std::vector<WideString>& Names);
/external/sfntly/
DAndroid.bp43 "cpp/src/sfntly/table/core/name_table.cc",
/external/skqp/third_party/sfntly/
DBUILD.gn58 "../externals/sfntly/cpp/src/sfntly/table/core/name_table.cc",

12