/external/wpa_supplicant_8/src/wps/ |
wps_ufd.c | 88 os_snprintf(file_name, 13, "00000000.WSC"); 93 os_snprintf(temp, sizeof(temp), UFD_DIR2, path); 99 os_snprintf(file_name, 13, "%02X%02X%02X%02X.WFA", 105 os_snprintf(file_name, 13, "00000000.WFA"); 148 os_snprintf(temp, sizeof(temp), UFD_DIR1, path); 151 os_snprintf(temp, sizeof(temp), UFD_DIR2, path); 156 os_snprintf(temp, sizeof(temp), UFD_FILE, path, filename);
|
wps.c | 540 ret = os_snprintf(pos, end - pos, 543 ret = os_snprintf(pos, end - pos, 553 ret = os_snprintf(pos, end - pos, 561 ret = os_snprintf(pos, end - pos, 569 ret = os_snprintf(pos, end - pos, 578 ret = os_snprintf(pos, end - pos, 589 ret = os_snprintf(pos, end - pos, 611 ret = os_snprintf(pos, end - pos, "wps_device_name=%s\n", str); 619 ret = os_snprintf(pos, end - pos,
|
/external/wpa_supplicant/ |
ctrl_iface.c | 216 ret = os_snprintf(pos, end - pos, "bssid=" MACSTR "\n", 233 ret = os_snprintf(pos, end - pos, "ssid=%s\nid=%d\n", 241 ret = os_snprintf(pos, end - pos, 252 ret = os_snprintf(pos, end - pos, "wpa_state=%s\n", 260 ret = os_snprintf(pos, end - pos, "ip_address=%s\n", tmp); 334 ret = os_snprintf(pos, end-pos, 382 ret = os_snprintf(pos, end - pos, 390 ret = os_snprintf(pos, end - pos, "%d\t%s", 397 ret = os_snprintf(pos, end - pos, "\t" MACSTR, 400 ret = os_snprintf(pos, end - pos, "\tany") [all...] |
wpa_cli.c | 199 os_snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, ifname); 358 res = os_snprintf(cmd, sizeof(cmd), "SET %s %s", argv[0], argv[1]); 398 res = os_snprintf(cmd, sizeof(cmd), "PREAUTH %s", argv[0]); 417 res = os_snprintf(cmd, sizeof(cmd), "AP_SCAN %s", argv[0]); 438 res = os_snprintf(cmd, sizeof(cmd), "STKSTART %s", argv[0]); 457 res = os_snprintf(cmd, sizeof(cmd), "LEVEL %s", argv[0]); 479 ret = os_snprintf(pos, end - pos, WPA_CTRL_RSP "IDENTITY-%s:%s", 487 ret = os_snprintf(pos, end - pos, " %s", argv[i]); 512 ret = os_snprintf(pos, end - pos, WPA_CTRL_RSP "PASSWORD-%s:%s", 520 ret = os_snprintf(pos, end - pos, " %s", argv[i]) [all...] |
os.h | 358 * os_snprintf - Print to a memory buffer 370 * os_snprintf() should provide this guarantee, i.e., to null terminate the 378 int os_snprintf(char *str, size_t size, const char *format, ...); 448 #ifndef os_snprintf 450 #define os_snprintf _snprintf macro 452 #define os_snprintf snprintf macro
|
config.c | 278 os_snprintf(value, 20, "%d", *src); 310 os_snprintf(value, 20, MACSTR, MAC2STR(ssid->bssid)); 445 ret = os_snprintf(pos, end - pos, "%sWPA", first ? "" : " "); 453 ret = os_snprintf(pos, end - pos, "%sRSN", first ? "" : " "); 532 ret = os_snprintf(pos, end - pos, "%sWPA-PSK", 542 ret = os_snprintf(pos, end - pos, "%sWPA-EAP", 552 ret = os_snprintf(pos, end - pos, "%sIEEE8021X", 562 ret = os_snprintf(pos, end - pos, "%sNONE", 572 ret = os_snprintf(pos, end - pos, "%sWPA-NONE", 648 ret = os_snprintf(pos, end - pos, "%sCCMP" [all...] |
driver_test.c | 83 os_snprintf(addr.sun_path, sizeof(addr.sun_path), "%s/%s", 184 os_snprintf(drv->hostapd_addr.sun_path, 196 ret = os_snprintf(pos, end - pos, "ASSOC " MACSTR " ", 202 ret = os_snprintf(pos, end - pos, " "); 535 os_snprintf(drv->own_socket_path, len, "%s/STA-" MACSTR, 541 os_snprintf(drv->own_socket_path, 100, 673 os_snprintf(addr.sun_path, sizeof(addr.sun_path), 676 os_snprintf(addr.sun_path, sizeof(addr.sun_path), 822 os_snprintf(addr.sun_path, sizeof(addr.sun_path), 837 os_snprintf(addr.sun_path, sizeof(addr.sun_path) [all...] |
os_none.c | 216 int os_snprintf(char *str, size_t size, const char *format, ...) function
|
/external/wpa_supplicant_8/wpa_supplicant/ |
wpa_cli.c | 187 res = os_snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, 312 ret = os_snprintf(cmd, sizeof(cmd), "NOTE %s", argv[0]); 390 res = os_snprintf(cmd, sizeof(cmd), "SET %s %s", argv[0], argv[1]); 410 res = os_snprintf(cmd, sizeof(cmd), "GET %s", argv[0]); 450 res = os_snprintf(cmd, sizeof(cmd), "PREAUTH %s", argv[0]); 469 res = os_snprintf(cmd, sizeof(cmd), "AP_SCAN %s", argv[0]); 489 res = os_snprintf(cmd, sizeof(cmd), "SCAN_INTERVAL %s", argv[0]); 509 res = os_snprintf(cmd, sizeof(cmd), "BSS_EXPIRE_AGE %s", argv[0]); 529 res = os_snprintf(cmd, sizeof(cmd), "BSS_EXPIRE_COUNT %s", argv[0]); 550 res = os_snprintf(cmd, sizeof(cmd), "STKSTART %s", argv[0]) [all...] |
ctrl_iface.c | 148 res = os_snprintf(buf, buflen, "%s", VERSION_STR); 151 res = os_snprintf(buf, buflen, "%c%c", 393 ret = os_snprintf(buf, buflen, "%s", pin); 404 ret = os_snprintf(buf, buflen, "%08d", ret); 441 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n"); 448 ret = os_snprintf(buf, buflen, "%s", pin); 550 return os_snprintf(buf, buflen, "OK\n"); 559 return os_snprintf(buf, buflen, "%s", pin_txt); 566 return os_snprintf(buf, buflen, "%s", pin_txt); 583 return os_snprintf(buf, buflen, "%s", pin) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
ctrl_iface.c | 189 ret = os_snprintf(buf, buflen, "%s", pin); 200 ret = os_snprintf(buf, buflen, "%08d", ret); 327 ret = os_snprintf(pos, end - pos, "bssid=" MACSTR "\n", 344 ret = os_snprintf(pos, end - pos, "ssid=%s\nid=%d\n", 352 ret = os_snprintf(pos, end - pos, 363 ret = os_snprintf(pos, end - pos, "wpa_state=%s\n", 371 ret = os_snprintf(pos, end - pos, "ip_address=%s\n", tmp); 453 ret = os_snprintf(pos, end-pos, MACSTR"\n", MAC2STR(e->bssid)); 506 ret = os_snprintf(pos, end-pos, "Current level: %d\n" 549 ret = os_snprintf(pos, end - pos [all...] |
wpa_cli.c | 154 res = os_snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, ifname); 317 res = os_snprintf(cmd, sizeof(cmd), "SET %s %s", argv[0], argv[1]); 357 res = os_snprintf(cmd, sizeof(cmd), "PREAUTH %s", argv[0]); 376 res = os_snprintf(cmd, sizeof(cmd), "AP_SCAN %s", argv[0]); 397 res = os_snprintf(cmd, sizeof(cmd), "STKSTART %s", argv[0]); 417 res = os_snprintf(cmd, sizeof(cmd), "FT_DS %s", argv[0]); 437 res = os_snprintf(cmd, sizeof(cmd), "WPS_PBC %s", argv[0]); 461 res = os_snprintf(cmd, sizeof(cmd), "WPS_PIN %s", argv[0]); 470 res = os_snprintf(cmd, sizeof(cmd), "WPS_PIN %s %s", argv[0], argv[1]); 491 res = os_snprintf(cmd, sizeof(cmd), "WPS_REG %s %s", argv[0], argv[1]) [all...] |
config.c | 291 res = os_snprintf(value, 20, "%d", *src); 330 res = os_snprintf(value, 20, MACSTR, MAC2STR(ssid->bssid)); 479 ret = os_snprintf(pos, end - pos, "%sWPA", first ? "" : " "); 487 ret = os_snprintf(pos, end - pos, "%sRSN", first ? "" : " "); 584 ret = os_snprintf(pos, end - pos, "%sWPA-PSK", 594 ret = os_snprintf(pos, end - pos, "%sWPA-EAP", 604 ret = os_snprintf(pos, end - pos, "%sIEEE8021X", 614 ret = os_snprintf(pos, end - pos, "%sNONE", 624 ret = os_snprintf(pos, end - pos, "%sWPA-NONE", 635 pos += os_snprintf(pos, end - pos, "%sFT-PSK" [all...] |
/external/wpa_supplicant_8/src/ap/ |
ctrl_iface_ap.c | 35 ret = os_snprintf(buf, buflen, "FAIL\n"); 42 ret = os_snprintf(buf + len, buflen - len, MACSTR "\n", 83 ret = os_snprintf(buf, buflen, "FAIL\n"); 102 ret = os_snprintf(buf, buflen, "FAIL\n");
|
accounting.c | 59 os_snprintf(buf, sizeof(buf), "%08X-%08X", 87 os_snprintf(buf, sizeof(buf), RADIUS_ADDR_FORMAT, 130 os_snprintf(buf, sizeof(buf), RADIUS_802_1X_ADDR_FORMAT ":%s", 139 os_snprintf(buf, sizeof(buf), RADIUS_802_1X_ADDR_FORMAT, 154 os_snprintf(buf, sizeof(buf), "CONNECT %d%sMbps %s",
|
/external/wpa_supplicant_8/hostapd/ |
ctrl_iface.c | 409 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n"); 416 ret = os_snprintf(buf, buflen, "%s", pin); 461 return os_snprintf(buf, buflen, "OK\n"); 470 return os_snprintf(buf, buflen, "%s", pin_txt); 477 return os_snprintf(buf, buflen, "%s", pin_txt); 494 return os_snprintf(buf, buflen, "%s", pin); 538 ret = os_snprintf(pos, end - pos, "bssid=" MACSTR "\n" 547 ret = os_snprintf(pos, end - pos, "wps_state=%s\n", 557 ret = os_snprintf(pos, end - pos, "passphrase=%s\n", 570 ret = os_snprintf(pos, end - pos, "psk=%s\n", hex) [all...] |
hostapd_cli.c | 248 res = os_snprintf(cmd, len, "%s %s %s", program, arg1, arg2); 318 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s %s", 321 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s", argv[0]); 336 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s %s", 339 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s", argv[0]); 395 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s %s", 398 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s", 435 res = os_snprintf(cmd, sizeof(cmd), "WPS_OOB %s %s %s", 438 res = os_snprintf(cmd, sizeof(cmd), "WPS_OOB %s %s %s %s", 488 os_snprintf(&ssid_hex[i * 2], 3, "%02x", argv[0][i]) [all...] |
/external/wpa_supplicant_8/src/utils/ |
uuid.c | 58 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
|
os.h | 358 * os_snprintf - Print to a memory buffer 370 * os_snprintf() should provide this guarantee, i.e., to null terminate the 378 int os_snprintf(char *str, size_t size, const char *format, ...); 455 #ifndef os_snprintf 457 #define os_snprintf _snprintf macro 459 #define os_snprintf snprintf macro
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
os.h | 358 * os_snprintf - Print to a memory buffer 370 * os_snprintf() should provide this guarantee, i.e., to null terminate the 378 int os_snprintf(char *str, size_t size, const char *format, ...); 448 #ifndef os_snprintf 450 #define os_snprintf _snprintf macro 452 #define os_snprintf snprintf macro
|
os_none.c | 222 int os_snprintf(char *str, size_t size, const char *format, ...) function
|
uuid.c | 60 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new.c | 319 os_snprintf(net_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 412 os_snprintf(path, WPAS_DBUS_OBJECT_PATH_MAX, 814 os_snprintf(pin, sizeof(pin), "%08d", generated_pin); 827 os_snprintf(peer_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 876 os_snprintf(peer_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 913 os_snprintf(group_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 977 os_snprintf(net_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 1113 os_snprintf(groupmember_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, 1167 os_snprintf(groupmember_obj_path, WPAS_DBUS_OBJECT_PATH_MAX, [all...] |
/external/wpa_supplicant_8/src/p2p/ |
p2p_parse.c | 553 ret = os_snprintf(pos, end - pos, "p2p_group_client: " 561 ret = os_snprintf(pos, end - pos, 573 ret = os_snprintf(pos, end - pos, " dev_type=%s", 591 ret = os_snprintf(pos, end - pos, " dev_name='%s'\n", name); 622 ret = os_snprintf(pos, end - pos, 633 ret = os_snprintf(pos, end - pos, 643 ret = os_snprintf(pos, end - pos, "p2p_device_name=%s\n", 650 ret = os_snprintf(pos, end - pos, "p2p_device_addr=" MACSTR 658 ret = os_snprintf(pos, end - pos, "p2p_config_methods=0x%x\n",
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
driver_test.c | 121 ret = os_snprintf(pos, end - pos, "SCAN " MACSTR, 126 ret = os_snprintf(pos, end - pos, " "); 141 os_snprintf(addr.sun_path, sizeof(addr.sun_path), "%s/%s", 271 os_snprintf(drv->hostapd_addr.sun_path, 285 ret = os_snprintf(pos, end - pos, "ASSOC " MACSTR " ", 291 ret = os_snprintf(pos, end - pos, " "); 665 os_snprintf(drv->own_socket_path, len, "%s/STA-" MACSTR, 671 os_snprintf(drv->own_socket_path, 100, 883 os_snprintf(addr_un.sun_path, sizeof(addr_un.sun_path), 886 os_snprintf(addr_un.sun_path, sizeof(addr_un.sun_path) [all...] |