Home
last modified time | relevance | path

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

12

/external/harfbuzz_ng/src/
Dhb-shaper-private.hh54 #define HB_SHAPER_IMPLEMENT(shaper) void *shaper; argument
68 #define HB_SHAPER_DATA_TYPE_NAME(shaper, object) hb_##shaper##_shaper_##object##_data_t argument
69 #define HB_SHAPER_DATA_TYPE(shaper, object) struct HB_SHAPER_DATA_TYPE_NAME(shaper, object) argument
70 …e HB_SHAPER_DATA_INSTANCE(shaper, object, instance) (* (HB_SHAPER_DATA_TYPE(shaper, object) **) &(… argument
71 #define HB_SHAPER_DATA(shaper, object) HB_SHAPER_DATA_INSTANCE(shaper, object, object) argument
72 #define HB_SHAPER_DATA_CREATE_FUNC(shaper, object) _hb_##shaper##_shaper_##object##_data_create argument
73 #define HB_SHAPER_DATA_DESTROY_FUNC(shaper, object) _hb_##shaper##_shaper_##object##_data_destroy argument
74 #define HB_SHAPER_DATA_ENSURE_FUNC(shaper, object) hb_##shaper##_shaper_##object##_data_ensure argument
76 #define HB_SHAPER_DATA_PROTOTYPE(shaper, object) \ argument
77 HB_SHAPER_DATA_TYPE (shaper, object); /* Type forward declaration. */ \
[all …]
Dhb-shape-plan.cc51 #define HB_SHAPER_PLAN(shaper) \ in hb_shape_plan_plan() argument
53 if (hb_##shaper##_shaper_face_data_ensure (shape_plan->face_unsafe)) { \ in hb_shape_plan_plan()
54 HB_SHAPER_DATA (shaper, shape_plan) = \ in hb_shape_plan_plan()
55 HB_SHAPER_DATA_CREATE_FUNC (shaper, shape_plan) (shape_plan, \ in hb_shape_plan_plan()
58 shape_plan->shaper_func = _hb_##shaper##_shape; \ in hb_shape_plan_plan()
59 shape_plan->shaper_name = #shaper; \ in hb_shape_plan_plan()
68 #define HB_SHAPER_IMPLEMENT(shaper) \ in hb_shape_plan_plan() argument
69 else if (shapers[i].func == _hb_##shaper##_shape) \ in hb_shape_plan_plan()
70 HB_SHAPER_PLAN (shaper); in hb_shape_plan_plan()
77 #define HB_SHAPER_IMPLEMENT(shaper) \ in hb_shape_plan_plan() argument
[all …]
Dhb-ot-shape-private.hh40 const struct hb_ot_complex_shaper_t *shaper; member
70 const struct hb_ot_complex_shaper_t *shaper; member
76 shaper (nullptr), in hb_ot_shape_planner_t()
85 plan.shaper = shaper; in compile()
Dhb-ot-shape.cc95 if (planner->shaper->collect_features) in hb_ot_shape_collect_features()
96 planner->shaper->collect_features (planner); in hb_ot_shape_collect_features()
115 if (planner->shaper->override_features) in hb_ot_shape_collect_features()
116 planner->shaper->override_features (planner); in hb_ot_shape_collect_features()
183 planner.shaper = hb_ot_shape_complex_categorize (&planner); in _hb_ot_shaper_shape_plan_data_create()
190 if (plan->shaper->data_create) { in _hb_ot_shaper_shape_plan_data_create()
191 plan->data = plan->shaper->data_create (plan); in _hb_ot_shaper_shape_plan_data_create()
202 if (plan->shaper->data_destroy) in _hb_ot_shaper_shape_plan_data_destroy()
203 plan->shaper->data_destroy (const_cast<void *> (plan->data)); in _hb_ot_shaper_shape_plan_data_destroy()
433 if (c->plan->shaper->setup_masks) in hb_ot_shape_setup_masks()
[all …]
Dhb-ot-shape-normalize.cc296 hb_ot_shape_normalization_mode_t mode = plan->shaper->normalization_preference; in _hb_ot_shape_normalize()
302 plan->shaper->decompose ? plan->shaper->decompose : decompose_unicode, in _hb_ot_shape_normalize()
303 plan->shaper->compose ? plan->shaper->compose : compose_unicode in _hb_ot_shape_normalize()
357 if (plan->shaper->reorder_marks) in _hb_ot_shape_normalize()
358 plan->shaper->reorder_marks (plan, buffer, i, end); in _hb_ot_shape_normalize()
Dhb-shape-plan-private.hh61 #define HB_SHAPER_IMPLEMENT(shaper) HB_SHAPER_DATA_PROTOTYPE(shaper, shape_plan); argument
Dhb-face-private.hh105 #define HB_SHAPER_IMPLEMENT(shaper) HB_SHAPER_DATA_PROTOTYPE(shaper, face); argument
Dhb-face.cc55 #define HB_SHAPER_IMPLEMENT(shaper) HB_SHAPER_DATA_INVALID, argument
234 #define HB_SHAPER_IMPLEMENT(shaper) HB_SHAPER_DATA_DESTROY(shaper, face); in hb_face_destroy() argument
DMakefile.sources42 hb-shaper-list.hh \
43 hb-shaper-impl-private.hh \
44 hb-shaper-private.hh \
45 hb-shaper.cc \
Dhb-ot-shape-normalize-private.hh47 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.cc209 for (const char **shaper = hb_shape_list_shapers (); *shaper; shaper++) in list_shapers() local
210 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/harfbuzz_ng/
DNEWS75 - Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0
220 - Route Adlam script to Arabic shaper.
299 - Add decompositions for Chakma, Limbu, and Balinese in USE shaper.
356 - Move Javanese from Indic shaper to Universal Shaping Engine.
484 - Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's
491 - Graphite2 shaper: improved negative advance handling (eg. Nastaliq).
501 - Ported Indic shaper to Unicode 8.0 data.
503 - Speed up CoreText shaper when font fallback happens in CoreText.
505 - Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi.
530 - Fix badly-broken fallback shaper that affected terminology.
[all …]
/external/skqp/tools/shape/
Dusing_skia_and_harfbuzz.cpp140 void WriteLine(const SkShaper& shaper, const char *text, size_t textBytes) { in WriteLine() argument
142 SkPoint endPoint = shaper.shape(&textBlobBuilder, glyph_paint, 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/skia/tools/shape/
Dusing_skia_and_harfbuzz.cpp140 void WriteLine(const SkShaper& shaper, const char *text, size_t textBytes) { in WriteLine() argument
142 SkPoint endPoint = shaper.shape(&textBlobBuilder, glyph_paint, 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/harfbuzz_ng/test/shaping/tests/
Dsimple.tests1 fonts/sha1sum/49c9f7485c1392fa09a1b801bc2ffea79275f22e.ttf:--shaper=ot:U+0056,U+0041,U+0042,U+0045,…
2 fonts/sha1sum/49c9f7485c1392fa09a1b801bc2ffea79275f22e.ttf:--shaper=fallback:U+0056,U+0041,U+0042,U…
/external/skia/samplecode/
DSampleTextBox.cpp76 SkShaper shaper(nullptr); in drawTest() local
88 SkPoint end = shaper.shape(&builder, paint, gText, strlen(gText), true, in drawTest()
/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!
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiTransform.java357 ArabicShaping shaper = new ArabicShaping(options); in shapeArabic() local
359 text = shaper.shape(text); in shapeArabic()

12