/third_party/skia/third_party/externals/freetype/src/autofit/ |
H A D | afhints.c | 340 af_get_segment_index( AF_GlyphHints hints, in af_get_segment_index() argument 344 AF_AxisHints axis = &hints->axis[dimension]; in af_get_segment_index() 345 AF_Point point = hints->points + point_idx; in af_get_segment_index() 385 af_get_edge_index( AF_GlyphHints hints, in af_get_edge_index() argument 389 AF_AxisHints axis = &hints->axis[dimension]; in af_get_edge_index() 399 af_get_strong_edge_index( AF_GlyphHints hints, in af_get_strong_edge_index() argument 403 AF_AxisHints axis = &hints->axis[dimension]; in af_get_strong_edge_index() 415 af_glyph_hints_dump_points( AF_GlyphHints hints, in af_glyph_hints_dump_points() argument 418 AF_Point points = hints->points; in af_glyph_hints_dump_points() 419 AF_Point limit = points + hints in af_glyph_hints_dump_points() 533 af_glyph_hints_dump_segments( AF_GlyphHints hints, FT_Bool to_stdout ) af_glyph_hints_dump_segments() argument 598 af_glyph_hints_get_num_segments( AF_GlyphHints hints, FT_Int dimension, FT_Int* num_segments ) af_glyph_hints_get_num_segments() argument 624 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 ) af_glyph_hints_get_segment_offset() argument 672 af_glyph_hints_dump_edges( AF_GlyphHints hints, FT_Bool to_stdout ) af_glyph_hints_dump_edges() argument 790 af_glyph_hints_init( AF_GlyphHints hints, FT_Memory memory ) af_glyph_hints_init() argument 848 af_glyph_hints_rescale( AF_GlyphHints hints, AF_StyleMetrics metrics ) af_glyph_hints_rescale() argument 1279 af_glyph_hints_save( AF_GlyphHints hints, FT_Outline* outline ) af_glyph_hints_save() argument 1314 af_glyph_hints_align_edge_points( AF_GlyphHints hints, AF_Dimension dim ) af_glyph_hints_align_edge_points() argument 1389 af_glyph_hints_align_strong_points( AF_GlyphHints hints, AF_Dimension dim ) af_glyph_hints_align_strong_points() argument 1663 af_glyph_hints_align_weak_points( AF_GlyphHints hints, AF_Dimension dim ) af_glyph_hints_align_weak_points() argument [all...] |
H A D | afdummy.c | 26 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() 52 error = af_glyph_hints_reload( hints, outline ); in af_dummy_hints_apply() 54 af_glyph_hints_save( hints, outline ); in af_dummy_hints_apply() 41 af_dummy_hints_apply( FT_UInt glyph_index, AF_GlyphHints hints, FT_Outline* outline, AF_StyleMetrics metrics ) af_dummy_hints_apply() argument
|
H A D | afcjk.c | 67 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() 175 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_cjk_metrics_init_widths() 177 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_cjk_metrics_init_widths() 184 AF_AxisHints axhints = &hints->axis[dim]; in af_cjk_metrics_init_widths() 189 error = af_latin_hints_compute_segments( hints, in af_cjk_metrics_init_widths() 200 af_latin_hints_link_segments( hints, in af_cjk_metrics_init_widths() 270 af_glyph_hints_done( hints ); in af_cjk_metrics_init_widths() 797 af_cjk_hints_compute_segments( AF_GlyphHints hints, in af_cjk_hints_compute_segments() argument 800 AF_AxisHints axis = &hints in af_cjk_hints_compute_segments() 841 af_cjk_hints_link_segments( AF_GlyphHints hints, AF_Dimension dim ) af_cjk_hints_link_segments() argument 999 af_cjk_hints_compute_edges( AF_GlyphHints hints, AF_Dimension dim ) af_cjk_hints_compute_edges() argument 1268 af_cjk_hints_detect_features( AF_GlyphHints hints, AF_Dimension dim ) af_cjk_hints_detect_features() argument 1288 af_cjk_hints_compute_blue_edges( AF_GlyphHints hints, AF_CJKMetrics metrics, AF_Dimension dim ) af_cjk_hints_compute_blue_edges() argument 1494 af_cjk_compute_stem_width( AF_GlyphHints hints, AF_Dimension dim, FT_Pos width, FT_UInt base_flags, FT_UInt stem_flags ) af_cjk_compute_stem_width() argument 1615 af_cjk_align_linked_edge( AF_GlyphHints hints, AF_Dimension dim, AF_Edge base_edge, AF_Edge stem_edge ) af_cjk_align_linked_edge() argument 1641 af_cjk_align_serif_edge( AF_GlyphHints hints, AF_Edge base, AF_Edge serif ) af_cjk_align_serif_edge() argument 1668 af_hint_normal_stem( AF_GlyphHints hints, AF_Edge edge, AF_Edge edge2, FT_Pos anchor, AF_Dimension dim ) af_hint_normal_stem() argument 1796 af_cjk_hint_edges( AF_GlyphHints hints, AF_Dimension dim ) af_cjk_hint_edges() argument 2175 af_cjk_align_edge_points( AF_GlyphHints hints, AF_Dimension dim ) af_cjk_align_edge_points() argument [all...] |
H A D | afmodule.c | 32 af_glyph_hints_dump_segments( AF_GlyphHints hints, 35 af_glyph_hints_dump_points( AF_GlyphHints hints, 38 af_glyph_hints_dump_edges( AF_GlyphHints hints, 448 AF_GlyphHints hints = _af_debug_hints_rec; in FT_CALLBACK_DEF() local 454 if ( hints->memory ) in FT_CALLBACK_DEF() 455 af_glyph_hints_done( hints ); in FT_CALLBACK_DEF() 457 af_glyph_hints_init( hints, memory ); in FT_CALLBACK_DEF() 458 af_loader_init( loader, hints ); in FT_CALLBACK_DEF() 467 af_glyph_hints_dump_points( hints, 0 ); in FT_CALLBACK_DEF() 468 af_glyph_hints_dump_segments( hints, in FT_CALLBACK_DEF() [all...] |
H A D | aflatin.c | 58 AF_GlyphHintsRec hints[1]; in af_latin_metrics_init_widths() local 67 af_glyph_hints_init( hints, face->memory ); in af_latin_metrics_init_widths() 172 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_latin_metrics_init_widths() 174 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_latin_metrics_init_widths() 181 AF_AxisHints axhints = &hints->axis[dim]; in af_latin_metrics_init_widths() 186 error = af_latin_hints_compute_segments( hints, in af_latin_metrics_init_widths() 197 af_latin_hints_link_segments( hints, in af_latin_metrics_init_widths() 267 af_glyph_hints_done( hints ); in af_latin_metrics_init_widths() 1532 af_latin_hints_compute_segments( AF_GlyphHints hints, in FT_LOCAL_DEF() 1535 AF_LatinMetrics metrics = (AF_LatinMetrics)hints in FT_LOCAL_DEF() 1985 af_latin_hints_link_segments( AF_GlyphHints hints, FT_UInt width_count, AF_WidthRec* widths, AF_Dimension dim ) af_latin_hints_link_segments() argument 2498 af_latin_hints_compute_blue_edges( AF_GlyphHints hints, AF_LatinMetrics metrics ) af_latin_hints_compute_blue_edges() argument 2612 af_latin_hints_init( AF_GlyphHints hints, AF_LatinMetrics metrics ) af_latin_hints_init() argument 2739 af_latin_compute_stem_width( AF_GlyphHints hints, AF_Dimension dim, FT_Pos width, FT_Pos base_delta, FT_UInt base_flags, FT_UInt stem_flags ) af_latin_compute_stem_width() argument 2936 af_latin_align_linked_edge( AF_GlyphHints hints, AF_Dimension dim, AF_Edge base_edge, AF_Edge stem_edge ) af_latin_align_linked_edge() argument 2967 af_latin_align_serif_edge( AF_GlyphHints hints, AF_Edge base, AF_Edge serif ) af_latin_align_serif_edge() argument 2991 af_latin_hint_edges( AF_GlyphHints hints, AF_Dimension dim ) af_latin_hint_edges() argument 3542 af_latin_hints_apply( FT_UInt glyph_index, AF_GlyphHints hints, FT_Outline* outline, AF_LatinMetrics metrics ) af_latin_hints_apply() argument [all...] |
/third_party/skia/third_party/externals/freetype/src/pshinter/ |
H A D | pshrec.c | 5 * FreeType PostScript hints recorder (body). 47 /* destroy hints table */ 52 FT_FREE( table->hints ); in ps_hint_table_done() 73 if ( !FT_RENEW_ARRAY( table->hints, old_max, new_max ) ) in ps_hint_table_ensure() 100 hint = table->hints + count - 1; in ps_hint_table_alloc() 543 ps_hint_table_done( &dimension->hints, memory ); in ps_dimension_done() 551 dimension->hints.num_hints = 0; in ps_dimension_init() 671 /* now, lookup stem in the current hints table */ in ps_dimension_add_t1stem() 675 FT_UInt max = dim->hints.num_hints; in ps_dimension_add_t1stem() 676 PS_Hint hint = dim->hints in ps_dimension_add_t1stem() 812 ps_hints_init( PS_Hints hints, FT_Memory memory ) ps_hints_init() argument 822 ps_hints_open( PS_Hints hints, PS_Hint_Type hint_type ) ps_hints_open() argument 835 ps_hints_stem( PS_Hints hints, FT_UInt dimension, FT_Int count, FT_Long* stems ) ps_hints_stem() argument 883 ps_hints_t1stem3( PS_Hints hints, FT_UInt dimension, FT_Fixed* stems ) ps_hints_t1stem3() argument 946 ps_hints_t1reset( PS_Hints hints, FT_UInt end_point ) ps_hints_t1reset() argument 985 ps_hints_t2mask( PS_Hints hints, FT_UInt end_point, FT_UInt bit_count, const FT_Byte* bytes ) ps_hints_t2mask() argument 1031 ps_hints_t2counter( PS_Hints hints, FT_UInt bit_count, const FT_Byte* bytes ) ps_hints_t2counter() argument 1077 ps_hints_close( PS_Hints hints, FT_UInt end_point ) ps_hints_close() argument 1120 t1_hints_stem( T1_Hints hints, FT_UInt dimension, FT_Fixed* coords ) t1_hints_stem() argument 1164 t2_hints_stems( T2_Hints hints, FT_UInt dimension, FT_Int count, FT_Fixed* coords ) t2_hints_stems() argument [all...] |
/third_party/glfw/src/ |
H A D | window.c | 205 fbconfig = _glfw.hints.framebuffer; in glfwCreateWindow() 206 ctxconfig = _glfw.hints.context; in glfwCreateWindow() 207 wndconfig = _glfw.hints.window; in glfwCreateWindow() 226 window->videoMode.refreshRate = _glfw.hints.refreshRate; in glfwCreateWindow() 261 memset(&_glfw.hints.context, 0, sizeof(_glfw.hints.context)); in glfwDefaultWindowHints() 262 _glfw.hints.context.client = GLFW_OPENGL_API; in glfwDefaultWindowHints() 263 _glfw.hints.context.source = GLFW_NATIVE_CONTEXT_API; in glfwDefaultWindowHints() 264 _glfw.hints.context.major = 1; in glfwDefaultWindowHints() 265 _glfw.hints in glfwDefaultWindowHints() [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | js-date-time-format-inl.h | 34 int hints = flags(); in set_hour_cycle() local 35 hints = HourCycleBits::update(hints, hour_cycle); in set_hour_cycle() 36 set_flags(hints); in set_hour_cycle() 45 int hints = flags(); in set_date_style() local 46 hints = DateStyleBits::update(hints, date_style); in set_date_style() 47 set_flags(hints); in set_date_style() 56 int hints = flags(); in set_time_style() local 57 hints in set_time_style() [all...] |
H A D | js-list-format-inl.h | 31 int hints = flags(); in set_style() local 32 hints = StyleBits::update(hints, style); in set_style() 33 set_flags(hints); in set_style() 42 int hints = flags(); in set_type() local 43 hints = TypeBits::update(hints, type); in set_type() 44 set_flags(hints); in set_type()
|
H A D | js-temporal-objects-inl.h | 24 int hints = data(); \ 25 hints = B##Bits::update(hints, field); \ 26 set_##data(hints); \ 39 int hints = data(); \ 43 hints = B##Bits::update(hints, field); \ 44 set_##data(hints); \
|
/third_party/skia/third_party/externals/freetype/include/freetype/internal/ |
H A D | pshints.h | 5 * Interface to Postscript-specific (Type 1 and Type 2) hints 7 * T1/T2 hints in the 'type1', 'cid', and 'cff' font drivers. 81 * This is a handle to an opaque structure used to record glyph hints 85 * @T1_Hints_FuncsRec structure. Recording glyph hints is normally 96 * returns an error code if the hints were invalid or something strange 99 * The hints accumulated in the object can later be used by the 126 * hints recording session. 129 * hints :: 130 * A handle to the Type 1 hints recorder. 138 (*T1_Hints_OpenFunc)( T1_Hints hints ); 343 T1_Hints hints; global() member 656 T2_Hints hints; global() member [all...] |
/third_party/ltp/testcases/network/stress/ns-tools/ |
H A D | ns-common.c | 440 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 fo in create_source_filter() local [all...] |
/third_party/libuv/src/unix/ |
H A D | getaddrinfo.c | 103 err = getaddrinfo(req->hostname, req->service, req->hints, &req->addrinfo); in uv__getaddrinfo_work() 115 if (req->hints) in uv__getaddrinfo_done() 116 uv__free(req->hints); in uv__getaddrinfo_done() 124 req->hints = NULL; in uv__getaddrinfo_done() 143 const struct addrinfo* hints) { in uv_getaddrinfo() 174 hints_len = hints ? sizeof(*hints) : 0; in uv_getaddrinfo() 184 req->hints = NULL; in uv_getaddrinfo() 192 if (hints) { in uv_getaddrinfo() 193 req->hints in uv_getaddrinfo() 138 uv_getaddrinfo(uv_loop_t* loop, uv_getaddrinfo_t* req, uv_getaddrinfo_cb cb, const char* hostname, const char* service, const struct addrinfo* hints) uv_getaddrinfo() argument [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | getaddrinfo.c | 103 err = getaddrinfo(req->hostname, req->service, req->hints, &req->addrinfo); in uv__getaddrinfo_work() 115 if (req->hints) in uv__getaddrinfo_done() 116 uv__free(req->hints); in uv__getaddrinfo_done() 124 req->hints = NULL; in uv__getaddrinfo_done() 143 const struct addrinfo* hints) { in uv_getaddrinfo() 174 hints_len = hints ? sizeof(*hints) : 0; in uv_getaddrinfo() 184 req->hints = NULL; in uv_getaddrinfo() 192 if (hints) { in uv_getaddrinfo() 193 req->hints in uv_getaddrinfo() 138 uv_getaddrinfo(uv_loop_t* loop, uv_getaddrinfo_t* req, uv_getaddrinfo_cb cb, const char* hostname, const char* service, const struct addrinfo* hints) uv_getaddrinfo() argument [all...] |
/third_party/curl/tests/server/ |
H A D | resolve.c | 125 struct addrinfo hints; in main() local 127 memset(&hints, 0, sizeof(hints)); in main() 128 hints.ai_family = use_ipv6 ? PF_INET6 : PF_INET; in main() 129 hints.ai_socktype = SOCK_STREAM; in main() 130 hints.ai_flags = 0; in main() 133 rc = (getaddrinfo)(host, "80", &hints, &ai); in main()
|
/third_party/ltp/testcases/network/lib6/ |
H A D | getaddrinfo_01.c | 113 struct addrinfo hints; in check_addrinfo() local 117 memset(&hints, 0, sizeof(hints)); in check_addrinfo() 118 hints.ai_family = family; in check_addrinfo() 119 hints.ai_flags = flags; in check_addrinfo() 120 hints.ai_socktype = type; in check_addrinfo() 121 hints.ai_protocol = proto; in check_addrinfo() 124 SAFE_GETADDRINFO(host, service, &hints, &res); in check_addrinfo() 126 TEST(getaddrinfo(host, service, &hints, &res)); in check_addrinfo() 138 struct addrinfo hints; in check_addrinfo_name() local [all...] |
/third_party/node/test/parallel/ |
H A D | test-dns.js | 210 // Make sure that dns.lookup throws if hints does not represent a valid flag. 217 const hints = (dns.V4MAPPED | dns.ADDRCONFIG | dns.ALL) + 1; 221 message: /The argument 'hints' is invalid\. Received \d+/ 225 dnsPromises.lookup('nodejs.org', { hints }); 228 dns.lookup('nodejs.org', { hints }, common.mustNotCall()); 244 hints: dns.ADDRCONFIG | dns.V4MAPPED | dns.ALL, 250 dns.lookup('', { family: 4, hints: 0 }, common.mustCall()); 254 hints: dns.ADDRCONFIG 257 dns.lookup('', { hints: dns.V4MAPPED }, common.mustCall()); 260 hints [all...] |
H A D | test-dns-lookup.js | 57 message: "The argument 'hints' is invalid. Received 100" 60 hints: 100, 79 hints: 0, 109 [0n, 1n, '', '0', Symbol(), true, false, {}, [], () => {}].forEach((hints) => { 111 const options = { hints }; 140 hints: 0, 147 hints: 0, 154 hints: 0, 162 hints: 0, 171 hints [all...] |
/third_party/curl/lib/ |
H A D | hostip6.c | 103 struct addrinfo hints; in Curl_getaddrinfo() local 119 memset(&hints, 0, sizeof(hints)); in Curl_getaddrinfo() 120 hints.ai_family = pf; in Curl_getaddrinfo() 121 hints.ai_socktype = (data->conn->transport == TRNSPRT_TCP) ? in Curl_getaddrinfo() 132 hints.ai_flags = AI_NUMERICHOST; in Curl_getaddrinfo() 141 error = Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &res); in Curl_getaddrinfo()
|
H A D | asyn-thread.c | 146 const struct addrinfo *hints); 155 ADDRINFOEXW_ hints; member 176 struct addrinfo hints; member 227 const struct addrinfo *hints) in init_thread_sync_data() 240 DEBUGASSERT(hints); in init_thread_sync_data() 241 tsd->hints = *hints; in init_thread_sync_data() 243 (void) hints; in init_thread_sync_data() 462 rc = Curl_getaddrinfo_ex(tsd->hostname, service, &tsd->hints, &tsd->res); in getaddrinfo_thread() 601 const struct addrinfo *hints) in init_resolve_thread() 224 init_thread_sync_data(struct thread_data *td, const char *hostname, int port, const struct addrinfo *hints) init_thread_sync_data() argument 599 init_resolve_thread(struct Curl_easy *data, const char *hostname, int port, const struct addrinfo *hints) init_resolve_thread() argument 917 struct addrinfo hints; Curl_resolver_getaddrinfo() local [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares_getaddrinfo.c | 76 struct ares_addrinfo_hints hints; member 245 const struct ares_addrinfo_hints *hints, in fake_addrinfo() 252 int family = hints->ai_family; in fake_addrinfo() 303 if (hints->ai_flags & ARES_AI_CANONNAME) { in fake_addrinfo() 320 ai->nodes->ai_socktype = hints->ai_socktype; in fake_addrinfo() 321 ai->nodes->ai_protocol = hints->ai_protocol; in fake_addrinfo() 333 if (!(hquery->hints.ai_flags & ARES_AI_NOSORT) && hquery->ai->nodes) { in end_hquery() 341 next->ai_socktype = hquery->hints.ai_socktype; in end_hquery() 342 next->ai_protocol = hquery->hints.ai_protocol; in end_hquery() 396 (hquery->hints in file_lookup() 244 fake_addrinfo(const char *name, unsigned short port, const struct ares_addrinfo_hints *hints, struct ares_addrinfo *ai, ares_addrinfo_callback callback, void *arg) fake_addrinfo() argument 536 ares_getaddrinfo_int(ares_channel_t *channel, const char *name, const char *service, const struct ares_addrinfo_hints *hints, ares_addrinfo_callback callback, void *arg) ares_getaddrinfo_int() argument 672 ares_getaddrinfo(ares_channel_t *channel, const char *name, const char *service, const struct ares_addrinfo_hints *hints, ares_addrinfo_callback callback, void *arg) ares_getaddrinfo() argument [all...] |
/third_party/libuv/docs/code/dns/ |
H A D | main.c | 65 struct addrinfo hints; in main() local 66 hints.ai_family = PF_INET; in main() 67 hints.ai_socktype = SOCK_STREAM; in main() 68 hints.ai_protocol = IPPROTO_TCP; in main() 69 hints.ai_flags = 0; in main() 73 int r = uv_getaddrinfo(loop, &resolver, on_resolved, "irc.libera.chat", "6667", &hints); in main()
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | Socket.cpp | 40 addrinfo hints = {}; in Socket() local 41 hints.ai_family = AF_INET; in Socket() 42 hints.ai_socktype = SOCK_STREAM; in Socket() 43 hints.ai_protocol = IPPROTO_TCP; in Socket() 44 hints.ai_flags = AI_PASSIVE; in Socket() 47 getaddrinfo(address, port, &hints, &info); in Socket()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
H A D | Socket.cpp | 41 addrinfo hints = {}; in Socket() local 42 hints.ai_family = AF_INET; in Socket() 43 hints.ai_socktype = SOCK_STREAM; in Socket() 44 hints.ai_protocol = IPPROTO_TCP; in Socket() 45 hints.ai_flags = AI_PASSIVE; in Socket() 48 getaddrinfo(address, port, &hints, &info); in Socket()
|
/third_party/ffmpeg/libavformat/ |
H A D | os_support.c | 67 const struct addrinfo *hints, struct addrinfo **res) in ff_getaddrinfo() 81 if (hints && (hints->ai_flags & AI_NUMERICHOST)) { in ff_getaddrinfo() 93 if (hints && (hints->ai_flags & AI_PASSIVE)) in ff_getaddrinfo() 112 ai->ai_socktype = hints ? hints->ai_socktype : 0; in ff_getaddrinfo() 127 if (hints && (hints->ai_flags & AI_CANONNAME)) in ff_getaddrinfo() 66 ff_getaddrinfo(const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res) ff_getaddrinfo() argument
|