/external/ltp/testcases/network/lib6/ |
D | getaddrinfo_01.c | 68 struct addrinfo *aires, hints, *pai; in gaiv4() local 84 memset(&hints, 0, sizeof(hints)); in gaiv4() 85 hints.ai_family = AF_INET; in gaiv4() 86 TEST(getaddrinfo(hostname, 0, &hints, &aires)); in gaiv4() 124 memset(&hints, 0, sizeof(hints)); in gaiv4() 125 hints.ai_family = AF_INET; in gaiv4() 126 hints.ai_flags = AI_CANONNAME; in gaiv4() 127 TEST(getaddrinfo(shortname, 0, &hints, &aires)); in gaiv4() 154 memset(&hints, 0, sizeof(hints)); in gaiv4() 162 hints.ai_family = AF_INET; in gaiv4() [all …]
|
/external/freetype/src/autofit/ |
D | afhints.c | 242 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() 301 af_get_strong_edge_index( AF_GlyphHints hints, in af_get_strong_edge_index() argument 305 AF_AxisHints axis = &hints->axis[dimension]; in af_get_strong_edge_index() 317 af_glyph_hints_dump_points( AF_GlyphHints hints, in af_glyph_hints_dump_points() argument 320 AF_Point points = hints->points; in af_glyph_hints_dump_points() 321 AF_Point limit = points + hints->num_points; in af_glyph_hints_dump_points() [all …]
|
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() argument 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()
|
D | afcjk.c | 73 AF_GlyphHintsRec hints[1]; in af_cjk_metrics_init_widths() local 82 af_glyph_hints_init( hints, face->memory ); in af_cjk_metrics_init_widths() 181 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_cjk_metrics_init_widths() 183 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_cjk_metrics_init_widths() 190 AF_AxisHints axhints = &hints->axis[dim]; in af_cjk_metrics_init_widths() 195 error = af_latin_hints_compute_segments( hints, in af_cjk_metrics_init_widths() 206 af_latin_hints_link_segments( hints, in af_cjk_metrics_init_widths() 276 af_glyph_hints_done( hints ); in af_cjk_metrics_init_widths() 804 af_cjk_hints_compute_segments( AF_GlyphHints hints, in af_cjk_hints_compute_segments() argument 807 AF_AxisHints axis = &hints->axis[dim]; in af_cjk_hints_compute_segments() [all …]
|
D | aflatin2.c | 51 af_latin2_hints_compute_segments( AF_GlyphHints hints, 55 af_latin2_hints_link_segments( AF_GlyphHints hints, 71 AF_GlyphHintsRec hints[1]; in af_latin2_metrics_init_widths() local 74 af_glyph_hints_init( hints, face->memory ); in af_latin2_metrics_init_widths() 106 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_latin2_metrics_init_widths() 108 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_latin2_metrics_init_widths() 115 AF_AxisHints axhints = &hints->axis[dim]; in af_latin2_metrics_init_widths() 120 error = af_latin2_hints_compute_segments( hints, in af_latin2_metrics_init_widths() 125 af_latin2_hints_link_segments( hints, in af_latin2_metrics_init_widths() 172 af_glyph_hints_done( hints ); in af_latin2_metrics_init_widths() [all …]
|
D | aflatin.c | 64 AF_GlyphHintsRec hints[1]; in af_latin_metrics_init_widths() local 73 af_glyph_hints_init( hints, face->memory ); in af_latin_metrics_init_widths() 178 af_glyph_hints_rescale( hints, (AF_StyleMetrics)dummy ); in af_latin_metrics_init_widths() 180 error = af_glyph_hints_reload( hints, &face->glyph->outline ); in af_latin_metrics_init_widths() 187 AF_AxisHints axhints = &hints->axis[dim]; in af_latin_metrics_init_widths() 192 error = af_latin_hints_compute_segments( hints, in af_latin_metrics_init_widths() 203 af_latin_hints_link_segments( hints, in af_latin_metrics_init_widths() 273 af_glyph_hints_done( hints ); in af_latin_metrics_init_widths() 1538 af_latin_hints_compute_segments( AF_GlyphHints hints, in af_latin_hints_compute_segments() argument 1541 AF_LatinMetrics metrics = (AF_LatinMetrics)hints->metrics; in af_latin_hints_compute_segments() [all …]
|
/external/freetype/src/pshinter/ |
D | pshrec.c | 53 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/tensorflow/tensorflow/python/ops/linalg/ |
D | linear_operator_addition.py | 152 def _infer_hints_allowing_override(op1, op2, hints): argument 168 hints = hints or _Hints() 170 if hints.is_self_adjoint is None: 173 is_self_adjoint = hints.is_self_adjoint 176 if hints.is_positive_definite is None: 179 is_positive_definite = hints.is_positive_definite 182 if is_positive_definite and hints.is_positive_definite is None: 185 is_non_singular = hints.is_non_singular 261 def _add(self, op1, op2, operator_name, hints): argument 266 def add(self, op1, op2, operator_name, hints=None): argument [all …]
|
/external/v8/src/objects/ |
D | js-date-time-format-inl.h | 32 int hints = flags(); in ACCESSORS() local 33 hints = HourCycleBits::update(hints, hour_cycle); in ACCESSORS() 34 set_flags(hints); in ACCESSORS() 43 int hints = flags(); in set_date_style() local 44 hints = DateStyleBits::update(hints, date_style); in set_date_style() 45 set_flags(hints); in set_date_style() 54 int hints = flags(); in set_time_style() local 55 hints = TimeStyleBits::update(hints, time_style); in set_time_style() 56 set_flags(hints); in set_time_style()
|
D | js-list-format-inl.h | 31 int hints = flags(); in ACCESSORS() local 32 hints = StyleBits::update(hints, style); in ACCESSORS() 33 set_flags(hints); in ACCESSORS() 42 int hints = flags(); in set_type() local 43 hints = TypeBits::update(hints, type); in set_type() 44 set_flags(hints); in set_type()
|
/external/freetype/include/freetype/internal/ |
D | pshints.h | 139 (*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/openssh/openbsd-compat/ |
D | fake-rfc2553.c | 124 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/libevent/ |
D | evutil.c | 829 const struct evutil_addrinfo *hints) in evutil_new_addrinfo_() argument 832 EVUTIL_ASSERT(hints); in evutil_new_addrinfo_() 834 if (hints->ai_socktype == 0 && hints->ai_protocol == 0) { in evutil_new_addrinfo_() 838 memcpy(&tmp, hints, sizeof(tmp)); in evutil_new_addrinfo_() 863 res->ai_socktype = hints->ai_socktype; in evutil_new_addrinfo_() 864 res->ai_protocol = hints->ai_protocol; in evutil_new_addrinfo_() 903 const struct evutil_addrinfo *hints) in evutil_parse_servname() argument 909 if (!(hints->ai_flags & EVUTIL_AI_NUMERICSERV)) { in evutil_parse_servname() 948 evutil_getaddrinfo_infer_protocols(struct evutil_addrinfo *hints) in evutil_getaddrinfo_infer_protocols() argument 951 if (!hints->ai_protocol && hints->ai_socktype) { in evutil_getaddrinfo_infer_protocols() [all …]
|
/external/fonttools/Lib/fontTools/subset/ |
D | cff.py | 172 hints = self._hints 174 if hints.deletions: 176 for idx in reversed(hints.deletions): 179 if hints.has_hint: 180 assert not hints.deletions or hints.last_hint <= hints.deletions[0] 181 self.program = self.program[hints.last_hint:] 192 if hints.has_hintmask: 264 hints = charString._hints 266 if hints.has_hint or hints.has_hintmask: 269 if hints.status != 2: [all …]
|
/external/libevent/test/ |
D | regress_util.c | 932 struct evutil_addrinfo hints; in test_evutil_getaddrinfo() local 936 memset(&hints, 0, sizeof(hints)); in test_evutil_getaddrinfo() 937 hints.ai_family = PF_UNSPEC; in test_evutil_getaddrinfo() 938 hints.ai_socktype = SOCK_STREAM; in test_evutil_getaddrinfo() 939 r = evutil_getaddrinfo("1.2.3.4", "8080", &hints, &ai); in test_evutil_getaddrinfo() 947 memset(&hints, 0, sizeof(hints)); in test_evutil_getaddrinfo() 948 hints.ai_family = PF_UNSPEC; in test_evutil_getaddrinfo() 949 hints.ai_protocol = IPPROTO_UDP; in test_evutil_getaddrinfo() 950 r = evutil_getaddrinfo("1001:b0b::f00f", "4321", &hints, &ai); in test_evutil_getaddrinfo() 959 memset(&hints, 0, sizeof(hints)); in test_evutil_getaddrinfo() [all …]
|
D | regress_dns.c | 1347 struct evutil_addrinfo hints, *ai = NULL; in test_bufferevent_connect_hostname() local 1348 memset(&hints, 0, sizeof(hints)); in test_bufferevent_connect_hostname() 1349 hints.ai_family = AF_INET; in test_bufferevent_connect_hostname() 1350 hints.ai_socktype = SOCK_STREAM; in test_bufferevent_connect_hostname() 1351 hints.ai_protocol = IPPROTO_TCP; in test_bufferevent_connect_hostname() 1353 "nonesuch.nowhere.example.com", "80", &hints, &ai); in test_bufferevent_connect_hostname() 1443 struct evutil_addrinfo hints, *a; in test_getaddrinfo_async() local 1470 memset(&hints, 0, sizeof(hints)); in test_getaddrinfo_async() 1471 hints.ai_family = PF_UNSPEC; in test_getaddrinfo_async() 1472 hints.ai_socktype = SOCK_STREAM; in test_getaddrinfo_async() [all …]
|
/external/iperf3/src/ |
D | iperf_sctp.c | 161 struct addrinfo hints, *res; in iperf_sctp_listen() local 168 memset(&hints, 0, sizeof(hints)); in iperf_sctp_listen() 175 hints.ai_family = AF_INET6; in iperf_sctp_listen() 177 hints.ai_family = test->settings->domain; in iperf_sctp_listen() 179 hints.ai_socktype = SOCK_STREAM; in iperf_sctp_listen() 180 hints.ai_flags = AI_PASSIVE; in iperf_sctp_listen() 181 if ((gerror = getaddrinfo(test->bind_address, portstr, &hints, &res)) != 0) { in iperf_sctp_listen() 263 struct addrinfo hints, *local_res, *server_res; in iperf_sctp_connect() local 266 memset(&hints, 0, sizeof(hints)); in iperf_sctp_connect() 267 hints.ai_family = test->settings->domain; in iperf_sctp_connect() [all …]
|
D | net.c | 125 struct addrinfo hints, *local_res, *server_res; in netdial() local 129 memset(&hints, 0, sizeof(hints)); in netdial() 130 hints.ai_family = domain; in netdial() 131 hints.ai_socktype = proto; in netdial() 132 if ((gerror = getaddrinfo(local, NULL, &hints, &local_res)) != 0) in netdial() 136 memset(&hints, 0, sizeof(hints)); in netdial() 137 hints.ai_family = domain; in netdial() 138 hints.ai_socktype = proto; in netdial() 139 if ((gerror = getaddrinfo(server, NULL, &hints, &server_res)) != 0) in netdial() 222 struct addrinfo hints, *res; in netannounce() local [all …]
|
/external/ltp/testcases/network/stress/ns-tools/ |
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 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/libpcap/ |
D | nametoaddr.c | 183 struct addrinfo hints, *res; in pcap_nametoaddrinfo() local 186 memset(&hints, 0, sizeof(hints)); in pcap_nametoaddrinfo() 187 hints.ai_family = PF_UNSPEC; in pcap_nametoaddrinfo() 188 hints.ai_socktype = SOCK_STREAM; /*not really*/ in pcap_nametoaddrinfo() 189 hints.ai_protocol = IPPROTO_TCP; /*not really*/ in pcap_nametoaddrinfo() 190 error = getaddrinfo(name, NULL, &hints, &res); in pcap_nametoaddrinfo() 290 struct addrinfo hints, *res, *ai; in pcap_nametoport() local 303 memset(&hints, 0, sizeof(hints)); in pcap_nametoport() 304 hints.ai_family = PF_UNSPEC; in pcap_nametoport() 305 hints.ai_socktype = SOCK_STREAM; in pcap_nametoport() [all …]
|
/external/pdfium/fpdfsdk/ |
D | fpdf_dataavail_embeddertest.cpp | 59 FX_DOWNLOADHINTS* hints() { return this; } in hints() function in __anon826ac76f0111::TestAsyncLoader 165 MockDownloadHints hints; in TEST_F() local 166 EXPECT_FALSE(FPDFAvail_IsDocAvail(avail_, &hints)); in TEST_F() 172 MockDownloadHints hints; in TEST_F() local 173 EXPECT_FALSE(FPDFAvail_IsDocAvail(avail_, &hints)); in TEST_F() 179 ASSERT_EQ(PDF_DATA_AVAIL, FPDFAvail_IsDocAvail(avail_, loader.hints())); in TEST_F() 182 ASSERT_EQ(PDF_DATA_AVAIL, FPDFAvail_IsPageAvail(avail_, 1, loader.hints())); in TEST_F() 193 ASSERT_EQ(PDF_DATA_AVAIL, FPDFAvail_IsDocAvail(avail_, loader.hints())); in TEST_F() 205 status = FPDFAvail_IsFormAvail(avail_, loader.hints()); in TEST_F() 214 ASSERT_EQ(PDF_DATA_AVAIL, FPDFAvail_IsDocAvail(avail_, loader.hints())); in TEST_F() [all …]
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_read_validator_unittest.cpp | 96 MockDownloadHints hints; in TEST() local 97 validator->SetDownloadHints(&hints); in TEST() 107 EXPECT_EQ(MakeRange(4608, 5120), hints.GetLastRequstedRange()); in TEST() 109 file_avail.SetAvailableRange(hints.GetLastRequstedRange()); in TEST() 110 hints.Reset(); in TEST() 116 EXPECT_EQ(MakeRange(0, 0), hints.GetLastRequstedRange()); in TEST() 126 EXPECT_EQ(validator->GetSize(), hints.GetLastRequstedRange().second); in TEST() 168 MockDownloadHints hints; in TEST() local 170 validator->SetDownloadHints(&hints); in TEST() 206 MockDownloadHints hints; in TEST() local [all …]
|
/external/curl/tests/server/ |
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 = AI_CANONNAME; in main() 133 rc = (getaddrinfo)(host, "80", &hints, &ai); in main()
|
/external/curl/lib/ |
D | hostip6.c | 134 struct addrinfo hints; in Curl_getaddrinfo() local 166 memset(&hints, 0, sizeof(hints)); in Curl_getaddrinfo() 167 hints.ai_family = pf; in Curl_getaddrinfo() 168 hints.ai_socktype = (conn->transport == TRNSPRT_TCP) ? in Curl_getaddrinfo() 179 hints.ai_flags = AI_NUMERICHOST; in Curl_getaddrinfo() 188 error = Curl_getaddrinfo_ex(hostname, sbufptr, &hints, &res); in Curl_getaddrinfo()
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
D | DecodeThread.java | 40 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()
|