Home
last modified time | relevance | path

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

1234567891011

/external/chromium_org/third_party/freetype/src/autofit/
Dafhints.c182 af_glyph_hints_dump_points( AF_GlyphHints hints ) in af_glyph_hints_dump_points() argument
184 AF_Point points = hints->points; in af_glyph_hints_dump_points()
185 AF_Point limit = points + hints->num_points; in af_glyph_hints_dump_points()
250 af_glyph_hints_dump_segments( AF_GlyphHints hints ) in af_glyph_hints_dump_segments() argument
257 AF_AxisHints axis = &hints->axis[dimension]; in af_glyph_hints_dump_segments()
258 AF_Point points = hints->points; in af_glyph_hints_dump_segments()
306 af_glyph_hints_get_num_segments( AF_GlyphHints hints, in af_glyph_hints_get_num_segments() argument
316 axis = &hints->axis[dim]; in af_glyph_hints_get_num_segments()
332 af_glyph_hints_get_segment_offset( AF_GlyphHints hints, in af_glyph_hints_get_segment_offset() argument
347 axis = &hints->axis[dim]; in af_glyph_hints_get_segment_offset()
[all …]
Dafcjk.c73 AF_GlyphHintsRec hints[1]; in af_cjk_metrics_init_widths() local
76 af_glyph_hints_init( hints, face->memory ); in af_cjk_metrics_init_widths()
111 af_glyph_hints_rescale( hints, (AF_ScriptMetrics)dummy ); in af_cjk_metrics_init_widths()
113 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_cjk_metrics_init_widths()
120 AF_AxisHints axhints = &hints->axis[dim]; in af_cjk_metrics_init_widths()
125 error = af_latin_hints_compute_segments( hints, (AF_Dimension)dim ); in af_cjk_metrics_init_widths()
129 af_latin_hints_link_segments( hints, (AF_Dimension)dim ); in af_cjk_metrics_init_widths()
177 af_glyph_hints_done( hints ); in af_cjk_metrics_init_widths()
686 af_cjk_hints_compute_segments( AF_GlyphHints hints, in af_cjk_hints_compute_segments() argument
689 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()
97 af_glyph_hints_rescale( hints, (AF_ScriptMetrics)dummy ); in af_latin2_metrics_init_widths()
99 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_latin2_metrics_init_widths()
106 AF_AxisHints axhints = &hints->axis[dim]; in af_latin2_metrics_init_widths()
111 error = af_latin2_hints_compute_segments( hints, in af_latin2_metrics_init_widths()
116 af_latin2_hints_link_segments( hints, in af_latin2_metrics_init_widths()
163 af_glyph_hints_done( hints ); in af_latin2_metrics_init_widths()
[all …]
Daflatin.c60 AF_GlyphHintsRec hints[1]; in af_latin_metrics_init_widths() local
66 af_glyph_hints_init( hints, face->memory ); in af_latin_metrics_init_widths()
104 af_glyph_hints_rescale( hints, (AF_ScriptMetrics)dummy ); in af_latin_metrics_init_widths()
106 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_latin_metrics_init_widths()
113 AF_AxisHints axhints = &hints->axis[dim]; in af_latin_metrics_init_widths()
118 error = af_latin_hints_compute_segments( hints, in af_latin_metrics_init_widths()
123 af_latin_hints_link_segments( hints, in af_latin_metrics_init_widths()
192 af_glyph_hints_done( hints ); in af_latin_metrics_init_widths()
793 af_latin_hints_compute_segments( AF_GlyphHints hints, in af_latin_hints_compute_segments() argument
796 AF_AxisHints axis = &hints->axis[dim]; in af_latin_hints_compute_segments()
[all …]
Dafloader.c37 af_glyph_hints_init( &loader->hints, memory ); in af_loader_init()
39 _af_debug_hints = &loader->hints; in af_loader_init()
84 af_glyph_hints_done( &loader->hints ); in af_loader_done()
112 AF_GlyphHints hints = &loader->hints; in af_loader_load_g() local
171 loader->pp1.x = hints->x_delta; in af_loader_load_g()
172 loader->pp1.y = hints->y_delta; in af_loader_load_g()
174 hints->x_scale ) + hints->x_delta; in af_loader_load_g()
175 loader->pp2.y = hints->y_delta; in af_loader_load_g()
184 metrics->clazz->script_hints_apply( hints, in af_loader_load_g()
194 AF_AxisHints axis = &hints->axis[AF_DIMENSION_HORZ]; in af_loader_load_g()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/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()
541 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done()
549 dimension->hints.num_hints = 0; in ps_dimension_init()
673 FT_UInt max = dim->hints.num_hints; in ps_dimension_add_t1stem()
674 PS_Hint hint = dim->hints.hints; in ps_dimension_add_t1stem()
686 error = ps_hint_table_alloc( &dim->hints, memory, &hint ); in ps_dimension_add_t1stem()
787 ps_hints_done( PS_Hints hints ) in ps_hints_done() argument
789 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()
541 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done()
549 dimension->hints.num_hints = 0; in ps_dimension_init()
673 FT_UInt max = dim->hints.num_hints; in ps_dimension_add_t1stem()
674 PS_Hint hint = dim->hints.hints; in ps_dimension_add_t1stem()
686 error = ps_hint_table_alloc( &dim->hints, memory, &hint ); in ps_dimension_add_t1stem()
787 ps_hints_done( PS_Hints hints ) in ps_hints_done() argument
789 FT_Memory memory = hints->memory; in ps_hints_done()
[all …]
/external/chromium_org/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()
541 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done()
549 dimension->hints.num_hints = 0; in ps_dimension_init()
673 FT_UInt max = dim->hints.num_hints; in ps_dimension_add_t1stem()
674 PS_Hint hint = dim->hints.hints; in ps_dimension_add_t1stem()
686 error = ps_hint_table_alloc( &dim->hints, memory, &hint ); in ps_dimension_add_t1stem()
787 ps_hints_done( PS_Hints hints ) in ps_hints_done() argument
789 FT_Memory memory = hints->memory; in ps_hints_done()
[all …]
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dhost_resolver_test.cc90 struct addrinfo hints; in TEST_F() local
93 memset(&hints, 0, sizeof(hints)); in TEST_F()
94 hints.ai_family = AF_INET; in TEST_F()
95 hints.ai_socktype = SOCK_STREAM; in TEST_F()
98 ASSERT_EQ(0, ki_getaddrinfo("1.2.3.4", NULL, &hints, &ai)); in TEST_F()
113 struct addrinfo hints; in TEST_F() local
115 memset(&hints, 0, sizeof(hints)); in TEST_F()
116 hints.ai_family = AF_INET; in TEST_F()
117 hints.ai_socktype = SOCK_STREAM; in TEST_F()
119 ASSERT_EQ(0, ki_getaddrinfo("1.2.3.4", "0", &hints, &ai)); in TEST_F()
[all …]
/external/freetype/src/autofit/
Dafhints.c193 af_glyph_hints_dump_points( AF_GlyphHints hints, in af_glyph_hints_dump_points() argument
196 AF_Point points = hints->points; in af_glyph_hints_dump_points()
197 AF_Point limit = points + hints->num_points; in af_glyph_hints_dump_points()
262 af_glyph_hints_dump_segments( AF_GlyphHints hints, in af_glyph_hints_dump_segments() argument
270 AF_AxisHints axis = &hints->axis[dimension]; in af_glyph_hints_dump_segments()
271 AF_Point points = hints->points; in af_glyph_hints_dump_segments()
319 af_glyph_hints_get_num_segments( AF_GlyphHints hints, in af_glyph_hints_get_num_segments() argument
329 axis = &hints->axis[dim]; in af_glyph_hints_get_num_segments()
345 af_glyph_hints_get_segment_offset( AF_GlyphHints hints, in af_glyph_hints_get_segment_offset() argument
362 axis = &hints->axis[dim]; in af_glyph_hints_get_segment_offset()
[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 …]
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()
1154 af_latin_hints_compute_segments( AF_GlyphHints hints, in af_latin_hints_compute_segments() argument
1157 AF_AxisHints axis = &hints->axis[dim]; in af_latin_hints_compute_segments()
[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/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dhost_resolver.cc25 void HintsToPPHints(const addrinfo* hints, PP_HostResolver_Hint* pp_hints) { in HintsToPPHints() argument
28 if (hints->ai_family == AF_INET) in HintsToPPHints()
30 else if (hints->ai_family == AF_INET6) in HintsToPPHints()
33 if (hints->ai_flags & AI_CANONNAME) in HintsToPPHints()
37 void CreateAddrInfo(const addrinfo* hints, in CreateAddrInfo() argument
45 if (hints && hints->ai_socktype) in CreateAddrInfo()
46 ai->ai_socktype = hints->ai_socktype; in CreateAddrInfo()
50 if (hints && hints->ai_protocol) in CreateAddrInfo()
51 ai->ai_protocol = hints->ai_protocol; in CreateAddrInfo()
108 struct addrinfo hints; in gethostbyname() local
[all …]
/external/chromium_org/net/dns/
Dhost_resolver_proc.cc131 struct addrinfo hints = {0}; in SystemHostResolverCall() local
135 hints.ai_family = AF_INET; in SystemHostResolverCall()
138 hints.ai_family = AF_INET6; in SystemHostResolverCall()
141 hints.ai_family = AF_UNSPEC; in SystemHostResolverCall()
145 hints.ai_family = AF_UNSPEC; in SystemHostResolverCall()
171 hints.ai_flags = 0; in SystemHostResolverCall()
173 hints.ai_flags = AI_ADDRCONFIG; in SystemHostResolverCall()
180 hints.ai_flags &= ~AI_ADDRCONFIG; in SystemHostResolverCall()
183 hints.ai_flags |= AI_CANONNAME; in SystemHostResolverCall()
186 hints.ai_socktype = SOCK_STREAM; in SystemHostResolverCall()
[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/chromium_org/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/pdfium/core/include/thirdparties/freetype/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/core/src/fxge/fx_freetype/fxft2.5.01/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/chromium_org/net/tools/flip_server/
Dcreate_listener.cc112 struct addrinfo hints; in CreateListeningSocket() local
113 memset(&hints, 0, sizeof(hints)); in CreateListeningSocket()
116 hints.ai_flags = AI_NUMERICHOST; // iff you know the name is numeric. in CreateListeningSocket()
118 hints.ai_flags |= AI_PASSIVE; in CreateListeningSocket()
120 hints.ai_family = PF_INET; in CreateListeningSocket()
121 hints.ai_socktype = SOCK_STREAM; in CreateListeningSocket()
124 if ((err = getaddrinfo(node, service, &hints, &results))) { in CreateListeningSocket()
242 struct addrinfo hints; in CreateConnectedSocket() local
243 memset(&hints, 0, sizeof(hints)); in CreateConnectedSocket()
246 hints.ai_flags = AI_NUMERICHOST; // iff you know the name is numeric. in CreateConnectedSocket()
[all …]
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
Dfake_host_resolver_interface.cc22 PP_HostResolver_Hint hints; member in __anonbc30b83b0111::FakeHostResolverResource
52 const PP_HostResolver_Hint* hints, in Resolve() argument
57 resolver->hints = *hints; in Resolve()
81 if (res->hints.family == PP_NETADDRESS_FAMILY_IPV6 || in GetNetAddressCount()
82 res->hints.family == PP_NETADDRESS_FAMILY_UNSPECIFIED) in GetNetAddressCount()
85 if (res->hints.family == PP_NETADDRESS_FAMILY_IPV4 || in GetNetAddressCount()
86 res->hints.family == PP_NETADDRESS_FAMILY_UNSPECIFIED) in GetNetAddressCount()
101 switch (res->hints.family) { in GetNetAddress()
/external/pdfium/fpdfsdk/src/
Dfpdf_dataavail.cpp113 DLLEXPORT int STDCALL FPDFAvail_IsDocAvail(FPDF_AVAIL avail, FX_DOWNLOADHINTS* hints) in FPDFAvail_IsDocAvail() argument
115 if (avail == NULL || hints == NULL) return 0; in FPDFAvail_IsDocAvail()
116 CFPDF_DownloadHintsWrap hints_wrap(hints); in FPDFAvail_IsDocAvail()
146 …EXPORT int STDCALL FPDFAvail_IsPageAvail(FPDF_AVAIL avail, int page_index, FX_DOWNLOADHINTS* hints) in FPDFAvail_IsPageAvail() argument
148 if (avail == NULL || hints == NULL) return 0; in FPDFAvail_IsPageAvail()
149 CFPDF_DownloadHintsWrap hints_wrap(hints); in FPDFAvail_IsPageAvail()
153 DLLEXPORT int STDCALL FPDFAvail_IsFormAvail(FPDF_AVAIL avail, FX_DOWNLOADHINTS* hints) in FPDFAvail_IsFormAvail() argument
155 if (avail == NULL || hints == NULL) return -1; in FPDFAvail_IsFormAvail()
156 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()

1234567891011