/external/v8/test/mjsunit/regress/ |
H A D | regress-1121.js | 34 assertEquals([1, 2, 3], [1, 2, 3].slice());
|
/external/chromium-trace/trace-viewer/src/tracks/ |
H A D | timeline_slice_track.css | 5 .timeline-slice-track {
|
H A D | timeline_async_slice_group_track.js | 25 this.classList.add('timeline-async-slice-group-track'); 40 * by start time. For each slice, try to fit it in an existing subRow. If it 52 var slice = slices[i]; 58 if (slice.start >= lastSliceInSubRow.end) { 60 // Instead of plotting one big slice for the entire 62 if (slice.subSlices === undefined || slice.subSlices.length < 1) 64 slice.name; 65 for (var k = 0; k < slice.subSlices.length; k++) 66 subRow.push(slice [all...] |
H A D | timeline_slice_track.js | 41 this.classList.add('timeline-slice-track'); 119 function(slice) { 120 return slice.start + 121 slice.duration; 125 var slice = slices[i]; 126 var x = slice.start; 131 var w = Math.max(slice.duration, 0.001); 132 var colorId = slice.selected ? 133 slice.colorId + highlightIdBoost : 134 slice [all...] |
H A D | timeline_thread_track.css | 12 .timeline-thread-track > .timeline-slice-group-track.first-visible-child > .timeline-slice-track.first-visible-child .timeline-canvas-based-track-canvas-container { 19 .timeline-process-track.first-visible-child > .timeline-thread-track.first-visible-child > .timeline-slice-group-track.first-visible-child > .timeline-slice-track.first-visible-child .timeline-canvas-based-track-canvas-container { 24 .timeline-thread-track > .timeline-slice-group-track.first-visible-child .timeline-canvas-based-track:first-child { 42 .timeline-thread-track > .timeline-slice-group-track.first-visible-child .timeline-canvas-based-track:first-child:last-child {
|
H A D | timeline_slice_group_track.js | 26 this.classList.add('timeline-slice-group-track'); 99 // The basic idea here is to insert each slice as deep into the subrow 101 // parent slice. 108 // To place this slice: 112 // into that either. So, we go to row 0 and its last slice, [a]. That can 119 // If we then get this slice: 122 // it. This time, it doesn't fit in any open slice. So, we simply append 156 var slice = slices[op]; 158 // Try to fit the slice into the existing subrows. 165 if (slice [all...] |
/external/chromium-trace/trace-viewer/src/ |
H A D | timeline_slice_group.js | 41 * Helper function that pushes the provided slice onto the slices array. 42 * @param {TimelineSlice} slice The slice to be added to the slices array. 44 pushSlice: function(slice) { 45 this.slices.push(slice); 46 return slice; 50 * Helper function that pushes the provided slice onto the slices array. 58 * Opens a new slice in the group's slices. 63 * @param {String} title Title of the slice to add. 64 * @param {Number} ts The timetsamp of the slice, i [all...] |
H A D | timeline_filter.js | 13 * The building block of the model is a slice. A slice is roughly 59 matchSlice: function(slice) { 79 matchSlice: function(slice) { 82 if (slice.title === undefined) 84 return slice.title.indexOf(this.text_) != -1; 107 matchSlice: function(slice) { 108 if (!slice.category) 110 return !this.categories_[slice.category];
|
H A D | timeline_async_slice_group.js | 67 * Helper function that pushes the provided slice onto the slices array. 69 push: function(slice) { 70 this.slices.push(slice); 86 var slice = this.slices[sI]; 87 slice.start = (slice.start + amount); 88 for (var sJ = 0; sJ < slice.subSlices.length; sJ++) 89 slice.subSlices[sJ].start += amount; 123 var slice = this.slices[i]; 124 var slicePTID = slice [all...] |
H A D | timeline_selection.js | 13 function TimelineSelectionSliceHit(track, slice) { 15 this.slice = slice; 19 return this.slice.selected; 22 this.slice.selected = v; 63 if (hit.slice) { 64 wmin = Math.min(wmin, hit.slice.start); 65 wmax = Math.max(wmax, hit.slice.end); 98 addSlice: function(track, slice) { 99 return this.push_(new TimelineSelectionSliceHit(track, slice)); [all...] |
H A D | linux_perf_android_parser.js | 67 var slice = thread.endSlice(ts); 72 if (slice.args[arg] !== undefined) { 74 'Both the B and E events of ' + slice.name + 78 slice.args[arg] = event.args[arg];
|
H A D | trace_event_importer.js | 94 * Helper to process an 'async finish' event, which will close an open slice 181 var slice = thread.endSlice(event.ts / 1000); 183 if (slice.args[arg] !== undefined) { 185 'Both the B and E phases of ' + slice.name + 189 slice.args[arg] = event.args[arg]; 199 // Treat an Instant event as a duration 0 slice. 274 'At ' + event.ts + ', a slice of the same id ' + id + 283 'At ' + event.ts + ', no slice named ' + name + 289 'At ' + event.ts + ', no slice named ' + name + 297 // Create a slice fro [all...] |
/external/v8/test/mjsunit/ |
H A D | regexp-string-methods.js | 28 // Regexp shouldn't use String.prototype.slice() 30 assertEquals("f", s.slice(0,1)); 31 String.prototype.slice = function() { return "x"; }; 32 assertEquals("x", s.slice(0,1));
|
H A D | array-slice.js | 32 var sliced = array.slice(); 42 assertEquals([], [].slice(0, 0)); 43 assertEquals([], [].slice(1, 0)); 44 assertEquals([], [].slice(0, 1)); 45 assertEquals([], [].slice(-1, 0)); 55 assertEquals(array, array.slice()); 56 assertEquals(array, array.slice(0)); 57 assertEquals(array, array.slice(undefined)); 58 assertEquals(array, array.slice("foobar")); 59 assertEquals(array, array.slice(undefine [all...] |
H A D | debug-sourceslice.js | 63 var slice = script.sourceSlice(n, n + slice_size); 64 assertEquals(n, slice.from_line); 65 assertEquals(n + slice_size, slice.to_line); 67 var text = slice.sourceText();
|
H A D | string-slices-regexp.js | 36 var str = "_Avtnennan gunzvmu pubExnY nEvln vaTxh rmuhguhaTxnY_".slice(1,-1); 41 assertEquals("a.yb", "_axyb_".slice(1,-1).replace(re, ".")); 43 assertEquals("ax.b", "_axyb_".slice(1,-1).replace(re, ".")); 45 assertEquals(["x", "x"], re.exec("_axyb_".slice(1,-1))); 47 assertEquals(["y", "y"], re.exec("_axyb_".slice(1,-1))); 50 var a = "aaaaaaaaaaaaaaaaaaaaaaaabbaacabbabaaaaabbaaaabbac".slice(24,-1); 62 var c = "ABCDEFGHIJKLMN".slice(2,-2); 63 var d = "ABCDEF\u1234GHIJKLMN".slice(2,-2); 64 var e = "ABCDEFGHIJKLMN".slice(0,-2); 72 var e = "qui-opIasd-fghjklzx-cvbn-mqwer-tyuio-pasdf-ghIjkl-zx".slice( [all...] |
/external/chromium/chrome/browser/resources/gpu_internals/ |
H A D | timeline_view.js | 100 var slice = selection[0].slice; 102 text += leftAlign('Title', c0Width) + ': ' + slice.title + '\n'; 104 tsRound(slice.start) + ' ms\n'; 106 tsRound(slice.duration) + ' ms\n'; 109 for (var argName in slice.args) { 114 for (var argName in slice.args) { 115 var argVal = slice.args[argName]; 125 function(s) {return s.slice.start;})); 127 function(s) {return s.slice [all...] |
H A D | timeline.css | 28 .timeline-slice-track { 39 .timeline-slice-track-title { 46 .timeline-slice-track-canvas-container { 51 .timeline-slice-track-canvas {
|
H A D | timeline_model.js | 12 * The building block of the model is a slice. A slice is roughly 28 * Results in a single timeline slice from 0.1 with duration 0.2. 164 var slice = new TimelineSlice(event.name, colorId, event.ts, 166 state.openSlices.push(slice); 172 var slice = state.openSlices.pop(); 173 slice.duration = event.ts - slice.start; 175 // Store the slice on the right subrow. 178 thread.getSubrow(subRowIndex).push(slice); [all...] |
/external/chromium/chrome/browser/resources/shared/js/cr/ui/ |
H A D | array_data_model.js | 60 slice: function(opt_from, opt_to) { 61 return this.array_.slice.apply(this.array_, arguments); 80 e.removed = arr.slice(index, index + deleteCount); 81 e.added = Array.prototype.slice.call(arguments, 2); 99 var args = Array.prototype.slice.call(arguments);
|
/external/v8/test/mjsunit/compiler/ |
H A D | regress-serialized-slots.js | 40 var args = Array.prototype.slice.call(arguments, 1); 46 args.concat(Array.prototype.slice.call(arguments, 0)));
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
H A D | SliceDirectByteBufferTest.java | 25 buf = buf.slice();
|
H A D | SliceHeapByteBufferTest.java | 25 buf = buf.slice();
|
H A D | SliceWrappedByteBufferTest.java | 25 buf = buf.slice();
|
/external/libvpx/examples/includes/ASCIIMathPHP-2.0/ |
H A D | htmlMathML.js | 23 if (st==null || st.slice(0,1)!=" " && st.slice(0,1)!="\n") 60 str += (st.slice(0,1)=="/" ? "</m:"+st.slice(1) : "<m:"+st); 61 if (st.slice(0,1)!="/") {
|