HomeSort by relevance Sort by last modified time
    Searched refs:tv (Results 76 - 100 of 606) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/chromium/third_party/libevent/compat/sys/
_libevent_time.h 57 #define TIMEVAL_TO_TIMESPEC(tv, ts) { \
58 (ts)->tv_sec = (tv)->tv_sec; \
59 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
61 #define TIMESPEC_TO_TIMEVAL(tv, ts) { \
62 (tv)->tv_sec = (ts)->tv_sec; \
63 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
_time.h 57 #define TIMEVAL_TO_TIMESPEC(tv, ts) { \
58 (ts)->tv_sec = (tv)->tv_sec; \
59 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
61 #define TIMESPEC_TO_TIMEVAL(tv, ts) { \
62 (tv)->tv_sec = (ts)->tv_sec; \
63 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
  /external/e2fsprogs/lib/uuid/
tst_uuid.c 74 struct timeval tv; local
137 tv.tv_sec = 0;
138 tv.tv_usec = 0;
139 time_reg = uuid_time(buf, &tv);
140 printf("UUID time is: (%ld, %ld): %s\n", tv.tv_sec, tv.tv_usec,
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/sys/
time.h 43 # define TIMEVAL_TO_TIMESPEC(tv, ts) { \
44 (ts)->tv_sec = (tv)->tv_sec; \
45 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
47 # define TIMESPEC_TO_TIMEVAL(tv, ts) { \
48 (tv)->tv_sec = (ts)->tv_sec; \
49 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
69 putting it into *TV and *TZ. If TZ is NULL, *TZ is not filled.
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sys/
time.h 43 # define TIMEVAL_TO_TIMESPEC(tv, ts) { \
44 (ts)->tv_sec = (tv)->tv_sec; \
45 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
47 # define TIMESPEC_TO_TIMEVAL(tv, ts) { \
48 (tv)->tv_sec = (ts)->tv_sec; \
49 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
69 putting it into *TV and *TZ. If TZ is NULL, *TZ is not filled.
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sys/
time.h 43 # define TIMEVAL_TO_TIMESPEC(tv, ts) { \
44 (ts)->tv_sec = (tv)->tv_sec; \
45 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
47 # define TIMESPEC_TO_TIMEVAL(tv, ts) { \
48 (tv)->tv_sec = (ts)->tv_sec; \
49 (tv)->tv_usec = (ts)->tv_nsec / 1000; \
69 putting it into *TV and *TZ. If TZ is NULL, *TZ is not filled.
  /system/core/toolbox/
date.c 49 struct timeval tv; local
114 //tv.tv_sec = mktime(&tm);
115 //tv.tv_usec = 0;
116 strtotimeval(argv[optind], &tv);
117 printf("time %s -> %d.%d\n", argv[optind], tv.tv_sec, tv.tv_usec);
119 ts.tv_sec = tv.tv_sec;
120 ts.tv_nsec = tv.tv_usec * 1000;
122 //res = settimeofday(&tv, NULL);
  /development/samples/ApiDemos/src/com/example/android/apis/content/
ReadAsset.java 65 TextView tv = (TextView)findViewById(R.id.text); local
66 tv.setText(text);
  /development/samples/AppNavigation/src/com/example/android/appnavigation/app/
PeerActivity.java 39 TextView tv = (TextView) findViewById(R.id.peer_counter); local
40 tv.setText(getResources().getText(R.string.peer_count).toString() + mPeerCount);
  /frameworks/wilhelm/tests/sandbox/
getch.c 37 struct timeval tv = { 0L, 0L }; local
41 return select(1, &fds, NULL, NULL, &tv);
  /hardware/ti/omap3/dspbridge/libbridge/
perfutils.c 38 INT getTimeStamp(struct timeval *tv)
42 Result = gettimeofday(tv, &tz);
  /ndk/sources/host-tools/sed-4.2.1/lib/
tempname.c 91 struct timeval tv; \
92 __gettimeofday (&tv, NULL); \
93 value = ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec; \
242 struct timeval tv; local
243 __gettimeofday (&tv, NULL);
244 random_time_bits = ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec;
  /external/chromium/third_party/libjingle/source/talk/base/
time.cc 49 struct timeval tv; local
50 gettimeofday(&tv, 0);
51 return tv.tv_sec * 1000 + tv.tv_usec / 1000;
  /external/dhcpcd/
arp.c 205 struct timeval tv; local
236 tv.tv_sec = state->interval - DHCP_RAND_MIN;
237 tv.tv_usec = arc4random() % (DHCP_RAND_MAX_U - DHCP_RAND_MIN_U);
238 timernorm(&tv);
239 add_timeout_tv(&tv, start_discover, iface);
253 struct timeval tv; local
280 tv.tv_sec = PROBE_MIN;
281 tv.tv_usec = arc4random() % (PROBE_MAX_U - PROBE_MIN_U);
282 timernorm(&tv);
283 add_timeout_tv(&tv, send_arp_probe, iface)
    [all...]
common.h 39 #define timeval_to_double(tv) ((tv)->tv_sec * 1.0 + (tv)->tv_usec * 1.0e-6)
  /external/webrtc/src/system_wrappers/source/
condition_variable_posix.cc 117 struct timeval tv; local
118 gettimeofday(&tv, 0);
119 ts.tv_sec = tv.tv_sec;
120 ts.tv_nsec = tv.tv_usec * MICROSECONDS_PER_MILLISECOND;
  /frameworks/base/media/tests/omxjpegdecoder/
jpeg_decoder_bench.cpp 46 struct timeval tv; local
47 gettimeofday(&tv, NULL);
49 return tv.tv_usec + (int64_t) tv.tv_sec * 1000000;
  /hardware/ril/libril/
ril_event.cpp 96 static void getNow(struct timeval * tv)
101 tv->tv_sec = ts.tv_sec;
102 tv->tv_usec = ts.tv_nsec/1000;
104 gettimeofday(tv, NULL);
216 static int calcNextTimeout(struct timeval * tv)
233 timersub(&tev->timeout, &now, tv);
236 tv->tv_sec = tv->tv_usec = 0;
287 void ril_timer_add(struct ril_event * ev, struct timeval * tv)
293 if (tv != NULL)
350 struct timeval tv; local
    [all...]
ril_event.h 45 void ril_timer_add(struct ril_event * ev, struct timeval * tv);
  /ndk/sources/cxx-stl/llvm-libc++/src/
chrono.cpp 32 timeval tv; variable
33 gettimeofday(&tv, 0);
34 return time_point(seconds(tv.tv_sec) + microseconds(tv.tv_usec));
  /external/stlport/test/unit/
equal_test.cpp 105 vector<Test> tv; local
110 tv.push_back(i);
113 it = upper_bound(tv.begin(), tv.end(), 5);
114 CPPUNIT_ASSERT( it != tv.end() );
117 it = lower_bound(tv.begin(), tv.end(), 5);
118 CPPUNIT_ASSERT( it != tv.end() );
121 p = equal_range(tv.begin(), tv.end(), 5)
    [all...]
  /ndk/tests/device/test-gnustl-full/unit/
equal_test.cpp 105 vector<Test> tv; local
110 tv.push_back(i);
113 it = upper_bound(tv.begin(), tv.end(), 5);
114 CPPUNIT_ASSERT( it != tv.end() );
117 it = lower_bound(tv.begin(), tv.end(), 5);
118 CPPUNIT_ASSERT( it != tv.end() );
121 p = equal_range(tv.begin(), tv.end(), 5)
    [all...]
  /ndk/tests/device/test-stlport/unit/
equal_test.cpp 105 vector<Test> tv; local
110 tv.push_back(i);
113 it = upper_bound(tv.begin(), tv.end(), 5);
114 CPPUNIT_ASSERT( it != tv.end() );
117 it = lower_bound(tv.begin(), tv.end(), 5);
118 CPPUNIT_ASSERT( it != tv.end() );
121 p = equal_range(tv.begin(), tv.end(), 5)
    [all...]
  /external/llvm/tools/gold/
gold-plugin.cpp 128 extern "C" ld_plugin_status onload(ld_plugin_tv *tv);
129 ld_plugin_status onload(ld_plugin_tv *tv) {
138 for (; tv->tv_tag != LDPT_NULL; ++tv) {
139 switch (tv->tv_tag) {
141 api_version = tv->tv_u.tv_val;
144 gold_version = tv->tv_u.tv_val;
147 output_name = tv->tv_u.tv_string;
150 switch (tv->tv_u.tv_val) {
162 tv->tv_u.tv_val)
    [all...]
  /external/oprofile/libopagent/
opagent.c 134 struct timeval tv; local
170 if (gettimeofday(&tv, NULL)) {
175 header.timestamp = tv.tv_sec;
199 struct timeval tv; local
207 if (gettimeofday(&tv, NULL)) {
211 rec.timestamp = tv.tv_sec;
225 struct timeval tv; local
247 if (gettimeofday(&tv, NULL)) {
252 rec.timestamp = tv.tv_sec;
284 struct timeval tv; local
357 struct timeval tv; local
    [all...]

Completed in 281 milliseconds

1 2 34 5 6 7 8 91011>>