Lines Matching refs:i
299 sal_uInt32 i; in test_rtl_OUStringBuffer_makeStringAndClear() local
301 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_makeStringAndClear()
304 ( arrTestCase[i].input1->makeStringAndClear() == in test_rtl_OUStringBuffer_makeStringAndClear()
305 *( arrTestCase[i].expVal )); in test_rtl_OUStringBuffer_makeStringAndClear()
306 lastRes = lastRes && ( arrTestCase[i].input1->getCapacity() == 0 ); in test_rtl_OUStringBuffer_makeStringAndClear()
307 lastRes = lastRes && ( *(arrTestCase[i].input1->getStr()) == '\0' ); in test_rtl_OUStringBuffer_makeStringAndClear()
313 arrTestCase[i].comments, in test_rtl_OUStringBuffer_makeStringAndClear()
314 createName( pMeth, "makeStringAndClear", i ) in test_rtl_OUStringBuffer_makeStringAndClear()
376 sal_uInt32 i; in test_rtl_OUStringBuffer_getLength() local
378 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_getLength()
380 sal_Int32 length = arrTestCase[i].input->getLength(); in test_rtl_OUStringBuffer_getLength()
381 sal_Bool lastRes = (length == arrTestCase[i].expVal); in test_rtl_OUStringBuffer_getLength()
386 arrTestCase[i].comments, in test_rtl_OUStringBuffer_getLength()
387 createName( pMeth, "getLength", i ) in test_rtl_OUStringBuffer_getLength()
461 sal_uInt32 i; in test_rtl_OUStringBuffer_getCapacity() local
463 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_getCapacity()
465 sal_Int32 length = arrTestCase[i].input->getCapacity(); in test_rtl_OUStringBuffer_getCapacity()
466 sal_Bool lastRes = (length == arrTestCase[i].expVal); in test_rtl_OUStringBuffer_getCapacity()
471 arrTestCase[i].comments, in test_rtl_OUStringBuffer_getCapacity()
472 createName( pMeth, "getCapacity", i ) in test_rtl_OUStringBuffer_getCapacity()
556 sal_uInt32 i; in test_rtl_OUStringBuffer_ensureCapacity() local
558 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_ensureCapacity()
560 arrTestCase[i].input1->ensureCapacity(arrTestCase[i].input2); in test_rtl_OUStringBuffer_ensureCapacity()
561 sal_Int32 length = arrTestCase[i].input1->getCapacity(); in test_rtl_OUStringBuffer_ensureCapacity()
562 sal_Bool lastRes = (length == arrTestCase[i].expVal); in test_rtl_OUStringBuffer_ensureCapacity()
568 arrTestCase[i].comments, in test_rtl_OUStringBuffer_ensureCapacity()
569 createName( pMeth, "ensureCapacity", i ) in test_rtl_OUStringBuffer_ensureCapacity()
686 sal_uInt32 i; in test_rtl_OUStringBuffer_setLength() local
688 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_setLength()
690 arrTestCase[i].input1->setLength(arrTestCase[i].input2); in test_rtl_OUStringBuffer_setLength()
692 ( arrTestCase[i].input1->getStr() == *(arrTestCase[i].expVal2) && in test_rtl_OUStringBuffer_setLength()
693 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal1 && in test_rtl_OUStringBuffer_setLength()
694 arrTestCase[i].input1->getCapacity() == arrTestCase[i].expVal3 ); in test_rtl_OUStringBuffer_setLength()
700 arrTestCase[i].comments, in test_rtl_OUStringBuffer_setLength()
701 createName( pMeth, "setLength", i ) in test_rtl_OUStringBuffer_setLength()
763 sal_uInt32 i; in test_rtl_OUStringBuffer_charAt() local
765 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_charAt()
768 ( arrTestCase[i].input1->charAt(arrTestCase[i].input2) == in test_rtl_OUStringBuffer_charAt()
769 arrTestCase[i].expVal ); in test_rtl_OUStringBuffer_charAt()
777 arrTestCase[i].comments, in test_rtl_OUStringBuffer_charAt()
778 createName( pMeth, "charAt", i ) in test_rtl_OUStringBuffer_charAt()
837 sal_uInt32 i; in test_rtl_OUStringBuffer_csuc() local
838 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_csuc()
840 const sal_Unicode* pstr = *arrTestCase[i].input1; in test_rtl_OUStringBuffer_csuc()
845 cmpustr( pstr, arrTestCase[i].expVal, arrTestCase[i].cmpLen ), in test_rtl_OUStringBuffer_csuc()
846 arrTestCase[i].comments, in test_rtl_OUStringBuffer_csuc()
847 createName( pMeth, "const sal_Unicode*", i ) in test_rtl_OUStringBuffer_csuc()
892 sal_uInt32 i; in test_rtl_OUStringBuffer_getStr() local
893 for(i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_getStr()
895 const sal_Unicode* pstr = arrTestCase[i].input1->getStr(); in test_rtl_OUStringBuffer_getStr()
900 cmpustr( pstr, arrTestCase[i].expVal, arrTestCase[i].cmpLen ), in test_rtl_OUStringBuffer_getStr()
901 arrTestCase[i].comments, in test_rtl_OUStringBuffer_getStr()
902 createName( pMeth, "getStr", i ) in test_rtl_OUStringBuffer_getStr()
972 sal_uInt32 i; in test_rtl_OUStringBuffer_setCharAt() local
974 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_setCharAt()
977 ( (arrTestCase[i].input1->setCharAt(arrTestCase[i].input2, in test_rtl_OUStringBuffer_setCharAt()
978 arrTestCase[i].input3)).getStr() == *(arrTestCase[i].expVal) ); in test_rtl_OUStringBuffer_setCharAt()
979 if(i<=4) in test_rtl_OUStringBuffer_setCharAt()
985 arrTestCase[i].comments, in test_rtl_OUStringBuffer_setCharAt()
986 createName( pMeth, "setCharAt", i ) in test_rtl_OUStringBuffer_setCharAt()
996 arrTestCase[i].comments, in test_rtl_OUStringBuffer_setCharAt()
997 createName( pMeth, "setCharAt", i ) in test_rtl_OUStringBuffer_setCharAt()
1105 sal_uInt32 i; in test_rtl_OUStringBuffer_append_001() local
1107 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_append_001()
1109 arrTestCase[i].input1->append( *(arrTestCase[i].input2) ); in test_rtl_OUStringBuffer_append_001()
1111 ( arrTestCase[i].input1->getStr()== *(arrTestCase[i].expVal) && in test_rtl_OUStringBuffer_append_001()
1112 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal->getLength() ); in test_rtl_OUStringBuffer_append_001()
1118 arrTestCase[i].comments, in test_rtl_OUStringBuffer_append_001()
1119 createName( pMeth, "append(const OUString &str)_001", i ) in test_rtl_OUStringBuffer_append_001()
1227 sal_uInt32 i; in test_rtl_OUStringBuffer_append_002() local
1229 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_append_002()
1231 arrTestCase[i].input1->append( arrTestCase[i].input2 ); in test_rtl_OUStringBuffer_append_002()
1233 ( arrTestCase[i].input1->getStr()== *(arrTestCase[i].expVal) && in test_rtl_OUStringBuffer_append_002()
1234 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal->getLength() ); in test_rtl_OUStringBuffer_append_002()
1240 arrTestCase[i].comments, in test_rtl_OUStringBuffer_append_002()
1241 createName( pMeth, "append( const sal_Unicode * str )_002", i ) in test_rtl_OUStringBuffer_append_002()
1375 sal_uInt32 i; in test_rtl_OUStringBuffer_append_003() local
1377 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_append_003()
1379 arrTestCase[i].input1->append( in test_rtl_OUStringBuffer_append_003()
1380 arrTestCase[i].input2, arrTestCase[i].input3); in test_rtl_OUStringBuffer_append_003()
1382 ( arrTestCase[i].input1->getStr()== *(arrTestCase[i].expVal) && in test_rtl_OUStringBuffer_append_003()
1383 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal->getLength() ); in test_rtl_OUStringBuffer_append_003()
1389 arrTestCase[i].comments, in test_rtl_OUStringBuffer_append_003()
1390 createName( pMeth, "append( const sal_Unicode * str, sal_Int32 len)_003", i ) in test_rtl_OUStringBuffer_append_003()
1471 sal_uInt32 i; in test_rtl_OUStringBuffer_append_004() local
1473 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_append_004()
1475 arrTestCase[i].input1->append( in test_rtl_OUStringBuffer_append_004()
1476 arrTestCase[i].input2 ); in test_rtl_OUStringBuffer_append_004()
1478 ( arrTestCase[i].input1->getStr()== *(arrTestCase[i].expVal) && in test_rtl_OUStringBuffer_append_004()
1479 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal->getLength() ); in test_rtl_OUStringBuffer_append_004()
1485 arrTestCase[i].comments, in test_rtl_OUStringBuffer_append_004()
1486 createName( pMeth, "append( sal_Bool b)_004", i ) in test_rtl_OUStringBuffer_append_004()
1611 sal_uInt32 i; in test_rtl_OUStringBuffer_appendAscii_001() local
1613 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_appendAscii_001()
1615 arrTestCase[i].input1->appendAscii( arrTestCase[i].input2 ); in test_rtl_OUStringBuffer_appendAscii_001()
1617 ( arrTestCase[i].input1->getStr()== *(arrTestCase[i].expVal) && in test_rtl_OUStringBuffer_appendAscii_001()
1618 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal->getLength() ); in test_rtl_OUStringBuffer_appendAscii_001()
1624 arrTestCase[i].comments, in test_rtl_OUStringBuffer_appendAscii_001()
1625 createName( pMeth, "appendAscii_001", i ) in test_rtl_OUStringBuffer_appendAscii_001()
1757 sal_uInt32 i; in test_rtl_OUStringBuffer_appendAscii_002() local
1759 for (i = 0; i < (sizeof (arrTestCase))/(sizeof (TestCase)); i++) in test_rtl_OUStringBuffer_appendAscii_002()
1761 arrTestCase[i].input1->appendAscii( in test_rtl_OUStringBuffer_appendAscii_002()
1762 arrTestCase[i].input2, arrTestCase[i].input3); in test_rtl_OUStringBuffer_appendAscii_002()
1764 ( arrTestCase[i].input1->getStr()== *(arrTestCase[i].expVal) && in test_rtl_OUStringBuffer_appendAscii_002()
1765 arrTestCase[i].input1->getLength() == arrTestCase[i].expVal->getLength() ); in test_rtl_OUStringBuffer_appendAscii_002()
1771 arrTestCase[i].comments, in test_rtl_OUStringBuffer_appendAscii_002()
1772 createName( pMeth, "appendAscii_002", i ) in test_rtl_OUStringBuffer_appendAscii_002()