Searched refs:hname (Results 1 – 10 of 10) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/gethostname/ |
D | gethostname01.c | 18 char hname[100]; in run() local 20 TST_EXP_PASS(gethostname(hname, sizeof(hname))); in run()
|
/third_party/toybox/toys/posix/ |
D | tar.c | 183 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-name), name); in add_to_tar() 227 strncpy(hdr.name, hname, sizeof(hdr.name)); in add_to_tar() 250 TT.hlx[TT.hlc].arg = xstrdup(hname); in add_to_tar() [all …]
|
/third_party/mksh/ |
D | histrap.c | 67 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, APERM); in hist_persist_init() 789 if ((fd = binopen3(hname, O_RDWR | O_CREAT | O_APPEND, 0600)) < 0) in hist_persist_init() 822 nhname = shf_smprintf("%s.%d", hname, (int)procpid); in hist_persist_init() 868 if (!unlink(hname) && hs != hist_init_retry) { in hist_persist_init() [all …]
|
/third_party/curl/src/ |
D | tool_writeout.c | 596 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/icu4c/source/test/intltest/ |
D | tzregts.cpp | 513 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()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
D | TimeZoneRegressionTest.java | 362 String hname = ((h<0) ? "GMT-" : "GMT+") + in Test4151406() local 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/ |
D | TimeZoneRegressionTest.java | 359 String hname = ((h<0) ? "GMT-" : "GMT+") + in Test4151406() local 366 logln(hname + ' ' + ids.length + in Test4151406() 369 errln(hname + ' ' + "Fail: " + e); in Test4151406()
|
/third_party/toybox/toys/pending/ |
D | dhcp.c | 887 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/ |
D | tarfile.py | 870 for name, hname, length in ( 874 if hname in pax_headers: 882 pax_headers[hname] = info[name] 886 pax_headers[hname] = info[name]
|
/third_party/python/Lib/test/ |
D | test_socket.py | 1000 hname, aliases, ipaddrs = socket.gethostbyaddr(ip) 1004 all_host_names = [hostname, hname] + aliases
|