/external/chromium_org/v8/test/mjsunit/regress/ |
regress-crbug-285355.js | 36 function crash(array) { 37 return array[~inverted_index()] = 2; 40 assertEquals(2, crash(new Array(1))); 41 assertEquals(2, crash(new Array(1))); 43 assertEquals(2, crash(new Array(1)));
|
/external/deqp/framework/common/ |
tcuFormatUtil.hpp | 171 // Array formatters. 174 class Array 180 Array (const Iterator& begin_, const Iterator& end_) : begin(begin_), end(end_) {} 194 std::ostream& operator<< (std::ostream& str, const Array<Iterator>& fmt) 211 return str << Array<const T*>(fmt.arr, fmt.arr+fmt.size); 267 /** Format array contents. */ 269 inline Format::Array<Iterator> formatArray (const Iterator& begin, const Iterator& end) 271 return Format::Array<Iterator>(begin, end); 274 /** Format array contents. */
|
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_exec_array.c | 73 check_buffers_are_unmapped(exec->array.inputs); 93 const GLboolean restart = ctx->Array.PrimitiveRestart; 94 const GLuint restartIndex = ctx->Array.RestartIndex; 220 * Check that element 'j' of the array has reasonable data. 225 check_array_data(struct gl_context *ctx, struct gl_client_array *array, 228 if (array->Enabled) { 229 const void *data = array->Ptr; 230 if (_mesa_is_bufferobj(array->BufferObj)) { 231 if (!array->BufferObj->Pointer) { 233 array->BufferObj->Pointer [all...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_exec_array.c | 73 check_buffers_are_unmapped(exec->array.inputs); 93 const GLboolean restart = ctx->Array.PrimitiveRestart; 94 const GLuint restartIndex = ctx->Array.RestartIndex; 220 * Check that element 'j' of the array has reasonable data. 225 check_array_data(struct gl_context *ctx, struct gl_client_array *array, 228 if (array->Enabled) { 229 const void *data = array->Ptr; 230 if (_mesa_is_bufferobj(array->BufferObj)) { 231 if (!array->BufferObj->Pointer) { 233 array->BufferObj->Pointer [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/tests/ |
utilities.js | 211 * adjust the last expected value array by setting only its accumulator value. 215 * Expected value array must be specified just after the sequence element 229 * of the last expected value array is set and changed as described in the 275 if (!Array.isArray(elements[i])) { // Skip over expected value arrays. 278 if (Array.isArray(elements[i + 1] && elements[i + 1][0])) 296 // Massage the sequence into a JSON array string, so '2 + 2 = [4]' becomes: 313 // Return an array created from the resulting JSON string. 341 for (var i = 0; Array.isArray(adjustments[start + i]); ++i) { 364 * accumulator value, add an empty expected values array and proceed 365 * according to the rules below with this new array 496 var array = Array(Math.max(digits - string.length, 0) + 1); variable [all...] |
/external/chromium_org/remoting/webapp/js_proto/ |
dom_proto.js | 12 /** @type {Array.<HTMLElement>} */ 68 * @param {(Array.<string>|(function(string, *) : *)|null)=} opt_replacer 90 * @param {function(Array.<MutationRecord>):void} callback 200 * @param {Array.<Promise>} promises 206 * @param {Array.<Promise>} promises
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
metrics.js | 45 * @param {Array.<Object>} args Arguments. 64 var args = Array.apply(null, arguments); 98 * @param {Array.<Object>|number} validValues Array of valid values 104 if (validValues.constructor.name == 'Array') {
|
/external/chromium_org/v8/test/mjsunit/ |
debug-liveedit-newsource.js | 35 + "// Array(); \n" 58 // The call to array causes a change in the number of type feedback slots for 61 // TODO(mvstanton): For now, the inclusion of the Array() call at the top level 64 var new_source = new_source.replace("// Array", "Array"); 67 var change_log = new Array();
|
object-get-own-property-names.js | 80 // Check that implementation does not access Array.prototype. 81 var savedConcat = Array.prototype.concat; 82 Array.prototype.concat = function() { return []; } 87 assertSame(Array.prototype, propertyNames.__proto__); 88 Array.prototype.concat = savedConcat;
|
packed-elements.js | 30 var has_packed_elements = !%HasFastHoleyElements(Array()); 33 var a = Array(8); 39 var a = Array(); 45 var a = Array(1,2,3,4,5,6,7); 97 // Run tests in a loop to make sure that inlined Array() constructor runs out
|
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...] |
generated-transition-stub.js | 66 // Large array should deopt to runtimea 68 a5 = new Array(); 100 // Large array should deopt to runtime 130 transition3(c3, 0, new Array()); 136 // Large array under the deopt threshold should be able to trigger GC without 145 transition3(c4, 0, new Array(5)); 151 // Large array should deopt to runtime 159 transition3(c5, 0, new Array(5)); 184 transition4(d3, 0, new Array()); 190 // Large array under the deopt threshold should be able to trigger GC withou [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...] |
/external/chromium_org/content/renderer/ |
v8_value_converter_impl_unittest.cc | 94 std::string GetString(v8::Handle<v8::Array> value, uint32 index) { 132 bool IsNull(v8::Handle<v8::Array> value, uint32 index) { 173 v8::Handle<v8::Array> array(v8::Array::New(isolate_)); 174 array->Set(0, val); 176 static_cast<base::ListValue*>(converter.FromV8Value(array, context))); 343 v8::Handle<v8::Array> array = script->Run().As<v8::Array>(); local 471 v8::Handle<v8::Array> array = v8::Array::New(isolate_).As<v8::Array>(); local 535 v8::Handle<v8::Array> array = script->Run().As<v8::Array>(); local 562 v8::Handle<v8::Array> array; local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/ |
utilities.js | 43 * @return {!Array.<!T>} 67 * @return {!Array.<number>} 81 * @return {!Array.<number>} 403 return (Array(4 - x.toString().length)).join('0') + x; 415 Object.defineProperty(Array.prototype, "remove", 420 * @this {Array.<!T>} 440 Object.defineProperty(Array.prototype, "keySet", 444 * @this {Array.<*>} 455 Object.defineProperty(Array.prototype, "pushAll", 458 * @param {!Array.<!T>} arra [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
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/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
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/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
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...] |
/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...] |
/external/chromium_org/mojo/public/cpp/bindings/tests/ |
type_conversion_unittest.cc | 24 bool AreEqualRectArrays(const Array<test::RectPtr>& rects1, 25 const Array<test::RectPtr>& rects2) { 70 region->rects = Array<test::RectPtr>::From(input.rects); 146 Array<RectPtr> rects; 157 Array<RectPtr> rects(10); 168 Array<RectPtr> rects2 = Array<RectPtr>::From(redmond_rects);
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InspectorDebuggerAgent.h | 108 virtual void setBreakpointByUrl(ErrorString*, int lineNumber, const String* optionalURL, const String* optionalURLRegex, const int* optionalColumnNumber, const String* optionalCondition, const bool* isAntiBreakpoint, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location> >& locations) OVERRIDE FINAL; 112 virtual void getStepInPositions(ErrorString*, const String& callFrameId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location> >& positions) OVERRIDE FINAL; 113 virtual void getBacktrace(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> >&, RefPtr<TypeBuilder::Debugger::StackTrace>&) OVERRIDE FINAL; 115 virtual void searchInContent(ErrorString*, const String& scriptId, const String& query, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> >&) OVERRIDE FINAL; 116 virtual void setScriptSource(ErrorString*, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, const String& scriptId, const String& newContent, const bool* preview, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<JSONObject>& result, RefPtr<TypeBuilder::Debugger::StackTrace>& asyncStackTrace) OVERRIDE FINAL; 117 virtual void restartFrame(ErrorString*, const String& callFrameId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<JSONObject>& result, RefPtr<TypeBuilder::Debugger::StackTrace>& asyncStackTrace) OVERRIDE FINAL; 206 PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCallFrames();
|