Home
last modified time | relevance | path

Searched refs:h_name (Results 1 – 25 of 3200) sorted by relevance

12345678910>>...128

/dports/devel/nss_wrapper/nss_wrapper-1.1.3/tests/
H A Dtest_gethostby_name_addr.c62 assert_non_null(he->h_name); in thread_test_gethostbyname()
63 assert_string_equal(he->h_name, "magrathea.galaxy.site"); in thread_test_gethostbyname()
76 assert_non_null(he->h_name); in test_nwrap_gethostbyname_thread()
83 assert_non_null(he->h_name); in test_nwrap_gethostbyname_thread()
109 assert_non_null(he->h_name); in test_nwrap_gethostbyname()
140 assert_non_null(he->h_name); in test_nwrap_gethostbyname_multiple()
172 assert_non_null(he->h_name); in test_nwrap_gethostbyname2()
186 assert_non_null(he->h_name); in test_nwrap_gethostbyname2()
212 assert_non_null(he->h_name); in test_nwrap_gethostbyaddr()
239 assert_non_null(he->h_name); in test_nwrap_gethostbyname_r()
[all …]
/dports/net/ulxmlrpcpp/ulxmlrpcpp-1.7.5/stubber/xml2ulxr/
H A DGenerateMethod.cpp115 const std::string &h_name) in generateSourceHead() argument
131 cpp_file << "#include \"" << h_name << "\"\n\n"; in generateSourceHead()
136 const std::string &h_name) in generateUserSourceHead() argument
152 cpp_file << "#include \"" << h_name << "\"\n\n"; in generateUserSourceHead()
161 std::string h_name = destdir + name + "_ulxr_names.h"; in generate_NameDefines() local
164 if (stat(h_name.c_str(), &statbuf) >= 0) in generate_NameDefines()
166 std::cout << "User file already exists: " << h_name << std::endl; in generate_NameDefines()
167 h_name += ".new"; in generate_NameDefines()
168 std::cout << "New template will be created: " << h_name << std::endl; in generate_NameDefines()
171 std::ofstream h_file(h_name.c_str()); in generate_NameDefines()
[all …]
/dports/net/aprsc/aprsc-2.1.10.gd72a17c/src/
H A Dgetnameinfo.c136 if (h && (c = strchr (h->h_name, '.'))) in nrl_domainname()
149 if (h && (c = strchr(h->h_name, '.'))) in nrl_domainname()
161 if (h && (c = strchr (h->h_name, '.'))) in nrl_domainname()
238 if ((c = nrl_domainname ()) && (c = strstr(h->h_name, c))
239 && (c != h->h_name) && (*(--c) == '.')) {
240 strncpy (host, h->h_name,
241 min(hostlen, (size_t) (c - h->h_name)));
242 host[min(hostlen - 1, (size_t) (c - h->h_name))] = '\0';
245 strncpy (host, h->h_name, hostlen);
249 strncpy (host, h->h_name, hostlen);
/dports/devel/p5-Term-Size-Any/Term-Size-Any-0.002/t/
H A D05perl.t25 my $h_name = $_->[0];
30 skip "$h_name is not tty", 4 unless -t $h;
33 is(scalar @chars, 2, "$h_name: chars return (cols, rows) - $h_name");
36 is($cols, $chars[0], "$h_name: chars return cols");
39 is(scalar @pixels, 2, "$h_name: pixels return (x, y)");
42 is($x, $pixels[0], "$h_name: pixels return x");
H A D08win32.t25 my $h_name = $_->[0];
30 skip "$h_name is not tty", 4 unless -t $h;
33 is(scalar @chars, 2, "$h_name: chars return (cols, rows) - $h_name");
36 is($cols, $chars[0], "$h_name: chars return cols");
39 is(scalar @pixels, 2, "$h_name: pixels return (x, y)");
42 is($x, $pixels[0], "$h_name: pixels return x");
H A D02basic.t17 my $h_name = $_->[0];
22 skip "$h_name is not tty", 4 unless -t $h;
25 is(scalar @chars, 2, "$h_name: chars return (cols, rows) - $h_name");
28 is($cols, $chars[0], "$h_name: chars return cols");
31 is(scalar @pixels, 2, "$h_name: pixels return (x, y)");
34 is($x, $pixels[0], "$h_name: pixels return x");
/dports/devel/p5-Term-Size/Term-Size-0.207/t/
H A D01_basic.t17 my $h_name = $_->[0];
22 skip "$h_name is not tty", 4 unless -t $h;
25 is(scalar @chars, 2, "$h_name: chars return (cols, rows) - $h_name");
28 is($cols, $chars[0], "$h_name: chars return cols");
31 is(scalar @pixels, 2, "$h_name: pixels return (x, y)");
34 is($x, $pixels[0], "$h_name: pixels return x");
/dports/cad/jspice3/jspice3-2.5/src/lib/misc/
H A Dhash.c14 char *h_name; member
54 h->h_name = copy(name);
59 COMP(name,h->h_name);
75 hh->h_name = copy(name);
82 hh->h_name = copy(name);
106 COMP(name,h->h_name);
117 txfree(h->h_name);
144 COMP(name,h->h_name);
176 txfree(h->h_name);
228 wl->wl_word = copy(h->h_name);
[all …]
/dports/devel/p5-Term-Size-Perl/Term-Size-Perl-0.031/t/
H A D01_basic.t16 my $h_name = $_->[0];
21 skip "$h_name is not tty", 4 unless -t $h;
24 is(scalar @chars, 2, "$h_name: chars return (cols, rows) - $h_name");
27 is($cols, $chars[0], "$h_name: chars return cols");
30 is(scalar @pixels, 2, "$h_name: pixels return (x, y)");
33 is($x, $pixels[0], "$h_name: pixels return x");
/dports/databases/grass7/grass-7.8.6/imagery/i.rgb.his/
H A Dclosefiles.c10 int closefiles(char *h_name, char *i_name, char *s_name, in closefiles() argument
29 Rast_read_range(h_name, mapset, &range); in closefiles()
32 Rast_write_colors(h_name, mapset, &colors); in closefiles()
45 Rast_short_history(h_name, "raster", &history); in closefiles()
47 Rast_write_history(h_name, &history); in closefiles()
48 Rast_put_cell_title(h_name, "Image hue"); in closefiles()
/dports/sysutils/conman/conman-conman-0.3.0/
H A Dutil-net.c159 if ((dstlen <= 0) || (strlen(hptr->h_name) >= (size_t) dstlen)) { in host_addr4_to_name()
163 strncpy(dst, hptr->h_name, dstlen); in host_addr4_to_name()
190 if ((dstlen <= 0) || (strlen(hptr->h_name) >= (size_t) dstlen)) { in host_name_to_cname()
194 strncpy(dst, hptr->h_name, dstlen); in host_name_to_cname()
265 dst->h_name = buf; in copy_hostent()
266 n = strlcpy(buf, src->h_name, len); in copy_hostent()
288 if (!dst->h_name) in validate_hostent_copy()
290 if (src->h_name == dst->h_name) in validate_hostent_copy()
292 if (strcmp(src->h_name, dst->h_name)) in validate_hostent_copy()
/dports/sysutils/logtool/logtool-1.3.1/src/
H A Dgethost.c32 int lt_gdbm_write(char *ip_addr, char *h_name);
45 void lt_db_savehost(char *ip_addr, char *h_name) { in lt_db_savehost() argument
52 sprintf(line, "%s %li", h_name, time(NULL)); in lt_db_savehost()
91 if(h->h_name != NULL) { in get_host()
92 strcpy(lt_host, h->h_name); in get_host()
/dports/www/p5-Dancer2/Dancer2-0.301004/lib/Dancer2/Core/Role/
H A DHookable.pm36 my ( $dancer, $h_type, $h_name, @rest ) = map lc, split /::/, $caller;
37 $h_name = $rest[0] if $h_name eq 'role';
39 $h_name = $h_type;
44 $postponed_hooks = $postponed_hooks->{$h_type}{$h_name};
52 or croak "$h_name $h_type does not support the hook `$name'. ("
/dports/net/kamailio/kamailio-5.4.5/src/core/
H A Dproxy.c79 len=strlen(src->h_name)+1; \
80 dst->h_name=(char*)he_malloc(sizeof(char) * len); \
81 if (dst->h_name) strncpy(dst->h_name,src->h_name, len); \
94 he_free(dst->h_name); \
103 he_free(dst->h_name); \
117 he_free(dst->h_name); \
130 he_free(dst->h_name); \
155 if (dst->h_name) he_free(dst->h_name); \
/dports/irc/irc/irc2.11.2p3/ircd/
H A Dres.c198 if (r2ptr->he.h_name) in rem_request()
230 nreq->he.h_name = NULL; in make_request()
733 if (!hp->h_name) in proc_answer()
775 if (hp->h_name) in proc_answer()
826 if (hp->h_name && strcasecmp(hp->h_name, hostbuf)) in proc_answer()
997 last->he.h_name = rptr->he.h_name; in get_res()
1565 hp->h_name = rptr->he.h_name; in make_cache()
1693 if (hp->h_name) in rem_cache()
1694 MyFree(hp->h_name); in rem_cache()
1768 cp->he.h_name, in m_dns()
[all …]
/dports/mail/emailrelay/emailrelay-1.9/src/gnet/
H A Dgresolver_ipv6.cpp57 const char * h_name = host->h_name ; in resolveHost() local
58 result.update( Address(*host,port) , std::string(h_name?h_name:"") ) ; in resolveHost()
83 result.update( Address(*host,port) , std::string(host->h_name) ) ; in resolveHost()
H A Dgresolver_ipv4.cpp45 const char * h_name = host->h_name ; in resolveHost() local
46 result.update( Address(*host,port) , std::string(h_name?h_name:"") ) ; in resolveHost()
/dports/net-mgmt/net-snmp/net-snmp-5.9/testing/fulltests/unit-tests/
H A DT014gethostbyaddr_clib.c24 h2 = gethostbyname(h->h_name);
25 OKF(h && (strcmp(h->h_name, "localhost") == 0 ||
28 ("127.0.0.1 lookup (%s -> %s)", h ? h->h_name : "(failed)",
65 res = getaddrinfo(h->h_name, NULL, &hints, &addr);
83 OKF(h && (strcmp(h->h_name, "localhost") == 0 ||
86 ("::1 lookup (%s -> %s)", h ? h->h_name : "(failed)",
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/newlib/libc/sys/linux/net/
H A Dgetnameinfo.c101 if (h && (c = strchr (h->h_name, '.'))) in nrl_domainname()
128 if (h && (c = strchr(h->h_name, '.'))) in nrl_domainname()
148 if (h && (c = strchr (h->h_name, '.'))) in nrl_domainname()
260 && (c = strstr (h->h_name, c)) in getnameinfo()
261 && (c != h->h_name) && (*(--c) == '.')) in getnameinfo()
276 int rc = __idna_to_unicode_lzlz (h->h_name, &out, in getnameinfo()
287 if (out != h->h_name) in getnameinfo()
289 h->h_name = strdupa (out); in getnameinfo()
295 size_t len = strlen (h->h_name) + 1; in getnameinfo()
299 memcpy (host, h->h_name, len); in getnameinfo()
/dports/www/limesurvey/limesurvey/application/helpers/Zend/Http/
H A DResponse.php530 $h_name = strtolower($m[1]);
534 if (isset($headers[$h_name])) {
535 if (! is_array($headers[$h_name])) {
536 $headers[$h_name] = array($headers[$h_name]);
539 $headers[$h_name][] = ltrim($h_value);
540 $last_header = $h_name;
544 $headers[$h_name] = ltrim($h_value);
545 $last_header = $h_name;
/dports/devel/flyspray/flyspray-0.9.9.7_4/includes/external/Zend/Http/
H A DResponse.php502 $h_name = strtolower($m[1]);
505 if (isset($headers[$h_name])) {
506 if (! is_array($headers[$h_name])) {
507 $headers[$h_name] = array($headers[$h_name]);
510 $headers[$h_name][] = $h_value;
512 $headers[$h_name] = $h_value;
514 $last_header = $h_name;
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Net/
H A DDns.cs298 …private extern static bool GetHostByName_internal(string host, out string h_name, out string[] h_a… in GetHostByName_internal() argument
301 …private extern static bool GetHostByAddr_internal(string addr, out string h_name, out string[] h_a… in GetHostByAddr_internal() argument
304 private extern static bool GetHostName_internal(out string h_name); in GetHostName_internal() argument
312 …private static IPHostEntry hostent_to_IPHostEntry(string originalHostName, string h_name, string[]… in hostent_to_IPHostEntry() argument
317 he.HostName = h_name; in hostent_to_IPHostEntry()
373 string h_name; in GetHostByAddressFromString()
375 …bool ret = GetHostByAddr_internal(address, out h_name, out h_aliases, out h_addrlist, Socket.Famil… in GetHostByAddressFromString()
378 return (hostent_to_IPHostEntry (address, h_name, h_aliases, h_addrlist)); in GetHostByAddressFromString()
436 string h_name; in GetHostByName()
439 …bool ret = GetHostByName_internal(hostName, out h_name, out h_aliases, out h_addrlist, Socket.Fami… in GetHostByName()
[all …]
/dports/mail/avenger/avenger-0.8.5/libasync/
H A Dmyname.C56 if (strchr (hp->h_name, '.')) in myname()
57 return hp->h_name; in myname()
69 if (strchr (hp->h_name, '.')) in myname()
70 return hp->h_name; in myname()
/dports/net/libunp/unpv12e/names/
H A Dtest1.c20 printf("official host name: %s\n", hptr->h_name); in main()
39 else if (hptr->h_name != NULL) in main()
40 printf("\t\tname = %s\n", hptr->h_name); in main()
44 printf("\t\tofficial host name: %s\n", hptr->h_name); in main()
/dports/net-mgmt/sysmon/sysmon-0.93/src/
H A Ddnscache.c56 strncpy(local, localhp->h_name, 250); in get_hostname()
99 free(freethis->hp->h_name); in expire_dns()
100 freethis->hp->h_name = NULL; in expire_dns()
165 FREE(freethis->hp->h_name); in expire_dns()
166 freethis->hp->h_name = NULL; in expire_dns()
254 newent->hp->h_name = strdup(hp.h_name); in do_my_gethostbyname()

12345678910>>...128