| /src/external/bsd/wpa/dist/src/common/ |
| ocv.c | 108 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), 114 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), 125 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), 132 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), 141 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), 155 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr), 167 os_snprintf(ocv_errorstr, sizeof(ocv_errorstr),
|
| 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]);
|
| ptksa_cache.c | 177 ret = os_snprintf(pos, buf + len - pos, 184 ret = os_snprintf(pos, buf + len - pos, "%u " MACSTR, 190 ret = os_snprintf(pos, buf + len - pos, " %s %lu ", 203 ret = os_snprintf(pos, buf + len - pos, " "); 214 ret = os_snprintf(pos, buf + len - pos, "\n");
|
| wpa_ctrl.c | 121 ret = os_snprintf(ctrl->local.sun_path, 126 ret = os_snprintf(ctrl->local.sun_path, 194 os_snprintf(buf, sizeof(buf), "wpa_%s", ctrl_path); 278 dirnamelen = (size_t) os_snprintf(pathname, sizeof(pathname), "%s/", 462 os_snprintf(ps, WPA_CTRL_MAX_PS_NAME, "%s/%s", 683 ret = os_snprintf(name, 256, NAMED_PIPE_PREFIX); 685 ret = os_snprintf(name, 256, NAMED_PIPE_PREFIX "-%s",
|
| /src/external/bsd/wpa/dist/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 | 36 ret = os_snprintf(buf + len, buflen - len, 45 ret = os_snprintf(buf + len, buflen - len, "\n"); 73 ret = os_snprintf(buf, buflen, "connected_time=%lu\n", secs); 91 ret = os_snprintf(buf, buflen, "rx_packets=%lu\ntx_packets=%lu\n" 101 ret = os_snprintf(buf + len, buflen - len, "rx_rate_info=%lu", 107 ret = os_snprintf(buf + len, buflen - len, " mcs %u", 113 ret = os_snprintf(buf + len, buflen - len, " vhtmcs %u", 119 ret = os_snprintf(buf + len, buflen - len, " vhtnss %u", 125 ret = os_snprintf(buf + len, buflen - len, " shortGI"); 129 ret = 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 | 588 os_snprintf(buf, sizeof(buf), "%016llX", 660 ret = os_snprintf(pos, buf + len - pos, 668 ret = os_snprintf(pos, buf + len - pos, "%d " MACSTR " ", 675 ret = os_snprintf(pos, buf + len - pos, " %d %d\n", 723 ret = os_snprintf(pos, end - pos, MACSTR " ", 732 ret = os_snprintf(pos, end - pos, " "); 740 ret = os_snprintf(pos, end - pos, " %d\n",
|
| vlan_full.c | 396 ret = os_snprintf(vlan_ifname, sizeof(vlan_ifname), "%s.%d", 399 ret = os_snprintf(vlan_ifname, sizeof(vlan_ifname), "vlan%d", 430 ret = os_snprintf(br_name, IFNAMSIZ, "%s%d", 433 ret = os_snprintf(br_name, IFNAMSIZ, "br%s.%d", 436 ret = os_snprintf(br_name, IFNAMSIZ, "brvlan%d", vid); 522 ret = os_snprintf(vlan_ifname, sizeof(vlan_ifname), "%s.%d", 525 ret = os_snprintf(vlan_ifname, sizeof(vlan_ifname), "vlan%d",
|
| /src/external/bsd/wpa/dist/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...] |
| /src/external/bsd/wpa/dist/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,
|
| /src/external/bsd/wpa/dist/hostapd/ |
| hostapd_cli.c | 274 os_snprintf(buf, sizeof(buf), "MIB %s", argv[0]); 292 os_snprintf(arg, len, "%s %s", arg1, arg2); 378 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s %s", 381 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s", argv[0]); 396 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s %s", 399 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s", argv[0]); 414 os_snprintf(buf, sizeof(buf), "SIGNATURE %s", argv[0]); 469 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s %s", 472 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s", 514 os_snprintf(buf, buflen, "WPS_NFC_TAG_READ %s", argv[0]) [all...] |
| ctrl_iface.c | 220 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n"); 227 ret = os_snprintf(buf, buflen, "%s", pin); 463 return os_snprintf(buf, buflen, "OK\n"); 472 return os_snprintf(buf, buflen, "%s", pin_txt); 479 return os_snprintf(buf, buflen, "%s", pin_txt); 496 return os_snprintf(buf, buflen, "%s", pin); 556 ret = os_snprintf(pos, end - pos, "PBC Status: %s\n", 563 ret = os_snprintf(pos, end - pos, "Last WPS result: %s\n", 576 ret = os_snprintf(pos, end - pos, 586 ret = os_snprintf(pos, end - pos, "Peer Address: " MACSTR "\n" [all...] |
| /src/external/bsd/wpa/dist/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),
|
| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| ctrl_iface.c | 986 res = os_snprintf(buf, buflen, "%s", VERSION_STR); 988 res = os_snprintf(buf, buflen, "%u", CTRL_IFACE_MAX_LEN); 991 res = os_snprintf(buf, buflen, "%c%c", 1002 res = os_snprintf(buf, buflen, "%d", enabled); 1020 res = os_snprintf(buf, buflen, "%d", wpa_s->last_tk_key_idx); 1153 ret = os_snprintf(buf, buflen, "%s\n", 1281 ret = os_snprintf(buf, buflen, "TDLS link status: %s\n", tdls_status); 1473 ret = os_snprintf(buf, buflen, "%s", pin); 1485 ret = os_snprintf(buf, buflen, "%08d", ret); 1522 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n") [all...] |
| wpa_cli.c | 163 res = os_snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, 272 os_snprintf(buf, sizeof(buf), "IFNAME=%s %s", 465 res = os_snprintf(cmd, sizeof(cmd), "SET %s ", argv[0]); 736 res = os_snprintf(cmd, sizeof(cmd), "BSS_FLUSH 0"); 738 res = os_snprintf(cmd, sizeof(cmd), "BSS_FLUSH %s", argv[0]); 826 os_snprintf(buf, buflen, "WPS_NFC_TAG_READ %s", argv[0]); 864 res = os_snprintf(cmd, sizeof(cmd), "WPS_REG %s %s", 875 os_snprintf(&ssid_hex[i * 2], 3, "%02x", argv[2][i]); 883 os_snprintf(&key_hex[i * 2], 3, "%02x", 888 res = os_snprintf(cmd, sizeof(cmd) [all...] |
| config.c | 268 res = os_snprintf(value, 20, "%d", *src); 406 res = os_snprintf(value, 20, MACSTR, MAC2STR(ssid->bssid)); 451 res = os_snprintf(value, 20, MACSTR, MAC2STR(ssid->bssid_hint)); 647 res = os_snprintf(buf, len, "ext:%s", ssid->ext_psk); 737 ret = os_snprintf(pos, end - pos, "%sWPA", 745 ret = os_snprintf(pos, end - pos, "%sRSN", 753 ret = os_snprintf(pos, end - pos, "%sOSEN", 905 ret = os_snprintf(pos, end - pos, "%sWPA-PSK", 915 ret = os_snprintf(pos, end - pos, "%sWPA-EAP", 925 ret = os_snprintf(pos, end - pos, "%sIEEE8021X" [all...] |
| robust_av.c | 964 res = os_snprintf(pos, rem_len, " src_ip=%s", addr); 979 res = os_snprintf(pos, rem_len, " dst_ip=%s", addr); 988 res = os_snprintf(pos, rem_len, " src_port=%d", v4->src_port); 997 res = os_snprintf(pos, rem_len, " dst_port=%d", v4->dst_port); 1006 res = os_snprintf(pos, rem_len, " protocol=%d", v4->protocol); 1034 res = os_snprintf(pos, rem_len, " src_ip=%s", addr); 1049 res = os_snprintf(pos, rem_len, " dst_ip=%s", addr); 1058 res = os_snprintf(pos, rem_len, " src_port=%d", v6->src_port); 1067 res = os_snprintf(pos, rem_len, " dst_port=%d", v6->dst_port); 1076 res = os_snprintf(pos, rem_len, " protocol=%d" [all...] |
| /src/external/bsd/wpa/dist/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...] |
| /src/external/bsd/wpa/dist/src/utils/ |
| uuid.c | 53 len = os_snprintf(str, max_len, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
|
| os.h | 474 * os_snprintf - Print to a memory buffer 486 * os_snprintf() should provide this guarantee, i.e., to null terminate the 494 int os_snprintf(char *str, size_t size, const char *format, ...); 568 #ifndef os_snprintf 570 #define os_snprintf _snprintf macro 572 #define os_snprintf snprintf macro
|
| os_none.c | 238 int os_snprintf(char *str, size_t size, const char *format, ...) function
|
| /src/external/bsd/wpa/dist/src/wps/ |
| wps.c | 559 ret = os_snprintf(pos, end - pos, 562 ret = os_snprintf(pos, end - pos, 572 ret = os_snprintf(pos, end - pos, 580 ret = os_snprintf(pos, end - pos, 588 ret = os_snprintf(pos, end - pos, 597 ret = os_snprintf(pos, end - pos, 608 ret = os_snprintf(pos, end - pos, 631 ret = os_snprintf(pos, end - pos, "wps_device_name=%s\n", str); 639 ret = os_snprintf(pos, end - pos,
|
| /src/external/bsd/wpa/dist/hs20/client/ |
| est.c | 131 os_snprintf(buf, buflen, "%s/cacerts", url); 435 os_snprintf(name, sizeof(name), "cert-user-%u", val); 589 os_snprintf(buf, buflen, "%s/csrattrs", url); 634 os_snprintf(old_cert_buf, sizeof(old_cert_buf), 681 os_snprintf(buf, buflen, "%s/simplereenroll", url); 682 os_snprintf(client_cert_buf, sizeof(client_cert_buf), 685 os_snprintf(client_key_buf, sizeof(client_key_buf), 689 os_snprintf(buf, buflen, "%s/simpleenroll", url);
|