/system/netd/ |
IdletimerController.cpp | 135 asprintf(&buffer, "%s %s", IPTABLES_PATH, cmd); 150 asprintf(&buffer, "-t raw -F %s", LOCAL_RAW_PREROUTING); 157 asprintf(&buffer, "-t mangle -F %s", LOCAL_MANGLE_POSTROUTING); 178 asprintf(&buffer, "-t raw -%c %s -i %s -j IDLETIMER" 187 asprintf(&buffer, "-t mangle -%c %s -o %s -j IDLETIMER"
|
SoftapController.cpp | 154 asprintf(&wbuf, "interface=%s\ndriver=nl80211\nctrl_interface=" 161 asprintf(&fbuf, "%swpa=1\nwpa_pairwise=TKIP CCMP\nwpa_psk=%s\n", wbuf, psk_str); 164 asprintf(&fbuf, "%swpa=2\nrsn_pairwise=CCMP\nwpa_psk=%s\n", wbuf, psk_str); 166 asprintf(&fbuf, "%s", wbuf); 169 asprintf(&fbuf, "%s", wbuf);
|
SecondaryTableController.cpp | 88 asprintf(&cmd, "%s route %s %s/%d dev %s table %d", 91 asprintf(&cmd, "%s route %s %s/%d via %s dev %s table %d", 165 asprintf(&cmd, "%s %s rule %s from %s table %d", IP_PATH, getVersion(addr), 185 asprintf(&cmd, "%s route %s %s dev %s table %d", IP_PATH, action, addr, iface,
|
oem_iptables_hook.cpp | 42 asprintf(&buffer, "%s %s", IPTABLES_PATH, cmd);
|
BandwidthController.cpp | 301 asprintf(&buff, "%s penalty_box -m owner --uid-owner %d", opFlag, uid); 405 asprintf(&buff, "%s costly_%s -m quota2 ! --quota %lld --name %s", opFlag, costName, quota, 678 asprintf(&fname, "/proc/net/xt_quota/%s", costName); 728 asprintf(&fname, "/proc/net/xt_quota/%s", quotaName); 760 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, ifaceLimiting, opFlag, "bw_INPUT", 765 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, ifaceLimiting, opFlag, "bw_OUTPUT", 792 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, ifaceLimiting, opFlag, "bw_FORWARD", 944 asprintf(&alertName, "%sAlert", costName); 948 asprintf(&chainNameAndPos, "costly_%s %d", costName, ALERT_RULE_POS_IN_COSTLY_CHAIN); 949 asprintf(&alertQuotaCmd, ALERT_IPT_TEMPLATE, "", "-I", chainNameAndPos, 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...] |
/hardware/invensense/libsensors_iio/software/simple_apps/mpu_iio/ |
iio_utils.h | 111 ret = asprintf(&scan_el_dir, FORMAT_SCAN_ELEMENTS_DIR, device_dir); 116 ret = asprintf(&builtname, FORMAT_TYPE_FILE, name); 121 ret = asprintf(&builtname_generic, FORMAT_TYPE_FILE, generic_name); 139 ret = asprintf(&filename, 205 ret = asprintf(&builtname, "%s_%s", name, param_name); 210 ret = asprintf(&builtname_generic, 224 ret = asprintf(&filename, 291 ret = asprintf(&scan_el_dir, FORMAT_SCAN_ELEMENTS_DIR, device_dir); 304 ret = asprintf(&filename, 336 ret = asprintf(&filename [all...] |
/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);
|
/system/core/libsysutils/src/ |
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);
|
/external/elfutils/libdwfl/ |
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)
|
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)
|
/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)) ? "" : " ");
|
/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
|
/system/core/init/ |
devices.c | 393 if (asprintf(&links[link_num], "/dev/usb/%s%.*s", uevent->subsystem, width, parent) > 0) 443 if (asprintf(&links[link_num], "%s/by-name/%s", link_path, p) > 0) 451 if (asprintf(&links[link_num], "%s/by-num/p%d", link_path, uevent->partition_num) > 0) 458 if (asprintf(&links[link_num], "%s/%s", link_path, slash + 1) > 0) 714 l = asprintf(&root, SYSFS_PREFIX"%s/", uevent->path); 718 l = asprintf(&loading, "%sloading", root); 722 l = asprintf(&data, "%sdata", root); 726 l = asprintf(&file1, FIRMWARE_DIR1"/%s", uevent->firmware); 730 l = asprintf(&file2, FIRMWARE_DIR2"/%s", uevent->firmware); 734 l = asprintf(&file3, FIRMWARE_DIR3"/%s", uevent->firmware) [all...] |
/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 | 765 asprintf(&cmd, "ATD%s%s;", p_dial->address, clir); 787 asprintf(&cmd, "AT+CMGW=%d,%d", length, p_args->status); 813 asprintf(&cmd, "AT+CHLD=1%d", p_line[0]); 894 asprintf(&cmd, "AT+CTEC=%d,\"%x\"", current, preferred); 1034 asprintf(&cmd, "AT+CCSS?"); 1070 asprintf(&cmd, "AT+CCSS=%d", ss[0]); [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,
|