Lines Matching refs:alias
1046 static ufmt_args* parseArguments(const UChar *alias, va_list ap, UErrorCode *status) {
1054 const UChar *aliasStart = alias;
1059 while(*alias != UP_PERCENT && *alias != 0x0000) {
1060 alias++;
1063 if(*alias == 0x0000) {
1067 alias++;
1070 if(ISDIGIT(*alias)) {
1073 if(ISDIGIT(*alias)) {
1074 pos = (int) (*alias++ - DIGIT_ZERO);
1076 while(ISDIGIT(*alias)) {
1078 pos += (int) (*alias++ - DIGIT_ZERO);
1083 if(*alias != SPEC_DOLLARSIGN) {
1118 /* reset alias back to the beginning */
1119 alias = aliasStart;
1123 while(*alias != UP_PERCENT && *alias != 0x0000) {
1124 alias++;
1127 if(*alias == 0x0000) {
1131 alias++;
1134 if(ISDIGIT(*alias)) {
1135 pos = (int) (*alias++ - DIGIT_ZERO);
1137 while(ISDIGIT(*alias)) {
1139 pos += (int) (*alias++ - DIGIT_ZERO);
1146 while (ISMOD(*alias) || ISFLAG(*alias) || ISDIGIT(*alias) ||
1147 *alias == SPEC_ASTERISK || *alias == SPEC_PERIOD || *alias == SPEC_DOLLARSIGN) {
1149 if (ISMOD(*alias)) {
1150 alias++;
1151 if (*alias == MOD_LOWERL) {
1155 alias++;
1157 type = *alias;
1222 const UChar *alias = fmt;
1243 lastAlias = alias;
1244 while(*alias != UP_PERCENT && *alias != 0x0000) {
1245 alias++;
1249 if(alias > lastAlias) {
1250 *written += (streamHandler->write)(context, lastAlias, (int32_t)(alias - lastAlias));
1254 if(*alias == 0x0000) {
1269 alias++;
1272 if(ISDIGIT(*alias)) {
1275 backup = alias;
1278 if(ISDIGIT(*alias)) {
1279 spec.fArgPos = (int) (*alias++ - DIGIT_ZERO);
1281 while(ISDIGIT(*alias)) {
1283 spec.fArgPos += (int) (*alias++ - DIGIT_ZERO);
1288 if(*alias != SPEC_DOLLARSIGN) {
1290 alias = backup;
1294 alias++;
1298 while(ISFLAG(*alias)) {
1299 switch(*alias++) {
1333 info->fPadChar = (UChar)ufmt_digitvalue(*alias++);
1334 info->fPadChar = (UChar)((info->fPadChar * 16) + ufmt_digitvalue(*alias++));
1335 info->fPadChar = (UChar)((info->fPadChar * 16) + ufmt_digitvalue(*alias++));
1336 info->fPadChar = (UChar)((info->fPadChar * 16) + ufmt_digitvalue(*alias++));
1339 alias++;
1348 if(*alias == SPEC_ASTERISK) {
1353 alias++;
1356 backup = alias;
1359 if(ISDIGIT(*alias)) {
1360 spec.fWidthPos = (int) (*alias++ - DIGIT_ZERO);
1362 while(ISDIGIT(*alias)) {
1364 spec.fWidthPos += (int) (*alias++ - DIGIT_ZERO);
1369 if(*alias != SPEC_DOLLARSIGN) {
1371 alias = backup;
1375 alias++;
1378 else if(ISDIGIT(*alias)){
1379 info->fWidth = (int) (*alias++ - DIGIT_ZERO);
1381 while(ISDIGIT(*alias)) {
1383 info->fWidth += (int) (*alias++ - DIGIT_ZERO);
1389 if(*alias == SPEC_PERIOD) {
1392 alias++;
1395 if(*alias == SPEC_ASTERISK) {
1400 alias++;
1403 backup = alias;
1406 if(ISDIGIT(*alias)) {
1407 spec.fPrecisionPos = (int) (*alias++ - DIGIT_ZERO);
1409 while(ISDIGIT(*alias)) {
1411 spec.fPrecisionPos += (int) (*alias++ - DIGIT_ZERO);
1415 if(*alias != SPEC_DOLLARSIGN) {
1417 alias = backup;
1421 alias++;
1426 else if(ISDIGIT(*alias)){
1427 info->fPrecision = (int) (*alias++ - DIGIT_ZERO);
1429 while(ISDIGIT(*alias)) {
1431 info->fPrecision += (int) (*alias++ - DIGIT_ZERO);
1437 if(ISMOD(*alias)) {
1438 switch(*alias++) {
1447 if(*alias == MOD_LOWERL) {
1450 alias++;
1464 info->fSpec = *alias++;
1573 *written += (streamHandler->write)(context, fmt, (int32_t)(alias - lastAlias));
1578 *written += (streamHandler->write)(context, fmt, (int32_t)(alias - lastAlias));
1586 return (int32_t)(alias - fmt);