Home
last modified time | relevance | path

Searched refs:uSource (Results 1 – 1 of 1) sorted by relevance

/libcore/luni/src/main/native/
Dlibcore_icu_NativeConverter.cpp221 ScopedCharArrayRO uSource(env, source); in NativeConverter_encode() local
222 if (uSource.get() == NULL) { in NativeConverter_encode()
240 const jchar* mySource = uSource.get() + *sourceOffset; in NativeConverter_encode()
241 const UChar* mySourceLimit= reinterpret_cast<const UChar*>(uSource.get()) + sourceEnd; in NativeConverter_encode()
246 *sourceOffset = (mySource - uSource.get()) - *sourceOffset; in NativeConverter_encode()
277 ScopedByteArrayRO uSource(env, source); in NativeConverter_decode() local
278 if (uSource.get() == NULL) { in NativeConverter_decode()
296 const char* mySource = reinterpret_cast<const char*>(uSource.get() + *sourceOffset); in NativeConverter_decode()
297 const char* mySourceLimit = reinterpret_cast<const char*>(uSource.get() + sourceEnd); in NativeConverter_decode()
302 *sourceOffset = mySource - reinterpret_cast<const char*>(uSource.get()) - *sourceOffset; in NativeConverter_decode()