Home
last modified time | relevance | path

Searched refs:hints (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/
Dafhints.c240 af_get_segment_index( AF_GlyphHints hints, in af_get_segment_index() argument
244 AF_AxisHints axis = &hints->axis[dimension]; in af_get_segment_index()
245 AF_Point point = hints->points + point_idx; in af_get_segment_index()
285 af_get_edge_index( AF_GlyphHints hints, in af_get_edge_index() argument
289 AF_AxisHints axis = &hints->axis[dimension]; in af_get_edge_index()
302 af_glyph_hints_dump_points( AF_GlyphHints hints, in af_glyph_hints_dump_points() argument
305 AF_Point points = hints->points; in af_glyph_hints_dump_points()
306 AF_Point limit = points + hints->num_points; in af_glyph_hints_dump_points()
312 if ( hints->num_points ) in af_glyph_hints_dump_points()
321 int segment_idx_0 = af_get_segment_index( hints, point_idx, 0 ); in af_glyph_hints_dump_points()
[all …]
Dafdummy.c26 af_dummy_hints_init( AF_GlyphHints hints, in af_dummy_hints_init() argument
29 af_glyph_hints_rescale( hints, metrics ); in af_dummy_hints_init()
31 hints->x_scale = metrics->scaler.x_scale; in af_dummy_hints_init()
32 hints->y_scale = metrics->scaler.y_scale; in af_dummy_hints_init()
33 hints->x_delta = metrics->scaler.x_delta; in af_dummy_hints_init()
34 hints->y_delta = metrics->scaler.y_delta; in af_dummy_hints_init()
42 AF_GlyphHints hints, in af_dummy_hints_apply() argument
50 error = af_glyph_hints_reload( hints, outline ); in af_dummy_hints_apply()
52 af_glyph_hints_save( hints, outline ); in af_dummy_hints_apply()
Dafcjk.c74 AF_GlyphHintsRec hints[1]; in af_cjk_metrics_init_widths() local
83 af_glyph_hints_init( hints, face->memory ); in af_cjk_metrics_init_widths()
161 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_cjk_metrics_init_widths()
163 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_cjk_metrics_init_widths()
170 AF_AxisHints axhints = &hints->axis[dim]; in af_cjk_metrics_init_widths()
175 error = af_latin_hints_compute_segments( hints, in af_cjk_metrics_init_widths()
180 af_latin_hints_link_segments( hints, in af_cjk_metrics_init_widths()
250 af_glyph_hints_done( hints ); in af_cjk_metrics_init_widths()
719 af_cjk_hints_compute_segments( AF_GlyphHints hints, in af_cjk_hints_compute_segments() argument
722 AF_AxisHints axis = &hints->axis[dim]; in af_cjk_hints_compute_segments()
[all …]
Daflatin2.c43 af_latin2_hints_compute_segments( AF_GlyphHints hints,
47 af_latin2_hints_link_segments( AF_GlyphHints hints,
63 AF_GlyphHintsRec hints[1]; in af_latin2_metrics_init_widths() local
66 af_glyph_hints_init( hints, face->memory ); in af_latin2_metrics_init_widths()
98 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_latin2_metrics_init_widths()
100 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_latin2_metrics_init_widths()
107 AF_AxisHints axhints = &hints->axis[dim]; in af_latin2_metrics_init_widths()
112 error = af_latin2_hints_compute_segments( hints, in af_latin2_metrics_init_widths()
117 af_latin2_hints_link_segments( hints, in af_latin2_metrics_init_widths()
164 af_glyph_hints_done( hints ); in af_latin2_metrics_init_widths()
[all …]
Daflatin.c65 AF_GlyphHintsRec hints[1]; in af_latin_metrics_init_widths() local
74 af_glyph_hints_init( hints, face->memory ); in af_latin_metrics_init_widths()
159 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_latin_metrics_init_widths()
161 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_latin_metrics_init_widths()
168 AF_AxisHints axhints = &hints->axis[dim]; in af_latin_metrics_init_widths()
173 error = af_latin_hints_compute_segments( hints, in af_latin_metrics_init_widths()
184 af_latin_hints_link_segments( hints, in af_latin_metrics_init_widths()
254 af_glyph_hints_done( hints ); in af_latin_metrics_init_widths()
1231 af_latin_hints_compute_segments( AF_GlyphHints hints, in af_latin_hints_compute_segments() argument
1234 AF_LatinMetrics metrics = (AF_LatinMetrics)hints->metrics; in af_latin_hints_compute_segments()
[all …]
Dafmodule.c33 af_glyph_hints_dump_segments( AF_GlyphHints hints,
36 af_glyph_hints_dump_points( AF_GlyphHints hints,
39 af_glyph_hints_dump_edges( AF_GlyphHints hints,
415 AF_GlyphHints hints = _af_debug_hints_rec; in af_autofitter_load_glyph() local
421 if ( hints->memory ) in af_autofitter_load_glyph()
422 af_glyph_hints_done( hints ); in af_autofitter_load_glyph()
424 af_glyph_hints_init( hints, memory ); in af_autofitter_load_glyph()
425 af_loader_init( loader, hints ); in af_autofitter_load_glyph()
430 af_glyph_hints_dump_points( hints, 0 ); in af_autofitter_load_glyph()
431 af_glyph_hints_dump_segments( hints, 0 ); in af_autofitter_load_glyph()
[all …]
/external/freetype/src/autofit/
Dafhints.c226 af_glyph_hints_dump_points( AF_GlyphHints hints, in af_glyph_hints_dump_points() argument
229 AF_Point points = hints->points; in af_glyph_hints_dump_points()
230 AF_Point limit = points + hints->num_points; in af_glyph_hints_dump_points()
236 if ( hints->num_points ) in af_glyph_hints_dump_points()
294 af_glyph_hints_dump_segments( AF_GlyphHints hints, in af_glyph_hints_dump_segments() argument
302 AF_AxisHints axis = &hints->axis[dimension]; in af_glyph_hints_dump_segments()
303 AF_Point points = hints->points; in af_glyph_hints_dump_segments()
351 af_glyph_hints_get_num_segments( AF_GlyphHints hints, in af_glyph_hints_get_num_segments() argument
361 axis = &hints->axis[dim]; in af_glyph_hints_get_num_segments()
377 af_glyph_hints_get_segment_offset( AF_GlyphHints hints, in af_glyph_hints_get_segment_offset() argument
[all …]
Dafdummy.c26 af_dummy_hints_init( AF_GlyphHints hints, in af_dummy_hints_init() argument
29 af_glyph_hints_rescale( hints, metrics ); in af_dummy_hints_init()
31 hints->x_scale = metrics->scaler.x_scale; in af_dummy_hints_init()
32 hints->y_scale = metrics->scaler.y_scale; in af_dummy_hints_init()
33 hints->x_delta = metrics->scaler.x_delta; in af_dummy_hints_init()
34 hints->y_delta = metrics->scaler.y_delta; in af_dummy_hints_init()
41 af_dummy_hints_apply( AF_GlyphHints hints, in af_dummy_hints_apply() argument
47 error = af_glyph_hints_reload( hints, outline ); in af_dummy_hints_apply()
49 af_glyph_hints_save( hints, outline ); in af_dummy_hints_apply()
Dafcjk.c74 AF_GlyphHintsRec hints[1]; in af_cjk_metrics_init_widths() local
83 af_glyph_hints_init( hints, face->memory ); in af_cjk_metrics_init_widths()
161 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_cjk_metrics_init_widths()
163 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_cjk_metrics_init_widths()
170 AF_AxisHints axhints = &hints->axis[dim]; in af_cjk_metrics_init_widths()
175 error = af_latin_hints_compute_segments( hints, in af_cjk_metrics_init_widths()
180 af_latin_hints_link_segments( hints, in af_cjk_metrics_init_widths()
250 af_glyph_hints_done( hints ); in af_cjk_metrics_init_widths()
703 af_cjk_hints_compute_segments( AF_GlyphHints hints, in af_cjk_hints_compute_segments() argument
706 AF_AxisHints axis = &hints->axis[dim]; in af_cjk_hints_compute_segments()
[all …]
Daflatin2.c43 af_latin2_hints_compute_segments( AF_GlyphHints hints,
47 af_latin2_hints_link_segments( AF_GlyphHints hints,
63 AF_GlyphHintsRec hints[1]; in af_latin2_metrics_init_widths() local
66 af_glyph_hints_init( hints, face->memory ); in af_latin2_metrics_init_widths()
98 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_latin2_metrics_init_widths()
100 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_latin2_metrics_init_widths()
107 AF_AxisHints axhints = &hints->axis[dim]; in af_latin2_metrics_init_widths()
112 error = af_latin2_hints_compute_segments( hints, in af_latin2_metrics_init_widths()
117 af_latin2_hints_link_segments( hints, in af_latin2_metrics_init_widths()
164 af_glyph_hints_done( hints ); in af_latin2_metrics_init_widths()
[all …]
Dafmodule.c29 af_glyph_hints_dump_segments( AF_GlyphHints hints,
32 af_glyph_hints_dump_points( AF_GlyphHints hints,
35 af_glyph_hints_dump_edges( AF_GlyphHints hints,
330 AF_GlyphHints hints = _af_debug_hints_rec; in af_autofitter_load_glyph() local
336 if ( hints->memory ) in af_autofitter_load_glyph()
337 af_glyph_hints_done( hints ); in af_autofitter_load_glyph()
339 af_glyph_hints_init( hints, memory ); in af_autofitter_load_glyph()
340 af_loader_init( loader, hints ); in af_autofitter_load_glyph()
345 af_glyph_hints_dump_points( hints, 0 ); in af_autofitter_load_glyph()
346 af_glyph_hints_dump_segments( hints, 0 ); in af_autofitter_load_glyph()
[all …]
Daflatin.c61 AF_GlyphHintsRec hints[1]; in af_latin_metrics_init_widths() local
70 af_glyph_hints_init( hints, face->memory ); in af_latin_metrics_init_widths()
155 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_latin_metrics_init_widths()
157 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_latin_metrics_init_widths()
164 AF_AxisHints axhints = &hints->axis[dim]; in af_latin_metrics_init_widths()
169 error = af_latin_hints_compute_segments( hints, in af_latin_metrics_init_widths()
180 af_latin_hints_link_segments( hints, in af_latin_metrics_init_widths()
250 af_glyph_hints_done( hints ); in af_latin_metrics_init_widths()
1155 af_latin_hints_compute_segments( AF_GlyphHints hints, in af_latin_hints_compute_segments() argument
1158 AF_AxisHints axis = &hints->axis[dim]; in af_latin_hints_compute_segments()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/net/
DNetJavaSocketImpl.java37 public NetJavaSocketImpl (Protocol protocol, String host, int port, SocketHints hints) { in NetJavaSocketImpl() argument
41 applyHints(hints); // better to call BEFORE socket is connected! in NetJavaSocketImpl()
45 if (hints != null) { in NetJavaSocketImpl()
46 socket.connect(address, hints.connectTimeout); in NetJavaSocketImpl()
55 public NetJavaSocketImpl (java.net.Socket socket, SocketHints hints) { in NetJavaSocketImpl() argument
57 applyHints(hints); in NetJavaSocketImpl()
60 private void applyHints (SocketHints hints) { in applyHints() argument
61 if (hints != null) { in applyHints()
63 …socket.setPerformancePreferences(hints.performancePrefConnectionTime, hints.performancePrefLatency, in applyHints()
64 hints.performancePrefBandwidth); in applyHints()
[all …]
DNetJavaServerSocketImpl.java40 public NetJavaServerSocketImpl (Protocol protocol, int port, ServerSocketHints hints) { in NetJavaServerSocketImpl() argument
41 this(protocol, null, port, hints); in NetJavaServerSocketImpl()
44 …c NetJavaServerSocketImpl (Protocol protocol, String hostname, int port, ServerSocketHints hints) { in NetJavaServerSocketImpl() argument
51 if (hints != null) { in NetJavaServerSocketImpl()
52 …server.setPerformancePreferences(hints.performancePrefConnectionTime, hints.performancePrefLatency, in NetJavaServerSocketImpl()
53 hints.performancePrefBandwidth); in NetJavaServerSocketImpl()
54 server.setReuseAddress(hints.reuseAddress); in NetJavaServerSocketImpl()
55 server.setSoTimeout(hints.acceptTimeout); in NetJavaServerSocketImpl()
56 server.setReceiveBufferSize(hints.receiveBufferSize); in NetJavaServerSocketImpl()
67 if (hints != null) { in NetJavaServerSocketImpl()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pshinter/
Dpshrec.c53 FT_FREE( table->hints ); in ps_hint_table_done()
74 if ( !FT_RENEW_ARRAY( table->hints, old_max, new_max ) ) in ps_hint_table_ensure()
101 hint = table->hints + count - 1; in ps_hint_table_alloc()
549 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done()
557 dimension->hints.num_hints = 0; in ps_dimension_init()
681 FT_UInt max = dim->hints.num_hints; in ps_dimension_add_t1stem()
682 PS_Hint hint = dim->hints.hints; in ps_dimension_add_t1stem()
694 error = ps_hint_table_alloc( &dim->hints, memory, &hint ); in ps_dimension_add_t1stem()
804 ps_hints_done( PS_Hints hints ) in ps_hints_done() argument
806 FT_Memory memory = hints->memory; in ps_hints_done()
[all …]
/external/freetype/src/pshinter/
Dpshrec.c53 FT_FREE( table->hints ); in ps_hint_table_done()
74 if ( !FT_RENEW_ARRAY( table->hints, old_max, new_max ) ) in ps_hint_table_ensure()
101 hint = table->hints + count - 1; in ps_hint_table_alloc()
549 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done()
557 dimension->hints.num_hints = 0; in ps_dimension_init()
681 FT_UInt max = dim->hints.num_hints; in ps_dimension_add_t1stem()
682 PS_Hint hint = dim->hints.hints; in ps_dimension_add_t1stem()
694 error = ps_hint_table_alloc( &dim->hints, memory, &hint ); in ps_dimension_add_t1stem()
804 ps_hints_done( PS_Hints hints ) in ps_hints_done() argument
806 FT_Memory memory = hints->memory; in ps_hints_done()
[all …]
/external/pdfium/third_party/freetype/src/pshinter/
Dpshrec.c53 FT_FREE( table->hints ); in ps_hint_table_done()
74 if ( !FT_RENEW_ARRAY( table->hints, old_max, new_max ) ) in ps_hint_table_ensure()
101 hint = table->hints + count - 1; in ps_hint_table_alloc()
549 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done()
557 dimension->hints.num_hints = 0; in ps_dimension_init()
681 FT_UInt max = dim->hints.num_hints; in ps_dimension_add_t1stem()
682 PS_Hint hint = dim->hints.hints; in ps_dimension_add_t1stem()
694 error = ps_hint_table_alloc( &dim->hints, memory, &hint ); in ps_dimension_add_t1stem()
804 ps_hints_done( PS_Hints hints ) in ps_hints_done() argument
806 FT_Memory memory = hints->memory; in ps_hints_done()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/include/freetype/internal/
Dpshints.h139 (*T1_Hints_OpenFunc)( T1_Hints hints );
179 (*T1_Hints_SetStemFunc)( T1_Hints hints,
213 (*T1_Hints_SetStem3Func)( T1_Hints hints,
237 (*T1_Hints_ResetFunc)( T1_Hints hints,
266 (*T1_Hints_CloseFunc)( T1_Hints hints,
305 (*T1_Hints_ApplyFunc)( T1_Hints hints,
344 T1_Hints hints; member
426 (*T2_Hints_OpenFunc)( T2_Hints hints );
466 (*T2_Hints_StemsFunc)( T2_Hints hints,
508 (*T2_Hints_MaskFunc)( T2_Hints hints,
[all …]
/external/pdfium/third_party/freetype/include/freetype/internal/
Dpshints.h139 (*T1_Hints_OpenFunc)( T1_Hints hints );
179 (*T1_Hints_SetStemFunc)( T1_Hints hints,
213 (*T1_Hints_SetStem3Func)( T1_Hints hints,
237 (*T1_Hints_ResetFunc)( T1_Hints hints,
266 (*T1_Hints_CloseFunc)( T1_Hints hints,
305 (*T1_Hints_ApplyFunc)( T1_Hints hints,
344 T1_Hints hints; member
426 (*T2_Hints_OpenFunc)( T2_Hints hints );
466 (*T2_Hints_StemsFunc)( T2_Hints hints,
508 (*T2_Hints_MaskFunc)( T2_Hints hints,
[all …]
/external/freetype/include/internal/
Dpshints.h139 (*T1_Hints_OpenFunc)( T1_Hints hints );
179 (*T1_Hints_SetStemFunc)( T1_Hints hints,
213 (*T1_Hints_SetStem3Func)( T1_Hints hints,
237 (*T1_Hints_ResetFunc)( T1_Hints hints,
266 (*T1_Hints_CloseFunc)( T1_Hints hints,
305 (*T1_Hints_ApplyFunc)( T1_Hints hints,
344 T1_Hints hints; member
426 (*T2_Hints_OpenFunc)( T2_Hints hints );
466 (*T2_Hints_StemsFunc)( T2_Hints hints,
508 (*T2_Hints_MaskFunc)( T2_Hints hints,
[all …]
/external/libevent/
Devutil.c649 const struct evutil_addrinfo *hints) in evutil_new_addrinfo() argument
652 EVUTIL_ASSERT(hints); in evutil_new_addrinfo()
654 if (hints->ai_socktype == 0 && hints->ai_protocol == 0) { in evutil_new_addrinfo()
658 memcpy(&tmp, hints, sizeof(tmp)); in evutil_new_addrinfo()
683 res->ai_socktype = hints->ai_socktype; in evutil_new_addrinfo()
684 res->ai_protocol = hints->ai_protocol; in evutil_new_addrinfo()
723 const struct evutil_addrinfo *hints) in evutil_parse_servname() argument
729 if (!(hints->ai_flags & EVUTIL_AI_NUMERICSERV)) { in evutil_parse_servname()
768 evutil_getaddrinfo_infer_protocols(struct evutil_addrinfo *hints) in evutil_getaddrinfo_infer_protocols() argument
771 if (!hints->ai_protocol && hints->ai_socktype) { in evutil_getaddrinfo_infer_protocols()
[all …]
/external/netperf/src/missing/
Dgetaddrinfo.c328 getaddrinfo(nodename, servname, hints, res) in getaddrinfo() argument
331 const struct addrinfo *hints;
360 if (hints != NULL) {
361 if (hints->ai_family != PF_INET && hints->ai_family != PF_UNSPEC) {
365 if (hints->ai_socktype != SOCK_DGRAM
366 && hints->ai_socktype != SOCK_STREAM
367 && hints->ai_socktype != 0) {
372 hints = &default_hints;
379 if (hints->ai_flags & AI_NUMERICSERV) {
384 if (hints->ai_socktype == SOCK_DGRAM)
[all …]
/external/v8/src/compiler/
Dtype-hints.cc31 std::ostream& operator<<(std::ostream& os, BinaryOperationHints hints) { in operator <<() argument
32 return os << hints.left() << "*" << hints.right() << "->" << hints.result(); in operator <<()
66 std::ostream& operator<<(std::ostream& os, ToBooleanHints hints) { in operator <<() argument
67 if (hints == ToBooleanHint::kAny) return os << "Any"; in operator <<()
68 if (hints == ToBooleanHint::kNone) return os << "None"; in operator <<()
72 if (hints & hint) { in operator <<()
/external/curl/tests/server/
Dresolve.c132 struct addrinfo hints; in main() local
134 memset(&hints, 0, sizeof(hints)); in main()
135 hints.ai_family = PF_INET6; in main()
136 hints.ai_socktype = SOCK_STREAM; in main()
137 hints.ai_flags = AI_CANONNAME; in main()
140 rc = (getaddrinfo)(host, "80", &hints, &ai); in main()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DDecodeThread.java40 private final Hashtable<DecodeHintType,Object> hints; field in DecodeThread
51 hints = new Hashtable<DecodeHintType,Object>(); in DecodeThread()
54 hints.put(DecodeHintType.POSSIBLE_FORMATS, formats); in DecodeThread()
57 hints.put(DecodeHintType.CHARACTER_SET, characterSet); in DecodeThread()
59 hints.put(DecodeHintType.NEED_RESULT_POINT_CALLBACK, resultPointCallback); in DecodeThread()
74 handler = new DecodeHandler(activity, hints); in run()

12345678910>>...13