Home
last modified time | relevance | path

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

12345678910>>...27

/third_party/freetype/src/autofit/
Dafglobal.c126 af_face_globals_compute_style_coverage( AF_FaceGlobals globals ) in af_face_globals_compute_style_coverage() argument
129 FT_Face face = globals->face; in af_face_globals_compute_style_coverage()
131 FT_UShort* gstyles = globals->glyph_styles; in af_face_globals_compute_style_coverage()
138 for ( i = 0; i < (FT_UInt)globals->glyph_count; i++ ) in af_face_globals_compute_style_coverage()
172 globals->module->default_script ) in af_face_globals_compute_style_coverage()
186 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
197 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
215 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
226 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
235 af_shaper_get_coverage( globals, style_class, gstyles, 0 ); in af_face_globals_compute_style_coverage()
[all …]
Dafloader.c51 loader->globals = (AF_FaceGlobals)face->autohint.data; in af_loader_reset()
53 if ( !loader->globals ) in af_loader_reset()
55 error = af_face_globals_new( face, &loader->globals, module ); in af_loader_reset()
59 (FT_Pointer)loader->globals; in af_loader_reset()
75 loader->globals = NULL; in af_loader_done()
96 AF_FaceGlobals globals = loader->globals; in af_loader_embolden_glyph_in_slot() local
105 globals->stem_darkening_for_ppem; in af_loader_embolden_glyph_in_slot()
138 ( stdVW > 0 && stdVW != globals->standard_vertical_width ) ) in af_loader_embolden_glyph_in_slot()
150 globals->standard_vertical_width = stdVW; in af_loader_embolden_glyph_in_slot()
151 globals->stem_darkening_for_ppem = size_metrics->x_ppem; in af_loader_embolden_glyph_in_slot()
[all …]
Dafmodule.c78 AF_FaceGlobals globals; in af_property_get_face_globals() local
84 globals = (AF_FaceGlobals)face->autohint.data; in af_property_get_face_globals()
85 if ( !globals ) in af_property_get_face_globals()
89 error = af_face_globals_new( face, &globals, module ); in af_property_get_face_globals()
93 (FT_Pointer)globals; in af_property_get_face_globals()
100 *aglobals = globals; in af_property_get_face_globals()
177 AF_FaceGlobals globals; in af_property_set() local
187 error = af_property_get_face_globals( prop->face, &globals, module ); in af_property_set()
189 globals->increase_x_height = prop->limit; in af_property_set()
301 AF_FaceGlobals globals; in af_property_get() local
[all …]
Dafshaper.c99 af_shaper_get_coverage( AF_FaceGlobals globals, in af_shaper_get_coverage() argument
124 if ( !globals || !style_class || !gstyles ) in af_shaper_get_coverage()
127 face = hb_font_get_face( globals->hb_font ); in af_shaper_get_coverage()
287 hb_codepoint_t gidx = FT_Get_Char_Index( globals->face, ch ); in af_shaper_get_coverage()
378 if ( idx >= (hb_codepoint_t)globals->glyph_count ) in af_shaper_get_coverage()
476 upem = (FT_Int)metrics->globals->face->units_per_EM; in af_shaper_get_cluster()
480 font = metrics->globals->hb_font; in af_shaper_get_cluster()
507 hb_buffer_t* hb_buf = metrics->globals->hb_buf; in af_shaper_get_cluster()
591 af_shaper_get_coverage( AF_FaceGlobals globals, in af_shaper_get_coverage() argument
596 FT_UNUSED( globals ); in af_shaper_get_coverage()
[all …]
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafglobal.c126 af_face_globals_compute_style_coverage( AF_FaceGlobals globals ) in af_face_globals_compute_style_coverage() argument
129 FT_Face face = globals->face; in af_face_globals_compute_style_coverage()
131 FT_UShort* gstyles = globals->glyph_styles; in af_face_globals_compute_style_coverage()
138 for ( i = 0; i < (FT_UInt)globals->glyph_count; i++ ) in af_face_globals_compute_style_coverage()
172 globals->module->default_script ) in af_face_globals_compute_style_coverage()
186 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
197 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
215 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
226 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
235 af_shaper_get_coverage( globals, style_class, gstyles, 0 ); in af_face_globals_compute_style_coverage()
[all …]
Dafloader.c51 loader->globals = (AF_FaceGlobals)face->autohint.data; in af_loader_reset()
53 if ( !loader->globals ) in af_loader_reset()
55 error = af_face_globals_new( face, &loader->globals, module ); in af_loader_reset()
59 (FT_Pointer)loader->globals; in af_loader_reset()
75 loader->globals = NULL; in af_loader_done()
96 AF_FaceGlobals globals = loader->globals; in af_loader_embolden_glyph_in_slot() local
105 globals->stem_darkening_for_ppem; in af_loader_embolden_glyph_in_slot()
138 ( stdVW > 0 && stdVW != globals->standard_vertical_width ) ) in af_loader_embolden_glyph_in_slot()
150 globals->standard_vertical_width = stdVW; in af_loader_embolden_glyph_in_slot()
151 globals->stem_darkening_for_ppem = size_metrics->x_ppem; in af_loader_embolden_glyph_in_slot()
[all …]
Dafmodule.c78 AF_FaceGlobals globals; in af_property_get_face_globals() local
84 globals = (AF_FaceGlobals)face->autohint.data; in af_property_get_face_globals()
85 if ( !globals ) in af_property_get_face_globals()
89 error = af_face_globals_new( face, &globals, module ); in af_property_get_face_globals()
93 (FT_Pointer)globals; in af_property_get_face_globals()
100 *aglobals = globals; in af_property_get_face_globals()
177 AF_FaceGlobals globals; in af_property_set() local
187 error = af_property_get_face_globals( prop->face, &globals, module ); in af_property_set()
189 globals->increase_x_height = prop->limit; in af_property_set()
301 AF_FaceGlobals globals; in af_property_get() local
[all …]
Dafshaper.c99 af_shaper_get_coverage( AF_FaceGlobals globals, in af_shaper_get_coverage() argument
124 if ( !globals || !style_class || !gstyles ) in af_shaper_get_coverage()
127 face = hb_font_get_face( globals->hb_font ); in af_shaper_get_coverage()
287 hb_codepoint_t gidx = FT_Get_Char_Index( globals->face, ch ); in af_shaper_get_coverage()
378 if ( idx >= (hb_codepoint_t)globals->glyph_count ) in af_shaper_get_coverage()
476 upem = (FT_Int)metrics->globals->face->units_per_EM; in af_shaper_get_cluster()
480 font = metrics->globals->hb_font; in af_shaper_get_cluster()
507 hb_buffer_t* hb_buf = metrics->globals->hb_buf; in af_shaper_get_cluster()
591 af_shaper_get_coverage( AF_FaceGlobals globals, in af_shaper_get_coverage() argument
596 FT_UNUSED( globals ); in af_shaper_get_coverage()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/
Dafglobal.c130 af_face_globals_compute_style_coverage( AF_FaceGlobals globals ) in af_face_globals_compute_style_coverage() argument
133 FT_Face face = globals->face; in af_face_globals_compute_style_coverage()
135 FT_UShort* gstyles = globals->glyph_styles; in af_face_globals_compute_style_coverage()
142 for ( i = 0; i < (FT_UInt)globals->glyph_count; i++ ) in af_face_globals_compute_style_coverage()
176 globals->module->default_script ) in af_face_globals_compute_style_coverage()
190 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
201 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
219 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
230 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
239 af_shaper_get_coverage( globals, style_class, gstyles, 0 ); in af_face_globals_compute_style_coverage()
[all …]
Dafloader.c51 loader->globals = (AF_FaceGlobals)face->autohint.data; in af_loader_reset()
53 if ( !loader->globals ) in af_loader_reset()
55 error = af_face_globals_new( face, &loader->globals, module ); in af_loader_reset()
59 (FT_Pointer)loader->globals; in af_loader_reset()
75 loader->globals = NULL; in af_loader_done()
96 AF_FaceGlobals globals = loader->globals; in af_loader_embolden_glyph_in_slot() local
105 globals->stem_darkening_for_ppem; in af_loader_embolden_glyph_in_slot()
139 ( stdVW > 0 && stdVW != globals->standard_vertical_width ) ) in af_loader_embolden_glyph_in_slot()
152 globals->standard_vertical_width = stdVW; in af_loader_embolden_glyph_in_slot()
153 globals->stem_darkening_for_ppem = size_metrics->x_ppem; in af_loader_embolden_glyph_in_slot()
[all …]
Dafmodule.c78 AF_FaceGlobals globals; in af_property_get_face_globals() local
84 globals = (AF_FaceGlobals)face->autohint.data; in af_property_get_face_globals()
85 if ( !globals ) in af_property_get_face_globals()
89 error = af_face_globals_new( face, &globals, module ); in af_property_get_face_globals()
93 (FT_Pointer)globals; in af_property_get_face_globals()
100 *aglobals = globals; in af_property_get_face_globals()
177 AF_FaceGlobals globals; in af_property_set() local
187 error = af_property_get_face_globals( prop->face, &globals, module ); in af_property_set()
189 globals->increase_x_height = prop->limit; in af_property_set()
333 AF_FaceGlobals globals; in af_property_get() local
[all …]
Dafshaper.c100 af_shaper_get_coverage( AF_FaceGlobals globals, in af_shaper_get_coverage() argument
125 if ( !globals || !style_class || !gstyles ) in af_shaper_get_coverage()
128 face = hb_font_get_face( globals->hb_font ); in af_shaper_get_coverage()
278 hb_codepoint_t gidx = FT_Get_Char_Index( globals->face, ch ); in af_shaper_get_coverage()
367 if ( idx >= (hb_codepoint_t)globals->glyph_count ) in af_shaper_get_coverage()
462 upem = (FT_Int)metrics->globals->face->units_per_EM; in af_shaper_get_cluster()
466 font = metrics->globals->hb_font; in af_shaper_get_cluster()
493 hb_buffer_t* hb_buf = metrics->globals->hb_buf; in af_shaper_get_cluster()
577 af_shaper_get_coverage( AF_FaceGlobals globals, in af_shaper_get_coverage() argument
582 FT_UNUSED( globals ); in af_shaper_get_coverage()
[all …]
/third_party/freetype/src/pshinter/
Dpshglob.c41 psh_globals_scale_widths( PSH_Globals globals, in psh_globals_scale_widths() argument
44 PSH_Dimension dim = &globals->dimension[direction]; in psh_globals_scale_widths()
619 psh_globals_destroy( PSH_Globals globals ) in psh_globals_destroy() argument
621 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()
628 globals->dimension[1].stdw.count = 0; in psh_globals_destroy()
630 globals->blues.normal_top.count = 0; in psh_globals_destroy()
631 globals->blues.normal_bottom.count = 0; in psh_globals_destroy()
632 globals->blues.family_top.count = 0; in psh_globals_destroy()
[all …]
/third_party/skia/third_party/externals/freetype/src/pshinter/
Dpshglob.c41 psh_globals_scale_widths( PSH_Globals globals, in psh_globals_scale_widths() argument
44 PSH_Dimension dim = &globals->dimension[direction]; in psh_globals_scale_widths()
619 psh_globals_destroy( PSH_Globals globals ) in psh_globals_destroy() argument
621 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()
628 globals->dimension[1].stdw.count = 0; in psh_globals_destroy()
630 globals->blues.normal_top.count = 0; in psh_globals_destroy()
631 globals->blues.normal_bottom.count = 0; in psh_globals_destroy()
632 globals->blues.family_top.count = 0; in psh_globals_destroy()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/pshinter/
Dpshglob.c42 psh_globals_scale_widths( PSH_Globals globals, in psh_globals_scale_widths() argument
45 PSH_Dimension dim = &globals->dimension[direction]; in psh_globals_scale_widths()
620 psh_globals_destroy( PSH_Globals globals ) in psh_globals_destroy() argument
622 if ( globals ) in psh_globals_destroy()
627 memory = globals->memory; in psh_globals_destroy()
628 globals->dimension[0].stdw.count = 0; in psh_globals_destroy()
629 globals->dimension[1].stdw.count = 0; in psh_globals_destroy()
631 globals->blues.normal_top.count = 0; in psh_globals_destroy()
632 globals->blues.normal_bottom.count = 0; in psh_globals_destroy()
633 globals->blues.family_top.count = 0; in psh_globals_destroy()
[all …]
/third_party/python/Lib/
Ddataclasses.py412 def _create_fn(name, args, body, *, globals=None, locals=None, argument
434 exec(txt, globals, ns)
450 def _field_init(f, frozen, globals, self_name, slots): argument
459 globals[default_name] = f.default_factory
478 globals[default_name] = f.default_factory
487 globals[default_name] = f.default
492 globals[default_name] = f.default
530 self_name, globals, slots): argument
584 globals=globals,
588 def _repr_fn(fields, globals): argument
[all …]
/third_party/python/Tools/c-analyzer/
DREADME8 * globals used exclusively in main or in the REPL
14 The ignored-globals.txt file is organized similarly. Of the different
25 globals. Unlike the other globals, the runtime state represents a set
31 Consequently, the globals for Python's runtime state have been
32 consolidated under a single top-level _PyRuntime global. No new globals
34 _PyRuntimeState or one of its sub-structs. The check-c-globals script
35 should be run to ensure that no new globals have been added:
37 python3 Tools/c-analyzer/check-c-globals.py
43 If it reports any globals then they should be resolved. If the globals
45 Otherwise they should be added to ignored-globals.txt.
/third_party/typescript/src/harness/
DevaluatorImpl.ts35 …export function evaluateTypeScript(sourceText: string, options?: ts.CompilerOptions, globals?: Rec…
48 return evaluateJavaScript(output.text, globals, output.file);
51 …export function evaluateJavaScript(sourceText: string, globals?: Record<string, any>, sourceFile =…
52 globals = { Symbol: FakeSymbol, ...globals };
56 for (const name in globals) {
57 if (ts.hasProperty(globals, name)) {
59 globalArgs.push(globals[name]);
67 …evaluateThunk.call(globals, module, module.exports, noRequire, vpath.dirname(sourceFile), sourceFi…
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_rt_intrinsics.c57 struct brw_nir_rt_globals_defs globals; in lower_rt_intrinsics_impl() local
58 brw_nir_rt_load_globals(b, &globals); in lower_rt_intrinsics_impl()
155 sysval = globals.launch_size; in lower_rt_intrinsics_impl()
263 sysval = globals.base_mem_addr; in lower_rt_intrinsics_impl()
267 sysval = nir_imul_imm(b, globals.hw_stack_size, 64); in lower_rt_intrinsics_impl()
271 sysval = nir_imul_imm(b, globals.sw_stack_size, 64); in lower_rt_intrinsics_impl()
275 sysval = globals.num_dss_rt_stacks; in lower_rt_intrinsics_impl()
279 sysval = globals.hit_sbt_addr; in lower_rt_intrinsics_impl()
283 sysval = globals.hit_sbt_stride; in lower_rt_intrinsics_impl()
287 sysval = globals.miss_sbt_addr; in lower_rt_intrinsics_impl()
[all …]
/third_party/typescript/tests/cases/fourslash/
DcompletionListIsGlobalCompletion.ts39 const globals: ReadonlyArray<FourSlashInterface.ExpectedCompletionEntry> = [...x, ...completion.glo… constant
44 { marker: ["5", "11"], exact: globals, isGlobalCompletion: true },
45 { marker: ["18"], exact: globals.filter(name => name !== 'user'), isGlobalCompletion: true },
49 { marker: "13", exact: globals.filter(name => name !== 'z'), isGlobalCompletion: false },
50 …{ marker: "15", exact: globals.filter(name => name !== 'x'), isGlobalCompletion: true, isNewIdenti…
/third_party/skia/third_party/externals/jinja2/
Denvironment.py347 self.globals = DEFAULT_NAMESPACE.copy()
847 def _load_template(self, name, globals): argument
857 template = self.loader.load(self, name, globals)
863 def get_template(self, name, parent=None, globals=None): argument
883 return self._load_template(name, self.make_globals(globals))
886 def select_template(self, names, parent=None, globals=None): argument
909 globals = self.make_globals(globals)
916 return self._load_template(name, globals)
922 def get_or_select_template(self, template_name_or_list, parent=None, globals=None): argument
930 return self.get_template(template_name_or_list, parent, globals)
[all …]
/third_party/node/tools/inspector_protocol/jinja2/
Denvironment.py321 self.globals = DEFAULT_NAMESPACE.copy()
795 def _load_template(self, name, globals): argument
804 template = self.loader.load(self, name, globals)
810 def get_template(self, name, parent=None, globals=None): argument
830 return self._load_template(name, self.make_globals(globals))
833 def select_template(self, names, parent=None, globals=None): argument
847 globals = self.make_globals(globals)
854 return self._load_template(name, globals)
861 parent=None, globals=None): argument
869 return self.get_template(template_name_or_list, parent, globals)
[all …]
/third_party/typescript/tests/baselines/reference/
DfindAllReferencesTripleSlash.baseline.jsonc3 // require("globals");
7 // /// <reference types="globals" />
53 // require([|"globals"|]);
57 // /// <reference types="[|globals|]/*FIND ALL REFS*/" />
66 "name": "globals",
73 "text": "\"globals\"",
DspellingSuggestionGlobal2.errors.txt1 …spellingSuggestionGlobal2.ts(4,1): error TS2552: Cannot find name 'global'. Did you mean 'globals'?
7 const globals = { x: true }
8 global.x // should suggest `globals` (GH#42209)
10 !!! error TS2552: Cannot find name 'global'. Did you mean 'globals'?
11 !!! related TS2728 tests/cases/compiler/spellingSuggestionGlobal2.ts:3:7: 'globals' is declared her…
/third_party/glslang/glslang/MachineIndependent/
DLiveTraverser.h73 TIntermSequence& globals = intermediate.getTreeRoot()->getAsAggregate()->getSequence(); in pushFunction() local
74 for (unsigned int f = 0; f < globals.size(); ++f) { in pushFunction()
75 TIntermAggregate* candidate = globals[f]->getAsAggregate(); in pushFunction()
85 TIntermSequence& globals = intermediate.getTreeRoot()->getAsAggregate()->getSequence(); in pushGlobalReference() local
86 for (unsigned int f = 0; f < globals.size(); ++f) { in pushGlobalReference()
87 TIntermAggregate* candidate = globals[f]->getAsAggregate(); in pushGlobalReference()

12345678910>>...27