Searched refs:namebuf (Results 1 - 15 of 15) sorted by relevance

/external/iproute2/lib/
H A Drt_names.c49 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) !
[all...]
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
H A DSDL_sysjoystick.c351 static void LogicalSuffix(int logicalno, char* namebuf, int len) argument
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) <
[all...]
/external/iproute2/tc/
H A Dm_ematch.c62 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/qemu/distrib/sdl-1.2.15/include/
H A DSDL_audio.h159 extern DECLSPEC char * SDLCALL SDL_AudioDriverName(char *namebuf, int maxlen);
H A DSDL_video.h284 extern DECLSPEC char * SDLCALL SDL_VideoDriverName(char *namebuf, int maxlen);
/external/lldb/source/Host/common/
H A DHost.cpp702 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/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_audio.c388 char *SDL_AudioDriverName(char *namebuf, int maxlen) argument
391 SDL_strlcpy(namebuf, current_audio->name, maxlen);
392 return(namebuf);
/external/fsck_msdos/
H A Ddir.c172 static char namebuf[MAXPATHLEN + 1]; local
176 cp = namebuf + sizeof namebuf - 1;
181 if ((cp -= nl) <= namebuf + 1)
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_video.c287 char *SDL_VideoDriverName(char *namebuf, int maxlen) argument
290 SDL_strlcpy(namebuf, current_video->name, maxlen);
291 return(namebuf);
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_wext.c635 char namebuf[IFNAMSIZ]; local
658 if (if_indextoname(ifi->ifi_index, namebuf) &&
662 namebuf);
H A Ddriver_nl80211.c1224 char namebuf[IFNAMSIZ]; local
1279 if (if_indextoname(ifi->ifi_index, namebuf) &&
1283 "event since interface %s is up", namebuf);
1309 if (if_indextoname(ifi->ifi_index, namebuf) &&
1314 namebuf);
1372 if_indextoname(brid, namebuf);
1374 brid, namebuf);
1444 char namebuf[IFNAMSIZ]; local
1445 if_indextoname(brid, namebuf);
1447 "%s", brid, namebuf);
[all...]
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_wext.c635 char namebuf[IFNAMSIZ]; local
658 if (if_indextoname(ifi->ifi_index, namebuf) &&
662 namebuf);
H A Ddriver_nl80211.c1224 char namebuf[IFNAMSIZ]; local
1279 if (if_indextoname(ifi->ifi_index, namebuf) &&
1283 "event since interface %s is up", namebuf);
1309 if (if_indextoname(ifi->ifi_index, namebuf) &&
1314 namebuf);
1372 if_indextoname(brid, namebuf);
1374 brid, namebuf);
1444 char namebuf[IFNAMSIZ]; local
1445 if_indextoname(brid, namebuf);
1447 "%s", brid, namebuf);
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_wext.c635 char namebuf[IFNAMSIZ]; local
658 if (if_indextoname(ifi->ifi_index, namebuf) &&
662 namebuf);
H A Ddriver_nl80211.c1224 char namebuf[IFNAMSIZ]; local
1279 if (if_indextoname(ifi->ifi_index, namebuf) &&
1283 "event since interface %s is up", namebuf);
1309 if (if_indextoname(ifi->ifi_index, namebuf) &&
1314 namebuf);
1372 if_indextoname(brid, namebuf);
1374 brid, namebuf);
1444 char namebuf[IFNAMSIZ]; local
1445 if_indextoname(brid, namebuf);
1447 "%s", brid, namebuf);
[all...]

Completed in 370 milliseconds