/external/harfbuzz_ng/src/ |
D | hb-shaper.hh | 72 #define HB_SHAPER_DATA_TYPE(shaper, object) hb_##shaper##_##object##_data_t argument 73 #define HB_SHAPER_DATA_CREATE_FUNC(shaper, object) _hb_##shaper##_shaper_##object##_data_create argument 74 #define HB_SHAPER_DATA_DESTROY_FUNC(shaper, object) _hb_##shaper##_shaper_##object##_data_destroy argument 76 #define HB_SHAPER_DATA_INSTANTIATE_SHAPERS(shaper, object) \ argument 78 struct HB_SHAPER_DATA_TYPE (shaper, object); /* Type forward declaration. */ \ 79 extern "C" HB_INTERNAL HB_SHAPER_DATA_TYPE (shaper, object) * \ 80 HB_SHAPER_DATA_CREATE_FUNC (shaper, object) (hb_##object##_t *object); \ 82 …HB_SHAPER_DATA_DESTROY_FUNC (shaper, object) (HB_SHAPER_DATA_TYPE (shaper, object) *shaper##_##obj… 85 struct hb_shaper_object_data_type_t<HB_SHAPER_ORDER (shaper), hb_##object##_t> \ 87 typedef HB_SHAPER_DATA_TYPE(shaper, object) value; \ [all …]
|
D | hb-shape-plan.cc | 90 #define HB_SHAPER_PLAN(shaper) \ in init() argument 92 if (face->data.shaper) \ in init() 94 this->shaper_func = _hb_##shaper##_shape; \ in init() 95 this->shaper_name = #shaper; \ in init() 105 #define HB_SHAPER_IMPLEMENT(shaper) \ in init() argument 106 else if (0 == strcmp (*shaper_list, #shaper)) \ in init() 107 HB_SHAPER_PLAN (shaper); in init() 117 #define HB_SHAPER_IMPLEMENT(shaper) \ in init() argument 118 else if (shapers[i].func == _hb_##shaper##_shape) \ in init() 119 HB_SHAPER_PLAN (shaper); in init() [all …]
|
D | hb-ot-shape.cc | 93 shaper = hb_ot_shape_complex_categorize (this); in hb_ot_shape_planner_t() 95 script_zero_marks = shaper->zero_width_marks != HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE; in hb_ot_shape_planner_t() 96 script_fallback_mark_positioning = shaper->fallback_position; in hb_ot_shape_planner_t() 99 shaper = &_hb_ot_complex_shaper_default; in hb_ot_shape_planner_t() 107 plan.shaper = shaper; in compile() 134 bool disable_gpos = plan.shaper->gpos_tag && in compile() 135 plan.shaper->gpos_tag != plan.map.chosen_script[1]; in compile() 227 if (shaper->data_create) in init0() 229 data = shaper->data_create (this); in init0() 240 if (shaper->data_destroy) in fini() [all …]
|
D | hb-ot-shape-normalize.cc | 293 hb_ot_shape_normalization_mode_t mode = plan->shaper->normalization_preference; in _hb_ot_shape_normalize() 309 plan->shaper->decompose ? plan->shaper->decompose : decompose_unicode, in _hb_ot_shape_normalize() 310 plan->shaper->compose ? plan->shaper->compose : compose_unicode in _hb_ot_shape_normalize() 397 if (plan->shaper->reorder_marks) in _hb_ot_shape_normalize() 398 plan->shaper->reorder_marks (plan, buffer, i, end); in _hb_ot_shape_normalize()
|
D | hb-face.hh | 43 #define HB_SHAPER_IMPLEMENT(shaper) HB_SHAPER_DATA_INSTANTIATE_SHAPERS(shaper, face); argument
|
D | hb-ot-shape.hh | 64 const struct hb_ot_complex_shaper_t *shaper; member 159 const struct hb_ot_complex_shaper_t *shaper; member
|
D | hb-ot-shape-normalize.hh | 48 HB_INTERNAL void _hb_ot_shape_normalize (const hb_ot_shape_plan_t *shaper,
|
/external/harfbuzz_ng/util/ |
D | shape-consumer.hh | 39 shaper (parser), in shape_consumer_t() 60 for (unsigned int n = shaper.num_iterations; n; n--) in consume_line() 64 shaper.populate_buffer (buffer, text, text_len, text_before, text_after); in consume_line() 66 output.consume_text (buffer, text, text_len, shaper.utf8_clusters); in consume_line() 67 if (!shaper.shape (font, buffer, &error)) in consume_line() 78 output.consume_glyphs (buffer, text, text_len, shaper.utf8_clusters); in consume_line() 93 shape_options_t shaper; member
|
D | hb-ot-shape-closure.cc | 36 shaper (parser), in shape_closure_consumer_t() 70 shaper.shape_closure (text, text_len, font, buffer, glyphs); in consume_line() 106 shape_options_t shaper; member
|
D | options.cc | 195 for (char **shaper = shapers; *shaper; shaper++) { in parse_shapers() local 198 if (strcmp (*shaper, *hb_shaper) == 0) { in parse_shapers() 205 "Unknown or unsupported shaper: %s", *shaper); in parse_shapers() 222 for (const char **shaper = hb_shape_list_shapers (); *shaper; shaper++) in list_shapers() local 223 g_printf ("%s\n", *shaper); in list_shapers()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/shaping/ |
D | DataDrivenArabicShapingRegTest.java | 312 ArabicShaping shaper = null; in TestStandard() local 315 shaper = new ArabicShaping(flags); in TestStandard() 316 actual = shaper.shape(source); in TestStandard() 330 … err("Error: Shaper " + shaper + "\n throws exception '" + ex + "'\n for input '" + source); in TestStandard() 333 … buf.append("Error: Shaper: " + shaper + "\n Input: " + source + "\n Actual: " + actual + in TestStandard() 408 ArabicShaping shaper = null; 415 shaper = new ArabicShaping(flags); 416 len = shaper.shape(src, 0, src.length, null, 0, 0); 423 … err("Error: Shaper " + shaper + "\n throws exception '" + ex + "'\n for input '" + source); 425 err("Error: Shaper " + shaper + "\n returns " + len + " characters for input '" + [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/shaping/ |
D | DataDrivenArabicShapingRegTest.java | 315 ArabicShaping shaper = null; in TestStandard() local 318 shaper = new ArabicShaping(flags); in TestStandard() 319 actual = shaper.shape(source); in TestStandard() 333 … err("Error: Shaper " + shaper + "\n throws exception '" + ex + "'\n for input '" + source); in TestStandard() 336 … buf.append("Error: Shaper: " + shaper + "\n Input: " + source + "\n Actual: " + actual + in TestStandard() 411 ArabicShaping shaper = null; 418 shaper = new ArabicShaping(flags); 419 len = shaper.shape(src, 0, src.length, null, 0, 0); 426 … err("Error: Shaper " + shaper + "\n throws exception '" + ex + "'\n for input '" + source); 428 err("Error: Shaper " + shaper + "\n returns " + len + " characters for input '" + [all …]
|
/external/iproute2/examples/ |
D | README.cbq | 33 # Each shaper must be described by config file in $CBQ_PATH 34 # (/etc/sysconfig/cbq/) directory - one config file for each CBQ shaper. 37 # Each shaper has its personal ID - two byte HEX number. Really ID is 44 # | |___________________ ID (0000-FFFF), let ID looks like shaper's rate 48 # Config file describes shaper parameters and source[destination] 66 # *** If you want to build more than one shaper per device it's 73 # WEIGHT: "weight" of shaper (CBQ class). Like for DEVICE - approx. RATE/10 75 # PRIO: shaper's priority from 1 to 8 where 1 is the highest one. 82 # RULE=10.2.2.5 - shaper works only for IP address 10.2.2.5 86 # RULE=10.5.5.5:80, - shaper active only for traffic from port 80 of [all …]
|
/external/skia/experimental/sktext/src/ |
D | Shaper.cpp | 25 auto shaper = SkShaper::MakeShapeDontWrapOrReorder(); in process() local 26 if (shaper == nullptr) { in process() 31 shaper->shape(text.c_str(), text.size(), in process()
|
/external/skia/tests/ |
D | ShaperTest.cpp | 64 auto shaper = SkShaper::Make(); in shaper_test() local 65 if (!shaper) { in shaper_test() 73 shaper->shape((const char*)data->data(), data->size(), font, true, kWidth, &rh); in shaper_test() 80 shaper->shape((const char*)data->data(), data->size(), in shaper_test()
|
D | SkShaperJSONWriterTest.cpp | 127 std::unique_ptr<SkShaper> shaper = SkShaper::Make(); 138 shaper->shape(s.c_str(), s.size(), font, true /* right to left */, 256, &shaperJSON);
|
/external/harfbuzz_ng/test/shaping/data/in-house/tests/ |
D | simple.tests | 1 ../fonts/49c9f7485c1392fa09a1b801bc2ffea79275f22e.ttf:--shaper=ot:U+0056,U+0041,U+0042,U+0045,U+006… 2 ../fonts/49c9f7485c1392fa09a1b801bc2ffea79275f22e.ttf:--shaper=fallback:U+0056,U+0041,U+0042,U+0045…
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/shaping/ |
D | ArabicShapingSample.java | 161 ArabicShaping shaper = new ArabicShaping(options); in main() local 162 System.out.println("shaper: " + shaper); in main() 177 result = shaper.shape(src, ss, sl, dest, ds, dl); in main() 181 shaper.shape(src, ss, sl); in main() 188 dest = shaper.shape(text).toCharArray(); in main()
|
/external/skqp/tools/ |
D | using_skia_and_harfbuzz.cpp | 141 void WriteLine(const SkShaper& shaper, const char *text, size_t textBytes) { in WriteLine() argument 143 SkPoint endPoint = shaper.shape(&textBlobBuilder, font, text, textBytes, true, in WriteLine() 211 SkShaper shaper(typeface); in main() local 212 assert(shaper.good()); in main() 216 placement.WriteLine(shaper, line.c_str(), line.size()); in main()
|
/external/skia/tools/ |
D | using_skia_and_harfbuzz.cpp | 141 void WriteLine(const SkShaper& shaper, const char *text, size_t textBytes) { in WriteLine() argument 143 shaper.shape(text, textBytes, font, true, in WriteLine() 211 std::unique_ptr<SkShaper> shaper = SkShaper::Make(); in main() local 212 assert(shaper); in main() 216 placement.WriteLine(*shaper, line.c_str(), line.size()); in main()
|
/external/harfbuzz_ng/ |
D | NEWS | 302 - Khmer shaper significantly rewritten to better match Uniscribe. 303 - Indic3 tags ('dev3', etc) are passed to USE shaper. 422 - Major Khmer shaper improvements to better match Microsoft. 445 - Fix infinite loop in Khmer shaper. 519 - Separate Khmer shaper from Indic. 598 - Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0 743 - Route Adlam script to Arabic shaper. 822 - Add decompositions for Chakma, Limbu, and Balinese in USE shaper. 879 - Move Javanese from Indic shaper to Universal Shaping Engine. 1007 - Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's [all …]
|
D | README.mingw.md | 2 as a widely used and tested shaper is used as more-or-less OpenType reference 38 9. `WINEDLLOVERRIDES="usp10=n" wine util/hb-shape.exe fontname.ttf -u 0061,0062,0063 --shaper=unisc…
|
/external/skia/samplecode/ |
D | SampleTextBox.cpp | 130 std::unique_ptr<SkShaper> shaper) { in drawTest() argument 131 if (!shaper) return; in drawTest() 167 shaper->shape(str, len, *font, *bidi, *script, *language, 2000, &builder); in drawTest()
|
/external/skqp/samplecode/ |
D | SampleTextBox.cpp | 74 SkShaper shaper(nullptr); in drawTest() local 86 SkPoint end = shaper.shape(&builder, font, gText, strlen(gText), true, in drawTest()
|
/external/skia/modules/skshaper/src/ |
D | SkShaper.cpp | 31 std::unique_ptr<SkShaper> shaper = SkShaper::MakeShaperDrivenWrapper(std::move(fontmgr)); in Make() local 32 if (shaper) { in Make() 33 return shaper; in Make()
|