HomeSort by relevance Sort by last modified time
    Searched refs:this (Results 176 - 200 of 13634) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/v8/benchmarks/spinning-balls/
splay-tree.js 7 // notice, this list of conditions and the following disclaimer.
9 // copyright notice, this list of conditions and the following
14 // from this software without specific prior written permission.
16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
53 return !this.root_;
66 if (this.isEmpty()) {
67 this.root_ = new SplayTree.Node(key, value);
72 this.splay_(key);
73 if (this.root_.key == key)
    [all...]
  /external/v8/tools/
SourceMap.js 7 // notice, this list of conditions and the following disclaimer.
9 // copyright notice, this list of conditions and the following
14 // from this software without specific prior written permission.
16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 // This is a copy from blink dev tools, see:
46 * notice, this list of conditions and the following disclaimer.
48 * copyright notice, this list of conditions and the following disclaimer
53 * this software without specific prior written permission.
55 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTOR
    [all...]
splaytree.js 7 // notice, this list of conditions and the following disclaimer.
9 // copyright notice, this list of conditions and the following
14 // from this software without specific prior written permission.
16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
54 return !this.root_;
68 if (this.isEmpty()) {
69 this.root_ = new SplayTree.Node(key, value);
74 this.splay_(key);
75 if (this.root_.key == key)
    [all...]
  /external/v8/test/mjsunit/
simple-constructor.js 7 // notice, this list of conditions and the following disclaimer.
9 // copyright notice, this list of conditions and the following
14 // from this software without specific prior written permission.
16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35 this.x = 1;
39 this.x = x;
43 this.x = x;
44 this.y = 1;
45 this.z = f1
    [all...]
global-deleted-property-ic.js 7 // notice, this list of conditions and the following disclaimer.
9 // copyright notice, this list of conditions and the following
14 // from this software without specific prior written permission.
16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 // Load x from the prototype of this. Make sure to initialize the IC.
31 this.__proto__ = { x: 42 };
32 for (var i = 0; i < 3; i++) assertEquals(42, LoadX(this));
35 this.x = 87;
36 for (var i = 0; i < 3; i++) assertEquals(87, LoadX(this));
    [all...]
  /external/v8/test/webkit/
delete-getters-setters.js 8 // notice, this list of conditions and the following disclaimer.
10 // notice, this list of conditions and the following disclaimer in the
13 // THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
21 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 "This test checks that deletion of properties works properly with getters and setters."
29 this.__defineSetter__("a1", function() {});
30 this.__defineSetter__("b1", function() {});
35 this.__defineSetter__("a2", function() {});
36 this.__defineSetter__("b2", function() {});
41 this.__defineGetter__("a3", function() {})
    [all...]
function-call-aliased.js 8 // notice, this list of conditions and the following disclaimer.
10 // notice, this list of conditions and the following disclaimer in the
13 // THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
21 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 "This tests that we can correctly call Function.prototype.call"
29 var myFunction = function (arg1) { return [this, "myFunction", arg1] };
30 var myFunctionWithCall = function (arg1) { return [this, "myFunctionWithCall", arg1] };
31 myFunctionWithCall.call = function (arg1) { return [this, "myFunctionWithCall.call", arg1] };
35 shouldBe("myFunction('arg1')", '[this, "myFunction", "arg1"]');
37 shouldBe("myFunction.call()", '[this, "myFunction", undefined]')
    [all...]
  /external/v8/src/js/
arraybuffer.js 2 // Use of this source code is governed by a BSD-style license that can be
30 if (!IS_ARRAYBUFFER(this)) {
32 'ArrayBuffer.prototype.byteLength', this);
34 return %_ArrayBufferGetByteLength(this);
39 if (!IS_ARRAYBUFFER(this)) {
41 'ArrayBuffer.prototype.slice', this);
49 var byte_length = %_ArrayBufferGetByteLength(this);
67 var constructor = SpeciesConstructor(this, GlobalArrayBuffer, true);
74 if (result === this) {
81 %ArrayBufferSliceImpl(this, result, first, newLen)
    [all...]
symbol.js 2 // Use of this source code is governed by a BSD-style license that can be
33 if (!(IS_SYMBOL(this) || IS_SYMBOL_WRAPPER(this))) {
35 "Symbol.prototype [ @@toPrimitive ]", this);
37 return %_ValueOf(this);
42 if (!(IS_SYMBOL(this) || IS_SYMBOL_WRAPPER(this))) {
44 "Symbol.prototype.toString", this);
46 return %SymbolDescriptiveString(%_ValueOf(this));
51 if (!(IS_SYMBOL(this) || IS_SYMBOL_WRAPPER(this)))
    [all...]
  /external/v8/test/mjsunit/regress/
regress-201590.js 7 // notice, this list of conditions and the following disclaimer.
9 // copyright notice, this list of conditions and the following
14 // from this software without specific prior written permission.
16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 this.ORIGIN = { x: initialX, y: initialY };
34 this.scale = initialScale;
35 this.mapHeight = initialMapHeight;
39 var tileHeight = 64 * 0.25 * this.scale,
40 tileWidth = 128 * 0.25 * this.scale
    [all...]
regress-3969.js 2 // Use of this source code is governed by a BSD-style license that can be
8 this.property = "OK";
9 this.o2 = 1;
13 this.inner = inner;
20 return this.inner.property;
31 // The key is that this lets inner's map die while keeping outer's map alive.
readonly3.js 7 // notice, this list of conditions and the following disclaimer.
9 // copyright notice, this list of conditions and the following
14 // from this software without specific prior written permission.
16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 this.x = 0;
32 this.__proto__ = p;
47 var o1 = c(this);
48 var o2 = c(this);
51 s(c(this));
    [all...]
  /external/v8/src/debug/
debug.js 2 // Use of this source code is governed by a BSD-style license that can be
102 getValue: function() { return this.value; },
104 this.value = !!value;
105 %SetBreakPointsActive(this.value);
140 // NOTE: This object does not have a reference to the function having break
141 // point as this would cause function not to be garbage collected when it is
144 this.source_position_ = source_position;
146 this.script_break_point_ = opt_script_break_point;
148 this.number_ = next_break_point_number++;
150 this.hit_count_ = 0
    [all...]
  /external/chromium-trace/catapult/third_party/coverage/coverage/htmlfiles/
jquery.tablesorter.min.js 2 (function($){$.extend({tablesorter:new function(){var parsers=[],widgets=[];this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:false,cancelSelection:true,sortList:[],headerList:[],dateFormat:"us",decimal:'.',debug:false};function benchmark(s,d){log(s+","+(new Date().getTime()-d.getTime())+"ms");}this.benchmark=benchmark;function log(s){if(typeof console!="undefined"&&typeof console.debug!="undefined"){console.log(s);}else{alert(s);}}function buildParserCache(table,$headers){if(table.config.debug){var parsersDebug="";}var rows=table.tBodies[0].rows;if(table.tBodies[0].rows[0]){var list=[],cells=rows[0].cells,l=cells.length;for(var i=0;i<l;i++){var p=false;if($.metadata&&($($headers[i]).metadata()&&$($headers[i]).metadata().sorter)){p=getParserById($($headers[i]).metadata().sorter);}else if((table.config.headers[i]&&table.config.headers[i].sorter)){p=getParserById(table.config.headers[i].sorter);}if(!p){p=detectParserForColumn(table,cells[i]);}if(table.config.debug){parsersDebug+="column:"+i+" parser:"+p.id+"\n";}list.push(p);}}if(table.config.debug){log(parsersDebug);}return list;};function detectParserForColumn(table,node){var l=parsers.length;for(var i=1;i<l;i++){if(parsers[i].is($.trim(getElementText(table.config,node)),table,node)){return parsers[i];}}return parsers[0];}function getParserById(name){var l=parsers.length;for(var i=0;i<l;i++){if(parsers[i].id.toLowerCase()==name.toLowerCase()){return parsers[i];}}return false;}function buildCache(table){if(table.config.debug){var cacheTime=new Date();}var totalRows=(table.tBodies[0]&&table.tBodies[0].rows.length)||0,totalCells=(table.tBodies[0].rows[0]&&table.tBodies[0].rows[0].cells.length)||0,parsers=table.config.parsers,cache={row:[],normalized:[]};for(var i=0;i<totalRows;++i){var c=table.tBodies[0].rows[i],cols=[];cache.row.push($(c));for(var j=0;j<totalCells;++j){cols.push(parsers[j].format(getElementText(table.config,c.cells[j]),table,c.cells[j]));}cols.push(i);cache.normalized.push(cols);cols=null;};if(table.config.debug){benchmark("Building cache for "+totalRows+" rows:",cacheTime);}return cache;};function getElementText(config,node){if(!node)return"";var t="";if(config.textExtraction=="simple"){if(node.childNodes[0]&&node.childNodes[0].hasChildNodes()){t=node.childNodes[0].innerHTML;}else{t=node.innerHTML;}}else{if(typeof(config.textExtraction)=="function"){t=config.textExtraction(node);}else{t=$(node).text();}}return t;}function appendToTable(table,cache){if(table.config.debug){var appendTime=new Date()}var c=cache,r=c.row,n=c.normalized,totalRows=n.length,checkCell=(n[0].length-1),tableBody=$(table.tBodies[0]),rows=[];for(var i=0;i<totalRows;i++){rows.push(r[n[i][checkCell]]);if(!table.config.appender){var o=r[n[i][checkCell]];var l=o.length;for(var j=0;j<l;j++){tableBody[0].appendChild(o[j]);}}}if(table.config.appender){table.config.appender(table,rows);}rows=null;if(table.config.debug){benchmark("Rebuilt table:",appendTime);}applyWidget(table);setTimeout(function(){$(table).trigger("sortEnd");},0);};function buildHeaders(table){if(table.config.debug){var time=new Date();}var meta=($.metadata)?true:false,tableHeadersRows=[];for(var i=0;i<table.tHead.rows.length;i++){tableHeadersRows[i]=0;};$tableHeaders=$("thead th",table);$tableHeaders.each(function(index){this.count=0;this.column=index;this.order=formatSortingOrder(table.config.sortInitialOrder);if(checkHeaderMetadata(this)||checkHeaderOptions(table,index))this.sortDisabled=true;if(!this.sortDisabled){$(this).addClass(table.config.cssHeader);}table.config.headerList[index]=this;});if(table.config.debug){benchmark("Built headers:",time);log($tableHeaders);}return $tableHeader (…)
    [all...]
  /external/v8/test/mjsunit/es6/
math-fround.js 2 // Use of this source code is governed by a BSD-style license that can be
8 Float32Array = function(x) { this[0] = 0; };
50 this.sign_bit = sign_bit & 1;
51 this.exponent_bits = exponent_bits & ((1 << 11) - 1);
52 this.mantissa_23_bits = mantissa_23_bits & ((1 << 23) - 1);
53 this.mantissa_29_bits = mantissa_29_bits & ((1 << 29) - 1);
62 var sign = this.sign_bit ? -1 : 1;
63 var exponent = this.exponent_bits - 1023;
65 var mantissa = 1 + this.mantissa_23_bits * mantissa_23_shift +
66 this.mantissa_29_bits * mantissa_29_shift
    [all...]
  /prebuilts/go/darwin-x86/test/ken/
rob1.go 4 // Use of this source code is governed by a BSD-style
50 func (this *Integer) Init(i int) *Integer {
51 this.val = i
52 return this
55 func (this *Integer) Print() string {
56 return string(this.val + '0')
ptrfun.go 4 // Use of this source code is governed by a BSD-style
16 func (this *C) f()int {
17 return this.a;
  /prebuilts/go/linux-x86/test/ken/
rob1.go 4 // Use of this source code is governed by a BSD-style
50 func (this *Integer) Init(i int) *Integer {
51 this.val = i
52 return this
55 func (this *Integer) Print() string {
56 return string(this.val + '0')
ptrfun.go 4 // Use of this source code is governed by a BSD-style
16 func (this *C) f()int {
17 return this.a;
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
RewriteCardinalityException.js 2 this.elementDescription = elementDescription;
6 * This signifies a case where the cardinality of two or more elements
11 if ( org.antlr.lang.isString(this.elementDescription) ) {
12 return this.elementDescription;
  /external/v8/test/mjsunit/compiler/
regress-4206.js 2 // Use of this source code is governed by a BSD-style license that can be
20 var min = Module(this).TernaryMin;
21 var max = Module(this).TernaryMax;
  /prebuilts/go/darwin-x86/misc/cgo/test/
issue6128.go 2 // Use of this source code is governed by a BSD-style
12 // in cgo avoids trying to pass this to clang.
18 // nothing to run, just make sure this compiles.
  /prebuilts/go/darwin-x86/test/fixedbugs/
bug157.go 4 // Use of this source code is governed by a BSD-style
14 // this compiles
20 // this doesn't but it should
  /prebuilts/go/linux-x86/misc/cgo/test/
issue6128.go 2 // Use of this source code is governed by a BSD-style
12 // in cgo avoids trying to pass this to clang.
18 // nothing to run, just make sure this compiles.
  /prebuilts/go/linux-x86/test/fixedbugs/
bug157.go 4 // Use of this source code is governed by a BSD-style
14 // this compiles
20 // this doesn't but it should

Completed in 996 milliseconds

1 2 3 4 5 6 78 91011>>