/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;
|
/bionic/libm/src/ |
s_exp2f.c | 92 double tv; local 126 tv = exp2ft[i0]; 127 r = tv + tv * (z * (P1 + z * (P2 + z * (P3 + z * P4))));
|
/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 234 tv.tv_sec = state->interval - DHCP_RAND_MIN; 235 tv.tv_usec = arc4random() % (DHCP_RAND_MAX_U - DHCP_RAND_MIN_U); 236 timernorm(&tv); 237 add_timeout_tv(&tv, start_discover, iface); 251 struct timeval tv; local 278 tv.tv_sec = PROBE_MIN; 279 tv.tv_usec = arc4random() % (PROBE_MAX_U - PROBE_MIN_U); 280 timernorm(&tv); 281 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;
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
LayoutInsetsTest.java | 33 TextView tv = new TextView(context); local 34 tv.setTextSize(32); 35 tv.setText("A"); 36 c = tv;
|
/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);
|
/development/samples/Support13Demos/src/com/example/android/supportv13/app/ |
CountingFragment.java | 62 View tv = v.findViewById(R.id.text); local 63 ((TextView)tv).setText("Fragment #" + mNum); 64 tv.setBackgroundDrawable(getResources().getDrawable(android.R.drawable.gallery_thumb));
|
/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 | 131 extern "C" ld_plugin_status onload(ld_plugin_tv *tv); 132 ld_plugin_status onload(ld_plugin_tv *tv) { 141 for (; tv->tv_tag != LDPT_NULL; ++tv) { 142 switch (tv->tv_tag) { 144 api_version = tv->tv_u.tv_val; 147 gold_version = tv->tv_u.tv_val; 150 output_name = tv->tv_u.tv_string; 153 switch (tv->tv_u.tv_val) { 163 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...] |
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/ |
OMX_G711Dec_ComponentThread.c | 66 struct timespec tv; local 88 tv.tv_sec = 1; 89 tv.tv_nsec = 0; 96 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 98 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/ |
OMX_G711Enc_ComponentThread.c | 89 struct timespec tv; local 108 tv.tv_sec = 1; 109 tv.tv_nsec = 0; 115 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 117 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/ |
OMX_G726Dec_CompThread.c | 94 struct timespec tv; local 115 tv.tv_sec = 1; 116 tv.tv_nsec = 0; 122 status = pselect (fdmax+1, &rfds, NULL, NULL, &tv, &set); 124 status = select (fdmax+1, &rfds, NULL, NULL, &tv);
|
/external/strace/ |
count.c | 51 count_syscall(struct tcb *tcp, struct timeval *tv) 71 tv_sub(tv, tv, &tcp->etime); 73 if (tv_cmp(tv, &tcp->dtime) > 0) 90 *tv = tcp->dtime; 91 else if (tv_cmp(tv, &one_tick) > 0) 94 *tv = shortest; 96 *tv = one_tick; 100 if (tv_cmp(tv, &shortest) < 0) 101 shortest = *tv; [all...] |