Home
last modified time | relevance | path

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

12345678910>>...12

/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 …]
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 …]
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()
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 …]
Dafloader.c31 AF_GlyphHints hints ) in af_loader_init() argument
35 loader->hints = hints; in af_loader_init()
75 loader->hints = NULL; in af_loader_done()
94 AF_GlyphHints hints = loader->hints; in af_loader_load_g() local
131 loader->pp1.x = hints->x_delta; in af_loader_load_g()
132 loader->pp1.y = hints->y_delta; in af_loader_load_g()
134 hints->x_scale ) + hints->x_delta; in af_loader_load_g()
135 loader->pp2.y = hints->y_delta; in af_loader_load_g()
153 writing_system_class->style_hints_apply( hints, in af_loader_load_g()
164 AF_AxisHints axis = &hints->axis[AF_DIMENSION_HORZ]; in af_loader_load_g()
[all …]
Dafhints.h426 af_glyph_hints_init( AF_GlyphHints hints,
430 af_glyph_hints_rescale( AF_GlyphHints hints,
434 af_glyph_hints_reload( AF_GlyphHints hints,
438 af_glyph_hints_save( AF_GlyphHints hints,
442 af_glyph_hints_align_edge_points( AF_GlyphHints hints,
446 af_glyph_hints_align_strong_points( AF_GlyphHints hints,
450 af_glyph_hints_align_weak_points( AF_GlyphHints hints,
455 af_glyph_hints_scale_dim( AF_GlyphHints hints,
462 af_glyph_hints_done( AF_GlyphHints hints );
/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/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/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/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 <<()
Djs-operator.cc75 lhs.hints() == rhs.hints(); in operator ==()
86 return base::hash_combine(p.language_mode(), p.hints()); in hash_value()
91 return os << p.language_mode() << ", " << p.hints(); in operator <<()
595 BinaryOperationHints hints) { in CACHED_OP_LIST_WITH_LANGUAGE_MODE()
597 BinaryOperationParameters parameters(language_mode, hints); in CACHED_OP_LIST_WITH_LANGUAGE_MODE()
607 BinaryOperationHints hints) { in BitwiseXor() argument
609 BinaryOperationParameters parameters(language_mode, hints); in BitwiseXor()
619 BinaryOperationHints hints) { in BitwiseAnd() argument
621 BinaryOperationParameters parameters(language_mode, hints); in BitwiseAnd()
631 BinaryOperationHints hints) { in ShiftLeft() argument
[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.c151 const struct addrinfo *hints);
165 struct addrinfo hints; member
206 const struct addrinfo *hints) in init_thread_sync_data() argument
215 DEBUGASSERT(hints); in init_thread_sync_data()
216 tsd->hints = *hints; in init_thread_sync_data()
218 (void) hints; in init_thread_sync_data()
276 rc = Curl_getaddrinfo_ex(tsd->hostname, service, &tsd->hints, &tsd->res); in getaddrinfo_thread()
378 const struct addrinfo *hints) in init_resolve_thread() argument
393 if(!init_thread_sync_data(td, hostname, port, hints)) in init_resolve_thread()
594 struct addrinfo hints; in Curl_resolver_getaddrinfo() local
[all …]
Dhostip6.c165 struct addrinfo hints; in Curl_getaddrinfo() local
195 memset(&hints, 0, sizeof(hints)); in Curl_getaddrinfo()
196 hints.ai_family = pf; in Curl_getaddrinfo()
197 hints.ai_socktype = conn->socktype; in Curl_getaddrinfo()
202 hints.ai_flags = AI_NUMERICHOST; in Curl_getaddrinfo()
209 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/pdfium/fpdfsdk/src/
Dfpdf_dataavail.cpp116 FPDFAvail_IsDocAvail(FPDF_AVAIL avail, FX_DOWNLOADHINTS* hints) { in FPDFAvail_IsDocAvail() argument
117 if (!avail || !hints) in FPDFAvail_IsDocAvail()
119 CFPDF_DownloadHintsWrap hints_wrap(hints); in FPDFAvail_IsDocAvail()
149 FX_DOWNLOADHINTS* hints) { in FPDFAvail_IsPageAvail() argument
150 if (!avail || !hints) in FPDFAvail_IsPageAvail()
152 CFPDF_DownloadHintsWrap hints_wrap(hints); in FPDFAvail_IsPageAvail()
158 FX_DOWNLOADHINTS* hints) { in FPDFAvail_IsFormAvail() argument
159 if (!avail || !hints) in FPDFAvail_IsFormAvail()
161 CFPDF_DownloadHintsWrap hints_wrap(hints); in FPDFAvail_IsFormAvail()
/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/pdfium/xfa/src/fxbarcode/oned/
DBC_OnedUPCAReader.cpp43 int32_t hints, in DecodeRow() argument
46 m_ean13Reader->DecodeRow(rowNumber, row, hints, e); in DecodeRow()
55 int32_t hints, in DecodeRow() argument
58 m_ean13Reader->DecodeRow(rowNumber, row, startGuardRange, hints, e); in DecodeRow()
72 int32_t hints, in Decode() argument
74 CFX_ByteString bytestring = m_ean13Reader->Decode(image, hints, e); in Decode()
/external/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRCodeReader.cpp55 int32_t hints, in Decode() argument
60 CBC_QRDetectorResult* qdr = detector.Detect(hints, e); in Decode()
70 int32_t hints, in Decode() argument
78 CFX_ByteString bs = Decode(&bitmap, hints, e); in Decode()
83 int32_t hints, in Decode() argument
89 CFX_ByteString bs = Decode(&bitmap, hints, e); in Decode()
/external/opencv/otherlibs/highgui/
Dcvcap_socket.cpp124 struct addrinfo hints; in open() local
125 memset(&hints, 0, sizeof hints); in open()
126 hints.ai_family = AF_UNSPEC; // use IPv4 or IPv6, whichever in open()
127 hints.ai_socktype = SOCK_STREAM; in open()
128 hints.ai_flags = AI_NUMERICHOST; in open()
130 int error = getaddrinfo(_address, _port, &hints, &pAddrInfo); in open()

12345678910>>...12