/external/valgrind/coregrind/ |
m_libcfile.c | 618 struct vki_timespec ts; local 624 ts.tv_sec = timeout / 1000; 625 ts.tv_nsec = (timeout % 1000) * 1000000; 626 tsp = &ts; [all...] |
/external/wpa_supplicant_8/src/utils/ |
eloop.c | 1070 struct timespec ts; local 1117 ts.tv_sec = tv.sec; 1118 ts.tv_nsec = tv.usec * 1000L; 1151 timeout ? &ts : NULL); [all...] |
os_unix.c | 80 struct timespec ts; local 84 res = clock_gettime(clock_id, &ts); 86 t->sec = ts.tv_sec; 87 t->usec = ts.tv_nsec / 1000;
|
/frameworks/av/media/libmedia/ |
AudioTrackShared.cpp | 235 const struct timespec *ts; local 241 ts = NULL; 246 ts = requested; 266 ts = &remaining; 270 ts = NULL; 281 mClientInServer ? FUTEX_WAIT_PRIVATE : FUTEX_WAIT, old & ~CBLK_FUTEX_WAKE, ts); 457 const struct timespec *ts; local 463 ts = NULL; 468 ts = requested; 488 ts = &remaining [all...] |
/frameworks/av/media/libstagefright/ |
MediaSync.cpp | 482 AudioTimestamp ts; local 485 status_t res = mAudioTrack->getTimestamp(ts); 488 numFramesPlayed = ts.mPosition; 490 ts.mTime.tv_sec * 1000000LL + ts.mTime.tv_nsec / 1000;
|
/frameworks/base/core/jni/ |
android_media_AudioRecord.cpp | 735 ExtendedTimestamp ts; local 736 jint status = nativeToJavaStatus(lpRecorder->getTimestamp(&ts)); 742 status = nativeToJavaStatus(ts.getBestTimestamp(&position, &time, timebase)); [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
BandwidthTest.java | 113 String ts = Long.toString(System.currentTimeMillis()); local 116 mTestServer, FILE_SIZE, mDeviceId, ts); 130 results.putString("timestamp", ts); 165 String ts = Long.toString(System.currentTimeMillis()); local 167 mTestServer, FILE_SIZE, mDeviceId, ts); 171 ts = Long.toString(System.currentTimeMillis()); 174 assertTrue(BandwidthTestUtil.postFileToServer(mTestServer, mDeviceId, ts, tmpSaveFile)); 184 results.putString("timestamp", ts); 227 String ts = Long.toString(System.currentTimeMillis()); local 229 mTestServer, FILE_SIZE, mDeviceId, ts); [all...] |
/hardware/qcom/audio/hal/audio_extn/ |
spkr_protection.c | 129 struct timespec ts; local 305 struct timespec ts; local 405 clock_gettime(CLOCK_REALTIME, &ts); 406 ts.tv_sec += (SLEEP_AFTER_CALIB_START/1000); 407 ts.tv_nsec = 0; 412 &handle.mutex_spkr_prot, &ts);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppManager.java | 426 Long ts = System.currentTimeMillis(); local 440 values.put(BluetoothShare.TIMESTAMP, ts);
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/ts/ |
TsParser.java | 17 package com.android.usbtuner.ts; 30 import com.android.usbtuner.ts.SectionParser.OutputListener; 41 * Parses MPEG-2 TS packets. 357 if (DEBUG) Log.d(TAG, "Data should include a single TS packet."); 361 if (DEBUG) Log.d(TAG, "Invalid ts packet."); 365 if (DEBUG) Log.d(TAG, "Erroneous ts packet."); 369 // For details for the structure of TS packet, see H.222.0 Table 2-2. 383 if (DEBUG) Log.d(TAG, "Payload should be included in a single TS packet.");
|
/system/bt/osi/src/ |
alarm.c | 414 struct timespec ts; local 415 if (clock_gettime(CLOCK_ID, &ts) == -1) { 421 return (ts.tv_sec * 1000LL) + (ts.tv_nsec / 1000000LL);
|
/system/core/metricsd/ |
metrics_collector.cc | 104 struct timespec ts; local 105 int r = clock_gettime(CLOCK_MONOTONIC, &ts); 110 return ts.tv_sec + static_cast<double>(ts.tv_nsec) / (1000 * 1000 * 1000);
|
/art/runtime/base/ |
mutex.cc | 654 timespec ts; local 655 InitTimeSpec(true, CLOCK_REALTIME, ms, ns, &ts); 656 int result = pthread_rwlock_timedwrlock(&rwlock_, &ts); 924 timespec ts; local [all...] |
/device/htc/flounder/audio/visualizer/ |
nv_offload_visualizer.c | 500 struct timespec ts; local 501 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { 502 time_t secs = ts.tv_sec - visu_ctxt->buffer_update_time.tv_sec; 503 long nsec = ts.tv_nsec - visu_ctxt->buffer_update_time.tv_nsec; [all...] |
/device/huawei/angler/camera/QCamera2/stack/common/ |
mm_camera_interface.h | 126 struct timespec ts; member in struct:mm_camera_buf_def
|
/device/lge/bullhead/camera/QCamera2/stack/common/ |
mm_camera_interface.h | 126 struct timespec ts; member in struct:mm_camera_buf_def
|
/external/aac/libSBRenc/src/ |
tran_det.cpp | 253 int ts,k; local 257 for (ts=tran_offdiv2; ts<YBufferWriteOffset; ts++) { 259 accu1 += Energies[ts][k] >> 6; 262 for (; ts<tran_offdiv2+(slots>>nrgSzShift); ts++) { 264 accu2 += Energies[ts][k] >> 9; [all...] |
/external/e2fsprogs/misc/ |
badblocks.c | 8 * Copyright 1995, 1996, 1997, 1998, 1999 by Theodore Ts'o 386 struct timespec ts; local 387 ts.tv_sec = tv2.tv_sec - tv1.tv_sec; 388 ts.tv_nsec = (tv2.tv_usec - tv1.tv_usec) * MILISEC; 389 if (ts.tv_nsec < 0) { 390 ts.tv_nsec += NANOSEC; 391 ts.tv_sec -= 1; 394 ts.tv_sec = ts.tv_sec * d_flag / 100; 395 ts.tv_nsec = ts.tv_nsec * d_flag / 100 [all...] |
/external/fio/ |
backend.c | 594 td->ts.short_io_u[io_u->ddir]++; 862 td->ts.short_io_u[io_u->ddir]++; 1283 td->ts.total_io_u[io_u->ddir]++; 2137 struct timespec ts; local [all...] |
io_u.c | 824 __io_u_mark_map(td->ts.io_u_submit, nr); 825 td->ts.total_submit++; 830 __io_u_mark_map(td->ts.io_u_complete, nr); 831 td->ts.total_complete++; 860 td->ts.io_u_map[idx] += nr; 901 td->ts.io_u_lat_u[idx]++; 946 td->ts.io_u_lat_m[idx]++; 1792 struct timespec ts = { .tv_sec = 0, .tv_nsec = 0, }; local [all...] |
stat.c | 21 struct thread_stat *ts = &td->ts; local 24 ts->usr_time += mtime_since(&td->ru_start.ru_utime, 26 ts->sys_time += mtime_since(&td->ru_start.ru_stime, 28 ts->ctx += td->ru_end.ru_nvcsw + td->ru_end.ru_nivcsw 30 ts->minf += td->ru_end.ru_minflt - td->ru_start.ru_minflt; 31 ts->majf += td->ru_end.ru_majflt - td->ru_start.ru_majflt; 314 static void stat_calc_lat(struct thread_stat *ts, double *dst, 317 unsigned long total = ddir_rw_sum(ts->total_io_u); 334 void stat_calc_lat_u(struct thread_stat *ts, double *io_u_lat 1191 struct thread_stat *threadstats, *ts; local 1629 struct thread_stat *ts = &td->ts; local 1773 struct thread_stat *ts = &td->ts; local 1790 struct thread_stat *ts = &td->ts; local 1804 struct thread_stat *ts = &td->ts; local 1818 struct thread_stat *ts = &td->ts; local 1857 struct thread_stat *ts = &td->ts; local [all...] |
/external/libedit/src/ |
terminal.c | 147 { "ts", "cursor to status line" }, 966 struct ttysize ts; local 967 if (ioctl(el->el_infd, TIOCGSIZE, &ts) != -1) { 968 if (ts.ts_cols) 969 *cols = ts.ts_cols; 970 if (ts.ts_lines) 971 *lins = ts.ts_lines; 1290 char **ts; local 1331 const struct termcapstr *ts; local 1409 const struct termcapstr *ts; local [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletWorldImporter/ |
btWorldImporter.cpp | 1787 btBvhTriangleMeshShape* ts = new btBvhTriangleMeshShape(trimesh,true); local [all...] |
/external/libmicrohttpd/src/spdy2http/ |
proxy.c | 1234 struct timespec ts; local 1236 if (0 == clock_gettime(CLOCK_MONOTONIC, &ts)) 1238 (unsigned long long) ts.tv_sec, 1239 (unsigned long long) ts.tv_nsec); [all...] |
/external/libusb/libusb/os/ |
linux_usbfs.c | 201 struct timespec ts; local 206 r = clock_gettime(CLOCK_MONOTONIC, &ts); [all...] |