| /external/strace/tests/ |
| msg_control.c | 287 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg); local 288 ts->tv_sec = 123456789; 289 ts->tv_nsec = 987654321; 301 (long long) ts->tv_sec, zero_extend_signed_to_ull(ts->tv_nsec), 333 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg); local 334 ts[0].tv_sec = 123456789; 335 ts[0].tv_nsec = 987654321; 336 ts[1].tv_sec = 123456790; 337 ts[1].tv_nsec = 987654320 [all...] |
| /external/strace/tests-m32/ |
| ioctl_dm.c | 79 } ts; member in union:s::__anon35444 364 s.u.ts.target_spec.sector_start = 0x10; 365 s.u.ts.target_spec.length = 0x20; 366 s.u.ts.target_spec.next = 367 sizeof(s.u.ts.target_spec) + sizeof(s.u.ts.target_params); 368 strcpy(s.u.ts.target_spec.target_type, "tgt"); 369 strcpy(s.u.ts.target_params, "tparams");
|
| msg_control.c | 287 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg); local 288 ts->tv_sec = 123456789; 289 ts->tv_nsec = 987654321; 301 (long long) ts->tv_sec, zero_extend_signed_to_ull(ts->tv_nsec), 333 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg); local 334 ts[0].tv_sec = 123456789; 335 ts[0].tv_nsec = 987654321; 336 ts[1].tv_sec = 123456790; 337 ts[1].tv_nsec = 987654320 [all...] |
| /external/strace/tests-mx32/ |
| ioctl_dm.c | 79 } ts; member in union:s::__anon35518 364 s.u.ts.target_spec.sector_start = 0x10; 365 s.u.ts.target_spec.length = 0x20; 366 s.u.ts.target_spec.next = 367 sizeof(s.u.ts.target_spec) + sizeof(s.u.ts.target_params); 368 strcpy(s.u.ts.target_spec.target_type, "tgt"); 369 strcpy(s.u.ts.target_params, "tparams");
|
| msg_control.c | 287 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg); local 288 ts->tv_sec = 123456789; 289 ts->tv_nsec = 987654321; 301 (long long) ts->tv_sec, zero_extend_signed_to_ull(ts->tv_nsec), 333 struct timespec *ts = (struct timespec *) CMSG_DATA(cmsg); local 334 ts[0].tv_sec = 123456789; 335 ts[0].tv_nsec = 987654321; 336 ts[1].tv_sec = 123456790; 337 ts[1].tv_nsec = 987654320 [all...] |
| /external/tcpdump/ |
| print-udp.c | 80 uint32_t rr_lsr; /* orig. ts from last rr from this src */ 103 u_int ts; local 106 ts = EXTRACT_16BITS(hdr); 107 if ((ts & 0xf060) != 0) { 112 ts & 0x3ff, ts >> 10)); 229 double ts, dts; local 247 ts = (double)(EXTRACT_32BITS(&sr->sr_ntp.upper)) + 250 ND_PRINT((ndo, " @%.2f %u %up %ub", ts, EXTRACT_32BITS(&sr->sr_ts), 287 ts = (double)(EXTRACT_32BITS(&rr->rr_lsr)) / 65536. [all...] |
| /external/toybox/toys/pending/ |
| syslogd.c | 317 char *p, *ts, *lvlstr, *facstr; local 335 ts = ctime(&now) + 4; /* skip day of week */ 338 ts = msg; 341 ts[15] = '\0'; 354 if (toys.optflags & FLAG_S) len = sprintf(toybuf, "%s %s\n", ts, msg); 355 else len = sprintf(toybuf, "%s %s %s.%s %s\n", ts, p, facstr, lvlstr, msg);
|
| /external/v8/src/inspector/ |
| v8-profiler-agent-impl.cc | 99 uint64_t ts = v8profile->GetSampleTimestamp(i); local 100 array->addItem(static_cast<int>(ts - lastTime)); 101 lastTime = ts;
|
| /external/wpa_supplicant_8/src/drivers/ |
| driver_nl80211_scan.c | 766 struct timespec ts; local 771 if (clock_gettime(CLOCK_BOOTTIME, &ts) == 0) { 777 r->age = ((u64) ts.tv_sec * 1000000000 + 778 ts.tv_nsec - boottime) / 1000000; [all...] |
| /frameworks/av/media/libeffects/visualizer/ |
| EffectVisualizer.cpp | 101 struct timespec ts; local 102 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { 103 time_t secs = ts.tv_sec - pContext->mBufferUpdateTime.tv_sec; 104 long nsec = ts.tv_nsec - pContext->mBufferUpdateTime.tv_nsec;
|
| /frameworks/av/media/libmediaplayer2/ |
| MediaPlayer2AudioOutput.cpp | 180 status_t MediaPlayer2AudioOutput::getTimestamp(AudioTimestamp &ts) const { 185 return mTrack->getTimestamp(ts); 204 AudioTimestamp ts; local 206 status_t res = mTrack->getTimestamp(ts); 208 numFramesPlayed = ts.mPosition; 209 numFramesPlayedAtUs = ts.mTime.tv_sec * 1000000LL + ts.mTime.tv_nsec / 1000;
|
| /frameworks/av/media/libstagefright/ |
| MediaSync.cpp | 485 AudioTimestamp ts; local 487 status_t res = mAudioTrack->getTimestamp(ts); 490 numFramesPlayed = ts.mPosition; 491 numFramesPlayedAtUs = ts.mTime.tv_sec * 1000000LL + ts.mTime.tv_nsec / 1000;
|
| /hardware/intel/common/libmix/mix_video/src/ |
| mixvideoformat_h264.c | 572 guint64 ts = 0; local 603 &ts); 624 if ((ts != parent->current_timestamp) && 658 parent->current_timestamp = ts; 661 LOG_V( "Starting current frame %d, timestamp %"G_GINT64_FORMAT"\n", mix_video_h264_counter++, ts); 705 LOG_V( "Setting bufentry %x for mixbuffer %x ts to %"G_GINT64_FORMAT"\n", (guint)bufentry, (guint)bufentry->buf, ts); 706 bufentry->timestamp = ts; 717 data, ts, discontinuity); 754 LOG_V( "Setting bufentry %x for mixbuffer %x ts to %"G_GINT64_FORMAT"\n", (guint)bufentry, (guint)bufentry->buf, ts) [all...] |
| mixvideoformat_mp42.c | 395 guint64 ts = 0; local 415 ret = mix_videodecodeparams_get_timestamp(decode_params, &ts); 421 LOG_I("ts after mix_videodecodeparams_get_timestamp() = %"G_GINT64_FORMAT"\n", ts); 435 if ((ts != parent->current_timestamp) && (parent->parse_in_progress)) { 466 parent->current_timestamp = ts; 516 bufentry->timestamp = ts; 525 = mix_videofmt_mp42_process_decode(mix, data, ts, 567 bufentry->timestamp = ts; 843 LOG_V("Processing skipped frame %x, frame_id set to %d, ts %"G_GINT64_FORMAT"\n" [all...] |
| mixvideoformat_vc1.c | 626 guint64 ts = 0; local 659 &ts); 679 if ((ts != parent->current_timestamp) && 713 parent->current_timestamp = ts; 716 LOG_V( "Starting current frame %d, timestamp %"G_GINT64_FORMAT"\n", mix_video_vc1_counter++, ts); 760 LOG_V( "Setting bufentry %x for mixbuffer %x ts to %"G_GINT64_FORMAT"\n", (guint)bufentry, (guint)bufentry->buf, ts); 761 bufentry->timestamp = ts; 772 data, ts, discontinuity); 809 bufentry->timestamp = ts; [all...] |
| /hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/ |
| HWC2OnFbAdapter.cpp | 795 struct timespec ts; local 796 clock_gettime(CLOCK_MONOTONIC, &ts); 798 return int64_t(ts.tv_sec) * 1'000'000'000 + ts.tv_nsec; 802 struct timespec ts; 803 ts.tv_sec = t / 1'000'000'000; 804 ts.tv_nsec = t % 1'000'000'000; 807 int error = clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &ts, nullptr);
|
| /hardware/libhardware/modules/radio/ |
| radio_hw.c | 133 struct timespec ts; member in struct:thread_command 147 struct timespec ts; local 163 clock_gettime(CLOCK_REALTIME, &ts); 165 ts.tv_sec += delay_ms/1000; 166 ts.tv_nsec += (delay_ms%1000) * 1000000; 167 if (ts.tv_nsec >= 1000000000) { 168 ts.tv_nsec -= 1000000000; 169 ts.tv_sec += 1; 171 cmd->ts = ts; 216 struct timespec ts; local 272 struct timespec ts = {0, 0}; local [all...] |
| /hardware/qcom/camera/msm8998/usbcamcore/src/ |
| QCameraMjpegDecode.cpp | 683 struct timespec ts; local 684 int rc = clock_gettime(CLOCK_REALTIME, &ts); 688 ts.tv_sec += (ms/1000); 689 ts.tv_nsec += ((ms%1000) * 1000000); 691 ts.tv_nsec += (ms * 1000000); 694 rc = pthread_cond_timedwait(p_cond, p_mutex, &ts);
|
| /hardware/ril/reference-ril/ |
| atchannel.c | 107 struct timespec ts; local 110 ts.tv_sec = (msec / 1000); 111 ts.tv_nsec = (msec % 1000) * 1000 * 1000; 114 err = nanosleep (&ts, &ts); 248 // See eg. TS 27.005 4.3 677 struct timespec ts; local 696 setTimespecRelative(&ts, timeoutMsec); 701 err = pthread_cond_timedwait(&s_commandcond, &s_commandmutex, &ts);
|
| /prebuilts/go/darwin-x86/src/runtime/ |
| iface_test.go | 21 type TS uint16 25 func (TS) Method1() {} 26 func (TS) Method2() {} 51 ts TS 64 _ = e == ts 65 _ = i1 == ts 76 _ = e == ts 82 _ = i1 == ts 88 _ = e != ts 50 ts TS var [all...] |
| /prebuilts/go/linux-x86/src/runtime/ |
| iface_test.go | 21 type TS uint16 25 func (TS) Method1() {} 26 func (TS) Method2() {} 51 ts TS 64 _ = e == ts 65 _ = i1 == ts 76 _ = e == ts 82 _ = i1 == ts 88 _ = e != ts 50 ts TS var [all...] |
| /system/bt/btif/src/ |
| btif_sock_thread.cc | 95 static thread_slot_t ts[MAX_THREAD]; variable 136 APPL_TRACE_DEBUG("ts[%d].used:%d", i, ts[i].used); 137 if (!ts[i].used) { 138 ts[i].used = 1; 148 ts[h].used = 0; 159 ts[h].cmd_fdr = ts[h].cmd_fdw = -1; 160 ts[h].used = 0; 161 ts[h].thread_id = -1 [all...] |
| /system/core/libnetutils/ |
| dhcpclient.c | 53 struct timespec ts; local 55 if (clock_gettime(CLOCK_MONOTONIC, &ts)) { 58 return (((msecs_t) ts.tv_sec) * ((msecs_t) 1000)) + 59 (((msecs_t) ts.tv_nsec) / ((msecs_t) 1000000));
|
| /device/generic/goldfish/fingerprint/ |
| fingerprint.c | 590 struct timespec ts; local 591 clock_gettime(CLOCK_MONOTONIC, &ts); 593 htobe64((uint64_t)ts.tv_sec * 1000 + ts.tv_nsec / 1000000);
|
| /device/generic/goldfish/sensors/ |
| sensors_qemu.c | 130 struct timespec ts; local 131 clock_gettime(CLOCK_MONOTONIC, &ts); 132 return (int64_t)ts.tv_sec * 1000000000 + ts.tv_nsec; [all...] |