Home | History | Annotate | Download | only in gennorm2

Lines Matching full: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.
187 delete norms[i].mapping;
256 "not permitted to override mapping for U+%04lX from phase %d\n",
260 delete p->mapping;
261 p->mapping=NULL;
291 "illegal one-way mapping from U+%04lX to malformed string\n",
296 p->mapping=new UnicodeString(m);
305 "illegal round-trip mapping from surrogate code point U+%04lX\n",
312 "illegal round-trip mapping from U+%04lX to malformed string\n",
320 "illegal round-trip mapping from U+%04lX to %d!=2 code points\n",
325 p->mapping=new UnicodeString(m);
351 "gennorm2 error: same round-trip mapping for "
359 "U+%04lX has a round-trip mapping and ccc!=0, "
365 const UnicodeString &m=*norms[value].mapping;
371 "U+%04lX's round-trip mapping's starter U+%04lX has ccc!=0, "
393 "gennorm2 error: same round-trip mapping for "
451 const UnicodeString &m=*norm.mapping;
473 "U+%04lX's round-trip mapping's starter "
480 UChar32 cTrailChar=cNorm.mapping->char32At(cNorm.mapping->length()-1);
485 "U+%04lX's round-trip mapping
496 "U+%04lX's round-trip mapping's non-starter "
506 decomposed->append(*cNorm.mapping);
513 "U+%04lX's round-trip mapping's non-starter "
529 // Remember the original mapping when decomposing recursively.
530 norm.rawMapping=norm.mapping;
532 delete norm.mapping;
534 norm.mapping=decomposed;
535 // Not norm.setMappingCP(); because the original mapping
603 UnicodeString &m=*p->mapping;
622 * A starter character with a mapping does not have a composition boundary after it
625 * or its mapping contains no starter,
645 // Note: There can be no Hangul syllable in the fully decomposed mapping.
676 // That is the same as the length of the optional data for the raw mapping and the ccc/lccc word.
678 UnicodeString &m=*p->mapping;
683 "mapping for U+%04lX longer than maximum of %d\n",
706 // Write the mapping & raw mapping extraData.
715 "raw mapping for U+%04lX longer than maximum of %d\n",
726 // rawMapping=rm0+mapping.substring(2) -> store only rm0
728 // The raw mapping is the same as the final mapping after replacing
729 // the final mapping's first two code units with the raw mapping's first one.
735 // Store the raw mapping with its length.
836 // There is similar code in writeMapping() for characters that do have a mapping.
885 "U+%04lX combines-forward and has a one-way mapping, "
897 // We want to see that the final mapping does not have exactly 1 code point,
898 // or else we would have to recursively ensure that the final mapping is stored
900 if(p->mappingCP>=0 && (!p->hasNoCompBoundaryAfter || 1!=p->mapping->countChar32())) {
917 // Enter this new mapping into the hashtable, avoiding value 0 which is "not found".
944 // No mapping, no compositions list.
1000 "illegal mapping/composition/ccc data for Hangul or Jamo U+%04lX\n",
1105 "data structure overflow, too much mapping composition data\n");