Lines Matching refs:i
59 for (sal_Int32 i=0;i<nChildren;i++) in getError() local
60 err += children[i]->getError(); in getError()
67 for(sal_Int32 i = 0; i < str.getLength(); i++) in print() local
68 printf( "%c", str[i]); in print()
74 for (sal_Int32 i=0;i<nChildren;i++) in printR() local
75 children[i]->printR(); in printR()
83 for (sal_Int32 i = 0; i<childArrSize ; i++) in addChild() local
84 arrN[i] = children[i]; in addChild()
110 for (sal_Int32 i = 0; i< nChildren; i++) { in findNode() local
111 const LocaleNode *n=children[i]->findNode(name); in findNode()
119 for (sal_Int32 i=0; i<nChildren;i++) in ~LocaleNode() local
120 delete (children[i]); in ~LocaleNode()
173 for( int i=0; i<depth; i++ ) printf(" "); in print_indent() local
220 for( sal_Int32 i=0; i<p->getNumberOfChildren(); i++ ) in print_node() local
222 print_node( p->getChildAt(i), depth+1 ); in print_node()
239 for (sal_Int32 i=0; i<nChildren;i++) in generateCode() local
240 children[i]->generateCode (of); in generateCode()
622 for (sal_Int16 i = 0; i< getNumberOfChildren() ; i++,formatCount++) { in generateCode() local
623 LocaleNode * currNode = getChildAt (i); in generateCode()
864 for(sal_Int16 i = mnFormats; i < formatCount; i++) { in generateCode() local
868 of.writeInt(i); in generateCode()
873 of.writeInt(i); in generateCode()
878 of.writeInt(i); in generateCode()
883 of.writeInt(i); in generateCode()
888 of.writeInt(i); in generateCode()
893 of.writeInt(i); in generateCode()
898 of.writeInt(i); in generateCode()
948 for( sal_Int16 i=0; i<nbOfCollationOptions; i++ ) in generateCode() local
950 of.writeParameter("collationOption", pCollationOptions->getChildAt( i )->getValue(), i ); in generateCode()
1005 sal_Int32 i; in generateCode() local
1008 for( i=0; i<nSearchOptions; i++ ) in generateCode()
1010 …ameter("searchOption", pSearchOptions->getChildAt( i )->getValue(), sal::static_int_cast<sal_Int16… in generateCode()
1018 for( i=0; i<nSearchOptions; i++ ) in generateCode()
1021 of.writeInt( sal::static_int_cast<sal_Int16>(i) ); in generateCode()
1040 sal_Int16 i; in generateCode() local
1041 for (i = 0; i< getNumberOfChildren();i++) { in generateCode()
1042 LocaleNode * currNode = getChildAt (i); in generateCode()
1077 for(i = 0; i < nbOfIndexs; i++) { in generateCode()
1079 of.writeInt(i); in generateCode()
1083 of.writeInt(i); in generateCode()
1087 of.writeInt(i); in generateCode()
1091 of.writeInt(i); in generateCode()
1095 of.writeInt(i); in generateCode()
1105 for( i=0; i<nbOfUnicodeScripts; i++ ) in generateCode()
1108 of.writeInt( i ); in generateCode()
1118 for(i = 0; i < nbOfPageWords; i++) { in generateCode()
1120 of.writeInt(i); in generateCode()
1143 sal_Int16 i; in generateCode() local
1147 for ( i = 0; i < nbOfCalendars; i++) { in generateCode()
1148 LocaleNode * calNode = getChildAt (i); in generateCode()
1150 of.writeParameter( "calendarID", calendarID, i); in generateCode()
1155 of.writeDefaultParameter("Calendar", str, i); in generateCode()
1161 if (ref_name.getLength() > 0 && i > 0) { in generateCode()
1162 for (j = 0; j < i; j++) { in generateCode()
1169 of.writeParameter("dayRef", OUString::createFromAscii("ref"), i); in generateCode()
1170 of.writeParameter("dayRefName", ref_name, i); in generateCode()
1171 nbOfDays[i] = 0; in generateCode()
1175 nbOfDays[i] = sal::static_int_cast<sal_Int16>( daysNode->getNumberOfChildren() ); in generateCode()
1176 if (bGregorian && nbOfDays[i] != 7) in generateCode()
1177 … incErrorInt( "A Gregorian calendar must have 7 days per week, this one has %d", nbOfDays[i]); in generateCode()
1179 for (j = 0; j < nbOfDays[i]; j++) { in generateCode()
1182 of.writeParameter("dayID", dayID, i, j); in generateCode()
1185 … of.writeParameter(elementTag, "DefaultAbbrvName",currNode->getChildAt(1)->getValue() ,i, j); in generateCode()
1186 … of.writeParameter(elementTag, "DefaultFullName",currNode->getChildAt(2)->getValue() , i, j); in generateCode()
1193 if (ref_name.getLength() > 0 && i > 0) { in generateCode()
1194 for (j = 0; j < i; j++) { in generateCode()
1201 of.writeParameter("monthRef", OUString::createFromAscii("ref"), i); in generateCode()
1202 of.writeParameter("monthRefName", ref_name, i); in generateCode()
1203 nbOfMonths[i] = 0; in generateCode()
1207 nbOfMonths[i] = sal::static_int_cast<sal_Int16>( monthsNode->getNumberOfChildren() ); in generateCode()
1208 if (bGregorian && nbOfMonths[i] != 12) in generateCode()
1209 … incErrorInt( "A Gregorian calendar must have 12 months, this one has %d", nbOfMonths[i]); in generateCode()
1211 for (j = 0; j < nbOfMonths[i]; j++) { in generateCode()
1214 of.writeParameter("monthID", monthID, i, j); in generateCode()
1217 … of.writeParameter(elementTag, "DefaultAbbrvName",currNode->getChildAt(1)->getValue() ,i, j); in generateCode()
1218 … of.writeParameter(elementTag, "DefaultFullName",currNode->getChildAt(2)->getValue() , i, j); in generateCode()
1225 if (ref_name.getLength() > 0 && i > 0) { in generateCode()
1226 for (j = 0; j < i; j++) { in generateCode()
1233 of.writeParameter("eraRef", OUString::createFromAscii("ref"), i); in generateCode()
1234 of.writeParameter("eraRefName", ref_name, i); in generateCode()
1235 nbOfEras[i] = 0; in generateCode()
1239 nbOfEras[i] = sal::static_int_cast<sal_Int16>( erasNode->getNumberOfChildren() ); in generateCode()
1240 if (bGregorian && nbOfEras[i] != 2) in generateCode()
1241 incErrorInt( "A Gregorian calendar must have 2 eras, this one has %d", nbOfEras[i]); in generateCode()
1243 for (j = 0; j < nbOfEras[i]; j++) { in generateCode()
1246 of.writeParameter("eraID", eraID, i, j); in generateCode()
1252 … of.writeParameter(elementTag, "DefaultAbbrvName",currNode->getChildAt(1)->getValue() ,i, j); in generateCode()
1253 … of.writeParameter(elementTag, "DefaultFullName",currNode->getChildAt(2)->getValue() , i, j); in generateCode()
1257 if (nbOfDays[i]) in generateCode()
1259 for (j = 0; j < nbOfDays[i]; j++) in generateCode()
1266 if (j >= nbOfDays[i]) in generateCode()
1269 of.writeParameter("startDayOfWeek", str, i); in generateCode()
1272 if (nDays < 1 || (0 < nbOfDays[i] && nbOfDays[i] < nDays)) in generateCode()
1274 of.writeIntParameter("minimalDaysInFirstWeek", i, nDays); in generateCode()
1284 for(i = 0; i < nbOfCalendars - 1; i++) { in generateCode()
1285 of.writeInt(nbOfDays[i]); in generateCode()
1288 of.writeInt(nbOfDays[i]); in generateCode()
1292 for(i = 0; i < nbOfCalendars - 1; i++) { in generateCode()
1293 of.writeInt(nbOfMonths[i]); in generateCode()
1296 of.writeInt(nbOfMonths[i]); in generateCode()
1300 for(i = 0; i < nbOfCalendars - 1; i++) { in generateCode()
1301 of.writeInt(nbOfEras[i]); in generateCode()
1304 of.writeInt(nbOfEras[i]); in generateCode()
1312 for(i = 0; i < nbOfCalendars; i++) { in generateCode()
1314 of.writeInt(i); in generateCode()
1317 of.writeInt(i); in generateCode()
1319 if (nbOfDays[i] == 0) { in generateCode()
1321 of.writeInt(i); of.writeAsciiString(",\n"); in generateCode()
1323 of.writeInt(i); of.writeAsciiString(",\n"); in generateCode()
1325 for(j = 0; j < nbOfDays[i]; j++) { in generateCode()
1327 of.writeInt(i); of.writeInt(j); of.writeAsciiString(",\n"); in generateCode()
1329 of.writeInt(i); of.writeInt(j); of.writeAsciiString(",\n"); in generateCode()
1330 …of.writeAsciiString("\tdayDefaultFullName");of.writeInt(i); of.writeInt(j); of.writeAsciiString(",… in generateCode()
1333 if (nbOfMonths[i] == 0) { in generateCode()
1335 of.writeInt(i); of.writeAsciiString(",\n"); in generateCode()
1337 of.writeInt(i); of.writeAsciiString(",\n"); in generateCode()
1339 for(j = 0; j < nbOfMonths[i]; j++) { in generateCode()
1340 … of.writeAsciiString("\tmonthID");of.writeInt(i);of.writeInt(j);of.writeAsciiString(",\n"); in generateCode()
1341 …of.writeAsciiString("\tmonthDefaultAbbrvName");of.writeInt(i);of.writeInt(j);of.writeAsciiString("… in generateCode()
1342 …of.writeAsciiString("\tmonthDefaultFullName");of.writeInt(i);of.writeInt(j);of.writeAsciiString(",… in generateCode()
1345 if (nbOfEras[i] == 0) { in generateCode()
1347 of.writeInt(i); of.writeAsciiString(",\n"); in generateCode()
1349 of.writeInt(i); of.writeAsciiString(",\n"); in generateCode()
1351 for(j = 0; j < nbOfEras[i]; j++) { in generateCode()
1352 … of.writeAsciiString("\teraID"); of.writeInt(i); of.writeInt(j); of.writeAsciiString(",\n"); in generateCode()
1353 …of.writeAsciiString("\teraDefaultAbbrvName");of.writeInt(i);of.writeInt(j);of.writeAsciiString(",\… in generateCode()
1354 …of.writeAsciiString("\teraDefaultFullName");of.writeInt(i);of.writeInt(j);of.writeAsciiString(",\n… in generateCode()
1357 of.writeAsciiString("\tstartDayOfWeek");of.writeInt(i); of.writeAsciiString(",\n"); in generateCode()
1358 of.writeAsciiString("\tminimalDaysInFirstWeek");of.writeInt(i); of.writeAsciiString(",\n"); in generateCode()
1388 sal_Int16 i; in generateCode() local
1392 for ( i = 0; i < getNumberOfChildren(); i++,nbOfCurrencies++) { in generateCode()
1393 LocaleNode * calNode = getChildAt (i); in generateCode()
1444 for(i = 0; i < nbOfCurrencies; i++) { in generateCode()
1446 of.writeInt(i); in generateCode()
1449 of.writeInt(i); in generateCode()
1452 of.writeInt(i); in generateCode()
1455 of.writeInt(i); in generateCode()
1458 of.writeInt(i); in generateCode()
1461 of.writeInt(i); in generateCode()
1464 of.writeInt(i); in generateCode()
1467 of.writeInt(i); in generateCode()
1483 sal_Int16 i; in generateCode() local
1485 for ( i = 0; i < getNumberOfChildren(); i++,nbOfModules++) { in generateCode()
1486 LocaleNode * calNode = getChildAt (i); in generateCode()
1495 for( i = 0; i < nbOfModules; i++) { in generateCode()
1497 of.writeInt(i); in generateCode()
1542 sal_Int16 i; in generateCode() local
1544 for ( i = 0; i < sal_Int16(sizeof(ReserveWord)/sizeof(ReserveWord[0])); i++,nbOfWords++) { in generateCode()
1546 ReserveWord[i].name) : 0); in generateCode()
1550 ReserveWord[i].name, ReserveWord[i].value); in generateCode()
1551 str = curNode ? curNode -> getValue() : OUString::createFromAscii(ReserveWord[i].value); in generateCode()
1555 fprintf( stderr, "Error: No content for ReservedWords %s.\n", ReserveWord[i].name); in generateCode()
1559 if (!bEnglishLocale && curNode && (0 <= i && i <= 7) && in generateCode()
1560 str.equalsIgnoreAsciiCaseAscii( ReserveWord[i].value)) in generateCode()
1564 ReserveWord[i].name, ReserveWord[i].value); in generateCode()
1571 for( i = 0; i < nbOfWords; i++) { in generateCode()
1573 of.writeInt(i); in generateCode()
1635 sal_Int32 i; in generateCode() local
1637 for( i = 0; i < nStyles; i++ ) in generateCode()
1639 const Attr* q = getChildAt( i )->getAttr(); in generateCode()
1644 of.writeParameter("continuous", name, value, sal::static_int_cast<sal_Int16>(i) ); in generateCode()
1657 for( i=0; i<nStyles; i++ ) in generateCode()
1660 of.writeInt( sal::static_int_cast<sal_Int16>(i) ); in generateCode()
1667 of.writeInt(sal::static_int_cast<sal_Int16>(i)); in generateCode()
1676 for( i=0; i<nStyles; i++ ) in generateCode()
1680 of.writeInt( sal::static_int_cast<sal_Int16>(i) ); in generateCode()
1719 for( sal_Int32 i = 0; i < nStyles; i++ ) in generateCode() local
1721 LocaleNode* p = getChildAt( i ); in generateCode()
1731 sal::static_int_cast<sal_Int16>(i), in generateCode()
1738 for( size_t i=0; i<nLevels.size(); i++ ) in generateCode() local
1740 if( nLevels[0] != nLevels[i] ) in generateCode()
1767 for( sal_Int32 i=0; i<nStyles; i++ ) in generateCode() local
1773 of.writeInt( sal::static_int_cast<sal_Int16>(i) ); in generateCode()
1782 of.writeInt( sal::static_int_cast<sal_Int16>(i) ); in generateCode()
1793 for( sal_Int32 i=0; i<nStyles; i++ ) in generateCode() local
1797 of.writeInt( sal::static_int_cast<sal_Int16>(i) ); in generateCode()
1803 of.writeInt( sal::static_int_cast<sal_Int16>(i) ); in generateCode()
1813 for( sal_Int32 i=0; i<nStyles; i++ ) in generateCode() local
1817 of.writeInt( sal::static_int_cast<sal_Int16>(i) ); in generateCode()
1829 for (sal_Int16 i =0; i< len;i++) { in Attr() local
1830 name[i] = attr->getNameByIndex(i); in Attr()
1831 value[i] = attr -> getValueByIndex(i); in Attr()
1838 for (sal_Int32 i = 0;i<len;i++) in getValueByName() local
1839 if (name[i].equalsAscii(str)) in getValueByName()
1840 return value[i]; in getValueByName()