Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 26) sorted by relevance

12

/ndk/sources/android/support/tests/
Dstdio_unittest.cc6 TEST(stdio,snprintf) { in TEST() argument
10 EXPECT_EQ(2, snprintf(char_buff, char_buff_len, "ab")); in TEST()
11 EXPECT_EQ(5, snprintf(char_buff, char_buff_len, "%s", "abcde")); in TEST()
13 EXPECT_EQ(12, snprintf(char_buff, char_buff_len, "%s", kString)); in TEST()
14 EXPECT_EQ(12, snprintf(char_buff, 13, "%s", kString)); in TEST()
16 EXPECT_EQ(12, snprintf(char_buff, 12, "%s", kString)); in TEST()
18 EXPECT_EQ(12, snprintf(char_buff, 1, "%s", kString)); in TEST()
21 EXPECT_EQ(20, snprintf(char_buff, char_buff_len, "%a", 3.1415926535)); in TEST()
/ndk/tests/build/issue20862-libpng-O0/jni/
Dpngdebug.h114 snprintf(format,256,"%s%s%s",(num_tabs==1 ? "\t" : \
125 snprintf(format,256,"%s%s%s",(num_tabs==1 ? "\t" : \
136 snprintf(format,256,"%s%s%s",(num_tabs==1 ? "\t" : \
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dstring.cpp443 return as_string(snprintf, initial_string<string, int>()(), "%d", val); in to_string()
448 return as_string(snprintf, initial_string<string, unsigned>()(), "%u", val); in to_string()
453 return as_string(snprintf, initial_string<string, long>()(), "%ld", val); in to_string()
458 return as_string(snprintf, initial_string<string, unsigned long>()(), "%lu", val); in to_string()
463 return as_string(snprintf, initial_string<string, long long>()(), "%lld", val); in to_string()
468 return as_string(snprintf, initial_string<string, unsigned long long>()(), "%llu", val); in to_string()
473 return as_string(snprintf, initial_string<string, float>()(), "%f", val); in to_string()
478 return as_string(snprintf, initial_string<string, double>()(), "%f", val); in to_string()
483 return as_string(snprintf, initial_string<string, long double>()(), "%Lf", val); in to_string()
/ndk/sources/host-tools/ndk-stack/regex/
Dregerror.c99 (void)snprintf(convbuf, sizeof convbuf, in regerror()
128 (void)snprintf(localbuf, localbufsize, "%d", r->code); in regatoi()
/ndk/sources/android/support/src/musl-stdio/
Dsnprintf.c4 int snprintf(char *restrict s, size_t n, const char *restrict fmt, ...) in snprintf() function
/ndk/sources/host-tools/gdb-stub/
Dgdb-stub.c121 (snprintf(resbuf, len, "%s;%s", cmdbuf, envbuf) > 0) in main()
142 snprintf(cmdbuf+len, cmdbufsize-len, "%s ", *argv); in main()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/impl/
Ddebug.ipp44 # define snprintf _snprintf
227 ::snprintf( fname_buff, sizeof(fname_buff), "/proc/%d/psinfo", pid );
243 ::snprintf( fname_buff, sizeof(fname_buff), "/proc/%d/as", pid );
261 ::snprintf( fname_buff, sizeof(fname_buff), "/proc/%d/stat", pid );
286 ::snprintf( fname_buff, sizeof(fname_buff), "/proc/%d/exe", pid );
320 …::snprintf( title_str, sizeof(title_str), "%*s %ld", (int)(dsi.binary_path.end()-it), it, dsi.pid …
420 ::snprintf( pid_buff, sizeof(pid_buff), "%ld", dsi.pid );
492 …::snprintf( dbg_cmd_buff, sizeof(dbg_cmd_buff), "(progn (gdb \"gdb -q -x %s\"))", cmnd_file_name );
516 ::snprintf( cmd_line_buff, sizeof(cmd_line_buff), "unlink %s;cont;%s%s",
530 ::snprintf( pid_buff, sizeof(pid_buff), "%ld", dsi.pid );
[all …]
/ndk/sources/android/support/src/musl-locale/
Dstrfmon.c66 l = snprintf(s, n, "%*.*f", w, rp, x); in vstrfmon_l()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcstdio60 int snprintf(char* restrict s, size_t n, const char* restrict format, ...); // C99
106 // snprintf
186 using ::snprintf;
/ndk/sources/android/libthread_db/
Dlibthread_db.c76 snprintf(path, sizeof(path), "/proc/%d/task/", agent->pid); in td_ta_thr_iter()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/
Dsupport.h45 #define snprintf _snprintf macro
/ndk/sources/android/support/tests/minitest/
Dminitest.cc76 ::snprintf(buf, sizeof(buf), Format, v); \
/ndk/sources/cxx-stl/system/include/
Dcstdio87 using ::snprintf;
/ndk/sources/cxx-stl/gabi++/include/
Dcstdio87 using ::snprintf;
/ndk/sources/cxx-stl/stlport/src/
Dnum_put_float.cpp88 # define snprintf _snprintf macro
761 snprintf(_STLP_ARRAY_AND_SIZE(static_buf), fmtbuf, precision, x);
849 snprintf(_STLP_ARRAY_AND_SIZE(cvtbuf), "%Lf", __x); // check for 1234.56!
851 snprintf(_STLP_ARRAY_AND_SIZE(cvtbuf), "%f", __x); // check for 1234.56!
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
Dstdio_h.pass.cpp104 static_assert((std::is_same<decltype(snprintf(cp,0,"p")), int>::value), ""); in main()
/ndk/sources/host-tools/ndk-stack/
Dndk-stack-parser.c360 snprintf(sym_file, sizeof(sym_file), "%s/%s", parser->sym_root, module_name); in ParseFrame()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/c.files/
Dcstdio.pass.cpp105 static_assert((std::is_same<decltype(std::snprintf(cp,0," ")), int>::value), ""); in main()
/ndk/sources/android/support/
DAndroid.mk116 src/musl-stdio/snprintf.c \
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-port.cc178 snprintf(full_pattern, full_regex_len, "^(%s)$", regex); in Init()
/ndk/sources/android/support/src/stdio/
Dvfwprintf.c351 snprintf(charfmt, sizeof charfmt, "%%%s%s%s%s%s*.*%c%c", in wprintf_core()
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/
DAddressSpace.hpp450 snprintf(buf, bufLen, "%s", dyldInfo.dli_sname); in findFunctionName()
/ndk/sources/host-tools/make-3.81/config/
Dgettext.m4385 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
390 dnl is defined as a weak alias of snprintf; we prefer to use the latter).
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/
Dgtest-port.h1838 # define GTEST_SNPRINTF_ snprintf
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dcxa_demangle.cpp202 int n = snprintf(num, sizeof(num), float_data<Float>::spec, value); in parse_floating_number()

12