Searched refs:srcLen (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/jni/ |
D | android_util_CharsetUtils.cpp | 23 jstring src, jint srcLen, jlong dest, jint destOff, jint destLen) { in android_util_CharsetUtils_toModifiedUtf8Bytes() argument 28 const jint worstLen = (srcLen * 4); in android_util_CharsetUtils_toModifiedUtf8Bytes() 30 env->GetStringUTFRegion(src, 0, srcLen, destPtr + destOff); in android_util_CharsetUtils_toModifiedUtf8Bytes() 31 return strlen(destPtr + destOff + srcLen) + srcLen; in android_util_CharsetUtils_toModifiedUtf8Bytes() 38 env->GetStringUTFRegion(src, 0, srcLen, destPtr + destOff); in android_util_CharsetUtils_toModifiedUtf8Bytes() 46 jlong src, jint srcOff, jint srcLen) { in android_util_CharsetUtils_fromModifiedUtf8Bytes() argument 51 char tmp = srcPtr[srcOff + srcLen]; in android_util_CharsetUtils_fromModifiedUtf8Bytes() 52 srcPtr[srcOff + srcLen] = '\0'; in android_util_CharsetUtils_fromModifiedUtf8Bytes() 54 srcPtr[srcOff + srcLen] = tmp; in android_util_CharsetUtils_fromModifiedUtf8Bytes()
|
/frameworks/base/core/java/android/util/ |
D | CharsetUtils.java | 83 private static native int toModifiedUtf8Bytes(@NonNull String src, int srcLen, in toModifiedUtf8Bytes() argument 102 long src, int srcOff, int srcLen); in fromModifiedUtf8Bytes() argument
|
/frameworks/native/cmds/rawbu/ |
D | backup.cpp | 260 int srcLen = strlen(srcPath); in backup_dir() local 289 fullPath = (char*)malloc(srcLen + strlen(de->d_name) + 2); in backup_dir() 291 fullPath[srcLen] = '/'; in backup_dir() 292 strcpy(fullPath+srcLen+1, de->d_name); in backup_dir()
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 1958 jint srcLen = _env->GetArrayLength(_src); in nScriptGroupCreate() local 1999 srcPtr = (RsScriptKernelID*) malloc(sizeof(RsScriptKernelID) * srcLen); in nScriptGroupCreate() 2000 for(int i = 0; i < srcLen; ++i) { in nScriptGroupCreate() 2021 (RsScriptKernelID *)srcPtr, srcLen * sizeof(RsScriptKernelID), in nScriptGroupCreate()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 2308 jint srcLen = _env->GetArrayLength(_src); in nScriptGroupCreate() local 2349 srcPtr = (RsScriptKernelID*) malloc(sizeof(RsScriptKernelID) * srcLen); in nScriptGroupCreate() 2350 for(int i = 0; i < srcLen; ++i) { in nScriptGroupCreate() 2371 (RsScriptKernelID *)srcPtr, srcLen * sizeof(RsScriptKernelID), in nScriptGroupCreate()
|