/external/harfbuzz/contrib/tables/ |
unicode_parse_common.py | 38 codepoints = codepoints_parse(line[0]) 43 if type(codepoints) == int: 44 codepoints = (codepoints, codepoints) 46 ranges.append((codepoints[0], codepoints[1], value))
|
/external/chromium_org/third_party/icu/source/i18n/ |
ucol_cnt.cpp | 36 UChar *newCPs = (UChar *)uprv_realloc(tbl->codePoints, 2*tbl->size*sizeof(UChar)); 43 tbl->codePoints = newCPs; 71 tbl->codePoints = NULL; 87 el->codePoints = (UChar *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(UChar)); 88 if(el->codePoints == NULL) { 96 uprv_memset(el->codePoints, 0, INIT_EXP_TABLE_SIZE*sizeof(UChar)); 109 uprv_free(el->codePoints); 167 if(table->codePoints != NULL) { 168 uprv_free(table->codePoints); 170 table->codePoints = (UChar *)uprv_malloc(table->position*sizeof(UChar)) [all...] |
ucol_cnt.h | 40 UChar *codePoints; 50 UChar *codePoints;
|
/external/icu4c/i18n/ |
ucol_cnt.cpp | 36 UChar *newCPs = (UChar *)uprv_realloc(tbl->codePoints, 2*tbl->size*sizeof(UChar)); 43 tbl->codePoints = newCPs; 71 tbl->codePoints = NULL; 87 el->codePoints = (UChar *)uprv_malloc(INIT_EXP_TABLE_SIZE*sizeof(UChar)); 88 if(el->codePoints == NULL) { 96 uprv_memset(el->codePoints, 0, INIT_EXP_TABLE_SIZE*sizeof(UChar)); 109 uprv_free(el->codePoints); 167 if(table->codePoints != NULL) { 168 uprv_free(table->codePoints); 170 table->codePoints = (UChar *)uprv_malloc(table->position*sizeof(UChar)) [all...] |
ucol_cnt.h | 40 UChar *codePoints; 50 UChar *codePoints;
|
/external/icu4c/samples/props/ |
props.cpp | 53 codePoints[]={ 58 for(i=0; i<sizeof(codePoints)/sizeof(codePoints[0]); ++i) { 59 printProps(codePoints[i]);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/ |
dynamic_patricia_trie_writing_helper.h | 86 const int *const codePoints, const int codePointCount, const int probability, 104 const int parentPos, const int *const codePoints, const int codePointCount, 109 const int parentPos, const int *const codePoints, const int codePointCount, 116 const int probability, const int *const codePoints, bool *const outAddedNewUnigram); 120 const int *const codePoints, const int codePointCount);
|
dynamic_patricia_trie_writing_helper.cpp | 258 const bool isNotAWord, const int parentPos, const int *const codePoints, 276 codePoints, codePointCount, writingPos)) { 325 const int *const codePoints, const int codePointCount, const int probability, 328 false /* isNotAWord */, parentPos, codePoints, codePointCount, probability, 336 const int *const codePoints, const int codePointCount, const int probability, 339 originalNode->isNotAWord(), parentPos, codePoints, codePointCount, probability, 358 const int *const codePoints, bool *const outAddedNewUnigram) { 377 originalPtNode->getParentPos(), codePoints, originalPtNode->getCodePointCount(), 388 const int *const codePoints, const int codePointCount) { 395 return createNewPtNodeArrayWithAChildPtNode(parentNode->getHeadPos(), codePoints, [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
buffer_with_extendable_buffer.cpp | 48 bool BufferWithExtendableBuffer::writeCodePointsAndAdvancePosition(const int *const codePoints, 51 codePoints, codePointCount, writesTerminator); 60 ByteArrayUtils::writeCodePointsAndAdvancePosition(buffer, codePoints, codePointCount,
|
/ndk/sources/android/support/src/musl-ctype/ |
iswprint.c | 3 /* Consider all legal codepoints as printable except for:
|
/frameworks/base/core/java/android/emoji/ |
EmojiFactory.java | 188 int[] codePoints = new int[vspString.codePointCount(0, len)]; 196 codePoints[new_len] = newCodePoint; 200 codePoints[new_len] = codePoint; 202 return new String(codePoints, 0, new_len); 222 int[] codePoints = new int[puaString.codePointCount(0, len)]; 230 codePoints[new_len] = newCodePoint; 234 codePoints[new_len] = codePoint; 236 return new String(codePoints, 0, new_len);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
citertst.c | 1028 * Getting codepoints from a string 1029 * @param str character string contain codepoints seperated by space and ended 1031 * @param codepoints array for storage, assuming size > 5 1034 static char *getCodePoints(char *str, UChar *codepoints, UChar *contextCPs) { 1269 UChar codepoints[10]; local 1700 UChar codepoints[11]; local 1909 UChar codepoints[10]; local [all...] |
/external/icu4c/test/cintltst/ |
citertst.c | 1028 * Getting codepoints from a string 1029 * @param str character string contain codepoints seperated by space and ended 1031 * @param codepoints array for storage, assuming size > 5 1034 static char *getCodePoints(char *str, UChar *codepoints, UChar *contextCPs) { 1269 UChar codepoints[10]; local 1702 UChar codepoints[11]; local 1923 UChar codepoints[10]; local [all...] |
/external/chromium_org/third_party/icu/source/common/ |
usetiter.cpp | 43 * <br>You are guaranteed that the codepoints are in sorted order, and the strings are in sorted order, 69 * else the value is a range of codepoints in the <codepoint, codepointEnd> fields. 70 * <br>Note that the codepoints are in sorted order, and the strings are in sorted order,
|
/external/clang/lib/Format/ |
Encoding.h | 42 unsigned CodePoints = 0; 44 ++CodePoints; 46 return CodePoints;
|
/external/icu4c/common/ |
usetiter.cpp | 43 * <br>You are guaranteed that the codepoints are in sorted order, and the strings are in sorted order, 69 * else the value is a range of codepoints in the <codepoint, codepointEnd> fields. 70 * <br>Note that the codepoints are in sorted order, and the strings are in sorted order,
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
ucm.h | 71 UChar32 *codePoints; 111 (((m)->uLen==1) ? &(m)->u : (t)->codePoints+(m)->u) 132 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 139 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 252 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 259 UChar32 codePoints[UCNV_EXT_MAX_UCHARS],
|
ucm.c | 43 printMapping(UCMapping *m, UChar32 *codePoints, uint8_t *bytes, FILE *f) { 47 fprintf(f, "<U%04lX>", (long)codePoints[j]); 781 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 819 codePoints[uLen++]=cp; 827 m->u=codePoints[0]; 830 u_strFromUTF32(NULL, 0, &u16Length, codePoints, uLen, &errorCode); 893 uprv_free(table->codePoints); 914 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 944 table->codePoints=(UChar32 *)uprv_malloc(table->codePointsCapacity*4); 945 if(table->codePoints==NULL) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
char_utils.h | 61 static AK_FORCE_INLINE int getCodePointCount(const int arraySize, const int *const codePoints) { 64 if (codePoints[size] == '\0') {
|
/external/icu4c/tools/toolutil/ |
ucm.c | 43 printMapping(UCMapping *m, UChar32 *codePoints, uint8_t *bytes, FILE *f) { 47 fprintf(f, "<U%04lX>", (long)codePoints[j]); 781 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 819 codePoints[uLen++]=cp; 827 m->u=codePoints[0]; 830 u_strFromUTF32(NULL, 0, &u16Length, codePoints, uLen, &errorCode); 893 uprv_free(table->codePoints); 914 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 944 table->codePoints=(UChar32 *)uprv_malloc(table->codePointsCapacity*4); 945 if(table->codePoints==NULL) [all...] |
ucm.h | 72 UChar32 *codePoints; 112 (((m)->uLen==1) ? &(m)->u : (t)->codePoints+(m)->u) 133 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 140 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 253 UChar32 codePoints[UCNV_EXT_MAX_UCHARS], 260 UChar32 codePoints[UCNV_EXT_MAX_UCHARS],
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
DynamicBinaryDictIOUtils.java | 183 * @param codePoints the characters to put inside the PtNode. 184 * @param length how many code points to read from codePoints. 198 private static int movePtNode(final int fileEndAddress, final int[] codePoints, 206 final int[] writtenCharacters = Arrays.copyOfRange(codePoints, 0, length); 274 final int[] codePoints = FusionDictionary.getCodePoints(word); 275 final int wordLen = codePoints.length; 327 } else if (codePoints[wordPos + p] != currentInfo.mCharacters[p]) { 378 final int[] newCharacters = Arrays.copyOfRange(codePoints, wordPos + p, 379 codePoints.length); 436 final int[] characters = Arrays.copyOfRange(codePoints, wordPos, wordLen) [all...] |
/external/harfbuzz_ng/src/ |
hb-unicode.h | 256 * Fully decompose @u to its Unicode compatibility decomposition. The codepoints of the decomposition will be written to @decomposed. 261 * The Unicode standard guarantees that a buffer of length %HB_UNICODE_MAX_DECOMPOSITION_LEN codepoints will always be sufficient for any 265 * Return value: number of codepoints in the full compatibility decomposition of @u, or 0 if no decomposition available. 273 #define HB_UNICODE_MAX_DECOMPOSITION_LEN (18+1) /* codepoints */
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
SmartDialMap.java | 5 * they will need to be changed to use codepoints instead of characters.
|
/packages/inputmethods/LatinIME/native/jni/ |
com_android_inputmethod_latin_BinaryDictionary.cpp | 236 int codePoints[wordLength]; 237 env->GetIntArrayRegion(word, 0, wordLength, codePoints); 238 return dictionary->getProbability(codePoints, wordLength); 286 int codePoints[wordLength]; 287 env->GetIntArrayRegion(word, 0, wordLength, codePoints); 288 dictionary->addUnigramWord(codePoints, wordLength, probability);
|