Lines Matching refs:i

203     for (std::size_t i = 0; i < sizeof data / sizeof data[0]; ++i) {  in testParse()  local
206 rtl::OUString::createFromAscii(data[i].uriReference))); in testParse()
207 CPPUNIT_ASSERT(uriRef.is() == (data[i].schemeSpecificPart != 0)); in testParse()
210 "testParse", i, data[i].uriReference, in testParse()
211 rtl::OUString::createFromAscii(data[i].uriReference), in testParse()
214 "testParse", i, data[i].uriReference, in testParse()
215 data[i].scheme != 0, uriRef->isAbsolute()); in testParse()
217 "testParse", i, data[i].uriReference, in testParse()
219 data[i].scheme == 0 ? "" : data[i].scheme), in testParse()
222 "testParse", i, data[i].uriReference, in testParse()
223 rtl::OUString::createFromAscii(data[i].schemeSpecificPart), in testParse()
226 "testParse", i, data[i].uriReference, in testParse()
227 data[i].isHierarchical, in testParse()
230 "testParse", i, data[i].uriReference, in testParse()
231 data[i].authority != 0, uriRef->hasAuthority()); in testParse()
233 "testParse", i, data[i].uriReference, in testParse()
235 data[i].authority == 0 ? "" : data[i].authority), in testParse()
238 "testParse", i, data[i].uriReference, in testParse()
239 rtl::OUString::createFromAscii(data[i].path), in testParse()
242 "testParse", i, data[i].uriReference, in testParse()
243 data[i].hasRelativePath, in testParse()
246 "testParse", i, data[i].uriReference, in testParse()
247 data[i].pathSegmentCount, uriRef->getPathSegmentCount()); in testParse()
249 "testParse", i, data[i].uriReference, in testParse()
252 "testParse", i, data[i].uriReference, in testParse()
253 rtl::OUString::createFromAscii(data[i].pathSegment0), in testParse()
256 "testParse", i, data[i].uriReference, in testParse()
257 rtl::OUString::createFromAscii(data[i].pathSegment1), in testParse()
260 "testParse", i, data[i].uriReference, in testParse()
261 rtl::OUString::createFromAscii(data[i].pathSegment2), in testParse()
264 "testParse", i, data[i].uriReference, in testParse()
265 rtl::OUString::createFromAscii(data[i].pathSegment3), in testParse()
268 "testParse", i, data[i].uriReference, in testParse()
269 rtl::OUString::createFromAscii(data[i].pathSegment4), in testParse()
272 "testParse", i, data[i].uriReference, in testParse()
275 "testParse", i, data[i].uriReference, in testParse()
276 data[i].query != 0, uriRef->hasQuery()); in testParse()
278 "testParse", i, data[i].uriReference, in testParse()
280 data[i].query == 0 ? "" : data[i].query), in testParse()
283 "testParse", i, data[i].uriReference, in testParse()
284 data[i].fragment != 0, uriRef->hasFragment()); in testParse()
286 "testParse", i, data[i].uriReference, in testParse()
288 data[i].fragment == 0 ? "" : data[i].fragment), in testParse()
593 for (std::size_t i = 0; i < sizeof data / sizeof data[0]; ++i) { in testMakeAbsolute() local
596 rtl::OUString::createFromAscii(data[i].baseUriReference))); in testMakeAbsolute()
600 rtl::OUString::createFromAscii(data[i].uriReference))); in testMakeAbsolute()
604 baseUriRef, uriRef, data[i].processSpecialBaseSegments, in testMakeAbsolute()
605 data[i].excessParentSegments)); in testMakeAbsolute()
607 "testMakeAbsolute", i, data[i].uriReference, in testMakeAbsolute()
608 data[i].absolute != 0, absolute.is()); in testMakeAbsolute()
611 "testMakeAbsolute", i, data[i].uriReference, in testMakeAbsolute()
612 rtl::OUString::createFromAscii(data[i].absolute), in testMakeAbsolute()
698 for (std::size_t i = 0; i < sizeof data / sizeof data[0]; ++i) { in testMakeRelative() local
701 rtl::OUString::createFromAscii(data[i].baseUriReference))); in testMakeRelative()
705 rtl::OUString::createFromAscii(data[i].uriReference))); in testMakeRelative()
709 baseUriRef, uriRef, data[i].preferAuthorityOverRelativePath, in testMakeRelative()
710 data[i].preferAbsoluteOverRelativePath, in testMakeRelative()
711 data[i].encodeRetainedSpecialSegments)); in testMakeRelative()
713 "testMakeRelative", i, data[i].uriReference, in testMakeRelative()
714 data[i].relative != 0, relative.is()); in testMakeRelative()
717 "testMakeRelative", i, data[i].uriReference, in testMakeRelative()
718 rtl::OUString::createFromAscii(data[i].relative), in testMakeRelative()
726 "testMakeRelative", i, data[i].uriReference, in testMakeRelative()
728 data[i].absolute == 0 in testMakeRelative()
729 ? data[i].uriReference : data[i].absolute), in testMakeRelative()
751 for (std::size_t i = 0; i < sizeof data / sizeof data[0]; ++i) { in testVndSunStarExpand() local
754 rtl::OUString::createFromAscii(data[i].uriReference))); in testVndSunStarExpand()
756 "testVndSunStarExpand", i, data[i].uriReference, in testVndSunStarExpand()
757 data[i].expanded != 0, uriRef.is()); in testVndSunStarExpand()
762 "testVndSunStarExpand", i, data[i].uriReference, in testVndSunStarExpand()
763 rtl::OUString::createFromAscii(data[i].expanded), in testVndSunStarExpand()
791 for (std::size_t i = 0; i < sizeof data / sizeof data[0]; ++i) { in testVndSunStarScript() local
794 rtl::OUString::createFromAscii(data[i].uriReference))); in testVndSunStarScript()
796 "testVndSunStarScript", i, data[i].uriReference, data[i].name != 0, in testVndSunStarScript()
802 "testVndSunStarScript", i, data[i].uriReference, in testVndSunStarScript()
803 rtl::OUString::createFromAscii(data[i].uriReference), in testVndSunStarScript()
806 "testVndSunStarScript", i, data[i].uriReference, in testVndSunStarScript()
807 rtl::OUString::createFromAscii(data[i].name), in testVndSunStarScript()
811 if (data[i].parameters[j].key != 0) { in testVndSunStarScript()
814 static_cast< double >(i) in testVndSunStarScript()
816 data[i].uriReference, in testVndSunStarScript()
817 data[i].parameters[j].value != 0, in testVndSunStarScript()
820 data[i].parameters[j].key))); in testVndSunStarScript()
823 static_cast< double >(i) in testVndSunStarScript()
825 data[i].uriReference, in testVndSunStarScript()
827 data[i].parameters[j].value), in testVndSunStarScript()
830 data[i].parameters[j].key))); in testVndSunStarScript()
834 if ( data[i].normalized ) { in testVndSunStarScript()
836 data[i].parameters[j].key)) ) { in testVndSunStarScript()
839 data[i].parameters[j].key), in testVndSunStarScript()
842 data[i].parameters[j].key))); in testVndSunStarScript()
845 static_cast< double >(i) in testVndSunStarScript()
854 if ( data[i].normalized ) { in testVndSunStarScript()
858 i, in testVndSunStarScript()
948 for (std::size_t i = 0; i < sizeof data / sizeof data[0]; ++i) { in testTranslator() local
949 if (data[i].toInternal) { in testTranslator()
951 "testTranslator, translateToInternal", i, in testTranslator()
952 data[i].externalUriReference, in testTranslator()
953 rtl::OUString::createFromAscii(data[i].internalUriReference), in testTranslator()
956 data[i].externalUriReference))); in testTranslator()
959 "testTranslator, translateToExternal", i, in testTranslator()
960 data[i].internalUriReference, in testTranslator()
961 rtl::OUString::createFromAscii(data[i].externalUriReference), in testTranslator()
963 rtl::OUString::createFromAscii(data[i].internalUriReference))); in testTranslator()
979 for (std::size_t i = 0; i < sizeof data / sizeof data[0]; ++i) { in testPkgUrlFactory() local
983 rtl::OUString::createFromAscii(data[i].authority)))); in testPkgUrlFactory()
985 "testVndSunStarPkgFactory", i, data[i].authority, in testPkgUrlFactory()
986 data[i].result != 0, static_cast< bool >(url.is())); in testPkgUrlFactory()
987 if (data[i].result != 0) { in testPkgUrlFactory()
989 "testVndSunStarPkgFactory", i, data[i].authority, in testPkgUrlFactory()
990 rtl::OUString::createFromAscii(data[i].result), in testPkgUrlFactory()