HomeSort by relevance Sort by last modified time
    Searched refs:tv_sec (Results 1 - 25 of 671) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/main/java/libcore/io/
StructTimeval.java 25 public final long tv_sec; field in class:StructTimeval
30 private StructTimeval(long tv_sec, long tv_usec) {
31 this.tv_sec = tv_sec;
36 long tv_sec = millis / 1000; local
37 long tv_usec = (millis - (tv_sec * 1000)) * 1000;
38 return new StructTimeval(tv_sec, tv_usec);
42 return (tv_sec * 1000) + (tv_usec / 1000);
46 return "StructTimeval[tv_sec=" + tv_sec + ",tv_usec=" + tv_usec + "]"
    [all...]
  /external/chromium/third_party/libevent/compat/sys/
_libevent_time.h 45 long tv_sec; /* seconds */ member in struct:timeval
53 time_t tv_sec; /* seconds */ member in struct:timespec
58 (ts)->tv_sec = (tv)->tv_sec; \
62 (tv)->tv_sec = (ts)->tv_sec; \
79 #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
80 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
82 (((tvp)->tv_sec == (uvp)->tv_sec) ?
    [all...]
_time.h 45 long tv_sec; /* seconds */ member in struct:timeval
53 time_t tv_sec; /* seconds */ member in struct:timespec
58 (ts)->tv_sec = (tv)->tv_sec; \
62 (tv)->tv_sec = (ts)->tv_sec; \
79 #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
80 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
82 (((tvp)->tv_sec == (uvp)->tv_sec) ?
    [all...]
  /hardware/ti/omap4xxx/camera/
CameraHalCommon.cpp 45 ppm.tv_sec = ppm.tv_sec - ppm_start.tv_sec;
46 ppm.tv_sec = ppm.tv_sec * 1000000;
47 ppm.tv_sec = ppm.tv_sec + ppm.tv_usec - ppm_start.tv_usec;
49 LOGD("PPM: %s :%ld.%ld ms", str, ( ppm.tv_sec /1000 ), ( ppm.tv_sec % 1000 ));
72 elapsed = ppm.tv_sec - ppm_start.tv_sec
    [all...]
  /bionic/libc/include/sys/
time.h 46 ((a)->tv_sec = (a)->tv_usec = 0)
49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
52 ((a)->tv_sec == (b)->tv_sec \
54 : (a)->tv_sec op (b)->tv_sec)
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
62 (res)->tv_sec += 1;
    [all...]
  /development/ndk/platforms/android-3/include/sys/
time.h 46 ((a)->tv_sec = (a)->tv_usec = 0)
49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
52 ((a)->tv_sec == (b)->tv_sec \
54 : (a)->tv_sec op (b)->tv_sec)
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
62 (res)->tv_sec += 1;
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/sys/
time.h 46 ((a)->tv_sec = (a)->tv_usec = 0)
49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
52 ((a)->tv_sec == (b)->tv_sec \
54 : (a)->tv_sec op (b)->tv_sec)
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
62 (res)->tv_sec += 1;
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/sys/
time.h 46 ((a)->tv_sec = (a)->tv_usec = 0)
49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
52 ((a)->tv_sec == (b)->tv_sec \
54 : (a)->tv_sec op (b)->tv_sec)
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
62 (res)->tv_sec += 1;
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/sys/
time.h 46 ((a)->tv_sec = (a)->tv_usec = 0)
49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
52 ((a)->tv_sec == (b)->tv_sec \
54 : (a)->tv_sec op (b)->tv_sec)
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
62 (res)->tv_sec += 1;
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/sys/
time.h 46 ((a)->tv_sec = (a)->tv_usec = 0)
49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
52 ((a)->tv_sec == (b)->tv_sec \
54 : (a)->tv_sec op (b)->tv_sec)
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
62 (res)->tv_sec += 1;
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/sys/
time.h 46 ((a)->tv_sec = (a)->tv_usec = 0)
49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
52 ((a)->tv_sec == (b)->tv_sec \
54 : (a)->tv_sec op (b)->tv_sec)
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
62 (res)->tv_sec += 1;
    [all...]
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/sys/
time.h 46 ((a)->tv_sec = (a)->tv_usec = 0)
49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
52 ((a)->tv_sec == (b)->tv_sec \
54 : (a)->tv_sec op (b)->tv_sec)
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
62 (res)->tv_sec += 1;
    [all...]
  /prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/sys/
time.h 46 ((a)->tv_sec = (a)->tv_usec = 0)
49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
52 ((a)->tv_sec == (b)->tv_sec \
54 : (a)->tv_sec op (b)->tv_sec)
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
62 (res)->tv_sec += 1;
    [all...]
  /prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/sys/
time.h 46 ((a)->tv_sec = (a)->tv_usec = 0)
49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
52 ((a)->tv_sec == (b)->tv_sec \
54 : (a)->tv_sec op (b)->tv_sec)
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
62 (res)->tv_sec += 1;
    [all...]
  /prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/sys/
time.h 46 ((a)->tv_sec = (a)->tv_usec = 0)
49 ((a)->tv_sec != 0 || (a)->tv_usec != 0)
52 ((a)->tv_sec == (b)->tv_sec \
54 : (a)->tv_sec op (b)->tv_sec)
58 (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
62 (res)->tv_sec += 1;
    [all...]
  /system/extras/tests/timetest/
timetest.c 22 return (((long long) t.tv_sec) * 1000000000LL) +
29 r.tv_sec = a.tv_sec - b.tv_sec;
32 r.tv_sec--;
35 if(r.tv_sec < 0 && r.tv_nsec > 0) {
36 r.tv_sec++;
44 if(a.tv_sec < b.tv_sec || (a.tv_sec == b.tv_sec && a.tv_nsec < b.tv_nsec)
    [all...]
  /bionic/libc/bionic/
pthread_internal.h 55 a->tv_sec += b->tv_sec;
59 a->tv_sec += 1;
65 a->tv_sec -= b->tv_sec;
69 a->tv_sec -= 1;
75 a->tv_sec = a->tv_nsec = 0;
80 return (a->tv_sec == 0 && a->tv_nsec == 0);
85 if (a->tv_sec < b->tv_sec) return -1
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/
time.h 44 (ts)->tv_sec = (tv)->tv_sec; \
48 (tv)->tv_sec = (ts)->tv_sec; \
164 # define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
165 # define timerclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0)
167 (((a)->tv_sec == (b)->tv_sec) ? \
169 ((a)->tv_sec CMP (b)->tv_sec))
    [all...]
  /external/dropbear/
scpmisc.h 54 (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
57 --(result)->tv_sec; \
65 (ts)->tv_sec = (tv)->tv_sec; \
  /bionic/libc/unistd/
alarm.c 50 itp->it_interval.tv_sec = 0;
51 itp->it_value.tv_sec = secs;
60 oitv.it_value.tv_sec++;
61 return (oitv.it_value.tv_sec);
sleep.c 35 /* seconds is unsigned, while t.tv_sec is signed
42 t.tv_sec = seconds;
49 return t.tv_sec;
usleep.c 35 ts.tv_sec = usec/1000000UL;
39 ts.tv_nsec = (usec - ts.tv_sec*1000000UL)*1000;
  /external/bluetooth/bluez/src/
ppoll.h 12 else if (timeout->tv_sec == 0)
15 return poll(fds, nfds, timeout->tv_sec * 1000);
  /external/kernel-headers/original/linux/
time.h 13 time_t tv_sec; /* seconds */ member in struct:timespec
19 time_t tv_sec; /* seconds */ member in struct:timeval
41 return (a->tv_sec == b->tv_sec) && (a->tv_nsec == b->tv_nsec);
51 if (lhs->tv_sec < rhs->tv_sec)
53 if (lhs->tv_sec > rhs->tv_sec)
60 if (lhs->tv_sec < rhs->tv_sec)
    [all...]
  /frameworks/base/libs/utils/
Timers.cpp 45 t.tv_sec = t.tv_nsec = 0;
47 return nsecs_t(t.tv_sec)*1000000000LL + t.tv_nsec;
51 t.tv_sec = t.tv_usec = 0;
53 return nsecs_t(t.tv_sec)*1000000000LL + nsecs_t(t.tv_usec)*1000LL;
105 long long stop = ((long long) ptv1->tv_sec) * 1000000LL +
107 long long start = ((long long) ptv2->tv_sec) * 1000000LL +
122 ptv->tv_sec += ptv->tv_usec / 1000000;
129 ptv->tv_sec++;
131 ptv->tv_sec += usec / 1000000;

Completed in 342 milliseconds

1 2 3 4 5 6 7 8 91011>>