| /build/kati/ |
| regen.cc | 161 double ts = GetTimestamp(s); local 162 if (gen_time < ts) { 173 printf("file %s: ignored (%f)\n", s.c_str(), ts); 177 printf("file %s: dirty (%f)\n", s.c_str(), ts); 182 printf("file %s: clean (%f)\n", s.c_str(), ts); 330 double ts = GetTimestampFromStat(st); local 331 if (gen_time_ < ts) { 335 ts = GetTimestamp(dir); 336 if (ts < 0 || gen_time_ < ts) 359 double ts = GetTimestamp(sr->cmd); local [all...] |
| /cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
| TimestampClockSourceVerificationTest.java | 72 long ts = getValidTimestamp(); local 73 long[] timestamps = {ts-4000000, ts-3000000, ts-2000000, ts-1000000, ts}; 87 long ts = getInvalidTimestamp(); local 88 long[] timestamps = {ts-4000000, ts-3000000, ts-2000000, ts-1000000, ts} 101 long ts = getValidTimestamp(); local 115 long ts = getInvalidTimestamp(); local 129 long ts = getValidTimestamp(); local 144 long ts = getInvalidTimestamp(); local [all...] |
| /cts/tests/tests/security/jni/ |
| android_security_cts_NativeCodeTest.cpp | 139 static inline int futex_syscall(volatile int* uaddr, int op, int val, const struct timespec* ts, 141 return syscall(__NR_futex, uaddr, op, val, ts, uaddr2, val3); 245 struct timespec ts; local 289 clock_gettime(CLOCK_MONOTONIC, &ts); 290 time = ts.tv_sec; 306 clock_gettime(CLOCK_MONOTONIC, &ts); 307 if ((ts.tv_sec - time) > TIMEOUT) {
|
| /device/generic/goldfish/dhcp/client/ |
| dhcpclient.cpp | 224 struct timespec ts; local 225 ts.tv_sec = timeout / 1000; 226 ts.tv_nsec = (timeout - ts.tv_sec * 1000) * 1000000; 231 int res = ::ppoll(&fds, 1, &ts, &pollSignalMask);
|
| /device/google/cuttlefish_common/common/libs/time/ |
| monotonic_time.h | 122 struct timespec ts; local 132 clock_gettime(CLOCK_MONOTONIC, &ts); 134 clock_gettime(CLOCK_MONOTONIC, &ts); 136 return MonotonicTimePoint(ts); 144 explicit MonotonicTimePoint(const struct timespec& ts) { 145 ts_ = ts;
|
| /device/google/cuttlefish_common/guest/hals/audio/ |
| simulated_buffer.h | 79 struct timespec ts; local 80 in.ToTimespec(&ts); 81 clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &ts, NULL);
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
| llex.c | 68 TString *ts = luaS_new(L, luaX_tokens[i]); local 69 luaS_fix(ts); /* reserved words are never collected */ 70 ts->tsv.extra = cast_byte(i+1); /* reserved word */ 127 TString *ts = luaS_newlstr(L, str, l); /* create new string */ local 128 setsvalue2s(L, L->top++, ts); /* temporarily anchor it in stack */ 137 ts = rawtsvalue(keyfromval(o)); /* re-use value previously stored */ 140 return ts; 300 seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + (2 + sep), 396 seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + 1, 490 TString *ts; local [all...] |
| llex.h | 39 TString *ts; member in union:__anon4200
|
| loslib.c | 246 struct tm ts;
local 249 ts.tm_sec = getfield(L, "sec", 0);
250 ts.tm_min = getfield(L, "min", 0);
251 ts.tm_hour = getfield(L, "hour", 12);
252 ts.tm_mday = getfield(L, "day", -1);
253 ts.tm_mon = getfield(L, "month", -1) - 1;
254 ts.tm_year = getfield(L, "year", -1) - 1900;
255 ts.tm_isdst = getboolfield(L, "isdst");
256 t = mktime(&ts);
|
| /external/aac/libSACenc/src/ |
| sacenc_framewindowing.cpp | 195 int ts; local 213 for (ts = 0; ts < hFrameWindow->taperAnaLen; ts++) { 214 { hFrameWindow->pTaperAna__FDK[ts] = winMaxVal; } 470 int ts; local 471 for (ts = 0; ts < timeSlots; ts++) { 472 pWindowAna__FDK[w][timeSlots + ts] 531 int i, ts; local [all...] |
| /external/adhd/cras/src/common/ |
| cras_shm.h | 43 * ts - For capture, the time stamp of the next sample at read_index. For 60 struct cras_timespec ts; member in struct:cras_audio_shm_area
|
| /external/autotest/client/tests/monotonic_time/src/ |
| time_test.c | 127 struct timespec ts; local 129 clock_gettime(CLOCK_MONOTONIC, &ts); 130 return (uint64_t)ts.tv_sec * 1000000000 + ts.tv_nsec; 236 struct timespec ts = { .tv_sec = 0, .tv_nsec = 200000000 }; local 237 struct timespec *timeout = (verbose || duration) ? &ts : NULL;
|
| /external/boringssl/src/tool/ |
| speed.cc | 87 struct timespec ts; local 88 clock_gettime(CLOCK_MONOTONIC, &ts); 90 uint64_t ret = ts.tv_sec; 92 ret += ts.tv_nsec / 1000;
|
| /external/clang/test/Analysis/ |
| taint-generic.c | 140 size_t ts; local 141 scanf("%zd", &ts); 143 int *buf1 = (int*)malloc(ts*sizeof(int)); // expected-warning {{Untrusted data is used to specify the buffer size}} 144 char *dst = (char*)calloc(ts, sizeof(char)); //expected-warning {{Untrusted data is used to specify the buffer size}} 145 bcopy(buf1, dst, ts); // expected-warning {{Untrusted data is used to specify the buffer size}} 146 __builtin_memcpy(dst, buf1, (ts + 4)*sizeof(char)); // expected-warning {{Untrusted data is used to specify the buffer size}} 149 char *dst2 = (char*)malloc(ts*sizeof(char)); // expected-warning {{Untrusted data is used to specify the buffer size}} 150 strncat(dst2, dst, ts); // no-warning
|
| /external/drm_hwcomposer/ |
| drmdisplaycompositor.cpp | 231 struct timespec ts; local 232 if (clock_gettime(CLOCK_MONOTONIC, &ts)) 234 dump_last_timestamp_ns_ = ts.tv_sec * 1000 * 1000 * 1000 + ts.tv_nsec; [all...] |
| /external/e2fsprogs/debugfs/ |
| util.c | 4 * Copyright (C) 1993, 1994 Theodore Ts'o. This file may be 224 struct tm ts; local 240 memset(&ts, 0, sizeof(ts)); 242 tmp = strptime(arg, "%Y%m%d%H%M%S", &ts); 244 tmp = strptime(arg, "%Y%m%d%H%M", &ts); 246 tmp = strptime(arg, "%Y%m%d", &ts); 250 sscanf(arg, "%4d%2d%2d%2d%2d%2d", &ts.tm_year, &ts.tm_mon, 251 &ts.tm_mday, &ts.tm_hour, &ts.tm_min, &ts.tm_sec) [all...] |
| /external/eigen/Eigen/src/Core/products/ |
| TriangularMatrixMatrix.h | 316 Index ts = (IsLower && actual_k2>=cols) ? 0 : actual_kc; local 318 Scalar* geb = blockB+ts*ts; 324 if(ts>0) 360 if(ts>0)
|
| /external/icu/icu4c/source/i18n/ |
| collationsets.cpp | 39 TailoredSet *ts = (TailoredSet *)context; local 40 return ts->handleCE32(start, end, ce32); 266 const UnicodeString *ts = NULL; // Tailoring suffix. local 274 if(ts == NULL) { 276 ts = &suffixes.getString(); 278 ts = &none; 288 if(ts == &none && bs == &none) { break; } 289 int32_t cmp = ts->compare(*bs); 291 // ts occurs in the tailoring but not in the base. 292 addSuffix(c, *ts); [all...] |
| /external/icu/icu4c/source/test/intltest/ |
| cpdtrtst.cpp | 218 UnicodeSet ts; local 220 retUS = &ct1->getTargetSet(ts); 221 if (retUS != &ts || ts.size() == 0) {
|
| /external/iproute2/ip/ |
| tcp_metrics.c | 272 unsigned long long ts; local 275 ts = a ? rta_getattr_u64(a) : 0; 278 syn_loss, ts / 1000, ts % 1000);
|
| /external/iw/ |
| iw.h | 121 struct timeval ts; /* internal */ member in struct:print_event_args
|
| /external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
| JavaParserAPIIntegrationTest.java | 42 TypeSolver ts = new ReflectionTypeSolver(); local 43 string = new ReferenceTypeImpl(ts.solveType(String.class.getCanonicalName()), ts); 44 ResolvedReferenceType booleanC = new ReferenceTypeImpl(ts.solveType(Boolean.class.getCanonicalName()), ts); 45 listOfBoolean = new ReferenceTypeImpl(ts.solveType(List.class.getCanonicalName()), ImmutableList.of(booleanC), ts);
|
| /external/junit/src/main/java/org/junit/internal/runners/ |
| JUnit38ClassRunner.java | 104 TestSuite ts = (TestSuite) test; local 105 String name = ts.getName() == null ? createSuiteDescription(ts) : ts.getName(); 107 int n = ts.testCount(); 109 Description made = makeDescription(ts.testAt(i)); 139 private static String createSuiteDescription(TestSuite ts) { 140 int count = ts.countTestCases(); 141 String example = count == 0 ? "" : String.format(" [example: %s]", ts.testAt(0));
|
| /external/kernel-headers/original/uapi/linux/ |
| ptp_clock.h | 84 struct ptp_clock_time ts[2 * PTP_MAX_SAMPLES + 1]; member in struct:ptp_sys_offset
|
| /external/libbrillo/brillo/streams/ |
| file_stream.cc | 144 const timespec ts = timeout.ToTimeSpec(); variable 145 TIMESPEC_TO_TIMEVAL(&timeout_val, &ts);
|