/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/tools/ |
entities.json | 2 "Á": { "codepoints": [193], "characters": "\u00C1" }, 3 "Á": { "codepoints": [193], "characters": "\u00C1" }, 4 "á": { "codepoints": [225], "characters": "\u00E1" }, 5 "á": { "codepoints": [225], "characters": "\u00E1" }, 6 "Ă": { "codepoints": [258], "characters": "\u0102" }, 7 "ă": { "codepoints": [259], "characters": "\u0103" }, 8 "∾": { "codepoints": [8766], "characters": "\u223E" }, 9 "∿": { "codepoints": [8767], "characters": "\u223F" }, 10 "∾̳": { "codepoints": [8766, 819], "characters": "\u223E\u0333" }, 11 "Â": { "codepoints": [194], "characters": "\u00C2" } [all...] |
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/ |
utf8_utils_test.cpp | 31 const std::vector<int> codePoints = Utf8Utils::getCodePoints(""); 32 EXPECT_EQ(0u, codePoints.size()); 35 const std::vector<int> codePoints = Utf8Utils::getCodePoints("test"); 36 EXPECT_EQ(4u, codePoints.size()); 37 EXPECT_EQ('t', codePoints[0]); 38 EXPECT_EQ('e', codePoints[1]); 39 EXPECT_EQ('s', codePoints[2]); 40 EXPECT_EQ('t', codePoints[3]); 43 const std::vector<int> codePoints = Utf8Utils::getCodePoints(u8"\u3042a\u03C2\u0410"); 44 EXPECT_EQ(4u, codePoints.size()) [all...] |
/packages/inputmethods/LatinIME/native/dicttoolkit/src/offdevice_intermediate_dict/ |
offdevice_intermediate_dict.cpp | 25 const CodePointArrayView codePoints = wordProperty.getCodePoints(); 26 if (codePoints.empty() || codePoints.size() > MAX_WORD_LENGTH) { 29 return addWordInner(codePoints, wordProperty, mRootPtNodeArray); 32 bool OffdeviceIntermediateDict::addWordInner(const CodePointArrayView codePoints, 39 if (codePoints[0] < ptNodeCodePoints[0]) { 42 if (codePoints[0] > ptNodeCodePoints[0]) { 46 for (; i < codePoints.size(); ++i) { 49 return addWordInner(codePoints.skip(i), wordProperty, 52 if (codePoints[i] != ptNodeCodePoints[i]) [all...] |
offdevice_intermediate_dict.h | 39 const WordProperty *getWordProperty(const CodePointArrayView codePoints) const; 48 bool addWordInner(const CodePointArrayView codePoints, const WordProperty &wordProperty,
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
char_utils.h | 56 static AK_FORCE_INLINE int getCodePointCount(const int arraySize, const int *const codePoints) { 59 if (codePoints[size] == '\0') { 89 static AK_FORCE_INLINE int attachBeginningOfSentenceMarker(int *const codePoints, 91 if (codePointCount > 0 && codePoints[0] == CODE_POINT_BEGINNING_OF_SENTENCE) { 99 memmove(codePoints + 1, codePoints, sizeof(int) * codePointCount); 100 codePoints[0] = CODE_POINT_BEGINNING_OF_SENTENCE; 105 static AK_FORCE_INLINE int removeBeginningOfSentenceMarker(int *const codePoints, 107 if (codePointCount <= 0 || codePoints[0] != CODE_POINT_BEGINNING_OF_SENTENCE) { 111 memmove(codePoints, codePoints + 1, sizeof(int) * newCodePointCount) [all...] |
jni_data_utils.cpp | 32 const CodePointArrayView codePoints = wordProperty.getCodePoints(); 34 MAX_WORD_LENGTH /* maxLength */, codePoints.data(), codePoints.size(), 62 const CodePointArrayView codePoints = ngramContext->getNthPrevWordCodePoints(i + 1); 63 jintArray prevWordCodePoints = env->NewIntArray(codePoints.size()); 65 codePoints.size(), codePoints.data(), codePoints.size(),
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
dictionary.cpp | 103 int Dictionary::getProbability(const CodePointArrayView codePoints) const { 104 return getNgramProbability(nullptr /* ngramContext */, codePoints); 107 int Dictionary::getMaxProbabilityOfExactMatches(const CodePointArrayView codePoints) const { 110 mDictionaryStructureWithBufferPolicy.get(), codePoints); 114 const CodePointArrayView codePoints) const { 116 const int wordId = mDictionaryStructureWithBufferPolicy->getWordId(codePoints, 129 bool Dictionary::addUnigramEntry(const CodePointArrayView codePoints, 138 return mDictionaryStructureWithBufferPolicy->addUnigramEntry(codePoints, unigramProperty); 141 bool Dictionary::removeUnigramEntry(const CodePointArrayView codePoints) { 143 return mDictionaryStructureWithBufferPolicy->removeUnigramEntry(codePoints); [all...] |
dictionary.h | 77 int getProbability(const CodePointArrayView codePoints) const; 79 int getMaxProbabilityOfExactMatches(const CodePointArrayView codePoints) const; 82 const CodePointArrayView codePoints) const; 84 bool addUnigramEntry(const CodePointArrayView codePoints, 87 bool removeUnigramEntry(const CodePointArrayView codePoints); 92 const CodePointArrayView codePoints); 95 const CodePointArrayView codePoints, const bool isValidWord, 107 const WordProperty getWordProperty(const CodePointArrayView codePoints);
|
dictionary_utils.h | 34 const CodePointArrayView codePoints);
|
/external/icu/icu4c/source/samples/props/ |
props.cpp | 53 codePoints[]={ 58 for(i=0; i<sizeof(codePoints)/sizeof(codePoints[0]); ++i) { 59 printProps(codePoints[i]);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
StringBufferTest.java | 45 assertTrue(Arrays.equals(expected, s.codePoints().toArray())); 50 assertEquals(Character.toCodePoint(high, low), surrogateCP.codePoints().toArray()[0]); 51 assertEquals((int) low, surrogateCP.codePoints().toArray()[1]); // Unmatched surrogate. 52 assertEquals((int) '0', surrogateCP.codePoints().toArray()[2]);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
suggested_word.h | 42 SuggestedWord(const int *const codePoints, const int codePointCount, 45 : mCodePoints(codePoints, codePoints + codePointCount), mScore(score),
|
suggestion_results.h | 41 void addPrediction(const int *const codePoints, const int codePointCount, const int score); 42 void addSuggestion(const int *const codePoints, const int codePointCount,
|
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/offdevice_intermediate_dict/ |
offdevice_intermediate_dict_test.cpp | 31 std::vector<int> codePoints; 33 codePoints.push_back(*str); 36 return codePoints; 39 const WordProperty getDummpWordProperty(const std::vector<int> &&codePoints) { 40 return WordProperty(std::move(codePoints), UnigramProperty(), std::vector<NgramProperty>());
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
pt_node_params.h | 61 const int codePointCount, const int *const codePoints, const int probability, 71 memcpy(mCodePoints, codePoints, sizeof(int) * mCodePointCount); 76 const int parentPos, const int codePointCount, const int *const codePoints, 86 memcpy(mCodePoints, codePoints, sizeof(int) * mCodePointCount); 92 const CodePointArrayView codePoints, const int probability) 94 mParentPos(parentPos), mCodePointCount(codePoints.size()), mCodePoints(), 105 memcpy(mCodePoints, codePoints.data(), sizeof(int) * mCodePointCount); 109 const CodePointArrayView codePoints, const int probability) 111 mCodePointCount(codePoints.size()), mCodePoints(), 118 memcpy(mCodePoints, codePoints.data(), sizeof(int) * mCodePointCount) [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
PayloadTypes.h | 14 /* RTP defined codepoints */ 28 /* Dynamic RTP codepoints as defined in VoiceEngine (file VEAPI.cpp) */ 58 /* Extra dynamic codepoints */
|
/libcore/luni/src/test/java/libcore/java/nio/ |
CharBufferTest.java | 46 assertTrue(Arrays.equals(expected, cb.codePoints().limit(s.length()).toArray())); 53 assertEquals(Character.toCodePoint(high, low), cb.codePoints().toArray()[0]); 54 assertEquals((int) low, cb.codePoints().toArray()[1]); // Unmatched surrogate. 55 assertEquals((int) '0', cb.codePoints().toArray()[2]);
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
utf8_utils.cpp | 35 std::vector<int> codePoints; 59 codePoints.push_back(codePoint); 62 return codePoints; 84 /* static */ std::string Utf8Utils::getUtf8String(const CodePointArrayView codePoints) { 86 for (const int codePoint : codePoints) {
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/shortcut/ |
ver4_shortcut_list_policy.h | 66 bool addNewShortcut(const int terminalId, const int *const codePoints, const int codePointCount, 76 return mShortcutDictContent->writeShortcutEntry(codePoints, codePointCount, probability, 80 codePoints, codePointCount); 89 if (!mShortcutDictContent->writeShortcutEntryAndAdvancePosition(codePoints, 101 if (!mShortcutDictContent->writeShortcutEntry(codePoints,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/shortcut/ |
ver4_shortcut_list_policy.h | 56 bool addNewShortcut(const int terminalId, const int *const codePoints, const int codePointCount, 66 return mShortcutDictContent->writeShortcutEntry(codePoints, codePointCount, probability, 70 codePoints, codePointCount); 79 if (!mShortcutDictContent->writeShortcutEntryAndAdvancePosition(codePoints, 91 if (!mShortcutDictContent->writeShortcutEntry(codePoints,
|
/external/okhttp/okio/okio/src/test/java/okio/ |
Utf8Test.java | 189 private void assertEncoded(String hex, int... codePoints) throws Exception { 190 assertCodePointEncoded(hex, codePoints); 191 assertCodePointDecoded(hex, codePoints); 192 assertStringEncoded(hex, new String(codePoints, 0, codePoints.length)); 195 private void assertCodePointEncoded(String hex, int... codePoints) throws Exception { 197 for (int codePoint : codePoints) { 203 private void assertCodePointDecoded(String hex, int... codePoints) throws Exception { 205 for (int codePoint : codePoints) {
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/header/ |
header_read_write_utils_test.cpp | 71 const std::vector<int> codePoints = { 0x0, 0x20, 0x1F, 0x100000 }; 72 HeaderReadWriteUtils::setCodePointVectorAttribute(&attributeMap, "abc", codePoints); 73 EXPECT_EQ(codePoints, HeaderReadWriteUtils::readCodePointVectorAttributeValue(
|
/external/smali/util/src/main/java/org/jf/util/ |
ClassFileNameHandler.java | 178 * The removed codePoints in the middle of the string will be replaced with a # character. 185 int[] codePoints; 188 codePoints = new int[intBuffer.limit()]; 189 intBuffer.get(codePoints); 194 int midPoint = codePoints.length/2; 198 int bytesRemoved = utf8Length(codePoints[midPoint]); 200 // if we have an even number of codepoints, start by removing both middle characters, 202 if (((codePoints.length % 2) == 0) && bytesRemoved < bytesToRemove) { 203 bytesRemoved += utf8Length(codePoints[secondStart]); 208 (firstEnd > 0 || secondStart < codePoints.length)) [all...] |
/ndk/sources/android/support/src/musl-ctype/ |
iswprint.c | 3 /* Consider all legal codepoints as printable except for:
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
ngram_context.cpp | 95 int codePoints[MAX_WORD_LENGTH]; 97 memmove(codePoints, wordCodePoints, sizeof(int) * codePointCount); 99 codePointCount = CharUtils::attachBeginningOfSentenceMarker(codePoints, codePointCount, 105 const CodePointArrayView codePointArrayView(codePoints, codePointCount);
|