HomeSort by relevance Sort by last modified time
    Searched full:hints (Results 1 - 25 of 283) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /system/extras/tests/bionic/libc/common/
test_getaddrinfo.c 2 * without a 'hints' argument
18 struct addrinfo hints; local
22 /* first, try without any hints */
31 /* now try with the hints */
32 memset(&hints, 0, sizeof(hints));
33 hints.ai_family = AF_UNSPEC;
34 hints.ai_socktype = SOCK_STREAM;
35 hints.ai_protocol = IPPROTO_TCP;
37 ret = getaddrinfo( SERVER_NAME, PORT_NUMBER, &hints, &res )
    [all...]
  /external/freetype/src/pshinter/
pshrec.h 5 /* Postscript (Type1/Type2) hints recorder (specification). */
22 /* font drivers to record the hints of a given character/glyph. */
24 /* The hints are recorded in a unified format, and are later processed */
46 /***** GLYPH HINTS RECORDER INTERNALS *****/
87 /* hints table descriptor */
92 PS_Hint hints; member in struct:PS_Hint_TableRec_
118 /* dimension-specific hints descriptor */
121 PS_Hint_TableRec hints; member in struct:PS_DimensionRec_
128 /* glyph hints descriptor */
129 /* dimension 0 => X coordinates + vertical hints/stems *
150 ps_hints_done( PS_Hints hints ); variable
    [all...]
pshmod.c 43 module->t1_funcs.hints = NULL;
44 module->t2_funcs.hints = NULL;
50 /* initialize module, create hints recorder and the interface */
63 module->t1_funcs.hints = (T1_Hints)ph;
66 module->t2_funcs.hints = (T2_Hints)ph;
72 /* returns global hints interface */
80 /* return Type 1 hints interface */
88 /* return Type 2 hints interface */
pshrec.c 5 /* FreeType PostScript hints recorder (body). */
48 /* destroy hints table */
53 FT_FREE( table->hints );
74 if ( !FT_RENEW_ARRAY( table->hints, old_max, new_max ) )
101 hint = table->hints + count - 1;
541 ps_hint_table_done( &dimension->hints, memory );
549 dimension->hints.num_hints = 0;
668 /* now, lookup stem in the current hints table */
672 FT_UInt max = dim->hints.num_hints;
673 PS_Hint hint = dim->hints.hints
    [all...]
pshglob.h 33 /***** GLOBAL HINTS INTERNALS *****/
45 /* The maximum number of blue zones in a font global hints structure. */
133 /* dimension 0 => X coordinates + vertical hints/stems */
134 /* dimension 1 => Y coordinates + horizontal hints/stems */
  /external/freetype/include/freetype/internal/
pshints.h 5 /* Interface to Postscript-specific (Type 1 and Type 2) hints */
7 /* T1/T2 hints in the `type1', `cid', and `cff' font drivers. */
71 /***** PUBLIC TYPE 1 HINTS RECORDER *****/
82 * This is a handle to an opaque structure used to record glyph hints
86 * @T1_Hints_FuncsRec structure. Recording glyph hints is normally
97 * returns an error code if the hints were invalid or something
100 * The hints accumulated in the object can later be used by the
127 * hints recording session.
130 * hints ::
131 * A handle to the Type 1 hints recorder
344 T1_Hints hints; member in struct:T1_Hints_FuncsRec_
658 T2_Hints hints; member in struct:T2_Hints_FuncsRec_
    [all...]
autohint.h 38 /* - global hints: Usually some metrics that describe global properties */
42 /* hints is really small). */
44 /* - glyph hints: These describe some important features of the glyph */
46 /* generally much faster to compute than global hints. */
49 /* performing fast computations for both global and glyph hints. */
57 /* global hints every time the same face is re-opened. */
59 /* We thus provide the ability to cache global hints outside of the face */
65 /* hints too. However, my general idea now is that if you really need */
89 /* Retrieves the global hints computed for a given face object the */
100 /* global_hints :: A typeless pointer to the global hints. *
    [all...]
  /external/freetype/src/autofit/
afdummy.c 25 af_dummy_hints_init( AF_GlyphHints hints,
28 af_glyph_hints_rescale( hints,
35 af_dummy_hints_apply( AF_GlyphHints hints,
38 FT_UNUSED( hints );
afhints.c 164 af_glyph_hints_dump_points( AF_GlyphHints hints )
166 AF_Point points = hints->points;
167 AF_Point limit = points + hints->num_points;
227 af_glyph_hints_dump_segments( AF_GlyphHints hints )
234 AF_AxisHints axis = &hints->axis[dimension];
264 af_glyph_hints_dump_edges( AF_GlyphHints hints )
271 AF_AxisHints axis = &hints->axis[dimension];
310 af_glyph_hints_dump_points( AF_GlyphHints hints )
312 FT_UNUSED( hints );
317 af_glyph_hints_dump_segments( AF_GlyphHints hints )
    [all...]
afcjk.c 117 af_cjk_hints_compute_segments( AF_GlyphHints hints,
120 AF_AxisHints axis = &hints->axis[dim];
127 error = af_latin_hints_compute_segments( hints, dim );
161 af_cjk_hints_link_segments( AF_GlyphHints hints,
164 AF_AxisHints axis = &hints->axis[dim];
173 len_threshold = AF_LATIN_CONSTANT( hints->metrics, 8 );
175 dist_threshold = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale
176 : hints->y_scale;
326 af_cjk_hints_compute_edges( AF_GlyphHints hints,
329 AF_AxisHints axis = &hints->axis[dim]
    [all...]
afcjk.h 42 af_cjk_hints_init( AF_GlyphHints hints,
46 af_cjk_hints_apply( AF_GlyphHints hints,
afindic.c 54 af_indic_hints_init( AF_GlyphHints hints,
58 return af_cjk_hints_init( hints, metrics );
63 af_indic_hints_apply( AF_GlyphHints hints,
68 return af_cjk_hints_apply( hints, outline, metrics );
afhints.h 29 * The definition of outline glyph hints. These are shared by all
274 af_glyph_hints_init( AF_GlyphHints hints,
284 af_glyph_hints_rescale( AF_GlyphHints hints,
288 af_glyph_hints_reload( AF_GlyphHints hints,
292 af_glyph_hints_save( AF_GlyphHints hints,
296 af_glyph_hints_align_edge_points( AF_GlyphHints hints,
300 af_glyph_hints_align_strong_points( AF_GlyphHints hints,
304 af_glyph_hints_align_weak_points( AF_GlyphHints hints,
309 af_glyph_hints_scale_dim( AF_GlyphHints hints,
316 af_glyph_hints_done( AF_GlyphHints hints ); variable
    [all...]
aflatin2.c 31 af_latin2_hints_compute_segments( AF_GlyphHints hints,
35 af_latin2_hints_link_segments( AF_GlyphHints hints,
52 AF_GlyphHintsRec hints[1]; local
55 af_glyph_hints_init( hints, face->memory );
85 af_glyph_hints_rescale( hints, (AF_ScriptMetrics)dummy );
87 error = af_glyph_hints_reload( hints, &face->glyph->outline );
94 AF_AxisHints axhints = &hints->axis[dim];
99 error = af_latin2_hints_compute_segments( hints,
104 af_latin2_hints_link_segments( hints,
151 af_glyph_hints_done( hints );
    [all...]
aflatin.c 45 AF_GlyphHintsRec hints[1]; local
48 af_glyph_hints_init( hints, face->memory );
78 af_glyph_hints_rescale( hints, (AF_ScriptMetrics)dummy );
80 error = af_glyph_hints_reload( hints, &face->glyph->outline );
87 AF_AxisHints axhints = &hints->axis[dim];
92 error = af_latin_hints_compute_segments( hints,
97 af_latin_hints_link_segments( hints,
144 af_glyph_hints_done( hints );
659 af_latin_hints_compute_segments( AF_GlyphHints hints,
662 AF_AxisHints axis = &hints->axis[dim]
    [all...]
afloader.c 31 af_glyph_hints_init( &loader->hints, memory );
33 _af_debug_hints = &loader->hints;
70 af_glyph_hints_done( &loader->hints );
94 AF_GlyphHints hints = &loader->hints; local
155 loader->pp1.x = hints->x_delta;
156 loader->pp1.y = hints->y_delta;
158 hints->x_scale ) + hints->x_delta;
159 loader->pp2.y = hints->y_delta
    [all...]
afwarp.c 134 AF_GlyphHints hints,
156 org_scale = hints->y_scale;
157 org_delta = hints->y_delta;
161 org_scale = hints->x_scale;
162 org_delta = hints->x_delta;
170 axis = &hints->axis[dim];
173 points = hints->points;
174 num_points = hints->num_points;
322 hints->xmin_delta = FT_MulFix( X1, best_scale - org_scale )
324 hints->xmax_delta = FT_MulFix( X2, best_scale - org_scale
    [all...]
  /dalvik/vm/arch/generic/
Hints.c 17 * Target-specific optimization and run-time hints
32 * are the same for all targets, while the lower 28 are used for hints to
39 * S - if set, ignore the hints and do things the hard way (scan signature)
41 * H - target-specific hints
44 * appropriate arch/<target>/ directory for new target ports. The hints
48 * If valid hints can't be constructed, this function should return a negative
54 /* No hints for generic target - force argument walk at run-time */
  /external/dropbear/
fake-rfc2553.c 119 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints)
138 if (hints->ai_socktype)
139 ai->ai_socktype = hints->ai_socktype;
143 if (hints->ai_protocol)
144 ai->ai_protocol = hints->ai_protocol;
151 const struct addrinfo *hints, struct addrinfo **res)
173 if (hints && hints->ai_flags & AI_PASSIVE) {
177 *res = malloc_ai(port, addr, hints);
184 *res = malloc_ai(port, htonl(0x7f000001), hints);
    [all...]
  /dalvik/vm/arch/arm/
HintsEABI.c 17 * Target-specific optimization and run-time hints
32 * are the same for all targets, while the lower 28 are used for hints to
39 * S - if set, ignore the hints and do things the hard way (scan signature)
41 * H - target-specific hints (see below for details)
43 * This function produces arm-specific hints - specifically a description
54 * If there are too many arguments to construct valid hints, this function will
  /dalvik/vm/arch/x86/
Hints386ABI.c 17 * Target-specific optimization and run-time hints
32 * are the same for all targets, while the lower 28 are used for hints to
39 * S - if set, ignore the hints and do things the hard way (scan signature)
41 * H - target-specific hints (see below for details)
43 * This function produces x86-specific hints for the standard 32-bit 386 ABI.
59 * For the 386 ABI, valid hints should always be generated.
  /external/bzip2/
words0 6 Also in README.COMPILATION.PROBLEMS are some hints that may help
  /dalvik/vm/arch/x86-atom/
Hints386ABI.c 19 * are the same for all targets, while the lower 28 are used for hints to
26 * S - if set, ignore the hints and do things the hard way (scan signature)
28 * H - target-specific hints (see below for details)
30 * This function produces IA32-specific hints for the standard 32-bit 386 ABI.
41 * For the 386 ABI, valid hints should always be generated.
  /external/chromium/net/tools/flip_server/
create_listener.cc 85 struct addrinfo hints; local
86 memset(&hints, 0, sizeof(hints));
89 hints.ai_flags = AI_NUMERICHOST; // iff you know the name is numeric.
91 hints.ai_flags |= AI_PASSIVE;
93 hints.ai_family = PF_INET; // we know it'll be IPv4, but if we didn't
94 // hints.ai_family = PF_UNSPEC; // know we'd use this. <---
95 hints.ai_socktype = SOCK_STREAM;
98 if ((err=getaddrinfo(node, service, &hints, &results))) {
  /external/chromium/net/base/
host_resolver_proc.cc 163 struct addrinfo hints = {0}; local
167 hints.ai_family = AF_INET;
170 hints.ai_family = AF_INET6;
173 hints.ai_family = AF_UNSPEC;
177 hints.ai_family = AF_UNSPEC;
185 // Flags used in "hints" argument to getaddrinfo()
203 hints.ai_flags = 0;
205 hints.ai_flags = AI_ADDRCONFIG;
209 hints.ai_socktype = SOCK_STREAM;
211 int err = getaddrinfo(host.c_str(), NULL, &hints, &ai)
    [all...]

Completed in 351 milliseconds

1 2 3 4 5 6 7 8 91011>>