Home
last modified time | relevance | path

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

12345678910>>...12

/external/ltp/testcases/network/lib6/
Dgetaddrinfo_01.c67 struct addrinfo *aires, hints, *pai; in gaiv4() local
83 memset(&hints, 0, sizeof(hints)); in gaiv4()
84 hints.ai_family = AF_INET; in gaiv4()
85 TEST(getaddrinfo(hostname, 0, &hints, &aires)); in gaiv4()
123 memset(&hints, 0, sizeof(hints)); in gaiv4()
124 hints.ai_family = AF_INET; in gaiv4()
125 hints.ai_flags = AI_CANONNAME; in gaiv4()
126 TEST(getaddrinfo(shortname, 0, &hints, &aires)); in gaiv4()
153 memset(&hints, 0, sizeof(hints)); in gaiv4()
161 hints.ai_family = AF_INET; in gaiv4()
[all …]
/external/freetype/src/autofit/
Dafhints.c242 af_get_segment_index( AF_GlyphHints hints, in af_get_segment_index() argument
246 AF_AxisHints axis = &hints->axis[dimension]; in af_get_segment_index()
247 AF_Point point = hints->points + point_idx; in af_get_segment_index()
287 af_get_edge_index( AF_GlyphHints hints, in af_get_edge_index() argument
291 AF_AxisHints axis = &hints->axis[dimension]; in af_get_edge_index()
304 af_glyph_hints_dump_points( AF_GlyphHints hints, in af_glyph_hints_dump_points() argument
307 AF_Point points = hints->points; in af_glyph_hints_dump_points()
308 AF_Point limit = points + hints->num_points; in af_glyph_hints_dump_points()
309 AF_Point* contour = hints->contours; in af_glyph_hints_dump_points()
310 AF_Point* climit = contour + hints->num_contours; in af_glyph_hints_dump_points()
[all …]
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()
176 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_cjk_metrics_init_widths()
178 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_cjk_metrics_init_widths()
185 AF_AxisHints axhints = &hints->axis[dim]; in af_cjk_metrics_init_widths()
190 error = af_latin_hints_compute_segments( hints, in af_cjk_metrics_init_widths()
201 af_latin_hints_link_segments( hints, in af_cjk_metrics_init_widths()
271 af_glyph_hints_done( hints ); in af_cjk_metrics_init_widths()
780 af_cjk_hints_compute_segments( AF_GlyphHints hints, in af_cjk_hints_compute_segments() argument
783 AF_AxisHints axis = &hints->axis[dim]; in af_cjk_hints_compute_segments()
[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()
Daflatin2.c48 af_latin2_hints_compute_segments( AF_GlyphHints hints,
52 af_latin2_hints_link_segments( AF_GlyphHints hints,
68 AF_GlyphHintsRec hints[1]; in af_latin2_metrics_init_widths() local
71 af_glyph_hints_init( hints, face->memory ); in af_latin2_metrics_init_widths()
103 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_latin2_metrics_init_widths()
105 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_latin2_metrics_init_widths()
112 AF_AxisHints axhints = &hints->axis[dim]; in af_latin2_metrics_init_widths()
117 error = af_latin2_hints_compute_segments( hints, in af_latin2_metrics_init_widths()
122 af_latin2_hints_link_segments( hints, in af_latin2_metrics_init_widths()
169 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()
169 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_latin_metrics_init_widths()
171 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_latin_metrics_init_widths()
178 AF_AxisHints axhints = &hints->axis[dim]; in af_latin_metrics_init_widths()
183 error = af_latin_hints_compute_segments( hints, in af_latin_metrics_init_widths()
194 af_latin_hints_link_segments( hints, in af_latin_metrics_init_widths()
264 af_glyph_hints_done( hints ); in af_latin_metrics_init_widths()
1478 af_latin_hints_compute_segments( AF_GlyphHints hints, in af_latin_hints_compute_segments() argument
1481 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,
522 AF_GlyphHints hints = _af_debug_hints_rec; in af_autofitter_load_glyph() local
528 if ( hints->memory ) in af_autofitter_load_glyph()
529 af_glyph_hints_done( hints ); in af_autofitter_load_glyph()
531 af_glyph_hints_init( hints, memory ); in af_autofitter_load_glyph()
532 af_loader_init( loader, hints ); in af_autofitter_load_glyph()
541 af_glyph_hints_dump_points( hints, 0 ); in af_autofitter_load_glyph()
542 af_glyph_hints_dump_segments( hints, 0 ); in af_autofitter_load_glyph()
[all …]
Dafhints.h429 af_glyph_hints_init( AF_GlyphHints hints,
433 af_glyph_hints_rescale( AF_GlyphHints hints,
437 af_glyph_hints_reload( AF_GlyphHints hints,
441 af_glyph_hints_save( AF_GlyphHints hints,
445 af_glyph_hints_align_edge_points( AF_GlyphHints hints,
449 af_glyph_hints_align_strong_points( AF_GlyphHints hints,
453 af_glyph_hints_align_weak_points( AF_GlyphHints hints,
458 af_glyph_hints_scale_dim( AF_GlyphHints hints,
465 af_glyph_hints_done( AF_GlyphHints hints );
Dafloader.c33 AF_GlyphHints hints ) in af_loader_init() argument
37 loader->hints = hints; in af_loader_init()
77 loader->hints = NULL; in af_loader_done()
225 AF_GlyphHints hints = loader->hints; in af_loader_load_glyph() local
296 error = writing_system_class->style_hints_init( hints, in af_loader_load_glyph()
368 loader->pp1.x = hints->x_delta; in af_loader_load_glyph()
369 loader->pp1.y = hints->y_delta; in af_loader_load_glyph()
371 hints->x_scale ) + hints->x_delta; in af_loader_load_glyph()
372 loader->pp2.y = hints->y_delta; in af_loader_load_glyph()
382 hints, in af_loader_load_glyph()
[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/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/openssh/openbsd-compat/
Dfake-rfc2553.c124 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) in malloc_ai() argument
143 if (hints->ai_socktype) in malloc_ai()
144 ai->ai_socktype = hints->ai_socktype; in malloc_ai()
148 if (hints->ai_protocol) in malloc_ai()
149 ai->ai_protocol = hints->ai_protocol; in malloc_ai()
156 const struct addrinfo *hints, struct addrinfo **res) in getaddrinfo() argument
166 if (hints && hints->ai_family != AF_UNSPEC && in getaddrinfo()
167 hints->ai_family != AF_INET) in getaddrinfo()
181 if (hints && hints->ai_flags & AI_PASSIVE) { in getaddrinfo()
185 *res = malloc_ai(port, addr, hints); in getaddrinfo()
[all …]
/external/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/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/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/ltp/testcases/network/stress/ns-tools/
Dns-common.c440 struct addrinfo hints; /* hints for getaddrinfo() */ in get_maddrinfo() local
444 memset(&hints, '\0', sizeof(struct addrinfo)); in get_maddrinfo()
445 hints.ai_family = family; in get_maddrinfo()
446 hints.ai_socktype = SOCK_DGRAM; in get_maddrinfo()
447 hints.ai_protocol = IPPROTO_UDP; in get_maddrinfo()
448 hints.ai_flags |= AI_NUMERICHOST; in get_maddrinfo()
450 err = getaddrinfo(maddr, portnum, &hints, &res); in get_maddrinfo()
515 struct addrinfo hints; /* hints for getaddrinfo() */ in create_source_filter() local
542 memset(&hints, '\0', sizeof(struct addrinfo)); in create_source_filter()
543 hints.ai_family = mainfo_p->ai_family; in create_source_filter()
[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/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/curl/lib/
Dasyn-thread.c150 const struct addrinfo *hints);
164 struct addrinfo hints; member
205 const struct addrinfo *hints) in init_thread_sync_data() argument
214 DEBUGASSERT(hints); in init_thread_sync_data()
215 tsd->hints = *hints; in init_thread_sync_data()
217 (void) hints; in init_thread_sync_data()
275 rc = Curl_getaddrinfo_ex(tsd->hostname, service, &tsd->hints, &tsd->res); in getaddrinfo_thread()
380 const struct addrinfo *hints) in init_resolve_thread() argument
395 if(!init_thread_sync_data(td, hostname, port, hints)) in init_resolve_thread()
596 struct addrinfo hints; in Curl_resolver_getaddrinfo() local
[all …]
Dhostip6.c165 struct addrinfo hints; in Curl_getaddrinfo() local
197 memset(&hints, 0, sizeof(hints)); in Curl_getaddrinfo()
198 hints.ai_family = pf; in Curl_getaddrinfo()
199 hints.ai_socktype = conn->socktype; in Curl_getaddrinfo()
209 hints.ai_flags = AI_NUMERICHOST; in Curl_getaddrinfo()
218 error = Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &res); in Curl_getaddrinfo()
Dhostip4.c139 struct addrinfo hints; local
143 memset(&hints, 0, sizeof(hints));
144 hints.ai_family = PF_INET;
145 hints.ai_socktype = SOCK_STREAM;
151 (void)Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &ai);
/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()
/external/swiftshader/src/Common/
DSocket.cpp39 addrinfo hints = {}; in Socket() local
40 hints.ai_family = AF_INET; in Socket()
41 hints.ai_socktype = SOCK_STREAM; in Socket()
42 hints.ai_protocol = IPPROTO_TCP; in Socket()
43 hints.ai_flags = AI_PASSIVE; in Socket()
46 getaddrinfo(address, port, &hints, &info); in Socket()
/external/pdfium/fpdfsdk/
Dfpdf_dataavail.cpp134 FX_DOWNLOADHINTS* hints) { in FPDFAvail_IsDocAvail() argument
135 if (!avail || !hints) in FPDFAvail_IsDocAvail()
137 CFPDF_DownloadHintsWrap hints_wrap(hints); in FPDFAvail_IsDocAvail()
171 FX_DOWNLOADHINTS* hints) { in FPDFAvail_IsPageAvail() argument
172 if (!avail || !hints) in FPDFAvail_IsPageAvail()
176 CFPDF_DownloadHintsWrap hints_wrap(hints); in FPDFAvail_IsPageAvail()
182 FX_DOWNLOADHINTS* hints) { in FPDFAvail_IsFormAvail() argument
183 if (!avail || !hints) in FPDFAvail_IsFormAvail()
185 CFPDF_DownloadHintsWrap hints_wrap(hints); in FPDFAvail_IsFormAvail()
/external/openssh/
Dcanohost.c52 struct addrinfo hints, *ai, *aitop; in get_remote_hostname() local
91 memset(&hints, 0, sizeof(hints)); in get_remote_hostname()
92 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in get_remote_hostname()
93 hints.ai_flags = AI_NUMERICHOST; in get_remote_hostname()
94 if (getaddrinfo(name, NULL, &hints, &ai) == 0) { in get_remote_hostname()
113 memset(&hints, 0, sizeof(hints)); in get_remote_hostname()
114 hints.ai_family = from.ss_family; in get_remote_hostname()
115 hints.ai_socktype = SOCK_STREAM; in get_remote_hostname()
116 if (getaddrinfo(name, NULL, &hints, &aitop) != 0) { in get_remote_hostname()

12345678910>>...12