Searched refs:snprintf (Results 1 - 25 of 1021) sorted by last modified time

1234567891011>>

/external/yaffs2/yaffs2/utils/
H A Dmkyaffs2image.c366 ret = snprintf(dest_name,
373 "snprintf failed on %s%s\n",
/external/zlib/src/
H A Dconfigure536 # return value. The most secure result is vsnprintf() with a return value. snprintf() with a
652 snprintf(buf, sizeof(buf), "%s", "foo");
662 echo "Checking for snprintf() in stdio.h... Yes." | tee -a configure.log
670 return snprintf(buf, sizeof(buf), "%s", "foo");
679 echo "Checking for return value of snprintf()... Yes." | tee -a configure.log
683 echo "Checking for return value of snprintf()... No." | tee -a configure.log
684 echo " WARNING: apparently snprintf() does not return a value. zlib" | tee -a configure.log
691 echo "Checking for snprintf() in stdio.h... No." | tee -a configure.log
692 echo " WARNING: snprintf() not found, falling back to sprintf(). zlib" | tee -a configure.log
H A Dgzguts.h98 /* unlike snprintf (which is required in C99, yet still not supported by
103 # define snprintf _snprintf macro
H A Dgzlib.c214 snprintf(state->path, len + 1, "%s", (const char *)path);
294 snprintf(path, 7 + 3 * sizeof(int), "<fd:%d>", fd); /* for debugging */
607 snprintf(state->msg, strlen(state->path) + strlen(msg) + 3,
H A Dgzwrite.c441 snprintf((char *)(state->in), size, format, a1, a2, a3, a4, a5, a6, a7, a8,
445 len = snprintf((char *)(state->in), size, format, a1, a2, a3, a4, a5, a6,
/external/zlib/src/test/
H A Dminigzip.c44 # define snprintf _snprintf macro
471 snprintf(outfile, sizeof(outfile), "%s%s", file, GZ_SUFFIX);
511 snprintf(buf, sizeof(buf), "%s", file);
524 snprintf(buf + len, sizeof(buf) - len, "%s", GZ_SUFFIX);
566 snprintf(outmode, sizeof(outmode), "%s", "wb6 ");
/external/webrtc/src/system_wrappers/source/
H A Dtrace_impl.cc409 length = snprintf(traceMessage,
/external/wpa_supplicant_8/hostapd/
H A Dhlr_auc_gw.c546 snprintf(buf, sizeof(buf), "%s.new", fname);
574 pos += snprintf(pos, end - pos, "%s ", m->imsi);
591 snprintf(buf, sizeof(buf), "%s.bak", fname);
597 snprintf(buf, sizeof(buf), "%s.new", fname);
646 ret = snprintf(rpos, rend - rpos, "SIM-RESP-AUTH %s", imsi);
688 ret = snprintf(rpos, rend - rpos, " FAILURE");
818 ret = snprintf(pos, end - pos, "AKA-RESP-AUTH %s ", imsi);
823 ret = snprintf(pos, end - pos, "FAILURE");
H A Dhostapd_cli.c145 snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, ifname);
283 snprintf(buf, sizeof(buf), "STA %s %s", argv[0], argv[1]);
285 snprintf(buf, sizeof(buf), "STA %s", argv[0]);
299 snprintf(buf, sizeof(buf), "NEW_STA %s", argv[0]);
350 snprintf(buf, sizeof(buf), "SA_QUERY %s", argv[0]);
367 snprintf(buf, sizeof(buf), "WPS_PIN %s %s %s %s",
370 snprintf(buf, sizeof(buf), "WPS_PIN %s %s %s",
373 snprintf(buf, sizeof(buf), "WPS_PIN %s %s", argv[0], argv[1]);
522 snprintf(buf, sizeof(buf), "WPS_AP_PIN %s %s %s",
525 snprintf(bu
[all...]
/external/wpa_supplicant_8/hostapd/src/common/
H A Dwpa_helpers.c252 snprintf(buf, sizeof(buf), "SET_NETWORK %d %s %s", id, field, value);
261 snprintf(buf, sizeof(buf), "SET_NETWORK %d %s \"%s\"",
280 snprintf(buf, sizeof(buf), "SET_CRED %d %s %s", id, field, value);
289 snprintf(buf, sizeof(buf), "SET_CRED %d %s \"%s\"",
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dtls_gnutls.c446 snprintf(tmp, len, "%s:%s", field, gen->d.ia5->data);
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_atheros.c243 snprintf(buf, sizeof(buf), MACSTR, MAC2STR(addr));
245 snprintf(buf, sizeof(buf), MACSTR, 0,0,0,0,0,0);
H A Ddriver_bsd.c624 snprintf(buf, sizeof(buf), MACSTR, MAC2STR(addr));
626 snprintf(buf, sizeof(buf), MACSTR, 0,0,0,0,0,0);
H A Ddriver_hostap.c242 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), "%sap", drv->iface);
587 snprintf(buf, sizeof(buf), "/proc/net/hostap/%s/" MACSTR,
H A Ddriver_madwifi.c220 snprintf(buf, sizeof(buf), MACSTR, MAC2STR(addr));
222 snprintf(buf, sizeof(buf), MACSTR, 0,0,0,0,0,0);
581 snprintf(buf, sizeof(buf), "/proc/net/madwifi/%s/" MACSTR,
H A Ddriver_nl80211.c8413 snprintf(buf, IFNAMSIZ, "mon-%s", drv->first_bss->ifname + 4);
8416 snprintf(buf, IFNAMSIZ, "mon.%s", drv->first_bss->ifname);
H A Ddriver_test.c223 snprintf(desttxt, sizeof(desttxt), MACSTR, MAC2STR(dst));
259 snprintf(addr.sun_path, sizeof(addr.sun_path), "%s/%s",
325 snprintf(desttxt, sizeof(desttxt), MACSTR, MAC2STR(dest));
519 ret = snprintf(pos, end - pos, "SCANRESP " MACSTR " ",
526 ret = snprintf(pos, end - pos, " ");
535 ret = snprintf(pos, end - pos, " PRIVACY");
616 snprintf(cmd, sizeof(cmd), "ASSOCRESP " MACSTR " 0",
1192 snprintf(drv->own_socket_path, len,
1916 ret = snprintf(pos, end - pos, "SCANRESP " MACSTR " ",
1923 ret = snprintf(po
[all...]
H A Ddriver_wext.c762 snprintf(buf, sizeof(buf) - 1, "/sys/class/net/%s/phy80211/name",
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dbrowser.c47 snprintf(buf, sizeof(buf), "[%d%%] %s", ctx->progress,
H A Dcommon.h367 /* snprintf - used in number of places; sprintf() is _not_ a good replacement
369 * http://www.ijs.si/software/snprintf/ for portable implementation of
370 * snprintf. */
371 int snprintf(char *str, size_t size, const char *format, ...);
H A Dhttp_curl.c1585 snprintf(ct, sizeof(ct), "Content-Type: %s", content_type);
H A Dos.h457 * Note: Some C library implementations of snprintf() may not guarantee null
463 * If the target system does not include snprintf(), see, e.g.,
464 * http://www.ijs.si/software/snprintf/ for an example of a portable
465 * implementation of snprintf.
545 #define os_snprintf snprintf
637 #undef snprintf macro
638 #define snprintf OS_DO_NOT_USE_snprintf macro
H A Dwpa_debug.c164 snprintf(buf, sizeof(buf) - 1, "%s/tracing/trace_marker", path);
/external/wpa_supplicant_8/hs20/client/
H A Doma_dm_client.c73 snprintf(buf, sizeof(buf), "%d", val);
284 snprintf(buf, sizeof(buf), "Reversed-Domain-Name: %s", oper);
H A Dosu_client.c465 snprintf(fname, sizeof(fname), "%s/ca.pem", dir);
467 snprintf(fname, sizeof(fname), "%s/polupd-ca.pem", dir);
469 snprintf(fname, sizeof(fname), "%s/aaa-ca.pem", dir);
563 snprintf(fname, fname_len, "SP/%s", fqdn);
574 snprintf(fname, fname_len, "SP/%s/pps.xml", fqdn);
674 snprintf(backup, sizeof(backup), "%s.bak", pps_fname);
814 snprintf(val, sizeof(val), "%s,%d,%d,%s", txt,
1369 snprintf(pos, end - pos, "%02x", pw[i]);
1471 snprintf(buf, sizeof(buf), "%s/SP/%s/client-cert.pem", dir, fqdn);
1478 snprintf(bu
[all...]

Completed in 252 milliseconds

1234567891011>>