Lines Matching refs:nameChoice

239            const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice,  in expandName()  argument
246 if(nameChoice!=U_UNICODE_CHAR_NAME && nameChoice!=U_EXTENDED_CHAR_NAME) { in expandName()
252 int fieldIndex= nameChoice==U_ISO_COMMENT ? 2 : nameChoice; in expandName()
299 if(!bufferPos && nameChoice == U_EXTENDED_CHAR_NAME) { in expandName()
332 const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, in compareName() argument
340 if(nameChoice!=U_UNICODE_CHAR_NAME && nameChoice!=U_EXTENDED_CHAR_NAME) { in compareName()
346 int fieldIndex= nameChoice==U_ISO_COMMENT ? 2 : nameChoice; in compareName()
397 if(otherName == origOtherName && nameChoice == U_EXTENDED_CHAR_NAME) { in compareName()
568 uint16_t lineNumber, UCharNameChoice nameChoice, in expandGroupName() argument
573 return expandName(names, s+offsets[lineNumber], lengths[lineNumber], nameChoice, in expandGroupName()
578 getName(UCharNames *names, uint32_t code, UCharNameChoice nameChoice, in getName() argument
582 return expandGroupName(names, group, (uint16_t)(code&GROUP_MASK), nameChoice, in getName()
602 UCharNameChoice nameChoice) { in enumGroupNames() argument
612 …andName(names, s+offsets[start&GROUP_MASK], lengths[start&GROUP_MASK], nameChoice, buffer, sizeof(… in enumGroupNames()
613 if (!length && nameChoice == U_EXTENDED_CHAR_NAME) { in enumGroupNames()
618 if(!fn(context, start, nameChoice, buffer, length)) { in enumGroupNames()
627 …ompareName(names, s+offsets[start&GROUP_MASK], lengths[start&GROUP_MASK], nameChoice, otherName)) { in enumGroupNames()
670 UCharNameChoice nameChoice) { in enumNames() argument
680 if(startGroupMSB<group[GROUP_MSB] && nameChoice==U_EXTENDED_CHAR_NAME) { in enumNames()
695 return enumGroupNames(names, group, start, limit-1, fn, context, nameChoice); in enumNames()
707 fn, context, nameChoice)) { in enumNames()
715 …if (nextGroup < groupLimit && nextGroup[GROUP_MSB] > startGroupMSB && nameChoice == U_EXTENDED_CHA… in enumNames()
731 … if(!enumGroupNames(names, group, start, start+LINES_PER_GROUP-1, fn, context, nameChoice)) { in enumNames()
735 …if (nextGroup < groupLimit && nextGroup[GROUP_MSB] > group[GROUP_MSB] + 1 && nameChoice == U_EXTEN… in enumNames()
749 … return enumGroupNames(names, group, (limit-1)&~GROUP_MASK, limit-1, fn, context, nameChoice); in enumNames()
750 } else if (nameChoice == U_EXTENDED_CHAR_NAME && group == groupLimit) { in enumNames()
762 if (nameChoice == U_EXTENDED_CHAR_NAME) { in enumNames()
852 getAlgName(AlgorithmicRange *range, uint32_t code, UCharNameChoice nameChoice, in getAlgName() argument
857 if(nameChoice!=U_UNICODE_CHAR_NAME && nameChoice!=U_EXTENDED_CHAR_NAME) { in getAlgName()
939 UCharNameChoice nameChoice) { in enumAlgNames() argument
943 if(nameChoice!=U_UNICODE_CHAR_NAME && nameChoice!=U_EXTENDED_CHAR_NAME) { in enumAlgNames()
953 length=getAlgName(range, (uint32_t)start, nameChoice, buffer, sizeof(buffer)); in enumAlgNames()
959 if(!fn(context, start, nameChoice, buffer, length)) { in enumAlgNames()
986 if(!fn(context, start, nameChoice, buffer, length)) { in enumAlgNames()
1020 if(!fn(context, start, nameChoice, buffer, length)) { in enumAlgNames()
1058 if(!fn(context, start, nameChoice, buffer, length)) { in enumAlgNames()
1078 findAlgName(AlgorithmicRange *range, UCharNameChoice nameChoice, const char *otherName) { in findAlgName() argument
1081 if(nameChoice!=U_UNICODE_CHAR_NAME && nameChoice!=U_EXTENDED_CHAR_NAME) { in findAlgName()
1450 u_charName(UChar32 code, UCharNameChoice nameChoice, in u_charName() argument
1461 } else if(nameChoice>=U_CHAR_NAME_CHOICE_COUNT || in u_charName()
1480 length=getAlgName(algRange, (uint32_t)code, nameChoice, buffer, (uint16_t)bufferLength); in u_charName()
1488 if (nameChoice == U_EXTENDED_CHAR_NAME) { in u_charName()
1496 length=getName(uCharNames, (uint32_t)code, nameChoice, buffer, (uint16_t)bufferLength); in u_charName()
1519 u_charFromName(UCharNameChoice nameChoice, in u_charFromName() argument
1536 if(nameChoice>=U_CHAR_NAME_CHOICE_COUNT || name==NULL || *name==0) { in u_charFromName()
1564 if (nameChoice == U_EXTENDED_CHAR_NAME && lower[--i] == '>') { in u_charFromName()
1617 if((cp=findAlgName(algRange, nameChoice, upper))!=0xffff) { in u_charFromName()
1627 enumNames(uCharNames, 0, UCHAR_MAX_VALUE + 1, DO_FIND_NAME, &findName, nameChoice); in u_charFromName()
1638 UCharNameChoice nameChoice, in u_enumCharNames() argument
1648 if(nameChoice>=U_CHAR_NAME_CHOICE_COUNT || fn==NULL) { in u_enumCharNames()
1674 enumNames(uCharNames, start, limit, fn, context, nameChoice); in u_enumCharNames()
1677 if(!enumNames(uCharNames, start, (UChar32)algRange->start, fn, context, nameChoice)) { in u_enumCharNames()
1686 enumAlgNames(algRange, start, limit, fn, context, nameChoice); in u_enumCharNames()
1689 if(!enumAlgNames(algRange, start, (UChar32)algRange->end+1, fn, context, nameChoice)) { in u_enumCharNames()
1699 enumNames(uCharNames, start, limit, fn, context, nameChoice); in u_enumCharNames()