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

1 2

  /external/sqlite/android/
PhoneticStringUtils.cpp 35 static int GetHiraganaFromHalfwidthKatakana(char32_t codepoint,
38 if (codepoint < 0xFF66 || 0xFF9F < codepoint) {
39 return codepoint;
42 switch (codepoint) {
71 if (0xFF71 <= codepoint && codepoint <= 0xFF75) {
73 if (codepoint == 0xFF73 && next_codepoint == 0xFF9E) {
79 return 0x3042 + (codepoint - 0xFF71) * 2;
81 } else if (0xFF76 <= codepoint && codepoint <= 0xFF81)
    [all...]
PhoneticStringUtils.h 25 // Returns codepoint which is "normalized", whose definition depends on each
30 // when previous "codepoint" is appropriate, like half-width "ka").
34 int GetNormalizedCodePoint(char32_t codepoint,
38 // Pushes Utf8 expression of "codepoint" to "dst". Returns true when successful.
41 bool GetUtf8FromCodePoint(int codepoint, char *dst, size_t len, size_t *index);
PhoneticStringUtilsTest.cpp 120 #define EXPECT_EQ_CODEPOINT_UTF8(codepoint, expected) \
122 char32_t codepoints[1] = {codepoint}; \
125 printf("GetUtf8FromCodePoint() returned false at 0x%04X\n", codepoint); \
130 printf("Failed at codepoint 0x%04X\n", codepoint); \
  /external/chromium/net/data/proxy_resolver_v8_unittest/
return_unicode.js 1 // U+200B is the codepoint for zero-width-space.
  /external/icu4c/common/
usetiter.cpp 41 * if so, if codepoint == IS_STRING, the value is a string in the string field
42 * else the value is a single code point in the codepoint field.
49 codepoint = codepointEnd = nextElement++;
55 codepoint = codepointEnd = nextElement++;
61 codepoint = (UChar32)IS_STRING; // signal that value is actually a string
68 * if so, if codepoint == IS_STRING, the value is a string in the string field
69 * else the value is a range of codepoints in the <codepoint, codepointEnd> fields.
81 codepoint = nextElement;
88 codepoint = nextElement;
94 codepoint = (UChar32)IS_STRING; // signal that value is actually a strin
    [all...]
  /external/icu4c/common/unicode/
usetiter.h 66 * Value of <tt>codepoint</tt> if the iterator points to a string.
67 * If <tt>codepoint == IS_STRING</tt>, then examine
78 UChar32 codepoint; member in class:UnicodeSetIterator
83 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
85 * <tt>codepoint == IS_STRING</tt>, then the value of
92 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> points
93 * to the current string. If <tt>codepoint != IS_STRING</tt>, the
129 * Elements of types string and codepoint can both be retrieved
131 * Elements of type codepoint can also be retrieved with
133 * For ranges, <tt>getCodepoint()</tt> returns the starting codepoint
    [all...]
uscript.h 269 * Gets the script code associated with the given codepoint.
271 * @param codepoint UChar32 codepoint
273 * @return The UScriptCode, or 0 if codepoint is invalid
277 uscript_getScript(UChar32 codepoint, UErrorCode *err);
  /external/icu4c/tools/gensprep/
gensprep.h 49 storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length, UStringPrepType type, UErrorCode* status);
store.c 97 * 0 - ON : The code point is prohibited (USPREP_PROHIBITED). This is to allow for codepoint that are both prohibited and mapped.
242 int32_t codepoint = 0; local
264 codepoint = element->key.integer;
293 savedTrieWord= utrie_get32(sprepTrie,codepoint,NULL);
300 * the codepoint has value something other than prohibited
303 fprintf(stderr,"Type for codepoint \\U%08X already set!.\n", (int)codepoint);
309 if(!utrie_set32(sprepTrie,codepoint,trieWord)){
314 /* written the trie word for the codepoint... increment the count*/
373 storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length
    [all...]
  /external/icu4c/tools/dumpce/
dumpce.cpp 114 int count; // number of codepoint
163 UChar *codepoint = iter->iteratordata_.string; local
170 serialize(f, codepoint, iter->iteratordata_.endp - codepoint);
171 sortkeylength = ucol_getSortKey(iter->iteratordata_.coll, codepoint,
172 iter->iteratordata_.endp - codepoint, sortkey, 64);
175 serialize(f, codepoint);
176 sortkeylength = ucol_getSortKey(iter->iteratordata_.coll, codepoint,
180 serialize(stdout, codepoint);
380 UChar32 codepoint = 0 local
875 UChar32 codepoint; local
940 UChar32 codepoint; local
959 UChar32 codepoint = 0; local
1040 UChar32 codepoint = 0; local
    [all...]
  /external/icu4c/test/intltest/
itercoll.cpp 51 UChar codepoint; local
54 for (codepoint = 1; codepoint < 0xFFFE;)
58 while (codepoint % 0xFF != 0)
60 if (u_isdefined(codepoint))
61 source += codepoint;
62 codepoint ++;
65 if (u_isdefined(codepoint))
66 source += codepoint;
68 if (codepoint != 0xFFFF
    [all...]
testidn.cpp 52 compareMapping(uint32_t codepoint, uint32_t* mapping, int32_t mapLength,
226 * the source codepoint is copied to the destination
325 compareMapping(uint32_t codepoint, uint32_t* mapping,int32_t mapLength,
328 UTRIE_GET16(idnTrie,codepoint, result);
340 pTestIDNA->errln( "Did not get the assigned type for codepoint 0x%08X. Expected: %i Got: %i\n",codepoint, USPREP_MAP, type);
393 if(retType!=USPREP_DELETE && (codepoint-delta) != (uint16_t)mapping[0]){
394 pTestIDNA->errln("Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[0],(codepoint-delta));
  /external/icu4c/test/cintltst/
sprpdata.c 36 compareMapping(UStringPrepProfile* data, uint32_t codepoint, uint32_t* mapping, int32_t mapLength,
117 * the source codepoint is copied to the destination
146 compareMapping(UStringPrepProfile* data, uint32_t codepoint, uint32_t* mapping,int32_t mapLength,
160 UTRIE_GET16(&trie, codepoint, result);
166 log_err( "Did not get the assigned type for codepoint 0x%08X. Expected: %i Got: %i\n",codepoint, USPREP_MAP, type);
218 if(retType!=USPREP_DELETE && (codepoint-delta) != (uint16_t)mapping[0]){
219 log_err("Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[0],(codepoint-delta));
citertst.c 225 UChar codepoint; local
235 for (codepoint = 1; codepoint < 0xFFFE;)
239 while (codepoint % 0xFF != 0)
241 if (u_isdefined(codepoint))
242 *(test ++) = codepoint;
243 codepoint ++;
246 if (u_isdefined(codepoint))
247 *(test ++) = codepoint;
249 if (codepoint != 0xFFFF
291 UChar codepoint; local
    [all...]
utf16tst.c 82 static uint32_t codepoint[]={ local
97 for(i=0; i<sizeof(codepoint)/sizeof(codepoint[0]); i=(int16_t)(i+2)){
98 UChar32 c=codepoint[i+1];
99 if(UTF16_CHAR_LENGTH(c) != (uint16_t)codepoint[i] || U16_LENGTH(c) != (uint16_t)codepoint[i]){
100 log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], UTF16_CHAR_LENGTH(c));
104 multiple=(UBool)(codepoint[i] == 1 ? FALSE : TRUE);
131 /*codepoint-unsafe, codepoint-safe(not strict) codepoint-safe(strict)*
    [all...]
utf8tst.c 118 static const uint32_t codepoint[]={ local
137 for(i=0; i<sizeof(codepoint)/sizeof(codepoint[0]); i=(int16_t)(i+2)){
138 UChar32 c=codepoint[i+1];
139 if(UTF8_CHAR_LENGTH(c) != (uint16_t)codepoint[i] || U8_LENGTH(c) != (uint16_t)codepoint[i]){
140 log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], UTF8_CHAR_LENGTH(c));
144 multiple=(UBool)(codepoint[i] == 1 ? FALSE : TRUE);
171 /*codepoint-unsafe, codepoint-safe(not strict) codepoint-safe(strict)*
    [all...]
cucdtst.c 1399 const int32_t codepoint[]={ local
    [all...]
  /frameworks/base/libs/utils/
Unicode.cpp 441 static inline void utf8_shift_and_mask(uint32_t* codePoint, const uint8_t byte)
443 *codePoint <<= 6;
444 *codePoint |= 0x3F & byte;
529 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8charLen); local
530 if (codepoint > 0xFFFF) u16measuredLen++; // this will be a surrogate pair in utf16
553 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len); local
555 // Convert the UTF32 codepoint to one or more UTF16 codepoints
556 if (codepoint <= 0xFFFF) {
558 *u16cur++ = (char16_t) codepoint;
561 codepoint = codepoint - 0x10000
    [all...]
  /external/webkit/Source/WebCore/icu/unicode/
uscript.h 136 * Gets the script code associated with the given codepoint.
138 * @param codepoint UChar32 codepoint
140 * @return The UScriptCode, or 0 if codepoint is invalid
144 uscript_getScript(UChar32 codepoint, UErrorCode *err);
  /external/webkit/Source/WebKit/mac/icu/unicode/
uscript.h 136 * Gets the script code associated with the given codepoint.
138 * @param codepoint UChar32 codepoint
140 * @return The UScriptCode, or 0 if codepoint is invalid
144 uscript_getScript(UChar32 codepoint, UErrorCode *err);
  /external/libxml2/
xmlregexp.c 190 int codepoint; member in struct:_xmlRegAtom
352 static int xmlRegCheckCharacter(xmlRegAtomPtr atom, int codepoint);
353 static int xmlRegCheckCharacterRange(xmlRegAtomType type, int codepoint,
696 * @start: the start codepoint
697 * @end: the end codepoint
1090 fprintf(output, "char %c\n", atom->codepoint);
1133 fprintf(output, "char %c ", trans->atom->codepoint);
2093 int codepoint; local
3138 int ret, codepoint = 0, len, deter; local
5184 int codepoint, len; local
    [all...]
  /frameworks/opt/vcard/java/com/android/vcard/
VCardUtils.java 505 int codepoint = str.codePointAt(i); local
506 if (!((lowerAlphabetFirst <= codepoint && codepoint < lowerAlphabetAfterLast) ||
507 (upperAlphabetFirst <= codepoint && codepoint < upperAlphabetAfterLast) ||
508 (digitFirst <= codepoint && codepoint < digitAfterLast) ||
509 (codepoint == hyphen))) {
607 final int codePoint = value.codePointAt(i);
608 if (codePoint < asciiFirst || codePoint == '"')
    [all...]
  /external/chromium/base/
file_path.cc 1045 int codepoint = 0; local
    [all...]
  /external/icu4c/samples/ucnv/
convsamp.cpp 386 UChar32 codepoint; member in struct:__anon6336
430 info[p].codepoint = p;
  /external/icu4c/i18n/
usearch.cpp 895 UChar32 codepoint; local
1335 UChar32 codepoint = 0; local
    [all...]

Completed in 522 milliseconds

1 2