HomeSort by relevance Sort by last modified time
    Searched refs:AK_FORCE_INLINE (Results 1 - 25 of 44) sorted by null

1 2

  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/
dynamic_patricia_trie_node_reader.h 52 AK_FORCE_INLINE void fetchNodeInfoInBufferFromPtNodePos(const int ptNodePos) {
57 AK_FORCE_INLINE void fetchNodeInfoInBufferFromPtNodePosAndGetNodeCodePoints(
65 AK_FORCE_INLINE int getHeadPos() const {
70 AK_FORCE_INLINE bool isDeleted() const {
74 AK_FORCE_INLINE bool hasChildren() const {
78 AK_FORCE_INLINE bool isTerminal() const {
82 AK_FORCE_INLINE bool isBlacklisted() const {
86 AK_FORCE_INLINE bool isNotAWord() const {
91 AK_FORCE_INLINE int getParentPos() const {
96 AK_FORCE_INLINE uint8_t getCodePointCount() const
    [all...]
dynamic_patricia_trie_reading_helper.h 72 AK_FORCE_INLINE bool isError() const {
76 AK_FORCE_INLINE bool isEnd() const {
81 AK_FORCE_INLINE void initWithPtNodeArrayPos(const int ptNodeArrayPos) {
100 AK_FORCE_INLINE void initWithPtNodePos(const int ptNodePos) {
117 AK_FORCE_INLINE const DynamicPatriciaTrieNodeReader* getNodeReader() const {
121 AK_FORCE_INLINE bool isValidTerminalNode() const {
125 AK_FORCE_INLINE bool isMatchedCodePoint(const int index, const int codePoint) const {
130 AK_FORCE_INLINE int getPrevTotalCodePointCount() const {
135 AK_FORCE_INLINE int getTotalCodePointCount() const {
139 AK_FORCE_INLINE void fetchMergedNodeCodePointsInReverseOrder
    [all...]
patricia_trie_reading_utils.h 52 static AK_FORCE_INLINE bool isBlacklisted(const NodeFlags flags) {
56 static AK_FORCE_INLINE bool isNotAWord(const NodeFlags flags) {
60 static AK_FORCE_INLINE bool isTerminal(const NodeFlags flags) {
64 static AK_FORCE_INLINE bool hasShortcutTargets(const NodeFlags flags) {
68 static AK_FORCE_INLINE bool hasBigrams(const NodeFlags flags) {
72 static AK_FORCE_INLINE bool hasMultipleChars(const NodeFlags flags) {
76 static AK_FORCE_INLINE bool hasChildrenInFlags(const NodeFlags flags) {
80 static AK_FORCE_INLINE NodeFlags createAndGetFlags(const bool isBlacklisted,
dynamic_patricia_trie_reading_utils.h 35 static AK_FORCE_INLINE bool isValidForwardLinkPosition(const int forwardLinkAddress) {
49 static AK_FORCE_INLINE bool isMoved(const NodeFlags flags) {
53 static AK_FORCE_INLINE bool isDeleted(const NodeFlags flags) {
57 static AK_FORCE_INLINE NodeFlags updateAndGetFlags(const NodeFlags originalFlags,
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/
suggest_options.h 29 AK_FORCE_INLINE bool isGesture() const {
33 AK_FORCE_INLINE bool useFullEditDistance() const {
37 AK_FORCE_INLINE bool getAdditionalFeaturesBoolOption(const int key) const {
55 AK_FORCE_INLINE bool isValidKey(const int key) const {
59 AK_FORCE_INLINE bool getBoolOption(const int key) const {
66 AK_FORCE_INLINE int getIntOption(const int key) const {
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
typing_suggest_policy.h 38 AK_FORCE_INLINE const Traversal *getTraversal() const {
42 AK_FORCE_INLINE const Scoring *getScoring() const {
46 AK_FORCE_INLINE const Weighting *getWeighting() const {
typing_scoring.h 33 AK_FORCE_INLINE bool getMostProbableString(
40 AK_FORCE_INLINE void safetyNetForMostProbableString(const int terminalSize,
44 AK_FORCE_INLINE void searchWordWithDoubleLetter(DicNode *terminals,
49 AK_FORCE_INLINE float getAdjustedLanguageWeight(DicTraverseSession *const traverseSession,
54 AK_FORCE_INLINE int calculateFinalScore(const float compoundDistance,
64 AK_FORCE_INLINE float getDoubleLetterDemotionDistanceCost(const int terminalIndex,
70 AK_FORCE_INLINE bool doesAutoCorrectValidWord() const {
typing_traversal.h 37 AK_FORCE_INLINE int getMaxPointerCount() const {
41 AK_FORCE_INLINE bool allowsErrorCorrections(const DicNode *const dicNode) const {
46 AK_FORCE_INLINE bool isOmission(const DicTraverseSession *const traverseSession,
75 AK_FORCE_INLINE bool isSpaceSubstitutionTerminal(
89 AK_FORCE_INLINE bool isSpaceOmissionTerminal(
107 AK_FORCE_INLINE bool shouldDepthLevelCache(
113 AK_FORCE_INLINE bool shouldNodeLevelCache(
118 AK_FORCE_INLINE bool canDoLookAheadCorrection(
124 AK_FORCE_INLINE ProximityType getProximityType(
132 AK_FORCE_INLINE bool needsToTraverseAllUserInput() const
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
binary_dictionary_bigrams_iterator.h 33 AK_FORCE_INLINE bool hasNext() const {
37 AK_FORCE_INLINE void next() {
41 AK_FORCE_INLINE int getProbability() const {
45 AK_FORCE_INLINE int getBigramPos() const {
binary_dictionary_shortcut_iterator.h 34 AK_FORCE_INLINE bool hasNextShortcutTarget() const {
40 AK_FORCE_INLINE void nextShortcutTarget(
bloom_filter.h 41 AK_FORCE_INLINE void setInFilter(const int32_t position) {
47 AK_FORCE_INLINE bool isInFilter(const int32_t position) const {
  /packages/inputmethods/LatinIME/native/jni/src/utils/
char_utils.h 28 static AK_FORCE_INLINE bool isAsciiUpper(int c) {
34 static AK_FORCE_INLINE int toAsciiLower(int c) {
38 static AK_FORCE_INLINE bool isAscii(int c) {
42 static AK_FORCE_INLINE int toLowerCase(const int c) {
52 static AK_FORCE_INLINE int toBaseLowerCase(const int c) {
56 static AK_FORCE_INLINE bool isIntentionalOmissionCodePoint(const int codePoint) {
61 static AK_FORCE_INLINE int getCodePointCount(const int arraySize, const int *const codePoints) {
71 static AK_FORCE_INLINE int toBaseCodePoint(int c) {
78 static AK_FORCE_INLINE int getSpaceCount(const int *const codePointBuffer, const int length) {
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/
probability_utils.h 28 static AK_FORCE_INLINE int backoff(const int unigramProbability) {
38 static AK_FORCE_INLINE int computeProbabilityForBigram(
buffer_with_extendable_buffer.h 41 AK_FORCE_INLINE int getTailPosition() const {
45 AK_FORCE_INLINE int getUsedAdditionalBufferSize() const {
52 AK_FORCE_INLINE bool isInAdditionalBuffer(const int position) const {
58 AK_FORCE_INLINE const uint8_t *getBuffer(const bool usesAdditionalBuffer) const {
66 AK_FORCE_INLINE int getOriginalBufferSize() const {
70 AK_FORCE_INLINE bool isNearSizeLimit() const {
byte_array_utils.h 36 static AK_FORCE_INLINE void writeUintAndAdvancePosition(uint8_t *const buffer,
63 static AK_FORCE_INLINE uint32_t readUint32(const uint8_t *const buffer, const int pos) {
68 static AK_FORCE_INLINE uint32_t readUint24(const uint8_t *const buffer, const int pos) {
72 static AK_FORCE_INLINE uint16_t readUint16(const uint8_t *const buffer, const int pos) {
76 static AK_FORCE_INLINE uint8_t readUint8(const uint8_t *const buffer, const int pos) {
80 static AK_FORCE_INLINE uint32_t readUint32AndAdvancePosition(
87 static AK_FORCE_INLINE int readSint24AndAdvancePosition(
98 static AK_FORCE_INLINE uint32_t readUint24AndAdvancePosition(
105 static AK_FORCE_INLINE uint16_t readUint16AndAdvancePosition(
112 static AK_FORCE_INLINE uint8_t readUint8AndAdvancePosition
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/shortcut/
shortcut_list_reading_utils.h 32 static AK_FORCE_INLINE int getProbabilityFromFlags(const ShortcutFlags flags) {
36 static AK_FORCE_INLINE bool hasNext(const ShortcutFlags flags) {
44 static AK_FORCE_INLINE int getShortcutListSizeFieldSize() {
48 static AK_FORCE_INLINE void skipShortcuts(const uint8_t *const dictRoot, int *const pos) {
53 static AK_FORCE_INLINE bool isWhitelist(const ShortcutFlags flags) {
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/
damerau_levenshtein_edit_distance_policy.h 33 AK_FORCE_INLINE float getSubstitutionCost(const int index0, const int index1) const {
39 AK_FORCE_INLINE float getDeletionCost(const int index0, const int index1) const {
43 AK_FORCE_INLINE float getInsertionCost(const int index0, const int index1) const {
47 AK_FORCE_INLINE bool allowTransposition(const int index0, const int index1) const {
57 AK_FORCE_INLINE float getTranspositionCost(const int index0, const int index1) const {
61 AK_FORCE_INLINE int getString0Length() const {
65 AK_FORCE_INLINE int getString1Length() const {
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node_priority_queue.h 31 AK_FORCE_INLINE explicit DicNodePriorityQueue(const int capacity)
40 AK_FORCE_INLINE ~DicNodePriorityQueue() {}
50 AK_FORCE_INLINE void setMaxSize(const int maxSize) {
55 AK_FORCE_INLINE void clearAndResizeToCapacity() {
59 AK_FORCE_INLINE void clear() {
63 AK_FORCE_INLINE void clearAndResize(const int maxSize) {
78 AK_FORCE_INLINE DicNode *copyPush(DicNode *dicNode) {
82 AK_FORCE_INLINE void copyPop(DicNode *dest) {
106 AK_FORCE_INLINE void dump() const {
120 AK_FORCE_INLINE static bool compareDicNode(DicNode *left, DicNode *right)
    [all...]
dic_nodes_cache.h 34 AK_FORCE_INLINE explicit DicNodesCache(const bool usesLargeCapacityCache)
46 AK_FORCE_INLINE virtual ~DicNodesCache() {}
48 AK_FORCE_INLINE void reset(const int nextActiveSize, const int terminalSize) {
62 AK_FORCE_INLINE void continueSearch() {
67 AK_FORCE_INLINE void advanceActiveDicNodes() {
91 AK_FORCE_INLINE void copyPushTerminal(DicNode *dicNode) {
95 AK_FORCE_INLINE void copyPushActive(DicNode *dicNode) {
99 AK_FORCE_INLINE bool copyPushContinue(DicNode *dicNode) {
103 AK_FORCE_INLINE void copyPushNextActive(DicNode *dicNode) {
127 AK_FORCE_INLINE bool isCacheBorderForTyping(const int inputSize) const
    [all...]
dic_node_vector.h 35 AK_FORCE_INLINE DicNodeVector() : mDicNodes(0), mLock(false), mEmptyNode() {}
38 AK_FORCE_INLINE DicNodeVector(const int size) : mDicNodes(0), mLock(false), mEmptyNode() {
43 AK_FORCE_INLINE ~DicNodeVector() {}
45 AK_FORCE_INLINE void clear() {
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/
header_policy.h 69 AK_FORCE_INLINE int getSize() const {
73 AK_FORCE_INLINE bool supportsDynamicUpdate() const {
77 AK_FORCE_INLINE bool requiresGermanUmlautProcessing() const {
81 AK_FORCE_INLINE bool requiresFrenchLigatureProcessing() const {
85 AK_FORCE_INLINE float getMultiWordCostMultiplier() const {
89 AK_FORCE_INLINE bool isDecayingDict() const {
93 AK_FORCE_INLINE int getLastUpdatedTime() const {
97 AK_FORCE_INLINE int getLastDecayedTime() const {
101 AK_FORCE_INLINE int getUnigramCount() const {
105 AK_FORCE_INLINE int getBigramCount() const
    [all...]
header_read_write_utils.h 40 static AK_FORCE_INLINE bool supportsDynamicUpdate(const DictionaryFlags flags) {
44 static AK_FORCE_INLINE bool requiresGermanUmlautProcessing(const DictionaryFlags flags) {
48 static AK_FORCE_INLINE bool requiresFrenchLigatureProcessing(const DictionaryFlags flags) {
52 static AK_FORCE_INLINE int getHeaderOptionsPosition() {
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/bigram/
bigram_list_read_write_utils.h 37 static AK_FORCE_INLINE int getProbabilityFromFlags(const BigramFlags flags) {
41 static AK_FORCE_INLINE bool hasNext(const BigramFlags flags) {
49 static AK_FORCE_INLINE int attributeAddressSize(const BigramFlags flags) {
65 static AK_FORCE_INLINE BigramFlags setProbabilityInFlags(const BigramFlags flags,
92 static AK_FORCE_INLINE bool isOffsetNegative(const BigramFlags flags) {
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
geometry_utils.h 33 static AK_FORCE_INLINE float getAngle(const int x1, const int y1, const int x2, const int y2) {
40 static AK_FORCE_INLINE float getAngleDiff(const float a1, const float a2) {
50 static AK_FORCE_INLINE int getDistanceInt(const int x1, const int y1, const int x2,
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
dic_node_state.h 35 AK_FORCE_INLINE DicNodeState()
51 AK_FORCE_INLINE void init(const DicNodeState *const src) {

Completed in 1095 milliseconds

1 2