Home | History | Annotate | Download | only in gencase

Lines Matching full:case

16 *   Store Unicode case mapping properties efficiently for
39 /* Unicode case mapping properties file format ---------------------------------
51 Format version 1.1 adds data for case closure.
60 i2 trieSize; -- size in bytes of the case mapping properties trie
66 i15 maxFullLength; -- maximum length of a full case mapping/folding string
82 15..6 signed delta to simple case mapping code point
85 6 the code point is case-ignorable
86 (U+0307 is also case-ignorable but has an exception)
94 2 case sensitive
107 UTF-16 strings for full (string) mappings for lowercase, case folding, uppercase, titlecase
111 15 conditional case folding
127 1 case folding (code point)
133 7 there is at least one full (string) case mapping
139 Bits 0..3 contain the length of a string of code points for case closure.
140 The string immediately follows the full case mappings, or the closure value
141 slot if there are no full case mappings.
143 number of strings for case closure.
144 Complete case closure for a code point is given by the union of all simple
145 and full case mappings and foldings, plus the case closure code points
146 (and potentially, in the future, case closure strings).
151 - If case folding is conditional, then no simple or full case foldings are
161 In particular, the fallback from full case folding is to simple case folding,
164 Reverse case folding data ("unfold") array: (new in format version 1.1)
168 in case closure.
171 The string in the first column is the case folding of each of the code points
194 /* dataFormat="cAsE" */
214 /* reverse case folding ("unfold") data */
266 fprintf(stderr, "gencase error: case folding too long (length=%ld>%d=UGENCASE_UNFOLD_STRING_WIDTH)\n",
271 fprintf(stderr, "gencase error: too many multi-character case foldings\n");
349 /* encode case-ignorable as delta==1 on uncased characters */
378 * store the case-ignorable flag for uncased characters.
380 * If there is an exception for an uncased, case-ignorable character
381 * (although there should not be any case mappings if it's uncased)
383 * There is one character which is case-ignorable but has an exception:
388 fprintf(stderr, "gencase error: unable to encode case-ignorable for U+%04lx with exceptions\n",
406 /* store the simple case mapping delta */
414 fprintf(stderr, "gencase error: unable to set case mapping values, code: %s\n",
420 /* add the multi-character case folding to the "unfold" data */
440 /* finalize reverse case folding ("unfold") data ---------------------------- */
457 * add a case folding that we missed because it's conditional:
510 /* case closure ------------------------------------------------------------- */
553 /* one simple case mapping, don't care which one */
563 fprintf(stderr, "gencase error: unable to add case closure exception to case-ignorable U+%04lx\n",
580 fprintf(stderr, "gencase error: unable to set case mapping values, code: %s\n",
588 * Find missing case mapping relationships and add mappings for case closure.
590 * finds its case mappings and the case mappings of where it maps to.
594 * all of c's simple (single-code point) case mappings.
595 * prev is the code point that case-mapped to c.
596 * prev2 is the code point that case-mapped to prev.
600 * It enumerates c's case mappings and recurses without further action.
603 * the destination code point of one of prev's case mappings.
604 * The function checks if any of c's case mappings go back to orig
606 * In other words, it turns a case mapping relationship of
612 * the destination code point of one of prev's case mappings.
613 * (And prev is the destination of one of prev2's case mappings.)
614 * The function checks if any of c's case mappings go back to orig
616 * In other words, it turns case mapping relationships of
624 * are added, all case equivalence groups get complete mappings.
625 * That is, in each group of code points with case relationships
654 /* collect c's case mapping destinations in set[] */
673 /* process all code points to which c case-maps */
695 /* one simple case mapping, don't care which one */
939 /* length of case closure */
948 /* lengths of full case mapping strings, stored in the last slot */
979 /* write the full case mapping strings */