/external/webkit/Source/WebKit/android/jni/ |
WebCoreJni.cpp | 133 jobjectArray array = env->NewObjectArray(rects.size(), rectClass, 0); local 134 ALOG_ASSERT(array, "Could not create a Rect array"); 140 env->SetObjectArrayElement(array, i, rect); 145 return array;
|
/external/webrtc/src/system_wrappers/source/ |
cpu_mac.cc | 70 WebRtc_UWord32* array = NULL; local 71 return CpuUsageMultiCore(numCores, array); 76 WebRtc_UWord32*& array) 96 array = _cpuUsage;
|
/frameworks/base/core/java/android/os/ |
LatencyTimer.java | 65 long[] array = getArray(tag); local 67 // array[mSampleSize] holds the number of used entries 68 final int index = (int) array[mSampleSize]++; 69 array[index] = delta; 70 if (array[mSampleSize] == mSampleSize) { 72 for (long d : array) { 75 array[mSampleSize] = 0;
|
/frameworks/base/core/jni/android/graphics/ |
ColorFilter.cpp | 103 SkFixed array[20]; local 105 array[i] = SkFloatToScalar(src[i]); 107 return new SkColorMatrixFilter(array); 133 #define REG(env, name, array) \ 134 result = android::AndroidRuntime::registerNativeMethods(env, name, array, \ 135 SK_ARRAY_COUNT(array)); \
|
NinePatch.cpp | 46 const jbyte* array = env->GetByteArrayElements(obj, 0); local 47 if (array != NULL) { 49 reinterpret_cast<const Res_png_9patch*>(array); 51 env->ReleaseByteArrayElements(obj, const_cast<jbyte*>(array), 61 jniThrowRuntimeException(env, "Array too small for chunk.");
|
/frameworks/base/core/jni/ |
android_util_StringBlock.cpp | 122 jintArray array = env->NewIntArray((num*sizeof(ResStringPool_span))/sizeof(jint)); local 123 if (array == NULL) { // NewIntArray already threw OutOfMemoryError. 130 env->SetIntArrayRegion(array, 137 return array;
|
/frameworks/base/libs/hwui/utils/ |
SortedList.h | 67 inline const TYPE* array() const; 138 inline const TYPE* SortedList<TYPE>::array() const { function in class:android::uirenderer::SortedList 150 return *(array() + index); 161 return *(array() + ((index < 0) ? (size() - index) : index)); 166 return *(array() + size() - 1);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
OutputStreamTarget.java | 59 mOutputStream.write(data.array(), 0, data.limit());
|
/frameworks/native/include/utils/ |
SortedVector.h | 72 * C-style array access 76 inline const TYPE* array() const; 78 //! read-write C-style access. BE VERY CAREFUL when modifying the array 103 * modifing the array 177 const TYPE* SortedVector<TYPE>::array() const { function in class:android::SortedVector 190 return *(array() + index); 201 return *(array() + ((index<0) ? (size()-index) : index)); 206 return *(array() + size() - 1);
|
/hardware/qcom/media/libstagefrighthw/ |
QComOMXPlugin.cpp | 149 OMX_U8 **array = new OMX_U8 *[numRoles]; local 151 array[i] = new OMX_U8[OMX_MAX_STRINGNAME_SIZE]; 156 const_cast<OMX_STRING>(name), &numRoles2, array); 164 String8 s((const char *)array[i]); 168 delete[] array[i]; 169 array[i] = NULL; 172 delete[] array; 173 array = NULL;
|
/ndk/tests/device/test-gnustl-full/unit/ |
bind_test.cpp | 55 int array [3] = { 1, 2, 3 }; local 56 int* p = remove_if((int*)array, (int*)array + 3, bind1st(less<int>(), 2)); 58 CPPUNIT_ASSERT(p == &array[2]); 59 CPPUNIT_ASSERT(array[0] == 1); 60 CPPUNIT_ASSERT(array[1] == 2); 62 for_each((int*)array, (int*)array + 3, bind1st(pre_increment(), 1)); 63 CPPUNIT_ASSERT(array[0] == 2); 64 CPPUNIT_ASSERT(array[1] == 3) 75 int array [3] = { 1, 2, 3 }; local 84 int array [3] = { 1, 2, 3 }; local 104 int array[3] = { 1, 2, 3 }; local 143 A array[3]; local [all...] |
multiset_test.cpp | 63 int array [] = { 3, 6, 1, 2, 3, 2, 6, 7, 9 }; local 66 mset s(array, array + 9); 101 int array [] = { 3, 6, 1, 9 }; local 108 fn_mset s1(array+0, array + 4 , f ); 118 fn_mset s2(array, array + 4, g);
|
slist_test.cpp | 68 char array [] = { 'x', 'l', 'x', 't', 's', 's' }; local 71 slist<char> str(array+0, array + 6); 126 int array[] = { 0, 1, 2, 3, 4 }; local 127 slist<int> sl(array, array + 5); 137 sl.assign(array, array + 5); 154 int array[] = { 0, 1, 2, 3, 4 }; local 165 //sl.insert(sl.before_begin(), array, array + 5) 201 int array[] = { 0, 1, 2, 3, 4 }; local [all...] |
/ndk/tests/device/test-stlport/unit/ |
bind_test.cpp | 55 int array [3] = { 1, 2, 3 }; local 56 int* p = remove_if((int*)array, (int*)array + 3, bind1st(less<int>(), 2)); 58 CPPUNIT_ASSERT(p == &array[2]); 59 CPPUNIT_ASSERT(array[0] == 1); 60 CPPUNIT_ASSERT(array[1] == 2); 62 for_each((int*)array, (int*)array + 3, bind1st(pre_increment(), 1)); 63 CPPUNIT_ASSERT(array[0] == 2); 64 CPPUNIT_ASSERT(array[1] == 3) 75 int array [3] = { 1, 2, 3 }; local 84 int array [3] = { 1, 2, 3 }; local 104 int array[3] = { 1, 2, 3 }; local 143 A array[3]; local [all...] |
multiset_test.cpp | 63 int array [] = { 3, 6, 1, 2, 3, 2, 6, 7, 9 }; local 66 mset s(array, array + 9); 101 int array [] = { 3, 6, 1, 9 }; local 108 fn_mset s1(array+0, array + 4 , f ); 118 fn_mset s2(array, array + 4, g);
|
slist_test.cpp | 68 char array [] = { 'x', 'l', 'x', 't', 's', 's' }; local 71 slist<char> str(array+0, array + 6); 126 int array[] = { 0, 1, 2, 3, 4 }; local 127 slist<int> sl(array, array + 5); 137 sl.assign(array, array + 5); 154 int array[] = { 0, 1, 2, 3, 4 }; local 165 //sl.insert(sl.before_begin(), array, array + 5) 201 int array[] = { 0, 1, 2, 3, 4 }; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourceContentProvider.java | 73 Object[] array = mResources.getResourceItemsOfType( local 75 Arrays.sort(array); 76 return array;
|
/system/core/libpixelflinger/tinyutils/ |
SortedVector.h | 70 * C-style array access 74 inline const TYPE* array() const; 76 //! read-write C-style access. BE VERY CAREFUL when modifying the array 101 * modifing the array 173 const TYPE* SortedVector<TYPE>::array() const { function in class:android::SortedVector 186 return *(array() + index); 197 return *(array() + ((index<0) ? (size()-index) : index)); 202 return *(array() + size() - 1);
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
EncodedArrayItem.java | 33 * Encoded array of constant values. 39 /** {@code non-null;} the array to represent */ 40 private final CstArray array; field in class:EncodedArrayItem 51 * @param array {@code non-null;} array to represent 53 public EncodedArrayItem(CstArray array) { 60 if (array == null) { 61 throw new NullPointerException("array == null"); 64 this.array = array; [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
EncodedArrayItem.java | 24 * Encoded array of constant values. 30 /** {@code non-null;} the array to represent */ 31 private final CstArray array; field in class:EncodedArrayItem 42 * @param array {@code non-null;} array to represent 44 public EncodedArrayItem(CstArray array) { 51 if (array == null) { 52 throw new NullPointerException("array == null"); 55 this.array = array; [all...] |
/dalvik/vm/native/ |
dalvik_system_VMRuntime.cpp | 24 #include <cutils/array.h> 129 ArrayObject* array = (ArrayObject*) args[1]; local 130 if (!dvmIsArray(array)) { 134 // TODO: we should also check that this is a non-movable array. 135 s8 result = (uintptr_t) array->contents;
|
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/ |
SignatureSourcerTest.java | 77 String[] array = toStringArray(params); local 81 array); 130 String[] array = toStringArray(params); local 136 array); 140 String[] array = new String[params.size()]; local 142 array[i] = params.get(i).toString(); 144 return array;
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
DirectCharBufferTest.java | 40 buf.array();
|
DirectDoubleBufferTest.java | 39 buf.array();
|
DirectFloatBufferTest.java | 39 buf.array();
|