/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/inherit/ |
proto_4.js | 51 var testcases = new Array(); 63 this.projects = new Array();
|
proto_5.js | 48 var testcases = new Array(); 60 this.projects = projs || new Array();
|
proto_7.js | 48 var testcases = new Array(); 57 this.projects = projs || new Array();
|
proto_8.js | 46 var testcases = new Array(); 55 this.projects = projs || new Array();
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8MessagePortCustom.cpp | 78 v8::Local<v8::Array> array = v8::Local<v8::Array>::Cast(value); local 79 length = array->Length();
|
V8ScriptProfileNodeCustom.cpp | 47 v8::Handle<v8::Array> result = v8::Array::New(children.size());
|
/external/webkit/Source/WebCore/page/ |
Console.idl | 46 readonly attribute [CustomGetter] Array profiles;
|
/frameworks/base/core/java/android/text/ |
SpanSet.java | 19 import java.lang.reflect.Array; 51 spans = (E[]) Array.newInstance(classType, length); 106 // The spans array is guaranteed to be not null when numberOfSpans is > 0
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
core-extensions.rb | 202 relative_list = Array.new( reference_list.length, '..' ) 230 class Array 232 # Pad an array with a given <tt>value</tt> upto a given <tt>length</tt>. 237 # to the beginning of the array. 246 Array.new( ( len+size ).abs,val ) + self 248 self + Array.new( len-size,val ) 252 # Like #pad but changes the array in place. 263 replace Array.new( ( len+size ).abs,val ) + self 265 concat Array.new( len-size,val )
|
/external/v8/test/mjsunit/regress/ |
regress-1121.js | 30 // Test that changing Array.prototype.__proto__ keeps Array functions working. 32 Array.prototype.__proto__ = null;
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
string-validate-input.js | 1 letters = new Array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"); 2 numbers = new Array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26); 3 colors = new Array("FF","CC","99","66","33","00");
|
3d-cube.js | 5 var Q = new Array(); 6 var MTrans = new Array(); // transformation matrix 7 var MQube = new Array(); // position information of qube 8 var I = new Array(); // entity matrix 71 var Cross = new Array(); 79 var A = new Array(); var B = new Array(); 109 var Vect = new Array(); 116 var Vect = new Array(); 188 var CurN = new Array(); [all...] |
crypto-aes.js | 6 * takes byte-array 'input' (16 bytes) 7 * 2D byte-array key schedule 'w' (Nr+1 x Nb bytes) 11 * returns byte-array encrypted value (16 bytes) 17 var state = [[],[],[],[]]; // initialise 4xNb byte-array 'state' with input [§3.4] 33 var output = new Array(4*Nb); // convert state to 1-d array before returning [§3.4] 48 var t = new Array(4); 59 var a = new Array(4); // 'a' is a copy of the current column from 's' 60 var b = new Array(4); // 'b' is a?{02} in GF(2^8) 83 function KeyExpansion(key) { // generate Key Schedule (byte-array Nr+1 x Nb) from Key [§5.2 [all...] |
crypto-sha1.js | 38 * Calculate the SHA-1 of an array of big-endian words, and a bit length 46 var w = Array(80); 80 return Array(a, b, c, d, e); 113 var ipad = Array(16), opad = Array(16); 144 * Convert an 8-bit or 16-bit string to an array of big-endian words 149 var bin = Array(); 157 * Convert an array of big-endian words to a string 169 * Convert an array of big-endian words to a hex string. 184 * Convert an array of big-endian words to a base-64 strin [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
string-validate-input.js | 1 letters = new Array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"); 2 numbers = new Array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26); 3 colors = new Array("FF","CC","99","66","33","00");
|
3d-cube.js | 5 var Q = new Array(); 6 var MTrans = new Array(); // transformation matrix 7 var MQube = new Array(); // position information of qube 8 var I = new Array(); // entity matrix 71 var Cross = new Array(); 79 var A = new Array(); var B = new Array(); 109 var Vect = new Array(); 116 var Vect = new Array(); 188 var CurN = new Array(); [all...] |
crypto-aes.js | 6 * takes byte-array 'input' (16 bytes) 7 * 2D byte-array key schedule 'w' (Nr+1 x Nb bytes) 11 * returns byte-array encrypted value (16 bytes) 17 var state = [[],[],[],[]]; // initialise 4xNb byte-array 'state' with input [§3.4] 33 var output = new Array(4*Nb); // convert state to 1-d array before returning [§3.4] 48 var t = new Array(4); 59 var a = new Array(4); // 'a' is a copy of the current column from 's' 60 var b = new Array(4); // 'b' is a?{02} in GF(2^8) 83 function KeyExpansion(key) { // generate Key Schedule (byte-array Nr+1 x Nb) from Key [§5.2 [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
V8Collection.h | 104 // Get an array containing the names of indexed properties of HTMLSelectElement and HTMLFormElement. 105 template<class Collection> static v8::Handle<v8::Array> nodeCollectionIndexedPropertyEnumerator(const v8::AccessorInfo& info) 110 v8::Handle<v8::Array> properties = v8::Array::New(length); 119 // Get an array containing the names of indexed properties in a collection. 120 template<class Collection> static v8::Handle<v8::Array> collectionIndexedPropertyEnumerator(const v8::AccessorInfo& info) 125 v8::Handle<v8::Array> properties = v8::Array::New(length);
|
/external/v8/test/mjsunit/ |
array-iteration.js | 28 // Tests for non-standard array iteration functions. 32 // <http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array> 37 // Array.prototype.filter 50 // Modify original array. 52 assertArrayEquals([42,42], a.filter(function(n, index, array) { array[index] = 43; return 42 == n; })); 55 // Only loop through initial part of array eventhough elements are 58 assertArrayEquals([], a.filter(function(n, index, array) { array.push(n+1); return n == 2; })); 62 a = new Array(20) [all...] |
array-functions-prototype.js | 28 // This file contains a number of tests of array functions and their 39 // Set elements on the array prototype. 40 Array.prototype[0] = 'zero'; 41 Array.prototype[1] = 'one'; 42 Array.prototype[2] = 'two'; 60 var array = ['zero', , 'two']; 62 assertEquals('zero', array.shift()); 63 assertEquals('zero', Array.prototype.shift.call(nonArray)); 66 assertEquals(2, array.length); 68 assertHasOwnProperties(array, 2) [all...] |
sparse-array-reverse.js | 39 // Simple test of reverse on sparse array. 44 Array.prototype[30] = 'B'; // Should be hidden by a[30]. 52 delete Array.prototype[30]; 59 // CONG pseudo random number generator. Used for fuzzing the sparse array 70 // Fuzzing test of reverse on sparse array. 78 // Make sure we test both array-backed and hash-table backed 81 a = new Array(size); 83 a = new Array(); 98 Array.prototype[pos] = letter; 114 Array.prototype[pos] = letter [all...] |
array-functions-prototype-misc.js | 61 return new Array(length); 63 the_prototype = Array.prototype; 64 push_function = function(array, elt) { 65 return array.push(elt); 67 concat_function = function(array, other) { 68 return array.concat(other); 70 slice_function = function(array, start, len) { 71 return array.slice(start, len); 73 splice_function = function(array, start, len) { 74 return array.splice(start, len) [all...] |
array-elements-from-array-prototype-chain.js | 29 // Tests below verify that elements set on Array.prototype's proto propagate 30 // for various Array.prototype functions (like unshift, shift, etc.) 32 // array-elements-from-array-prototype.js 33 // array-elements-from-array-prototype-chain.js 34 // array-elements-from-object-prototype.js 46 Array.prototype.__proto__ = {3: at3}; 47 Array.prototype.__proto__.__proto__ = {7: at7}; 49 var a = new Array(13 [all...] |
array-elements-from-array-prototype.js | 29 // Tests below verify that elements set on Array.prototype propagate 30 // for various Array.prototype functions (like unshift, shift, etc.) 32 // array-elements-from-array-prototype.js 33 // array-elements-from-array-prototype-chain.js 34 // array-elements-from-object-prototype.js 46 Array.prototype[3] = at3 47 Array.prototype[7] = at7 49 var a = new Array(13 [all...] |
/ndk/sources/host-tools/nawk-20071023/ |
tran.c | 37 Array *symtab; /* main symbol table */ 58 Array *ARGVtab; /* symbol table containing ARGV[...] */ 59 Array *ENVtab; /* symbol table containing ENVIRON[...] */ 142 Array *makesymtab(int n) /* make a new symbol table */ 144 Array *ap; 147 ap = (Array *) malloc(sizeof(Array)); 160 Array *tp; 165 tp = (Array *) ap->sval; 187 Array *tp [all...] |