Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/gethostname/
H A Dgethostname01.c18 char hname[100]; in run() local
20 TST_EXP_PASS(gethostname(hname, sizeof(hname))); in run()
/third_party/toybox/toys/posix/
H A Dtar.c183 char *name, *lnk, *hname; in add_to_tar() local
205 for (hname = name; *hname == '/'; hname++); in add_to_tar()
206 for (lnk = hname;;) { in add_to_tar()
208 if (lnk == hname || lnk[-1] == '/') { in add_to_tar()
210 if (lnk[2]=='/') lnk = hname = lnk+3; in add_to_tar()
213 if (!*hname) goto done; in add_to_tar()
215 if (TT.warn && hname != name) { in add_to_tar()
217 (int)(hname in add_to_tar()
[all...]
/third_party/mksh/
H A Dhistrap.c67 static char *hname; variable
539 if (hname && name && !strcmp(hname, name)) in sethistfile()
550 afree(hname, APERM); in sethistfile()
551 hname = NULL; in sethistfile()
780 if (((hname = str_val(global("HISTFILE"))) == NULL) || !*hname) { in hist_persist_init()
781 hname = NULL; in hist_persist_init()
784 strdupx(hname, hname, APER in hist_persist_init()
[all...]
/third_party/curl/src/
H A Dtool_writeout.c596 char hname[256]; /* holds the longest header field name */ in ourWriteOut() local
599 if(vlen < sizeof(hname)) { in ourWriteOut()
600 memcpy(hname, ptr, vlen); in ourWriteOut()
601 hname[vlen] = 0; in ourWriteOut()
602 if(CURLHE_OK == curl_easy_header(per->curl, hname, 0, in ourWriteOut()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
H A DTimeZoneRegressionTest.java362 String hname = ((h<0) ? "GMT-" : "GMT+") + in Test4151406()
369 logln(hname + ' ' + ids.length + in Test4151406()
372 errln(hname + ' ' + "Fail: " + e); in Test4151406()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
H A DTimeZoneRegressionTest.java359 String hname = ((h<0) ? "GMT-" : "GMT+") + in Test4151406()
366 logln(hname + ' ' + ids.length + in Test4151406()
369 errln(hname + ' ' + "Fail: " + e); in Test4151406()
/third_party/icu/icu4c/source/test/intltest/
H A Dtzregts.cpp513 UnicodeString hname = UnicodeString((h<0) ? "GMT-" : "GMT+") + in Test4151406() local
529 logln(hname + ' ' + (UnicodeString)count + (UnicodeString)" e.g. " + *ids->snext(ec)); in Test4151406()
531 logln(hname + ' ' + count); in Test4151406()
538 errln(hname + ' ' + "Fail: " + e); in Test4151406()
/third_party/python/Lib/
H A Dtarfile.py1030 for name, hname, length in (
1034 if hname in pax_headers:
1042 pax_headers[hname] = info[name]
1046 pax_headers[hname] = info[name]
/third_party/toybox/toys/pending/
H A Ddhcp.c887 static uint8_t *dhcpc_addfdnname(uint8_t *optptr, char *hname) in dhcpc_addfdnname() argument
889 int size = strlen(hname); in dhcpc_addfdnname()
895 strcpy((char*)optptr, hname); // name in dhcpc_addfdnname()
/third_party/python/Lib/test/
H A Dtest_socket.py1013 hname, aliases, ipaddrs = socket.gethostbyaddr(ip)
1017 all_host_names = [hostname, hname] + aliases

Completed in 23 milliseconds