/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.12-5.js | 54 var array = new Array(); 62 array[item++] = new TestCase( SECTION, 67 array[item++] = new TestCase( SECTION, 74 return array; 101 u = new Array();
|
15.5.4.7-2.js | 74 var array = new Array(); 77 array[item++] = new TestCase( SECTION, "String.prototype.lastIndexOf.length", 1, String.prototype.lastIndexOf.length ); 78 array[item++] = new TestCase( SECTION, "delete String.prototype.lastIndexOf.length", false, delete String.prototype.lastIndexOf.length ); 79 array[item++] = new TestCase( SECTION, "delete String.prototype.lastIndexOf.length; String.prototype.lastIndexOf.length", 1, eval("delete String.prototype.lastIndexOf.length; String.prototype.lastIndexOf.length" ) ); 81 array[item++] = new TestCase( SECTION, "var s = new String(''); s.lastIndexOf('', 0)", LastIndexOf("","",0), eval("var s = new String(''); s.lastIndexOf('', 0)") ); 82 array[item++] = new TestCase( SECTION, "var s = new String(''); s.lastIndexOf('')", LastIndexOf("",""), eval("var s = new String(''); s.lastIndexOf('')") ); 83 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('', 0)", LastIndexOf("hello","",0), eval("var s = new String('hello'); s.lastIndexOf('',0)") ); 84 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('')", LastIndexOf("hello",""), eval("var s = new String('hello'); s.lastIndexOf('')") ); 86 array[item++] = new TestCase( SECTION, "var s = new String('hello'); s.lastIndexOf('ll')", LastIndex (…) [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
ClassCastExceptionTest.java | 20 import java.lang.reflect.Array; 116 return Array.newInstance(clazz, 1);
|
/external/clang/lib/AST/ |
APValue.cpp | 39 /// Path - The sequence of base classes, fields and array indices to follow to 159 case Array: 202 else if (Kind == Array) 265 case Array: 266 OS << "Array: "; 417 // The lvalue must refer to an array. 433 case APValue::Array: { 596 Kind = Array;
|
/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(
|
api.h | 72 // array abstraction built on neander-objects. 180 static inline Local<Array> ToLocal( 218 OpenHandle(const v8::Array* data); 273 MAKE_TO_LOCAL(ToLocal, JSArray, Array) 306 MAKE_OPEN_HANDLE(Array, JSArray)
|
d8-posix.cc | 183 // A utility class that takes the array of command arguments and puts then in an 184 // array of new[]ed UTF-8 C strings. Deallocates them again when it goes out of 191 bool Init(Handle<Value> arg0, Handle<Array> command_args) { 456 Handle<Array> command_args; 459 return ThrowException(String::New("system: Argument 2 must be an array")); 461 command_args = Handle<Array>::Cast(args[1]); 463 command_args = Array::New(0);
|
/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...] |
function-names.js | 36 // Array.prototype functions. 42 TestFunctionNames(Array.prototype, arrayPrototypeFunctions);
|
get-own-property-descriptor.js | 39 var a = new Array(); 101 var objWithProto = new Array();
|
/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/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | 248 char *Array; 251 ArgvArray() : Array(NULL) {} 254 delete[] Array; 255 Array = NULL; 261 /// Turn a vector of strings into a nice argv style array of pointers to null 271 Array = new char[(InputArgv.size()+1)*PtrSize]; 273 DEBUG(dbgs() << "JIT: ARGV = " << (void*)Array << "\n"); 285 // Endian safe: Array[i] = (PointerTy)Dest; 286 EE->StoreValueToMemory(PTOGV(Dest), (GenericValue*)(Array+i*PtrSize), 292 (GenericValue*)(Array+InputArgv.size()*PtrSize) [all...] |
/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!"); 452 /// that end with an array. 455 StringRef Array) { 456 EmitRecordWithAbbrevImpl(Abbrev, Vals, Array);
|
/external/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/eigen/bench/btl/libs/blitz/ |
blitz_LU_solve_interface.hh | 23 #include "blitz/array.h" 37 typedef blitz::Array<int,1> Pivot_Vector;
|
/external/eigen/bench/btl/libs/gmm/ |
gmm_LU_solve_interface.hh | 23 #include "blitz/array.h" 37 typedef blitz::Array<int,1> Pivot_Vector;
|
/external/eigen/bench/btl/libs/mtl4/ |
mtl4_LU_solve_interface.hh | 23 #include "blitz/array.h" 37 typedef blitz::Array<int,1> Pivot_Vector;
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
parser.ml | 42 Ast.Call (id, Array.of_list (List.rev args)) 140 Ast.Prototype (id, Array.of_list (List.rev args))
|
/external/mockito/src/org/mockito/internal/util/collections/ |
HashCodeAndEqualsSafeSet.java | 15 import static java.lang.reflect.Array.*; 98 private <T> T[] unwrapTo(T[] array) { 100 for (int i = 0, objectsLength = array.length; i < objectsLength; i++) { 102 array[i] = (T) iterator.next(); 105 return array; 110 T[] array = typedArray.length >= size() ? typedArray : local 112 return unwrapTo(array);
|
/external/v8/test/cctest/ |
test-strings.cc | 361 v8::Handle<v8::Array> ascii_external_strings = 362 v8::Array::New(kMaxLength + 1); 363 v8::Handle<v8::Array> non_ascii_external_strings = 364 v8::Array::New(kMaxLength + 1); 406 " var ascii = Array(max_length + 1);" 407 " var non_ascii = Array(max_length + 1);" 438 // We incorrectly allowed strings to be tagged as array indices even if their
|
/external/v8/test/mjsunit/compiler/ |
short-circuit.js | 59 // An array literal in value/test context. 60 assertEquals(0, function () { return [0,1] || new Array(x,1) }()[0]); 62 // An array literal in test/value context. 63 assertEquals(x, function () { return [0,1] && new Array(x,1) }()[0]);
|