/external/chromium_org/v8/test/mjsunit/ |
array-join.js | 28 // Test that array join calls toString on subarrays. 46 // Replace array.prototype.toString. 47 var oldToString = Array.prototype.toString; 48 Array.prototype.toString = function() { return "array"; }; 50 assertEquals('array*3*4*array*array', a.join('*')); 51 assertEquals('array**3**4**array**array', a.join('**')) [all...] |
array-slice.js | 28 // Check that slicing array of holes keeps it as array of holes 30 var array = new Array(10); 32 var sliced = array.slice(); 33 assertEquals(array.length, sliced.length); 39 // Check various variants of empty array's slicing. 52 var array = new Array(7); 55 assertEquals(array, array.slice()) [all...] |
function-call.js | 35 Array.prototype.concat, 36 Array.prototype.join, 37 Array.prototype.pop, 38 Array.prototype.push, 39 Array.prototype.reverse, 40 Array.prototype.shift, 41 Array.prototype.slice, 42 Array.prototype.sort, 43 Array.prototype.splice, 44 Array.prototype.unshift 251 var array = [1,2,3,4,5]; variable [all...] |
array-constructor-feedback.js | 43 // support_smi_only_arrays = %HasFastSmiElements(new Array(1,2,3,4,5,6,7,8)); 97 a = bar(Array, 10); 99 b = bar(Array, 1); 102 b = bar(Array, 10); 105 c = bar(Array, 10); 110 // Test: ensure that crankshafted array constructor sites are deopted 116 a = bar0(Array); 118 b = bar0(Array); 121 b = bar0(Array); 128 bar0(Array); [all...] |
array-tostring.js | 28 // Array's toString should call the object's own join method, if one exists and 40 // On an Array object. 56 assertEquals("[object Array]", a3.toString()); 60 a4.__proto__ = { toString: Array.prototype.toString }; 61 // No join on Array. 62 assertEquals("[object Array]", a4.toString()); 65 // On a non-Array object. 67 // Default looks-like-an-array case. 69 toString: Array.prototype.toString, 70 join: Array.prototype.join} [all...] |
/external/v8/test/mjsunit/ |
array-join.js | 28 // Test that array join calls toString on subarrays. 46 // Replace array.prototype.toString. 47 var oldToString = Array.prototype.toString; 48 Array.prototype.toString = function() { return "array"; }; 50 assertEquals('array*3*4*array*array', a.join('*')); 51 assertEquals('array**3**4**array**array', a.join('**')) [all...] |
function-call.js | 35 Array.prototype.concat, 36 Array.prototype.join, 37 Array.prototype.pop, 38 Array.prototype.push, 39 Array.prototype.reverse, 40 Array.prototype.shift, 41 Array.prototype.slice, 42 Array.prototype.sort, 43 Array.prototype.splice, 44 Array.prototype.unshift 250 var array = [1,2,3,4,5]; variable [all...] |
array-slice.js | 28 // Check that slicing array of holes keeps it as array of holes 30 var array = new Array(10); 32 var sliced = array.slice(); 33 assertEquals(array.length, sliced.length); 39 // Check various variants of empty array's slicing. 52 var array = new Array(7); 55 assertEquals(array, array.slice()) [all...] |
array-tostring.js | 28 // Array's toString should call the object's own join method, if one exists and 40 // On an Array object. 56 assertEquals("[object Array]", a3.toString()); 60 a4.__proto__ = { toString: Array.prototype.toString }; 61 // No join on Array. 62 assertEquals("[object Array]", a4.toString()); 65 // On a non-Array object. 67 // Default looks-like-an-array case. 69 toString: Array.prototype.toString, 70 join: Array.prototype.join} [all...] |
/external/chromium_org/chrome/third_party/chromevox/chromevox/background/mathmaps/ |
math_map.js | 55 * Array of domain names. 56 * @type {Array.<string>} 61 * Array of style names. 62 * @type {Array.<string>} 105 * Array of JSON filenames containing symbol definitions for math speak. 106 * @type {Array.<string>} 134 * Array of JSON filenames containing symbol definitions for math speak. 135 * @type {Array.<string>} 147 * @return {string} A string representing JSON array. 160 * @param {Array.<string>} files An array of valid filenames [all...] |
/external/chromium_org/v8/test/webkit/ |
array-filter.js | 24 description("Tests for Array.prototype.filter"); 26 function passUndefined(element, index, array) { 36 mixPartialAndFast = new Array(sparseArrayLength); 40 function toObject(array) { 42 result.length = array.length; 43 for (var i in array) 44 result[i] = array[i]; 45 result.filter=Array.prototype.filter; 48 function reverseInsertionOrder(array) { 49 var obj = toObject(array); [all...] |
/external/chromium_org/chrome/browser/resources/local_ntp/ |
instant_iframe_validation.js | 40 * Converts an Array of color components into RGBA format "rgba(R,G,B,A)". 41 * @param {Array.<number>} rgbaColor Array of rgba color components. 45 // Array must contain 4 valid components. 46 if (rgbaColor instanceof Array && rgbaColor.length === 4 &&
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
getstring.c | 190 * Return pointer-valued state, such as a vertex array pointer. 204 const GLuint clientUnit = ctx->Array.ActiveTexture; 217 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Ptr; 222 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Ptr; 227 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Ptr; 232 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Ptr; 237 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_FOG].Ptr; 242 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Ptr; 247 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_TEX(clientUnit)].Ptr; 252 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Ptr [all...] |
api_validate.c | 39 * \return number of bytes in array [count] of type. 115 /* For ES2, we can draw if any vertex array is enabled (and we 117 if (ctx->Array.ArrayObj->_Enabled == 0x0 || !ctx->VertexProgram._Current) 126 if (!ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled) 147 * array [0]). 149 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled || 150 ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC0].Enabled); 165 * Do bounds checking on array element indexes. Check that the vertices 178 * array/BO bounds allows application termination. 189 ib.obj = ctx->Array.ArrayObj->ElementArrayBufferObj [all...] |
/external/mesa3d/src/mesa/main/ |
getstring.c | 190 * Return pointer-valued state, such as a vertex array pointer. 204 const GLuint clientUnit = ctx->Array.ActiveTexture; 217 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Ptr; 222 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_NORMAL].Ptr; 227 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR0].Ptr; 232 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR1].Ptr; 237 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_FOG].Ptr; 242 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_COLOR_INDEX].Ptr; 247 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_TEX(clientUnit)].Ptr; 252 *params = (GLvoid *) ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_EDGEFLAG].Ptr [all...] |
api_validate.c | 39 * \return number of bytes in array [count] of type. 115 /* For ES2, we can draw if any vertex array is enabled (and we 117 if (ctx->Array.ArrayObj->_Enabled == 0x0 || !ctx->VertexProgram._Current) 126 if (!ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled) 147 * array [0]). 149 return (ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_POS].Enabled || 150 ctx->Array.ArrayObj->VertexAttrib[VERT_ATTRIB_GENERIC0].Enabled); 165 * Do bounds checking on array element indexes. Check that the vertices 178 * array/BO bounds allows application termination. 189 ib.obj = ctx->Array.ArrayObj->ElementArrayBufferObj [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_context.h | 121 * drawing to array drawing we need to invalidate the array state. 137 ctx->Array._DrawArrays = vbo->exec.array.inputs; 140 ctx->Array._DrawArrays = vbo->exec.vtx.inputs; 143 ctx->Array._DrawArrays = vbo->save.inputs; 176 * The return type is an array of floats, because that's how we declare
|
/external/harfbuzz/src/ |
harfbuzz-impl.h | 68 #define ARRAY_LEN(Array) ((int)(sizeof (Array) / sizeof (Array)[0]))
|
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-impl.h | 72 #define ARRAY_LEN(Array) ((int)(sizeof (Array) / sizeof (Array)[0]))
|
/external/llvm/lib/Transforms/Utils/ |
ModuleUtils.cpp | 23 static void appendToGlobalArray(const char *Array, 36 if (GlobalVariable * GVCtor = M.getNamedGlobal(Array)) { 56 GlobalValue::AppendingLinkage, NewInit, Array);
|
/external/mesa3d/src/mesa/vbo/ |
vbo_context.h | 121 * drawing to array drawing we need to invalidate the array state. 137 ctx->Array._DrawArrays = vbo->exec.array.inputs; 140 ctx->Array._DrawArrays = vbo->exec.vtx.inputs; 143 ctx->Array._DrawArrays = vbo->save.inputs; 176 * The return type is an array of floats, because that's how we declare
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
BitSet.as | 46 protected var bits:Array; 48 /** Construction from a static array of longs */ 49 public function BitSet(bits:Array = null) { 51 this.bits = new Array(); 54 this.bits = new Array(); 212 /** return how much space is being used by the bits array not 219 public function toArray():Array { 220 var elems:Array = new Array[this.bits.length]; 230 public function toPackedArray():Array { [all...] |
/external/chromium_org/chrome/renderer/extensions/ |
activity_log_converter_strategy.h | 27 virtual bool FromV8Array(v8::Handle<v8::Array> value,
|
v8_schema_registry.h | 31 // Returns a v8::Array with all the schemas for the APIs in |apis|. 32 v8::Handle<v8::Array> GetSchemas(const std::vector<std::string>& apis);
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
ContentSearchUtils.h | 51 PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> > searchInTextByLines(const String& text, const String& query, const bool caseSensitive, const bool isRegex);
|