Searched refs:hints (Results 1 - 25 of 222) sorted by relevance

123456789

/external/freetype/src/autofit/
H A Dafdummy.c26 af_dummy_hints_init( AF_GlyphHints hints, argument
29 af_glyph_hints_rescale( hints, metrics );
31 hints->x_scale = metrics->scaler.x_scale;
32 hints->y_scale = metrics->scaler.y_scale;
33 hints->x_delta = metrics->scaler.x_delta;
34 hints->y_delta = metrics->scaler.y_delta;
42 AF_GlyphHints hints,
50 error = af_glyph_hints_reload( hints, outline );
52 af_glyph_hints_save( hints, outline );
41 af_dummy_hints_apply( FT_UInt glyph_index, AF_GlyphHints hints, FT_Outline* outline ) argument
H A Dafhints.c242 af_get_segment_index( AF_GlyphHints hints, argument
246 AF_AxisHints axis = &hints->axis[dimension];
247 AF_Point point = hints->points + point_idx;
287 af_get_edge_index( AF_GlyphHints hints, argument
291 AF_AxisHints axis = &hints->axis[dimension];
304 af_glyph_hints_dump_points( AF_GlyphHints hints, argument
307 AF_Point points = hints->points;
308 AF_Point limit = points + hints->num_points;
309 AF_Point* contour = hints->contours;
310 AF_Point* climit = contour + hints
405 af_glyph_hints_dump_segments( AF_GlyphHints hints, FT_Bool to_stdout ) argument
470 af_glyph_hints_get_num_segments( AF_GlyphHints hints, FT_Int dimension, FT_Int* num_segments ) argument
496 af_glyph_hints_get_segment_offset( AF_GlyphHints hints, FT_Int dimension, FT_Int idx, FT_Pos *offset, FT_Bool *is_blue, FT_Pos *blue_offset ) argument
544 af_glyph_hints_dump_edges( AF_GlyphHints hints, FT_Bool to_stdout ) argument
662 af_glyph_hints_init( AF_GlyphHints hints, FT_Memory memory ) argument
720 af_glyph_hints_rescale( AF_GlyphHints hints, AF_StyleMetrics metrics ) argument
1146 af_glyph_hints_save( AF_GlyphHints hints, FT_Outline* outline ) argument
1181 af_glyph_hints_align_edge_points( AF_GlyphHints hints, AF_Dimension dim ) argument
1256 af_glyph_hints_align_strong_points( AF_GlyphHints hints, AF_Dimension dim ) argument
1507 af_glyph_hints_align_weak_points( AF_GlyphHints hints, AF_Dimension dim ) argument
1635 af_glyph_hints_scale_dim( AF_GlyphHints hints, AF_Dimension dim, FT_Fixed scale, FT_Pos delta ) argument
[all...]
H A Dafindic.c73 af_indic_hints_init( AF_GlyphHints hints, argument
77 return af_cjk_hints_init( hints, metrics );
83 AF_GlyphHints hints,
88 return af_cjk_hints_apply( glyph_index, hints, outline, metrics );
82 af_indic_hints_apply( FT_UInt glyph_index, AF_GlyphHints hints, FT_Outline* outline, AF_CJKMetrics metrics ) argument
H A Dafcjk.c74 AF_GlyphHintsRec hints[1]; local
83 af_glyph_hints_init( hints, face->memory );
176 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy );
178 error = af_glyph_hints_reload( hints, &face->glyph->outline );
185 AF_AxisHints axhints = &hints->axis[dim];
190 error = af_latin_hints_compute_segments( hints,
201 af_latin_hints_link_segments( hints,
271 af_glyph_hints_done( hints );
780 af_cjk_hints_compute_segments( AF_GlyphHints hints, argument
783 AF_AxisHints axis = &hints
824 af_cjk_hints_link_segments( AF_GlyphHints hints, AF_Dimension dim ) argument
982 af_cjk_hints_compute_edges( AF_GlyphHints hints, AF_Dimension dim ) argument
1248 af_cjk_hints_detect_features( AF_GlyphHints hints, AF_Dimension dim ) argument
1268 af_cjk_hints_compute_blue_edges( AF_GlyphHints hints, AF_CJKMetrics metrics, AF_Dimension dim ) argument
1485 af_cjk_compute_stem_width( AF_GlyphHints hints, AF_Dimension dim, FT_Pos width, FT_UInt base_flags, FT_UInt stem_flags ) argument
1606 af_cjk_align_linked_edge( AF_GlyphHints hints, AF_Dimension dim, AF_Edge base_edge, AF_Edge stem_edge ) argument
1632 af_cjk_align_serif_edge( AF_GlyphHints hints, AF_Edge base, AF_Edge serif ) argument
1659 af_hint_normal_stem( AF_GlyphHints hints, AF_Edge edge, AF_Edge edge2, FT_Pos anchor, AF_Dimension dim ) argument
1787 af_cjk_hint_edges( AF_GlyphHints hints, AF_Dimension dim ) argument
2166 af_cjk_align_edge_points( AF_GlyphHints hints, AF_Dimension dim ) argument
[all...]
H A Dafloader.h44 AF_GlyphHints hints; member in struct:AF_LoaderRec_
58 AF_GlyphHints hints );
/external/freetype/include/freetype/internal/
H A Dpshints.h5 /* Interface to Postscript-specific (Type 1 and Type 2) hints */
7 /* T1/T2 hints in the `type1', `cid', and `cff' font drivers. */
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.
139 (*T1_Hints_OpenFunc)( T1_Hints hints );
344 T1_Hints hints; member in struct:T1_Hints_FuncsRec_
658 T2_Hints hints; member in struct:T2_Hints_FuncsRec_
[all...]
/external/ltp/testcases/network/lib6/
H A Dgetaddrinfo_01.c68 struct addrinfo *aires, hints, *pai; local
84 memset(&hints, 0, sizeof(hints));
85 hints.ai_family = AF_INET;
86 TEST(getaddrinfo(hostname, 0, &hints, &aires));
124 memset(&hints, 0, sizeof(hints));
125 hints.ai_family = AF_INET;
126 hints.ai_flags = AI_CANONNAME;
127 TEST(getaddrinfo(shortname, 0, &hints,
526 struct addrinfo *aires, hints, *pai; local
[all...]
/external/curl/tests/server/
H A Dresolve.c125 struct addrinfo hints; local
127 memset(&hints, 0, sizeof(hints));
128 hints.ai_family = use_ipv6 ? PF_INET6 : PF_INET;
129 hints.ai_socktype = SOCK_STREAM;
130 hints.ai_flags = AI_CANONNAME;
133 rc = (getaddrinfo)(host, "80", &hints, &ai);
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DDecodeThread.java40 private final Hashtable<DecodeHintType,Object> hints; field in class:DecodeThread
51 hints = new Hashtable<DecodeHintType,Object>();
54 hints.put(DecodeHintType.POSSIBLE_FORMATS, formats);
57 hints.put(DecodeHintType.CHARACTER_SET, characterSet);
59 hints.put(DecodeHintType.NEED_RESULT_POINT_CALLBACK, resultPointCallback);
74 handler = new DecodeHandler(activity, hints);
/external/tensorflow/tensorflow/contrib/linalg/python/ops/
H A Dlinear_operator_addition.py151 def _infer_hints_allowing_override(op1, op2, hints):
152 """Infer hints from op1 and op2. hints argument is an override.
157 hints: _Hints object holding "is_X" boolean hints to use for returned
160 hint is provided, ignore op1 and op2 hints. This allows an override
161 of previous hints, but does not allow forbidden hints (e.g. you still
167 hints = hints o
[all...]
/external/autotest/frontend/
H A Ddb_router.py63 def db_for_read(self, model, **hints):
67 @param hints: Optional arguments to determine which database for read.
79 def db_for_write(self, model, **hints):
83 @param hints: Optional arguments to determine which database for write.
95 def allow_relation(self, obj1, obj2, **hints):
101 @param hints: Optional arguments to determine if relation is allowed.
/external/swiftshader/src/Common/
H A DSocket.cpp40 addrinfo hints = {}; local
41 hints.ai_family = AF_INET;
42 hints.ai_socktype = SOCK_STREAM;
43 hints.ai_protocol = IPPROTO_TCP;
44 hints.ai_flags = AI_PASSIVE;
47 getaddrinfo(address, port, &hints, &info);
/external/freetype/src/pshinter/
H A Dpshrec.c5 /* 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;
549 ps_hint_table_done( &dimension->hints, memory );
557 dimension->hints.num_hints = 0;
677 /* now, lookup stem in the current hints table */
681 FT_UInt max = dim->hints.num_hints;
682 PS_Hint hint = dim->hints
818 ps_hints_init( PS_Hints hints, FT_Memory memory ) argument
828 ps_hints_open( PS_Hints hints, PS_Hint_Type hint_type ) argument
841 ps_hints_stem( PS_Hints hints, FT_UInt dimension, FT_Int count, FT_Long* stems ) argument
889 ps_hints_t1stem3( PS_Hints hints, FT_UInt dimension, FT_Fixed* stems ) argument
952 ps_hints_t1reset( PS_Hints hints, FT_UInt end_point ) argument
991 ps_hints_t2mask( PS_Hints hints, FT_UInt end_point, FT_UInt bit_count, const FT_Byte* bytes ) argument
1037 ps_hints_t2counter( PS_Hints hints, FT_UInt bit_count, const FT_Byte* bytes ) argument
1083 ps_hints_close( PS_Hints hints, FT_UInt end_point ) argument
1126 t1_hints_stem( T1_Hints hints, FT_UInt dimension, FT_Fixed* coords ) argument
1170 t2_hints_stems( T2_Hints hints, FT_UInt dimension, FT_Int count, FT_Fixed* coords ) argument
[all...]
H A Dpshmod.c43 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 */
H A Dpshrec.h5 /* 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 */
83 /* hints table descriptor */
88 PS_Hint hints; member in struct:PS_Hint_TableRec_
114 /* dimension-specific hints descriptor */
117 PS_Hint_TableRec hints; member in struct:PS_DimensionRec_
124 /* glyph hints descriptor */
125 /* dimension 0 => X coordinates + vertical hints/stems */
126 /* dimension 1 => Y coordinates + horizontal hints/stem
146 ps_hints_done( PS_Hints hints ); variable
[all...]
/external/curl/lib/
H A Dhostip6.c165 struct addrinfo hints; local
197 memset(&hints, 0, sizeof(hints));
198 hints.ai_family = pf;
199 hints.ai_socktype = conn->socktype;
209 hints.ai_flags = AI_NUMERICHOST;
218 error = Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &res);
H A Dhostip4.c140 struct addrinfo hints; local
144 memset(&hints, 0, sizeof(hints));
145 hints.ai_family = PF_INET;
146 hints.ai_socktype = SOCK_STREAM;
152 (void)Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &ai);
/external/valgrind/none/tests/
H A Dioctl_moans.stderr.exp1 Warning: noted but unhandled ioctl 0x.2345670 with no size/direction hints.
4 Warning: noted but unhandled ioctl 0x.2345671 with no size/direction hints.
7 Warning: noted but unhandled ioctl 0x.2345672 with no size/direction hints.
10 Warning: noted but unhandled ioctl 0x.2345673 with no size/direction hints.
13 Warning: noted but unhandled ioctl 0x.2345674 with no size/direction hints.
16 Warning: noted but unhandled ioctl 0x.2345675 with no size/direction hints.
19 Warning: noted but unhandled ioctl 0x.2345676 with no size/direction hints.
22 Warning: noted but unhandled ioctl 0x.2345677 with no size/direction hints.
25 Warning: noted but unhandled ioctl 0x.2345678 with no size/direction hints.
28 Warning: noted but unhandled ioctl 0x.2345679 with no size/direction hints
[all...]
/external/ltp/testcases/network/stress/ns-tools/
H A Dns-common.c440 struct addrinfo hints; /* hints for getaddrinfo() */ local
444 memset(&hints, '\0', sizeof(struct addrinfo));
445 hints.ai_family = family;
446 hints.ai_socktype = SOCK_DGRAM;
447 hints.ai_protocol = IPPROTO_UDP;
448 hints.ai_flags |= AI_NUMERICHOST;
450 err = getaddrinfo(maddr, portnum, &hints, &res);
515 struct addrinfo hints; /* hints fo local
[all...]
/external/pdfium/core/fpdfapi/parser/
H A Dcpdf_read_validator_unittest.cpp99 MockDownloadHints hints; local
100 validator->SetDownloadHints(&hints);
110 EXPECT_EQ(MakeRange(4608, 5120), hints.GetLastRequstedRange());
112 file_avail.SetAvailableRange(hints.GetLastRequstedRange());
113 hints.Reset();
119 EXPECT_EQ(MakeRange(0, 0), hints.GetLastRequstedRange());
129 EXPECT_EQ(validator->GetSize(), hints.GetLastRequstedRange().second);
172 MockDownloadHints hints; local
174 validator->SetDownloadHints(&hints);
210 MockDownloadHints hints; local
254 MockDownloadHints hints; local
[all...]
/external/pdfium/fpdfsdk/
H A Dfpdf_dataavail_embeddertest.cpp58 FX_DOWNLOADHINTS* hints() { return this; } function in class:__anon17864::TestAsyncLoader
161 MockDownloadHints hints; local
162 EXPECT_FALSE(FPDFAvail_IsDocAvail(avail_, &hints));
168 MockDownloadHints hints; local
169 EXPECT_FALSE(FPDFAvail_IsDocAvail(avail_, &hints));
175 ASSERT_EQ(PDF_DATA_AVAIL, FPDFAvail_IsDocAvail(avail_, loader.hints()));
178 ASSERT_EQ(PDF_DATA_AVAIL, FPDFAvail_IsPageAvail(avail_, 1, loader.hints()));
190 ASSERT_EQ(PDF_DATA_AVAIL, FPDFAvail_IsDocAvail(avail_, loader.hints()));
202 status = FPDFAvail_IsFormAvail(avail_, loader.hints());
211 ASSERT_EQ(PDF_DATA_AVAIL, FPDFAvail_IsDocAvail(avail_, loader.hints()));
[all...]
/external/v8/src/
H A Dtype-hints.cc5 #include "src/type-hints.h"
110 std::ostream& operator<<(std::ostream& os, ToBooleanHints hints) { argument
111 if (hints == ToBooleanHint::kAny) return os << "Any";
112 if (hints == ToBooleanHint::kNone) return os << "None";
116 if (hints & hint) {
125 std::string ToString(ToBooleanHints hints) { argument
126 if (hints == ToBooleanHint::kAny) return "Any";
127 if (hints == ToBooleanHint::kNone) return "None";
132 if (hints & hint) {
/external/libevent/
H A Devutil.c797 * socktype and protocol info from hints. If they weren't set, then
802 const struct evutil_addrinfo *hints)
805 EVUTIL_ASSERT(hints);
807 if (hints->ai_socktype == 0 && hints->ai_protocol == 0) {
811 memcpy(&tmp, hints, sizeof(tmp));
836 res->ai_socktype = hints->ai_socktype;
837 res->ai_protocol = hints->ai_protocol;
876 const struct evutil_addrinfo *hints)
882 if (!(hints
801 evutil_new_addrinfo_(struct sockaddr *sa, ev_socklen_t socklen, const struct evutil_addrinfo *hints) argument
875 evutil_parse_servname(const char *servname, const char *protocol, const struct evutil_addrinfo *hints) argument
921 evutil_getaddrinfo_infer_protocols(struct evutil_addrinfo *hints) argument
962 evutil_getaddrinfo_common_(const char *nodename, const char *servname, struct evutil_addrinfo *hints, struct evutil_addrinfo **res, int *portnum) argument
1139 addrinfo_from_hostent(const struct hostent *ent, int port, const struct evutil_addrinfo *hints) argument
1202 evutil_adjust_hints_for_addrconfig_(struct evutil_addrinfo *hints) argument
1255 struct evutil_addrinfo hints; local
1356 struct evutil_addrinfo hints; local
[all...]
/external/pdfium/public/
H A Dfpdf_dataavail.h71 // Download hints interface. Used to receive hints for further downloading.
93 // Checks if the document is ready for loading, if not, gets download hints.
96 // hints - pointer to a download hints interface.
104 // all the generated download hints, if any, until the function returns
106 // if hints is nullptr, the function just check current document availability.
111 FX_DOWNLOADHINTS* hints);
141 // hints - pointer to a download hints interfac
[all...]
/external/syslinux/core/lwip/src/include/lwip/
H A Dnetdb.h106 const struct addrinfo *hints,
114 #define getaddrinfo(nodname, servname, hints, res) \
115 lwip_getaddrinfo(nodname, servname, hints, res)

Completed in 545 milliseconds

123456789