Searched refs:snprintf (Results 276 - 300 of 1021) sorted by relevance

<<11121314151617181920>>

/external/qemu/distrib/libsparse/src/
H A Dsimg2simg.c92 ret = snprintf(filename, sizeof(filename), "%s.%d", argv[2], i);
/external/qemu/slirp/
H A Dtftp.c109 n = snprintf(buffer, sizeof(buffer), "%s/%s",
152 n += snprintf((char *)tp->x.tp_buf + n, sizeof(tp->x.tp_buf) - n, "%s",
154 n += snprintf((char *)tp->x.tp_buf + n, sizeof(tp->x.tp_buf) - n, "%u",
377 len = snprintf(buffer, sizeof(buffer), "%s/%s",
/external/qemu/slirp-android/
H A Dtftp.c109 n = snprintf(buffer, sizeof(buffer), "%s/%s",
152 n += snprintf((char *)tp->x.tp_buf + n, sizeof(tp->x.tp_buf) - n, "%s",
154 n += snprintf((char *)tp->x.tp_buf + n, sizeof(tp->x.tp_buf) - n, "%u",
379 snprintf(buffer, sizeof(buffer), "%s/%s",
/external/valgrind/main/coregrind/m_initimg/
H A Dinitimg-pathscan.c107 VG_(snprintf)(buf, sizeof(buf), "%s/%s", entry, executable_name_in);
/external/valgrind/main/include/
H A Dpub_tool_libcprint.h58 extern UInt VG_(snprintf) ( HChar* buf, Int size,
/external/valgrind/main/memcheck/tests/
H A Dfile_locking.c84 snprintf(filename, sizeof(filename), "/tmp/valgrind-file-locking-test.%d",
/external/chromium_org/sandbox/linux/suid/
H A Dsandbox.c170 int printed = snprintf(desc_str, sizeof(desc_str), "%u", sv[1]);
172 fprintf(stderr, "Failed to snprintf\n");
184 printed = snprintf(helper_pid_str, sizeof(helper_pid_str), "%u", pid);
186 fprintf(stderr, "Failed to snprintf\n");
409 snprintf(
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dcommon.cc44 #define snprintf _snprintf // see comment in strutil.cc macro
89 // 128 bytes should always be enough, but we use snprintf() anyway to be
92 snprintf(buffer, sizeof(buffer), "%d.%d.%d", major, minor, micro);
94 // Guard against broken MSVC snprintf().
152 // the results -- in fact, we probably prefer that. So we use snprintf()
158 /* values which we print with this, but well use snprintf() */ \
161 snprintf(buffer, sizeof(buffer), FORMAT, value); \
162 /* Guard against broken MSVC snprintf(). */ \
/external/chromium_org/tools/android/heap_profiler/
H A Dheap_dump.c252 snprintf(path, sizeof(path), "/proc/%d/mem", pid);
263 snprintf(path, sizeof(path), "/proc/%d/maps", pid);
274 snprintf(path, sizeof(path), "/proc/%d/cmdline", pid);
/external/dhcpcd/
H A Dconfigure.c105 snprintf(v, len, "%s_%s", prefix, var);
191 snprintf(env[0], e, "interface=%s", iface->name);
194 snprintf(env[1], e, "reason=%s", reason);
200 snprintf(env[2], e, "pid=%d", getpid());
202 snprintf(env[3], e, "ifmetric=%d", iface->metric);
204 snprintf(env[4], e, "ifwireless=%d", iface->wireless);
206 snprintf(env[5], e, "ifflags=%u", iface->flags);
208 snprintf(env[6], e, "ifmtu=%d", get_mtu(iface->name));
234 snprintf(env[elen++], e, "profile=%s", iface->state->profile);
243 snprintf(en
[all...]
/external/elfutils/0.153/src/
H A Darlib.c61 /* Using snprintf here has a problem: the call always wants to add a
70 snprintf (tmpbuf, sizeof (tmpbuf), "%-*lld",
132 snprintf (tmpbuf, sizeof (tmpbuf), "%-*zu",
179 snprintf (tmpbuf, sizeof (tmpbuf), "%-*zu",
/external/libselinux/src/
H A Dstringrep.c86 snprintf(path, sizeof path, "%s/class/%s/index", selinux_mnt,s);
101 snprintf(path, sizeof path, "%s/class/%s/perms",selinux_mnt,s);
111 snprintf(path, sizeof path, "%s/class/%s/perms/%s", selinux_mnt,s,dentry->d_name);
/external/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformiOSSimulator.cpp261 ::snprintf ((char *)baton, PATH_MAX, "%s", filename);
281 snprintf (sdks_directory,
331 ::snprintf (resolved_path,
/external/protobuf/src/google/protobuf/stubs/
H A Dcommon.cc44 #define snprintf _snprintf // see comment in strutil.cc macro
89 // 128 bytes should always be enough, but we use snprintf() anyway to be
92 snprintf(buffer, sizeof(buffer), "%d.%d.%d", major, minor, micro);
94 // Guard against broken MSVC snprintf().
152 // the results -- in fact, we probably prefer that. So we use snprintf()
158 /* values which we print with this, but well use snprintf() */ \
161 snprintf(buffer, sizeof(buffer), FORMAT, value); \
162 /* Guard against broken MSVC snprintf(). */ \
/external/qemu/distrib/libselinux/src/
H A Dstringrep.c86 snprintf(path, sizeof path, "%s/class/%s/index", selinux_mnt,s);
101 snprintf(path, sizeof path, "%s/class/%s/perms",selinux_mnt,s);
111 snprintf(path, sizeof path, "%s/class/%s/perms/%s", selinux_mnt,s,dentry->d_name);
/external/qemu/
H A Dos-posix.c139 snprintf(res, max_len, "%s%s", dir, SHARE_SUFFIX);
141 snprintf(res, max_len, "%s%s", dir, BUILD_SUFFIX);
383 len = snprintf(buffer, sizeof(buffer), "%ld\n", (long)getpid());
/external/chromium_org/third_party/leveldatabase/src/doc/bench/
H A Ddb_bench_tree_db.cc261 snprintf(rate, sizeof(rate), "%6.1f MB/s",
398 snprintf(file_name, sizeof(file_name),
440 snprintf(msg, sizeof(msg), "(%d ops)", num_entries);
449 snprintf(key, sizeof(key), "%016d", k);
475 snprintf(key, sizeof(key), "%016d", k);
H A Ddb_bench_sqlite3.cc285 snprintf(rate, sizeof(rate), "%6.1f MB/s",
428 snprintf(file_name, sizeof(file_name),
440 snprintf(cache_size, sizeof(cache_size), "PRAGMA cache_size = %d",
448 snprintf(page_size, sizeof(page_size), "PRAGMA page_size = %d",
494 snprintf(msg, sizeof(msg), "(%d ops)", num_entries);
541 snprintf(key, sizeof(key), "%016d", k);
614 snprintf(key, sizeof(key), "%016d", k);
/external/clang/test/Sema/
H A Dformat-strings.c12 int snprintf(char *restrict, size_t, const char *restrict, ...);
38 snprintf(buf,2,s); // expected-warning {{format string is not a string lit}}
78 snprintf(buf,2,s); // expected-warning {{format string is not a string lit}}
132 snprintf(buf, 2, "%%%%%ld%;%d", 1, 2, 3); // expected-warning{{format specifies type 'long' but the argument has type 'int'}} expected-warning {{invalid conversion specifier ';'}}
138 snprintf(b,10,"%%%%%d\0%d",1,2); // expected-warning {{string contains '\0'}}
/external/iptables/utils/
H A Dnfnl_osf.c347 cnt = snprintf(obuf, sizeof(obuf), "%s,", pbeg);
355 cnt = snprintf(f.genre, sizeof(f.genre), "%s", pbeg + 1);
357 cnt = snprintf(f.genre, sizeof(f.genre), "%s", pbeg);
364 cnt = snprintf(f.version, sizeof(f.version), "%s", pbeg);
372 snprintf(f.subtype, sizeof(f.subtype), "%s", pbeg);
/external/libnl/lib/route/
H A Dtc.c488 snprintf(buf, len, "root");
490 snprintf(buf, len, "none");
492 snprintf(buf, len, ":%02x", TC_H_MIN(handle));
494 snprintf(buf, len, "%02x:", TC_H_MAJ(handle) >> 16);
496 snprintf(buf, len, "%02x:%02x",
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachException.cpp219 desc += snprintf(desc, DNB_THREAD_STOP_INFO_MAX_DESC_LENGTH, "%s", exc_name);
221 desc += snprintf(desc, DNB_THREAD_STOP_INFO_MAX_DESC_LENGTH, "%i", exc_type);
231 snprintf(desc, end_desc - desc, " EXC_SOFT_SIGNAL( %i ( %s ))", soft_signal, sig_str ? sig_str : "unknown signal");
240 desc += snprintf(desc, end_desc - desc, " data[%llu] = {", (uint64_t)stop_info->details.exception.data_count);
243 desc += snprintf(desc, end_desc - desc, "0x%llx%c", (uint64_t)exc_data[idx], ((idx + 1 == stop_info->details.exception.data_count) ? '}' : ','));
/external/qemu/android/utils/
H A Dini.c491 snprintf(temp, sizeof temp, "%d", value);
499 snprintf(temp, sizeof temp, "%" PRId64, value);
507 snprintf(temp, sizeof temp, "%g", value);
540 snprintf(temp, sizeof temp, "%" PRId64 "%c", size/divisor, suffix);
542 snprintf(temp, sizeof temp, "%" PRId64, size);
/external/tcpdump/
H A Dutil.c150 (void)snprintf(buf, sizeof(buf), "%02d:%02d:%02d.%06u",
297 (void)snprintf(buf, bufsize, fmt, v);
341 buflen+=snprintf(buf+buflen, sizeof(buf)-buflen, "%s%s",
364 (void)snprintf(buf, sizeof(buf), fmt, v);
407 (void)snprintf(buf, sizeof(buf), fmt, v);
/external/libvpx/libvpx/
H A Dvpxdec.c389 snprintf(q, q_len - 1, "%d", d_w);
392 snprintf(q, q_len - 1, "%d", d_h);
395 snprintf(q, q_len - 1, "%d", frame_in);
398 snprintf(q, q_len - 1, "%02d", frame_in);
401 snprintf(q, q_len - 1, "%03d", frame_in);
404 snprintf(q, q_len - 1, "%04d", frame_in);
407 snprintf(q, q_len - 1, "%05d", frame_in);
410 snprintf(q, q_len - 1, "%06d", frame_in);
413 snprintf(q, q_len - 1, "%07d", frame_in);
416 snprintf(
[all...]

Completed in 1685 milliseconds

<<11121314151617181920>>