/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_dict_buffers.cpp | 48 const bool isUpdatable = headerBuffer->isUpdatable(); in openVer4DictBuffers() local 49 return Ver4DictBuffersPtr(new Ver4DictBuffers(dictPath, std::move(headerBuffer), isUpdatable, in openVer4DictBuffers() 129 MmappedBuffer::MmappedBufferPtr headerBuffer, const bool isUpdatable, in Ver4DictBuffers() argument 133 Ver4DictConstants::TRIE_FILE_EXTENSION, isUpdatable)), in Ver4DictBuffers() 141 mTerminalPositionLookupTable(dictPath, isUpdatable), in Ver4DictBuffers() 142 mProbabilityDictContent(dictPath, mHeaderPolicy.hasHistoricalInfoOfWords(), isUpdatable), in Ver4DictBuffers() 143 mBigramDictContent(dictPath, mHeaderPolicy.hasHistoricalInfoOfWords(), isUpdatable), in Ver4DictBuffers() 144 mShortcutDictContent(dictPath, isUpdatable), in Ver4DictBuffers() 145 mIsUpdatable(isUpdatable) {} in Ver4DictBuffers()
|
D | ver4_patricia_trie_policy.cpp | 268 if (!mBuffers->isUpdatable()) { in addUnigramEntry() 334 if (!mBuffers->isUpdatable()) { in removeUnigramEntry() 348 if (!mBuffers->isUpdatable()) { in addNgramEntry() 410 if (!mBuffers->isUpdatable()) { in removeNgramEntry() 452 if (!mBuffers->isUpdatable()) { in updateEntriesForWordWithNgramContext() 476 if (!mBuffers->isUpdatable()) { in flush() 489 if (!mBuffers->isUpdatable()) { in flushWithGC() 502 if (!mBuffers->isUpdatable()) { in needsToRunGC()
|
D | ver4_dict_buffers.h | 118 AK_FORCE_INLINE bool isUpdatable() const { in isUpdatable() function 133 const MmappedBuffer::MmappedBufferPtr headerBuffer, const bool isUpdatable,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | mmapped_buffer.h | 33 const int bufferOffset, const int bufferSize, const bool isUpdatable); 36 static MmappedBufferPtr openBuffer(const char *const path, const bool isUpdatable); 39 const bool isUpdatable); 51 AK_FORCE_INLINE bool isUpdatable() const { in isUpdatable() function 58 const bool isUpdatable) in MmappedBuffer() argument 60 mAlignedSize(alignedSize), mMmapFd(mmapFd), mIsUpdatable(isUpdatable) {} in MmappedBuffer() 63 AK_FORCE_INLINE MmappedBuffer(const bool isUpdatable) in MmappedBuffer() argument 65 mMmapFd(0), mIsUpdatable(isUpdatable) {} in MmappedBuffer()
|
D | mmapped_buffer.cpp | 32 const bool isUpdatable) { in openBuffer() argument 42 const int protMode = isUpdatable ? PROT_READ | PROT_WRITE : PROT_READ; in openBuffer() 57 mmapFd, isUpdatable)); in openBuffer() 61 const char *const path, const bool isUpdatable) { in openBuffer() argument 66 return MmappedBufferPtr(new MmappedBuffer(isUpdatable)); in openBuffer() 68 return openBuffer(path, 0 /* bufferOffset */, fileSize, isUpdatable); in openBuffer() 73 const char *const dirPath, const char *const fileName, const bool isUpdatable) { in openBuffer() argument 81 return openBuffer(filePath, isUpdatable); in openBuffer()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | sparse_table_dict_content.h | 45 const char *const contentFileName, const bool isUpdatable, in SparseTableDictContent() argument 48 MmappedBuffer::openBuffer(dictPath, lookupTableFileName, isUpdatable)), in SparseTableDictContent() 50 MmappedBuffer::openBuffer(dictPath, addressTableFileName, isUpdatable)), in SparseTableDictContent() 52 MmappedBuffer::openBuffer(dictPath, contentFileName, isUpdatable)), in SparseTableDictContent()
|
D | terminal_position_lookup_table.h | 41 TerminalPositionLookupTable(const char *const dictPath, const bool isUpdatable) in TerminalPositionLookupTable() argument 43 Ver4DictConstants::TERMINAL_ADDRESS_TABLE_FILE_EXTENSION, isUpdatable), in TerminalPositionLookupTable()
|
D | probability_dict_content.h | 42 const bool isUpdatable) in ProbabilityDictContent() argument 43 : SingleDictContent(dictPath, Ver4DictConstants::FREQ_FILE_EXTENSION, isUpdatable), in ProbabilityDictContent()
|
D | single_dict_content.h | 42 const bool isUpdatable) in SingleDictContent() argument 43 : mMmappedBuffer(MmappedBuffer::openBuffer(dictPath, contentFileName, isUpdatable)), in SingleDictContent()
|
D | shortcut_dict_content.h | 38 ShortcutDictContent(const char *const dictPath, const bool isUpdatable) in ShortcutDictContent() argument 42 Ver4DictConstants::SHORTCUT_FILE_EXTENSION, isUpdatable, in ShortcutDictContent()
|
D | bigram_dict_content.h | 40 const bool isUpdatable) in BigramDictContent() argument 44 Ver4DictConstants::BIGRAM_FILE_EXTENSION, isUpdatable, in BigramDictContent()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/ |
D | dictionary_structure_with_buffer_policy_factory.cpp | 41 const bool isUpdatable) { in newPolicyForExistingDictFile() argument 44 return newPolicyForDirectoryDict(path, isUpdatable); in newPolicyForExistingDictFile() 46 if (isUpdatable) { in newPolicyForExistingDictFile() 102 const char *const path, const bool isUpdatable) { in newPolicyForDirectoryDict() argument 109 MmappedBuffer::openBuffer(headerFilePath, isUpdatable); in newPolicyForDirectoryDict()
|
D | dictionary_structure_with_buffer_policy_factory.h | 34 const int size, const bool isUpdatable); 50 newPolicyForDirectoryDict(const char *const path, const bool isUpdatable);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 181 if (!mBuffers->isUpdatable()) { in addUnigramEntry() 248 if (!mBuffers->isUpdatable()) { in removeUnigramEntry() 273 if (!mBuffers->isUpdatable()) { in addNgramEntry() 336 if (!mBuffers->isUpdatable()) { in removeNgramEntry() 375 if (!mBuffers->isUpdatable()) { in updateEntriesForWordWithNgramContext() 431 if (!mBuffers->isUpdatable()) { in flush() 444 if (!mBuffers->isUpdatable()) { in flushWithGC() 457 if (!mBuffers->isUpdatable()) { in needsToRunGC()
|
D | ver4_dict_buffers.cpp | 42 const bool isUpdatable = headerBuffer->isUpdatable(); in openVer4DictBuffers() local 44 Ver4DictConstants::BODY_FILE_EXTENSION, isUpdatable); in openVer4DictBuffers() 185 mIsUpdatable(mDictBuffer->isUpdatable()) {} in Ver4DictBuffers()
|
D | ver4_dict_buffers.h | 98 AK_FORCE_INLINE bool isUpdatable() const { in isUpdatable() function
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionary.java | 125 final boolean isUpdatable) { in BinaryDictionary() argument 129 mIsUpdatable = isUpdatable; in BinaryDictionary() 132 loadDictionary(filename, offset, length, isUpdatable); in BinaryDictionary() 170 boolean isUpdatable); in openNative() argument 222 final long length, final boolean isUpdatable) { in loadDictionary() argument 224 mNativeDict = openNative(path, startOffset, length, isUpdatable); in loadDictionary()
|
/packages/modules/NeuralNetworks/runtime/ |
D | Manager.cpp | 66 static std::shared_ptr<DriverDevice> create(SharedDevice device, bool isUpdatable = false); 69 explicit DriverDevice(SharedDevice device, bool isUpdatable); 75 bool isUpdatable() const override { return kIsUpdatable; } in isUpdatable() function in android::nn::DriverDevice 225 DriverDevice::DriverDevice(SharedDevice device, bool isUpdatable) in DriverDevice() argument 226 : kInterface(std::move(device)), kIsUpdatable(isUpdatable) { in DriverDevice() 236 std::shared_ptr<DriverDevice> DriverDevice::create(SharedDevice device, bool isUpdatable) { in create() argument 242 return std::make_shared<DriverDevice>(std::move(device), isUpdatable); in create() 840 bool isUpdatable() const override { return false; } in isUpdatable() function in android::nn::CpuDevice
|
D | ExecutionBuilder.cpp | 1105 static bool isUpdatable(const std::vector<uint32_t>& to, const std::vector<uint32_t>& from) { in isUpdatable() function 1131 NN_RET_CHECK(isUpdatable(mOutputs[i].dimensions(), outputShapes[i].dimensions)); in updateOutputShapes() 1216 NN_RET_CHECK(isUpdatable(to->at(toIndex).dimensions, from[i].dimensions)); in updateOutputShapes() 1249 NN_RET_CHECK(isUpdatable(*loc->dimensions, from[i].dimensions)); in updateOutputShapes() 1306 NN_RET_CHECK(isUpdatable(to->at(i).dimensions, from[i].dimensions)); in updateOutputShapes() 1390 CHECK(isUpdatable(inputOrOutputInfo->dimensions(), dimensions)); in setInputOrOutputFromMemory()
|
D | Manager.h | 134 virtual bool isUpdatable() const = 0;
|
D | ExecutionPlan.cpp | 2522 const bool isUpdatable = device->isUpdatable(); in findBestDeviceForEachOperation() local 2524 (isUpdatable && !bestIsUpdatable)); in findBestDeviceForEachOperation() 2529 bestIsUpdatable = isUpdatable; in findBestDeviceForEachOperation()
|
D | NeuralNetworks.cpp | 1199 [](const auto& driver) { return !driver->isUpdatable(); }); in ANeuralNetworksCompilation_create()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 46 jlong dictOffset, jlong dictSize, jboolean isUpdatable) { in latinime_BinaryDictionary_open() argument 60 isUpdatable == JNI_TRUE)); in latinime_BinaryDictionary_open()
|