Home | History | Annotate | Download | only in genprops

Lines Matching full:value

169     int32_t value;
181 value=u_getPropertyValueEnum(sen->prop, s);
182 if(value<0) {
185 value=UBLOCK_GREEK; /* Unicode 3.2 renames this to "Greek and Coptic" */
187 value=UBLOCK_COMBINING_MARKS_FOR_SYMBOLS; /* Unicode 3.2 renames this to "Combining Diacritical Marks for Symbols" */
189 value=UBLOCK_PRIVATE_USE; /* Unicode 3.2 renames this to "Private Use Area" */
193 if(value<0) {
199 uv=(uint32_t)(value<<sen->vecShift);
201 fprintf(stderr, "genprops error: %s value overflow (0x%x) at %s\n",
363 fprintf(stderr, "genprops error: shift value %d>=32 for %s %s\n",
447 * "The value COMMON is the default value,
470 * explicitly are given the value "XX".
524 uint32_t value, start, end, version;
539 value=(uint32_t)uprv_strtoul(s, &numberLimit, 10);
540 if(s==numberLimit || value==0 || value>15 || (*numberLimit!='.' && *numberLimit!=' ' && *numberLimit!='\t' && *numberLimit!=0)) {
545 version=value<<4;
550 value=(uint32_t)uprv_strtoul(s, &numberLimit, 10);
551 if(s==numberLimit || value>15 || (*numberLimit!=' ' && *numberLimit!='\t' && *numberLimit!=0)) {
556 version|=value;
578 uint32_t start, end, value, oldProps32;
602 /* check if the numeric value is a fraction (this code does not handle any) */
616 value=0;
618 /* parse numeric value */
630 value=1;
634 value=(uint32_t)uprv_strtoul(s, &numberLimit, 10);
636 if(numberLimit<=s || (*numberLimit!='.' && u_skipWhitespace(numberLimit)!=fields[1][1]) || value>=0x80000000) {
651 /* set the new numeric type and value */
653 newProps.numericValue=(int32_t)value; /* newly parsed numeric value */
655 value=makeProps(&newProps);
663 /* this code point was already listed with its numeric value in UnicodeData.txt */
676 fprintf(stderr, "genprops error: new numeric value for a character other than Lo in DerivedNumericValues.txt at %s\n", fields[0][0]);
680 /* verify that we do not change an existing value (fractions were excluded above) */
682 /* the code point already has a value stored */
683 if((oldProps32&0xff00)!=(value&0xff00)) {
684 fprintf(stderr, "genprops error: new numeric value differs from old one for U+%04lx\n", (long)start);
687 /* same value, continue */
689 /* the code point is getting a new numeric value */
691 printf("adding U+%04x numeric type %d value 0x%04x from %s\n", (int)start, U_NT_NUMERIC, (int)value, fields[0][0]);
694 addProps(start, value|GET_CATEGORY(oldProps32));