/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);
|
/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
|
/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);
|
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...] |
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);
|
/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);
|
/external/openssh/openbsd-compat/ |
bsd-asprintf.c | 4 * Based originally on asprintf.c from OpenBSD: 89 int asprintf(char **str, const char *fmt, ...) function
|
Makefile.in | 21 COMPAT=bsd-arc4random.o bsd-asprintf.o bsd-closefrom.o bsd-cray.o bsd-cygwin_util.o bsd-getpeereid.o bsd-misc.o bsd-nextstep.o bsd-openpty.o bsd-poll.o bsd-snprintf.o bsd-statvfs.o bsd-waitpid.o fake-rfc2553.o openssl-compat.o xmmap.o xcrypt.o
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/lib/ |
pt_chown | |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/lib/ |
pt_chown | |
/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);
|
/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",
|
/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)
|
/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)
|
/system/extras/ext4_utils/ |
make_ext4fs.c | 151 asprintf(&dentries[i].path, "%s%s", dir_path, namelist[i]->d_name); 152 asprintf(&dentries[i].full_path, "%s%s", full_path, namelist[i]->d_name); 227 asprintf(&dentries[0].path, "%slost+found", dir_path); 251 ret = asprintf(&subdir_full_path, "%s/", dentries[i].full_path); 253 critical_error_errno("asprintf"); 255 ret = asprintf(&subdir_dir_path, "%s/", dentries[i].path); 257 critical_error_errno("asprintf");
|
/system/core/init/ |
devices.c | 406 if (asprintf(&links[link_num], "/dev/usb/%s%.*s", uevent->subsystem, width, parent) > 0) 456 if (asprintf(&links[link_num], "%s/by-name/%s", link_path, p) > 0) 464 if (asprintf(&links[link_num], "%s/by-num/p%d", link_path, uevent->partition_num) > 0) 471 if (asprintf(&links[link_num], "%s/%s", link_path, slash + 1) > 0) 723 l = asprintf(&root, SYSFS_PREFIX"%s/", uevent->path); 727 l = asprintf(&loading, "%sloading", root); 731 l = asprintf(&data, "%sdata", root); 735 l = asprintf(&file1, FIRMWARE_DIR1"/%s", uevent->firmware); 739 l = asprintf(&file2, FIRMWARE_DIR2"/%s", uevent->firmware); 743 l = asprintf(&file3, FIRMWARE_DIR3"/%s", uevent->firmware) [all...] |
/external/linux-tools-perf/util/ |
build-id.c | 79 if (asprintf(&bf, "%s/.build-id/%.2s/%s", buildid_dir,
|
/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...] |