HomeSort by relevance Sort by last modified time
    Searched refs:Array (Results 651 - 675 of 1473) sorted by null

<<21222324252627282930>>

  /external/chromium_org/v8/test/mjsunit/
unbox-double-arrays.js 356 testOneArrayType(Array);
358 var large_array = new Array(large_array_size);
362 // Cause the array to grow beyond it's JSArray length. This will double the
363 // size of the capacity and force the array into "slow" dictionary case.
375 var large_array2 = new Array(large_array_size);
379 // Convert back to fast elements and make sure the contents of the array are
393 // Make sure it's possible to change the array's length and that array is still
395 var large_array3 = new Array(large_array_size);
524 large_array4 = new Array(large_array_size)
    [all...]
mirror-object.js 180 testObjectMirror([], 'Array', 'Array');
181 testObjectMirror([1,2], 'Array', 'Array');
251 mirror = debug.MakeMirror(Number.bind(Array, 2));
260 assertEquals(Array, property_map["[[BoundThis]]"].value().value());
  /external/v8/src/
json.js 66 throw MakeTypeError('circular_structure', $Array());
96 throw MakeTypeError('circular_structure', $Array());
188 throw MakeTypeError('circular_structure', $Array());
246 throw MakeTypeError('circular_structure', $Array());
342 InstallFunctions($JSON, DONT_ENUM, $Array(
  /external/v8/test/mjsunit/
mjsunit.js 54 // and the properties of non-Array objects).
57 // The found object is an Array with the same length and elements
58 // as the expected object. The expected object doesn't need to be an Array,
59 // as long as it's "array-ish".
134 case "Array":
151 function PrettyPrintArrayElement(value, index, array) {
152 if (value === undefined && !(index in array)) return "";
205 if (objectClass === "Array") {
247 assertEquals(expected.length, found.length, start + "array length");
251 start + "array element at index " + i)
    [all...]
unbox-double-arrays.js 353 testOneArrayType(Array);
355 var large_array = new Array(large_array_size);
359 // Cause the array to grow beyond it's JSArray length. This will double the
360 // size of the capacity and force the array into "slow" dictionary case.
372 var large_array2 = new Array(large_array_size);
376 // Convert back to fast elements and make sure the contents of the array are
390 // Make sure it's possible to change the array's length and that array is still
392 var large_array3 = new Array(large_array_size);
521 large_array4 = new Array(large_array_size)
    [all...]
  /external/chromium_org/third_party/jstemplate/
jstemplate.js 180 * The array is global since it can be reused - this way there is no need to
181 * construct a new array object for each invocation. (IE6 perf)
182 * @type Array
205 * @type Array.<Array>
309 * We represent the call tree as an array of array of calls, indexed as
324 * ie. a flattened array of methods with 2 arguments, in reverse order
327 * The outer array is a stack of such queues.
329 * @type Array.<Array
    [all...]
  /external/v8/include/
v8.h 89 class Array;
782 * Returns StackTrace as a v8::Array that contains StackFrame objects.
784 Local<Array> AsArray();
895 * Returns true if this value is an array.
969 * Attempts to convert a string to an array index.
    [all...]
  /external/chromium_org/remoting/webapp/
client_plugin_async.js 51 /** @param {!Array.<string>} capabilities The negotiated capabilities. */
57 /** @type {Array.<string>} */
61 /** @type {!Array.<string>} */
116 * @return {!Array.<string>} List of words.
119 /** @type {Array.<string>} */
141 /** @type {Array.<string>} */ tokenize(message.data['apiFeatures']);
145 /** @type {!Array.<string>} */
155 /** @type {!Array.<string>} */
293 /** @type {!Array.<string>} */
494 * Returns an associative array with a set of stats for this connecton
    [all...]
  /external/chromium_org/v8/test/mjsunit/harmony/
object-observe.js 80 assertTrue(r instanceof Array)
687 __proto__: Array.prototype,
741 __proto__: Array.prototype,
750 Array.prototype.push.apply(self, cut);
754 Array.prototype.push.apply(self, cut);
1328 var array = [1, 2]; variable
1350 var array = [1, 2]; variable
1364 var array = [1, 2]; variable
1379 var array = [1, 2]; variable
1393 var array = [1, 2, 3]; variable
1406 var array = [3, 2, 1]; variable
1507 var array = [1, 2]; variable
1528 var array = [1, 2]; variable
1550 var array = [1, 2]; variable
1577 var array = [1, 2, 3]; variable
1614 var array = [0]; variable
    [all...]
  /external/chromium_org/chrome/browser/resources/file_manager/background/js/
test_util.js 158 * Returns an array with the files currently selected in the file manager.
161 * @return {Array.<string>} Array of selected files.
177 * Returns an array with the files on the file manager's file list.
180 * @return {Array.<Array.<string>>} Array of rows.
246 * Waits for an element and returns it as an array of it's attributes.
253 * @param {function(Object)} callback Callback with a hash array of attributes
282 * @param {function(Array.<Array.<string>>)} callback Change callback
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
Dictionary.cpp 368 // FIXME: Support array-like objects
374 v8::Local<v8::Array> v8Array = v8::Local<v8::Array>::Cast(v8Value);
597 v8::Local<v8::Array> v8Array = v8::Local<v8::Array>::Cast(v8Value);
637 value = ArrayValue(v8::Local<v8::Array>::Cast(v8Value), m_isolate);
699 v8::Local<v8::Array> properties = options->GetOwnPropertyNames();
726 v8::Local<v8::Array> properties = options->GetOwnPropertyNames();
  /external/chromium_org/third_party/polymer/
platform.js 29 function PointerGestureEvent(a,b){var c=b||{},d=document.createEvent("Event"),e={bubbles:Boolean(c.bubbles)===c.bubbles||!0,cancelable:Boolean(c.cancelable)===c.cancelable||!0};d.initEvent(a,e.bubbles,e.cancelable);for(var f,g=Object.keys(c),h=0;h<g.length;h++)f=g[h],d[f]=c[f];return d.preventTap=this.preventTap,d}"undefined"==typeof WeakMap&&!function(){var a=Object.defineProperty,b=Date.now()%1e9,c=function(){this.name="__st"+(1e9*Math.random()>>>0)+(b++ +"__")};c.prototype={set:function(b,c){var d=b[this.name];d&&d[0]===b?d[1]=c:a(b,this.name,{value:[b,c],writable:!0})},get:function(a){var b;return(b=a[this.name])&&b[0]===a?b[1]:void 0},"delete":function(a){this.set(a,void 0)}},window.WeakMap=c}(),function(a){"use strict";function b(){function a(a){b=a}if("function"!=typeof Object.observe||"function"!=typeof Array.observe)return!1;var b=[],c={};if(Object.observe(c,a),c.id=1,c.id=2,delete c.id,Object.deliverChangeRecords(a),3!==b.length)return!1;if("new"==b[0].type&&"updated"==b[1].type&&"deleted"==b[2].type)F="new",G="updated",H="reconfigured",I="deleted";else if("add"!=b[0].type||"update"!=b[1].type||"delete"!=b[2].type)return console.error("Unexpected change record names for Object.observe. Using dirty-checking instead"),!1;return Object.unobserve(c,a),c=[0],Array.observe(c,a),c[1]=1,c.length=0,Object.deliverChangeRecords(a),2!=b.length?!1:b[0].type!=J||b[1].type!=J?!1:(Array.unobserve(c,a),!0)}function c(){if(a.document&&"securityPolicy"in a.document&&!a.document.securityPolicy.allowsEval)return!1;try{var b=new Function("","return true;");return b()}catch(c){return!1}}function d(a){return+a===a>>>0}function e(a){return+a}function f(a){return a===Object(a)}function g(a,b){return a===b?0!==a||1/a===1/b:M(a)&&M(b)?!0:a!==a&&b!==b}function h(a){return"string"!=typeof a?!1:(a=a.trim(),""==a?!0:"."==a[0]?!1:U.test(a))}function i(a,b){if(b!==V)throw Error("Use Path.get to retrieve path objects");return""==a.trim()?this:d(a)?(this.push(a),this):(a.split(/\s*\.\s*/).filter(function(a){return a}).forEach(function(a){this.push(a)},this),L&&!K&&this.length&&(this.getValueFrom=this.compiledGetValueFromFn()),void 0)}function j(a){if(a instanceof i)return a;null==a&&(a=""),"string"!=typeof a&&(a=String(a));var b=W[a];if(b)return b;if(!h(a))return X;var b=new i(a,V);return W[a]=b,b}function k(b){for(var c=0;Y>c&&b.check();)b.report(),c++;a.testingExposeCycleCount&&(a.dirtyCheckCycleCount=c)}function l(a){for(var b in a)return!1;return!0}function m(a){return l(a.added)&&l(a.removed)&&l(a.changed)}function n(a,b){var c={},d={},e={};for(var f in b){var g=a[f];(void 0===g||g!==b[f])&&(f in a?g!==b[f]&&(e[f]=g):d[f]=void 0)}for(var f in a)f in b||(c[f]=a[f]);return Array.isArray(a)&&a.length!==b.length&&(e.length=a.length),{added:c,removed:d,changed:e}}function o(a,b){var c=b||(Array.isArray(a)?[]:{});for(var d in a)c[d]=a[d];return Array.isArray(a)&&(c.length=a.length),c}function p(a,b,c){if(this.closed=!1,this.object=a,this.callback=b,this.target=c,this.reporting=!0,K){var d=this;this.boundInternalCallback=function(a){d.internalCallback(a)}}q(this)}function q(a){$&&(Z.push(a),p._allObserversCount++)}function r(a,b,c){p.call(this,a,b,c),this.connect(),this.sync(!0)}function s(a,b,c){if(!Array.isArray(a))throw Error("Provided object is not an Array");r.call(this,a,b,c)}function t(a){this.arr=[],this.callback=a,this.isObserved=!0}function u(a,b,c,d,e,g){var b=b instanceof i?b:j(b);return b&&b.length&&f(a)?(p.call(this,a,c,d),this.valueFn=e,this.setValueFn=g,this.path=b,this.connect(),this.sync(!0),void 0):(this.value_=b?b.getValueFrom(a):void 0,this.value=e?e(this.value_):this.value_,this.closed=!0,void 0)}function v(a,b,c){p.call(this,void 0,a,b),this.valueFn=c,this.observed=[],this.values=[],this.value=void 0,this.oldValue=void 0,this.oldValues=void 0,this.changeFlags=void 0,this.started=!1}function w(a,b){if("function"==typeof Object.observe){var c=Object.getNotifier(a);return function(d,e){var f={object:a,type:d,name:b};2===arguments.length&&(f.oldValue=e),c.notify(f)}}}function x(a,b,c){for(var d={},e={},f=0;f<b.length;f++){var g=b[f];db[g.type]?(g.name in c||(c[g.name]=g.oldValue),g.type!=G&&(g.type!=F?g.name in d?(delete d[g.name],delete c[g.name]):e[g.name]=!0:g.name in e?delete e[g.name]:d[g.name]=!0)):(console.error("Unknown changeRecord type: "+g.type),console.error(g))}for(var h in d)d[h]=a[h];for(var h in e)e[h]=void 0;var i={};for(var h in c)if(!(h in d||h in e)){var j=a[h];c[h]!==j&&(i[h]=j)}return{added:d,removed:e,changed:i}}function y(a,b,c){return{index:a,removed:b,addedCount:c}}function z(){}function A(a,b,c,d,e,f){return ib.calcSplices(a,b,c,d,e,f)}function B(a,b,c,d){return c>b||a>d?-1:b==c||d==a?0:c>a?d>b?b-c:d-c:b>d?d-a:b-a}function C(a,b,c,d){for(var e=y(b,c,d),f=!1,g=0,h=0;h<a.length;h++){var i=a[h];if(i.index+=g,!f){var j=B(e.index,e.index+e.removed.length,i.index,i.index+i.addedCount);if(j>=0){a.splice(h,1),h--,g-=i.addedCount-i.removed.length,e.addedCount+=i.addedCount-j;var k=e.removed.length+i.removed.length-j;if(e.addedCount||k){var c=i.removed;if(e.index<i.index){var l=e.removed.slice(0,i.index-e.index);Array.prototype.push.apply(l,c),c=l}if(e.index+e.removed.length>i.index+i.addedCount){var m=e.removed.slice(i.index+i.addedCount-e.index);Array.prototype.push.apply(c,m)}e.removed=c,i.index<e.index&&(e.index=i.index)}else f=!0}else if(e.index (…)
    [all...]
  /art/runtime/entrypoints/
entrypoint_utils.h 27 #include "mirror/array.h"
79 // Given the context of a calling Method, use its DexCache to resolve a type to an array Class. If
80 // it cannot be resolved, throw an error. If it can, use it to create an array.
83 static inline mirror::Array* AllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* method,
107 return mirror::Array::Alloc(self, klass, component_count);
110 extern mirror::Array* CheckAndAllocArrayFromCode(uint32_t type_idx, mirror::ArtMethod* method,
  /external/llvm/include/llvm/Bitcode/
BitstreamWriter.h 310 /// emission code. If BlobData is non-null, then it specifies an array of
311 /// data that should be emitted as part of the Blob or Array operand that is
332 } else if (Op.getEncoding() == BitCodeAbbrevOp::Array) {
333 // Array case.
334 assert(i+2 == e && "array op not second to last?");
341 "Blob data and record entries specified for array!");
453 /// that end with an array.
456 StringRef Array) {
457 EmitRecordWithAbbrevImpl(Abbrev, Vals, Array);
  /external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/
metadata_cache.js 130 if (metadata instanceof Array) {
140 } else if (metadata instanceof Object) { // Hash array only.
187 * @param {Entry|Array.<Entry>} entries The list of entries. May be just a
193 if (!(entries instanceof Array)) {
320 * @param {Entry|Array.<Entry>} entries The list of entries. May be just a
327 if (!(entries instanceof Array)) {
344 * @param {Entry|Array.<Entry>} entries The list of entries. May be just a
347 * @param {Array.<Object>} values List of corresponding metadata values.
350 if (!(entries instanceof Array)) {
370 * @param {Entry|Array.<Entry>} entries The list of entries. May be just
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/parse-only/
mootools-1.2.2-core-nc.js 75 var args = Array.prototype.slice.call(arguments);
91 var natives = {'Array': Array, 'Date': Date, 'Function': Function, 'Number': Number, 'RegExp': RegExp, 'String': String};
98 'Array': ["concat", "indexOf", "join", "lastIndexOf", "pop", "push", "reverse", "shift", "slice", "sort", "splice", "toString", "unshift", "valueOf"],
146 Array.implement({
154 Array.alias('forEach', 'each');
158 var l = iterable.length, array = new Array(l);
159 while (l--) array[l] = iterable[l];
160 return array;
    [all...]
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
TreeParser.as 129 public override function getErrorMessage(e:RecognitionException, tokenNames:Array):String {
  /external/chromium/chrome/browser/resources/shared/js/
util.js 26 * @param {!Array} params The parameters to send.
36 var args = Array.prototype.slice.call(arguments);
  /external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/util/
sorttable.js 148 // build an array to sort. This is a Schwartzian transform thing,
444 // array-like enumeration
445 if (!Array.forEach) { // mozilla already supports this
446 Array.forEach = function(array, block, context) {
447 for (var i = 0; i < array.length; i++) {
448 block.call(context, array[i], i, array);
464 Array.forEach(string.split(""), function(chr, index) {
484 // the object is array-lik
    [all...]
  /external/chromium_org/chrome/browser/resources/
about_stats.js 149 var rows = new Array();
151 var indexes = new Array();
  /external/chromium_org/chrome/browser/resources/chromeos/
network.js 72 * @param {Array.<string>} logEntries A array of strings that each string
119 * @param {Array.<Object>} networkStatuses An array of network states.
  /external/chromium_org/chrome/browser/resources/file_manager/foreground/js/media/
player_testapi.js 133 * @param {Array.<string>} filePaths Array of file paths.
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/benchmark/util/
sorttable.js 146 // build an array to sort. This is a Schwartzian transform thing,
442 // array-like enumeration
443 if (!Array.forEach) { // mozilla already supports this
444 Array.forEach = function(array, block, context) {
445 for (var i = 0; i < array.length; i++) {
446 block.call(context, array[i], i, array);
462 Array.forEach(string.split(""), function(chr, index) {
482 // the object is array-lik
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/
util.js 23 * @param {!Array} params The parameters to send.
33 var args = Array.prototype.slice.call(arguments);
  /external/chromium_org/chrome/renderer/resources/extensions/
app_window_custom_bindings.js 88 return $Array.map(views, function(win) {
94 var windows = $Array.filter(chrome.app.window.getAll(), function(win) {

Completed in 3781 milliseconds

<<21222324252627282930>>