Home
last modified time | relevance | path

Searched refs:shaper (Results 1 – 25 of 45) sorted by relevance

12

/external/harfbuzz_ng/src/
Dhb-shaper.hh72 #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 …]
Dhb-shape-plan.cc88 #define HB_SHAPER_PLAN(shaper) \ in init() argument
90 if (face->data.shaper) \ in init()
92 this->shaper_func = _hb_##shaper##_shape; \ in init()
93 this->shaper_name = #shaper; \ in init()
103 #define HB_SHAPER_IMPLEMENT(shaper) \ in init() argument
104 else if (0 == strcmp (*shaper_list, #shaper)) \ in init()
105 HB_SHAPER_PLAN (shaper); in init()
115 #define HB_SHAPER_IMPLEMENT(shaper) \ in init() argument
116 else if (shapers[i].func == _hb_##shaper##_shape) \ in init()
117 HB_SHAPER_PLAN (shaper); in init()
[all …]
Dhb-ot-shape.cc81 shaper = hb_ot_shape_complex_categorize (this); in hb_ot_shape_planner_t()
83 script_zero_marks = shaper->zero_width_marks != HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE; in hb_ot_shape_planner_t()
84 script_fallback_mark_positioning = shaper->fallback_position; in hb_ot_shape_planner_t()
87 shaper = &_hb_ot_complex_shaper_default; in hb_ot_shape_planner_t()
95 plan.shaper = shaper; in compile()
113 bool disable_gpos = plan.shaper->gpos_tag && in compile()
114 plan.shaper->gpos_tag != plan.map.chosen_script[1]; in compile()
181 if (shaper->data_create) in init0()
183 data = shaper->data_create (this); in init0()
194 if (shaper->data_destroy) in fini()
[all …]
Dhb-ot-shape-normalize.cc289 hb_ot_shape_normalization_mode_t mode = plan->shaper->normalization_preference; in _hb_ot_shape_normalize()
305 plan->shaper->decompose ? plan->shaper->decompose : decompose_unicode, in _hb_ot_shape_normalize()
306 plan->shaper->compose ? plan->shaper->compose : compose_unicode in _hb_ot_shape_normalize()
393 if (plan->shaper->reorder_marks) in _hb_ot_shape_normalize()
394 plan->shaper->reorder_marks (plan, buffer, i, end); in _hb_ot_shape_normalize()
Dhb-face.hh43 #define HB_SHAPER_IMPLEMENT(shaper) HB_SHAPER_DATA_INSTANTIATE_SHAPERS(shaper, face); argument
Dhb-ot-shape.hh64 const struct hb_ot_complex_shaper_t *shaper; member
119 const struct hb_ot_complex_shaper_t *shaper; member
DMakefile.sources135 hb-shaper-impl.hh \
136 hb-shaper-list.hh \
137 hb-shaper.cc \
138 hb-shaper.hh \
Dhb-ot-shape-normalize.hh48 HB_INTERNAL void _hb_ot_shape_normalize (const hb_ot_shape_plan_t *shaper,
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dshape_test.py67 shaper = _DistributionShape(batch_ndims=batch_ndims,
69 y, sample_shape = shaper.make_batch_of_event_sample_matrices(
71 should_be_x_value = shaper.undo_make_batch_of_event_sample_matrices(
548 shaper = _DistributionShape(batch_ndims=0, event_ndims=0)
550 self.assertEqual(0, shaper.get_sample_ndims(x).eval())
551 self.assertEqual(0, shaper.batch_ndims.eval())
552 self.assertEqual(0, shaper.event_ndims.eval())
554 shaper = _DistributionShape(batch_ndims=1, event_ndims=1)
556 self.assertAllEqual(3, shaper.get_ndims(x).eval())
557 self.assertEqual(1, shaper.get_sample_ndims(x).eval())
[all …]
/external/harfbuzz_ng/util/
Dshape-consumer.hh39 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
Dhb-ot-shape-closure.cc36 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
Doptions.cc193 for (char **shaper = shapers; *shaper; shaper++) { in parse_shapers() local
196 if (strcmp (*shaper, *hb_shaper) == 0) { in parse_shapers()
203 "Unknown or unsupported shaper: %s", *shaper); in parse_shapers()
220 for (const char **shaper = hb_shape_list_shapers (); *shaper; shaper++) in list_shapers() local
221 g_printf ("%s\n", *shaper); in list_shapers()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/shaping/
DDataDrivenArabicShapingRegTest.java312 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/
DDataDrivenArabicShapingRegTest.java315 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/
DREADME.cbq33 # 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/modules/skshaper/src/
DSkShaper.cpp14 std::unique_ptr<SkShaper> shaper = SkShaper::MakeHarfBuzz(); in Make() local
15 if (shaper) { in Make()
16 return shaper; in Make()
/external/harfbuzz_ng/
DNEWS185 - Khmer shaper significantly rewritten to better match Uniscribe.
186 - Indic3 tags ('dev3', etc) are passed to USE shaper.
305 - Major Khmer shaper improvements to better match Microsoft.
328 - Fix infinite loop in Khmer shaper.
402 - Separate Khmer shaper from Indic.
481 - Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0
626 - Route Adlam script to Arabic shaper.
705 - Add decompositions for Chakma, Limbu, and Balinese in USE shaper.
762 - Move Javanese from Indic shaper to Universal Shaping Engine.
890 - Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's
[all …]
DREADME.wine.md2 as a widely used and tested shaper is used as more-or-less OpenType reference
38 …RRIDES="usp10=n" wine winbuild/util/hb-shape.exe fontname.ttf -u 0061,0062,0063 --shaper=uniscribe`
/external/skia/tools/
Dusing_skia_and_harfbuzz.cpp141 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 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/skqp/tools/
Dusing_skia_and_harfbuzz.cpp141 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/icu/icu4j/samples/src/com/ibm/icu/samples/shaping/
DArabicShapingSample.java161 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/harfbuzz_ng/test/shaping/data/in-house/tests/
Dsimple.tests1 ../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/skqp/samplecode/
DSampleTextBox.cpp74 SkShaper shaper(nullptr); in drawTest() local
86 SkPoint end = shaper.shape(&builder, font, gText, strlen(gText), true, in drawTest()
/external/skia/third_party/harfbuzz/
DBUILD.gn170 "$_src/hb-shaper-impl.hh",
171 "$_src/hb-shaper-list.hh",
172 "$_src/hb-shaper.cc",
173 "$_src/hb-shaper.hh",
/external/pdfium/third_party/lcms/
D0020-avoid-fixed-inf.patch49 // Compute the matrix-shaper structure
85 // 8 bits on input allows matrix-shaper boot up to 25 Mpixels per second on RGB. That's fast!

12