/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
bitops-nsieve-bits.js | 9 return s;
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
bitops-nsieve-bits.js | 9 return s;
|
/external/chromium/chrome/browser/resources/file_manager/js/ |
util.js | 16 return function() { 31 return function() { 47 return '[object FileError: ' + util.getFileErrorMnemonic(this.code) + ']'; 54 return key; 57 return code; 72 return callback(null); 117 return onComplete();
|
exif_reader.js | 64 return onError('Invalid file header: ' + mark.toString(16)); 68 return onError('Unable to find EXIF marker'); 80 return onError('Invalid EXIF magic: ' + magic.toString(16)); 87 return; 101 return onError('Invalid alignment value: ' + order.toString(16)); 106 return onError('Invalid TIFF tag: ' + tag.toString(16)); 207 return this.pos_ >= this.ary_.length; 228 return rv; 248 return rv; 257 return chars.join('') [all...] |
/external/v8/test/mjsunit/compiler/ |
inline-two.js | 45 o2.size = function() { return 42; } 46 o2.g = function() { return this.size(); }; 68 obj.foo = function() { return 42; } 71 o3.h = function() { return this.v.foo(); }; 93 obj.g = function() { return 42; } 96 o3.f = function() { return this.v; } 97 o3.h = function() { return this.f().g(); };
|
array-access.js | 29 return a[0]; 33 return a[n]; 37 return a[a[0]]; 41 return a[a[n]]; 45 return a[a[a[n]]];
|
/external/v8/test/mjsunit/ |
for-in-special-cases.js | 33 return false; 36 return false; 38 return true; 44 return false; 47 return false; 49 return true; 71 return accumulator;
|
debug-liveedit-check-stack.js | 42 " return 'Cat';\n" + 74 return function() { 89 return function() { 90 return Debug.ExecuteInDebugContext(f, true); 95 return function() { 96 return Debug.ExecuteInDebugContext(f, false); 102 return function() { 104 return; 112 return function() { 113 return new function() [all...] |
accessors-on-global-object.js | 33 function getX() { return x; } 37 if (i == 4) __defineGetter__("x", function() { return 42; }); 54 __defineGetter__("y", function() { return setter_y; }); 62 __defineGetter__("z", function() { return 42; }); 64 function getZ() { return z; }
|
megamorphic-callbacks.js | 29 return o.x; 37 return o.f(); 54 o.__defineGetter__("x", function() { return 100; }); 56 o.__defineGetter__("f", function() { return function() { return 300; }});
|
mul-exhaustive.js | 32 if ((1 / n) === -Infinity) return "-0"; 33 return String(n); 38 var mulFunction = Function("x, y", "return " + string); 39 return mulFunction(x, y); 51 if (x === y) return; // Symmetric cases not necessary. [all...] |
receiver-in-with-calls.js | 32 var x = { get_this: function() { return this; } }; 39 function g() { return this; }; 40 return eval("g")(); 45 function g() { return this; }; 46 return eval("g()");
|
value-callic-prototype-change.js | 42 String.prototype.toString = function() { return "ostehaps"; }; 54 Number.prototype.toString = function() { return 0; }; 65 Number.prototype.toString = function() { return 42; }; 76 Boolean.prototype.toString = function() { return 0; }; 87 Boolean.prototype.toString = function() { return 42; };
|
debug-return-value.js | 45 return this.response_; 50 return this.response_.body; 55 return this.response_.running; 60 return this.refs_[handle]; 107 // Just about to return from the function. 134 // the function return. 138 function f(x) {debugger; if (x) { return 1; } else { return 2; } }; 140 // Call f expecting different return values.
|
object-create.js | 61 var fooGetter = { foo: { get: function() { return ctr3++; }}}; 62 var fooSetter = { foo: { set: function() { return ctr4++; }}}; 63 var fooAmbiguous = { foo: { get: function() { return ctr3++; }, 66 function valueGet() { ctr5++; return 3 }; 67 function getterGet() { ctr5++; return function() { return ctr6++; }; }; 126 return true; 130 return true; 134 return 4; 138 return true [all...] |
string-replace.js | 129 return String(ctr++); 139 return String(ctr++); 149 return String(ctr++); 161 return String(ctr++); 184 replaceTest("string 42", "string x", /x/g, function() { return 42; }); 185 replaceTest("string 42", "string x", /x/, function() { return 42; }); 186 replaceTest("string 42", "string x", /[xy]/g, function() { return 42; }); 187 replaceTest("string 42", "string x", /[xy]/, function() { return 42; }); 188 replaceTest("string true", "string x", /x/g, function() { return true; }); 189 replaceTest("string null", "string x", /x/g, function() { return null; }) [all...] |
/external/v8/src/ |
json.js | 52 return %_CallFunction(holder, name, val, reviver); 58 return Revive({'': unfiltered}, '', reviver); 60 return unfiltered; 91 return final; 139 return final; 154 return %QuoteJSONString(value); 156 return NUMBER_IS_FINITE(value) ? $String(value) : "null"; 158 return value ? "true" : "false"; 160 return "null"; 164 return SerializeArray(value, replacer, stack, indent, gap) [all...] |
d8.js | 30 return false; 31 return this.substr(0, str.length) == str; 35 return Math.log(num)/Math.log(10); 40 return void 0; 42 return Object(obj); 56 return []; 71 return result; 129 return (1 << type); 145 return DebugEventDetails(response); 147 return DebugResponseDetails(response) [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/proxy_configuration/ |
proxy_form_controller.js | 98 * @return {?ProxyConfig} The persisted proxy configuration, or null if no 104 return result ? result : null; 136 * @return {string} The PAC file URL (or an empty string). 139 return document.getElementById('autoconfigURL').value; 152 * @return {string} The PAC file data (or an empty string). 155 return document.getElementById('autoconfigData').value; 168 * @return {Array.<string>} A list of hostnames that should bypass the proxy. 171 return document.getElementById('bypassList').value.split(/\s*(?:,|^)\s*/m); 188 * @return {?ProxyServer} An object containing the proxy server host, port, 193 return checkbox.checked ? this.httpProxy : null [all...] |
/external/v8/benchmarks/ |
base.js | 58 return this.time; 88 return function() { 96 return (seed & 0xfffffff) / 0x10000000; 122 return; 143 return result; 153 return Math.pow(Math.E, log / numbers.length); 161 return value.toFixed(0); 163 return value.toPrecision(3); 217 // away. Return a fresh data object. 219 return { runs: 0, elapsed: 0 } [all...] |
/external/chromium/chrome/browser/resources/keyboard/ |
main.js | 29 * @return {void} 51 return new Character(display, display); 74 * @return {number} The aspect ratio of this key. 77 return this.aspect_; 83 * @return {void} 95 * @return {number} Padding in pixels. 98 return Math.floor(height / 3.5); 105 * @return {void} 126 * @return {void} 138 * @return {Element} The top-level DOM Element for the key 273 return BaseKey.prototype.getPadding.call(this, mode, height); class [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/app_launcher/ |
popup.js | 6 return document.getElementById(id); 12 return chrome.extension.getURL("icon.png"); 21 return largest.url; 112 return (a > b) ? 1 : (a == b ? 0 : -1); 116 return compare(app1.name.toLowerCase(), app2.name.toLowerCase()); 130 return; 192 // Focus the search box and return true so you can just start typing even 195 return true; 197 return false;
|
/external/v8/tools/ |
codemap.js | 150 return addr >= node.key && addr < (node.key + node.value.size); 159 return node && this.isAddressBelongsTo_(addr, node) ? node.value : null; 174 return this.findInTree_(this.statics_, addr) || 181 if (dynaEntry == null) return null; 187 return dynaEntry; 189 return null; 201 return node ? node.value : null; 209 return this.dynamics_.exportValues(); 217 return this.statics_.exportValues(); 225 return this.libraries_.exportValues() [all...] |
/external/chromium/chrome/browser/resources/picasaweb_uploader/js/ |
picasa_client.js | 28 return; 45 return; 54 * @return {string} Mime type of the file. 57 return this.mime_; 129 return !!this.authToken_; 137 return this.userID_ || ''; 145 return this.albums_ || []; 153 return this.captchaUrl_; 180 return; 212 * @return {?string} Field value or null [all...] |
/external/chromium/chrome/browser/resources/net_internals/ |
hstsview.js | 62 return 'STRICT'; 64 return 'OPPORTUNISTIC'; 66 return 'SPDY'; 68 return 'UNKNOWN'; 89 return; 95 return;
|