/third_party/harfbuzz/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 | 97 #define HB_SHAPER_PLAN(shaper) \ in init() argument 99 if (face->data.shaper) \ in init() 101 this->shaper_func = _hb_##shaper##_shape; \ in init() 102 this->shaper_name = #shaper; \ in init() 112 #define HB_SHAPER_IMPLEMENT(shaper) \ in init() argument 113 else if (0 == strcmp (*shaper_list, #shaper)) \ in init() 114 HB_SHAPER_PLAN (shaper); in init() 124 #define HB_SHAPER_IMPLEMENT(shaper) \ in init() argument 125 else if (shapers[i].func == _hb_##shaper##_shape) \ in init() 126 HB_SHAPER_PLAN (shaper); in init() [all …]
|
D | hb-ot-shape.cc | 86 shaper = hb_ot_shape_complex_categorize (this); in hb_ot_shape_planner_t() 88 script_zero_marks = shaper->zero_width_marks != HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE; in hb_ot_shape_planner_t() 89 script_fallback_mark_positioning = shaper->fallback_position; in hb_ot_shape_planner_t() 92 if (apply_morx && shaper != &_hb_ot_complex_shaper_default) in hb_ot_shape_planner_t() 93 shaper = &_hb_ot_complex_shaper_dumber; in hb_ot_shape_planner_t() 101 plan.shaper = shaper; in compile() 130 bool disable_gpos = plan.shaper->gpos_tag && in compile() 131 plan.shaper->gpos_tag != plan.map.chosen_script[1]; in compile() 219 if (shaper->data_create) in init0() 221 data = shaper->data_create (this); in init0() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/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 | 97 #define HB_SHAPER_PLAN(shaper) \ in init() argument 99 if (face->data.shaper) \ in init() 101 this->shaper_func = _hb_##shaper##_shape; \ in init() 102 this->shaper_name = #shaper; \ in init() 112 #define HB_SHAPER_IMPLEMENT(shaper) \ in init() argument 113 else if (0 == strcmp (*shaper_list, #shaper)) \ in init() 114 HB_SHAPER_PLAN (shaper); in init() 124 #define HB_SHAPER_IMPLEMENT(shaper) \ in init() argument 125 else if (shapers[i].func == _hb_##shaper##_shape) \ in init() 126 HB_SHAPER_PLAN (shaper); in init() [all …]
|
D | hb-ot-shape.cc | 86 shaper = hb_ot_shape_complex_categorize (this); in hb_ot_shape_planner_t() 88 script_zero_marks = shaper->zero_width_marks != HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE; in hb_ot_shape_planner_t() 89 script_fallback_mark_positioning = shaper->fallback_position; in hb_ot_shape_planner_t() 92 if (apply_morx && shaper != &_hb_ot_complex_shaper_default) in hb_ot_shape_planner_t() 93 shaper = &_hb_ot_complex_shaper_dumber; in hb_ot_shape_planner_t() 101 plan.shaper = shaper; in compile() 130 bool disable_gpos = plan.shaper->gpos_tag && in compile() 131 plan.shaper->gpos_tag != plan.map.chosen_script[1]; in compile() 233 if (shaper->data_create) in init0() 235 data = shaper->data_create (this); in init0() [all …]
|
/third_party/flutter/skia/third_party/externals/harfbuzz/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 | 88 #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 …]
|
D | hb-ot-shape.cc | 85 shaper = hb_ot_shape_complex_categorize (this); in hb_ot_shape_planner_t() 87 script_zero_marks = shaper->zero_width_marks != HB_OT_SHAPE_ZERO_WIDTH_MARKS_NONE; in hb_ot_shape_planner_t() 88 script_fallback_mark_positioning = shaper->fallback_position; in hb_ot_shape_planner_t() 91 shaper = &_hb_ot_complex_shaper_default; in hb_ot_shape_planner_t() 99 plan.shaper = shaper; in compile() 117 bool disable_gpos = plan.shaper->gpos_tag && in compile() 118 plan.shaper->gpos_tag != plan.map.chosen_script[1]; in compile() 199 if (shaper->data_create) in init0() 201 data = shaper->data_create (this); in init0() 212 if (shaper->data_destroy) in fini() [all …]
|
D | hb-ot-shape-normalize.cc | 289 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()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/directfb/ |
D | SDL_DirectFB_shape.c | 49 window->shaper = result; in DirectFB_CreateShaper() 58 SDL_ShapeData* data = window->shaper->driverdata; in DirectFB_ResizeWindowShape() 63 window->shaper->userx = window->x; in DirectFB_ResizeWindowShape() 64 window->shaper->usery = window->y; in DirectFB_ResizeWindowShape() 72 DirectFB_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode… in DirectFB_SetWindowShape() argument 74 if(shaper == NULL || shape == NULL || shaper->driverdata == NULL) in DirectFB_SetWindowShape() 78 if(shape->w != shaper->window->w || shape->h != shaper->window->h) in DirectFB_SetWindowShape() 82 SDL_VideoDisplay *display = SDL_GetDisplayForWindow(shaper->window); in DirectFB_SetWindowShape() 90 SDL_ShapeData *data = shaper->driverdata; in DirectFB_SetWindowShape() 104 SDL_CalculateShapeBitmap(shaper->mode,shape,bitmap,1); in DirectFB_SetWindowShape() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | SDL_x11shape.c | 53 window->shaper = result; in X11_CreateShaper() 64 SDL_ShapeData* data = window->shaper->driverdata; in X11_ResizeWindowShape() 82 window->shaper->userx = window->x; in X11_ResizeWindowShape() 83 window->shaper->usery = window->y; in X11_ResizeWindowShape() 90 X11_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) { in X11_SetWindowShape() argument 95 if(shaper == NULL || shape == NULL || shaper->driverdata == NULL) in X11_SetWindowShape() 101 if(shape->w != shaper->window->w || shape->h != shaper->window->h) in X11_SetWindowShape() 103 data = shaper->driverdata; in X11_SetWindowShape() 106 SDL_CalculateShapeBitmap(shaper->mode,shape,data->bitmap,8); in X11_SetWindowShape() 108 windowdata = (SDL_WindowData*)(shaper->window->driverdata); in X11_SetWindowShape() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/ |
D | SDL_windowsshape.c | 40 window->shaper = result; in Win32_CreateShaper() 64 Win32_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode) { in Win32_SetWindowShape() argument 68 if( (shaper == NULL) || in Win32_SetWindowShape() 71 (shape->w != shaper->window->w) || in Win32_SetWindowShape() 72 (shape->h != shaper->window->h) ) { in Win32_SetWindowShape() 76 data = (SDL_ShapeData*)shaper->driverdata; in Win32_SetWindowShape() 84 SetWindowRgn(((SDL_WindowData *)(shaper->window->driverdata))->hwnd, mask_region, TRUE); in Win32_SetWindowShape() 95 data = (SDL_ShapeData *)window->shaper->driverdata; in Win32_ResizeWindowShape() 101 if(window->shaper->hasshape == SDL_TRUE) { in Win32_ResizeWindowShape() 102 window->shaper->userx = window->x; in Win32_ResizeWindowShape() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/ |
D | SDL_shape.c | 38 result->shaper = SDL_GetVideoDevice()->shape_driver.CreateShaper(result); in SDL_CreateShapedWindow() 39 if(result->shaper != NULL) { in SDL_CreateShapedWindow() 40 result->shaper->userx = x; in SDL_CreateShapedWindow() 41 result->shaper->usery = y; in SDL_CreateShapedWindow() 42 result->shaper->mode.mode = ShapeModeDefault; in SDL_CreateShapedWindow() 43 result->shaper->mode.parameters.binarizationCutoff = 1; in SDL_CreateShapedWindow() 44 result->shaper->hasshape = SDL_FALSE; in SDL_CreateShapedWindow() 62 return (SDL_bool)(window->shaper != NULL); in SDL_IsShapedWindow() 258 window->shaper->mode = *shape_mode; in SDL_SetWindowShape() 259 result = SDL_GetVideoDevice()->shape_driver.SetWindowShape(window->shaper,shape,shape_mode); in SDL_SetWindowShape() [all …]
|
/third_party/harfbuzz/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
|
/third_party/flutter/skia/third_party/externals/harfbuzz/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
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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 …]
|
/third_party/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 …]
|
/third_party/skia/third_party/externals/harfbuzz/util/ |
D | shape-options.hh | 326 for (char **shaper = shapers; *shaper; shaper++) in parse_shapers() local 330 if (strcmp (*shaper, *hb_shaper) == 0) in parse_shapers() 339 "Unknown or unsupported shaper: %s", *shaper); in parse_shapers() 356 for (const char **shaper = hb_shape_list_shapers (); *shaper; shaper++) in list_shapers() local 357 g_printf ("%s\n", *shaper); in list_shapers()
|
D | hb-ot-shape-closure.cc | 41 shaper.add_options (parser); in add_options() 71 shaper.shape_closure (text, text_len, font, buffer, glyphs); in consume_line() 109 shape_options_t shaper; member
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/cocoa/ |
D | SDL_cocoashape.m | 45 window->shaper = result; 75 Cocoa_SetWindowShape(SDL_WindowShaper *shaper, SDL_Surface *shape, SDL_WindowShapeMode *shape_mode) 78 SDL_ShapeData* data = (SDL_ShapeData*)shaper->driverdata; 79 SDL_WindowData* windata = (SDL_WindowData*)shaper->window->driverdata; 96 closure.window = shaper->window; 106 SDL_ShapeData* data = window->shaper->driverdata;
|
/third_party/harfbuzz/ |
D | meson_options.txt | 13 description: 'Enable Graphite2 complementary shaper') 17 description: 'Enable GDI helpers and Uniscribe shaper backend (Windows only)') 19 description: 'Enable DirectWrite shaper backend on Windows (experimental)') 21 description: 'Enable CoreText shaper backend on macOS')
|
/third_party/skia/third_party/externals/harfbuzz/ |
D | meson_options.txt | 15 description: 'Enable Graphite2 complementary shaper') 19 description: 'Enable GDI helpers and Uniscribe shaper backend (Windows only)') 21 description: 'Enable DirectWrite shaper backend on Windows (experimental)') 23 description: 'Enable CoreText shaper backend on macOS')
|