Home
last modified time | relevance | path

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

1234567891011

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/
D1-1.c30 strftime(text, sizeof(text), nl_langinfo(D_T_FMT), local_t); in main()
35 result = strftime(text, sizeof(text), "%a", local_t); in main()
44 result = strftime(text, sizeof(text), "%A", local_t); in main()
53 result = strftime(text, sizeof(text), "%b", local_t); in main()
62 result = strftime(text, sizeof(text), "%B", local_t); in main()
82 result = strftime(text, sizeof(text), "%C", local_t); in main()
91 result = strftime(text, sizeof(text), "%d", local_t); in main()
112 result = strftime(text, sizeof(text), "%e", local_t); in main()
121 result = strftime(text, sizeof(text), "%F", local_t); in main()
130 result = strftime(text, sizeof(text), "%H", local_t); in main()
[all …]
D2-1.c31 strftime(text, sizeof(text), nl_langinfo(D_T_FMT), local_t); in main()
47 result = strftime(text, sizeof(text), "%EC", local_t); in main()
67 result = strftime(text, sizeof(text), "%EX", local_t); in main()
87 result = strftime(text, sizeof(text), "%EY", local_t); in main()
96 result = strftime(text, sizeof(text), "%Od", local_t); in main()
105 result = strftime(text, sizeof(text), "%Oe", local_t); in main()
114 result = strftime(text, sizeof(text), "%OH", local_t); in main()
123 result = strftime(text, sizeof(text), "%OI", local_t); in main()
132 result = strftime(text, sizeof(text), "%Om", local_t); in main()
141 result = strftime(text, sizeof(text), "%OM", local_t); in main()
[all …]
Dcoverage.txt5 conformance/interfaces/strftime/1-1: build: FAILED: Compiler output:
7 conformance/interfaces/strftime/1-1.c: In function `main':
8 conformance/interfaces/strftime/1-1.c:67: warning: `%c' yields only last 2 digits of year in some l…
9 conformance/interfaces/strftime/1-1.c:95: warning: `%D' yields only last 2 digits of year
10 conformance/interfaces/strftime/1-1.c:132: warning: `%g' yields only last 2 digits of year
11 conformance/interfaces/strftime/1-1.c:312: warning: `%x' yields only last 2 digits of year in some …
12 conformance/interfaces/strftime/1-1.c:330: warning: `%y' yields only last 2 digits of year
/third_party/musl/libc-test/src/functionalext/time/
Dstrftime_ext.c47 size_t count = strftime(buffer, sizeof(buffer) - 1, "%c", timeptr); in strftime_0100()
75 size_t count = strftime(buffer, sizeof(buffer) - 1, "%c %Z%z", timeptr); in strftime_0200()
102 size_t count = strftime(buffer, sizeof(buffer) - 1, "%k", timeptr); in strftime_0300()
128 size_t count = strftime(buffer, sizeof(buffer) - 1, "%k", timeptr); in strftime_0400()
154 size_t count = strftime(buffer, sizeof(buffer) - 1, "%I", timeptr); in strftime_0500()
180 size_t count = strftime(buffer, sizeof(buffer) - 1, "%P", timeptr); in strftime_0600()
206 size_t count = strftime(buffer, sizeof(buffer) - 1, "%v", timeptr); in strftime_0700()
232 size_t count = strftime(buffer, sizeof(buffer) - 1, "%j", timeptr); in strftime_0800()
258 size_t count = strftime(buffer, sizeof(buffer) - 1, "%l", timeptr); in strftime_0900()
290 size_t count = strftime(buffer, sizeof(buffer) - 1, "%V", timeptr); in strftime_1000()
[all …]
/third_party/python/Lib/test/
Dtest_strptime.py39 strftime_output = time.strftime(directive, self.time_tuple).lower()
65 strftime_output = time.strftime("%p", self.time_tuple).lower()
75 timezone = time.strftime("%Z", self.time_tuple).lower()
90 strftime_output = time.strftime("%c", magic_date)
91 self.assertEqual(time.strftime(self.LT_ins.LC_date_time, magic_date),
93 strftime_output = time.strftime("%x", magic_date)
94 self.assertEqual(time.strftime(self.LT_ins.LC_date, magic_date),
96 strftime_output = time.strftime("%X", magic_date)
97 self.assertEqual(time.strftime(self.LT_ins.LC_time, magic_date),
161 found = compiled.match(time.strftime("%" + directive))
[all …]
Dtest_strftime.py119 result = time.strftime(e[0], now)
161 result = time.strftime(e[0], now)
193 time.strftime("%y", t)
195 self.assertEqual(time.strftime("%y", t), "99")
199 time.strftime("%y", (1900, 1, 1, 0, 0, 0, 0, 0, 0)), "00")
203 time.strftime("%y", (2013, 1, 1, 0, 0, 0, 0, 0, 0)), "13")
Dtest_time.py165 time.strftime(format, tt)
169 self.assertRaises(TypeError, time.strftime, b'%S', tt)
171 self.assertRaises(ValueError, time.strftime, '%S\0', tt)
231 self._bounds_checking(lambda tup: time.strftime('', tup))
242 time.strftime(x * y + z)
253 result = time.strftime("%Y %m %d %H %M %S %w %j", (2000,)+(0,)*8)
265 strf_output = time.strftime(format, tt)
444 tzname = time.strftime('%Z', tt)
450 self.assertEqual(time.strftime('%Z', tt), tzname)
579 time.strftime("%B", (2009,2,1,0,0,0,0,0,0))
[all …]
/third_party/musl/ndk-test/script/
Dbuild.py31 build_start = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
46 build_end = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
54 copy_start = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
83 copy_end = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
90 del_start = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
101 del_end = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
/third_party/typescript/tests/baselines/reference/
DmoduleAugmentationDuringSyntheticDefaultCheck.types44 strftime(pattern: string): string;
45 >strftime : { (pattern: string): string; (pattern: string): string; }
53 strftime(pattern: string): string;
54 >strftime : { (pattern: string): string; (pattern: string): string; }
DmoduleAugmentationDuringSyntheticDefaultCheck.symbols54 strftime(pattern: string): string;
55 >strftime : Symbol(Moment.strftime, Decl(idx.ts, 2, 22), Decl(idx.ts, 7, 22))
65 strftime(pattern: string): string;
66 >strftime : Symbol(Moment.strftime, Decl(idx.ts, 2, 22), Decl(idx.ts, 7, 22))
DmoduleAugmentationDuringSyntheticDefaultCheck.js23 strftime(pattern: string): string;
28 strftime(pattern: string): string;
/third_party/typescript/tests/cases/compiler/
DmoduleAugmentationDuringSyntheticDefaultCheck.ts23 strftime(pattern: string): string; method
28 strftime(pattern: string): string; method
/third_party/ffmpeg/tests/ref/fate/
Dbprint15 strftime full: 255/10 "2000-12-20"
16 strftime truncated: 255/10 "2000-12"
/third_party/googletest/googletest/scripts/
Dgen_gtest_pred_impl.py74 'today' : time.strftime('%m/%d/%Y'),
75 'year' : time.strftime('%Y'),
334 'today' : time.strftime('%m/%d/%Y'),
335 'year' : time.strftime('%Y'),
/third_party/gstreamer/gstplugins_base/ext/pango/
Dgstclockoverlay.h76 return strftime (s, max, format, tm); in my_strftime()
78 #define strftime my_strftime macro
/third_party/skia/third_party/externals/egl-registry/api/
Dgenheaders.py243 format('/* Generated on date %s */' % time.strftime('%Y%m%d')),
249 format('#define GL_GLEXT_VERSION %s' % time.strftime('%Y%m%d')),
254 format('#define WGL_WGLEXT_VERSION %s' % time.strftime('%Y%m%d')),
259 format('#define GLX_GLXEXT_VERSION %s' % time.strftime('%Y%m%d')),
264 format('#define EGL_EGLEXT_VERSION %s' % time.strftime('%Y%m%d')),
/third_party/skia/third_party/externals/opengl-registry/xml/
Dgenheaders.py241 format('/* Generated on date %s */' % time.strftime('%Y%m%d')),
247 format('#define GL_GLEXT_VERSION %s' % time.strftime('%Y%m%d')),
252 format('#define WGL_WGLEXT_VERSION %s' % time.strftime('%Y%m%d')),
257 format('#define GLX_GLXEXT_VERSION %s' % time.strftime('%Y%m%d')),
262 format('#define EGL_EGLEXT_VERSION %s' % time.strftime('%Y%m%d')),
Dgenglvnd.py242 format("/* Generated on date %s */" % time.strftime("%Y%m%d")),
248 format("#define GL_GLEXT_VERSION %s" % time.strftime("%Y%m%d")),
253 format("#define WGL_WGLEXT_VERSION %s" % time.strftime("%Y%m%d")),
258 format("#define GLX_GLXEXT_VERSION %s" % time.strftime("%Y%m%d")),
263 format("#define EGL_EGLEXT_VERSION %s" % time.strftime("%Y%m%d")),
/third_party/openGLES/xml/
Dgenheaders.py157 format('/* Generated on date %s */' % time.strftime('%Y%m%d')),
163 format('#define GL_GLEXT_VERSION %s' % time.strftime('%Y%m%d')),
168 format('#define WGL_WGLEXT_VERSION %s' % time.strftime('%Y%m%d')),
173 format('#define GLX_GLXEXT_VERSION %s' % time.strftime('%Y%m%d')),
184 format('#define EGL_EGLEXT_VERSION %s' % time.strftime('%Y%m%d')),
Dgenglvnd.py212 format("/* Generated on date %s */" % time.strftime("%Y%m%d")),
218 format("#define GL_GLEXT_VERSION %s" % time.strftime("%Y%m%d")),
223 format("#define WGL_WGLEXT_VERSION %s" % time.strftime("%Y%m%d")),
228 format("#define GLX_GLXEXT_VERSION %s" % time.strftime("%Y%m%d")),
233 format("#define EGL_EGLEXT_VERSION %s" % time.strftime("%Y%m%d")),
/third_party/EGL/api/
Dgenheaders.py168 format('/* Generated on date %s */' % time.strftime('%Y%m%d')),
174 format('#define GL_GLEXT_VERSION %s' % time.strftime('%Y%m%d')),
179 format('#define WGL_WGLEXT_VERSION %s' % time.strftime('%Y%m%d')),
184 format('#define GLX_GLXEXT_VERSION %s' % time.strftime('%Y%m%d')),
189 format('#define EGL_EGLEXT_VERSION %s' % time.strftime('%Y%m%d')),
/third_party/musl/libc-test/src/functional/
Dstrptime.c33 strftime(buf1, sizeof(buf1), "%FT%H:%M:%S%Z", expected); in checkStrptime()
34 strftime(buf2, sizeof(buf2), "%FT%H:%M:%S%Z", &tm); in checkStrptime()
/third_party/openh264/codec/common/src/
Dcrt_util_safe_x.cpp114 iRc = (int32_t)strftime (pBuffer, iSize, kpFormat, &sTimeNow); in WelsStrftime()
175 iRc = strftime (pBuffer, iSize, kpFormat, pTnow); in WelsStrftime()
236 iRc = (int32_t) strftime (pBuffer, iSize, kpFormat, pTnow); in WelsStrftime()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DChrono.cpp46 strftime(Buffer, sizeof(Buffer), "%Y-%m-%d %H:%M:%S", &LT); in operator <<()
89 size_t Len = strftime(Buffer, sizeof(Buffer), Format.c_str(), &LT); in format()
/third_party/python/Lib/
D_strptime.py104 am_pm.append(time.strftime("%p", time_tuple).lower())
117 date_time[0] = time.strftime("%c", time_tuple).lower()
118 date_time[1] = time.strftime("%x", time_tuple).lower()
119 date_time[2] = time.strftime("%X", time_tuple).lower()
143 if '00' in time.strftime(directive, time_tuple):

1234567891011