/third_party/musl/libc-test/src/functional/ |
D | strftime.c | 32 static struct tm tm2 = { variable 84 checkStrftime("%c", &tm2, "Mon Jan 5 05:17:53 +10009"); in main() 93 checkStrftime("%C", &tm2, "100"); in main() 101 checkStrftime("%F", &tm2, "+10009-01-05"); in main() 102 checkStrftime("%011F", &tm2, "10009-01-05"); in main() 111 checkStrftime("%g", &tm2, "09"); in main() 115 checkStrftime("%04G", &tm2, "10009"); in main() 118 checkStrftime("%r", &tm2, "05:17:53 AM"); in main() 126 checkStrftime("%s", &tm2, "253686748673"); in main() 130 checkStrftime("%T", &tm2, "05:17:53"); in main() [all …]
|
D | time.c | 13 int tm_cmp(struct tm tm1, struct tm tm2) in tm_cmp() argument 15 return tm1.tm_sec != tm2.tm_sec || in tm_cmp() 16 tm1.tm_min != tm2.tm_min || in tm_cmp() 17 tm1.tm_hour != tm2.tm_hour || in tm_cmp() 18 tm1.tm_mday != tm2.tm_mday || in tm_cmp() 19 tm1.tm_mon != tm2.tm_mon || in tm_cmp() 20 tm1.tm_year != tm2.tm_year || in tm_cmp() 21 tm1.tm_wday != tm2.tm_wday || in tm_cmp() 22 tm1.tm_yday != tm2.tm_yday || in tm_cmp() 23 tm1.tm_isdst!= tm2.tm_isdst; in tm_cmp()
|
D | strptime.c | 62 static struct tm tm2 = { variable 104 checkStrptime("1991-08-25", "%Y-%m-%d", &tm2); in main() 105 checkStrptime("25.08.91", "%d.%m.%y", &tm2); in main() 106 checkStrptime("08/25/91", "%D", &tm2); in main() 112 checkStrptime("683078400", "%s", &tm2); in main()
|
/third_party/openssl/test/ |
D | gmdifftest.c | 24 struct tm tm1, tm2, o1; in check_time() local 32 OPENSSL_gmtime(&t2, &tm2); in check_time() 36 || !TEST_int_eq(tm1.tm_year, tm2.tm_year) in check_time() 37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time() 38 || !TEST_int_eq(tm1.tm_mday, tm2.tm_mday) in check_time() 39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time() 40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time() 41 || !TEST_int_eq(tm1.tm_sec, tm2.tm_sec) in check_time()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | os_win32.c | 104 struct tm *tm2; in os_gmtime() local 107 tm2 = gmtime(&t2); in os_gmtime() 108 if (tm2 == NULL) in os_gmtime() 110 tm->sec = tm2->tm_sec; in os_gmtime() 111 tm->min = tm2->tm_min; in os_gmtime() 112 tm->hour = tm2->tm_hour; in os_gmtime() 113 tm->day = tm2->tm_mday; in os_gmtime() 114 tm->month = tm2->tm_mon + 1; in os_gmtime() 115 tm->year = tm2->tm_year + 1900; in os_gmtime()
|
D | os_internal.c | 82 struct tm *tm2; in os_gmtime() local 85 tm2 = gmtime(&t2); in os_gmtime() 86 if (tm2 == NULL) in os_gmtime() 88 tm->sec = tm2->tm_sec; in os_gmtime() 89 tm->min = tm2->tm_min; in os_gmtime() 90 tm->hour = tm2->tm_hour; in os_gmtime() 91 tm->day = tm2->tm_mday; in os_gmtime() 92 tm->month = tm2->tm_mon + 1; in os_gmtime() 93 tm->year = tm2->tm_year + 1900; in os_gmtime()
|
D | os_unix.c | 170 struct tm *tm2; in os_gmtime() local 173 tm2 = gmtime(&t2); in os_gmtime() 174 if (tm2 == NULL) in os_gmtime() 176 tm->sec = tm2->tm_sec; in os_gmtime() 177 tm->min = tm2->tm_min; in os_gmtime() 178 tm->hour = tm2->tm_hour; in os_gmtime() 179 tm->day = tm2->tm_mday; in os_gmtime() 180 tm->month = tm2->tm_mon + 1; in os_gmtime() 181 tm->year = tm2->tm_year + 1900; in os_gmtime()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | os_win32.c | 104 struct tm *tm2; in os_gmtime() local 107 tm2 = gmtime(&t2); in os_gmtime() 108 if (tm2 == NULL) in os_gmtime() 110 tm->sec = tm2->tm_sec; in os_gmtime() 111 tm->min = tm2->tm_min; in os_gmtime() 112 tm->hour = tm2->tm_hour; in os_gmtime() 113 tm->day = tm2->tm_mday; in os_gmtime() 114 tm->month = tm2->tm_mon + 1; in os_gmtime() 115 tm->year = tm2->tm_year + 1900; in os_gmtime()
|
D | os_internal.c | 88 struct tm *tm2; in os_gmtime() local 91 tm2 = gmtime(&t2); in os_gmtime() 92 if (tm2 == NULL) in os_gmtime() 94 tm->sec = tm2->tm_sec; in os_gmtime() 95 tm->min = tm2->tm_min; in os_gmtime() 96 tm->hour = tm2->tm_hour; in os_gmtime() 97 tm->day = tm2->tm_mday; in os_gmtime() 98 tm->month = tm2->tm_mon + 1; in os_gmtime() 99 tm->year = tm2->tm_year + 1900; in os_gmtime()
|
D | os_unix.c | 176 struct tm *tm2; in os_gmtime() local 179 tm2 = gmtime(&t2); in os_gmtime() 180 if (tm2 == NULL) in os_gmtime() 182 tm->sec = tm2->tm_sec; in os_gmtime() 183 tm->min = tm2->tm_min; in os_gmtime() 184 tm->hour = tm2->tm_hour; in os_gmtime() 185 tm->day = tm2->tm_mday; in os_gmtime() 186 tm->month = tm2->tm_mon + 1; in os_gmtime() 187 tm->year = tm2->tm_year + 1900; in os_gmtime()
|
/third_party/libwebsockets/lib/abstract/transports/ |
D | raw-skt.c | 355 const lws_token_map_t *tm1, *tm2; in lws_atcrs_compare() local 358 tm2 = lws_abs_get_token(abs2->at_tokens, LTMI_PEER_V_DNS_ADDRESS); in lws_atcrs_compare() 361 if (!tm1 || !tm2 || strcmp(tm1->u.value, tm2->u.value)) in lws_atcrs_compare() 366 tm2 = lws_abs_get_token(abs2->at_tokens, LTMI_PEER_LV_PORT); in lws_atcrs_compare() 367 if (!tm1 || !tm2 || tm1->u.lvalue != tm2->u.lvalue) in lws_atcrs_compare() 372 tm2 = lws_abs_get_token(abs2->at_tokens, LTMI_PEER_LV_TLS_FLAGS); in lws_atcrs_compare() 375 if (!!tm1 != !!tm2) in lws_atcrs_compare() 383 if (tm1->u.lvalue != tm2->u.lvalue) in lws_atcrs_compare()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_libc.cc | 142 std::tm tm2; in make_time() local 143 const std::tm* tmp = local_time(t, &tm2); in make_time()
|
/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | basic.rb | 880 tm2 = TestMessage2.new(:foo => 200) 883 m.repeated_msg.push tm2 884 assert m.repeated_msg[-1] == tm2
|
/third_party/protobuf/ruby/tests/ |
D | common_tests.rb | 666 tm2 = proto_module::TestMessage2.new(:foo => 200) 669 m.repeated_msg.push tm2 670 assert m.repeated_msg[-1] == tm2
|