/system/netd/ |
SoftapController.cpp | 139 asprintf(&wbuf, "interface=%s\ndriver=nl80211\nctrl_interface=" 147 asprintf(&fbuf, "%swpa=1\nwpa_pairwise=TKIP CCMP\nwpa_psk=%s\n", wbuf, psk_str); 150 asprintf(&fbuf, "%swpa=2\nrsn_pairwise=CCMP\nwpa_psk=%s\n", wbuf, psk_str); 152 asprintf(&fbuf, "%s", wbuf); 156 asprintf(&fbuf, "%s", wbuf); 159 asprintf(&fbuf, "%s", wbuf);
|
InterfaceController.cpp | 119 asprintf(&path, "%s/%s/%s", ipv6_proc_path, interface, setting); 174 asprintf(&path, "%s/%s/mtu", sys_net_path, interface); 186 asprintf(&path, "%s/%s/mtu", sys_net_path, interface);
|
NatController.cpp | 264 asprintf("a_name, "%s_%s", intIface, extIface); 266 asprintf(&proc_path, "/proc/net/xt_quota/%s", quota_name); 300 asprintf("a_name, "%s_%s", extIface, intIface); 301 asprintf(&proc_path, "/proc/net/xt_quota/%s", quota_name);
|
BandwidthController.cpp | 321 asprintf(&buff, "%s %s -m owner --uid-owner %d", opFlag, chain, uid); 497 asprintf(&buff, "%s bw_costly_%s -m quota2 ! --quota %lld --name %s", opFlag, costName, quota, 776 asprintf(&fname, "/proc/net/xt_quota/%s", costName); 826 asprintf(&fname, "/proc/net/xt_quota/%s", quotaName); 859 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_INPUT", 863 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_OUTPUT", 891 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, opFlag, "bw_FORWARD", 1043 asprintf(&alertName, "%sAlert", costName); 1047 asprintf(&chainName, "bw_costly_%s", costName); 1048 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, "-A", chainName, bytes, alertName) [all...] |
MDnsSdListener.cpp | 104 asprintf(&msg, "%d %d", refNumber, errorCode); 123 asprintf(&msg, "%d %s %s %s", refNumber, quotedServiceName, regType, replyDomain); 133 asprintf(&msg, "Invalid number of arguments to %s", str); 149 asprintf(&msg, "%s stopped", str); 196 asprintf(&msg, "%d %d", refNumber, errorCode); 201 asprintf(&msg, "%d %s", refNumber, quotedServiceName); 251 asprintf(&msg, "%d %d", refNumber, errorCode); 257 asprintf(&msg, "%d %s %s %d %d", refNumber, quotedFullName, quotedHostTarget, port, txtLen); 306 asprintf(&msg, "%d %d", refNumber, errorCode); 319 asprintf(&msg, "%d %s %d %s", refNumber, quotedHostname, ttl, addr) [all...] |
/system/core/libsysutils/src/ |
NetlinkEvent.cpp | 139 asprintf(&mParams[0], "ADDRESS=%s/%d", addrstr, 141 asprintf(&mParams[1], "INTERFACE=%s", ifname); 142 asprintf(&mParams[2], "FLAGS=%u", ifaddr->ifa_flags); 143 asprintf(&mParams[3], "SCOPE=%u", ifaddr->ifa_scope); 159 asprintf(&mParams[4], "PREFERRED=%u", cacheinfo->ifa_prefered); 160 asprintf(&mParams[5], "VALID=%u", cacheinfo->ifa_valid); 161 asprintf(&mParams[6], "CSTAMP=%u", cacheinfo->cstamp); 162 asprintf(&mParams[7], "TSTAMP=%u", cacheinfo->tstamp); 228 asprintf(&mParams[0], "ALERT_NAME=%s", pm->prefix); 229 asprintf(&mParams[1], "INTERFACE=%s", devname) [all...] |
SocketClient.cpp | 63 ret = asprintf(&buf, "%d %d %s (%s)", code, getCmdNum(), msg, strerror(errno)); 65 ret = asprintf(&buf, "%d %s (%s)", code, msg, strerror(errno)); 69 ret = asprintf(&buf, "%d %d %s", code, getCmdNum(), msg); 71 ret = asprintf(&buf, "%d %s", code, msg);
|
/bionic/libc/stdio/ |
asprintf.c | 1 /* $OpenBSD: asprintf.c,v 1.15 2005/10/10 12:00:52 espie Exp $ */ 27 asprintf(char **str, const char *fmt, ...) function
|
/external/libselinux/src/ |
procattr.c | 29 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr); 32 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); 86 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr); 89 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr);
|
/external/chromium_org/third_party/mesa/src/src/glx/apple/ |
apple_glx_log.c | 109 asprintf(&_line, "%d", line); 117 asprintf(&_thread, "%"PRIu64, thread);
|
/external/mesa3d/src/glx/apple/ |
apple_glx_log.c | 109 asprintf(&_line, "%d", line); 117 asprintf(&_thread, "%"PRIu64, thread);
|
/external/qemu/ |
osdep.c | 189 int asprintf( char **, const char *, ... ); 201 int asprintf( char **sptr, const char *fmt, ... ) function
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
stdio-ldbl.h | 71 __LDBL_REDIR_DECL (asprintf)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
stdio-ldbl.h | 71 __LDBL_REDIR_DECL (asprintf)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
stdio-ldbl.h | 71 __LDBL_REDIR_DECL (asprintf)
|
/system/vold/ |
vdc.c | 66 asprintf(&cmp, "%s%s", argv[i], (i == (argc -1)) ? "" : " "); 68 asprintf(&cmp, "\"%s\"%s", argv[i], (i == (argc -1)) ? "" : " ");
|
/external/elfutils/libdwfl/ |
linux-kernel-modules.c | 130 ? asprintf (fname, "%s/vmlinux", release) 131 : asprintf (fname, "/boot/vmlinux-%s", release)) < 0) 138 if (asprintf (fname, MODULEDIRFMT "/vmlinux", release) < 0) 224 ? asprintf (&archive, "%s/debug.a", *release) 225 : asprintf (&archive, MODULEDIRFMT "/debug.a", *release)) < 0) 283 if (asprintf (&modulesdir[0], MODULEDIRFMT, release) < 0) 499 if (asprintf (&dirs[0], MODNOTESFMT, mod->name) < 0) 614 if (asprintf (&modulesdir[0], MODULEDIRFMT, release) < 0) 723 if (asprintf (&sysfile, SECADDRDIRFMT "%s", modname, secname) < 0) 757 if (asprintf (&sysfile, SECADDRDIRFMT "_%s" [all...] |
linux-proc-maps.c | 76 if (asprintf (&fname, PROCAUXVFMT, pid) < 0) 186 if (asprintf (&last_file, "[vdso: %d]", (int) pid) < 0 246 if (asprintf (&fname, PROCMAPSFMT, pid) < 0) 317 if (asprintf (&fname, PROCMEMFMT, pid) < 0)
|
find-debuginfo.c | 69 else if ((subdir == NULL ? asprintf (&fname, "%s/%s", dir, debuglink) 70 : dir == NULL ? asprintf (&fname, "%s/%s", subdir, debuglink) 71 : asprintf (&fname, "%s/%s/%s", dir, subdir, debuglink)) < 0)
|
/cts/tests/tests/jni/libjnitest/ |
helper.c | 66 asprintf(&newResult, "%s%s: %s\n",
|
/external/openssh/openbsd-compat/ |
bsd-asprintf.c | 4 * Based originally on asprintf.c from OpenBSD: 89 int asprintf(char **str, const char *fmt, ...) function
|
/external/valgrind/main/coregrind/ |
launcher-darwin.c | 267 asprintf(&newclient, "%s/Contents/MacOS/%s", clientname, appname); 287 asprintf(&vgpreload_core, "%s/vgpreload_core-%s-darwin.so", valgrind_lib, valid_archs[i].valgrind_name); 371 asprintf(&new_line, VALGRIND_LAUNCHER "=%s", launcher_name); 374 asprintf(&set_cwd, "VALGRIND_STARTUP_PWD_%u_XYZZY=%s", getppid(), cwd); 410 asprintf(&toolfile, "%s/%s-%s-darwin", valgrind_lib, toolname, arch);
|
/hardware/ril/reference-ril/ |
reference-ril.c | 780 asprintf(&cmd, "ATD%s%s;", p_dial->address, clir); 802 asprintf(&cmd, "AT+CMGW=%d,%d", length, p_args->status); 828 asprintf(&cmd, "AT+CHLD=1%d", p_line[0]); 909 asprintf(&cmd, "AT+CTEC=%d,\"%x\"", current, preferred); 1049 asprintf(&cmd, "AT+CCSS?"); [all...] |
/development/ndk/samples/hello-neon/jni/ |
helloneon.c | 109 asprintf(&str, "FIR Filter benchmark:\nC version : %g ms\n", time_c); 143 asprintf(&str, "%g ms (x%g faster)\n", time_neon, time_c / (time_neon < 1e-6 ? 1. : time_neon));
|
/external/linux-tools-perf/util/ |
build-id.c | 79 if (asprintf(&bf, "%s/.build-id/%.2s/%s", buildid_dir,
|