Searched refs:ts (Results 51 - 75 of 287) sorted by relevance

1234567891011>>

/external/bluetooth/bluedroid/hci/src/
H A Dlpm.c133 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 Dscpmisc.h64 #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 Dmost_visited_handler.cc123 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 Dstruct8.c17 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 Dstruct2.c16 static test_structure_2 struct2(test_structure_2 ts) argument
18 ts.d1--;
19 ts.d2--;
21 return ts;
H A Dstruct6.c15 static test_structure_6 struct6 (test_structure_6 ts) argument
17 ts.f += 1;
18 ts.d += 1;
20 return ts;
H A Dstruct9.c16 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 DCodeSignerTest.java45 Timestamp ts = new Timestamp(new Date(1146633204309L), cpath);
46 return new Object[] { new CodeSigner(cpath, ts),
/external/chromium-trace/trace-viewer/src/
H A Dlinux_perf_sched_parser.js46 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 Dlinux_perf_workqueue_parser.js40 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 Dlinux_perf_i915_parser.js70 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 Dtimeline_slice_group.js64 * @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 Dlinux_perf_android_parser.js33 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 Dtrace_event_importer.js135 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 Darm-semi.c103 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 DLayerChromium.cpp347 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 Dhold_lock.c16 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 DCCCanvasLayerImpl.cpp70 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 DSourceAlpha.cpp78 TextStream& SourceAlpha::externalRepresentation(TextStream& ts, int indent) const argument
80 writeIndent(ts, indent);
81 ts << "[SourceAlpha]\n";
82 return ts;
H A DSpotLightSource.cpp180 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 Devent.cc163 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 Dktime.h100 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 Dtime.h71 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.h57 #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.h57 #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; \

Completed in 455 milliseconds

1234567891011>>