/external/chromium-trace/trace-viewer/src/tracing/analysis/ |
H A D | util.js | 13 function tsRound(ts) { 14 return Math.round(ts * 1000.0) / 1000.0;
|
/external/clang/test/SemaCXX/ |
H A D | PR9459.cpp | 6 template<typename>struct ts{}ap() // expected-error {{expected ';' after struct}} expected-error {{requires a type specifier}} struct 7 {ts<a>::ap<ae_same<int>::&ae_same<>>::p(a); }; // expected-error {{use of undeclared identifier 'a'}}
|
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | ptw32_timespec.c | 51 ptw32_timespec_to_filetime (const struct timespec *ts, FILETIME * ft) argument 61 *(int64_t *) ft = ts->tv_sec * 10000000 62 + (ts->tv_nsec + 50) / 100 + PTW32_TIMESPEC_TO_FILETIME_OFFSET; 66 ptw32_filetime_to_timespec (const FILETIME * ft, struct timespec *ts) argument 76 ts->tv_sec = 78 ts->tv_nsec = 80 ((int64_t) ts->tv_sec * (int64_t) 10000000)) * 100);
|
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
H A D | test-scheme.rb | 11 @ts = TokenScheme.new do 20 @a_class.send(:include, @ts) 26 @ts::A.should == 4 27 @ts::B.should == 5 28 @ts::T__6.should == 6 29 @ts::EOF.should == -1 33 @ts::TOKEN_NAMES.should == { 38 @ts.token_name(5).should == 'B' 39 @ts.token_name(6).should == "'+'" 40 @ts [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
H A D | TransformerClient.java | 40 * @param ts A reference to a TransformState object 42 void setTransformState(TransformState ts); argument
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | SVGRenderTreeAsText.cpp | 93 TextStream& operator<<(TextStream& ts, TextStreamSeparator& sep) argument 96 ts << sep.m_separator; 99 return ts; 103 static void writeNameValuePair(TextStream& ts, const char* name, ValueType value) argument 105 ts << " [" << name << "=" << value << "]"; 109 static void writeNameAndQuotedValue(TextStream& ts, const char* name, ValueType value) argument 111 ts << " [" << name << "=\"" << value << "\"]"; 114 static void writeIfNotEmpty(TextStream& ts, const char* name, const String& value) argument 117 writeNameValuePair(ts, name, value); 121 static void writeIfNotDefault(TextStream& ts, cons argument 127 operator <<(TextStream& ts, const AffineTransform& transform) argument 143 operator <<(TextStream& ts, const WindRule rule) argument 177 operator <<(TextStream& ts, const SVGUnitTypes::SVGUnitType& unitType) argument 183 operator <<(TextStream& ts, const SVGMarkerUnitsType& markerUnit) argument 189 operator <<(TextStream& ts, const SVGMarkerOrientType& orientType) argument 196 operator <<(TextStream& ts, const DashArray& a) argument 210 operator <<(TextStream& ts, LineCap style) argument 227 operator <<(TextStream& ts, LineJoin style) argument 243 operator <<(TextStream& ts, const SVGSpreadMethodType& type) argument 249 writeSVGPaintingResource(TextStream& ts, RenderSVGResource* resource) argument 271 writeStyle(TextStream& ts, const RenderObject& object) argument 330 writePositionAndStyle(TextStream& ts, const RenderObject& object) argument 337 operator <<(TextStream& ts, const RenderSVGShape& shape) argument 380 operator <<(TextStream& ts, const RenderSVGRoot& root) argument 385 writeRenderSVGTextBox(TextStream& ts, const RenderSVGText& text) argument 400 writeSVGInlineTextBox(TextStream& ts, SVGInlineTextBox* textBox, int indent) argument 456 writeSVGInlineTextBoxes(TextStream& ts, const RenderText& text, int indent) argument 466 writeStandardPrefix(TextStream& ts, const RenderObject& object, int indent) argument 475 writeChildren(TextStream& ts, const RenderObject& object, int indent) argument 481 writeCommonGradientProperties(TextStream& ts, SVGSpreadMethodType spreadMethod, const AffineTransform& gradientTransform, SVGUnitTypes::SVGUnitType gradientUnits) argument 492 writeSVGResourceContainer(TextStream& ts, const RenderObject& object, int indent) argument 578 writeSVGContainer(TextStream& ts, const RenderObject& container, int indent) argument 590 write(TextStream& ts, const RenderSVGRoot& root, int indent) argument 597 writeSVGText(TextStream& ts, const RenderSVGText& text, int indent) argument 606 writeSVGInlineText(TextStream& ts, const RenderSVGInlineText& text, int indent) argument 614 writeSVGImage(TextStream& ts, const RenderSVGImage& image, int indent) argument 622 write(TextStream& ts, const RenderSVGShape& shape, int indent) argument 629 writeSVGGradientStop(TextStream& ts, const RenderSVGGradientStop& stop, int indent) argument 643 writeResources(TextStream& ts, const RenderObject& object, int indent) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
H A D | TextStream.cpp | 138 TextStream& operator<<(TextStream& ts, const IntRect& r) argument 140 return ts << "at (" << r.x() << "," << r.y() << ") size " << r.width() << "x" << r.height(); 143 TextStream& operator<<(TextStream& ts, const IntPoint& p) argument 145 return ts << "(" << p.x() << "," << p.y() << ")"; 148 TextStream& operator<<(TextStream& ts, const FloatPoint& p) argument 150 ts << "(" << TextStream::FormatNumberRespectingIntegers(p.x()); 151 ts << "," << TextStream::FormatNumberRespectingIntegers(p.y()); 152 ts << ")"; 153 return ts; 156 TextStream& operator<<(TextStream& ts, cons argument 163 operator <<(TextStream& ts, const FloatRect& r) argument 172 writeIndent(TextStream& ts, int indent) argument [all...] |
/external/chromium-trace/trace-viewer/src/tracing/trace_model/ |
H A D | time_to_object_instance_map.js | 32 idWasCreated: function(category, name, ts) { 35 this.parent, this.id, category, name, ts)); 41 if (ts < lastInstance.deletionTs) { 46 this.parent, this.id, category, name, ts); 52 addSnapshot: function(category, name, ts, args) { 55 this.parent, this.id, category, name, ts)); 62 ts); 67 if (ts > instance.deletionTs || 76 'snapshots have been added. First snap was at ts=' + 77 instance.snapshots[0].ts [all...] |
H A D | object_instance.js | 46 addSnapshot: function(ts, args) { 47 if (ts < this.creationTs) 49 if (ts >= this.deletionTs) 56 if (lastSnapshot.ts == ts) 58 if (ts < lastSnapshot.ts) { 66 var snapshot = new snapshotConstructor(this, ts, args); 71 wasDeleted: function(ts) { 75 if (lastSnapshot.ts > t [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
H A D | PointLightSource.cpp | 58 static TextStream& operator<<(TextStream& ts, const FloatPoint3D& p) argument 60 ts << "x=" << p.x() << " y=" << p.y() << " z=" << p.z(); 61 return ts; 64 TextStream& PointLightSource::externalRepresentation(TextStream& ts) const 66 ts << "[type=POINT-LIGHT] "; 67 ts << "[position=\"" << position() << "\"]"; 68 return ts;
|
H A D | DistantLightSource.cpp | 68 TextStream& DistantLightSource::externalRepresentation(TextStream& ts) const 70 ts << "[type=DISTANT-LIGHT] "; 71 ts << "[azimuth=\"" << azimuth() << "\"]"; 72 ts << "[elevation=\"" << elevation() << "\"]"; 73 return ts;
|
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/ |
H A D | gesture_parser.js | 38 gestureOpenSlice: function(title, ts, opt_args) { 41 'touchpad_gesture', title, ts, opt_args); 44 gestureCloseSlice: function(title, ts) { 53 thread.sliceGroup.endSlice(ts); 67 logEvent: function(eventName, cpuNumber, pid, ts, eventBase) { 72 this.gestureOpenSlice('GestureLog', ts, {name: innerEvent[2]}); 75 this.gestureCloseSlice('GestureLog', ts); 91 syncEvent: function(eventName, cpuNumber, pid, ts, eventBase) { 95 this.gestureOpenSlice('SyncInterpret', ts, 99 this.gestureCloseSlice('SyncInterpret', ts); [all...] |
H A D | mali_parser.js | 220 maliDDKOpenSlice: function(pid, tid, ts, func, blockinfo) { 224 thread.sliceGroup.beginSlice('gpu-driver', funcArgs[1], ts, 229 maliDDKCloseSlice: function(pid, tid, ts, args, blockinfo) { 236 thread.sliceGroup.endSlice(ts); 274 maliDDKEvent: function(eventName, cpuNumber, pid, ts, eventBase) { 285 this.maliDDKOpenSlice(pid, tid, ts, maliEvent[4], 289 this.maliDDKCloseSlice(pid, tid, ts, [], maliEvent[3]); 298 dvfsSample: function(counterName, seriesName, ts, s) { 307 series.addSample(ts, value); 311 dvfsEventEvent: function(eventName, cpuNumber, pid, ts, eventBas [all...] |
/external/fio/ |
H A D | time.c | 27 unsigned long ts = usec; local 34 ts = usec - ns_granularity; 36 if (ts >= 1000000) { 37 req.tv_sec = ts / 1000000; 38 ts -= 1000000 * req.tv_sec; 42 req.tv_nsec = ts * 1000; 48 ts = utime_since_now(&tv); 49 if (ts >= usec) 52 usec -= ts; 100 struct timespec ts; local [all...] |
H A D | 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, argument 317 unsigned long total = ddir_rw_sum(ts->total_io_u); 334 void stat_calc_lat_u(struct thread_stat *ts, doubl argument 339 stat_calc_lat_m(struct thread_stat *ts, double *io_u_lat) argument 363 show_ddir_status(struct group_run_stats *rs, struct thread_stat *ts, int ddir) argument 488 show_latencies(struct thread_stat *ts) argument 500 show_thread_status_normal(struct thread_stat *ts, struct group_run_stats *rs) argument 599 show_ddir_status_terse(struct thread_stat *ts, struct group_run_stats *rs, int ddir) argument 671 add_ddir_status_json(struct thread_stat *ts, struct group_run_stats *rs, int ddir, struct json_object *parent) argument 778 show_thread_status_terse_v2(struct thread_stat *ts, struct group_run_stats *rs) argument 840 show_thread_status_terse_v3_v4(struct thread_stat *ts, struct group_run_stats *rs, int ver) argument 908 show_thread_status_json(struct thread_stat *ts, struct group_run_stats *rs) argument 999 show_thread_status_terse(struct thread_stat *ts, struct group_run_stats *rs) argument 1010 show_thread_status(struct thread_stat *ts, struct group_run_stats *rs) argument 1157 init_thread_stat(struct thread_stat *ts) argument 1176 struct thread_stat *threadstats, *ts; local 1605 struct thread_stat *ts = &td->ts; local 1736 add_clat_percentile_sample(struct thread_stat *ts, unsigned long usec, enum fio_ddir ddir) argument 1748 struct thread_stat *ts = &td->ts; local 1765 struct thread_stat *ts = &td->ts; local 1779 struct thread_stat *ts = &td->ts; local 1793 struct thread_stat *ts = &td->ts; local 1832 struct thread_stat *ts = &td->ts; local [all...] |
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
H A D | condition_variable_posix.cc | 92 timespec ts; local 95 clock_gettime(CLOCK_REALTIME, &ts); 97 clock_gettime(CLOCK_MONOTONIC, &ts); 102 ts.tv_sec = tv.tv_sec; 103 ts.tv_nsec = tv.tv_usec * MICROSECONDS_PER_MILLISECOND; 106 ts.tv_sec += max_time_inMS / MILLISECONDS_PER_SECOND; 107 ts.tv_nsec += 112 if (ts.tv_nsec >= NANOSECONDS_PER_SECOND) { 113 ts.tv_sec += ts [all...] |
/external/webrtc/src/system_wrappers/source/ |
H A D | condition_variable_posix.cc | 109 timespec ts; local 112 clock_gettime(CLOCK_REALTIME, &ts); 114 clock_gettime(CLOCK_MONOTONIC, &ts); 119 ts.tv_sec = tv.tv_sec; 120 ts.tv_nsec = tv.tv_usec * MICROSECONDS_PER_MILLISECOND; 123 ts.tv_sec += maxTimeInMS / MILLISECONDS_PER_SECOND; 124 ts.tv_nsec += (maxTimeInMS - ((maxTimeInMS / MILLISECONDS_PER_SECOND)* 127 if (ts.tv_nsec >= NANOSECONDS_PER_SECOND) 129 ts.tv_sec += ts [all...] |
/external/chromium_org/third_party/skia/tests/ |
H A D | PathOpsLineIntersectionTest.cpp | 85 const SkIntersections& ts) { 86 for (int i = 0; i < ts.used(); ++i) { 87 SkDPoint result1 = line1.ptAtT(ts[0][i]); 88 SkDPoint result2 = line2.ptAtT(ts[1][i]); 89 if (!result1.approximatelyEqual(result2) && !ts.nearlySame(i)) { 90 REPORTER_ASSERT(reporter, ts.used() != 1); 91 result2 = line2.ptAtT(ts[1][i ^ 1]); 96 REPORTER_ASSERT(reporter, result1.approximatelyEqual(ts.pt(i).asSkPoint())); 115 SkIntersections ts; local 116 ts 84 check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, const SkIntersections& ts) argument 122 SkIntersections ts; local 129 SkIntersections ts; local 136 SkIntersections ts; local 147 SkIntersections ts; local 158 SkIntersections ts; local 167 SkIntersections ts; local 176 SkIntersections ts; local 185 SkIntersections ts; local 209 SkIntersections ts; local [all...] |
/external/skia/tests/ |
H A D | PathOpsLineIntersectionTest.cpp | 78 const SkIntersections& ts) { 79 for (int i = 0; i < ts.used(); ++i) { 80 SkDPoint result1 = line1.ptAtT(ts[0][i]); 81 SkDPoint result2 = line2.ptAtT(ts[1][i]); 82 if (!result1.approximatelyEqual(result2) && !ts.nearlySame(i)) { 83 REPORTER_ASSERT(reporter, ts.used() != 1); 84 result2 = line2.ptAtT(ts[1][i ^ 1]); 89 REPORTER_ASSERT(reporter, result1.approximatelyEqual(ts.pt(i).asSkPoint())); 108 SkIntersections ts; local 109 ts 77 check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2, const SkIntersections& ts) argument 115 SkIntersections ts; local 122 SkIntersections ts; local 129 SkIntersections ts; local 140 SkIntersections ts; local 151 SkIntersections ts; local 160 SkIntersections ts; local 169 SkIntersections ts; local 178 SkIntersections ts; local 202 SkIntersections ts; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderTreeAsText.cpp | 68 static void printBorderStyle(TextStream& ts, const EBorderStyle borderStyle) argument 72 ts << "none"; 75 ts << "hidden"; 78 ts << "inset"; 81 ts << "groove"; 84 ts << "ridge"; 87 ts << "outset"; 90 ts << "dotted"; 93 ts << "dashed"; 96 ts << "soli 161 operator <<(TextStream& ts, const Color& c) argument 166 writeRenderObject(TextStream& ts, const RenderObject& o, RenderAsTextBehavior behavior) argument 406 writeTextRun(TextStream& ts, const RenderText& o, const InlineTextBox& run) argument 431 write(TextStream& ts, const RenderObject& o, int indent, RenderAsTextBehavior behavior) argument 506 write(TextStream& ts, RenderLayer& l, const LayoutRect& layerBounds, const LayoutRect& backgroundClipRect, const LayoutRect& clipRect, const LayoutRect& outlineClipRect, LayerPaintPhase paintPhase = LayerPaintPhaseAll, int indent = 0, RenderAsTextBehavior behavior = RenderAsTextBehaviorNormal) argument 576 writeLayers(TextStream& ts, const RenderLayer* rootLayer, RenderLayer* layer, const LayoutRect& paintRect, int indent, RenderAsTextBehavior behavior) argument 676 writeSelection(TextStream& ts, const RenderObject* o) argument 701 TextStream ts; local [all...] |
/external/clang/test/CXX/drs/ |
H A D | dr13xx.cpp | 13 template<typename...Ts> void f(Ts ...ts) { // expected-error 0-1{{extension}} argument 14 auto x(ts...); // expected-error {{empty}} expected-error 0-1{{extension}}
|
/external/eigen/bench/btl/generic_bench/timers/ |
H A D | portable_timer.hh | 111 timespec ts; local 112 clock_gettime(m_clkid, &ts); 113 m_start_time = double(ts.tv_sec) + 1e-9 * double(ts.tv_nsec); 119 timespec ts; local 120 clock_gettime(m_clkid, &ts); 121 m_stop_time = double(ts.tv_sec) + 1e-9 * double(ts.tv_nsec);
|
/external/libcxx/src/ |
H A D | condition_variable.cpp | 56 timespec ts; variable 58 typedef decltype(ts.tv_sec) ts_sec; 62 ts.tv_sec = static_cast<ts_sec>(s.count()); 63 ts.tv_nsec = static_cast<decltype(ts.tv_nsec)>((d - s).count()); 67 ts.tv_sec = ts_sec_max; 68 ts.tv_nsec = giga::num - 1; 70 int ec = pthread_cond_timedwait(&__cv_, lk.mutex()->native_handle(), &ts);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | TimeStampParser.java | 85 float ts = Float.parseFloat(s); 86 timeStamp.setTimeStamp(ts); 88 long ts = Long.parseLong(firstNumber); 89 timeStamp.setTime(ts); 110 float ts = Float.parseFloat(s); 111 timeStamp.setDelay(ts); 113 int ts = Integer.parseInt(firstNumber); 114 timeStamp.setDelay(ts);
|
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkAddIntersections.cpp | 201 SkIntersections ts; local 210 pts = ts.lineHorizontal(wn.pts(), wt.left(), 212 debugShowLineIntersection(pts, wn, wt, ts); 216 pts = ts.quadHorizontal(wn.pts(), wt.left(), 218 debugShowQuadLineIntersection(pts, wn, wt, ts); 222 pts = ts.cubicHorizontal(wn.pts(), wt.left(), 224 debugShowCubicLineIntersection(pts, wn, wt, ts); 237 pts = ts.lineVertical(wn.pts(), wt.top(), 239 debugShowLineIntersection(pts, wn, wt, ts); 243 pts = ts 418 SkIntersections ts; local [all...] |