Lines Matching refs:idx

195 	sal_Int32 idx = -1,k = 0,off;  in replaceName()  local
199 while( ( idx = oustring.indexOf( sal_Unicode('%'),++idx ) ) != -1 ) in replaceName()
201 if( oustring.indexOf( prodName,idx ) == idx ) in replaceName()
203 else if( oustring.indexOf( prodVersion,idx ) == idx ) in replaceName()
205 else if( oustring.indexOf( vendName,idx ) == idx ) in replaceName()
207 else if( oustring.indexOf( vendVersion,idx ) == idx ) in replaceName()
209 else if( oustring.indexOf( vendShort,idx ) == idx ) in replaceName()
222 aStrBuf.append( &oustring.getStr()[k],idx - k ); in replaceName()
224 k = idx + m_vAdd[off]; in replaceName()
392 sal_Int32 idx; in getByHierarchicalName() local
395 if( ( idx = name.indexOf( sal_Unicode( '/' ) ) ) != -1 && in getByHierarchicalName()
396 name.copy( 0,idx ).compareToAscii( "Children" ) == 0 ) in getByHierarchicalName()
397 return Children->getByHierarchicalName( name.copy( 1 + idx ) ); in getByHierarchicalName()
409 sal_Int32 idx; in hasByHierarchicalName() local
412 if( ( idx = name.indexOf( sal_Unicode( '/' ) ) ) != -1 && in hasByHierarchicalName()
413 name.copy( 0,idx ).compareToAscii( "Children" ) == 0 ) in hasByHierarchicalName()
414 return Children->hasByHierarchicalName( name.copy( 1 + idx ) ); in hasByHierarchicalName()
560 sal_Int32 idx = num.toInt32() - 1; in getByName() local
561 if( idx < 0 || Elements.size() <= sal_uInt32( idx ) ) in getByName()
565 cppu::OWeakObject* p = Elements[idx].get(); in getByName()
591 sal_Int32 idx = num.toInt32() - 1; in hasByName() local
592 if( idx < 0 || Elements.size() <= sal_uInt32( idx ) ) in hasByName()
607 sal_Int32 idx; in getByHierarchicalName() local
610 if( ( idx = name.indexOf( sal_Unicode( '/' ) ) ) != -1 ) in getByHierarchicalName()
612 rtl::OUString num( name.getStr()+2,idx-4 ); in getByHierarchicalName()
618 return Elements[pref]->getByHierarchicalName( name.copy( 1 + idx ) ); in getByHierarchicalName()
630 sal_Int32 idx; in hasByHierarchicalName() local
633 if( ( idx = name.indexOf( sal_Unicode( '/' ) ) ) != -1 ) in hasByHierarchicalName()
635 rtl::OUString num( name.getStr()+2,idx-4 ); in hasByHierarchicalName()
640 return Elements[pref]->hasByHierarchicalName( name.copy( 1 + idx ) ); in hasByHierarchicalName()
721 sal_Int32 idx; in init() local
725 else if( ( ( idx = locale.indexOf( '-' ) ) != -1 || in init()
726 ( idx = locale.indexOf( '_' ) ) != -1 ) && in init()
727 osl::FileBase::E_None == osl::DirectoryItem::get( url + locale.copy( 0,idx ), in init()
729 ret = locale.copy( 0,idx ); in init()