Lines Matching refs:idx
326 sal_Int32 idx = -1,idx1 = -1,idx2 = -1,k = 0,off; in replaceName() local
332 ++idx; in replaceName()
333 idx1 = oustring.indexOf( sal_Unicode('%'),idx); in replaceName()
334 idx2 = oustring.indexOf( sal_Unicode('$'),idx); in replaceName()
340 idx = idx2; in replaceName()
342 idx = idx1; in replaceName()
346 idx = idx1; in replaceName()
348 idx = idx2; in replaceName()
351 if( oustring.indexOf( prodName,idx ) == idx ) in replaceName()
353 else if( oustring.indexOf( prodVersion,idx ) == idx ) in replaceName()
355 else if( oustring.indexOf( vendName,idx ) == idx ) in replaceName()
357 else if( oustring.indexOf( vendVersion,idx ) == idx ) in replaceName()
359 else if( oustring.indexOf( vendShort,idx ) == idx ) in replaceName()
361 else if( oustring.indexOf( newProdName,idx ) == idx ) in replaceName()
363 else if( oustring.indexOf( newProdVersion,idx ) == idx ) in replaceName()
376 aStrBuf.append( &oustring.getStr()[k],idx - k ); in replaceName()
378 k = idx + m_vAdd[off]; in replaceName()
430 sal_Int32 idx; in getModuleList() local
444 idx = fileName.lastIndexOf( sal_Unicode( '.' ) ); in getModuleList()
446 if( idx == -1 ) in getModuleList()
451 if( fileName.getLength() == idx + 4 && in getModuleList()
452 ( str[idx + 1] == 'c' || str[idx + 1] == 'C' ) && in getModuleList()
453 ( str[idx + 2] == 'f' || str[idx + 2] == 'F' ) && in getModuleList()
454 ( str[idx + 3] == 'g' || str[idx + 3] == 'G' ) && in getModuleList()
455 ( fileName = fileName.copy(0,idx).toAsciiLowerCase() ).compareToAscii( "picture" ) != 0 ) { in getModuleList()
572 sal_Int32 idx; in processLang() local
580 else if( ( ( idx = Language.indexOf( '-' ) ) != -1 || in processLang()
581 ( idx = Language.indexOf( '_' ) ) != -1 ) && in processLang()
582 … osl::FileBase::E_None == osl::DirectoryItem::get( getInstallPathAsURL() + Language.copy( 0,idx ), in processLang()
585 ret = Language.copy( 0,idx ); in processLang()
598 sal_Int32 idx; in country() local
599 if( ( idx = Language.indexOf( '-' ) ) != -1 || in country()
600 ( idx = Language.indexOf( '_' ) ) != -1 ) in country()
601 return Language.copy( 1+idx ); in country()
775 int idx = -1,k; in init() local
776 while( ( idx = ids.indexOf( ';',k = ++idx ) ) != -1 ) in init()
779 if( h < idx ) in init()
783 anchor.push_back( rtl::OUString( &idstr[h+1],idx-h-1 ) ); in init()
787 id.push_back( rtl::OUString( &idstr[k],idx-k ) ); in init()