Home
last modified time | relevance | path

Searched full:date (Results 1 – 25 of 525) sorted by relevance

12345678910>>...21

/llvm-project/libcxx/test/std/time/time.syn/
H A Dformatter_tests.h99 check_invalid_type(valid_types, "The supplied date time doesn't contain a weekday", STR("a"), arg); in check_invalid_types()
100 check_invalid_type(valid_types, "The supplied date time doesn't contain a weekday", STR("A"), arg); in check_invalid_types()
101 check_invalid_type(valid_types, "The supplied date time doesn't contain a month", STR("b"), arg); in check_invalid_types()
102 check_invalid_type(valid_types, "The supplied date time doesn't contain a month", STR("B"), arg); in check_invalid_types()
103 check_invalid_type(valid_types, "The supplied date time doesn't contain a date and time", STR("c"), arg); in check_invalid_types()
104 check_invalid_type(valid_types, "The supplied date time doesn't contain a year", STR("C"), arg); in check_invalid_types()
105 check_invalid_type(valid_types, "The supplied date time doesn't contain a day", STR("d"), arg); in check_invalid_types()
106 check_invalid_type(valid_types, "The supplied date time doesn't contain a date", ST in check_invalid_types()
[all...]
H A Dformatter.year_month_day.pass.cpp55 check(SV("1970-02-31 is not a valid date"), in test_no_chrono_specs()
58 check(SV("*1970-02-31 is not a valid date*"), in test_no_chrono_specs()
61 check(SV("*1970-02-31 is not a valid date"), in test_no_chrono_specs()
66 check(SV("1970-00-31 is not a valid date"), in test_no_chrono_specs()
69 check(SV("*1970-00-31 is not a valid date*"), in test_no_chrono_specs()
72 check(SV("*1970-00-31 is not a valid date"), in test_no_chrono_specs()
77 check(SV("1970-00-32 is not a valid date"), in test_no_chrono_specs()
80 check(SV("*1970-00-32 is not a valid date*"), in test_no_chrono_specs()
83 check(SV("*1970-00-32 is not a valid date"), in test_no_chrono_specs()
88 check(SV("-32768-01-31 is not a valid date"), in test_no_chrono_specs()
[all...]
/llvm-project/polly/lib/External/isl/
H A DChangeLog2 date: Sat 02 Jul 2022 11:14:57 AM CEST
9 date: Sun 25 Apr 2021 03:56:37 PM CEST
16 date: Sun 01 Nov 2020 02:41:20 PM CET
24 date: Sun Jan 12 10:48:18 CET 2020
29 date: Fri Nov 1 18:39:30 CET 2019
38 date: Sat Mar 9 15:25:29 CET 2019
48 date: Sat Jul 21 18:10:08 CEST 2018
55 date: Sat Mar 3 10:44:49 CET 2018
66 date: Sun Dec 18 11:01:58 CET 2016
76 date: Fri May 6 12:02:48 CEST 2016
[all …]
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/objc/
H A Dnsdate-formatter.rst8 …tp://www.unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns for all legal date patterns.
10 This checker reports as warnings the following string patterns in a date format specifier:
14 * | **Example 1:** Input Date: `29 December 2014` ; Format String: `yyyy-ww`;
17 * | **Example 2:** Input Date: `29 December 2014` ; Format String: `dd-MM-yyyy (ww-YYYY)`;
22 * | **Example:** Input Date: `29 December 2014` ; Format String: `F-MM`;
27 * | **Example:** Input Date: `29 December 2014` ; Format String: `F-EE`
32 * | **Example:** Input Date: `29 December 2014` ; Format String: `WW-yyyy`
37 * | **Example 1:** Input Date: `29 December 2014` ; Format String: `YYYY-QQ`
40 * | **Example 2:** Input Date: `29 December 2014` ; Format String: `ww-YYYY (QQ-yyyy)`
45 * | **Example 1:** Input Date: `29 December 2014` ; Format String: `YYYY-MM`
[all …]
/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/chrono/
H A DTestDataFormatterLibcxxChrono.py38 substrs=["ss_tp = date/time=1970-01-01T00:00:00Z timestamp=0 s"],
42 substrs=["ss_tp_d = date/time=1970-01-01T00:00:00Z timestamp=0 s"],
46 substrs=["ss_tp_d_r = date/time=1970-01-01T00:00:00Z timestamp=0 s"],
50 substrs=["ss_tp_d_r2 = date/time=1970-01-01T00:00:00Z timestamp=0 s"],
55 substrs=["ss_0 = date/time=1970-01-01T00:00:00Z timestamp=0 s"],
62 "ss_neg_date_time = date/time=-32767-01-01T00:00:00Z timestamp=-1096193779200 s"
77 "ss_pos_date_time = date/time=32767-12-31T23:59:59Z timestamp=971890963199 s"
99 substrs=["sd_tp = date=1970-01-01Z timestamp=0 days"],
103 substrs=["sd_tp_d_r = date=1970-01-01Z timestamp=0 days"],
107 substrs=["sd_tp_d_r2 = date=1970-01-01Z timestamp=0 days"],
[all …]
/llvm-project/clang/test/Preprocessor/
H A DSOURCE_DATE_EPOCH.c1 // RUN: %clang_cc1 -source-date-epoch 0 -E %s | FileCheck %s --check-prefix=19700101
3 // 19700101: const char date[] = "Jan 1 1970";
7 // RUN: %clang_cc1 -source-date-epoch 2147483647 -E -Wdate-time %s 2>&1 | FileCheck %s --check-pref…
9 // Y2038: warning: expansion of date or time macro is not reproducible [-Wdate-time]
10 // Y2038: const char date[] = "Jan 19 2038";
15 // RUN: %if !system-windows && clang-target-64-bits %{ %clang_cc1 -source-date-epoch 253402300799 -…
17 // 99991231: warning: expansion of date or time macro is not reproducible [-Wdate-time]
18 // 99991231: const char date[] = "Dec 31 9999";
22 // RUN: not %clang_cc1 -source-date-epoch 253402300800 -E %s 2>&1 | FileCheck %s --check-prefix=TOO…
26 // RUN: not %clang_cc1 -source-date-epoch 0x0 -E %s 2>&1 | FileCheck %s --check-prefix=NOTDECIMAL
[all …]
/llvm-project/libcxx/include/__chrono/
H A Dparser_std_format_spec.h78 std::__throw_format_error("The supplied date time doesn't contain a second"); in __validate_minute()
83 std::__throw_format_error("The supplied date time doesn't contain a minute"); in __validate_hour()
88 std::__throw_format_error("The supplied date time doesn't contain an hour"); in __validate_time()
93 std::__throw_format_error("The supplied date time doesn't contain a time"); in __validate_day()
98 std::__throw_format_error("The supplied date time doesn't contain a day"); in __validate_month()
103 std::__throw_format_error("The supplied date time doesn't contain a month"); in __validate_year()
108 std::__throw_format_error("The supplied date time doesn't contain a year"); in __validate_date()
113 std::__throw_format_error("The supplied date time doesn't contain a date"); in __validate_date_or_duration()
118 std::__throw_format_error("The supplied date tim
[all...]
H A Dleap_second.h46 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr sys_seconds date() const noexcept { return __date_; } in date() function
64 return __x.date() == __y.date();
68 return __x.date() <=> __y.date();
73 return __x.date() == __y;
78 return __x.date() < __y;
83 return __x < __y.date();
119 return __x.date() <=> __y;
/llvm-project/lldb/test/API/commands/command/source/
H A DTestCommandSource.py18 # the "my" package that defines the date() function.
27 # the "my" package that defines the date() function.
32 # Python should evaluate "my.date()" successfully.
36 command_interpreter.HandleCommand("script my.date()", result)
43 "script my.date() runs successfully",
50 "script my.date() runs successfully",
52 substrs=[str(datetime.date.today())],
/llvm-project/libcxx/test/std/time/time.zone/time.zone.leap/
H A Dassign.copy.pass.cpp38 // operator== only compares the date member. in test()
39 assert(a.date() != b.date()); in test()
46 assert(a.date() == b.date()); in test()
55 assert(a.date() == b.date()); in test()
H A Dcons.copy.pass.cpp38 // operator== only compares the date member. in test()
39 assert(a.date() == b.date()); in test()
50 // operator== only compares the date member. in test()
51 assert(a.date() == b.date()); in test()
/llvm-project/libcxx/test/std/time/time.cal/time.cal.ymd/time.cal.ymd.nonmembers/
H A Dostream.pass.cpp73 SV("-32768-01-01 is not a valid date")); in test()
76 SV("-32767-00-01 is not a valid date")); in test()
79 SV("-32767-01-00 is not a valid date")); in test()
85 SV("1999-02-29 is not a valid date")); in test()
95 SV("-32768-01-01 is not a valid date")); in test()
98 SV("-32767-00-01 is not a valid date")); in test()
101 SV("-32767-01-00 is not a valid date")); in test()
107 SV("1999-02-29 is not a valid date")); in test()
117 SV("-32768-01-01 is not a valid date")); in test()
120 SV("-32767-00-01 is not a valid date")); in test()
[all …]
/llvm-project/flang/test/Lower/Intrinsics/
H A Ddate_and_time.f904 ! CHECK-SAME: %[[date:[^:]+]]: !fir.boxchar<1>{{.*}}, %[[time:[^:]+]]: !fir.boxchar<1>{{.*}}, %[[zone:.*]]: !fir.boxchar<1>{{.*}}, %[[values:.*]]: !fir.box<!fir.array<?xi64>>{{.*}}) {
5 subroutine date_and_time_test(date, time, zone, values) argument
6 character(*) :: date, time, zone local
8 ! CHECK: %[[dateUnbox:.*]]:2 = fir.unboxchar %[[date]] : (!fir.boxchar<1>) -> (!fir.ref<!fir.char<1,?>>, index)
19 call date_and_time(date, time, zone, values)
23 ! CHECK-SAME: %[[date:.*]]: !fir.boxchar<1>{{.*}})
24 subroutine date_and_time_test2(date) argument
25 character(*) :: date local
26 ! CHECK: %[[dateUnbox:.*]]:2 = fir.unboxchar %[[date]] : (!fir.boxchar<1>) -> (!fir.ref<!fir.char<1,?>>, index)
35 call date_and_time(date)
43 date_and_time_dynamic_optional(date, time, zone, values) global() argument
47 character(*) :: date global() local
[all...]
/llvm-project/libcxx/test/std/time/time.zone/time.zone.leap/members/
H A Ddate.pass.cpp19 // constexpr sys_seconds date() const noexcept;
30 std::same_as<std::chrono::sys_seconds> auto date = leap_second.date(); in test()
31 assert(date == expected); in test()
32 static_assert(noexcept(leap_second.date())); in test()
49 test(tzdb.leap_seconds[0], tzdb.leap_seconds[0].date()); in main()
29 std::same_as<std::chrono::sys_seconds> auto date = leap_second.date(); test() local
/llvm-project/lldb/test/API/lang/objc/radar-9691614/
H A Dmain.m6 NSDate *date; field
20 date = [NSDate date];
33 [date release];
40 return [str stringByAppendingFormat:@" with timestamp: %@", date];
/llvm-project/lldb/test/API/lang/objc/sample/
H A Dmain.m11 @property (readonly,getter=getTheDate) NSDate *date; property
19 @synthesize date = _date;
26 _date = [NSDate date];
63 myStr.date, @"date",
/llvm-project/lldb/test/API/lang/objcxx/sample/
H A Dmain.mm11 @property (readonly,getter=getTheDate) NSDate *date; property
19 @synthesize date = _date;
26 _date = [NSDate date];
63 myStr.date, @"date",
/llvm-project/clang/test/Rewriter/
H A Drewrite-modern-container-literal.mm43 + (id)date; class
47 NSArray *array = @[ @"Hello", NSUserName(), [NSDate date], [NSNumber numberWithInt:42]];
49 NSDictionary *dictionary = @{ @"name" : NSUserName(), @"date" : [NSDate date], @"process" : @"proce…
51 NSDictionary *dict = @{ @"name":@666, @"man":@__objc_yes, @"date":@1.3 };
/llvm-project/clang/test/Lexer/
H A Dwarn-date-time.c3 // RUN: not %clang_cc1 -Werror=date-time -Wno-builtin-macro-redefined %s -DIS_SYSHEADER -E 2>&1 | g…
12 __TIME__ // expected-warning {{expansion of date or time macro is not reproducible}}
13 __DATE__ // expected-warning {{expansion of date or time macro is not reproducible}}
14 __TIMESTAMP__ // expected-warning {{expansion of date or time macro is not reproducible}}
/llvm-project/lldb/test/API/lang/objc/foundation/
H A DTestObjCMethods.py161 "NSDate * date;",
186 # 'frame variable self->date' displays the wrong data member
188 "frame variable --show-types self->date",
190 startstr="(NSDate *) self->date",
193 # This should display the str and date member fields as well.
197 substrs=["(MyString) *self", "(NSString *) str", "(NSDate *) date"],
218 self.runCmd("expression self->date")
224 # (lldb) expression self->date
225 # error: instance variable 'date' is protected
/llvm-project/libcxx/test/libcxx/time/time.zone/time.zone.db/
H A Dleap_seconds.pass.cpp98 assert(result.leap_seconds[0].date() == sys_seconds{sys_days{1900y / January / 2}}); in test_leap_seconds()
101 assert(result.leap_seconds[1].date() == sys_seconds{sys_days{1972y / January / 1}}); in test_leap_seconds()
104 assert(result.leap_seconds[2].date() == sys_seconds{sys_days{1972y / July / 1}}); in test_leap_seconds()
107 assert(result.leap_seconds[3].date() == sys_seconds{sys_days{1973y / January / 1}}); in test_leap_seconds()
110 assert(result.leap_seconds[4].date() == sys_seconds{sys_days{1973y / January / 2}}); in test_leap_seconds()
113 assert(result.leap_seconds[5].date() == in test_leap_seconds()
/llvm-project/polly/www/
H A Dmenu.html.incl58 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
81 var date = it.pubDate.substr(5, 11);
84 str = str + "<span class=\"rss-date\">(" + date + ")</span>";
99 var date = it.pubDate.substr(5, 11);
102 str = str + "<span class=\"rss-date\">(" + date + ")</span>";
/llvm-project/llvm/test/tools/llvm-readobj/COFF/
H A Dresources.test27 ZERO-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
61 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
81 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
106 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
126 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
151 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
176 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
196 TEST_RES-NEXT: Time/Date Stamp: 1970-01-01 00:00:00 (0x0)
/llvm-project/llvm/test/tools/llvm-ml/
H A Dbuiltin_symbols.asm48 %ECHO Date = @Date
52 ; CHECK-REALTIME: Date = {{([[:digit:]]{2}/[[:digit:]]{2}/[[:digit:]]{2})}}
53 ; CHECK-FIXEDTIME: Date = 01/01/70
/llvm-project/flang/runtime/
H A Dtime-intrinsic.cpp217 // Default implementation when date and time information is not available (set in DateAndTimeUnavailable()
220 char *date, std::size_t dateChars, char *time, std::size_t timeChars, in DateAndTimeUnavailable()
223 if (date) { in DateAndTimeUnavailable()
224 std::memset(date, static_cast<int>(' '), dateChars); in DateAndTimeUnavailable()
348 static void GetDateAndTime(Fortran::runtime::Terminator &terminator, char *date,
355 terminator, date, dateChars, time, timeChars, zone, zoneChars, values); in GetDateAndTime()
373 if (date) { in RTNAME()
375 copyBufferAndPad(date, dateChars, len);
419 static void GetDateAndTime(Fortran::runtime::Terminator &terminator, char *date, in RTNAME()
423 // So far, implement as if the date an in RTNAME()
218 DateAndTimeUnavailable(Fortran::runtime::Terminator & terminator,char * date,std::size_t dateChars,char * time,std::size_t timeChars,char * zone,std::size_t zoneChars,const Fortran::runtime::Descriptor * values) DateAndTimeUnavailable() argument
280 GetDateAndTime(Fortran::runtime::Terminator & terminator,char * date,std::size_t dateChars,char * time,std::size_t timeChars,char * zone,std::size_t zoneChars,const Fortran::runtime::Descriptor * values) GetDateAndTime() argument
351 GetDateAndTime(Fortran::runtime::Terminator & terminator,char * date,std::size_t dateChars,char * time,std::size_t timeChars,char * zone,std::size_t zoneChars,const Fortran::runtime::Descriptor * values) GetDateAndTime() argument
[all...]

12345678910>>...21