/external/dropbear/ |
svr-chansession.c | 526 unsigned char namebuf[65]; local 540 if (pty_allocate(&chansess->master, &chansess->slave, namebuf, 64) == 0) { 545 chansess->tty = (char*)m_strdup(namebuf);
|
scp.c | 939 static char *namebuf; local 945 if (namebuf) 946 xfree(namebuf); 947 namebuf = xmalloc(need); 950 (void) snprintf(namebuf, need, "%s%s%s", targ, 952 np = namebuf;
|
/external/grub/stage2/ |
fsys_jfs.c | 282 char namebuf[JFS_NAME_MAX + 1], linkbuf[JFS_PATH_MAX]; local 339 uni2ansi (de->name, namebuf, namlen); 340 namebuf[namlen] = 0; 342 uni2ansi (de->name, namebuf, DTLHDRDATALEN); 343 ptr = namebuf; 358 cmp = (!*dirname) ? -1 : substring (dirname, namebuf); 364 print_a_completion (namebuf);
|
/external/iproute2/lib/ |
rt_names.c | 49 char namebuf[512]; local 55 if (sscanf(p, "0x%x %s\n", &id, namebuf) != 2 && 56 sscanf(p, "0x%x %s #", &id, namebuf) != 2 && 57 sscanf(p, "%d %s\n", &id, namebuf) != 2 && 58 sscanf(p, "%d %s #", &id, namebuf) != 2) { 69 entry->name = strdup(namebuf); 87 char namebuf[512]; local 93 if (sscanf(p, "0x%x %s\n", &id, namebuf) != 2 && 94 sscanf(p, "0x%x %s #", &id, namebuf) != 2 && 95 sscanf(p, "%d %s\n", &id, namebuf) != 2 & [all...] |
/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)) {
|
/system/extras/tests/fstest/ |
perm_checker.c | 361 char namebuf[MAX_NAME_LEN + 1]; local 381 snprintf(namebuf, sizeof(namebuf), "%s/", name); 383 snprintf(namebuf, sizeof(namebuf), "%s", name); 385 retval |= validate_dir(namebuf, PERMS(s.st_mode), s.st_uid, s.st_gid); 386 d = opendir(namebuf); 388 printf("%s : opendir failed: %s\n", namebuf, strerror(errno)); 395 snprintf(tmp, sizeof(tmp), "%s%s", namebuf, de->d_name);
|
/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/openssh/ |
scp.c | 1016 static char *namebuf; local 1022 if (namebuf) 1023 xfree(namebuf); 1024 namebuf = xmalloc(need); 1027 (void) snprintf(namebuf, need, "%s%s%s", targ, 1029 np = namebuf;
|
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/ |
SDL_sysjoystick.c | 351 static void LogicalSuffix(int logicalno, char* namebuf, int len) 358 slen = SDL_strlen(namebuf); 365 namebuf[slen++] = ' '; 366 namebuf[slen++] = '#'; 367 namebuf[slen++] = suffix[0]; 368 namebuf[slen++] = suffix[1]; 369 namebuf[slen++] = 0; 516 static char namebuf[128]; local 528 (ioctl(fd, EVIOCGNAME(sizeof(namebuf)), namebuf) <= 0) & [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_wext.c | 647 char namebuf[IFNAMSIZ]; local 670 if (if_indextoname(ifi->ifi_index, namebuf) && 674 namebuf); [all...] |
driver_nl80211.c | 1109 char namebuf[IFNAMSIZ]; local 1127 if (if_indextoname(ifi->ifi_index, namebuf) && 1131 "event since interface %s is up", namebuf); 1147 if (if_indextoname(ifi->ifi_index, namebuf) && 1152 namebuf); 1197 if_indextoname(brid, namebuf); 1199 brid, namebuf); 1239 char namebuf[IFNAMSIZ]; local 1240 if_indextoname(brid, namebuf); 1242 "%s", brid, namebuf); [all...] |