/external/dropbear/ |
sshpty.c | 49 pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen) 67 strlcpy(namebuf, name, namebuflen); /* possible truncation */ 83 strlcpy(namebuf, slave, namebuflen); 85 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); 125 strlcpy(namebuf, pts, namebuflen); 129 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); 132 "error opening pts %.100s: %.100s", namebuf, strerror(errno)); 172 strlcpy(namebuf, name, namebuflen); 196 snprintf(namebuf, namebuflen, "/dev/tty%c%c", 203 snprintf(namebuf, namebuflen, "/dev/ttyp%d", i) [all...] |
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;
|
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);
|
/external/iproute2/lib/ |
rt_names.c | 45 char namebuf[512]; local 51 if (sscanf(p, "0x%x %s\n", &id, namebuf) != 2 && 52 sscanf(p, "0x%x %s #", &id, namebuf) != 2 && 53 sscanf(p, "%d %s\n", &id, namebuf) != 2 && 54 sscanf(p, "%d %s #", &id, namebuf) != 2) { 64 entry->name = strdup(namebuf); 82 char namebuf[512]; local 88 if (sscanf(p, "0x%x %s\n", &id, namebuf) != 2 && 89 sscanf(p, "0x%x %s #", &id, namebuf) != 2 && 90 sscanf(p, "%d %s\n", &id, namebuf) != 2 & [all...] |
/external/qemu/distrib/sdl-1.2.12/src/joystick/linux/ |
SDL_sysjoystick.c | 348 static void LogicalSuffix(int logicalno, char* namebuf, int len) 355 slen = SDL_strlen(namebuf); 362 namebuf[slen++] = ' '; 363 namebuf[slen++] = '#'; 364 namebuf[slen++] = suffix[0]; 365 namebuf[slen++] = suffix[1]; 366 namebuf[slen++] = 0; 503 static char namebuf[128]; local 515 (ioctl(fd, EVIOCGNAME(sizeof(namebuf)), namebuf) <= 0) & [all...] |
/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);
|
/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/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)) {
|
/frameworks/base/libs/utils/ |
CallStack.cpp | 289 char namebuf[1024]; local 302 const char* name = lookup_symbol(ip, &offs, namebuf, sizeof(namebuf));
|
/external/qemu/distrib/sdl-1.2.12/include/ |
SDL_audio.h | 109 extern DECLSPEC char * SDLCALL SDL_AudioDriverName(char *namebuf, int maxlen);
|
SDL_video.h | 247 extern DECLSPEC char * SDLCALL SDL_VideoDriverName(char *namebuf, int maxlen); [all...] |
/prebuilt/darwin-x86/sdl/include/SDL/ |
SDL_audio.h | 109 extern DECLSPEC char * SDLCALL SDL_AudioDriverName(char *namebuf, int maxlen);
|
SDL_video.h | 247 extern DECLSPEC char * SDLCALL SDL_VideoDriverName(char *namebuf, int maxlen); [all...] |
/prebuilt/linux-x86/sdl/include/SDL/ |
SDL_audio.h | 109 extern DECLSPEC char * SDLCALL SDL_AudioDriverName(char *namebuf, int maxlen);
|
SDL_video.h | 247 extern DECLSPEC char * SDLCALL SDL_VideoDriverName(char *namebuf, int maxlen); [all...] |
/prebuilt/windows/sdl/host/include/SDL/ |
SDL_audio.h | 115 extern DECLSPEC char * SDLCALL SDL_AudioDriverName(char *namebuf, int maxlen);
|
SDL_video.h | 251 extern DECLSPEC char * SDLCALL SDL_VideoDriverName(char *namebuf, int maxlen); [all...] |
/prebuilt/windows/sdl/include/SDL/ |
SDL_audio.h | 109 extern DECLSPEC char * SDLCALL SDL_AudioDriverName(char *namebuf, int maxlen);
|
SDL_video.h | 247 extern DECLSPEC char * SDLCALL SDL_VideoDriverName(char *namebuf, int maxlen); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
SDL_audio.c | 388 char *SDL_AudioDriverName(char *namebuf, int maxlen) 391 SDL_strlcpy(namebuf, current_audio->name, maxlen); 392 return(namebuf);
|
/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/bluetooth/glib/gio/ |
glocalfileinfo.c | 253 g_listxattr(const char *path, char *namebuf, size_t size, 257 return listxattr (path, namebuf, size, follow_symlinks ? 0 : XATTR_NOFOLLOW); 260 return listxattr (path, namebuf, size); 262 return llistxattr (path, namebuf, size); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_video.c | 281 char *SDL_VideoDriverName(char *namebuf, int maxlen) 284 SDL_strlcpy(namebuf, current_video->name, maxlen); 285 return(namebuf); [all...] |