/external/chromium_org/v8/src/base/platform/ |
time.cc | 101 TimeDelta TimeDelta::FromMachTimespec(struct mach_timespec ts) { 102 DCHECK_GE(ts.tv_nsec, 0); 103 DCHECK_LT(ts.tv_nsec, 105 return TimeDelta(ts.tv_sec * Time::kMicrosecondsPerSecond + 106 ts.tv_nsec / Time::kNanosecondsPerMicrosecond); 111 struct mach_timespec ts; local 113 ts.tv_sec = delta_ / Time::kMicrosecondsPerSecond; 114 ts.tv_nsec = (delta_ % Time::kMicrosecondsPerSecond) * 116 return ts; 124 TimeDelta TimeDelta::FromTimespec(struct timespec ts) { 134 struct timespec ts; local 283 struct timespec ts; local 559 struct timespec ts; local 600 struct timespec ts; local [all...] |
/system/extras/tests/bionic/libc/common/ |
test_pthread_once.c | 42 struct timespec ts; local 46 ts.tv_sec = 2; 47 ts.tv_nsec = 0; 48 nanosleep (&ts, NULL);
|
/external/qemu/util/ |
qemu-timer-common.c | 56 struct timespec ts; local 57 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) {
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
condition_variable.cpp | 58 timespec ts; variable 60 typedef decltype(ts.tv_sec) ts_sec; 64 ts.tv_sec = static_cast<ts_sec>(s.count()); 65 ts.tv_nsec = static_cast<decltype(ts.tv_nsec)>((d - s).count()); 69 ts.tv_sec = ts_sec_max; 70 ts.tv_nsec = giga::num - 1; 72 int ec = pthread_cond_timedwait(&__cv_, lk.mutex()->native_handle(), &ts);
|
/external/blktrace/btt/ |
aqd.c | 59 void aqd_issue(void *info, double ts) 64 fprintf(ap->fp, "%lf %d\n%lf %d\n", ts, ap->na, ts, ap->na + 1); 69 void aqd_complete(void *info, double ts) 76 ts, ap->na, ts, ap->na - 1);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FEFlood.cpp | 95 TextStream& FEFlood::externalRepresentation(TextStream& ts, int indent) const 97 writeIndent(ts, indent); 98 ts << "[feFlood"; 99 FilterEffect::externalRepresentation(ts); 100 ts << " flood-color=\"" << floodColor().nameForRenderTreeAsText() << "\" " 102 return ts;
|
SpotLightSource.cpp | 133 static TextStream& operator<<(TextStream& ts, const FloatPoint3D& p) 135 ts << "x=" << p.x() << " y=" << p.y() << " z=" << p.z(); 136 return ts; 139 TextStream& SpotLightSource::externalRepresentation(TextStream& ts) const 141 ts << "[type=SPOT-LIGHT] "; 142 ts << "[position=\"" << position() << "\"]"; 143 ts << "[direction=\"" << direction() << "\"]"; 144 ts << "[specularExponent=\"" << specularExponent() << "\"]"; 145 ts << "[limitingConeAngle=\"" << limitingConeAngle() << "\"]"; 146 return ts; [all...] |
FEDiffuseLighting.cpp | 124 TextStream& FEDiffuseLighting::externalRepresentation(TextStream& ts, int indent) const 126 writeIndent(ts, indent); 127 ts << "[feDiffuseLighting"; 128 FilterEffect::externalRepresentation(ts); 129 ts << " surfaceScale=\"" << m_surfaceScale << "\" " 132 inputEffect(0)->externalRepresentation(ts, indent + 1); 133 return ts;
|
FEOffset.cpp | 102 TextStream& FEOffset::externalRepresentation(TextStream& ts, int indent) const 104 writeIndent(ts, indent); 105 ts << "[feOffset"; 106 FilterEffect::externalRepresentation(ts); 107 ts << " dx=\"" << dx() << "\" dy=\"" << dy() << "\"]\n"; 108 inputEffect(0)->externalRepresentation(ts, indent + 1); 109 return ts;
|
FESpecularLighting.cpp | 140 TextStream& FESpecularLighting::externalRepresentation(TextStream& ts, int indent) const 142 writeIndent(ts, indent); 143 ts << "[feSpecularLighting"; 144 FilterEffect::externalRepresentation(ts); 145 ts << " surfaceScale=\"" << m_surfaceScale << "\" " 148 inputEffect(0)->externalRepresentation(ts, indent + 1); 149 return ts;
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
TextStream.h | 79 TextStream& operator<<(TextStream& ts, const Vector<Item>& vector) 81 ts << "["; 85 ts << vector[i]; 87 ts << ", "; 90 ts << "]"; 91 return ts;
|
/external/e2fsprogs/debugfs/ |
util.c | 4 * Copyright (C) 1993, 1994 Theodore Ts'o. This file may be 215 struct tm ts; local 229 memset(&ts, 0, sizeof(ts)); 231 strptime(arg, "%Y%m%d%H%M%S", &ts); 233 sscanf(arg, "%4d%2d%2d%2d%2d%2d", &ts.tm_year, &ts.tm_mon, 234 &ts.tm_mday, &ts.tm_hour, &ts.tm_min, &ts.tm_sec) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/utils/ |
log2pcap.py | 19 def pcap_addpacket(pcap_file, ts, data): 20 # ts in seconds, float 22 int(ts), int(1000000 * ts) % 1000000, 45 ts = float(m.group(2)) 47 ts = 0 51 pcap_addpacket(pcap_file, ts, data)
|
/packages/apps/Nfc/nci/jni/ |
IntervalTimer.cpp | 50 struct itimerspec ts; local 51 ts.it_value.tv_sec = ms / 1000; 52 ts.it_value.tv_nsec = (ms % 1000) * 1000000; 54 ts.it_interval.tv_sec = 0; 55 ts.it_interval.tv_nsec = 0; 57 stat = timer_settime(mTimerId, 0, &ts, 0);
|
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_DicTraverseSession.cpp | 37 DicTraverseSession *ts = reinterpret_cast<DicTraverseSession *>(traverseSession); local 38 if (!ts) { 44 ts->init(dict, &prevWordsInfo, 0 /* suggestOptions */); 50 ts->init(dict, &prevWordsInfo, 0 /* suggestOptions */); 54 DicTraverseSession *ts = reinterpret_cast<DicTraverseSession *>(traverseSession); local 55 DicTraverseSession::releaseSessionInstance(ts);
|
/external/qemu/tcg/ |
tcg.c | 390 TCGTemp *ts; local 401 ts = &s->temps[s->nb_globals]; 402 ts->base_type = type; 403 ts->type = type; 404 ts->fixed_reg = 1; 405 ts->reg = reg; 406 ts->name = name; 433 TCGTemp *ts; local 441 ts = &s->temps[s->nb_globals]; 442 ts->base_type = type 504 TCGTemp *ts; local 574 TCGTemp *ts; local 998 TCGTemp *ts; local 1025 TCGTemp *ts; local 1713 TCGTemp *ts; local 1752 TCGTemp *ts; local 1785 TCGTemp *ts; local 1806 TCGTemp *ts; local 1864 TCGTemp *ts; local 1883 TCGTemp *ts; local 1955 TCGTemp *ts; local 2012 TCGTemp *ts, *ots; local 2097 TCGTemp *ts; local 2262 TCGTemp *ts; local [all...] |
/hardware/qcom/gps/msm8960/utils/ |
loc_timer.c | 49 struct timespec ts; local 74 clock_gettime(CLOCK_REALTIME, &ts); 76 ts.tv_sec += t.time_msec/1000; 80 ts.tv_nsec += t.time_msec * 1000000; 81 if(ts.tv_nsec > 999999999) { 83 ts.tv_sec += 1; 84 ts.tv_nsec -= 1000000000; 86 LOC_LOGD("%s:%d]: ts.tv_sec:%d; ts.tv_nsec:%d\n", 87 __func__, __LINE__, (int)ts.tv_sec, (int)ts.tv_nsec) [all...] |
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/ |
syscall_parameters_restrictions_unittests.cc | 59 struct timespec ts; local 60 ts.tv_sec = ts.tv_nsec = -1; 61 BPF_ASSERT_EQ(0, clock_gettime(clockid, &ts)); 62 BPF_ASSERT_LE(0, ts.tv_sec); 63 BPF_ASSERT_LE(0, ts.tv_nsec); 79 struct timespec ts; local 80 clock_gettime(CLOCK_MONOTONIC_RAW, &ts); 102 struct timespec ts; variable in typeref:struct:sandbox::__anon15192::ClockSystemTesterDelegate::timespec 107 clock_gettime(base::TimeTicks::kClockSystemTrace, &ts); 124 struct timespec ts; local 141 struct timespec ts; local [all...] |
/frameworks/av/media/libcpustats/ |
ThreadCpuUsage.cpp | 57 struct timespec ts; local 58 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); 62 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + 63 (ts.tv_nsec - mPreviousTs.tv_nsec); 66 mPreviousTs = ts; 100 struct timespec ts; local 102 rc = clock_gettime(CLOCK_THREAD_CPUTIME_ID, &ts); 108 long long delta = (ts.tv_sec - mPreviousTs.tv_sec) * 1000000000LL + 109 (ts.tv_nsec - mPreviousTs.tv_nsec); 111 mPreviousTs = ts; 131 struct timespec ts; local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
CodeSignerTest.java | 42 private Timestamp ts = new Timestamp(now, cpath); field in class:CodeSignerTest 49 new CodeSigner(null, ts); 68 CodeSigner one = new CodeSigner(cpath, ts); 69 CodeSigner two = new CodeSigner(cpath, ts); 100 assertSame(new CodeSigner(cpath, ts).getTimestamp(), ts); 108 new CodeSigner(cpath, ts).toString();
|
/system/core/libutils/ |
SystemClock.cpp | 112 struct timespec ts; local 130 ANDROID_ALARM_GET_TIME(ANDROID_ALARM_ELAPSED_REALTIME), &ts); 133 timestamp = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec; 139 result = clock_gettime(CLOCK_BOOTTIME, &ts); 141 timestamp = seconds_to_nanoseconds(ts.tv_sec) + ts.tv_nsec;
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
and_constructor.c | 112 inv_time_t ts; local 147 r = fread(&ts, sizeof(ts), 1, inv_construct.file); 148 inv_build_gyro(gyro, ts); 150 gyro[0], gyro[1], gyro[2], ts); 156 r = fread(&ts, sizeof(ts), 1, inv_construct.file); 158 inv_build_accel(accel, 0, ts); 160 buffer[0], buffer[1], buffer[2], ts); 167 r = fread(&ts, sizeof(ts), 1, inv_construct.file) [all...] |
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
tick_util.cc | 62 struct timespec ts; local 65 clock_gettime(CLOCK_REALTIME, &ts); 67 clock_gettime(CLOCK_MONOTONIC, &ts); 69 result.ticks_ = 1000000000LL * static_cast<int64_t>(ts.tv_sec) + 70 static_cast<int64_t>(ts.tv_nsec);
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
JUnitCodeGen.java | 190 for ( gUnitTestSuite ts: grammarInfo.getRuleTestSuites() ) { 192 for ( gUnitTestInput input: ts.testSuites.keySet() ) { // each rule may contain multiple tests 196 if ( ts.testSuites.get(input).getType()== gUnitParser.ACTION && ruleWithReturn.containsKey(ts.getRuleName()) ) { 198 String outputString = ts.testSuites.get(input).getText(); 199 testRuleMethodST.setAttribute("methodName", "test"+changeFirstCapital(ts.getRuleName())+i); 200 testRuleMethodST.setAttribute("testRuleName", '"'+ts.getRuleName()+'"'); 202 testRuleMethodST.setAttribute("returnType", ruleWithReturn.get(ts.getRuleName())); 208 if ( ts.isLexicalRule() ) testRuleName = ts.getLexicalRuleName() [all...] |
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
most_visited_handler.cc | 86 history::TopSites* ts = profile->GetTopSites(); local 87 if (ts) { 91 ts->SyncWithHistory(); 96 content::Source<history::TopSites>(ts)); 141 history::TopSites* ts = profile->GetTopSites(); local 142 if (ts) 143 has_blacklisted_urls = ts->HasBlacklistedItems(); 154 history::TopSites* ts = Profile::FromWebUI(web_ui())->GetTopSites(); local 155 if (ts) { 156 ts->GetMostVisitedURLs 180 history::TopSites* ts = Profile::FromWebUI(web_ui())->GetTopSites(); local 189 history::TopSites* ts = Profile::FromWebUI(web_ui())->GetTopSites(); local 252 history::TopSites* ts = Profile::FromWebUI(web_ui())->GetTopSites(); local [all...] |