Home
last modified time | relevance | path

Searched refs:AKLOGE (Results 1 – 25 of 46) sorted by relevance

12

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_dict_buffers.cpp38 AKLOGE("The header buffer must be valid to open ver4 dict buffers."); in openVer4DictBuffers()
57 AKLOGE("The dict body file is corrupted."); in openVer4DictBuffers()
62 AKLOGE("The dict body file is corrupted."); in openVer4DictBuffers()
80 AKLOGE("Existing directory %s cannot be removed.", tmpDirPath); in flushHeaderAndDictBuffers()
87 AKLOGE("Cannot create directory: %s. errno: %d.", tmpDirPath, errno); in flushHeaderAndDictBuffers()
101 AKLOGE("Dictionary header file %s%s cannot be written.", tmpDirPath, in flushHeaderAndDictBuffers()
115 AKLOGE("File %s cannot be opened. errno: %d", bodyFilePath, errno); in flushHeaderAndDictBuffers()
121 AKLOGE("fdopen failed for the file %s. errno: %d", bodyFilePath, errno); in flushHeaderAndDictBuffers()
133 AKLOGE("Existing directory %s cannot be removed.", dictDirPath); in flushHeaderAndDictBuffers()
139 AKLOGE("%s cannot be renamed to %s", tmpDirPath, dictDirPath); in flushHeaderAndDictBuffers()
[all …]
Dver4_patricia_trie_policy.cpp68 AKLOGE("Dictionary reading error in createAndGetAllChildDicNodes()."); in createAndGetAllChildDicNodes()
82 AKLOGE("Dictionary reading error in getCodePointsAndProbabilityAndReturnCodePointCount()."); in getCodePointsAndReturnCodePointCount()
95 AKLOGE("Dictionary reading error in createAndGetAllChildDicNodes()."); in getWordId()
186 AKLOGE("The dictionary is too large to dynamically update. Dictionary size: %d", in addUnigramEntry()
191 AKLOGE("The word is too long to insert to the dictionary, length: %zd", in addUnigramEntry()
197 AKLOGE("One of shortcut targets is too long to insert to the dictionary, length: %zd", in addUnigramEntry()
225 AKLOGE("Cannot find word id to add shortcut target."); in addUnigramEntry()
234 AKLOGE("Cannot add new shortcut target. PtNodePos: %d, length: %zd, " in addUnigramEntry()
260 AKLOGE("Cannot remove unigram. ptNodePos: %d", ptNodePos); in removeUnigramEntry()
278 AKLOGE("The dictionary is too large to dynamically update. Dictionary size: %d", in addNgramEntry()
[all …]
Dver4_patricia_trie_writing_helper.cpp45 AKLOGE("Cannot write header structure to buffer. " in writeToDictFile()
87 AKLOGE("Failed to update probabilities in language model dict content."); in runGC()
95 AKLOGE("Failed to truncate entries in language model dict content."); in runGC()
174 AKLOGE("terminal Id %d is not in the terminal position map. map size: %zd", in onVisitingPtNode()
179 AKLOGE("Cannot update terminal id. %d -> %d", it->first, it->second); in onVisitingPtNode()
Dver4_patricia_trie_node_writer.cpp127 AKLOGE("Cannot update terminal position lookup table. terminal id: %d", in markPtNodeAsWillBecomeNonTerminal()
153 AKLOGE("updatePtNodeProbabilityAndGetNeedsToSaveForGC is called for non-terminal PtNode."); in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC()
164 AKLOGE("Cannot mark PtNode as willBecomeNonTerminal."); in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC()
215 AKLOGE("Cannot add new ngram entry. prevWordId[0]: %d, prevWordId.size(): %zd, wordId: %d", in addNgramEntry()
279 AKLOGE("Cannot add new shortcut entry. terminalId: %d", ptNodeParams->getTerminalId()); in addShortcutTarget()
348 AKLOGE("Cannot write PtNode flags. flags: %x, pos: %d", nodeFlags, ptNodePos); in updatePtNodeFlags()
Dver4_pt_node_array_reader.cpp29 AKLOGE("Reading PtNode array info from invalid dictionary position: %d, dict size: %d", in readPtNodeArrayInfoAndReturnIfValid()
46 AKLOGE("Invalid PtNode count in an array: %d.", ptNodeCountInArray); in readPtNodeArrayInfoAndReturnIfValid()
58 AKLOGE("Reading forward link from invalid dictionary position: %d, dict size: %d", in readForwardLinkAndReturnIfValid()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_dict_buffers.cpp44 AKLOGE("The header buffer must be valid to open ver4 dict buffers."); in openVer4DictBuffers()
64 AKLOGE("Existing directory %s cannot be removed.", tmpDirPath); in flushHeaderAndDictBuffers()
71 AKLOGE("Cannot create directory: %s. errno: %d.", tmpDirPath, errno); in flushHeaderAndDictBuffers()
85 AKLOGE("Dictionary header file %s%s cannot be written.", tmpDirPath, in flushHeaderAndDictBuffers()
92 AKLOGE("Dictionary trie file %s%s cannot be written.", tmpDirPath, in flushHeaderAndDictBuffers()
98 AKLOGE("Terminal position lookup table cannot be written. %s", tmpDirPath); in flushHeaderAndDictBuffers()
102 AKLOGE("Probability dict content cannot be written. %s", tmpDirPath); in flushHeaderAndDictBuffers()
106 AKLOGE("Bigram dict content cannot be written. %s", tmpDirPath); in flushHeaderAndDictBuffers()
110 AKLOGE("Shortcut dict content cannot be written. %s", tmpDirPath); in flushHeaderAndDictBuffers()
115 AKLOGE("Existing directory %s cannot be removed.", dictDirPath); in flushHeaderAndDictBuffers()
[all …]
Dver4_patricia_trie_policy.cpp87 AKLOGE("Dictionary reading error in createAndGetAllChildDicNodes()."); in createAndGetAllChildDicNodes()
100 AKLOGE("Dictionary reading error in getCodePointsAndProbabilityAndReturnCodePointCount()."); in getCodePointsAndReturnCodePointCount()
113 AKLOGE("Dictionary reading error in getWordId()."); in getWordId()
273 AKLOGE("The dictionary is too large to dynamically update. Dictionary size: %d", in addUnigramEntry()
278 AKLOGE("The word is too long to insert to the dictionary, length: %zd", in addUnigramEntry()
284 AKLOGE("One of shortcut targets is too long to insert to the dictionary, length: %zd", in addUnigramEntry()
313 AKLOGE("Cannot find terminal PtNode position to add shortcut target."); in addUnigramEntry()
320 AKLOGE("Cannot add new shortcut target. PtNodePos: %d, length: %zd, " in addUnigramEntry()
353 AKLOGE("The dictionary is too large to dynamically update. Dictionary size: %d", in addNgramEntry()
359 AKLOGE("Ngram context is not valid for adding n-gram entry to the dictionary."); in addNgramEntry()
[all …]
Dver4_patricia_trie_writing_helper.cpp54 AKLOGE("Cannot write header structure to buffer. " in writeToDictFile()
115 AKLOGE("Cannot remove unigrams. current: %d, max: %d", unigramCount, in runGC()
132 AKLOGE("Cannot remove bigrams. current: %d, max: %d", bigramCount, maxBigramCount); in runGC()
235 AKLOGE("Cannot mark PtNode as willBecomeNonterminal. PtNode pos: %d", ptNodePos); in truncateUnigrams()
279 AKLOGE("Cannot write bigram entry to remove. pos: %d", entryPos); in truncateBigrams()
295 AKLOGE("terminal Id %d is not in the terminal position map. map size: %zd", in onVisitingPtNode()
300 AKLOGE("Cannot update terminal id. %d -> %d", it->first, it->second); in onVisitingPtNode()
Dver4_patricia_trie_node_writer.cpp136 AKLOGE("Cannot update terminal position lookup table. terminal id: %d", in markPtNodeAsWillBecomeNonTerminal()
166 AKLOGE("updatePtNodeProbabilityAndGetNeedsToSaveForGC is called for non-terminal PtNode."); in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC()
179 AKLOGE("Cannot write updated probability entry. terminalId: %d", in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC()
186 AKLOGE("Cannot mark PtNode as willBecomeNonTerminal."); in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC()
237 AKLOGE("Cannot add new bigram entry. prevWordId: %d, wordId: %d", in addNgramEntry()
313 AKLOGE("Cannot add new shortcut entry. terminalId: %d", ptNodeParams->getTerminalId()); in addShortcutTarget()
422 AKLOGE("Cannot write PtNode flags. flags: %x, pos: %d", nodeFlags, ptNodePos); in updatePtNodeFlags()
Dver4_pt_node_array_reader.cpp38 AKLOGE("Reading PtNode array info from invalid dictionary position: %d, dict size: %d", in readPtNodeArrayInfoAndReturnIfValid()
55 AKLOGE("Invalid PtNode count in an array: %d.", ptNodeCountInArray); in readPtNodeArrayInfoAndReturnIfValid()
67 AKLOGE("Reading forward link from invalid dictionary position: %d, dict size: %d", in readForwardLinkAndReturnIfValid()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dbigram_dict_content.cpp37 AKLOGE("Invalid bigram entry position. bigramEntryPos: %d, bigramEntryTailPos: %d, " in getBigramEntryAndAdvancePosition()
83 AKLOGE("Cannot write bigram flags. pos: %d, flags: %x", *entryWritingPos, bigramFlags); in writeBigramEntryAndAdvancePosition()
90 AKLOGE("Cannot write bigram timestamps. pos: %d, timestamp: %d", *entryWritingPos, in writeBigramEntryAndAdvancePosition()
96 AKLOGE("Cannot write bigram level. pos: %d, level: %d", *entryWritingPos, in writeBigramEntryAndAdvancePosition()
102 AKLOGE("Cannot write bigram count. pos: %d, count: %d", *entryWritingPos, in writeBigramEntryAndAdvancePosition()
109 AKLOGE("Cannot write bigram probability. pos: %d, probability: %d", *entryWritingPos, in writeBigramEntryAndAdvancePosition()
120 AKLOGE("Cannot write bigram target terminal id. pos: %d, target terminal id: %d", in writeBigramEntryAndAdvancePosition()
139 AKLOGE("Cannot write bigram entry to copy. pos: %d", writingPos); in copyBigramList()
162 AKLOGE("Cannot complete GC for the bigram list. original pos: %d, pos: %d", in runGC()
173 AKLOGE("Cannot set bigram list position. terminal id: %d, pos: %d", in runGC()
[all …]
Dprobability_dict_content.cpp74 AKLOGE("Cannot write placeholder entry. pos: %d, mSize: %d", in setProbabilityEntry()
92 AKLOGE("Cannot set probability entry in flushToFile. terminalId: %d", i); in flushToFile()
111 AKLOGE("Cannot set probability entry in runGC. terminalId: %d", it->second); in runGC()
141 AKLOGE("Cannot write flags in probability dict content. pos: %d", writingPos); in writeEntry()
146 AKLOGE("Cannot write probability in probability dict content. pos: %d", writingPos); in writeEntry()
153 AKLOGE("Cannot write timestamp in probability dict content. pos: %d", writingPos); in writeEntry()
158 AKLOGE("Cannot write level in probability dict content. pos: %d", writingPos); in writeEntry()
163 AKLOGE("Cannot write count in probability dict content. pos: %d", writingPos); in writeEntry()
Dshortcut_dict_content.cpp37 AKLOGE("Invalid shortcut entry position. shortcutEntryPos: %d, bufSize: %d", in getShortcutEntryAndAdvancePosition()
91 AKLOGE("Cannot copy shortcut list during GC. original pos: %d, pos: %d", in runGC()
97 AKLOGE("Cannot set shortcut list position. terminal id: %d, pos: %d", in runGC()
127 AKLOGE("Cannot write shortcut entry to copy. pos: %d", writingPos); in copyShortcutListFromDictContent()
151 AKLOGE("Cannot write shortcut flags. flags; %x, pos: %d", shortcutFlags, *shortcutEntryPos); in writeShortcutEntryAndAdvancePosition()
156 AKLOGE("Cannot write shortcut target code points. pos: %d", *shortcutEntryPos); in writeShortcutEntryAndAdvancePosition()
/packages/inputmethods/LatinIME/native/jni/
Djni_common.cpp34 AKLOGE("ERROR: GetEnv failed"); in JNI_OnLoad()
39 AKLOGE("ERROR: JNIEnv is invalid"); in JNI_OnLoad()
43 AKLOGE("ERROR: BinaryDictionary native registration failed"); in JNI_OnLoad()
47 AKLOGE("ERROR: BinaryDictionaryUtils native registration failed"); in JNI_OnLoad()
51 AKLOGE("ERROR: DicTraverseSession native registration failed"); in JNI_OnLoad()
55 AKLOGE("ERROR: ProximityInfo native registration failed"); in JNI_OnLoad()
67 AKLOGE("Native registration unable to find class '%s'", className); in registerNativeMethods()
71 AKLOGE("RegisterNatives failed for '%s'", className); in registerNativeMethods()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/
Ddictionary_structure_with_buffer_policy_factory.cpp47 AKLOGE("One file dictionaries don't support updating. path: %s", path); in newPolicyForExistingDictFile()
75 AKLOGE("DICT: dictionary format %d is not supported for on memory dictionary", in newPolicyForOnMemoryDict()
93 AKLOGE("Empty ver4 dictionary structure cannot be created on memory."); in newPolicyForOnMemoryV4Dict()
119 AKLOGE("Given path is a directory but the format is version 2xx. path: %s", path); in newPolicyForDirectoryDict()
135 AKLOGE("DICT: dictionary format is unknown, bad magic number. path: %s", path); in newPolicyForDirectoryDict()
151 AKLOGE("Dictionary file name is not valid as a ver4 dictionary. header path: %s", in newPolicyForV4Dict()
159 AKLOGE("DICT: The dictionary doesn't satisfy ver4 format requirements. path: %s", in newPolicyForV4Dict()
181 AKLOGE("Dictionary versions 2 and 201 are incompatible with this version"); in newPolicyForFileDict()
189 AKLOGE("Given path is a file but the format is version 4. path: %s", path); in newPolicyForFileDict()
192 AKLOGE("DICT: dictionary format is unknown, bad magic number. path: %s", path); in newPolicyForFileDict()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dfile_utils.cpp63 AKLOGE("Cannot open dir %s.", dirPath); in removeDirAndFiles()
78 AKLOGE("Cannot remove file %s.", filePath); in removeDirAndFiles()
90 AKLOGE("Cannot remove directory %s.", dirPath); in removeDirAndFiles()
122 AKLOGE("File path length (%s:%d) is shorter that suffix length (%s:%d).", in getFilePathWithoutSuffix()
128 AKLOGE("outDirPathBufSize is too small. filePath: %s, suffix: %s, outDirPathBufSize: %d", in getFilePathWithoutSuffix()
133 AKLOGE("File Path %s does not have %s as a suffix", filePath, suffix); in getFilePathWithoutSuffix()
145 AKLOGE("outDirPathBufSize is too small. filePath: %s, outDirPathBufSize: %d", in getDirPath()
164 AKLOGE("outNameBufSize is too small. filePath: %s, outNameBufSize: %d", in getBasename()
Dmmapped_buffer.cpp35 AKLOGE("DICT: Can't open the source. path=%s errno=%d", path, errno); in openBuffer()
46 AKLOGE("DICT: Can't mmap dictionary. errno=%d", errno); in openBuffer()
52 AKLOGE("DICT: buffer is null"); in openBuffer()
90 AKLOGE("DICT: Failure in munmap. ret=%d errno=%d", ret, errno); in ~MmappedBuffer()
94 AKLOGE("DICT: Failure in close. ret=%d errno=%d", ret, errno); in ~MmappedBuffer()
Dsparse_table.cpp39 AKLOGE("contentTableReadingPos(%d) is invalid. id: %d, index: %d", in get()
53 AKLOGE("cannot extend index table. tailPos: %d to: %d", tailPos, posInIndexTable); in set()
61 AKLOGE("cannot update value %d. pos: %d, tailPos: %d, mDataSize: %d", value, in set()
72 AKLOGE("cannot write index %d. pos %d", index, posInIndexTable); in set()
80 AKLOGE("cannot write content table to extend. writingPos: %d, tailPos: %d, " in set()
Ddict_file_writing_utils.cpp58 AKLOGE("Cannot create dictionary %s because format version %d is not supported.", in createEmptyDictFile()
76 AKLOGE("Empty ver4 dictionary structure cannot be created on memory."); in createEmptyV4DictFile()
106 AKLOGE("File %s cannot be opened. errno: %d", filePath, errno); in flushBufferToFile()
112 AKLOGE("fdopen failed for the file %s. errno: %d", filePath, errno); in flushBufferToFile()
119 AKLOGE("Buffer cannot be written to the file %s. size: %d", filePath, in flushBufferToFile()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dshortcut_dict_content.cpp28 AKLOGE("Invalid shortcut entry position. shortcutEntryPos: %d, bufSize: %d", in getShortcutEntryAndAdvancePosition()
76 AKLOGE("Cannot copy shortcut list during GC. original pos: %d, pos: %d", in runGC()
82 AKLOGE("Cannot set shortcut list position. terminal id: %d, pos: %d", in runGC()
112 AKLOGE("Cannot write shortcut entry to copy. pos: %d", writingPos); in copyShortcutListFromDictContent()
136 AKLOGE("Cannot write shortcut flags. flags; %x, pos: %d", shortcutFlags, *shortcutEntryPos); in writeShortcutEntryAndAdvancePosition()
141 AKLOGE("Cannot write shortcut target code points. pos: %d", *shortcutEntryPos); in writeShortcutEntryAndAdvancePosition()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp40 AKLOGE("Children PtNode array position is invalid. pos: %d, dict size: %zd", in createAndGetAllChildDicNodes()
50 AKLOGE("Child PtNode position is invalid. pos: %d, dict size: %zd, childCount: %d / %d", in createAndGetAllChildDicNodes()
103 AKLOGE("PtNode array position is invalid. pos: %d, dict size: %zd", in getCodePointsAndProbabilityAndReturnCodePointCount()
113 AKLOGE("PtNode position is invalid. pos: %d, dict size: %zd", pos, mBuffer.size()); in getCodePointsAndProbabilityAndReturnCodePointCount()
240 AKLOGE("Cannot skip bigrams. BufSize: %zd, pos: %d.", mBuffer.size(), in getCodePointsAndProbabilityAndReturnCodePointCount()
263 AKLOGE("Cannot skip bigrams. BufSize: %zd, pos: %d.", mBuffer.size(), pos); in getCodePointsAndProbabilityAndReturnCodePointCount()
288 AKLOGE("Dictionary reading error in getWordId()."); in getWordId()
430 AKLOGE("getWordProperty was called for invalid word."); in getWordProperty()
499 AKLOGE("Given token %d is invalid.", token); in getNextWordAndNextToken()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/shortcut/
Dver4_shortcut_list_policy.h62 AKLOGE("Cannot create new shortcut list. terminal id: %d", terminalId); in addNewShortcut()
75 AKLOGE("Cannot create new shortcut list. terminal id: %d", terminalId); in addNewShortcut()
81 AKLOGE("Cannot write shortcut entry. terminal id: %d, pos: %d", terminalId, in addNewShortcut()
93 AKLOGE("Cannot overwrite shortcut entry. terminal id: %d, pos: %d", terminalId, in addNewShortcut()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/shortcut/
Dver4_shortcut_list_policy.h72 AKLOGE("Cannot create new shortcut list. terminal id: %d", terminalId); in addNewShortcut()
85 AKLOGE("Cannot create new shortcut list. terminal id: %d", terminalId); in addNewShortcut()
91 AKLOGE("Cannot write shortcut entry. terminal id: %d, pos: %d", terminalId, in addNewShortcut()
103 AKLOGE("Cannot overwrite shortcut entry. terminal id: %d, pos: %d", terminalId, in addNewShortcut()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_parser.cpp30 AKLOGE("minCount = maxCount = 0 for %s.", mArgumentSpecs[i].getName().c_str()); in validateSpecs()
35 AKLOGE("Variable length argument must be at the end.", in validateSpecs()
40 AKLOGE("Multiple arguments have the same name \"%s\".", in validateSpecs()
95 AKLOGE("Invalid argc (%d).", argc); in parseArguments()
Dutf8_utils.cpp43 AKLOGE("%x is an invalid utf8 first byte value.", c); in getCodePoints()
55 AKLOGE("%d bytes encode for codePoint(%x) is a redundant UTF-8 sequence.", in getCodePoints()
89 AKLOGE("Cannot encode code point (%d).", codePoint); in getUtf8String()

12