/bionic/tests/ |
time_test.cpp | 26 struct tm epoch; local 27 memset(&epoch, 0, sizeof(tm)); 28 epoch.tm_year = 1970 - 1900; 29 epoch.tm_mon = 1; 30 epoch.tm_mday = 1; 33 ASSERT_EQ(2678400, mktime_tz(&epoch, "Africa/Abidjan")); 36 ASSERT_EQ(2678400, mktime_tz(&epoch, "Zulu")); 39 ASSERT_EQ(2707200, mktime_tz(&epoch, "America/Los_Angeles")); 42 ASSERT_EQ(2678400, mktime_tz(&epoch, "PST"));
|
/system/extras/tests/bionic/libc/common/ |
test_strftime_2039.c | 16 /* "%s" is the number of seconds since the epoch */ 21 printf("seconds since epoch: %s\n", buff);
|
/external/libsepol/man/man8/ |
genpolbools.8 | 1 .TH "genpolbools" "8" "11 August 2004" "sds@epoch.ncsc.mil" "SELinux Command Line documentation"
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_mutexset.cc | 25 void MutexSet::Add(u64 id, bool write, u64 epoch) { 30 descs_[i].epoch = epoch; 39 if (descs_[i].epoch < minepoch) { 40 minepoch = descs_[i].epoch; 50 descs_[size_].epoch = epoch;
|
tsan_rtl_mutex.cc | 73 RestoreStack(last.tid(), last.epoch(), &trace, 0); 102 thr->clock.set(thr->tid, thr->fast_state.epoch()); 111 thr->mset.Add(s->GetId(), true, thr->fast_state.epoch()); 140 thr->clock.set(thr->tid, thr->fast_state.epoch()); 141 thr->fast_synch_epoch = thr->fast_state.epoch(); 165 thr->clock.set(thr->tid, thr->fast_state.epoch()); 169 thr->mset.Add(s->GetId(), false, thr->fast_state.epoch()); 187 thr->clock.set(thr->tid, thr->fast_state.epoch()); 188 thr->fast_synch_epoch = thr->fast_state.epoch(); 208 thr->clock.set(thr->tid, thr->fast_state.epoch()); [all...] |
tsan_rtl.h | 143 // epoch : kClkBits 148 FastState(u64 tid, u64 epoch) { 150 x_ |= epoch << kClkShift; 152 DCHECK_EQ(epoch, this->epoch()); 174 u64 epoch() const { function in class:__tsan::FastState 180 u64 old_epoch = epoch(); 182 DCHECK_EQ(old_epoch + 1, epoch()); 208 return epoch() & mask; 223 // epoch : kClkBit [all...] |
tsan_mutexset.h | 28 u64 epoch; member in struct:__tsan::MutexSet::Desc 35 void Add(u64 id, bool write, u64 epoch); 55 void MutexSet::Add(u64 id, bool write, u64 epoch) {}
|
/external/libogg/ |
libogg.spec | 13 # We're forced to use an epoch since both Red Hat and Ximian use it in their 15 Epoch: 2 18 Provides: %{name} = %{epoch}:1.0rc3-%{release} 19 Provides: %{name} = %{epoch}:1.0beta4-%{release} 31 Provides: %{name}-devel = %{epoch}:1.0rc3-%{release} 32 Provides: %{name}-devel = %{epoch}:1.0beta4-%{release}
|
libogg.spec.in | 13 # We're forced to use an epoch since both Red Hat and Ximian use it in their 15 Epoch: 2 18 Provides: %{name} = %{epoch}:1.0rc3-%{release} 19 Provides: %{name} = %{epoch}:1.0beta4-%{release} 31 Provides: %{name}-devel = %{epoch}:1.0rc3-%{release} 32 Provides: %{name}-devel = %{epoch}:1.0beta4-%{release}
|
/external/chromium/base/ |
time_posix.cc | 37 // Windows uses a Gregorian epoch of 1601. We need to match this internally 52 // to convert from time_t (Unix epoch) and internal (Windows epoch). 64 // since the epoch. That's enough for nearly 600 centuries. Adjust from 65 // Unix (1970) to Windows (1601) epoch. 79 // epoch (1601) to Unix epoch (1970); 127 // overflow as one second prior to the epoch. 131 // time indicating 1 second prior to the epoch. (1970 is allowed to handle 133 // time representable. Assumes the time_t epoch is 1970-01-01 00:00:00 UTC [all...] |
pr_time_unittest.cc | 159 // Test some of edge cases around epoch, etc. 163 // time_t == epoch == 0 175 // time_t == 1 second after epoch == 1 187 // time_t == 2 seconds after epoch == 2 199 // time_t == 1 second before epoch == -1 210 // before epoch. 222 // time_t == 2 seconds before epoch == -2 234 // time_t before Epoch, in 1960
|
/bionic/libc/unistd/ |
time.c | 48 // return monotonically increasing CPU time in ticks relative to unspecified epoch 66 // (spec says epoch is undefined, but glibc uses crt0 as epoch)
|
/external/libsepol/include/sepol/policydb/ |
symtab.h | 2 /* Author : Stephen Smalley, <sds@epoch.ncsc.mil> */
|
/external/oprofile/opjitconv/ |
opjitconv.h | 54 /* seconds since epoch when the code was created */ 56 /* seconds since epoch when the code was overwritten */ 66 /* seconds since epoch when the code was created */ 68 /* seconds since epoch when the code was overwritten */
|
/external/checkpolicy/ |
checkpolicy.8 | 55 and edited by Stephen Smalley <sds@epoch.ncsc.mil>. 56 The program was written by Stephen Smalley <sds@epoch.ncsc.mil>.
|
/external/libvorbis/ |
libvorbis.spec | 13 # We're forced to use an epoch since both Red Hat and Ximian use it in their 15 Epoch: 2 18 Provides: %{name} = %{epoch}:1.0rc3-%{release} 19 Provides: %{name} = %{epoch}:1.0beta4-%{release} 36 Provides: %{name}-devel = %{epoch}:1.0rc3-%{release} 37 Provides: %{name}-devel = %{epoch}:1.0beta4-%{release}
|
libvorbis.spec.in | 13 # We're forced to use an epoch since both Red Hat and Ximian use it in their 15 Epoch: 2 18 Provides: %{name} = %{epoch}:1.0rc3-%{release} 19 Provides: %{name} = %{epoch}:1.0beta4-%{release} 36 Provides: %{name}-devel = %{epoch}:1.0rc3-%{release} 37 Provides: %{name}-devel = %{epoch}:1.0beta4-%{release}
|
/libcore/luni/src/test/java/tests/api/java/util/ |
DateTest.java | 46 Date d1 = new Date(70, 0, 1); // the epoch + local time 48 // the epoch + local time 64 // the epoch + local time + (1 hour and 1 minute) 67 // the epoch + local time + (1 hour and 1 minute) 80 // the epoch + local time + (1 hour and 1 minute + 1 second) 83 // the epoch + local time + (1 hour and 1 minute + 1 second) 103 Date d1 = new Date("January 1, 1970, 00:00:00 GMT"); // the epoch 104 Date d2 = new Date(0); // the epoch 434 assertEquals("Did not convert epoch to GMT string correctly", "1 Jan 1970 00:00:00 GMT", new Date(0) 436 assertEquals("Did not convert epoch + 1yr to GMT string correctly" [all...] |
/external/icu4c/i18n/ |
cecal.h | 32 * with the given locale with the Julian epoch offiset 109 * @param jdEpochOffset the epoch offset from Julian epoch 120 * @param jdEpochOffset the epoch offset from Julian epoch
|
gregoimp.h | 92 // Epoch constants 111 * The minimum supported epoch milliseconds. This value is equivalent 123 * The maximum supported epoch milliseconds. This value is equivalent 162 * Gregorian calendar, to 1970 epoch days. 171 * Convert a 1970-epoch day number to proleptic Gregorian year, 173 * @param day 1970-epoch day (integral value) 184 * Convert a 1970-epoch day number to proleptic Gregorian year, 186 * @param day 1970-epoch day (integral value) 196 * Convert a 1970-epoch milliseconds to proleptic Gregorian year, 198 * @param time 1970-epoch millisecond [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
Utils.java | 77 * Takes a number of weeks since the epoch and calculates the Julian day of 82 * {@code week} weeks after the Monday of the week containing the epoch. 84 * @param week Number of weeks since the epoch 85 * @return The julian day for the Monday of the given week since the epoch 102 * @return Weeks since the epoch
|
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_shadow_test.cc | 22 EXPECT_EQ(s.epoch(), (u64)22); 31 EXPECT_EQ(s.epoch(), (u64)23); 33 EXPECT_EQ(s.epoch(), (u64)24);
|
/frameworks/rs/scriptc/ |
rs_time.rsh | 28 * Calendar time interpreted as seconds elapsed since the Epoch (00:00:00 on 62 * Returns the number of seconds since the Epoch (00:00:00 UTC, January 1, 68 * @return Seconds since the Epoch.
|
/prebuilts/sdk/renderscript/include/ |
rs_time.rsh | 28 * Calendar time interpreted as seconds elapsed since the Epoch (00:00:00 on 62 * Returns the number of seconds since the Epoch (00:00:00 UTC, January 1, 68 * @return Seconds since the Epoch.
|
/libcore/luni/src/main/java/java/util/ |
Grego.java | 87 * Gregorian calendar, to 1970 epoch days.
99 return julian - JULIAN_1970_CE; // JD => epoch day
103 * Return the day of week on the 1970-epoch day
104 * @param day the 1970-epoch day (integral value)
119 // Convert from 1970 CE epoch to 1 CE epoch (Gregorian calendar)
|