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

1 2 3 4 5 6

  /packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
format_utils_test.cpp 29 EXPECT_EQ(0x9BC13AFE, FormatUtils::MAGIC_NUMBER) << "Magic number must not be changed.";
54 EXPECT_EQ(FormatUtils::UNKNOWN_VERSION,
55 FormatUtils::detectFormatVersion(ReadOnlyByteArrayView()));
59 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_2, 0, 0);
60 EXPECT_EQ(FormatUtils::VERSION_2, FormatUtils::detectFormatVersion(
65 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_402, 0, 0);
66 EXPECT_EQ(FormatUtils::VERSION_402, FormatUtils::detectFormatVersion
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
format_utils.cpp 23 const uint32_t FormatUtils::MAGIC_NUMBER = 0x9BC13AFE;
26 const size_t FormatUtils::DICTIONARY_MINIMUM_SIZE = 12;
28 /* static */ FormatUtils::FORMAT_VERSION FormatUtils::getFormatVersion(const int formatVersion) {
46 /* static */ FormatUtils::FORMAT_VERSION FormatUtils::detectFormatVersion(
format_utils.h 30 class FormatUtils {
54 DISALLOW_IMPLICIT_CONSTRUCTORS(FormatUtils);
dict_file_writing_utils.cpp 45 const FormatUtils::FORMAT_VERSION formatVersion = FormatUtils::getFormatVersion(dictVersion);
47 case FormatUtils::VERSION_402:
52 case FormatUtils::VERSION_4_ONLY_FOR_TESTING:
53 case FormatUtils::VERSION_403:
68 const FormatUtils::FORMAT_VERSION formatVersion) {
dict_file_writing_utils.h 52 const FormatUtils::FORMAT_VERSION formatVersion);
58 const FormatUtils::FORMAT_VERSION formatVersion);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/
dictionary_structure_with_buffer_policy_factory.cpp 59 FormatUtils::FORMAT_VERSION dictFormatVersion = FormatUtils::getFormatVersion(formatVersion);
61 case FormatUtils::VERSION_402: {
68 case FormatUtils::VERSION_4_ONLY_FOR_TESTING:
69 case FormatUtils::VERSION_403: {
85 const FormatUtils::FORMAT_VERSION formatVersion,
113 const FormatUtils::FORMAT_VERSION formatVersion = FormatUtils::detectFormatVersion(
116 case FormatUtils::VERSION_2:
117 case FormatUtils::VERSION_201
    [all...]
dictionary_structure_with_buffer_policy_factory.h 45 newPolicyForOnMemoryV4Dict(const FormatUtils::FORMAT_VERSION formatVersion,
54 const char *const headerFilePath, const FormatUtils::FORMAT_VERSION formatVersion,
  /packages/apps/Contacts/tests/src/com/android/contacts/format/
FormatUtilsTests.java 30 assertEquals(2, FormatUtils.overlapPoint("abcde", "cdefg"));
31 assertEquals(-1, FormatUtils.overlapPoint("John Doe", "John Doe"));
32 assertEquals(5, FormatUtils.overlapPoint("John Doe", "Doe, John"));
33 assertEquals(-1, FormatUtils.overlapPoint("Mr. John Doe", "Mr. Doe, John"));
34 assertEquals(13, FormatUtils.overlapPoint("John Herbert Doe", "Doe, John Herbert"));
59 FormatUtils.copyToCharArrayBuffer(text, buffer);
60 assertEquals(text, FormatUtils.charArrayBufferToString(buffer));
67 FormatUtils.copyToCharArrayBuffer(value, buffer);
75 assertEquals(-1, FormatUtils.indexOfWordPrefix("test", null));
79 assertEquals(-1, FormatUtils.indexOfWordPrefix(null, "TE"))
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
header_policy.h 35 HeaderPolicy(const uint8_t *const dictBuf, const FormatUtils::FORMAT_VERSION formatVersion)
60 HeaderPolicy(const FormatUtils::FORMAT_VERSION dictFormatVersion,
102 : mDictFormatVersion(FormatUtils::UNKNOWN_VERSION), mDictionaryFlags(0), mSize(0),
116 case FormatUtils::VERSION_2:
117 case FormatUtils::VERSION_201:
119 return FormatUtils::UNKNOWN_VERSION;
120 case FormatUtils::VERSION_202:
121 return FormatUtils::VERSION_202;
122 case FormatUtils::VERSION_4_ONLY_FOR_TESTING:
123 return FormatUtils::VERSION_4_ONLY_FOR_TESTING
    [all...]
header_read_write_utils.cpp 105 BufferWithExtendableBuffer *const buffer, const FormatUtils::FORMAT_VERSION version,
107 if (!buffer->writeUintAndAdvancePosition(FormatUtils::MAGIC_NUMBER, HEADER_MAGIC_NUMBER_SIZE,
112 case FormatUtils::VERSION_2:
113 case FormatUtils::VERSION_201:
114 case FormatUtils::VERSION_202:
117 case FormatUtils::VERSION_4_ONLY_FOR_TESTING:
118 case FormatUtils::VERSION_402:
119 case FormatUtils::VERSION_403:
header_read_write_utils.h 53 const FormatUtils::FORMAT_VERSION version, int *const writingPos);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
ver4_dict_buffers.h 49 const FormatUtils::FORMAT_VERSION formatVersion);
134 const FormatUtils::FORMAT_VERSION formatVersion);
ver4_dict_buffers.cpp 41 const FormatUtils::FORMAT_VERSION formatVersion) {
130 const FormatUtils::FORMAT_VERSION formatVersion)
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
ver4_dict_buffers.h 40 const FormatUtils::FORMAT_VERSION formatVersion);
114 const FormatUtils::FORMAT_VERSION formatVersion,
ver4_dict_buffers.cpp 35 const FormatUtils::FORMAT_VERSION formatVersion) {
172 const FormatUtils::FORMAT_VERSION formatVersion,
  /packages/apps/Contacts/src/com/android/contacts/format/
TextHighlighter.java 85 int index = FormatUtils.indexOfWordPrefix(text, trimmedPrefix);
FormatUtils.java 30 public class FormatUtils {
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
patricia_trie_policy.h 47 FormatUtils::detectFormatVersion(mMmappedBuffer->getReadOnlyByteArrayView())),
  /external/lzma/CPP/7zip/Bundles/SFXSetup/
makefile 65 $O\FormatUtils.obj \
  /external/lzma/CPP/7zip/Bundles/SFXWin/
makefile 83 $O\FormatUtils.obj \
  /external/caliper/lib/
joda-time-2.1.jar 
  /prebuilts/tools/common/m2/repository/joda-time/joda-time/2.8.1/
joda-time-2.8.1.jar 
  /prebuilts/tools/common/m2/repository/joda-time/joda-time/2.9.1/
joda-time-2.9.1.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdklib/22.2.0/
sdklib-22.2.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdklib/22.4.0/
sdklib-22.4.0.jar 

Completed in 1884 milliseconds

1 2 3 4 5 6