Searched refs:snprintf (Results 101 - 125 of 699) sorted by relevance

1234567891011>>

/external/openssh/
H A Dprogressmeter.c98 snprintf(buf, size, "%3lld.%1lld%c%s",
112 snprintf(buf, size, "%4lld%c%s",
163 len = snprintf(buf, file_len + 1, "\r%s", file);
178 snprintf(buf + strlen(buf), win_size - strlen(buf),
213 snprintf(buf + strlen(buf), win_size - strlen(buf),
216 snprintf(buf + strlen(buf), win_size - strlen(buf),
H A Dsshlogin.c110 snprintf(buf, sizeof(buf), "Last login: %s\r\n",
113 snprintf(buf, sizeof(buf), "Last login: %s from %s\r\n",
H A Dclientloop.c319 snprintf(xdisplay, sizeof(xdisplay), "unix:%s",
329 snprintf(xauthfile, MAXPATHLEN, "%s/xauthfile",
331 snprintf(cmd, sizeof(cmd),
354 snprintf(cmd, sizeof(cmd),
398 snprintf(data + 2 * i, sizeof data - 2 * i, "%02x",
645 snprintf(buf, sizeof buf, "select: %s\r\n", strerror(errno));
705 snprintf(buf, sizeof buf,
725 snprintf(buf, sizeof buf,
761 snprintf(errmsg, sizeof(errmsg),
764 snprintf(errms
[all...]
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui-qt4/
H A Dnetworkconfig.cpp302 snprintf(phase2, sizeof(phase2), "auth=%s",
307 snprintf(phase2, sizeof(phase2), "autheap=%s",
311 snprintf(phase2, sizeof(phase2), "auth=%s",
316 snprintf(phase2, sizeof(phase2), "auth=%s",
322 snprintf(phase2, sizeof(phase2),
331 snprintf(blob, sizeof(blob),
390 snprintf(cmd, sizeof(cmd), "ENABLE_NETWORK %d", id);
417 snprintf(cmd, sizeof(cmd), "SET_NETWORK %d %s %s%s%s",
477 snprintf(buf, sizeof(buf), "wep_key%d", id);
498 snprintf(cm
[all...]
/external/wpa_supplicant_8/hostapd/
H A Dhostapd_cli.c147 snprintf(cfile, flen, "%s/%s", ctrl_iface_dir, ifname);
280 snprintf(buf, sizeof(buf), "STA %s", argv[0]);
294 snprintf(buf, sizeof(buf), "NEW_STA %s", argv[0]);
345 snprintf(buf, sizeof(buf), "SA_QUERY %s", argv[0]);
362 snprintf(buf, sizeof(buf), "WPS_PIN %s %s %s %s",
365 snprintf(buf, sizeof(buf), "WPS_PIN %s %s %s",
368 snprintf(buf, sizeof(buf), "WPS_PIN %s %s", argv[0], argv[1]);
528 snprintf(buf, sizeof(buf), "WPS_AP_PIN %s %s %s",
531 snprintf(buf, sizeof(buf), "WPS_AP_PIN %s %s",
534 snprintf(bu
[all...]
/external/linux-tools-perf/util/
H A Dvalues.c146 width = snprintf(NULL, 0, "%d", values->pid[i]);
149 width = snprintf(NULL, 0, "%d", values->tid[i]);
153 width = snprintf(NULL, 0, "%" PRIu64, values->value[i][j]);
188 width = snprintf(NULL, 0, "%d", values->pid[i]);
191 width = snprintf(NULL, 0, "%d", values->tid[i]);
199 width = snprintf(NULL, 0, "%" PRIx64, values->counterrawid[j]);
205 width = snprintf(NULL, 0, "%" PRIu64, values->value[i][j]);
/external/oprofile/opcontrol/
H A Dopcontrol.cpp474 snprintf(fullname, 512, OP_DRIVER_BASE"/%d/%s", counter, file);
477 snprintf(fullname, 512, OP_DRIVER_BASE"/%s", file);
785 snprintf(command + strlen(command), sizeof(command) - strlen(command),
788 snprintf(command + strlen(command), sizeof(command) - strlen(command), ",");
793 snprintf(command + strlen(command), sizeof(command) - strlen(command),
823 snprintf(command + strlen(command), sizeof(command) - strlen(command),
827 snprintf(command + strlen(command), sizeof(command) - strlen(command),
830 snprintf(command + strlen(command), sizeof(command) - strlen(command),
835 snprintf(command + strlen(command), sizeof(command) - strlen(command),
/external/qemu/
H A Dqjson.c132 snprintf(buffer, sizeof(buffer), "%" PRId64, qint_get_int(val));
153 snprintf(escape, sizeof(escape), "\\u%04X", wchar);
163 snprintf(escape, sizeof(escape), "\\u%04X", wchar);
190 snprintf(escape, sizeof(escape), "\\u%04X", ptr[0]);
247 len = snprintf(buffer, sizeof(buffer), "%f", qfloat_get_double(val));
H A Dqemu-sockets-android.c114 snprintf(port, sizeof(port), "%d", atoi(port) + port_offset);
178 snprintf(uport, sizeof(uport), "%d", sock_address_get_port(e) - port_offset);
436 snprintf(str_fd, sizeof str_fd, "%d", socket_fd);
456 snprintf(ostr, olen, "[%s]:%s%s",
461 snprintf(ostr, olen, "%s:%s%s",
497 snprintf(unpath, sizeof(unpath), "%s/qemu-socket-XXXXXX",
568 snprintf(path, len+1, "%.*s", len, str);
579 snprintf(ostr, olen, "%s%s", qemu_opt_get(opts, "path"), optstr ? optstr : "");
/external/libppp/src/
H A Dether.c277 snprintf(sessionid, sizeof sessionid, "%04x", *(u_int16_t *)sts);
287 snprintf(unknown, sizeof unknown, "<%d>", (int)rep->header.cmd);
569 snprintf(ngc.path, sizeof ngc.path, "[%x]:", nlink->nodeinfo.id);
584 snprintf(mkp.type, sizeof mkp.type, "%s", NG_PPPOE_NODE_TYPE);
585 snprintf(mkp.ourhook, sizeof mkp.ourhook, "%s", NG_ETHER_HOOK_ORPHAN);
586 snprintf(mkp.peerhook, sizeof mkp.peerhook, "%s", NG_PPPOE_HOOK_ETHERNET);
587 snprintf(etherid, sizeof etherid, "[%x]:", ninfo->id);
599 snprintf(ngc.path, sizeof ngc.path, "%s%s", path, NG_ETHER_HOOK_ORPHAN);
602 snprintf(dev->hook, sizeof dev->hook, "%s%d",
609 snprintf(ng
[all...]
/external/elfutils/libdwfl/
H A Ddwfl_build_id_find_elf.c72 int n = snprintf (&id_name[sizeof "/.build-id/" - 1],
77 n = snprintf (&id_name[sizeof "/.build-id/" - 1 + 3 + (i - 1) * 2],
/external/iproute2/genl/
H A Dgenl.c67 snprintf(buf, sizeof(buf), "%s.so", str);
78 snprintf(buf, sizeof(buf), "%s_genl_util", str);
/external/ipsec-tools/src/racoon/
H A Dmisc.c133 snprintf(buf, sizeof(buf), "%s:%d:%s()", p, line, func);
135 snprintf(buf, sizeof(buf), "%s:%d", p, line);
/external/libcap-ng/libcap-ng-0.7/utils/
H A Dpscap.c88 snprintf(buf, 32, "/proc/%d/stat", pid);
125 snprintf(buf, 32, "/proc/%d/status", pid);
/external/netperf/
H A Dnetserver.c179 snprintf(&FileName[strlen(FileName)], sizeof(FileName) - strlen(FileName), "_%d", getpid());
677 snprintf(&cmdline[strlen(cmdline)], sizeof(cmdline) - strlen(cmdline), " -v %d", verbosity);
680 snprintf(&cmdline[strlen(cmdline)], sizeof(cmdline) - strlen(cmdline), " -d");
682 snprintf(&cmdline[strlen(cmdline)], sizeof(cmdline) - strlen(cmdline), " -I %x", (int)(UINT_PTR)server_sock);
683 snprintf(&cmdline[strlen(cmdline)], sizeof(cmdline) - strlen(cmdline), " -i %x", (int)(UINT_PTR)server_control);
684 snprintf(&cmdline[strlen(cmdline)], sizeof(cmdline) - strlen(cmdline), " -i %x", (int)(UINT_PTR)where);
921 snprintf(&FileName[strlen(FileName)], sizeof(FileName) - strlen(FileName), "_%d", getpid());
930 snprintf(&FileName[strlen(FileName)], sizeof(FileName) - strlen(FileName), "_%x", getpid());
/external/tcpdump/
H A Dprint-ascii.c92 (void)snprintf(hsp, sizeof(hexstuff) - (hsp - hexstuff),
109 (void)snprintf(hsp, sizeof(hexstuff) - (hsp - hexstuff),
/external/valgrind/main/drd/tests/
H A Dpth_inconsistent_cond_wait.c49 snprintf(name_and_pid, sizeof(name_and_pid), "%s-%d", name, getpid());
110 snprintf(semaphore_name, sizeof(semaphore_name), "semaphore-%d", getpid());
/external/libpcap/
H A Dpcap.c236 (void)snprintf(p->errbuf, sizeof(p->errbuf),
245 (void)snprintf(p->errbuf, sizeof(p->errbuf),
306 (void) snprintf(p->errbuf, sizeof(p->errbuf),
310 (void) snprintf(p->errbuf, sizeof(p->errbuf),
600 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "F_GETFL: %s",
631 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "F_GETFL: %s",
640 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "F_SETFL: %s",
676 snprintf (p, sizeof(errbuf)-(p-errbuf), " (%lu)", error);
696 (void)snprintf(ebuf, sizeof ebuf, "Unknown error: %d", errnum);
717 snprintf(
[all...]
/external/chromium/base/
H A Dlinux_util.cc223 snprintf(buf, sizeof(buf), "/proc/%d/fd", current_pid);
229 if (snprintf(buf, sizeof(buf), "/proc/%d/fd/%s", current_pid,
257 snprintf(buf, sizeof(buf), "/proc/%d/task", pid);
279 snprintf(buf, sizeof(buf), "/proc/%d/task/%d/syscall", pid, current_tid);
H A Dsafe_strerror_posix.cc85 // snprintf truncates and always null-terminates.
86 snprintf(buf,
/external/chromium/chrome/common/
H A Dmulti_process_lock_linux.cc48 int print_length = snprintf(&address.sun_path[1],
/external/chromium/testing/gtest/src/
H A Dgtest-printers.cc59 # define snprintf _snprintf macro
60 #elif _MSC_VER >= 1400 // VC 8.0 and later deprecate snprintf and _snprintf.
61 # define snprintf _snprintf_s
63 # define snprintf _snprintf
80 snprintf(text, sizeof(text), "%02X", obj_bytes[j]);
/external/dhcpcd/
H A Dcommon.c212 snprintf(**e, len, "%s_%s=%s", prefix, var, value);
214 snprintf(**e, len, "%s=%s", var, value);
224 snprintf(buffer, sizeof(buffer), "%d", value);
247 snprintf(spid, sizeof(spid), "%u\n", pid);
/external/dropbear/
H A Dsshpty.c194 snprintf(buf, sizeof buf, "/dev/pty%c%c", ptymajors[i / num_minors],
196 snprintf(namebuf, namebuflen, "/dev/tty%c%c",
202 snprintf(buf, sizeof buf, "/dev/ptyp%d", i);
203 snprintf(namebuf, namebuflen, "/dev/ttyp%d", i);
/external/elfutils/libebl/
H A Deblcorenotetypename.c107 snprintf (buf, len, "%s: %" PRIu32, gettext ("<unknown>"), type);

Completed in 471 milliseconds

1234567891011>>