/external/v8/test/mjsunit/regress/ |
regress-842.js | 28 // 842 describes a scenario where Object.prototype or Array.prototype is 32 Array.prototype.myfunc = function() {}; 33 Array.prototype[10] = 42; 34 Array.prototype.length = 3000;
|
regress-1121.js | 30 // Test that changing Array.prototype.__proto__ keeps Array functions working. 32 Array.prototype.__proto__ = null;
|
/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/chromium_org/chrome/browser/resources/print_preview/ |
print_preview_utils.js | 26 * @param {Array.<{from: number, to: number}>} array1 The first array. 27 * @param {Array.<{from: number, to: number}>} array2 The second array. 41 * @param {Array} array1 The first array. 42 * @param {Array} array2 The second array. 57 * Removes duplicate elements from |inArray| and returns a new array. 59 * @param {Array.<number>} inArray The array to be processed [all...] |
/external/chromium_org/chrome/renderer/resources/extensions/ |
tag_watcher.js | 10 $Array.forEach(queryNode.querySelectorAll(tagName), function(node) { 19 $Array.forEach(mutations, function(mutation) { 20 $Array.forEach(mutation.addedNodes, function(addedNode) {
|
/external/chromium_org/third_party/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...] |
/external/chromium_org/third_party/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...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
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...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
JavaScriptCallFrame.cpp | 105 v8::Handle<v8::Array> scopeChain = v8::Handle<v8::Array>::Cast(m_callFrame.newLocal(m_isolate)->Get(v8AtomicString(m_isolate, "scopeChain"))); 106 v8::Handle<v8::Array> result = v8::Array::New(m_isolate, scopeChain->Length()); 114 v8::Handle<v8::Array> scopeType = v8::Handle<v8::Array>::Cast(m_callFrame.newLocal(m_isolate)->Get(v8AtomicString(m_isolate, "scopeType")));
|
/external/chromium_org/tools/deep_memory_profiler/visualizer/static/ |
utility.js | 7 * in the array >= target, return array.length. 8 * This function must be called in the shape of binarySearch(array, target). 31 * @param {Array.<*>} left 32 * @param {Array.<*>} right 33 * @return {Array.<*>}
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-1121.js | 30 // Test that changing Array.prototype.__proto__ keeps Array functions working. 32 Array.prototype.__proto__ = null;
|
regress-crbug-244461.js | 37 foo(Array); 38 foo(Array); 41 foo(Array);
|
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)));
|
/pdk/apps/CameraITS/service/src/com/android/camera2/its/ |
ItsSerializer.java | 28 import java.lang.reflect.Array; 110 for (int i = 0; i < Array.getLength(md.get(key)); i++) { 121 for (int i = 0; i < Array.getLength(md.get(key)); i++) { 132 for (int i = 0; i < Array.getLength(md.get(key)); i++) { 145 // TODO: Serialize an array of faces to JSON. 147 if (Array.getLength(md.get(key)) != 0) { 153 throw new ItsException("Unsupported array type: " + elmtType); 238 Array.set(val, i, ja.getInt(i)); 240 Array.set(val, i, (byte)ja.getInt(i)); 242 Array.set(val, i, (float)ja.getDouble(i)) [all...] |
/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/browser/resources/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/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/v8/test/mjsunit/ |
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
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
utilities.js | 43 * @return {!Array.<!T>} 57 * @return {!Array.<number>} 71 * @return {!Array.<number>} 339 Object.defineProperty(Array.prototype, "remove", 344 * @this {Array.<!T>} 364 Object.defineProperty(Array.prototype, "keySet", 368 * @this {Array.<*>} 379 Object.defineProperty(Array.prototype, "rotate", 383 * @return {!Array.<!T>} 384 * @this {Array.<!T> [all...] |