/external/bluetooth/bluedroid/hci/src/ |
H A D | lpm.c | 133 struct itimerspec ts; local 154 ts.it_value.tv_sec = bt_lpm_cb.timeout_ms/1000; 155 ts.it_value.tv_nsec = 1000*(bt_lpm_cb.timeout_ms%1000); 156 ts.it_interval.tv_sec = 0; 157 ts.it_interval.tv_nsec = 0; 159 status = timer_settime(bt_lpm_cb.timer_id, 0, &ts, 0); 177 struct itimerspec ts; local 181 ts.it_value.tv_sec = 0; 182 ts.it_value.tv_nsec = 0; 183 ts [all...] |
/external/dropbear/ |
H A D | scpmisc.h | 64 #define TIMEVAL_TO_TIMESPEC(tv, ts) { \ 65 (ts)->tv_sec = (tv)->tv_sec; \ 66 (ts)->tv_nsec = (tv)->tv_usec * 1000; \
|
/external/chromium/chrome/browser/ui/webui/ |
H A D | most_visited_handler.cc | 123 history::TopSites* ts = profile->GetTopSites(); local 124 if (ts) 125 has_blacklisted_urls = ts->HasBlacklistedItems(); 138 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); local 139 if (ts) { 140 ts->GetMostVisitedURLs( 164 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); local 165 if (ts) 166 ts->RemoveBlacklistedURL(GURL(url)); 174 history::TopSites* ts local 214 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); local 225 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); local 303 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); local 366 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); local [all...] |
/external/libffi/testsuite/libffi.call/ |
H A D | struct8.c | 17 static test_structure_8 struct8 (test_structure_8 ts) argument 19 ts.f1 += 1; 20 ts.f2 += 1; 21 ts.f3 += 1; 22 ts.f4 += 1; 24 return ts;
|
H A D | struct2.c | 16 static test_structure_2 struct2(test_structure_2 ts) argument 18 ts.d1--; 19 ts.d2--; 21 return ts;
|
H A D | struct6.c | 15 static test_structure_6 struct6 (test_structure_6 ts) argument 17 ts.f += 1; 18 ts.d += 1; 20 return ts;
|
H A D | struct9.c | 16 static test_structure_9 struct9 (test_structure_9 ts) argument 18 ts.f += 1; 19 ts.i += 1; 21 return ts;
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
H A D | CodeSignerTest.java | 45 Timestamp ts = new Timestamp(new Date(1146633204309L), cpath); 46 return new Object[] { new CodeSigner(cpath, ts),
|
/external/chromium-trace/trace-viewer/src/ |
H A D | linux_perf_sched_parser.js | 46 schedSwitchEvent: function(eventName, cpuNumber, pid, ts, eventBase) { 58 prevState, ts, nextPid, nextComm, nextPrio); 62 schedWakeupEvent: function(eventName, cpuNumber, pid, ts, eventBase) { 70 this.importer.markPidRunnable(ts, pid, comm, prio);
|
H A D | linux_perf_workqueue_parser.js | 40 executeStartEvent: function(eventName, cpuNumber, pid, ts, eventBase) { 46 kthread.openSliceTS = ts; 51 executeEndEvent: function(eventName, cpuNumber, pid, ts, eventBase) { 62 ts - kthread.openSliceTS);
|
H A D | linux_perf_i915_parser.js | 70 i915FlipOpenSlice: function(ts, obj, plane) { 73 kthread.openSliceTS = ts; 77 i915FlipCloseSlice: function(ts, args) { 84 ts - kthread.openSliceTS); 91 i915GemObjectSlice: function(ts, eventName, obj, args) { 95 tracing.getStringColorId(kthread.openSlice), ts, args, 0); 100 i915GemRingSlice: function(ts, eventName, dev, ring, args) { 104 tracing.getStringColorId(kthread.openSlice), ts, args, 0); 109 i915RegSlice: function(ts, eventName, reg, args) { 113 tracing.getStringColorId(kthread.openSlice), ts, arg [all...] |
H A D | timeline_slice_group.js | 64 * @param {Number} ts The timetsamp of the slice, in milliseconds. 68 beginSlice: function(category, title, ts, opt_args) { 72 if (ts < prevSlice.start) 77 var slice = new this.sliceConstructor(category, title, colorId, ts, 83 isTimestampValidForBeginOrEnd: function(ts) { 87 return ts >= top.start; 102 * @param {Number} ts Timestamp when the slice ended. 105 endSlice: function(ts) { 110 if (ts < slice.start) 114 slice.duration = ts [all...] |
H A D | linux_perf_android_parser.js | 33 traceMarkWriteAndroidEvent: function(eventName, cpuNumber, pid, ts, 43 if (!thread.isTimestampValidForBeginOrEnd(ts)) { 50 thread.beginSlice(null, name, ts, {}); 67 var slice = thread.endSlice(ts); 97 ctr.timestamps.push(ts);
|
H A D | trace_event_importer.js | 135 ctr.timestamps.push(event.ts / 1000); 161 if (!thread.isTimestampValidForBeginOrEnd(event.ts / 1000)) { 166 thread.beginSlice(event.cat, event.name, event.ts / 1000, event.args); 170 if (!thread.isTimestampValidForBeginOrEnd(event.ts / 1000)) { 181 var slice = thread.endSlice(event.ts / 1000); 203 thread.beginSlice(event.cat, event.name, event.ts / 1000, event.args); 204 thread.endSlice(event.ts / 1000); 243 return x.event.ts - y.event.ts; 274 'At ' + event.ts [all...] |
/external/qemu/ |
H A D | arm-semi.c | 103 static inline uint32_t set_swi_errno(TaskState *ts, uint32_t code) argument 106 ts->swi_errno = errno; 127 TaskState *ts = env->opaque; local 132 ts->swi_errno = err; 184 TaskState *ts = env->opaque; local 186 CPUState *ts = env; local 209 ret = set_swi_errno(ts, open(s, open_modeflags[ARG(1)], 0644)); 218 return set_swi_errno(ts, close(ARG(0))); 258 ret = set_swi_errno(ts, write(ARG(0), s, len)); 275 ret = set_swi_errno(ts, rea [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | LayerChromium.cpp | 347 TextStream ts; local 348 dumpLayer(ts, 0); 349 return ts.release(); 352 static void writeIndent(TextStream& ts, int indent) argument 355 ts << " "; 358 void LayerChromium::dumpLayer(TextStream& ts, int indent) const argument 360 writeIndent(ts, indent); 361 ts << layerTypeAsString() << "(" << m_name << ")\n"; 362 dumpLayerProperties(ts, indent+2); 364 m_ccLayerImpl->dumpLayerProperties(ts, inden 379 dumpLayerProperties(TextStream& ts, int indent) const argument [all...] |
/external/valgrind/main/drd/tests/ |
H A D | hold_lock.c | 16 struct timespec ts; local 19 ts.tv_sec = ms / 1000; 20 ts.tv_nsec = (ms % 1000) * 1000 * 1000; 21 nanosleep(&ts, 0);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
H A D | CCCanvasLayerImpl.cpp | 70 void CCCanvasLayerImpl::dumpLayerProperties(TextStream& ts, int indent) const argument 72 writeIndent(ts, indent); 73 ts << "canvas layer texture id: " << m_textureId << " premultiplied: " << m_premultipliedAlpha << "\n"; 74 CCLayerImpl::dumpLayerProperties(ts, indent);
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
H A D | SourceAlpha.cpp | 78 TextStream& SourceAlpha::externalRepresentation(TextStream& ts, int indent) const argument 80 writeIndent(ts, indent); 81 ts << "[SourceAlpha]\n"; 82 return ts;
|
H A D | SpotLightSource.cpp | 180 static TextStream& operator<<(TextStream& ts, const FloatPoint3D& p) argument 182 ts << "x=" << p.x() << " y=" << p.y() << " z=" << p.z(); 183 return ts; 186 TextStream& SpotLightSource::externalRepresentation(TextStream& ts) const 188 ts << "[type=SPOT-LIGHT] "; 189 ts << "[position=\"" << position() << "\"]"; 190 ts << "[direction=\"" << direction() << "\"]"; 191 ts << "[specularExponent=\"" << specularExponent() << "\"]"; 192 ts << "[limitingConeAngle=\"" << limitingConeAngle() << "\"]"; 193 return ts; [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | event.cc | 163 struct timespec ts; 164 ts.tv_sec = tv.tv_sec + (cms / 1000); 165 ts.tv_nsec = tv.tv_usec * 1000 + (cms % 1000) * 1000000; 168 if (ts.tv_nsec >= 1000000000) { 169 ts.tv_sec++; 170 ts.tv_nsec -= 1000000000; 174 error = pthread_cond_timedwait(&event_cond_, &event_mutex_, &ts);
|
/external/kernel-headers/original/linux/ |
H A D | ktime.h | 100 static inline ktime_t timespec_to_ktime(struct timespec ts) argument 102 return ktime_set(ts.tv_sec, ts.tv_nsec); 198 * @ts: the timespec variable to convert 202 static inline ktime_t timespec_to_ktime(const struct timespec ts) argument 204 return (ktime_t) { .tv = { .sec = (s32)ts.tv_sec, 205 .nsec = (s32)ts.tv_nsec } }; 268 extern void ktime_get_ts(struct timespec *ts); 271 #define ktime_get_real_ts(ts) getnstimeofday(ts) [all...] |
H A D | time.h | 71 extern void set_normalized_timespec(struct timespec *ts, time_t sec, long nsec); 88 #define timespec_valid(ts) \ 89 (((ts)->tv_sec >= 0) && (((unsigned long) (ts)->tv_nsec) < NSEC_PER_SEC)) 110 #define do_posix_clock_monotonic_gettime(ts) ktime_get_ts(ts) 124 * @ts: pointer to the timespec variable to be converted 129 static inline s64 timespec_to_ns(const struct timespec *ts) argument 131 return ((s64) ts->tv_sec * NSEC_PER_SEC) + ts [all...] |
/external/chromium/third_party/libevent/compat/sys/ |
H A D | _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; \
|
H A D | _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; \
|