/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Array/ |
D | regress-178722.js | 68 var arr; variable 83 arr = arr1.sort(); 84 actual = arr instanceof Array && arr.length === 0 && arr === arr1; 89 arr = arr2.sort(); 90 actual = arr instanceof Array && arr.length === 0 && arr === arr2; 95 arr = arr3.sort(); 96 actual = arr instanceof Array && arr.length === 0 && arr === arr3; 101 arr = arr4.sort(); 102 actual = arr instanceof Array && arr.length === 0 && arr === arr4; 107 arr = arr5.sort(); [all …]
|
D | regress-107138.js | 44 var arr = ['zero', 'one', 'two', 'three', 'four', 'five', variable 52 actual = arr[0]; 57 actual = arr['0']; 62 actual = arr[1]; 67 actual = arr['1']; 72 actual = arr[2]; 77 actual = arr['2']; 82 actual = arr[3]; 87 actual = arr['3']; 92 actual = arr[4]; [all …]
|
D | regress-94257.js | 41 var arr = new Array(6); variable 42 arr[1+1] = 1; 43 arr[1+1] += 2; 47 actual = arr[1+1]; 52 actual = arr[1+1+1]; 57 actual = arr[1]; 62 arr[1+2] = 'Hello'; 66 actual = arr[1+1+1];
|
D | regress-154338.js | 67 var arr = Array('a', 'b'); variable 68 actual = arr.join('H'); 73 arr = Array('a', 'b'); 74 actual = arr.join(x); 79 arr = Array('a', 'b'); 80 actual = arr.join('ome'); 85 arr = Array('a', 'b'); 86 actual = arr.join(y);
|
D | array-001.js | 38 var arr = Array(BIG_INDEX); variable 39 arr[BIG_INDEX - 1] = 'a'; 40 arr[BIG_INDEX - 10000] = 'b'; 41 arr[BIG_INDEX - 0.5] = 'c'; // not an array index - but a valid property name 43 arr.length = BIG_INDEX - 5000; 48 for (var i in arr) 50 s += arr[i];
|
/external/v8/test/mjsunit/third_party/ |
D | array-splice-webkit.js | 33 var arr = ['a','b','c','d']; variable 34 assertArrayEquals(['a','b','c','d'], arr); 35 assertArrayEquals(['c','d'], arr.splice(2)); 36 assertArrayEquals(['a','b'], arr); 37 assertArrayEquals(['a','b'], arr.splice(0)); 38 assertArrayEquals([], arr) 40 arr = ['a','b','c','d']; 41 assertEquals(undefined, arr.splice()) 42 assertArrayEquals(['a','b','c','d'], arr); 43 assertArrayEquals(['a','b','c','d'], arr.splice(undefined)) [all …]
|
/external/openssl/crypto/asn1/ |
D | charmap.pl | 5 my ($i, @arr); 21 $arr[$i] = 0; 23 $arr[$i] |= $ESC_CTRL; 30 $arr[$i] |= $PSTRING_CHAR; 38 $arr[ord(" ")] |= $NOESC_QUOTE | $RFC2253_FIRST_ESC | $RFC2253_LAST_ESC; 39 $arr[ord("#")] |= $NOESC_QUOTE | $RFC2253_FIRST_ESC; 41 $arr[ord(",")] |= $NOESC_QUOTE | $RFC2253_ESC; 42 $arr[ord("+")] |= $NOESC_QUOTE | $RFC2253_ESC; 43 $arr[ord("\"")] |= $RFC2253_ESC; 44 $arr[ord("\\")] |= $RFC2253_ESC; [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Array/ |
D | regress-101488.js | 46 var arr = []; variable 50 arr = Array(); 52 actual = arr.length; 57 arr = Array(5); 59 actual = arr.length; 64 arr = Array(); 66 actual = arr.length; 71 arr = Array(5); 73 actual = arr.length; 83 arr = new Array(); variable [all …]
|
D | regress-130451.js | 62 var arr = []; variable 70 arr = [0,1,2,3]; 72 actual = arr.sort(cmp).length; 77 arr = [0,1,2,3]; 79 actual = arr.sort(cmp).length; 84 arr = [0,1,2,3]; 86 arr.length = 1; 87 actual = arr.sort(cmp).length; 95 arr = [0,1,2,3]; 97 arr.sort(cmp); [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Expressions/ |
D | 11.9.6-1.js | 104 function f4(arr) argument 109 for (i=0; i<arr.length; i++) 111 elt = arr[i]; 127 var arr = Array('a', undefined); variable 128 actual = f4(arr); 135 function f5(arr) argument 137 var len = arr.length; 139 for(var i=0; (arr[i]===undefined) && (i<len); i++) 161 function f6(arr) argument 163 var len = arr.length; [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Object/ |
D | regress-90596-001.js | 176 var arr = sList.split(cnCOMMA); 177 arr = arr.sort(); 178 var ret = String(arr); 230 var arr = text.match(/^\((.*)\)$/); 233 if (arr != null && arr[1] != null) 234 return arr[1]; 245 var arr = text.match(/^\{(.*)\}$/); 248 if (arr != null && arr[1] != null) 249 return arr[1];
|
D | regress-90596-002.js | 176 var arr = sList.split(cnCOMMA); 177 arr = arr.sort(); 178 var ret = String(arr); 230 var arr = text.match(/^\((.*)\)$/); 233 if (arr != null && arr[1] != null) 234 return arr[1]; 245 var arr = text.match(/^\{(.*)\}$/); 248 if (arr != null && arr[1] != null) 249 return arr[1];
|
D | regress-90596-003.js | 164 var arr = new Array(); 168 arr.push(prop + cnCOLON + obj[prop]); 171 var ret = addBraces(String(arr)); 201 var arr = sList.split(cnCOMMA); 202 arr = arr.sort(); 203 var ret = String(arr); 269 var arr = text.match(/^\{(.*)\}$/); 272 if (arr != null && arr[1] != null) 273 return arr[1];
|
/external/openssl/crypto/bn/ |
D | bn_gf2m.c | 364 int *arr=NULL; in BN_GF2m_mod() local 367 if ((arr = (int *)OPENSSL_malloc(sizeof(int) * max)) == NULL) goto err; in BN_GF2m_mod() 368 ret = BN_GF2m_poly2arr(p, arr, max); in BN_GF2m_mod() 374 ret = BN_GF2m_mod_arr(r, a, arr); in BN_GF2m_mod() 377 if (arr) OPENSSL_free(arr); in BN_GF2m_mod() 442 int *arr=NULL; in BN_GF2m_mod_mul() local 446 if ((arr = (int *)OPENSSL_malloc(sizeof(int) * max)) == NULL) goto err; in BN_GF2m_mod_mul() 447 ret = BN_GF2m_poly2arr(p, arr, max); in BN_GF2m_mod_mul() 453 ret = BN_GF2m_mod_mul_arr(r, a, b, arr, ctx); in BN_GF2m_mod_mul() 456 if (arr) OPENSSL_free(arr); in BN_GF2m_mod_mul() [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Expressions/ |
D | shell.js | 49 function formatArray(arr) argument 53 return arr.toSource(); 57 return toSource(arr); 72 function toSource(arr) argument 77 var len = arr.length; 81 elt = arr[i];
|
/external/stlport/test/unit/ |
D | bound_test.cpp | 41 int arr[20]; in uprbnd1() local 44 arr[i] = i/4; in uprbnd1() 46 int location = upper_bound((int*)arr, (int*)arr + 20, 3) - arr; in uprbnd1()
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/RegExp/ |
D | shell.js | 167 function formatArray(arr) argument 171 return arr.toSource(); 175 return toSource(arr); 189 function toSource(arr) argument 194 var len = arr.length; 198 elt = arr[i];
|
/external/v8/test/mjsunit/ |
D | object-literal.js | 52 var arr = []; variable 54 arr[i] = { variable 61 arr[0].b.x = 2; 62 assertEquals(2, arr[0].b.x); 63 assertEquals(12, arr[1].b.x);
|
D | array-reduce.js | 102 function dec(a, b, i, arr) { return a + b * Math.pow(10, arr.length - i - 1); } argument 488 var arr = [1, 2, 3, 4]; variable 492 ], arr, manipulator, 0); 494 var arr = [1, 2, 3, 4, 5]; variable 500 ], arr, manipulator, 0); 507 var arr = [1, 2, 3, 4]; variable 513 ], arr, extender, 0);
|
/external/clearsilver/util/test/ |
D | ulist_test.c | 22 ULIST *arr; in TestIntegerStorage() local 26 err = uListInit(&arr, 100, 0); in TestIntegerStorage() 29 err = uListAppend(arr, (void *)x); in TestIntegerStorage() 36 err = uListGet(arr, x, (void *)&y); in TestIntegerStorage()
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Unicode/ |
D | uc-005.js | 205 var arr = str.split('Z'); 214 for (i in arr) 215 arr[i] = arr[i].charAt(0); 216 return arr;
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Function/ |
D | regress-58274.js | 162 var arr = s.match(re); 164 if (!(arr && arr[1])) 166 return arr[1];
|
/external/v8/tools/ |
D | consarray.js | 53 ConsArray.prototype.concat = function(arr) { argument 54 if (arr.length > 0) { 55 this.tail_.data = arr;
|
/external/webkit/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
D | regress-191633.js | 72 var arr = new Array(repeat_count); 75 arr[--repeat_count] = str; 77 return str.concat.apply(str, arr);
|
/external/clearsilver/util/ |
D | neo_str.c | 207 void string_array_init (STRING_ARRAY *arr) in string_array_init() argument 209 arr->entries = NULL; in string_array_init() 210 arr->count = 0; in string_array_init() 211 arr->max = 0; in string_array_init() 258 void string_array_clear (STRING_ARRAY *arr) in string_array_clear() argument 262 for (x = 0; x < arr->count; x++) in string_array_clear() 264 if (arr->entries[x] != NULL) free (arr->entries[x]); in string_array_clear() 265 arr->entries[x] = NULL; in string_array_clear() 267 free (arr->entries); in string_array_clear() 268 arr->entries = NULL; in string_array_clear() [all …]
|