OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getCodePoints
(Results
1 - 12
of
12
) sorted by null
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/
utf8_utils_test.cpp
31
const std::vector<int> codePoints = Utf8Utils::
getCodePoints
("");
35
const std::vector<int> codePoints = Utf8Utils::
getCodePoints
("test");
43
const std::vector<int> codePoints = Utf8Utils::
getCodePoints
(u8"\u3042a\u03C2\u0410");
51
const std::vector<int> codePoints = Utf8Utils::
getCodePoints
(u8"\U0001F36A?\U0001F752");
59
EXPECT_TRUE(Utf8Utils::
getCodePoints
("\xC0\xAF").empty());
60
EXPECT_TRUE(Utf8Utils::
getCodePoints
("\xE0\x80\xAF").empty());
61
EXPECT_TRUE(Utf8Utils::
getCodePoints
("\xF0\x80\x80\xAF").empty());
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/offdevice_intermediate_dict/
offdevice_intermediate_dict_test.cpp
50
EXPECT_NE(nullptr, dict.getWordProperty(wordProperty0.
getCodePoints
()));
54
EXPECT_NE(nullptr, dict.getWordProperty(wordProperty1.
getCodePoints
()));
58
EXPECT_NE(nullptr, dict.getWordProperty(wordProperty2.
getCodePoints
()));
62
EXPECT_NE(nullptr, dict.getWordProperty(wordProperty3.
getCodePoints
()));
66
EXPECT_NE(nullptr, dict.getWordProperty(wordProperty4.
getCodePoints
()));
70
EXPECT_NE(nullptr, dict.getWordProperty(wordProperty5.
getCodePoints
()));
75
EXPECT_NE(nullptr, dict.getWordProperty(wordProperty0.
getCodePoints
()));
76
EXPECT_NE(nullptr, dict.getWordProperty(wordProperty1.
getCodePoints
()));
77
EXPECT_NE(nullptr, dict.getWordProperty(wordProperty2.
getCodePoints
()));
78
EXPECT_NE(nullptr, dict.getWordProperty(wordProperty3.
getCodePoints
()));
[
all
...]
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
utf8_utils.h
32
static std::vector<int>
getCodePoints
(const std::string &utf8Str);
utf8_utils.cpp
34
/* static */ std::vector<int> Utf8Utils::
getCodePoints
(const std::string &utf8Str) {
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
word_property.h
41
const CodePointArrayView
getCodePoints
() const {
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
pt_node_params.h
56
memcpy(mCodePoints, ptNodeParams.
getCodePoints
(), sizeof(int) * mCodePointCount);
164
return getCodePointCount() > 0 && !CharUtils::isInUnicodeSpace(
getCodePoints
()[0])
169
return getCodePointCount() > 0 &&
getCodePoints
()[0] == CODE_POINT_BEGINNING_OF_SENTENCE
189
AK_FORCE_INLINE const int *
getCodePoints
() const {
dynamic_pt_reading_helper.h
137
return ptNodeParams.
getCodePoints
()[index] == codePoint;
154
const int *const nodeCodePoints = ptNodeParams.
getCodePoints
();
/packages/inputmethods/LatinIME/native/dicttoolkit/src/offdevice_intermediate_dict/
offdevice_intermediate_dict.cpp
25
const CodePointArrayView codePoints = wordProperty.
getCodePoints
();
/packages/inputmethods/LatinIME/native/jni/src/utils/
jni_data_utils.cpp
32
const CodePointArrayView codePoints = wordProperty.
getCodePoints
();
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
FusionDictionary.java
245
static int[]
getCodePoints
(final String word) {
276
add(
getCodePoints
(word), probabilityInfo, isNotAWord, isPossiblyOffensive);
310
add(
getCodePoints
(word1), new ProbabilityInfo(0), false /* isNotAWord */,
508
final int[] codePoints =
getCodePoints
(string);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
ver4_patricia_trie_node_writer.cpp
302
ptNodeParams->
getCodePoints
(), ptNodeParams->getCodePointCount(), ptNodeWritingPos)) {
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
ver4_patricia_trie_node_writer.cpp
355
ptNodeParams->
getCodePoints
(), ptNodeParams->getCodePointCount(), ptNodeWritingPos)) {
Completed in 302 milliseconds