Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionaryUtils.cpp36 char filePathChars[filePathUtf8Length + 1]; in latinime_BinaryDictionaryUtils_createEmptyDictFile() local
37 env->GetStringUTFRegion(filePath, 0, env->GetStringLength(filePath), filePathChars); in latinime_BinaryDictionaryUtils_createEmptyDictFile()
38 filePathChars[filePathUtf8Length] = '\0'; in latinime_BinaryDictionaryUtils_createEmptyDictFile()
55 return DictFileWritingUtils::createEmptyDictFile(filePathChars, static_cast<int>(dictVersion), in latinime_BinaryDictionaryUtils_createEmptyDictFile()
Dcom_android_inputmethod_latin_BinaryDictionary.cpp104 char filePathChars[filePathUtf8Length + 1]; in latinime_BinaryDictionary_flush() local
105 env->GetStringUTFRegion(filePath, 0, env->GetStringLength(filePath), filePathChars); in latinime_BinaryDictionary_flush()
106 filePathChars[filePathUtf8Length] = '\0'; in latinime_BinaryDictionary_flush()
107 return dictionary->flush(filePathChars); in latinime_BinaryDictionary_flush()
122 char filePathChars[filePathUtf8Length + 1]; in latinime_BinaryDictionary_flushWithGC() local
123 env->GetStringUTFRegion(filePath, 0, env->GetStringLength(filePath), filePathChars); in latinime_BinaryDictionary_flushWithGC()
124 filePathChars[filePathUtf8Length] = '\0'; in latinime_BinaryDictionary_flushWithGC()
125 return dictionary->flushWithGC(filePathChars); in latinime_BinaryDictionary_flushWithGC()