/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
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...] |
3d-raytrace.js | 27 return new Array(x,y,z); 68 return new Array(v1[0] + v2[0], v1[1] + v2[1], v1[2] + v2[2]); 72 return new Array(v1[0] - v2[0], v1[1] - v2[1], v1[2] - v2[2]); 76 return new Array(v1[0] * v2[0], v1[1] * v2[1], v1[2] * v2[2]); 108 var temp = new Array(16); 187 var zero = new Array(0,0,0); 265 var m = new Array(16); 272 this.directions = new Array(4); 284 rays = new Array(new Object(), new Object()); 317 var triangles = new Array();//numTriangles) [all...] |
/external/webkit/Source/WebCore/storage/ |
IDBKeyPath.cpp | 168 // Start => {Identifier, Array} 169 // Identifier => {Dot, Array, End} 170 // Array => {Start, Dot, End} 173 enum ParserState { Identifier, Array, Dot, End }; 181 state = Array; 203 state = Array; 212 case Array : { 237 state = Array;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
ObjCContainersChecker.cpp | 46 void addSizeInfo(const Expr *Array, const Expr *Size, 58 // ProgramState trait - a map from array symbol to its state. 61 void ObjCContainersChecker::addSizeInfo(const Expr *Array, const Expr *Size, 70 SVal ArrayRef = State->getSVal(Array, C.getLocationContext()); 86 // Add array size information to the state. 109 // Check the array access. 113 // Find out if we saw this array symbol before and have information about it.
|
/external/clang/test/CodeGen/ |
2002-07-14-MiscTests3.c | 9 int Array[12]; 111 int SumArray(int Array[], int Num) { 114 Result += Array[i];
|
/external/eigen/Eigen/src/Core/ |
Map.h | 19 * \brief A matrix or vector expression mapping an existing array of data. 25 * of an ordinary, contiguous array. This can be overridden by specifying strides. 28 * This class represents a matrix or vector expression mapping an existing array of data. 34 * Here's an example of simply mapping a contiguous array as a \ref TopicStorageOrders "column-major" matrix: 40 * Here's an example of mapping an array as a vector, specifying an inner stride, that is, the pointer 46 * Here's an example of mapping an array while specifying an outer stride. Here, since we're mapping 56 * \b Tip: to change the array of data mapped by a Map object, you can use the C++ 136 * \param data pointer to the array to map 147 * \param data pointer to the array to map 159 * \param data pointer to the array to ma [all...] |
/external/junit/src/org/junit/experimental/theories/internal/ |
AllMembersSupplier.java | 6 import java.lang.reflect.Array; 111 private void addArrayValues(String name, List<PotentialAssignment> list, Object array) { 112 for (int i= 0; i < Array.getLength(array); i++) 113 list.add(PotentialAssignment.forValue(name + "[" + i + "]", Array.get(array, i)));
|
/external/llvm/unittests/Support/ |
YAMLParserTest.cpp | 49 ExpectParseSuccess("Empty array", "[]"); 53 ExpectParseError("Not closing array", "["); 54 ExpectParseError("Not closing array", " [ "); 55 ExpectParseError("Not closing array", " [x"); 59 ExpectParseSuccess("Array with spaces", " [ ] "); 102 "Multiple objects in array", 130 ExpectParseSuccess("Array of arrays", "[[]]"); 137 ExpectParseError("In array starting with EOF", "["); 138 ExpectParseError("In array element starting with EOF", "[[], "); 139 ExpectParseError("In array hitting EOF", "[[] ") [all...] |
/external/v8/tools/ |
logreader.js | 36 * @param {Array.<Object>} dispatchTable A table used for parsing and processing 42 * @type {Array.<Object>} 95 * @param {Array.<string>} stack String representation of a stack. 96 * @return {Array.<number>} Processed stack. 131 * @param {Array.<string>} fields Log record. 168 * @param {Array.<string>} lines Log lines.
|
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
3d-raytrace.js | 27 return new Array(x,y,z); 68 return new Array(v1[0] + v2[0], v1[1] + v2[1], v1[2] + v2[2]); 72 return new Array(v1[0] - v2[0], v1[1] - v2[1], v1[2] - v2[2]); 76 return new Array(v1[0] * v2[0], v1[1] * v2[1], v1[2] * v2[2]); 108 var temp = new Array(16); 187 var zero = new Array(0,0,0); 265 var m = new Array(16); 272 this.directions = new Array(4); 284 rays = new Array(new Object(), new Object()); 317 var triangles = new Array();//numTriangles) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4.4.5-1.js | 24 ECMA Section: Array.prototype.sort(comparefn) 29 The elements of this array are sorted. The sort is not necessarily stable. 49 function for the elements of this array, then for all nonnegative 88 properties will exist or not at the end of the array when the sort is concluded. 90 Note that the sort function is intentionally generic; it does not require that its this value be an Array object. 102 var TITLE = "Array.prototype.sort(comparefn)"; 106 var testcases = new Array(); 124 var S = new Array(); 127 // array is empty. 128 S[item++] = "var A = new Array()"; [all...] |
15.4.4.5-2.js | 24 ECMA Section: Array.prototype.sort(comparefn) 30 The elements of this array are sorted. The sort is not necessarily stable. 50 function for the elements of this array, then for all nonnegative 89 properties will exist or not at the end of the array when the sort is concluded. 91 Note that the sort function is intentionally generic; it does not require that its this value be an Array object. 103 var TITLE = "Array.prototype.sort(comparefn)"; 107 var testcases = new Array(); 125 var S = new Array(); 128 // array is empty. 129 S[item++] = "var A = new Array()"; [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.1.js | 50 var array = new Array(); 53 array[item++] = new TestCase( SECTION, "String('string primitive')", "string primitive", String('string primitive') ); 54 array[item++] = new TestCase( SECTION, "String(void 0)", "undefined", String( void 0) ); 55 array[item++] = new TestCase( SECTION, "String(null)", "null", String( null ) ); 56 array[item++] = new TestCase( SECTION, "String(true)", "true", String( true) ); 57 array[item++] = new TestCase( SECTION, "String(false)", "false", String( false ) ); 58 array[item++] = new TestCase( SECTION, "String(Boolean(true))", "true", String(Boolean(true)) ); 59 array[item++] = new TestCase( SECTION, "String(Boolean(false))", "false", String(Boolean(false)) ); 60 array[item++] = new TestCase( SECTION, "String(Boolean())", "false", String(Boolean(false)) ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/ |
shell.js | 99 testcases = new Array(); 187 var properties = new Array(); 189 properties[ properties.length ] = new Array( p, o[p] );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Array/ |
regress-130451.js | 38 * SUMMARY: Array.prototype.sort() should not (re-)define .length 44 * its |this| value be an Array object. Therefore, it can be transferred to 49 * Brendan's test below, when applied to Array objects vs. non-Array objects. 55 var summary = 'Array.prototype.sort() should not (re-)define .length'; 67 * First: test Array.prototype.sort() on Array objects 124 * Now test Array.prototype.sort() on non-Array objects 128 obj.sort = Array.prototype.sort [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
ScriptValue.cpp | 91 v8::Handle<v8::Array> array = v8::Handle<v8::Array>::Cast(value); local 93 uint32_t length = array->Length(); 95 v8::Local<v8::Value> value = array->Get(v8::Int32::New(i)); 108 v8::Local<v8::Array> propertyNames = object->GetPropertyNames();
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8DOMStringMapCustom.cpp | 55 v8::Handle<v8::Array> V8DOMStringMap::namedPropertyEnumerator(const v8::AccessorInfo& info) 60 v8::Handle<v8::Array> properties = v8::Array::New(names.size());
|
/ndk/sources/host-tools/nawk-20071023/ |
awk.h | 88 typedef struct Array { /* symbol table array */ 92 } Array; 95 extern Array *symtab; 108 #define ARR 020 /* this is an array */
|
/external/llvm/lib/Bitcode/Reader/ |
BitstreamReader.cpp | 98 case BitCodeAbbrevOp::Array: 118 case BitCodeAbbrevOp::Array: 154 if (Op.getEncoding() != BitCodeAbbrevOp::Array && 160 if (Op.getEncoding() == BitCodeAbbrevOp::Array) { 161 // Array case. Read the number of elements as a vbr6. 165 assert(i+2 == e && "array op not second to last?"); 214 if (Op.getEncoding() != BitCodeAbbrevOp::Array && 220 if (Op.getEncoding() == BitCodeAbbrevOp::Array) { 221 // Array case. Read the number of elements as a vbr6. 225 assert(i+2 == e && "array op not second to last?") [all...] |
/external/v8/test/mjsunit/ |
array-splice.js | 28 // Check that splicing array of holes keeps it as array of holes 31 var array = new Array(10); 32 var spliced = array.splice(1, 1, 'one', 'two'); 36 assertEquals(11, array.length); 37 assertFalse(0 in array, "0 in array"); 38 assertTrue(1 in array); 39 assertTrue(2 in array); [all...] |
/external/v8/test/mjsunit/regress/ |
regress-1160.js | 30 // Array.prototype.join uses a temporary array internally. Verify it 32 // when keyed store on the array does not work as expected because of 36 var array = Array(N); variable 38 array[i] = i; 40 Array.prototype.__defineSetter__(2, function() { }); 41 assertEquals("0,1,2,3,4,5,6,7,8,9", array.join(","));
|
regress-1708.js | 29 // array caused invalid marking bit patterns on lazily swept pages. 34 var head = new Array(1); 40 tail[1] = new Array(1000); 43 array = new Array(100); 46 // At this point "array" should have been promoted to old-space and be 48 // the array to trigger left-trimming operations. 49 assertEquals(100, array.length); 51 array.shift(); 53 assertEquals(50, array.length) [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
ANTLRStringStream.as | 54 protected var markers:Array; 63 /** Copy data in string to a local char array */ 73 * when the object was created *except* the data array is not 129 markers = new Array();
|
/external/webkit/LayoutTests/storage/domstorage/events/resources/ |
eventTestHarness.js | 11 storageEventList = new Array();
|
/external/webkit/LayoutTests/storage/domstorage/events/script-tests/ |
case-sensitive.js | 27 evalAndLog("storageEventList = new Array()");
|