/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/ |
D | utils.cc | 29 CALLER_ATTACH Font* LoadFont(const char* font_path) { in LoadFont() argument 33 LoadFonts(font_path, font_factory, &fonts); in LoadFont() 37 CALLER_ATTACH Font::Builder* LoadFontBuilder(const char* font_path) { in LoadFontBuilder() argument 41 LoadFontBuilders(font_path, font_factory, &builders); in LoadFontBuilder() 45 void LoadFonts(const char* font_path, FontFactory* factory, FontArray* fonts) { in LoadFonts() argument 47 input_stream.Open(font_path); in LoadFonts() 52 void LoadFontBuilders(const char* font_path, in LoadFontBuilders() argument 56 input_stream.Open(font_path); in LoadFontBuilders() 61 bool SerializeFont(const char* font_path, Font* font) { in SerializeFont() argument 62 if (!font_path) in SerializeFont() [all …]
|
D | utils.h | 24 CALLER_ATTACH sfntly::Font* LoadFont(const char* font_path); 25 CALLER_ATTACH sfntly::Font::Builder* LoadFontBuilder(const char* font_path); 27 void LoadFonts(const char* font_path, sfntly::FontFactory* factory, 29 void LoadFontBuilders(const char* font_path, 33 bool SerializeFont(const char* font_path, sfntly::Font* font); 34 bool SerializeFont(const char* font_path, sfntly::FontFactory* factory,
|
D | merger_main.cc | 36 void CheckLoading(const char* font_path, Font* font) { in CheckLoading() argument 38 fprintf(stderr, "Could not load font %s. Terminating.\n", font_path); in CheckLoading()
|
D | subsetter.cc | 40 Subsetter::Subsetter(const char* font_path, CharacterPredicate* predicate) in Subsetter() argument 42 font_.Attach(LoadFont(font_path)); in Subsetter()
|
D | subsetter.h | 29 Subsetter(const char* font_path, CharacterPredicate* predicate);
|
/third_party/skia/third_party/externals/harfbuzz/util/ |
D | face-options.hh | 50 g_free (font_path); in ~cache_t() 55 char *font_path = nullptr; member 83 const char *font_path = font_file; in post_parse() local 85 if (0 == strcmp (font_path, "-")) in post_parse() 89 font_path = "STDIN"; in post_parse() 91 font_path = "/dev/stdin"; in post_parse() 95 if (!cache.font_path || 0 != strcmp (cache.font_path, font_path)) in post_parse() 98 cache.blob = hb_blob_create_from_file_or_fail (font_path); in post_parse() 100 free ((char *) cache.font_path); in post_parse() 101 cache.font_path = g_strdup (font_path); in post_parse() [all …]
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
D | test_font_utils.cc | 27 void BuilderForFontFile(const char* font_path, FontFactory* factory, in BuilderForFontFile() argument 31 is.Open(font_path); in BuilderForFontFile() 36 void SerializeFont(const char* font_path, FontFactory* factory, Font* font) { in SerializeFont() argument 37 assert(font_path); in SerializeFont() 42 SerializeToFile(&output_stream, font_path); in SerializeFont() 45 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts) { in LoadFont() argument 47 is.Open(font_path); in LoadFont() 52 void LoadFontUsingByteVector(const char* font_path, in LoadFontUsingByteVector() argument 56 LoadFile(font_path, &bv); in LoadFontUsingByteVector()
|
D | test_font_utils.h | 26 void BuilderForFontFile(const char* font_path, FontFactory* factory, 28 void SerializeFont(const char* font_path, FontFactory* factory, Font* font); 29 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts); 30 void LoadFontUsingByteVector(const char* font_path,
|
/third_party/skia/third_party/externals/sfntly/cpp/tools/ |
D | font_data_generator_xml.py | 26 def __init__(self, table_data_generators, font_path): argument 28 self.font_path = font_path 43 root_element.setAttribute('path', self.font_path[3:]) 45 h.update(open(self.font_path, 'r').read()) 47 font = ttLib.TTFont(self.font_path)
|
D | test_data_generator_xml.py | 30 for font_path in self.fonts: 31 print 'Processing font ' + font_path 33 font_path).Generate() 34 xml_path = (font_path 36 self.destination + os.path.basename(font_path)) + '.xml'
|
/third_party/skia/third_party/externals/harfbuzz/test/subset/ |
D | subset_test_suite.py | 8 def __init__(self, font_path, profile_path, subset): argument 9 self.font_path = font_path 28 font_base_name = os.path.basename(self.font_path) 43 font_base_name = os.path.basename(self.font_path)
|
D | run-tests.py | 43 print (' test.font_path %s' % os.path.abspath (test.font_path)) 53 cli_args = ["--font-file=" + test.font_path,
|
D | repack_test.py | 16 def font_path(self): member in RepackTest
|
D | generate-expected-outputs.py | 86 generate_expected_output(test.font_path, unicodes, test.get_profile_flags(),
|
D | run-repack-tests.py | 49 cli_args = ["--font-file=" + test.font_path (),
|
/third_party/skia/third_party/externals/harfbuzz/perf/ |
D | perf-shaping.hh | 7 const char *font_path) in shape() argument 11 hb_blob_t *blob = hb_blob_create_from_file_or_fail (font_path); in shape()
|
D | perf-extents.hh | 11 static void extents (benchmark::State &state, const char *font_path, bool is_var, backend_t backend) in extents() argument 16 hb_blob_t *blob = hb_blob_create_from_file_or_fail (font_path); in extents()
|
D | perf-draw.hh | 56 static void draw (benchmark::State &state, const char *font_path, bool is_var, backend_t backend) in draw() argument 61 hb_blob_t *blob = hb_blob_create_from_file_or_fail (font_path); in draw()
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-multithread.c | 34 static const char *font_path = "fonts/Inconsolata-Regular.abc.ttf"; variable 129 char *path = argc > 1 && *argv[1] ? argv[1] : (char *) font_path; in main()
|
D | hb-test.h | 291 hb_test_open_font_file (const char *font_path) in hb_test_open_font_file() argument 294 char *path = g_test_build_filename (G_TEST_DIST, font_path, NULL); in hb_test_open_font_file() 296 char *path = g_strdup (font_path); in hb_test_open_font_file()
|
/third_party/chromium/patch/ |
D | 0004-ohos-3.2-Beta5.patch | 40206 + return SkTypeface::MakeFromFile(match_result->font_path.c_str(),
|