Searched refs:strftime (Results 1 – 18 of 18) sorted by relevance
/bionic/tests/ |
D | time_test.cpp | 229 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/ |
D | asctime.c | 100 strftime(year, sizeof year, "%Y", timeptr); in asctime_r()
|
D | private.h | 467 # undef strftime 468 # define strftime tz_strftime macro 513 size_t strftime(char *restrict, size_t, char const *restrict,
|
D | strftime.c | 140 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/ |
D | time_h.c | 96 FUNCTION(strftime, size_t (*f)(char*, size_t, const char*, const struct tm*)); in time_h()
|
/bionic/libc/include/ |
D | time.h | 80 size_t strftime(char* _Nonnull __buf, size_t __n, const char* _Nonnull __fmt, const struct tm* _Nul…
|
/bionic/benchmarks/ |
D | time_benchmark.cpp | 211 strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", tm); in BM_time_strftime()
|
/bionic/libc/include/sys/ |
D | cdefs.h | 107 #define __strftimelike(x) __attribute__((__format__(strftime, x, 0)))
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_065.S | 194 CALL(strftime)
|
D | liblinker_reloc_bench_003.S | 1162 CALL(strftime)
|
D | liblinker_reloc_bench_103.S | 2448 CALL(strftime)
|
D | liblinker_reloc_bench_016.S | 2495 CALL(strftime)
|
D | liblinker_reloc_bench_078.S | 5703 CALL(strftime)
|
D | liblinker_reloc_bench_063.S | 11105 CALL(strftime)
|
/bionic/docs/ |
D | status.md | 116 (strftime already supported them all.) 140 * `%s` support in strptime (strftime already supported it).
|
/bionic/libc/tools/ |
D | posix-2013.txt | 1005 strftime
|
/bionic/libc/ |
D | libc.map.txt | 1011 strftime;
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 1011 strftime;
|