• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ICU-531.30/icuSources/common/

Lines Matching refs:nameChoice

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