/third_party/musl/libc-test/src/functional/ |
D | strftime.c | 20 static struct tm tm1 = { variable 83 checkStrftime("%c", &tm1, "Sun Jan 3 13:23:45 2016"); in main() 90 checkStrftime("%C", &tm1, "20"); in main() 91 checkStrftime("%03C", &tm1, "020"); in main() 92 checkStrftime("%+3C", &tm1, "+20"); in main() 97 checkStrftime("%F", &tm1, "2016-01-03"); in main() 98 checkStrftime("%012F", &tm1, "002016-01-03"); in main() 99 checkStrftime("%+10F", &tm1, "2016-01-03"); in main() 100 checkStrftime("%+11F", &tm1, "+2016-01-03"); in main() 110 checkStrftime("%g", &tm1, "15"); 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 | 53 static struct tm tm1 = { variable 93 checkStrptime("20:57:08", "%H:%M:%S", &tm1); in main() 94 checkStrptime("20:57:8", "%R:%S", &tm1); in main() 95 checkStrptime("20:57:08", "%T", &tm1); in main() 98 checkStrptime("20:57:08", "%H : %M : %S", &tm1); in main() 99 checkStrptime("20 57 08", "%H %M %S", &tm1); in main() 100 checkStrptime("20%57%08", "%H %% %M%%%S", &tm1); in main() 101 checkStrptime("foo20bar57qux08 ", "foo %Hbar %M qux%S ", &tm1); in main()
|
/third_party/openssl/test/ |
D | gmdifftest.c | 24 struct tm tm1, tm2, o1; in check_time() local 33 OPENSSL_gmtime(&t1, &tm1); in check_time() 34 o1 = tm1; in check_time() 35 if (!TEST_true(OPENSSL_gmtime_adj(&tm1, 0, offset)) 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() [all …]
|
/third_party/libwebsockets/lib/abstract/transports/ |
D | raw-skt.c | 355 const lws_token_map_t *tm1, *tm2; in lws_atcrs_compare() local 357 tm1 = lws_abs_get_token(abs1->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() 365 tm1 = lws_abs_get_token(abs1->at_tokens, LTMI_PEER_LV_PORT); in lws_atcrs_compare() 367 if (!tm1 || !tm2 || tm1->u.lvalue != tm2->u.lvalue) in lws_atcrs_compare() 371 tm1 = lws_abs_get_token(abs1->at_tokens, LTMI_PEER_LV_TLS_FLAGS); in lws_atcrs_compare() 375 if (!!tm1 != !!tm2) in lws_atcrs_compare() 379 if (!tm1) in lws_atcrs_compare() 383 if (tm1->u.lvalue != tm2->u.lvalue) in lws_atcrs_compare()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | os_win32.c | 65 struct tm tm, *tm1; in os_mktime() local 85 tm1 = localtime(&t_local); in os_mktime() 86 if (tm1) { in os_mktime() 87 t1 = mktime(tm1); in os_mktime() 88 tm1 = gmtime(&t_local); in os_mktime() 89 if (tm1) { in os_mktime() 90 t2 = mktime(tm1); in os_mktime()
|
D | os_unix.c | 131 struct tm tm, *tm1; in os_mktime() local 151 tm1 = localtime(&t_local); in os_mktime() 152 if (tm1) { in os_mktime() 153 t1 = mktime(tm1); in os_mktime() 154 tm1 = gmtime(&t_local); in os_mktime() 155 if (tm1) { in os_mktime() 156 t2 = mktime(tm1); in os_mktime()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | os_win32.c | 65 struct tm tm, *tm1; in os_mktime() local 85 tm1 = localtime(&t_local); in os_mktime() 86 if (tm1) { in os_mktime() 87 t1 = mktime(tm1); in os_mktime() 88 tm1 = gmtime(&t_local); in os_mktime() 89 if (tm1) { in os_mktime() 90 t2 = mktime(tm1); in os_mktime()
|
D | os_unix.c | 137 struct tm tm, *tm1; in os_mktime() local 157 tm1 = localtime(&t_local); in os_mktime() 158 if (tm1) { in os_mktime() 159 t1 = mktime(tm1); in os_mktime() 160 tm1 = gmtime(&t_local); in os_mktime() 161 if (tm1) { in os_mktime() 162 t2 = mktime(tm1); in os_mktime()
|
/third_party/skia/gm/ |
D | shadertext3.cpp | 111 for (size_t tm1 = 0; tm1 < SK_ARRAY_COUNT(kTileModes); ++tm1) { in onDraw() local 119 fillPaint.setShader(fBmp.makeShader(kTileModes[tm0], kTileModes[tm1], in onDraw()
|
/third_party/toybox/toys/pending/ |
D | last.c | 72 static void seize_duration(time_t tm0, time_t tm1) in seize_duration() argument 75 double diff = difftime(tm1, tm0); in seize_duration() 77 diff = (diff > 0) ? (tm1 - tm0) : 0; in seize_duration() 80 snprintf(toybuf+18, 8, "- %s", ctime(&tm1) + 11); // Logout Time. in seize_duration()
|
/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | basic.rb | 879 tm1 = TestMessage2.new(:foo => 100) 881 m.repeated_msg.push tm1 882 assert m.repeated_msg[-1] == tm1
|
/third_party/typescript/tests/baselines/reference/ |
D | variadicTuples1.js | 121 let tm1 = fm1([['abc'], [42], [true], ['def']]); // [boolean, string] 475 var tm1 = fm1([['abc'], [42], [true], ['def']]); // [boolean, string] variable 669 declare let tm1: [boolean, string];
|
D | variadicTuples1.symbols | 384 let tm1 = fm1([['abc'], [42], [true], ['def']]); // [boolean, string] 385 >tm1 : Symbol(tm1, Decl(variadicTuples1.ts, 119, 3))
|
D | variadicTuples1.types | 426 let tm1 = fm1([['abc'], [42], [true], ['def']]); // [boolean, string] 427 >tm1 : [boolean, string]
|
D | variadicTuples1.errors.txt | 172 let tm1 = fm1([['abc'], [42], [true], ['def']]); // [boolean, string]
|
/third_party/typescript/tests/cases/conformance/types/tuple/ |
D | variadicTuples1.ts | 123 let tm1 = fm1([['abc'], [42], [true], ['def']]); // [boolean, string]
|
/third_party/protobuf/ruby/tests/ |
D | common_tests.rb | 665 tm1 = proto_module::TestMessage2.new(:foo => 100) 667 m.repeated_msg.push tm1 668 assert m.repeated_msg[-1] == tm1
|