Searched refs:hname (Results 1 - 25 of 28) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/sethostname/
H A Dsethostname01.c81 static char hname[MAX_LENGTH]; /* host name */ variable
132 if ((ret = gethostname(hname, sizeof(hname))) < 0) {
150 if ((ret = sethostname(hname, strlen(hname))) < 0) {
152 " hostname to \"%s\": %s", hname, strerror(errno));
H A Dsethostname02.c93 static char hname[MAX_LENGTH]; variable
168 if ((ret = gethostname(hname, sizeof(hname))) < 0) {
186 if ((ret = sethostname(hname, strlen(hname))) < 0) {
188 " hostname to \"%s\"", hname);
H A Dsethostname03.c84 static char hname[MAX_LENGTH]; variable
149 if ((ret = gethostname(hname, sizeof(hname))) < 0) {
174 if ((ret = sethostname(hname, strlen(hname))) < 0) {
176 " hostname to \"%s\"", hname);
/external/ltp/testcases/kernel/syscalls/gethostname/
H A Dgethostname01.c126 char hname[100]; /* host name */ local
136 TEST(gethostname(hname, sizeof(hname)));
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DSIPHeader.java51 * @param hname String to set
53 protected SIPHeader(String hname) { argument
54 headerName = hname;
H A DSIPHeaderList.java73 * @param hname
76 protected SIPHeaderList(Class<HDR> objclass, String hname) { argument
78 this.headerName = hname;
/external/toybox/toys/pending/
H A Dtar.c169 char *c, *p, *name = *nam, *lnk, *hname, buf[512] = {0,}; local
182 hname = name;
184 if (*hname == '/') hname++;
185 if (!*hname) return;
186 while ((c = strstr(hname, "../"))) hname = c + 3;
187 if (warn && hname != name) {
189 "from member names\n", (int)(hname-name), name);
194 strncpy(hdr.name, hname, sizeo
[all...]
H A Ddhcp.c887 static uint8_t *dhcpc_addfdnname(uint8_t *optptr, char *hname) argument
889 int size = strlen(hname);
895 strcpy((char*)optptr, hname); // name
/external/nist-sip/java/gov/nist/core/
H A DHostNameParser.java65 public HostNameParser(String hname) { argument
66 this.lexer = new LexerCore("charLexer", hname);
/external/mdnsresponder/mDNSPosix/
H A Dparselog.py216 for ip,[height,hname,hinfo] in ipList.items():
223 c.showTextAtPoint(pageRect.origin.x + 2 + typesize*8, height*typesize + 2, hname, len(hname))
/external/mksh/src/
H A Dhistrap.c67 static char *hname; variable
536 if (hname && name && !strcmp(hname, name))
547 afree(hname, APERM);
548 hname = NULL;
737 if (((hname = str_val(global("HISTFILE"))) == NULL) || !*hname) {
738 hname = NULL;
741 strdupx(hname, hname, APER
[all...]
/external/nist-sip/java/gov/nist/javax/sip/address/
H A DSipUri.java206 String hname = (String) i.next();
208 String h1 = a.getHeader(hname);
209 String h2 = b.getHeader(hname);
216 Header header1 = headerFactory.createHeader(hname, RFC2396UrlDecoder.decode(h1));
217 Header header2 = headerFactory.createHeader(hname, RFC2396UrlDecoder.decode(h2));
/external/valgrind/memcheck/
H A Dmc_translate.c4719 const HChar* hname = NULL; local
4725 hname = "MC_(helperc_LOADV256le)";
4729 hname = "MC_(helperc_LOADV128le)";
4733 hname = "MC_(helperc_LOADV64le)";
4736 hname = "MC_(helperc_LOADV32le)";
4739 hname = "MC_(helperc_LOADV16le)";
4742 hname = "MC_(helperc_LOADV8)";
4750 hname = "MC_(helperc_LOADV256be)";
4754 hname = "MC_(helperc_LOADV128be)";
4758 hname
5106 const HChar* hname = NULL; local
[all...]
/external/tcpdump/
H A Daddrtoname.c107 char hname[NI_MAXHOST]; local
120 hname, sizeof(hname), NULL, 0, 0)) {
123 strcpy(host.h_name, hname);
/external/icu/icu4c/source/test/intltest/
H A Dtzregts.cpp501 UnicodeString hname = UnicodeString((h<0) ? "GMT-" : "GMT+") + local
517 logln(hname + ' ' + (UnicodeString)count + (UnicodeString)" e.g. " + *ids->snext(ec));
519 logln(hname + ' ' + count);
526 errln(hname + ' ' + "Fail: " + e);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
H A DTimeZoneRegressionTest.java357 String hname = ((h<0) ? "GMT-" : "GMT+") +
364 logln(hname + ' ' + ids.length +
367 errln(hname + ' ' + "Fail: " + e);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
H A DTimeZoneRegressionTest.java356 String hname = ((h<0) ? "GMT-" : "GMT+") +
363 logln(hname + ' ' + ids.length +
366 errln(hname + ' ' + "Fail: " + e);
/external/python/cpython2/Lib/
H A Dtarfile.py1051 for name, hname, length in (
1055 if hname in pax_headers:
1065 pax_headers[hname] = val
1069 pax_headers[hname] = val
/external/openssh/
H A Dssh-keygen.c1375 do_print_resource_record(struct passwd *pw, char *fname, char *hname) argument
1392 export_dns_rr(hname, public, stdout, print_generic);
/external/python/cpython2/Lib/test/
H A Dtest_socket.py361 hname, aliases, ipaddrs = socket.gethostbyaddr(ip)
365 all_host_names = [hostname, hname] + aliases
/external/valgrind/VEX/priv/
H A Dguest_arm_toIR.c12799 const HChar* hname = hNames[opc]; local
12806 = unsafeIRDirty_1_N( res, 0/*regparms*/, hname, helper,
12994 const HChar* hname local
13024 hname, helper, argvec );
13059 const HChar* hname = "armg_dirtyhelper_SHA1H"; local
13080 hname, helper, argvec );
13119 const HChar* hname = "armg_dirtyhelper_VMULLP64"; local
13138 hname, helper, argvec );
H A Dguest_arm64_toIR.c13162 const HChar* hname = isD ? "arm64g_dirtyhelper_AESD" local
13168 = unsafeIRDirty_1_N( res, 0/*regparms*/, hname, helper,
13189 const HChar* hname = isI ? "arm64g_dirtyhelper_AESIMC" local
13193 = unsafeIRDirty_1_N( res, 0/*regparms*/, hname, helper,
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 767 milliseconds

12