/packages/providers/CallLogProvider/tests/ |
Android.mk | 4 # We only want this apk build for tests. 11 # Only compile source java files in this apk.
|
/packages/providers/ContactsProvider/tests/ |
Android.mk | 4 # We only want this apk build for tests. 11 # Only compile source java files in this apk.
|
/external/v8/test/mjsunit/ |
arguments-apply.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 return this; 38 return ReturnArguments.apply(this, arguments); 51 return object.f.apply(this, arguments); 64 return ReturnArguments.apply(this, arguments); 79 assertSame(this, NonObjectReceiver(null)) [all...] |
field-type-tracking.js | 2 // Use of this source code is governed by a BSD-style license that can be 10 this.a = o; 73 function A() { this.x = 0; } 76 function C() { this.a = new A(); } 109 function Foo(x) { this.x = x; } 139 function Narf(x) { this.x = x; } 152 function Foo(x) { this.x = x; this.a = x; } 153 function Bar(x) { this.x = x; this.b = x; [all...] |
array-iteration.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. 45 // Use specified object as this object when calling the function. 49 a.filter(function(n) { return this.value == n }, o)) 79 [1, 2].filter(function() { a.push(this) }, ""); 84 [1, 2].filter(function() { a.push(this) }, {}); 89 [1, 2].filter(function() { 'use strict'; a.push(this); }, ""); [all...] |
assert-opt-and-deopt.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. 32 print("Concurrent recompilation is turned on after all. Skipping this test."); 37 * This class shows how to use %GetOptimizationCount() and 39 * Might be nice to put this into mjsunit.js, but that doesn't depend on 43 this.opt_counts_ = {}; 59 * Always call this at the beginning of your test, once for each functio [all...] |
strict-mode-implicit-receiver.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. 32 function get_y() { return this.y; } 33 function strict_get_y() { "use strict"; return this.y; } 36 for (var i = 0; i < 10; i++) assertEquals(3, strict_get_y.call(this)); 50 function get_y() { return this.y; } 51 function strict_get_y() { "use strict"; return this.y; [all...] |
top-level-assignments.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. 83 this.x = x; 84 this.y = y; 87 Calculator.prototype.sum = function() { return this.x + this.y; }; 88 Calculator.prototype.difference = function() { return this.x - this.y; } [all...] |
this-property-assignment.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. 29 // constructor that only has simple this property assignments. 32 this.a = 1; 33 this.a = 2; 34 this.a = 3;
|
/external/chromium-trace/catapult/third_party/mocha/ |
mocha.js | 64 * This library supports the following APIS: 100 this.ignoreWhitespace = ignoreWhitespace; 104 // Handle the identity case (this is due to unrolling editLength == 0 115 newString = this.tokenize(newString); 116 oldString = this.tokenize(oldString); 123 var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); 135 // No one else is going to attempt to use this value, clear it 151 this.pushComponent(basePath.components, oldString[oldPos], undefined, true); 155 this.pushComponent(basePath.components, newString[basePath.newPos], true, undefined); 158 var oldPos = this.extractCommon(basePath, newString, oldString, diagonalPath) [all...] |
/external/chromium-trace/catapult/tracing/third_party/mocha/ |
mocha.js | 64 * This library supports the following APIS: 100 this.ignoreWhitespace = ignoreWhitespace; 104 // Handle the identity case (this is due to unrolling editLength == 0 115 newString = this.tokenize(newString); 116 oldString = this.tokenize(oldString); 123 var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); 135 // No one else is going to attempt to use this value, clear it 151 this.pushComponent(basePath.components, oldString[oldPos], undefined, true); 155 this.pushComponent(basePath.components, newString[basePath.newPos], true, undefined); 158 var oldPos = this.extractCommon(basePath, newString, oldString, diagonalPath) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
sre_parse.py | 142 # determine the width (min, max) for this subpattern 203 this = self.next 205 return this 286 # got three octal digits; this is an octal escape 289 # not an octal escape, so this is a group reference 349 # we can store this as a character set instead of a 350 # branch (the compiler may optimize this even more) 398 this = sourceget() 399 if this is None: 404 if this in WHITESPACE [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
sre_parse.py | 142 # determine the width (min, max) for this subpattern 203 this = self.next 205 return this 286 # got three octal digits; this is an octal escape 289 # not an octal escape, so this is a group reference 349 # we can store this as a character set instead of a 350 # branch (the compiler may optimize this even more) 398 this = sourceget() 399 if this is None: 404 if this in WHITESPACE [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
sre_parse.py | 142 # determine the width (min, max) for this subpattern 203 this = self.next 205 return this 286 # got three octal digits; this is an octal escape 289 # not an octal escape, so this is a group reference 349 # we can store this as a character set instead of a 350 # branch (the compiler may optimize this even more) 398 this = sourceget() 399 if this is None: 404 if this in WHITESPACE [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
sre_parse.py | 142 # determine the width (min, max) for this subpattern 203 this = self.next 205 return this 286 # got three octal digits; this is an octal escape 289 # not an octal escape, so this is a group reference 349 # we can store this as a character set instead of a 350 # branch (the compiler may optimize this even more) 398 this = sourceget() 399 if this is None: 404 if this in WHITESPACE [all...] |
/external/v8/test/mjsunit/es6/ |
typedarray-iteration.js | 2 // Use of this source code is governed by a BSD-style license that can be 35 // Use specified object as this object when calling the function. 39 return this.value == n 52 new constructor([1, 2]).filter(function() { a.push(this) }, ''); 57 new constructor([1, 2]).filter(function() { a.push(this) }, {}); 64 a.push(this); 69 // Calling this method on other types is a TypeError 91 // Use specified object as this object when calling the function. 95 return this.delta + n; 110 new constructor([1, 2]).map(function() { a.push(this) }, ''); [all...] |
classes-experimental.js | 2 // Use of this source code is governed by a BSD-style license that can be 55 this.prp1 = 3; 61 assertSame(a + b, this.prp); 62 assertSame(undefined, this.prp1); 63 assertFalse(this.hasOwnProperty("prp1")); 64 return this; 124 let obj = this; 135 assertSame(obj, this); 146 assertSame(obj, this); 157 assertSame(obj, this); [all...] |
/external/v8/test/mjsunit/regress/ |
regress-1081309.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. 38 this.response_ = eval('(' + json + ')'); 39 this.refs_ = []; 40 if (this.response_.refs) { 41 for (var i = 0; i < this.response_.refs.length; i++) { 42 this.refs_[this.response_.refs[i].handle] = this.response_.refs[i] [all...] |
/external/v8/test/webkit/ |
dfg-convert-this-dom-window.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 in the DFG, but more precisely, that we give the correct this object in case it is undefined" 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] }; 36 shouldBe("myFunction('arg1')", '[this, "myFunction", "arg1"]') [all...] |
function-apply-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 26 "This tests that we can correctly call Function.prototype.apply" 31 return [this, "myFunction", arg1]; 34 return [this, "myFunctionWithApply", arg1]; 47 myFunctionWithApply.apply = function (arg1) { return [this, "myFunctionWithApply.apply", arg1] }; 53 shouldBe("myFunction('arg1')", '[this, "myFunction", "arg1"]'); 54 shouldBe("forwarder(myFunction, null, ['arg1'])", '[this, "myFunction", "arg1"]') [all...] |
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/node_modules/mocha/ |
mocha.js | 65 * This library supports the following APIS: 101 this.ignoreWhitespace = ignoreWhitespace; 105 // Handle the identity case (this is due to unrolling editLength == 0 116 newString = this.tokenize(newString); 117 oldString = this.tokenize(oldString); 124 var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); 136 // No one else is going to attempt to use this value, clear it 152 this.pushComponent(basePath.components, oldString[oldPos], undefined, true); 156 this.pushComponent(basePath.components, newString[basePath.newPos], true, undefined); 159 var oldPos = this.extractCommon(basePath, newString, oldString, diagonalPath) [all...] |
/external/v8/benchmarks/ |
splay.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 benchmark is based on a JavaScript log processing module used 148 return !this.root_; 161 if (this.isEmpty()) { 162 this.root_ = new SplayTree.Node(key, value); 167 this.splay_(key) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/experimental/javascript/closure/ |
wrapperxmlhttpfactory.js | 4 // you may not use this file except in compliance with the License. 29 * This exists partly to allow the preservation of goog.net.XmlHttp.setFactory() 34 * options associated with xhr objects from this factory. 39 goog.net.XmlHttpFactory.call(this); 46 this.xhrFactory_ = xhrFactory; 53 this.optionsFactory_ = optionsFactory; 60 return this.xhrFactory_(); 66 return this.optionsFactory_();
|
xmlhttpfactory.js | 4 // you may not use this file except in compliance with the License. 48 * @return {Object} Options describing how xhr objects obtained from this 52 return this.cachedOptions_ || 53 (this.cachedOptions_ = this.internalGetOptions()); 58 * Override this method in subclasses to preserve the caching offered by 60 * @return {Object} Options describing how xhr objects obtained from this
|
/external/v8/test/mjsunit/compiler/ |
global-accessors.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 test tests that no bailouts are missing by not hitting asserts in debug 37 this.__defineSetter__('x', f); 38 this.__defineGetter__('x', f); 44 this.__defineSetter__('y', f); 45 this.__defineGetter__('y', f) [all...] |