HomeSort by relevance Sort by last modified time
    Searched refs:os_snprintf (Results 1 - 25 of 119) sorted by null

1 2 3 4 5

  /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/hostapd/
hostapd_cli.c 235 res = os_snprintf(pos, end - pos, "%s", cmd);
241 res = os_snprintf(pos, end - pos, " %s", argv[i]);
296 os_snprintf(buf, sizeof(buf), "MIB %s", argv[0]);
314 os_snprintf(arg, len, "%s %s", arg1, arg2);
379 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s %s",
382 os_snprintf(buf, sizeof(buf), "DEAUTHENTICATE %s", argv[0]);
397 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s %s",
400 os_snprintf(buf, sizeof(buf), "DISASSOCIATE %s", argv[0]);
456 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s %s",
459 res = os_snprintf(cmd, sizeof(cmd), "WPS_CHECK_PIN %s"
    [all...]
ctrl_iface.c 207 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n");
214 ret = os_snprintf(buf, buflen, "%s", pin);
450 return os_snprintf(buf, buflen, "OK\n");
459 return os_snprintf(buf, buflen, "%s", pin_txt);
466 return os_snprintf(buf, buflen, "%s", pin_txt);
483 return os_snprintf(buf, buflen, "%s", pin);
543 ret = os_snprintf(pos, end - pos, "PBC Status: %s\n",
550 ret = os_snprintf(pos, end - pos, "Last WPS result: %s\n",
563 ret = os_snprintf(pos, end - pos,
573 ret = os_snprintf(pos, end - pos, "Peer Address: " MACSTR "\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/src/ap/
ctrl_iface_ap.c 38 ret = os_snprintf(buf, buflen, "rx_packets=%lu\ntx_packets=%lu\n"
59 ret = os_snprintf(buf, buflen, "connected_time=%u\n",
96 ret = os_snprintf(buf + len, buflen - len, MACSTR "\nflags=",
107 ret = os_snprintf(buf + len, buflen - len, "\naid=%d\ncapability=0x%x\n"
115 ret = os_snprintf(buf + len, buflen - len, "%02x%s",
123 ret = os_snprintf(buf + len, buflen - len, "\ntimeout_next=%s\n",
151 res = os_snprintf(buf + len, buflen - len, "sae_group=%d\n",
159 res = os_snprintf(buf + len, buflen - len, "vlan_id=%d\n",
171 len += os_snprintf(buf + len, buflen - len, "supp_op_classes=");
175 len += os_snprintf(buf + len, buflen - len, "\n")
    [all...]
mbo_ap.c 68 ret = os_snprintf(pos, end - pos, "%s%u",
127 ret = os_snprintf(pos, end - pos, "mbo_cell_capa=%u\n", sta->cell_capa);
135 ret = os_snprintf(pos2, end - pos2,
145 ret = os_snprintf(pos2, end - pos2, "%u%s",
158 ret = os_snprintf(pos2, end - pos2, "\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);
vlan_ioctl.c 87 os_snprintf(if_request.device1, sizeof(if_request.device1), "vlan%d",
  /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",
827 res = os_snprintf(pos, end - pos, "%s%u",
830 res = os_snprintf(pos, end - pos, "%s%u-%u",
  /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/wpa_supplicant/
ctrl_iface.c 519 res = os_snprintf(buf, buflen, "%s", VERSION_STR);
522 res = os_snprintf(buf, buflen, "%c%c",
533 res = os_snprintf(buf, buflen, "%d", enabled);
697 ret = os_snprintf(buf, buflen, "%s\n",
825 ret = os_snprintf(buf, buflen, "TDLS link status: %s\n", tdls_status);
998 ret = os_snprintf(buf, buflen, "%s", pin);
1010 ret = os_snprintf(buf, buflen, "%08d", ret);
1047 ret = os_snprintf(buf, buflen, "FAIL-CHECKSUM\n");
1054 ret = os_snprintf(buf, buflen, "%s", pin);
    [all...]
wpa_cli.c 176 os_snprintf(buf, sizeof(buf), MACSTR, MAC2STR(addr));
225 os_snprintf(buf, sizeof(buf), MACSTR, MAC2STR(addr));
354 res = os_snprintf(cfile, flen, "%s/%s", ctrl_iface_dir,
430 os_snprintf(buf, sizeof(buf), "IFNAME=%s %s",
470 res = os_snprintf(pos, end - pos, "%s", cmd);
476 res = os_snprintf(pos, end - pos, " %s", argv[i]);
610 res = os_snprintf(cmd, sizeof(cmd), "SET %s ", argv[0]);
853 res = os_snprintf(cmd, sizeof(cmd), "BSS_FLUSH 0");
855 res = os_snprintf(cmd, sizeof(cmd), "BSS_FLUSH %s", argv[0]);
950 os_snprintf(buf, buflen, "WPS_NFC_TAG_READ %s", argv[0])
    [all...]
mesh.c 468 ret = os_snprintf(pos, end - pos, "mesh_id=%s\n", mesh_id);
475 ret = os_snprintf(pos, end - pos,
511 ret = os_snprintf(pos, end - pos, "bss_basic_rate_set=%d",
518 ret = os_snprintf(pos, end - pos, " %d",
525 ret = os_snprintf(pos, end - pos, "\n");
550 res = os_snprintf(ifname, len, "mesh-%s-%d", ifname_ptr,
556 res = os_snprintf(ifname, len, "mesh-%d", wpa_s->mesh_if_idx);
config.c 250 res = os_snprintf(value, 20, "%d", *src);
388 res = os_snprintf(value, 20, MACSTR, MAC2STR(ssid->bssid));
527 res = os_snprintf(buf, len, "ext:%s", ssid->ext_psk);
617 ret = os_snprintf(pos, end - pos, "%sWPA",
625 ret = os_snprintf(pos, end - pos, "%sRSN",
633 ret = os_snprintf(pos, end - pos, "%sOSEN",
755 ret = os_snprintf(pos, end - pos, "%sWPA-PSK",
765 ret = os_snprintf(pos, end - pos, "%sWPA-EAP",
775 ret = os_snprintf(pos, end - pos, "%sIEEE8021X",
785 ret = os_snprintf(pos, end - pos, "%sNONE"
    [all...]
  /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...]
  /external/wpa_supplicant_8/src/common/
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/crypto/
tls_none.c 194 return os_snprintf(buf, buf_len, "none");

Completed in 1584 milliseconds

1 2 3 4 5