/ndk/tests/device/test-gnustl-full/unit/ |
unary_test.cpp | 46 int array [3] = { 1, 2, 3 }; local 48 int* p = find_if((int*)array, (int*)array + 3, unary_negate<odd>(odd())); 49 CPPUNIT_ASSERT((p != array + 3)); 54 int array [3] = { 1, 2, 3 }; local 55 int* p = find_if((int*)array, (int*)array + 3, not1(odd())); 56 CPPUNIT_ASSERT(p != array + 3); 66 int array [3] = { 1, 2, 3 }; local 67 int* p = find_if((int*)array, (int*)array + 3, not1(ptr_fun(test_func))) [all...] |
/ndk/tests/device/test-stlport/unit/ |
ptr2_test.cpp | 71 int array [3] = { 1, 2, 3 }; local 73 int* p = find_if((int*)array, (int*)array + 3, pointer_to_unary_function<int, bool>(even)); 74 CPPUNIT_ASSERT(p != array+3); 79 int array [3] = { 1, 2, 3 }; local 81 int* p = find_if((int*)array, (int*)array + 3, ptr_fun(even)); 82 CPPUNIT_ASSERT(p != array+3);
|
unary_test.cpp | 46 int array [3] = { 1, 2, 3 }; local 48 int* p = find_if((int*)array, (int*)array + 3, unary_negate<odd>(odd())); 49 CPPUNIT_ASSERT((p != array + 3)); 54 int array [3] = { 1, 2, 3 }; local 55 int* p = find_if((int*)array, (int*)array + 3, not1(odd())); 56 CPPUNIT_ASSERT(p != array + 3); 66 int array [3] = { 1, 2, 3 }; local 67 int* p = find_if((int*)array, (int*)array + 3, not1(ptr_fun(test_func))) [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
OrderedDataOutputStream.java | 40 out.write(mByteBuffer.array(), 0, 2); 47 out.write(mByteBuffer.array());
|
/packages/apps/Exchange/src/com/android/exchange/ |
MockParserStream.java | 31 int[] array; field in class:MockParserStream 36 array = _array; 42 return array[pos++];
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
OrderedDataOutputStream.java | 40 out.write(mByteBuffer.array(), 0, 2); 47 out.write(mByteBuffer.array());
|
/packages/apps/Launcher3/src/com/android/gallery3d/exif/ |
OrderedDataOutputStream.java | 40 out.write(mByteBuffer.array(), 0, 2); 47 out.write(mByteBuffer.array());
|
/packages/apps/Mms/src/com/android/mms/exif/ |
OrderedDataOutputStream.java | 40 out.write(mByteBuffer.array(), 0, 2); 47 out.write(mByteBuffer.array());
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_frombuffer.py | 2 import array namespace 14 a = array.array("i", range(16)) 39 a = array.array("i", range(16)) 47 a = array.array("i", range(16)) 71 a = array.array("i", range(16))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_frombuffer.py | 2 import array namespace 14 a = array.array("i", range(16)) 39 a = array.array("i", range(16)) 47 a = array.array("i", range(16)) 71 a = array.array("i", range(16))
|
/libcore/json/src/test/java/org/json/ |
JSONArrayTest.java | 31 JSONArray array = new JSONArray(); local 32 assertEquals(0, array.length()); 33 assertEquals("", array.join(" AND ")); 35 array.get(0); 40 array.getBoolean(0); 45 assertEquals("[]", array.toString()); 46 assertEquals("[]", array.toString(4)); 49 assertTrue(array.isNull(0)); 50 assertNull(array.opt(0)); 51 assertFalse(array.optBoolean(0)) 77 JSONArray array = new JSONArray(); local 127 JSONArray array = new JSONArray(); local 139 JSONArray array = new JSONArray(); local 181 JSONArray array = new JSONArray("[\\"null\\",null]"); local 200 JSONArray array = new JSONArray(); local 246 JSONArray array = new JSONArray(); local 299 JSONArray array = new JSONArray(); local 315 JSONArray array = new JSONArray(Arrays.asList(5, 6)); local 320 JSONArray array = new JSONArray(Arrays.asList(5, 6)); local 391 JSONArray array = new JSONArray(); local 411 JSONArray array = new JSONArray(); local 423 JSONArray array = new JSONArray(Arrays.asList(5.5, Double.NaN)); local 431 JSONArray array = new JSONArray(Arrays.asList(5.5, Double.NaN)); local 437 JSONArray array = new JSONArray(contents); local 507 JSONArray array = new JSONArray(Arrays.asList(5.5, true)); local 515 JSONArray array = new JSONArray(); local [all...] |
JSONStringerTest.java | 33 stringer.array(); 48 stringer.array(); 55 stringer.array(); 67 stringer.array(); 97 stringer.array(); 106 new JSONStringer().array().value(Double.NaN); 111 new JSONStringer().array().value(Double.NEGATIVE_INFINITY); 116 new JSONStringer().array().value(Double.POSITIVE_INFINITY); 122 stringer.array(); 151 new JSONStringer().array().endObject() 231 JSONArray array = new JSONArray(); local 312 JSONArray array = new JSONArray(); local [all...] |
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
GImpactCollisionShape.java | 117 capsule.write(triangleIndexBase.array(), "triangleIndexBase", new byte[0]);
118 capsule.write(vertexBase.array(), "vertexBase", new byte[0]);
|
MeshCollisionShape.java | 113 capsule.write(triangleIndexBase.array(), "triangleIndexBase", new byte[0]);
114 capsule.write(vertexBase.array(), "vertexBase", new byte[0]);
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
GImpactCollisionShape.java | 98 capsule.write(triangleIndexBase.array(), "triangleIndexBase", new byte[0]); 99 capsule.write(vertexBase.array(), "vertexBase", new byte[0]);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
WrappedCharBufferTest2.java | 74 buf.array(); 81 char array[] = new char[1]; local 83 buf.put(array, 0, array.length); 101 buf.put(array, -1, array.length);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
AMReceiver.java | 66 ArrayList<String> array = new ArrayList<String>(); local 138 array.add("ActivityManager: " + s); //$NON-NLS-1$ 143 AdtPlugin.printErrorToConsole(mLaunchInfo.getProject(), array.toArray()); 145 AdtPlugin.printToConsole(mLaunchInfo.getProject(), array.toArray());
|
/art/compiler/dex/ |
local_value_numbering.cc | 367 uint16_t array = GetOperandValue(mir->ssa_rep->uses[0]); local 368 if (null_checked_.find(array) != null_checked_.end()) { 374 null_checked_.insert(array); 377 if (ValueExists(ARRAY_REF, array, index, NO_VALUE)) { 385 (void)LookupValue(ARRAY_REF, array, index, NO_VALUE); 387 uint16_t memory_version = GetMemoryVersion(array, NO_VALUE); 388 uint16_t res = LookupValue(ARRAY_REF, array, index, memory_version); 406 uint16_t array = GetOperandValue(mir->ssa_rep->uses[array_idx]); local 407 if (null_checked_.find(array) != null_checked_.end()) { 413 null_checked_.insert(array); [all...] |
/art/runtime/mirror/ |
object.cc | 21 #include "array-inl.h" 44 // Object::SizeOf gets the right size even if we're an array. 63 const ObjectArray<Object>* array = copy->AsObjectArray<Object>(); local 64 heap->WriteBarrierArray(copy.get(), 0, array->GetLength()); 107 // Bounds and assign-ability done in the array setter.
|
object_array-inl.h | 33 Array* array = Array::Alloc(self, object_array_class, length, sizeof(Object*)); local 34 if (UNLIKELY(array == NULL)) { 37 return array->AsObjectArray<T>(); 106 // No need for array store checks if arrays are of the same type
|
/art/test/JniTest/ |
jni_test.cc | 48 jobjectArray array = env->NewObjectArray(0, clazz, NULL); local 49 assert(array != NULL);
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
ShortArrayCodeInput.java | 26 /** source array to read from */ 27 private final short[] array; field in class:ShortArrayCodeInput 32 public ShortArrayCodeInput(short[] array) { 33 if (array == null) { 34 throw new NullPointerException("array == null"); 37 this.array = array; 42 return cursor() < array.length; 48 int value = array[cursor()];
|
/dalvik/vm/alloc/ |
VisitInlines.h | 108 * Visits the class object and, if the array is typed as an object 109 * array, all of the array elements. 118 ArrayObject *array = (ArrayObject *)obj; local 119 Object **contents = (Object **)(void *)array->contents; 120 for (size_t i = 0; i < array->length; ++i) {
|
/external/bluetooth/bluedroid/stack/pan/ |
pan_utils.c | 118 UINT8 array[10], *p; local 121 p = array; 123 SDP_AddAttribute (sdp_handle, ATTR_ID_NET_ACCESS_TYPE, UINT_DESC_TYPE, 2, array); 126 p = array; 128 SDP_AddAttribute (sdp_handle, ATTR_ID_MAX_NET_ACCESS_RATE, UINT_DESC_TYPE, 4, array);
|
/external/chromium_org/content/common/indexed_db/ |
indexed_db_key.h | 28 explicit IndexedDBKey(const KeyArray& array); 41 const std::vector<IndexedDBKey>& array() const { return array_; } function in class:content::IndexedDBKey
|