Lines Matching refs:mapping
103 // Requires hasMapping() and well-formed mapping.
106 if(!mapping->isEmpty() && mapping->length()==U16_LENGTH(c=mapping->char32At(0))) {
123 UnicodeString *mapping;
124 UnicodeString *rawMapping; // non-NULL if the mapping is further decomposed
125 UChar32 mappingCP; // >=0 if mapping to 1 code point
138 // Composition for a starter that does not have a decomposition mapping.
140 // Round-trip mapping & composition for a starter.
142 // Round-trip mapping for a starter that itself does not combine-forward.
144 // One-way mapping.
146 // Delta for an algorithmic one-way mapping.
186 delete norms[i].mapping;
255 "not permitted to override mapping for U+%04lX from phase %d\n",
259 delete p->mapping;
260 p->mapping=NULL;
290 "illegal one-way mapping from U+%04lX to malformed string\n",
295 p->mapping=new UnicodeString(m);
304 "illegal round-trip mapping from surrogate code point U+%04lX\n",
311 "illegal round-trip mapping from U+%04lX to malformed string\n",
319 "illegal round-trip mapping from U+%04lX to %d!=2 code points\n",
324 p->mapping=new UnicodeString(m);
350 "gennorm2 error: same round-trip mapping for "
358 "U+%04lX has a round-trip mapping and ccc!=0, "
364 const UnicodeString &m=*norms[value].mapping;
370 "U+%04lX's round-trip mapping's starter U+%04lX has ccc!=0, "
392 "gennorm2 error: same round-trip mapping for "
450 const UnicodeString &m=*norm.mapping;
472 "U+%04lX's round-trip mapping's starter "
479 UChar32 cTrailChar=cNorm.mapping->char32At(cNorm.mapping->length()-1);
484 "U+%04lX's round-trip mapping's starter "
495 "U+%04lX's round-trip mapping's non-starter "
505 decomposed->append(*cNorm.mapping);
512 "U+%04lX's round-trip mapping's non-starter "
528 // Remember the original mapping when decomposing recursively.
529 norm.rawMapping=norm.mapping;
531 delete norm.mapping;
533 norm.mapping=decomposed;
534 // Not norm.setMappingCP(); because the original mapping
602 UnicodeString &m=*p->mapping;
621 * A starter character with a mapping does not have a composition boundary after it
624 * or its mapping contains no starter,
644 // Note: There can be no Hangul syllable in the fully decomposed mapping.
675 // That is the same as the length of the optional data for the raw mapping and the ccc/lccc word.
677 UnicodeString &m=*p->mapping;
682 "mapping for U+%04lX longer than maximum of %d\n",
705 // Write the mapping & raw mapping extraData.
714 "raw mapping for U+%04lX longer than maximum of %d\n",
725 // rawMapping=rm0+mapping.substring(2) -> store only rm0
727 // The raw mapping is the same as the final mapping after replacing
728 // the final mapping's first two code units with the raw mapping's first one.
734 // Store the raw mapping with its length.
835 // There is similar code in writeMapping() for characters that do have a mapping.
884 "U+%04lX combines-forward and has a one-way mapping, "
896 // We want to see that the final mapping does not have exactly 1 code point,
897 // or else we would have to recursively ensure that the final mapping is stored
899 if(p->mappingCP>=0 && (!p->hasNoCompBoundaryAfter || 1!=p->mapping->countChar32())) {
916 // Enter this new mapping into the hashtable, avoiding value 0 which is "not found".
943 // No mapping, no compositions list.
999 "illegal mapping/composition/ccc data for Hangul or Jamo U+%04lX\n",
1104 "data structure overflow, too much mapping composition data\n");