Searched refs:one_second (Results 1 – 3 of 3) sorted by relevance
252 Duration one_second = TimeUtil::SecondsToDuration(1); in TEST() local256 Duration a = one_second; in TEST()257 a += one_second; in TEST()281 TimeUtil::ToString((one_second - one_nano) * 315576000000LL)); in TEST()283 TimeUtil::ToString((one_nano - one_second) * 315576000000LL)); in TEST()285 TimeUtil::ToString((one_second - one_nano) * (-315576000000LL))); in TEST()316 EXPECT_TRUE(one_nano < one_second); in TEST()317 EXPECT_FALSE(one_second < one_second); in TEST()318 EXPECT_FALSE(one_second < one_nano); in TEST()319 EXPECT_FALSE(-one_nano < -one_second); in TEST()[all …]
866 struct timeval one_second = { 1, 0 }; in test_bufferevent_connect_fail() local889 event_add(&close_listener_event, &one_second); in test_bufferevent_connect_fail()
5717 PyObject *one_second; in local_timezone() local5723 one_second = new_delta(0, 1, 0, 0); in local_timezone()5724 if (one_second == NULL) { in local_timezone()5729 (PyDateTime_Delta *)one_second); in local_timezone()5730 Py_DECREF(one_second); in local_timezone()