/external/deqp/framework/egl/ |
egluCallLogWrapper.cpp | 54 const T* arr; member in class:eglu::PointerFmt 57 PointerFmt (const T* arr_, deUint32 size_) : arr(arr_), size(size_) {} 63 if (fmt.arr != DE_NULL) 70 str << fmt.arr[ndx]; 80 inline PointerFmt<T> getPointerStr (const T* arr, deUint32 size) 82 return PointerFmt<T>(arr, size);
|
/external/deqp/modules/gles2/functional/ |
es2fShaderIndexingTests.cpp | 210 float arr[4]; local 211 arr[0] = constCoords.x(); 212 arr[1] = constCoords.x() * 0.5f; 213 arr[2] = constCoords.x() * 0.25f; 214 arr[3] = constCoords.x() * 0.125f; 215 gl.uniform1fv(arrLoc, 4, &arr[0]); 219 Vec2 arr[4]; local 220 arr[0] = constCoords.swizzle(0,1); 221 arr[1] = constCoords.swizzle(0,1) * 0.5f; 222 arr[2] = constCoords.swizzle(0,1) * 0.25f 228 Vec3 arr[4]; local 237 Vec4 arr[4]; local [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderIndexingTests.cpp | 180 float arr[4]; local 181 arr[0] = constCoords.x(); 182 arr[1] = constCoords.x() * 0.5f; 183 arr[2] = constCoords.x() * 0.25f; 184 arr[3] = constCoords.x() * 0.125f; 185 gl.uniform1fv(arrLoc, 4, &arr[0]); 189 Vec2 arr[4]; local 190 arr[0] = constCoords.swizzle(0,1); 191 arr[1] = constCoords.swizzle(0,1) * 0.5f; 192 arr[2] = constCoords.swizzle(0,1) * 0.25f 198 Vec3 arr[4]; local 207 Vec4 arr[4]; local [all...] |
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
WapPushTest.java | 837 protected int encodeUint32(int uint32Val, byte[] arr, int start) { 849 if (arr == null) return encodeLen; 859 arr[start + i] = (byte) (val & 0xFF); 865 protected int encodeShortInt(int sintVal, byte[] arr, int start) { 870 arr[start] = (byte) (sintVal | 0x80); 878 protected void createRandomWspHeader(byte[] arr, Random rd, int headerStart, 885 Log.d(LOG_TAG, "random arr length:" + arr.length); 891 int len = arr.length; 927 arr[index] = (byte) (0x80 | rd.nextInt(128)) [all...] |
/external/v8/test/mjsunit/ |
array-sort.js | 398 var arr = [o(1), o(2), o(4), o(8), o(16), o(32), o(64), o(128), o(256), o(-0)]; variable 406 arr.sort(cmpTest); 414 var arr = new Array(2); 415 Object.defineProperty(arr, 0, { get: function() {}, set: function() {} }); 416 arr.hasOwnProperty = null; 417 arr.sort(); 424 var arr = []; 425 for (var i = 0; i < 22; i++) arr[i] = {}; 429 arr.sort(); 433 arr = [] [all...] |
object-prevent-extensions.js | 81 var arr = new Array(); 82 arr[1] = 10; 84 Object.preventExtensions(arr); 86 arr[2] = 42; 87 assertEquals(10, arr[1]); 90 arr[1]= 42; 91 assertEquals(42, arr[1]);
|
object-freeze.js | 127 var arr = new Array(42,43); 129 desc = Object.getOwnPropertyDescriptor(arr, '0'); 134 desc = Object.getOwnPropertyDescriptor(arr, '1'); 139 assertTrue(Object.isExtensible(arr)); 140 assertFalse(Object.isFrozen(arr)); 141 Object.freeze(arr); 142 assertTrue(Object.isFrozen(arr)); 143 assertFalse(Object.isExtensible(arr)); 145 desc = Object.getOwnPropertyDescriptor(arr, '0'); 150 desc = Object.getOwnPropertyDescriptor(arr, '1') [all...] |
/external/compiler-rt/lib/asan/tests/ |
asan_interface_test.cc | 248 char *arr = Ident((char*)malloc(kSize)); local 254 __asan_unpoison_memory_region(arr, kSize); 255 __asan_poison_memory_region(arr + l1, s1); 256 __asan_poison_memory_region(arr + l2, s2); 263 ASSERT_EQ(expected[i], __asan_address_is_poisoned(arr + i)); 266 __asan_poison_memory_region(arr, kSize); 267 __asan_unpoison_memory_region(arr + l1, s1); 268 __asan_unpoison_memory_region(arr + l2, s2); 275 ASSERT_EQ(expected[i], __asan_address_is_poisoned(arr + i)); 281 free(arr); [all...] |
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/ |
range.pass.cpp | 152 P arr[] = local 162 C c(input_iterator<P*>(arr), input_iterator<P*>(arr + sizeof(arr)/sizeof(arr[0])), 14, a); 209 P arr[] = local 220 C c(input_iterator<P*>(arr), input_iterator<P*>(arr + sizeof(arr)/sizeof(arr[0])), 12, hf, a ) [all...] |
/external/v8/test/webkit/ |
array-every.js | 109 var arr = [5, 5, 5, 5]; variable 110 delete arr[1]; 114 shouldBeTrue("arr.every(isNotUndefined)"); 115 arr = new Array(20); 116 shouldBeTrue("arr.every(isNotUndefined)");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.cnstr/ |
range.pass.cpp | 152 P arr[] = local 162 C c(input_iterator<P*>(arr), input_iterator<P*>(arr + sizeof(arr)/sizeof(arr[0])), 14, a); 209 P arr[] = local 220 C c(input_iterator<P*>(arr), input_iterator<P*>(arr + sizeof(arr)/sizeof(arr[0])), 12, hf, a ) [all...] |
/prebuilts/misc/common/swig/include/2.0.11/java/ |
arrays_java.i | 75 JNITYPE *arr; 80 arr = JCALL2(Get##JAVATYPE##ArrayElements, jenv, jresult, 0); 81 if (!arr) 84 arr[i] = (JNITYPE)result[i]; 85 JCALL3(Release##JAVATYPE##ArrayElements, jenv, jresult, arr, 0); 314 jlong *arr; 320 arr = JCALL2(GetLongArrayElements, jenv, $result, 0); 321 if (!arr) { 325 arr[i] = 0; 326 *($&1_ltype)&arr[i] = &$1[i] [all...] |
/build/tools/droiddoc/templates-pdk/assets/ |
android-developer-resource-browser.js | 176 function humanizeList(arr, itemFormatter) { 178 arr = arr || []; 181 for (var i = 0; i < arr.length; i++) { 182 out.push(itemFormatter(arr[i]) + 183 ((i < arr.length - 2) ? ', ' : '') + 184 ((i == arr.length - 2) ? ' and ' : ''));
|
/external/libvncserver/webclients/novnc/include/ |
util.js | 116 if ((type in {'arr':1, 'array':1}) && 170 } else if ((type in {'arr':1, 'array':1}) && 180 Util.conf_defaults = function(cfg, api, defaults, arr) { 182 for (i = 0; i < arr.length; i++) { 183 Util.conf_default(cfg, api, defaults, arr[i][0], arr[i][1], 184 arr[i][2], arr[i][3], arr[i][4]);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
ItsSerializer.java | 587 JSONArray arr = ja.getJSONArray(i); local 589 (float)arr.getDouble(0), 590 (float)arr.getDouble(1), 591 (float)arr.getDouble(2), 592 (float)arr.getDouble(3))); 594 JSONArray arr = ja.getJSONArray(i); local 598 arr.getJSONObject(j).getInt("numerator"), 599 arr.getJSONObject(j).getInt("denominator")); 651 JSONArray arr = jsonReq.optJSONArray(keyName) local 668 JSONArray arr = jsonReq.getJSONArray(keyName); local 680 JSONArray arr = jsonReq.getJSONArray(keyName); local [all...] |
/external/clang/test/Analysis/ |
taint-generic.c | 192 unsigned radar11369570_hanging(const unsigned char *arr, int l) { 200 a += (arr[3] + ((unsigned) arr[2] << 8) + ((unsigned) arr[1] << 16) + ((unsigned) arr[0] << 24));
|
/external/clang/test/SemaCXX/ |
lambda-expressions.cpp | 119 int arr[n]; // VLA 124 int arr[m]; // expected-error{{negative size}} 128 int arr[m]; // expected-error{{negative size}} 132 int arr[m]; // expected-error{{negative size}} 136 int arr[m]; // expected-error{{negative size}}
|
/art/runtime/native/ |
dalvik_system_VMDebug.cc | 281 jlong* arr = reinterpret_cast<jlong*>(env->GetPrimitiveArrayCritical(data, 0)); local 282 if (arr == nullptr || env->GetArrayLength(data) < 9) { 324 arr[j++] = allocSize; 325 arr[j++] = allocUsed; 326 arr[j++] = allocFree; 327 arr[j++] = zygoteSize; 328 arr[j++] = zygoteUsed; 329 arr[j++] = zygoteFree; 330 arr[j++] = largeObjectsSize; 331 arr[j++] = largeObjectsUsed [all...] |
/external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/ |
StringUtil.java | 230 * @param arr a boolean array to be represented as a string
233 public String boolArrToStr(boolean[] arr) {
235 for (int i = 0; i < arr.length; i++) {
236 if (arr[i]) {
|
/external/libdrm/tests/modetest/ |
cursor.c | 46 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
/external/libdrm/tests/vbltest/ |
vbltest.c | 57 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
/external/selinux/libsemanage/src/ |
semanageswig_python.i | 54 void** arr, 73 obj = SWIG_FromCharPtr(arr[i]); 75 obj = SWIG_NewPointerObj(arr[i], swig_type, 0); 84 free(arr); 92 destructor(arr[i]); 93 free(arr);
|
/external/v8/test/mjsunit/compiler/ |
uint32.js | 39 function ChangeI2T(arr, i) { 56 function Deopt(obj, arr, i) { 57 var x = arr[i]; 68 function ChangeI2D(arr) { 71 return arr[0] + arr[1];
|
/external/v8/test/mjsunit/regress/ |
regress-1531.js | 32 var arr = []; 33 for (var p in arguments) arr.push(p); 34 return arr;
|
/external/valgrind/VEX/priv/ |
host_generic_reg_alloc2.c | 231 static void sortRRLRarray ( RRegLR* arr, 254 v = arr[i]; 256 while (arr[j-h].live_after > v.live_after) { 257 arr[j] = arr[j-h]; 261 arr[j] = v; 270 v = arr[i]; 272 while (arr[j-h].dead_before > v.dead_before) { 273 arr[j] = arr[j-h] [all...] |