/external/wpa_supplicant_8/src/ap/ |
taxonomy.c | 145 os_snprintf(wps, sizeof(wps), 150 ret = os_snprintf(fpos, fend - fpos, 156 os_snprintf(htcap, sizeof(htcap), 163 os_snprintf(htagg, sizeof(htagg), 168 os_snprintf(htmcs, sizeof(htmcs), 174 os_snprintf(vhtcap, sizeof(vhtcap), 181 os_snprintf(vhtrxmcs, sizeof(vhtrxmcs), 188 os_snprintf(vhttxmcs, sizeof(vhttxmcs), 199 p += os_snprintf(extcap, sizeof(extcap), 208 p += os_snprintf(p, lim, "%02x" [all...] |
ctrl_iface_ap.c | 39 ret = os_snprintf(buf, buflen, "rx_packets=%lu\ntx_packets=%lu\n" 60 ret = os_snprintf(buf, buflen, "connected_time=%u\n", 97 ret = os_snprintf(buf + len, buflen - len, MACSTR "\nflags=", 108 ret = os_snprintf(buf + len, buflen - len, "\naid=%d\ncapability=0x%x\n" 116 ret = os_snprintf(buf + len, buflen - len, "%02x%s", 124 ret = os_snprintf(buf + len, buflen - len, "\ntimeout_next=%s\n", 152 res = os_snprintf(buf + len, buflen - len, "sae_group=%d\n", 160 res = os_snprintf(buf + len, buflen - len, "vlan_id=%d\n", 172 len += os_snprintf(buf + len, buflen - len, "supp_op_classes="); 176 len += os_snprintf(buf + len, buflen - len, "\n") [all...] |
mbo_ap.c | 67 ret = os_snprintf(pos, end - pos, "%s%u", 126 ret = os_snprintf(pos, end - pos, "mbo_cell_capa=%u\n", sta->cell_capa); 134 ret = os_snprintf(pos2, end - pos2, 144 ret = os_snprintf(pos2, end - pos2, "%u%s", 157 ret = os_snprintf(pos2, end - pos2, "\n");
|
pmksa_cache_auth.c | 567 os_snprintf(buf, sizeof(buf), "%016llX", 639 ret = os_snprintf(pos, buf + len - pos, 647 ret = os_snprintf(pos, buf + len - pos, "%d " MACSTR " ", 654 ret = os_snprintf(pos, buf + len - pos, " %d %d\n", 702 ret = os_snprintf(pos, end - pos, MACSTR " ", 711 ret = os_snprintf(pos, end - pos, " "); 719 ret = os_snprintf(pos, end - pos, " %d\n",
|
vlan_full.c | 368 os_snprintf(vlan_ifname, sizeof(vlan_ifname), "%s.%d", 371 os_snprintf(vlan_ifname, sizeof(vlan_ifname), "vlan%d", vid); 392 os_snprintf(br_name, IFNAMSIZ, "%s%d", 395 os_snprintf(br_name, IFNAMSIZ, "br%s.%d", 398 os_snprintf(br_name, IFNAMSIZ, "brvlan%d", vid); 479 os_snprintf(vlan_ifname, sizeof(vlan_ifname), "%s.%d", 482 os_snprintf(vlan_ifname, sizeof(vlan_ifname), "vlan%d", vid);
|
/external/wpa_supplicant_8/src/fst/ |
fst_ctrl_iface.c | 50 os_snprintf(reject_str, sizeof(reject_str), "%u", 70 len = os_snprintf(buffer, size, 183 return os_snprintf(buf, buflen, "FAIL\n"); 191 return os_snprintf(buf, buflen, 222 return os_snprintf(buf, buflen, "FAIL\n"); 226 return os_snprintf(buf, buflen, "FAIL\n"); 241 return os_snprintf(buf, buflen, "FAIL\n"); 244 return os_snprintf(buf, buflen, "%s\n", ret ? "FAIL" : "OK"); 258 return os_snprintf(buf, buflen, "FAIL\n"); 266 return os_snprintf(buf, buflen, "FAIL\n") [all...] |
/external/wpa_supplicant_8/src/eapol_auth/ |
eapol_auth_dump.c | 130 ret = os_snprintf(pos, end - pos, "aWhile=%d\nquietWhile=%d\n" 138 ret = os_snprintf(pos, end - pos, 180 ret = os_snprintf(pos, end - pos, 222 ret = os_snprintf(pos, end - pos, 247 ret = os_snprintf(pos, end - pos, 258 ret = os_snprintf(pos, end - pos, 265 ret = os_snprintf(pos, end - pos, 274 ret = os_snprintf(pos, end - pos,
|
/external/wpa_supplicant_8/hostapd/ |
hostapd_cli.c | 264 os_snprintf(buf, sizeof(buf), "MIB %s", argv[0]); 282 os_snprintf(arg, len, "%s %s", arg1, arg2); 362 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s %s", 365 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s", argv[0]); 380 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s %s", 383 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s", argv[0]); 398 os_snprintf(buf, sizeof(buf), "SIGNATURE %s", argv[0]); 455 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s %s", 458 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s", 500 os_snprintf(buf, buflen, "WPS_NFC_TAG_READ %s", argv[0]) [all...] |
ctrl_iface.c | 210 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n"); 217 ret = os_snprintf(buf, buflen, "%s", pin); 453 return os_snprintf(buf, buflen, "OK\n"); 462 return os_snprintf(buf, buflen, "%s", pin_txt); 469 return os_snprintf(buf, buflen, "%s", pin_txt); 486 return os_snprintf(buf, buflen, "%s", pin); 546 ret = os_snprintf(pos, end - pos, "PBC Status: %s\n", 553 ret = os_snprintf(pos, end - pos, "Last WPS result: %s\n", 566 ret = os_snprintf(pos, end - pos, 576 ret = os_snprintf(pos, end - pos, "Peer Address: " MACSTR "\n" [all...] |
/external/wpa_supplicant_8/src/common/ |
cli.c | 98 os_snprintf(buf, sizeof(buf), MACSTR, MAC2STR(addr)); 147 os_snprintf(buf, sizeof(buf), MACSTR, MAC2STR(addr)); 219 res = os_snprintf(pos, end - pos, "%s", cmd); 225 res = os_snprintf(pos, end - pos, " %s", argv[i]);
|
wpa_ctrl.c | 119 ret = os_snprintf(ctrl->local.sun_path, 124 ret = os_snprintf(ctrl->local.sun_path, 180 os_snprintf(buf, sizeof(buf), "wpa_%s", ctrl_path); 265 dirnamelen = (size_t) os_snprintf(pathname, sizeof(pathname), "%s/", 449 os_snprintf(ps, WPA_CTRL_MAX_PS_NAME, "%s/%s", 659 ret = os_snprintf(name, 256, NAMED_PIPE_PREFIX); 661 ret = os_snprintf(name, 256, NAMED_PIPE_PREFIX "-%s",
|
/external/wpa_supplicant_8/src/utils/ |
uuid.c | 52 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
|
os.h | 454 * os_snprintf - Print to a memory buffer 466 * os_snprintf() should provide this guarantee, i.e., to null terminate the 474 int os_snprintf(char *str, size_t size, const char *format, ...); 548 #ifndef os_snprintf 550 #define os_snprintf _snprintf macro 552 #define os_snprintf snprintf macro
|
os_none.c | 238 int os_snprintf(char *str, size_t size, const char *format, ...) function
|
common.c | 202 res = os_snprintf(buf, len, MACSTR "/" MACSTR, 205 res = os_snprintf(buf, len, MACSTR, MAC2STR(addr)); 293 ret = os_snprintf(pos, end - pos, "%02x%c", 315 ret = os_snprintf(pos, end - pos, uppercase ? "%02X" : "%02x", 504 txt += os_snprintf(txt, end - txt, "\\x%02x", 850 res = os_snprintf(pos, end - pos, "%s%u", 853 res = os_snprintf(pos, end - pos, "%s%u-%u",
|
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface.c | 654 res = os_snprintf(buf, buflen, "%s", VERSION_STR); 657 res = os_snprintf(buf, buflen, "%c%c", 668 res = os_snprintf(buf, buflen, "%d", enabled); 832 ret = os_snprintf(buf, buflen, "%s\n", 960 ret = os_snprintf(buf, buflen, "TDLS link status: %s\n", tdls_status); 1133 ret = os_snprintf(buf, buflen, "%s", pin); 1145 ret = os_snprintf(buf, buflen, "%08d", ret); 1182 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n"); 1189 ret = os_snprintf(buf, buflen, "%s", pin); [all...] |
wpa_cli.c | 156 res = os_snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, 232 os_snprintf(buf, sizeof(buf), "IFNAME=%s %s", 415 res = os_snprintf(cmd, sizeof(cmd), "SET %s ", argv[0]); 669 res = os_snprintf(cmd, sizeof(cmd), "BSS_FLUSH 0"); 671 res = os_snprintf(cmd, sizeof(cmd), "BSS_FLUSH %s", argv[0]); 766 os_snprintf(buf, buflen, "WPS_NFC_TAG_READ %s", argv[0]); 804 res = os_snprintf(cmd, sizeof(cmd), "WPS_REG %s %s", 815 os_snprintf(&ssid_hex[i * 2], 3, "%02x", argv[2][i]); 823 os_snprintf(&key_hex[i * 2], 3, "%02x", 828 res = os_snprintf(cmd, sizeof(cmd) [all...] |
mesh.c | 508 ret = os_snprintf(pos, end - pos, "mesh_id=%s\n", mesh_id); 515 ret = os_snprintf(pos, end - pos, 551 ret = os_snprintf(pos, end - pos, "bss_basic_rate_set=%d", 558 ret = os_snprintf(pos, end - pos, " %d", 565 ret = os_snprintf(pos, end - pos, "\n"); 590 res = os_snprintf(ifname, len, "mesh-%s-%d", ifname_ptr, 596 res = os_snprintf(ifname, len, "mesh-%d", wpa_s->mesh_if_idx);
|
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_android.c | 109 os_snprintf(&buf[bp], WEXT_PNO_SCAN_INTERVAL_LENGTH + 1, "%x", 114 os_snprintf(&buf[bp], WEXT_PNO_REPEAT_LENGTH + 1, "%x", 119 os_snprintf(&buf[bp], WEXT_PNO_MAX_REPEAT_LENGTH + 1, "%x",
|
rfkill.c | 117 os_snprintf(buf, sizeof(buf), "/sys/class/net/%s/phy80211", 158 os_snprintf(buf2, sizeof(buf2),
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_sim_db.c | 89 os_snprintf(cmd, sizeof(cmd), "SELECT 1 FROM %s;", name); 192 os_snprintf(cmd, sizeof(cmd), "INSERT OR REPLACE INTO pseudonyms " 231 os_snprintf(cmd, sizeof(cmd), 257 pos += os_snprintf(pos, end - pos, "INSERT OR REPLACE INTO reauth " 268 pos += os_snprintf(pos, end - pos, ", '"); 270 pos += os_snprintf(pos, end - pos, "'"); 274 pos += os_snprintf(pos, end - pos, ", '"); 277 pos += os_snprintf(pos, end - pos, "'"); 281 pos += os_snprintf(pos, end - pos, ", '"); 284 pos += os_snprintf(pos, end - pos, "'") [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps.c | 560 ret = os_snprintf(pos, end - pos, 563 ret = os_snprintf(pos, end - pos, 573 ret = os_snprintf(pos, end - pos, 581 ret = os_snprintf(pos, end - pos, 589 ret = os_snprintf(pos, end - pos, 598 ret = os_snprintf(pos, end - pos, 609 ret = os_snprintf(pos, end - pos, 632 ret = os_snprintf(pos, end - pos, "wps_device_name=%s\n", str); 640 ret = os_snprintf(pos, end - pos,
|
/external/wpa_supplicant_8/hs20/client/ |
est.c | 133 os_snprintf(buf, buflen, "%s/cacerts", url); 449 os_snprintf(name, sizeof(name), "cert-user-%u", val); 603 os_snprintf(buf, buflen, "%s/csrattrs", url); 649 os_snprintf(old_cert_buf, sizeof(old_cert_buf), 697 os_snprintf(buf, buflen, "%s/simplereenroll", url); 698 os_snprintf(client_cert_buf, sizeof(client_cert_buf), 701 os_snprintf(client_key_buf, sizeof(client_key_buf), 705 os_snprintf(buf, buflen, "%s/simpleenroll", url);
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_old_handlers_wps.c | 108 os_snprintf(npin, sizeof(npin), "%08d", ret);
|
dbus_new.c | 380 os_snprintf(net_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 483 os_snprintf(net_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 516 os_snprintf(path, WPAS_DBUS_OBJECT_PATH_MAX, 888 os_snprintf(sta_mac, WPAS_DBUS_OBJECT_PATH_MAX, MACSTR, MAC2STR(sta)); 1062 os_snprintf(pin, sizeof(pin), "%08d", generated_pin); 1075 os_snprintf(peer_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, [all...] |