/external/iproute2/lib/ |
D | rt_names.c | 36 static int fread_id_name(FILE *fp, int *id, char *namebuf) in fread_id_name() argument 49 if (sscanf(p, "0x%x %s\n", id, namebuf) != 2 && in fread_id_name() 50 sscanf(p, "0x%x %s #", id, namebuf) != 2 && in fread_id_name() 51 sscanf(p, "%d %s\n", id, namebuf) != 2 && in fread_id_name() 52 sscanf(p, "%d %s #", id, namebuf) != 2) { in fread_id_name() 53 strcpy(namebuf, p); in fread_id_name() 67 char namebuf[NAME_MAX_LEN] = {0}; in rtnl_hash_initialize() local 74 while ((ret = fread_id_name(fp, &id, &namebuf[0]))) { in rtnl_hash_initialize() 77 file, namebuf); in rtnl_hash_initialize() 87 entry->name = strdup(namebuf); in rtnl_hash_initialize() [all …]
|
D | names.c | 75 char namebuf[NAME_MAX_LEN] = {0}; in db_names_load() local 82 while ((ret = read_id_name(fp, &id, &namebuf[0]))) { in db_names_load() 85 path, namebuf); in db_names_load() 97 entry->name = strdup(namebuf); in db_names_load()
|
/external/autotest/client/deps/fakemodem/src/ |
D | fakenet.c | 59 char namebuf[IFNAMSIZ]; in main() local 61 strcpy (namebuf, "pseudo-modem%d"); in main() 62 fd = tun_alloc (namebuf); in main() 66 printf ("%s\n", namebuf); in main()
|
/external/libxml2/os400/dlfcn/ |
D | dlfcn.c | 493 char * namebuf; in dlGetObjectName() local 515 namebuf = pathbuf + sizeof(Qlg_Path_Name_T); in dlGetObjectName() 527 namebuf[n++] = *dir++; in dlGetObjectName() 530 if (n && namebuf[n - 1] == '/') in dlGetObjectName() 535 namebuf[n++] = '/'; in dlGetObjectName() 538 namebuf[n++] = *link++; in dlGetObjectName() 546 namebuf[n] = '\0'; in dlGetObjectName() 547 n = dlresolveLink(namebuf, namebuf, _QP0L_DIR_NAME_LG + 1); in dlGetObjectName() 552 if (stat(namebuf, &sbuf)) in dlGetObjectName() 930 char namebuf[100]; in dl_is_srvpgm() local [all …]
|
/external/iproute2/tc/ |
D | m_ematch.c | 62 char namebuf[512], *p = buf; in lookup_map() local 70 if (sscanf(p, "%d %s", &id, namebuf) != 2) { in lookup_map() 78 strncpy(dst, namebuf, len - 1); in lookup_map() 100 char namebuf[512], *p = buf; in lookup_map_id() local 108 if (sscanf(p, "%d %s", &id, namebuf) != 2) { in lookup_map_id() 114 if (!strcasecmp(namebuf, kind)) { in lookup_map_id()
|
/external/curl/lib/vtls/ |
D | openssl.c | 2266 char namebuf[32]; in pubkey_show() local 2273 snprintf(namebuf, sizeof(namebuf), "%s(%s)", type, name); in pubkey_show() 2279 infof(data, " %s: %s\n", namebuf, buffer); in pubkey_show() 2280 Curl_ssl_push_certinfo(data, num, namebuf, buffer); in pubkey_show() 2314 char namebuf[128]; in X509V3_ext() local 2322 asn1_object_dump(obj, namebuf, sizeof(namebuf)); in X509V3_ext() 2324 infof(data, "%s: %s\n", namebuf, in X509V3_ext() 2349 Curl_ssl_push_certinfo(data, certnum, namebuf, buf); in X509V3_ext()
|
/external/fsck_msdos/ |
D | dir.c | 172 static char namebuf[MAXPATHLEN + 1]; in fullpath() local 176 cp = namebuf + sizeof namebuf - 1; in fullpath() 181 if ((cp -= nl) <= namebuf + 1) in fullpath()
|
/external/libevent/ |
D | evdns.c | 2711 char namebuf[256]; in request_new() local 2718 if (name_len >= sizeof(namebuf)) { in request_new() 2730 char randbits[(sizeof(namebuf)+7)/8]; in request_new() 2731 strlcpy(namebuf, name, sizeof(namebuf)); in request_new() 2734 if (EVUTIL_ISALPHA(namebuf[i])) { in request_new() 2736 namebuf[i] |= 0x20; in request_new() 2738 namebuf[i] &= ~0x20; in request_new() 2741 name = namebuf; in request_new()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211.c | 928 char namebuf[IFNAMSIZ]; in wpa_driver_nl80211_event_rtm_newlink() local 980 namebuf[0] = '\0'; in wpa_driver_nl80211_event_rtm_newlink() 981 if (if_indextoname(ifi->ifi_index, namebuf) && in wpa_driver_nl80211_event_rtm_newlink() 982 linux_iface_up(drv->global->ioctl_sock, namebuf) > 0) { in wpa_driver_nl80211_event_rtm_newlink() 984 "event since interface %s is up", namebuf); in wpa_driver_nl80211_event_rtm_newlink() 989 namebuf, ifname); in wpa_driver_nl80211_event_rtm_newlink() 1016 if (if_indextoname(ifi->ifi_index, namebuf) && in wpa_driver_nl80211_event_rtm_newlink() 1017 linux_iface_up(drv->global->ioctl_sock, namebuf) == 0) { in wpa_driver_nl80211_event_rtm_newlink() 1020 namebuf); in wpa_driver_nl80211_event_rtm_newlink() 1082 if (!if_indextoname(brid, namebuf)) { in wpa_driver_nl80211_event_rtm_newlink() [all …]
|
D | driver_wext.c | 639 char namebuf[IFNAMSIZ]; in wpa_driver_wext_event_rtm_newlink() local 662 if (if_indextoname(ifi->ifi_index, namebuf) && in wpa_driver_wext_event_rtm_newlink() 666 namebuf); in wpa_driver_wext_event_rtm_newlink()
|