/external/autotest/client/deps/fakemodem/src/ |
H A D | fakenet.c | 59 char namebuf[IFNAMSIZ]; local 61 strcpy (namebuf, "pseudo-modem%d"); 62 fd = tun_alloc (namebuf); 66 printf ("%s\n", namebuf);
|
/external/iproute2/lib/ |
H A D | names.c | 75 char namebuf[NAME_MAX_LEN] = {0}; local 82 while ((ret = read_id_name(fp, &id, &namebuf[0]))) { 85 path, namebuf); 97 entry->name = strdup(namebuf);
|
H A D | rt_names.c | 36 static int fread_id_name(FILE *fp, int *id, char *namebuf) argument 49 if (sscanf(p, "0x%x %s\n", id, namebuf) != 2 && 50 sscanf(p, "0x%x %s #", id, namebuf) != 2 && 51 sscanf(p, "%d %s\n", id, namebuf) != 2 && 52 sscanf(p, "%d %s #", id, namebuf) != 2) { 53 strcpy(namebuf, p); 67 char namebuf[NAME_MAX_LEN] = {0}; local 74 while ((ret = fread_id_name(fp, &id, &namebuf[0]))) { 77 file, namebuf); 87 entry->name = strdup(namebuf); 98 char namebuf[NAME_MAX_LEN] = {0}; local [all...] |
/external/openssh/ |
H A D | sshpty.c | 64 pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen) argument 76 if (ptsname_r(*ptyfd, namebuf, namebuflen)) { 88 strlcpy(namebuf, name, namebuflen); /* possible truncation */
|
H A D | monitor_wrap.c | 495 mm_pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen) argument 530 strlcpy(namebuf, p, namebuflen); /* Possible truncation */
|
H A D | scp.c | 1040 static char *namebuf; local 1046 free(namebuf); 1047 namebuf = xmalloc(need); 1050 (void) snprintf(namebuf, need, "%s%s%s", targ, 1052 np = namebuf;
|
/external/iproute2/tc/ |
H A D | m_ematch.c | 62 char namebuf[512], *p = buf; local 70 if (sscanf(p, "%d %s", &id, namebuf) != 2) { 78 strncpy(dst, namebuf, len - 1); 100 char namebuf[512], *p = buf; local 108 if (sscanf(p, "%d %s", &id, namebuf) != 2) { 114 if (!strcasecmp(namebuf, kind)) {
|
/external/fsck_msdos/ |
H A D | dir.c | 172 static char namebuf[MAXPATHLEN + 1]; local 176 cp = namebuf + sizeof namebuf - 1; 181 if ((cp -= nl) <= namebuf + 1)
|
/external/libxml2/os400/dlfcn/ |
H A D | dlfcn.c | 493 char * namebuf; local 515 namebuf = pathbuf + sizeof(Qlg_Path_Name_T); 527 namebuf[n++] = *dir++; 530 if (n && namebuf[n - 1] == '/') 535 namebuf[n++] = '/'; 538 namebuf[n++] = *link++; 546 namebuf[n] = '\0'; 547 n = dlresolveLink(namebuf, namebuf, _QP0L_DIR_NAME_LG + 1); 552 if (stat(namebuf, 930 char namebuf[100]; local [all...] |
/external/curl/lib/vtls/ |
H A D | openssl.c | 2288 char namebuf[32]; local 2290 snprintf(namebuf, sizeof(namebuf), "%s(%s)", type, name); 2294 push_certinfo(namebuf, num); 2327 char namebuf[128]; local 2335 asn1_object_dump(obj, namebuf, sizeof(namebuf)); 2355 Curl_ssl_push_certinfo(data, certnum, namebuf, buf);
|
/external/lldb/source/Host/common/ |
H A D | Host.cpp | 702 char *namebuf = (char *)::malloc (len + 1); local 712 ::strncpy (namebuf, thread_name, len); 713 namebuf[len] = 0; 715 int namebuflen = strlen(namebuf); 718 if (namebuf[namebuflen - 1] == '(' || namebuf[namebuflen - 1] == '>') 722 namebuf[namebuflen] = 0; 724 return Host::SetThreadName (pid, tid, namebuf);
|
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_wext.c | 639 char namebuf[IFNAMSIZ]; local 662 if (if_indextoname(ifi->ifi_index, namebuf) && 666 namebuf);
|
H A D | driver_nl80211.c | 928 char namebuf[IFNAMSIZ]; local 980 namebuf[0] = '\0'; 981 if (if_indextoname(ifi->ifi_index, namebuf) && 982 linux_iface_up(drv->global->ioctl_sock, namebuf) > 0) { 984 "event since interface %s is up", namebuf); 989 namebuf, ifname); 1016 if (if_indextoname(ifi->ifi_index, namebuf) && 1017 linux_iface_up(drv->global->ioctl_sock, namebuf) == 0) { 1020 namebuf); 1082 if (!if_indextoname(brid, namebuf)) { 1158 char namebuf[IFNAMSIZ]; local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_wext.c | 639 char namebuf[IFNAMSIZ]; local 662 if (if_indextoname(ifi->ifi_index, namebuf) && 666 namebuf);
|
H A D | driver_nl80211.c | 928 char namebuf[IFNAMSIZ]; local 980 namebuf[0] = '\0'; 981 if (if_indextoname(ifi->ifi_index, namebuf) && 982 linux_iface_up(drv->global->ioctl_sock, namebuf) > 0) { 984 "event since interface %s is up", namebuf); 989 namebuf, ifname); 1016 if (if_indextoname(ifi->ifi_index, namebuf) && 1017 linux_iface_up(drv->global->ioctl_sock, namebuf) == 0) { 1020 namebuf); 1082 if (!if_indextoname(brid, namebuf)) { 1158 char namebuf[IFNAMSIZ]; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_wext.c | 639 char namebuf[IFNAMSIZ]; local 662 if (if_indextoname(ifi->ifi_index, namebuf) && 666 namebuf);
|
H A D | driver_nl80211.c | 928 char namebuf[IFNAMSIZ]; local 980 namebuf[0] = '\0'; 981 if (if_indextoname(ifi->ifi_index, namebuf) && 982 linux_iface_up(drv->global->ioctl_sock, namebuf) > 0) { 984 "event since interface %s is up", namebuf); 989 namebuf, ifname); 1016 if (if_indextoname(ifi->ifi_index, namebuf) && 1017 linux_iface_up(drv->global->ioctl_sock, namebuf) == 0) { 1020 namebuf); 1082 if (!if_indextoname(brid, namebuf)) { 1158 char namebuf[IFNAMSIZ]; local [all...] |
/external/libevent/ |
H A D | evdns.c | 2711 char namebuf[256]; local 2718 if (name_len >= sizeof(namebuf)) { 2730 char randbits[(sizeof(namebuf)+7)/8]; 2731 strlcpy(namebuf, name, sizeof(namebuf)); 2734 if (EVUTIL_ISALPHA(namebuf[i])) { 2736 namebuf[i] |= 0x20; 2738 namebuf[i] &= ~0x20; 2741 name = namebuf;
|