Home
last modified time | relevance | path

Searched refs:one_second (Results 1 – 3 of 3) sorted by relevance

/third_party/protobuf/src/google/protobuf/util/
Dtime_util_test.cc252 Duration one_second = TimeUtil::SecondsToDuration(1); in TEST() local
256 Duration a = one_second; in TEST()
257 a += one_second; in TEST()
281 TimeUtil::ToString((one_second - one_nano) * int64{315576000000})); in TEST()
283 TimeUtil::ToString((one_nano - one_second) * int64{315576000000})); in TEST()
284 EXPECT_EQ("-315575999684.424s", TimeUtil::ToString((one_second - one_nano) * in TEST()
318 EXPECT_TRUE(one_nano < one_second); in TEST()
319 EXPECT_FALSE(one_second < one_second); in TEST()
320 EXPECT_FALSE(one_second < one_nano); in TEST()
321 EXPECT_FALSE(-one_nano < -one_second); in TEST()
[all …]
/third_party/ffmpeg/libavcodec/
Dvideotoolboxenc.c1058 CFNumberRef one_second; in vtenc_create_encoder() local
1130 one_second = CFNumberCreate(kCFAllocatorDefault, in vtenc_create_encoder()
1133 if (!one_second) { in vtenc_create_encoder()
1138 nums[1] = (void *)one_second; in vtenc_create_encoder()
1146 CFRelease(one_second); in vtenc_create_encoder()
1154 CFRelease(one_second); in vtenc_create_encoder()
/third_party/python/Modules/
D_datetimemodule.c5947 PyObject *one_second; in local_timezone() local
5953 one_second = new_delta(0, 1, 0, 0); in local_timezone()
5954 if (one_second == NULL) { in local_timezone()
5959 (PyDateTime_Delta *)one_second); in local_timezone()
5960 Py_DECREF(one_second); in local_timezone()