/external/autotest/client/deps/fakemodem/src/ |
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/ |
rt_names.c | 36 static int fread_id_name(FILE *fp, int *id, char *namebuf) 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...] |
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);
|
/external/libxml2/os400/dlfcn/ |
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, &sbuf) 930 char namebuf[100]; local [all...] |
/toolchain/binutils/binutils-2.25/libiberty/ |
simple-object-mach-o.c | 616 char namebuf[MACH_O_NAME_LEN * 2 + 2]; local 674 memcpy (namebuf, sechdr + sectname_offset, MACH_O_NAME_LEN); 675 namebuf[MACH_O_NAME_LEN] = '\0'; 677 name = &namebuf[0]; 703 name = &namebuf[0]; 704 memcpy (namebuf, (char *) sechdr + segname_offset, MACH_O_NAME_LEN); 705 namebuf[MACH_O_NAME_LEN] = '\0'; 706 l = strlen (namebuf); 707 namebuf[l] = ','; 708 memcpy (namebuf + l + 1, (char *) sechdr + sectname_offset 1167 char namebuf[MACH_O_NAME_LEN + 1]; local [all...] |
pex-win32.c | 190 char *namebuf, *foundbuf; local 209 namebuf = XNEWVEC (char, ++maxlen); 212 if (!namebuf || !foundbuf) 215 free (namebuf); 223 for (i = 0; RegEnumKey (hKey, i, namebuf, maxlen) == ERROR_SUCCESS; i++) 225 int match = strcasecmp (namebuf, MINGW_NAME); 228 if (match > 0 && strncasecmp (namebuf, MINGW_NAME, MINGW_NAME_LEN) > 0) 230 if (strcasecmp (namebuf, foundbuf) > 0) 231 strcpy (foundbuf, namebuf); 233 free (namebuf); [all...] |
simple-object-coff.c | 373 char namebuf[SCNNMLEN + 1]; local 380 memcpy (namebuf, scnname, SCNNMLEN); 381 namebuf[SCNNMLEN] = '\0'; 382 name = &namebuf[0]; 383 if (namebuf[0] == '/') 388 strindex = strtol (namebuf + 1, &end, 10);
|
simple-object-xcoff.c | 429 char namebuf[SCNNMLEN + 1]; local 436 memcpy (namebuf, scnname, SCNNMLEN); 437 namebuf[SCNNMLEN] = '\0'; 438 name = &namebuf[0]; 439 if (namebuf[0] == '/') 444 strindex = strtol (namebuf + 1, &end, 10);
|
/external/iproute2/tc/ |
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)) {
|
/toolchain/binutils/binutils-2.25/bfd/ |
pef.c | 156 char *namebuf; local 169 namebuf = bfd_alloc (abfd, name.name_len + 1); 170 if (namebuf == NULL) 173 memcpy (namebuf, buf + pos + offset, name.name_len); 174 namebuf[name.name_len] = '\0'; 177 if (namebuf[0] == '.') 178 memmove (namebuf, namebuf + 1, name.name_len + 1); 180 sym->name = namebuf;
|
sunos.c | 921 char *namebuf, *p; 946 namebuf = bfd_malloc (alc + 1); 947 if (namebuf == NULL) 949 p = namebuf; 958 free (namebuf); 966 free (namebuf); 970 if ((bfd_size_type) (p - namebuf) >= alc) 975 n = bfd_realloc (namebuf, alc + 1); 978 free (namebuf); 981 p = n + (p - namebuf); 920 char *namebuf, *p; local [all...] |
peXXigen.c | 144 char namebuf[SYMNMLEN + 1]; 154 name = _bfd_coff_internal_syment_name (abfd, in, namebuf); 178 if (name == namebuf) 180 name = (const char *) bfd_alloc (abfd, strlen (namebuf) + 1); 187 strcpy ((char *) name, namebuf); 143 char namebuf[SYMNMLEN + 1]; local [all...] |
elf.c | 2475 char namebuf[64]; local [all...] |
/ndk/sources/host-tools/make-3.81/ |
arscan.c | 440 char namebuf[sizeof member_header.ar_name + 1]; 557 name = namebuf; 438 char namebuf[sizeof member_header.ar_name + 1]; local
|
/external/fsck_msdos/ |
dir.c | 172 static char namebuf[MAXPATHLEN + 1]; local 176 cp = namebuf + sizeof namebuf - 1; 181 if ((cp -= nl) <= namebuf + 1)
|
/external/curl/lib/vtls/ |
openssl.c | 2288 char namebuf[32]; local 2327 char namebuf[128]; local [all...] |
/external/libevent/ |
evdns.c | 2711 char namebuf[256]; local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
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...] |
driver_wext.c | 639 char namebuf[IFNAMSIZ]; local 662 if (if_indextoname(ifi->ifi_index, namebuf) && 666 namebuf); [all...] |
/toolchain/binutils/binutils-2.25/gas/config/ |
tc-arm.c | 2282 char *namebuf, *nameend ATTRIBUTE_UNUSED; local [all...] |
tc-xtensa.c | 2336 static char namebuf[10]; local [all...] |