/dalvik/vm/native/ |
java_lang_System.cpp | 190 ArrayObject* srcArray = (ArrayObject*) args[0]; 197 if (srcArray == NULL) { 207 if (!dvmIsArray(srcArray)) { 208 dvmThrowArrayStoreExceptionNotArray(((Object*)srcArray)->clazz, "source"); 218 srcPos > (int) srcArray->length - length || 223 srcArray->length, srcPos, dstArray->length, dstPos, length); 227 ClassObject* srcClass = srcArray->clazz; 246 srcArray->contents, srcPos, length); 253 (const u1*) srcArray->contents + srcPos, 260 (const u1*) srcArray->contents + srcPos * 2 [all...] |
/frameworks/base/core/jni/ |
android_text_AndroidCharacter.cpp | 54 static void getDirectionalities(JNIEnv* env, jobject obj, jcharArray srcArray, jbyteArray destArray, int count) 56 ScopedCharArrayRO src(env, srcArray); 65 if (env->GetArrayLength(srcArray) < count || env->GetArrayLength(destArray) < count) { 104 static void getEastAsianWidths(JNIEnv* env, jobject obj, jcharArray srcArray, 107 ScopedCharArrayRO src(env, srcArray); 117 || env->GetArrayLength(srcArray) < (start + count)
|
/art/runtime/native/ |
java_lang_System.cc | 205 mirror::Array* srcArray = srcObject->AsArray(); 207 mirror::Class* srcComponentType = srcArray->GetClass()->GetComponentType(); 211 if (UNLIKELY(srcPos < 0 || dstPos < 0 || length < 0 || srcPos > srcArray->GetLength() - length || dstPos > dstArray->GetLength() - length)) { 215 srcArray->GetLength(), srcPos, dstArray->GetLength(), dstPos, length); 223 std::string srcType(PrettyTypeOf(srcArray)); 232 size_t width = srcArray->GetClass()->GetComponentSize(); 234 const uint8_t* srcBytes = reinterpret_cast<const uint8_t*>(srcArray->GetRawData(width)); 251 LOG(FATAL) << "Unknown primitive array type: " << PrettyTypeOf(srcArray); 260 const uint8_t* srcBytes = reinterpret_cast<const uint8_t*>(srcArray->GetRawData(width)); 261 if (dstArray == srcArray || dstComponentType->IsAssignableFrom(srcComponentType)) [all...] |
/dalvik/vm/oo/ |
Array.h | 118 bool dvmCopyObjectArray(ArrayObject* dstArray, const ArrayObject* srcArray, 126 bool dvmUnboxObjectArray(ArrayObject* dstArray, const ArrayObject* srcArray,
|
Array.cpp | 494 bool dvmCopyObjectArray(ArrayObject* dstArray, const ArrayObject* srcArray, 497 Object** src = (Object**)(void*)srcArray->contents; 500 assert(srcArray->length == dstArray->length); 523 bool dvmUnboxObjectArray(ArrayObject* dstArray, const ArrayObject* srcArray, 526 Object** src = (Object**)(void*)srcArray->contents; 532 assert(srcArray->length == dstArray->length);
|
/frameworks/base/core/jni/android/graphics/ |
Matrix.cpp | 273 float* srcArray = autoSrc.ptr() + srcIndex; 285 srcPt[i].set(SkFloatToScalar(srcArray[i << 1]), 286 SkFloatToScalar(srcArray[(i << 1) + 1])); 300 matrix->mapPoints((SkPoint*)dstArray, (const SkPoint*)srcArray, 303 matrix->mapVectors((SkVector*)dstArray, (const SkVector*)srcArray,
|
/libcore/luni/src/main/native/ |
libcore_io_Memory.cpp | 341 jint byteCount, jbyteArray srcArray, jint srcOffset, jint sizeofElement, jboolean swap) { 342 ScopedByteArrayRO srcBytes(env, srcArray); 363 jarray srcArray = reinterpret_cast<jarray>(srcObject); 364 jbyte* srcBytes = reinterpret_cast<jbyte*>(env->GetPrimitiveArrayCritical(srcArray, NULL)); 371 env->ReleasePrimitiveArrayCritical(srcArray, srcBytes, 0);
|
/external/chromium_org/third_party/icu/source/common/ |
uts46.cpp | 307 const UChar *srcArray=src.getBuffer(); 308 if(&dest==&src || srcArray==NULL) { 347 UChar c=srcArray[i]; 359 if(i==(labelStart+3) && srcArray[i-1]==0x2d) { 368 if((i+1)==srcLength || srcArray[i+1]==0x2e) { 411 const char *srcArray=src.data(); 413 if(srcArray==NULL && srcLength!=0) { 452 char c=srcArray[i]; 464 if(i==(labelStart+3) && srcArray[i-1]==0x2d) { 472 if((i+1)==srcLength || srcArray[i+1]==0x2e) [all...] |
uprops.cpp | 168 const UChar *srcArray=src.getBuffer(); 169 kcf->compose(srcArray, srcArray+src.length(), FALSE,
|
/external/icu4c/common/ |
uprops.cpp | 168 const UChar *srcArray=src.getBuffer(); 169 kcf->compose(srcArray, srcArray+src.length(), FALSE,
|
uts46.cpp | 313 const UChar *srcArray=src.getBuffer(); 314 if(&dest==&src || srcArray==NULL) { 353 UChar c=srcArray[i]; 365 if(i==(labelStart+3) && srcArray[i-1]==0x2d) { 374 if((i+1)==srcLength || srcArray[i+1]==0x2e) { 417 const char *srcArray=src.data(); 419 if(srcArray==NULL && srcLength!=0) { 458 char c=srcArray[i]; 470 if(i==(labelStart+3) && srcArray[i-1]==0x2d) { 478 if((i+1)==srcLength || srcArray[i+1]==0x2e) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_split_copy.c | 259 const struct gl_client_array *srcarray = copy->varying[i].array; local 260 const GLubyte *srcptr = copy->varying[i].src_ptr + elt * srcarray->StrideB; 266 if (srcarray->Type == GL_FLOAT) { 269 for (k = 0; k < srcarray->Size; k++) {
|
/external/mesa3d/src/mesa/vbo/ |
vbo_split_copy.c | 259 const struct gl_client_array *srcarray = copy->varying[i].array; local 260 const GLubyte *srcptr = copy->varying[i].src_ptr + elt * srcarray->StrideB; 266 if (srcarray->Type == GL_FLOAT) { 269 for (k = 0; k < srcarray->Size; k++) {
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
dtfmtsym.h | 688 * @param srcArray the source array to be copied. 689 * @param srcCount the length of items to be copied from the 'srcArray'. 693 const UnicodeString* srcArray,
|
/external/icu4c/i18n/unicode/ |
dtfmtsym.h | 777 * @param srcArray the source array to be copied. 778 * @param srcCount the length of items to be copied from the 'srcArray'. 782 const UnicodeString* srcArray,
|
/dalvik/vm/reflect/ |
Annotation.cpp | 602 ArrayObject* srcArray = (ArrayObject*) valueObj; 603 u4 length = srcArray->length; 615 success = dvmCopyObjectArray(newArray, srcArray, dstElemClass); 617 success = dvmUnboxObjectArray(newArray, srcArray, dstElemClass); [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
dtfmtsym.cpp | 246 const UnicodeString* srcArray, 266 dstArray[i].fastCopyFrom(srcArray[i]); [all...] |
/external/icu4c/i18n/ |
dtfmtsym.cpp | 231 const UnicodeString* srcArray, 251 dstArray[i].fastCopyFrom(srcArray[i]); [all...] |