/external/chromium-trace/trace-viewer/src/tracing/trace_model/ |
D | slice_group_test.js | 38 assertEquals(2, group.slices.length); 39 assertEquals('b', group.slices[0].title); 40 assertEquals(0.5, group.slices[0].duration); 42 assertEquals('a', group.slices[1].title); 43 assertEquals(2, group.slices[1].duration); 55 assertEquals(2, m.slices.length); 57 assertEquals('one', m.slices[0].title); 58 assertEquals(1, m.slices[0].start); 59 assertEquals(1, m.slices[0].duration); 61 assertEquals('two', m.slices[1].title); [all …]
|
D | async_slice_group.js | 19 this.slices = []; property in anonymousFunction7770c1b40100.AsyncSliceGroup 30 this.slices.push(slice); 37 return this.slices.length; 45 for (var sI = 0; sI < this.slices.length; sI++) { 46 var slice = this.slices[sI]; 58 for (var i = 0; i < this.slices.length; i++) { 59 this.bounds.addValue(this.slices[i].start); 60 this.bounds.addValue(this.slices[i].end); 72 for (var i = 0; i < this.slices.length; ++i) { 73 var slice = this.slices[i]; [all …]
|
D | cpu.js | 23 this.slices = []; property in anonymousFunction8789d0630100.Cpu 49 for (var sI = 0; sI < this.slices.length; sI++) 50 this.slices[sI].start = (this.slices[sI].start + amount); 60 if (this.slices.length) { 61 this.bounds.addValue(this.slices[0].start); 62 this.bounds.addValue(this.slices[this.slices.length - 1].end); 71 for (var i = 0; i < this.slices.length; i++) 72 categoriesDict[this.slices[i].category] = true;
|
D | slice_group.js | 35 this.slices = []; property in anonymousFunction233835170100.SliceGroup 46 return this.slices.length; 54 this.slices.push(slice); 62 pushSlices: function(slices) { argument 63 this.slices.push.apply(this.slices, slices); 71 this.slices.push(instantEvent); 167 for (var sI = 0; sI < this.slices.length; sI++) { 168 var slice = this.slices[sI]; 182 for (var i = 0; i < this.slices.length; i++) { 183 this.bounds.addValue(this.slices[i].start); [all …]
|
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/ |
D | cpufreq_parser_test.js | 26 assertEquals(0, thread.sliceGroup.slices[0].args['cpu']); 27 assertEquals(2, thread.sliceGroup.slices[0].args['load']); 28 assertEquals(2000000, thread.sliceGroup.slices[0].args['cur']); 29 assertEquals(300000, thread.sliceGroup.slices[0].args['targ']); 31 assertEquals(0, thread.sliceGroup.slices[1].args['cpu']); 32 assertEquals(12, thread.sliceGroup.slices[1].args['load']); 33 assertEquals(1000000, thread.sliceGroup.slices[1].args['cur']); 34 assertEquals(1000000, thread.sliceGroup.slices[1].args['actual']); 35 assertEquals(200000, thread.sliceGroup.slices[1].args['targ']); 52 assertEquals(1, thread.sliceGroup.slices[0].args['cpu']); [all …]
|
D | kfunc_parser_test.js | 34 var slices = thread.sliceGroup.slices; 38 assertEquals('sys_write', slices[0].title); 41 assertEquals('sys_write', slices[1].title); 42 assertEquals('sys_write (cont.)', slices[2].title); 45 assertEquals('sys_write', slices[3].title); 46 assertEquals('dequeueBuffer', slices[4].title); 47 assertEquals('sys_write (cont.)', slices[5].title); 50 assertEquals('sys_write', slices[6].title);
|
D | kfunc_parser.js | 59 var slices = thread.kernelSliceGroup; 60 if (!slices.isTimestampValidForBeginOrEnd(ts)) { 65 var slice = slices.beginSlice(null, name, ts, {}); 81 var slices = thread.kernelSliceGroup; 82 if (!slices.isTimestampValidForBeginOrEnd(ts)) { 87 if (slices.openSliceCount > 0) { 88 slices.endSlice(ts);
|
D | gesture_parser_test.js | 108 gestureThread.sliceGroup.slices[0].category); 110 gestureThread.sliceGroup.slices[0].title); 112 gestureThread.sliceGroup.slices[2].category); 114 gestureThread.sliceGroup.slices[2].title); 116 gestureThread.sliceGroup.slices[7].category); 118 gestureThread.sliceGroup.slices[7].title);
|
D | power_parser_test.js | 24 assertEquals(0, c0.slices.length); 28 assertEquals(0, c1.slices.length); 47 assertEquals(0, c0.slices.length); 51 assertEquals(0, c1.slices.length); 74 assertEquals(0, c0.slices.length); 78 assertEquals(0, c1.slices.length);
|
D | android_parser_test.js | 95 var slice = thread.asyncSliceGroup.slices[0]; 165 assertEquals('test=test', thread.sliceGroup.slices[0].args['source']); 166 assertEquals('cat2', thread.sliceGroup.slices[0].category); 168 thread.sliceGroup.slices[0].title); 169 assertEquals('xyz', thread.sliceGroup.slices[0].args['task']); 170 …assertEquals('ipc/ipc_sync_message_filter.cc:Send', thread.sliceGroup.slices[1].args['source']); /… 171 assertEquals('1', thread.sliceGroup.slices[2].args['arg1']); 172 assertEquals('2', thread.sliceGroup.slices[2].args['arg2']);
|
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
D | slice_group_track.js | 65 addSliceTrack_: function(slices) { argument 67 track.slices = slices; 76 return sliceTrack.slices; 90 var slices = tracing.filterSliceArray(this.categoryFilter, 91 this.group_.slices); 92 if (this.areArrayContentsSame_(this.filteredSlices_, slices)) { 97 this.filteredSlices_ = slices; 100 if (!slices.length) 102 var subRows = this.buildSubRows_(slices); 123 buildSubRows_: function(slices) { argument [all …]
|
D | async_slice_group_track_test.js | 50 assertEquals(g.slices[0].subSlices[0], subRows[0][0]); 51 assertEquals(g.slices[1].subSlices[0], subRows[0][1]); 71 assertEquals(g.slices[0].subSlices[0], subRows[0][0]); 74 assertEquals(g.slices[1].subSlices[0], subRows[1][0]); 92 assertEquals(g.slices[0].subSlices[0], subRows[0][0]); 93 assertEquals(g.slices[2].subSlices[0], subRows[0][1]); 96 assertEquals(g.slices[1].subSlices[0], subRows[1][0]); 116 assertEquals(g.slices[0].subSlices[0], subRows[0][0]); 117 assertEquals(g.slices[2].subSlices[0], subRows[0][1]); 119 assertEquals(g.slices[1].subSlices[0], subRows[1][0]); [all …]
|
D | slice_track_test.js | 31 track.slices = [ 55 var slices = []; 59 slices.push(s); 61 track.slices = slices; 90 track.slices = [ 103 track.slices = [ 114 assertEquals(track.slices[1], selection[0].slice); 115 assertEquals(track.slices[2], selection[1].slice); 133 track.slices = [ 146 assertEquals(track.slices[0], selection[0].slice); [all …]
|
D | async_slice_group_track.js | 30 addSliceTrack_: function(slices) { argument 33 this, slices); 47 var slices = tracing.filterSliceArray(this.categoryFilter, 48 this.group_.slices); 49 slices.sort(function(x, y) { 54 for (var i = 0; i < slices.length; i++) { 55 var slice = slices[i];
|
D | slice_track.js | 57 get slices() { getter in SliceTrack 61 set slices(slices) { setter in SliceTrack 62 this.slices_ = slices || []; 74 return this.slices.length > 0; 114 var slices = this.slices_; 116 slices, 120 for (var i = lowSlice; i < slices.length; ++i) { 121 var slice = slices[i]; 166 for (var i = lowSlice; i < slices.length; ++i) { 167 var slice = slices[i];
|
D | cpu_track.js | 55 var slices = tracing.filterSliceArray(this.categoryFilter_, 56 this.cpu_.slices); 57 if (slices.length) { 59 track.slices = slices;
|
/external/chromium_org/v8/test/intl/break-iterator/ |
D | zh-break.js | 36 var slices = []; variable 43 slices.push(textToSegment.slice(pos, nextPos)); 49 assertEquals('\u56FD\u52A1\u9662', slices[0]); 50 assertEquals('\u5173\u4E8E', slices[1]); 51 assertEquals('\u300A', slices[2]); 52 assertEquals('\u571F\u5730', slices[3]); 53 assertEquals('\u623F\u5C4B', slices[4]); 54 assertEquals('\u7BA1\u7406', slices[5]); 55 assertEquals('\u6761\u4F8B', slices[6]); 56 assertEquals('\u300B', slices[7]);
|
D | en-break.js | 35 var slices = []; variable 42 slices.push(textToSegment.slice(pos, nextPos)); 48 assertEquals('Jack', slices[0]); 49 assertEquals(' ', slices[1]); 50 assertEquals('and', slices[2]); 51 assertEquals(' ', slices[3]); 52 assertEquals('Jill', slices[4]); 53 assertEquals(',', slices[5]); 54 assertEquals('!', slices[slices.length - 1]);
|
/external/chromium_org/third_party/smhasher/src/ |
D | Bitslice.cpp | 54 void Bitslice ( std::vector<hashtype> & hashes, slice_vec & slices ) in Bitslice() argument 60 slices.clear(); in Bitslice() 61 slices.resize(hashbits); in Bitslice() 63 for(int i = 0; i < (int)slices.size(); i++) in Bitslice() 65 slices[i].resize(slicelen,0); in Bitslice() 70 void * sliceblob = &(slices[j][0]); in Bitslice() 81 void FactorSlices ( slice_vec & slices ) in FactorSlices() argument 83 std::vector<int> counts(slices.size(),0); in FactorSlices() 85 for(size_t i = 0; i < slices.size(); i++) in FactorSlices() 87 counts[i] = countbits(slices[i]); in FactorSlices() [all …]
|
/external/chromium-trace/trace-viewer/src/tracing/ |
D | selection_test.js | 24 sel.addSlice({}, t1.sliceGroup.slices[0]); 28 assertEquals(t1.sliceGroup.slices[0], sel[0].slice); 30 sel.addSlice({}, t1.sliceGroup.slices[1]); 33 assertEquals(t1.sliceGroup.slices[1], sel[1].slice); 49 track.slices = t1.sliceGroup.slices; 52 sel.addSlice(track, t1.sliceGroup.slices[0]); 56 assertEquals(t1.sliceGroup.slices[1], shifted[0].slice);
|
D | test_utils.js | 63 function findSliceNamed(slices, name) { argument 64 if (slices instanceof tracing.trace_model.SliceGroup) 65 slices = slices.slices; 66 for (var i = 0; i < slices.length; i++) 67 if (slices[i].title == name) 68 return slices[i];
|
/external/chromium-trace/trace-viewer/src/tracing/importer/ |
D | linux_perf_importer_test.js | 271 assertEquals(2, c.slices.length); 273 assertEquals('SurfaceFlinger', c.slices[0].title); 274 assertEquals(4467843.475, c.slices[0].start); 275 assertAlmostEquals(.536 - .475, c.slices[0].duration); 297 assertEquals(2, c.slices.length); 299 assertEquals('Surface Flinger ', c.slices[0].title); 300 assertEquals(4467843.475, c.slices[0].start); 301 assertAlmostEquals(.536 - .475, c.slices[0].duration); 332 assertEquals(2, c.slices.length); 335 c.slices[0].start); [all …]
|
D | linux_perf_importer.js | 80 this.cpu.slices.push(slice); 422 for (var i = 0; i < cpu.slices.length; i++) { 423 var slice = cpu.slices[i]; 466 var slices = []; 475 slices.push(new tracing.trace_model.Slice( 479 slices.push(new tracing.trace_model.Slice('', 'Running', runningId, 501 slices.push(new tracing.trace_model.Slice( 506 slices.push(new tracing.trace_model.Slice( 516 slices.push(new tracing.trace_model.Slice( 521 slices.push(new tracing.trace_model.Slice('', '__TASK_STOPPED', [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSBorderImageSliceValue.h | 37 …awPtr<CSSBorderImageSliceValue> create(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> slices, bool fill) in create() argument 39 return adoptRefWillBeNoop(new CSSBorderImageSliceValue(slices, fill)); in create() 44 Quad* slices() { return m_slices ? m_slices->getQuadValue() : 0; } in slices() function 56 CSSBorderImageSliceValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> slices, bool fill);
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
D | CSSToStyleMap.cpp | 506 Quad* slices = borderImageSlice->slices(); in mapNinePieceImageSlice() local 507 if (slices->top()->isPercentage()) in mapNinePieceImageSlice() 508 box.m_top = Length(slices->top()->getDoubleValue(), Percent); in mapNinePieceImageSlice() 510 box.m_top = Length(slices->top()->getIntValue(CSSPrimitiveValue::CSS_NUMBER), Fixed); in mapNinePieceImageSlice() 511 if (slices->bottom()->isPercentage()) in mapNinePieceImageSlice() 512 box.m_bottom = Length(slices->bottom()->getDoubleValue(), Percent); in mapNinePieceImageSlice() 514 … box.m_bottom = Length((int)slices->bottom()->getFloatValue(CSSPrimitiveValue::CSS_NUMBER), Fixed); in mapNinePieceImageSlice() 515 if (slices->left()->isPercentage()) in mapNinePieceImageSlice() 516 box.m_left = Length(slices->left()->getDoubleValue(), Percent); in mapNinePieceImageSlice() 518 box.m_left = Length(slices->left()->getIntValue(CSSPrimitiveValue::CSS_NUMBER), Fixed); in mapNinePieceImageSlice() [all …]
|