Home | History | Annotate | Download | only in gencase

Lines Matching refs:code

82         15..6   signed delta to simple case mapping code point
83 (add delta to input code point)
85 6 the code point is case-ignorable
126 0 lowercase mapping (code point)
127 1 case folding (code point)
128 2 uppercase mapping (code point)
129 3 titlecase mapping (code point)
139 Bits 0..3 contain the length of a string of code points 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
155 simple (code point) mapping of the same type
158 finally, the original code point (no mapping)
167 back from multi-character strings to their original code points, for use
171 The string in the first column is the case folding of each of the code points
294 value=oldValue=upvec_getValue(pv, p->code, 0);
307 delta=p->upperCase-p->code;
315 delta=p->lowerCase-p->code;
360 (upvec_getValue(pv, p->code, 1)&U_MASK(UGENCASE_IS_MID_LETTER_SHIFT))!=0
368 p->code==0x27 || p->code==0xad || p->code==0x2019
375 if(isCaseIgnorable && p->code!=0x307) {
385 * is therefore handled in code instead.
389 (unsigned long)p->code);
412 upvec_setValue(pv, p->code, p->code, 0, value, 0xffffffff, &errorCode);
414 fprintf(stderr, "gencase error: unable to set case mapping values, code: %s\n",
424 addUnfolding(p->code, p->caseFolding->full+1, length);
434 fprintf(stderr, "gencase error: unable to set UCASE_SENSITIVE, code: %s\n",
467 /* make unique-string rows by merging adjacent ones' code point columns */
474 /* concatenate code point columns */
481 fprintf(stderr, "gencase error: too many code points in unfold[]: %ld>%d=UGENCASE_UNFOLD_CP_WIDTH\n",
549 p2.code=src;
580 fprintf(stderr, "gencase error: unable to set case mapping values, code: %s\n",
589 * This function starts from an "original" code point and recursively
593 * In each call, the current code point is c, and the function enumerates
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.
599 * (marking no code points).
603 * the destination code point of one of prev's case mappings.
612 * the destination code point of one of prev's case mappings.
623 * With repeated application on all code points until no more closure mappings
625 * That is, in each group of code points with case relationships
626 * each code point will in the end have some mapping to each other
627 * code point in the group.
673 /* process all code points to which c case-maps */
683 * this is a mapping to one of the previous code points (orig, prev, c)
701 * this is a mapping to one of the previous code points (orig, prev, c)
737 /* p always points to the code points; this loop ignores the strings completely */
792 /* get the string length from zero-terminated code points in a limited-length array */
816 simple=c; /* UCD has no simple mapping if it's the same as the code point itself */
874 * UCD stores no simple mappings when they are the same as the code point itself.
876 * the same as the code point itself.
879 * original code point if a simple UCD mapping is missing (0).
885 if(fullMappingEqualsSimple(p->specialCasing->lowerCase, p->lowerCase, p->code)) {
888 if(fullMappingEqualsSimple(p->specialCasing->upperCase, p->upperCase, p->code)) {
891 if(fullMappingEqualsSimple(p->specialCasing->titleCase, p->titleCase, p->code)) {
896 fullMappingEqualsSimple(p->caseFolding->full, p->caseFolding->simple, p->code)
915 p->caseFolding->simple!=p->code)
932 slots[count]=(uint32_t)p->code;
1082 printf("number of code points with exceptions: %5d\n", exceptionsCount);
1116 /* delete lead surrogate code unit values */
1126 "gencase error: deleting lead surrogate code unit values failed - %s\n",