Searched refs:codepoint (Results 1 - 25 of 111) sorted by relevance

12345

/external/icu4c/common/
H A Ducnv_ct.c104 #define isASCIIRange(codepoint) \
105 ((codepoint == 0x0000) || (codepoint == 0x0009) || (codepoint == 0x000A) || \
106 (codepoint >= 0x0020 && codepoint <= 0x007f) || (codepoint >= 0x00A0 && codepoint <= 0x00FF))
108 #define isIBM915(codepoint) \
109 ((codepoint >
193 getState(int codepoint) argument
[all...]
H A Dusetiter.cpp41 * 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
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Dusetiter.cpp41 * 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
[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-fallback-shape.cc107 if (buffer->unicode->is_default_ignorable (buffer->info[i].codepoint)) {
108 buffer->info[i].codepoint = space;
113 font->get_glyph (buffer->info[i].codepoint, 0, &buffer->info[i].codepoint);
114 font->get_glyph_advance_for_direction (buffer->info[i].codepoint,
118 font->subtract_glyph_origin_for_direction (buffer->info[i].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-set.h80 hb_codepoint_t codepoint);
82 /* Right now limited to 16-bit integers. Eventually will do full codepoint range, sans -1
86 hb_codepoint_t codepoint);
95 hb_codepoint_t codepoint);
143 hb_codepoint_t *codepoint);
H A Dhb-ot-shape-normalize.cc106 font->get_glyph (info.codepoint, 0, &info.glyph_index());
203 if (shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph))
205 else if (decompose (c, shortest, buffer->cur().codepoint))
207 else if (!shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph))
209 else if (decompose_compatibility (c, buffer->cur().codepoint))
221 if (unlikely (buffer->unicode->is_variation_selector (buffer->cur(+1).codepoint))) {
223 if (font->get_glyph (buffer->cur().codepoint, buffer->cur(+1).codepoint, &buffer->cur().glyph_index()))
225 buffer->replace_glyphs (2, 1, &buffer->cur().codepoint);
236 while (buffer->idx < end && unlikely (buffer->unicode->is_variation_selector (buffer->cur().codepoint)))
[all...]
H A Dhb-set-private.hh257 inline bool next (hb_codepoint_t *codepoint) const
259 if (unlikely (*codepoint == INVALID)) {
262 *codepoint = i;
265 *codepoint = INVALID;
269 for (hb_codepoint_t i = *codepoint + 1; i < MAX_G + 1; i++)
271 *codepoint = i;
274 *codepoint = INVALID;
H A Dhb-ot-shape-complex-thai.cc230 thai_mark_type_t mt = get_mark_type (info[i].codepoint);
233 thai_consonant_type_t ct = get_consonant_type (info[i].codepoint);
249 info[base].codepoint = thai_pua_shape (info[base].codepoint, action, font);
251 info[i].codepoint = thai_pua_shape (info[i].codepoint, action, font);
320 hb_codepoint_t u = buffer->cur().codepoint;
336 while (start > 0 && IS_TONE_MARK (buffer->out_info[start - 1].codepoint))
/external/harfbuzz_ng/src/
H A Dhb-fallback-shape.cc107 if (buffer->unicode->is_default_ignorable (buffer->info[i].codepoint)) {
108 buffer->info[i].codepoint = space;
113 font->get_glyph (buffer->info[i].codepoint, 0, &buffer->info[i].codepoint);
114 font->get_glyph_advance_for_direction (buffer->info[i].codepoint,
118 font->subtract_glyph_origin_for_direction (buffer->info[i].codepoint,
H A Dhb-set.cc114 hb_codepoint_t codepoint)
116 return set->has (codepoint);
121 hb_codepoint_t codepoint)
123 set->add (codepoint);
136 hb_codepoint_t codepoint)
138 set->del (codepoint);
217 hb_codepoint_t *codepoint)
219 return set->next (codepoint);
113 hb_set_has(const hb_set_t *set, hb_codepoint_t codepoint) argument
120 hb_set_add(hb_set_t *set, hb_codepoint_t codepoint) argument
135 hb_set_del(hb_set_t *set, hb_codepoint_t codepoint) argument
216 hb_set_next(const hb_set_t *set, hb_codepoint_t *codepoint) argument
H A Dhb-set.h78 hb_codepoint_t codepoint);
80 /* Right now limited to 16-bit integers. Eventually will do full codepoint range, sans -1
84 hb_codepoint_t codepoint);
93 hb_codepoint_t codepoint);
141 hb_codepoint_t *codepoint);
H A Dhb-ot-shape-normalize.cc106 font->get_glyph (info.codepoint, 0, &info.glyph_index());
202 if (shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph))
204 else if (decompose (c, shortest, buffer->cur().codepoint))
206 else if (!shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph))
208 else if (decompose_compatibility (c, buffer->cur().codepoint))
219 if (unlikely (buffer->unicode->is_variation_selector (buffer->cur(+1).codepoint))) {
221 c->font->get_glyph (buffer->cur().codepoint, buffer->cur(+1).codepoint, &buffer->cur().glyph_index());
222 buffer->replace_glyphs (2, 1, &buffer->cur().codepoint);
241 if (unlikely (buffer->unicode->is_variation_selector (buffer->info[i].codepoint))) {
[all...]
H A Dhb-ot-layout-private.hh54 info->unicode_props0() = ((unsigned int) unicode->general_category (info->codepoint)) |
55 (unicode->is_default_ignorable (info->codepoint) ? 0x80 : 0) |
56 (info->codepoint == 0x200C ? 0x40 : 0) |
57 (info->codepoint == 0x200D ? 0x20 : 0);
58 info->unicode_props1() = unicode->modified_combining_class (info->codepoint);
/external/chromium_org/third_party/icu/source/tools/gensprep/
H A Dgensprep.h49 storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length, UStringPrepType type, UErrorCode* status);
H A Dstore.c97 * 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_ argument
[all...]
/external/icu4c/tools/gensprep/
H A Dgensprep.h49 storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length, UStringPrepType type, UErrorCode* status);
H A Dstore.c98 * 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
262 codepoint = element->key.integer;
291 savedTrieWord= utrie_get32(sprepTrie,codepoint,NULL);
298 * the codepoint has value something other than prohibited
301 fprintf(stderr,"Type for codepoint \\U%08X already set!.\n", (int)codepoint);
307 if(!utrie_set32(sprepTrie,codepoint,trieWord)){
312 /* written the trie word for the codepoint... increment the count*/
354 storeMapping(uint32_t codepoint, uint32_ argument
[all...]
/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/icu4c/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/chromium_org/third_party/icu/source/tools/dumpce/
H A Ddumpce.cpp114 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 local
875 UChar32 codepoint; local
905 checkInScripts(UScriptCode script[], int scriptcount, UChar32 codepoint) argument
940 UChar32 codepoint; local
959 UChar32 codepoint = 0; local
1040 UChar32 codepoint = 0; local
[all...]
/external/icu4c/tools/dumpce/
H A Ddumpce.cpp114 int count; // number of codepoint
163 const 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 local
875 UChar32 codepoint; local
905 checkInScripts(UScriptCode script[], int scriptcount, UChar32 codepoint) argument
940 UChar32 codepoint; local
959 UChar32 codepoint = 0; local
1039 UChar32 codepoint = 0; local
[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...]
/external/icu4c/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...]

Completed in 535 milliseconds

12345