Home
last modified time | relevance | path

Searched refs:globals (Results 1 – 25 of 152) sorted by relevance

1234567

/AliOS-Things-master/components/freetype/src/autofit/
A Dafglobal.c316 if ( FT_ALLOC( globals, sizeof ( *globals ) + in af_face_globals_new()
320 globals->face = face; in af_face_globals_new()
322 globals->glyph_styles = (FT_Byte*)( globals + 1 ); in af_face_globals_new()
333 globals = NULL; in af_face_globals_new()
336 if (globals != NULL) in af_face_globals_new()
342 *aglobals = globals; in af_face_globals_new()
350 if ( globals ) in af_face_globals_free()
375 globals->hb_font = NULL; in af_face_globals_free()
378 globals->glyph_count = 0; in af_face_globals_free()
382 FT_FREE( globals ); in af_face_globals_free()
[all …]
A Dafmodule.c54 AF_FaceGlobals globals; in af_property_get_face_globals() local
60 globals = (AF_FaceGlobals)face->autohint.data; in af_property_get_face_globals()
61 if ( !globals ) in af_property_get_face_globals()
69 (FT_Pointer)globals; in af_property_get_face_globals()
76 *aglobals = globals; in af_property_get_face_globals()
135 AF_FaceGlobals globals; in af_property_set() local
140 globals->increase_x_height = prop->limit; in af_property_set()
165 AF_FaceGlobals globals; in af_property_get() local
170 prop->map = globals->glyph_styles; in af_property_get()
197 AF_FaceGlobals globals; in af_property_get() local
[all …]
A Dhbshim.c99 af_get_coverage( AF_FaceGlobals globals, in af_get_coverage() argument
123 if ( !globals || !style_class || !gstyles ) in af_get_coverage()
126 face = hb_font_get_face( globals->hb_font ); in af_get_coverage()
146 if ( style_class->script == globals->module->default_script && in af_get_coverage()
271 hb_codepoint_t gidx = FT_Get_Char_Index( globals->face, ch ); in af_get_coverage()
422 in_idx = FT_Get_Char_Index( metrics->globals->face, charcode ); in af_get_char_index()
430 FT_UInt upem = metrics->globals->face->units_per_EM; in af_get_char_index()
432 hb_font_t* font = metrics->globals->hb_font; in af_get_char_index()
495 af_get_coverage( AF_FaceGlobals globals, in af_get_coverage() argument
499 FT_UNUSED( globals ); in af_get_coverage()
[all …]
A Dafpic.h80 ( GET_PIC( FT_FACE_LIBRARY( globals->face ) )->af_writing_system_classes )
82 ( GET_PIC( FT_FACE_LIBRARY( globals->face ) )->af_script_classes )
84 ( GET_PIC( FT_FACE_LIBRARY( globals->face ) )->af_style_classes )
A Dafglobal.h130 af_face_globals_get_metrics( AF_FaceGlobals globals,
136 af_face_globals_free( AF_FaceGlobals globals );
139 af_face_globals_is_digit( AF_FaceGlobals globals,
A Dafloader.c57 loader->globals = (AF_FaceGlobals)face->autohint.data; in af_loader_reset()
61 if ( loader->globals == NULL ) in af_loader_reset()
63 error = af_face_globals_new( face, &loader->globals, module ); in af_loader_reset()
67 (FT_Pointer)loader->globals; in af_loader_reset()
88 loader->globals = NULL; in af_loader_done()
186 AF_FaceGlobals globals = loader->globals; in af_loader_load_g() local
450 ( af_face_globals_is_digit( loader->globals, glyph_index ) && in af_loader_load_g()
537 error = af_face_globals_get_metrics( loader->globals, gindex, in af_loader_load_glyph()
542 AF_FaceGlobals globals = loader->globals; in af_loader_load_glyph() local
A Dhbshim.h39 af_get_coverage( AF_FaceGlobals globals,
/AliOS-Things-master/components/freetype/src/pshinter/
A Dpshglob.c621 if ( globals ) in psh_globals_destroy()
626 memory = globals->memory; in psh_globals_destroy()
627 globals->dimension[0].stdw.count = 0; in psh_globals_destroy()
635 FT_FREE( globals ); in psh_globals_destroy()
649 PSH_Globals globals = NULL; in psh_globals_new() local
653 if ( !FT_NEW( globals ) ) in psh_globals_new()
659 globals->memory = memory; in psh_globals_new()
744 ps_debug_globals = globals; in psh_globals_new()
748 *aglobals = globals; in psh_globals_new()
763 dim = &globals->dimension[0]; in psh_globals_set_scale()
[all …]
A Dpshalgo.c440 PSH_Globals globals, in psh_hint_align() argument
483 psh_blues_snap_stem( &globals->blues, in psh_hint_align()
668 PSH_Globals globals,
707 psh_blues_snap_stem( &globals->blues,
1261 PSH_Globals globals ) in psh_glyph_init() argument
1270 memory = glyph->memory = globals->memory; in psh_glyph_init()
1361 glyph->globals = globals; in psh_glyph_init()
2179 PSH_Globals globals, in ps_hints_apply() argument
2197 memory = globals->memory; in ps_hints_apply()
2271 glyph->globals, in ps_hints_apply()
[all …]
/AliOS-Things-master/components/py_engine/engine/py/
A Dbuiltinevex.c46 STATIC mp_obj_t code_execute(mp_obj_code_t *self, mp_obj_dict_t *globals, mp_obj_dict_t *locals) { in code_execute() argument
50 mp_globals_set(globals); in code_execute()
57 fun_bc->globals = globals; in code_execute()
119 mp_obj_dict_t *globals = mp_globals_get(); in eval_exec_helper() local
128 globals = locals; in eval_exec_helper()
135 return code_execute(MP_OBJ_TO_PTR(args[0]), globals, locals); in eval_exec_helper()
153 return mp_parse_compile_execute(lex, parse_input_kind, globals, locals); in eval_exec_helper()
A Dobjmodule.c43 …mp_map_elem_t *elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_MAP… in module_print()
51 elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(MP_QSTR___file__), MP_MAP_LOOKUP); in module_print()
65 … mp_map_elem_t *elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(attr), MP_MAP_LOOKUP); in module_attr()
70 … elem = mp_map_lookup(&self->globals->map, MP_OBJ_NEW_QSTR(MP_QSTR___getattr__), MP_MAP_LOOKUP); in module_attr()
78 mp_obj_dict_t *dict = self->globals; in module_attr()
123 o->globals = MP_OBJ_TO_PTR(mp_obj_new_dict(MICROPY_MODULE_DICT_SIZE)); in mp_obj_new_module()
126 …mp_obj_dict_store(MP_OBJ_FROM_PTR(o->globals), MP_OBJ_NEW_QSTR(MP_QSTR___name__), MP_OBJ_NEW_QSTR(… in mp_obj_new_module()
A Dobjfun.h33 mp_obj_dict_t *globals; // the context within which this function was defined member
A Dcompile.h43 …(mp_lexer_t *lex, mp_parse_input_kind_t parse_input_kind, mp_obj_dict_t *globals, mp_obj_dict_t *l…
A Dmodarray.c40 .globals = (mp_obj_dict_t *)&mp_module_array_globals,
/AliOS-Things-master/components/py_engine/tests/micropython/
A Dconst2.py12 print(globals()["X"])
19 globals()["X"]()
34 globals()["X"]().f()
/AliOS-Things-master/components/freetype/include/internal/
A Dpshints.h49 (*PSH_Globals_SetScaleFunc)( PSH_Globals globals,
56 (*PSH_Globals_DestroyFunc)( PSH_Globals globals );
307 PSH_Globals globals,
621 PSH_Globals globals,
/AliOS-Things-master/components/py_engine/engine/tools/
A Dmetrics.py215 for cmd in globals():
217 print(" {:9} {}".format(cmd[3:], globals()[cmd].__doc__))
223 cmd = globals()["do_{}".format(cmd)]
/AliOS-Things-master/components/py_engine/tests/import/
A Dimport_long_dyn2.py1 globals()["long_long_very_long_long_name"] = 1
A Dimport_override.py4 def custom_import(name, globals, locals, fromlist, level): argument
/AliOS-Things-master/components/py_engine/tests/basics/
A Dfun_globals.py13 print(foo.__globals__ is globals())
A Dannotate_var.py4 print("x" in globals())
/AliOS-Things-master/components/py_engine/engine/extmod/uasyncio/
A D__init__.py29 globals()[attr] = value
/AliOS-Things-master/components/py_engine/modules/ai_agent/
A Dmodaiagent.c23 .globals = (mp_obj_dict_t *)&aiagent_locals_dict,
/AliOS-Things-master/components/py_engine/modules/mqtt/
A Dmodmqtt.c25 .globals = (mp_obj_dict_t *)&mqtt_locals_dict,
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A DmodaliyunIoT.c24 .globals = (mp_obj_dict_t *)&linksdk_locals_dict,

Completed in 31 milliseconds

1234567