Searched defs:codepoint (Results 1 - 25 of 59) sorted by relevance

123

/external/libvterm/src/
H A Dutf8.h5 static inline unsigned int utf8_seqlen(long codepoint) argument
7 if(codepoint < 0x0000080) return 1;
8 if(codepoint < 0x0000800) return 2;
9 if(codepoint < 0x0010000) return 3;
10 if(codepoint < 0x0200000) return 4;
11 if(codepoint < 0x4000000) return 5;
15 static int fill_utf8(long codepoint, char *str) argument
17 int nbytes = utf8_seqlen(codepoint);
25 str[b] = 0x80 | (codepoint & 0x3f);
26 codepoint >>
[all...]
H A Dunicode.c324 int vterm_unicode_width(int codepoint) argument
326 return mk_wcwidth(codepoint);
329 int vterm_unicode_is_combining(int codepoint) argument
331 return bisearch(codepoint, combining, sizeof(combining) / sizeof(struct interval) - 1);
/external/chromium_org/third_party/icu/source/common/unicode/
H A Dusetiter.h66 * 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...]
/external/icu/icu4c/source/common/unicode/
H A Dusetiter.h66 * 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...]
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DEncoding.java57 int codepoint = (int) endAndCodepoint;
58 sb.append(s, pos, amp).appendCodePoint(codepoint);
185 int codepoint = Character.toCodePoint(ch, next);
187 appendNumericEntity(codepoint, output);
212 static void appendNumericEntity(int codepoint, Appendable output) argument
214 if (codepoint < 100) {
217 if (codepoint < 10) {
218 output.append((char) ('0' + codepoint));
220 output.append((char) ('0' + (codepoint / 10)));
221 output.append((char) ('0' + (codepoint
[all...]
H A DCssGrammar.java173 int codepoint = token.charAt(end - 1);
174 if (isHex(codepoint)) {
181 codepoint = Integer.parseInt(token.substring(esc + 1, end), 16);
183 codepoint = 0xfffd; // Unknown codepoint.
192 sb.appendCodePoint(codepoint);
199 private static boolean isHex(int codepoint) { argument
200 return ('0' <= codepoint && codepoint <= '9')
201 || ('A' <= codepoint
[all...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dunicodestring.h40 // Constructs a new unicode string containing the provided codepoint.
41 explicit UnicodeString(char32 codepoint) : cached_index_(-1) { argument
42 append(codepoint);
54 inline void append(char32 codepoint) { argument
56 text_.push_back(codepoint);
69 // Returns the index of the provided codepoint or -1 if not found.
70 int indexOf(char32 codepoint) const;
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-buffer.h45 hb_codepoint_t codepoint; member in struct:hb_glyph_info_t
192 /* Sets codepoint used to replace invalid UTF-8/16/32 entries.
232 hb_codepoint_t codepoint,
H A Dhb-set.cc191 * @codepoint:
201 hb_codepoint_t codepoint)
203 return set->has (codepoint);
209 * @codepoint:
217 hb_codepoint_t codepoint)
219 set->add (codepoint);
243 * @codepoint:
251 hb_codepoint_t codepoint)
253 set->del (codepoint);
437 * @codepoint
200 hb_set_has(const hb_set_t *set, hb_codepoint_t codepoint) argument
216 hb_set_add(hb_set_t *set, hb_codepoint_t codepoint) argument
250 hb_set_del(hb_set_t *set, hb_codepoint_t codepoint) argument
446 hb_set_next(const hb_set_t *set, hb_codepoint_t *codepoint) argument
[all...]
H A Dhb-buffer.cc215 hb_buffer_t::add (hb_codepoint_t codepoint, argument
225 glyph->codepoint = codepoint;
324 pinfo->codepoint = glyph_data[i];
338 out_info[out_len].codepoint = glyph_index;
408 out_info[out_len].codepoint = glyph_index;
574 hb_script_t script = unicode->script (info[i].codepoint);
1152 * @codepoint:
1161 hb_codepoint_t codepoint,
1164 buffer->add (codepoint, cluste
[all...]
/external/freetype/src/autofit/
H A Dhbshim.c423 FT_ULong *codepoint,
472 out_idx = ginfo[0].codepoint;
478 *codepoint = 0;
483 *codepoint = out_idx;
497 *codepoint = in_idx;
524 FT_ULong *codepoint,
535 *codepoint = FT_Get_Char_Index( face, charcode );
421 af_get_char_index( AF_StyleMetrics metrics, FT_ULong charcode, FT_ULong *codepoint, FT_Long *y_offset ) argument
522 af_get_char_index( AF_StyleMetrics metrics, FT_ULong charcode, FT_ULong *codepoint, FT_Long *y_offset ) argument
/external/harfbuzz_ng/src/
H A Dhb-buffer.h45 hb_codepoint_t codepoint; member in struct:hb_glyph_info_t
192 /* Sets codepoint used to replace invalid UTF-8/16/32 entries.
232 hb_codepoint_t codepoint,
H A Dhb-set.cc191 * @codepoint:
201 hb_codepoint_t codepoint)
203 return set->has (codepoint);
209 * @codepoint:
217 hb_codepoint_t codepoint)
219 set->add (codepoint);
243 * @codepoint:
251 hb_codepoint_t codepoint)
253 set->del (codepoint);
437 * @codepoint
200 hb_set_has(const hb_set_t *set, hb_codepoint_t codepoint) argument
216 hb_set_add(hb_set_t *set, hb_codepoint_t codepoint) argument
250 hb_set_del(hb_set_t *set, hb_codepoint_t codepoint) argument
446 hb_set_next(const hb_set_t *set, hb_codepoint_t *codepoint) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/
H A DHarfBuzzFaceSkia.cpp66 static void SkiaGetGlyphWidthAndExtents(SkPaint* paint, hb_codepoint_t codepoint, hb_position_t* width, hb_glyph_extents_t* extents) argument
68 ASSERT(codepoint <= 0xFFFF);
73 uint16_t glyph = codepoint;
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DBidiResolverTest.cpp122 void skipTestsWith(UChar codepoint) argument
124 m_skippedCodePoints.insert(codepoint);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dsprpdata.c37 compareMapping(UStringPrepProfile* data, uint32_t codepoint, uint32_t* mapping, int32_t mapLength,
118 * the source codepoint is copied to the destination
147 compareMapping(UStringPrepProfile* data, uint32_t codepoint, uint32_t* mapping,int32_t mapLength, argument
161 UTRIE_GET16(&trie, codepoint, result);
167 log_err( "Did not get the assigned type for codepoint 0x%08X. Expected: %i Got: %i\n",codepoint, USPREP_MAP, type);
219 if(retType!=USPREP_DELETE && (codepoint-delta) != (uint16_t)mapping[0]){
220 log_err("Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[0],(codepoint-delta));
H A Dutf16tst.c84 static uint32_t codepoint[]={ local
99 for(i=0; i<sizeof(codepoint)/sizeof(codepoint[0]); i=(int16_t)(i+2)){
100 UChar32 c=codepoint[i+1];
101 if(UTF16_CHAR_LENGTH(c) != (uint16_t)codepoint[i] || U16_LENGTH(c) != (uint16_t)codepoint[i]){
102 log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], UTF16_CHAR_LENGTH(c));
106 multiple=(UBool)(codepoint[i] == 1 ? FALSE : TRUE);
133 /*codepoint-unsafe, codepoint
[all...]
H A Dutf8tst.c128 static const uint32_t codepoint[]={ local
147 for(i=0; i<LENGTHOF(codepoint); i=(int16_t)(i+2)){
148 UChar32 c=codepoint[i+1];
149 if(UTF8_CHAR_LENGTH(c) != (uint16_t)codepoint[i] || U8_LENGTH(c) != (uint16_t)codepoint[i]){
150 log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], UTF8_CHAR_LENGTH(c));
154 multiple=(UBool)(codepoint[i] == 1 ? FALSE : TRUE);
181 /* codepoint-unsafe, codepoint-safe(not strict) codepoint
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Ditercoll.cpp51 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 !
[all...]
H A Dtestidn.cpp53 compareMapping(uint32_t codepoint, uint32_t* mapping, int32_t mapLength,
228 * the source codepoint is copied to the destination
327 compareMapping(uint32_t codepoint, uint32_t* mapping,int32_t mapLength, argument
330 UTRIE_GET16(idnTrie,codepoint, result);
342 pTestIDNA->errln( "Did not get the assigned type for codepoint 0x%08X. Expected: %i Got: %i\n",codepoint, USPREP_MAP, type);
395 if(retType!=USPREP_DELETE && (codepoint-delta) != (uint16_t)mapping[0]){
396 pTestIDNA->errln("Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[0],(codepoint-delta));
/external/icu/icu4c/source/test/cintltst/
H A Dsprpdata.c37 compareMapping(UStringPrepProfile* data, uint32_t codepoint, uint32_t* mapping, int32_t mapLength,
118 * the source codepoint is copied to the destination
147 compareMapping(UStringPrepProfile* data, uint32_t codepoint, uint32_t* mapping,int32_t mapLength, argument
161 UTRIE_GET16(&trie, codepoint, result);
167 log_err( "Did not get the assigned type for codepoint 0x%08X. Expected: %i Got: %i\n",codepoint, USPREP_MAP, type);
219 if(retType!=USPREP_DELETE && (codepoint-delta) != (uint16_t)mapping[0]){
220 log_err("Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[0],(codepoint-delta));
H A Dutf16tst.c84 static uint32_t codepoint[]={ local
99 for(i=0; i<sizeof(codepoint)/sizeof(codepoint[0]); i=(int16_t)(i+2)){
100 UChar32 c=codepoint[i+1];
101 if(UTF16_CHAR_LENGTH(c) != (uint16_t)codepoint[i] || U16_LENGTH(c) != (uint16_t)codepoint[i]){
102 log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], UTF16_CHAR_LENGTH(c));
106 multiple=(UBool)(codepoint[i] == 1 ? FALSE : TRUE);
133 /*codepoint-unsafe, codepoint
[all...]
/external/icu/icu4c/source/test/intltest/
H A Ditercoll.cpp51 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 !
[all...]
H A Dtestidn.cpp53 compareMapping(uint32_t codepoint, uint32_t* mapping, int32_t mapLength,
228 * the source codepoint is copied to the destination
327 compareMapping(uint32_t codepoint, uint32_t* mapping,int32_t mapLength, argument
330 UTRIE_GET16(idnTrie,codepoint, result);
342 pTestIDNA->errln( "Did not get the assigned type for codepoint 0x%08X. Expected: %i Got: %i\n",codepoint, USPREP_MAP, type);
395 if(retType!=USPREP_DELETE && (codepoint-delta) != (uint16_t)mapping[0]){
396 pTestIDNA->errln("Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[0],(codepoint-delta));
/external/chromium_org/third_party/icu/source/samples/ucnv/
H A Dconvsamp.cpp381 UChar32 codepoint; member in struct:__anon12166
424 info[p].codepoint = p;

Completed in 676 milliseconds

123