Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/tests/dictionary/header/
Dheader_read_write_utils_test.cpp47 EXPECT_EQ(-1, HeaderReadWriteUtils::readIntAttributeValue(&attributeMap, "", -1)); in TEST()
48 EXPECT_EQ(100, HeaderReadWriteUtils::readIntAttributeValue(&attributeMap, "abc", 100)); in TEST()
51 EXPECT_EQ(10, HeaderReadWriteUtils::readIntAttributeValue(&attributeMap, "abc", 100)); in TEST()
53 EXPECT_EQ(20, HeaderReadWriteUtils::readIntAttributeValue(&attributeMap, "abc", 100)); in TEST()
55 EXPECT_EQ(30, HeaderReadWriteUtils::readIntAttributeValue(&attributeMap, "abcd", 100)); in TEST()
56 EXPECT_EQ(20, HeaderReadWriteUtils::readIntAttributeValue(&attributeMap, "abc", 100)); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_policy.h45 mDate(HeaderReadWriteUtils::readIntAttributeValue(&mAttributeMap, in HeaderPolicy()
47 mLastDecayedTime(HeaderReadWriteUtils::readIntAttributeValue(&mAttributeMap, in HeaderPolicy()
50 mExtendedRegionSize(HeaderReadWriteUtils::readIntAttributeValue(&mAttributeMap, in HeaderPolicy()
54 mForgettingCurveProbabilityValuesTableId(HeaderReadWriteUtils::readIntAttributeValue( in HeaderPolicy()
70 mDate(HeaderReadWriteUtils::readIntAttributeValue(&mAttributeMap, in HeaderPolicy()
72 mLastDecayedTime(HeaderReadWriteUtils::readIntAttributeValue(&mAttributeMap, in HeaderPolicy()
78 mForgettingCurveProbabilityValuesTableId(HeaderReadWriteUtils::readIntAttributeValue( in HeaderPolicy()
Dheader_policy.cpp81 const int demotionRate = HeaderReadWriteUtils::readIntAttributeValue(&mAttributeMap, in readMultipleWordCostMultiplier()
165 const int entryCount = HeaderReadWriteUtils::readIntAttributeValue(&mAttributeMap, in readNgramCounts()
176 const int maxEntryCount = HeaderReadWriteUtils::readIntAttributeValue(&mAttributeMap, in readMaxNgramCounts()
Dheader_read_write_utils.cpp205 const int intValue = readIntAttributeValue(headerAttributes, key, intDefaultValue); in readBoolAttributeValue()
209 /* static */ int HeaderReadWriteUtils::readIntAttributeValue( in readIntAttributeValue() function in latinime::HeaderReadWriteUtils
Dheader_read_write_utils.h88 static int readIntAttributeValue(