Home
last modified time | relevance | path

Searched refs:strftime (Results 1 – 18 of 18) sorted by relevance

/bionic/tests/
Dtime_test.cpp229 TEST(time, strftime) { in TEST() argument
242 EXPECT_EQ(10U, strftime(buf, sizeof(buf), "%s", &t)); in TEST()
247 EXPECT_EQ(24U, strftime(buf, sizeof(buf), "%c", &t)); in TEST()
265 EXPECT_EQ(2U, strftime(buf, sizeof(buf), "%s", &t)); in TEST()
280 EXPECT_EQ(5U, strftime(buf, sizeof(buf), "<%Z>", &t)); in TEST()
285 EXPECT_EQ(5U, strftime(buf, sizeof(buf), "<%Z>", &t)); in TEST()
289 EXPECT_EQ(2U, strftime(buf, sizeof(buf), "<%Z>", &t)); in TEST()
297 EXPECT_EQ(5U, strftime(buf, sizeof(buf), "<%Z>", &t)); in TEST()
302 EXPECT_EQ(2U, strftime(buf, sizeof(buf), "<%Z>", &t)); in TEST()
327 size_t result = strftime(str, sizeof(str), "%z", &tm); in TEST()
[all …]
/bionic/libc/tzcode/
Dasctime.c100 strftime(year, sizeof year, "%Y", timeptr); in asctime_r()
Dprivate.h467 # undef strftime
468 # define strftime tz_strftime macro
513 size_t strftime(char *restrict, size_t, char const *restrict,
Dstrftime.c140 return strftime(s, maxsize, format, t); in strftime_l()
147 strftime(char *s, size_t maxsize, const char *format, const struct tm *t) in strftime() function
/bionic/tests/headers/posix/
Dtime_h.c96 FUNCTION(strftime, size_t (*f)(char*, size_t, const char*, const struct tm*)); in time_h()
/bionic/libc/include/
Dtime.h80 size_t strftime(char* _Nonnull __buf, size_t __n, const char* _Nonnull __fmt, const struct tm* _Nul…
/bionic/benchmarks/
Dtime_benchmark.cpp211 strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", tm); in BM_time_strftime()
/bionic/libc/include/sys/
Dcdefs.h107 #define __strftimelike(x) __attribute__((__format__(strftime, x, 0)))
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_065.S194 CALL(strftime)
Dliblinker_reloc_bench_003.S1162 CALL(strftime)
Dliblinker_reloc_bench_103.S2448 CALL(strftime)
Dliblinker_reloc_bench_016.S2495 CALL(strftime)
Dliblinker_reloc_bench_078.S5703 CALL(strftime)
Dliblinker_reloc_bench_063.S11105 CALL(strftime)
/bionic/docs/
Dstatus.md116 (strftime already supported them all.)
140 * `%s` support in strptime (strftime already supported it).
/bionic/libc/tools/
Dposix-2013.txt1005 strftime
/bionic/libc/
Dlibc.map.txt1011 strftime;
/bionic/tools/versioner/platforms/
Dlibc.map.txt1011 strftime;