Home
last modified time | relevance | path

Searched refs:compareTo (Results 1 – 25 of 241) sorted by relevance

12345678910

/aoo41x/main/framework/inc/
H A Dprotocols.h92 if (sURL.compareTo(SPECIALPROTOCOL_PRIVATE,SPECIALPROTOCOL_PRIVATE.getLength()) == 0) in specifyProtocol()
95 …if (sURL.compareTo(SPECIALPROTOCOL_PRIVATE_OBJECT,SPECIALPROTOCOL_PRIVATE_OBJECT.getLength()) == 0) in specifyProtocol()
98 …if (sURL.compareTo(SPECIALPROTOCOL_PRIVATE_STREAM,SPECIALPROTOCOL_PRIVATE_STREAM.getLength()) == 0) in specifyProtocol()
101 …if (sURL.compareTo(SPECIALPROTOCOL_PRIVATE_FACTORY,SPECIALPROTOCOL_PRIVATE_FACTORY.getLength()) ==… in specifyProtocol()
104 if (sURL.compareTo(SPECIALPROTOCOL_SLOT,SPECIALPROTOCOL_SLOT.getLength()) == 0) in specifyProtocol()
107 if (sURL.compareTo(SPECIALPROTOCOL_UNO,SPECIALPROTOCOL_UNO.getLength()) == 0) in specifyProtocol()
110 if (sURL.compareTo(SPECIALPROTOCOL_MACRO,SPECIALPROTOCOL_MACRO.getLength()) == 0) in specifyProtocol()
113 if (sURL.compareTo(SPECIALPROTOCOL_SERVICE,SPECIALPROTOCOL_SERVICE.getLength()) == 0) in specifyProtocol()
116 if (sURL.compareTo(SPECIALPROTOCOL_MAILTO,SPECIALPROTOCOL_MAILTO.getLength()) == 0) in specifyProtocol()
119 if (sURL.compareTo(SPECIALPROTOCOL_NEWS,SPECIALPROTOCOL_NEWS.getLength()) == 0) in specifyProtocol()
[all …]
H A Dqueries.h291 … if( sParam.compareTo( QUERYPARAM_DEFAULT_FIRST, QUERYPARAM_DEFAULT_FIRST.getLength() ) == 0 ) in QueryAnalyzer()
297 … if( sParam.compareTo( QUERYPARAM_USE_ORDER, QUERYPARAM_USE_ORDER.getLength() ) == 0 ) in QueryAnalyzer()
303 … if( sParam.compareTo( QUERYPARAM_DESCENDING, QUERYPARAM_DESCENDING.getLength() ) == 0 ) in QueryAnalyzer()
309 … if( sParam.compareTo( QUERYPARAM_CASE_SENSITIVE, QUERYPARAM_CASE_SENSITIVE.getLength() ) == 0 ) in QueryAnalyzer()
315 if( sParam.compareTo( QUERYPARAM_IFLAGS, QUERYPARAM_IFLAGS.getLength() ) == 0 ) in QueryAnalyzer()
326 if( sParam.compareTo( QUERYPARAM_EFLAGS, QUERYPARAM_EFLAGS.getLength() ) == 0 ) in QueryAnalyzer()
337 … if( sParam.compareTo( QUERYPARAM_SORT_PROP, QUERYPARAM_SORT_PROP.getLength() ) == 0 ) in QueryAnalyzer()
344 …if( sParamValue.compareTo( QUERYPARAMVALUE_SORT_PROP_NAME, QUERYPARAMVALUE_SORT_PROP_NAME.getLengt… in QueryAnalyzer()
347 …if( sParamValue.compareTo( QUERYPARAMVALUE_SORT_PROP_UINAME, QUERYPARAMVALUE_SORT_PROP_UINAME.getL… in QueryAnalyzer()
/aoo41x/main/winaccessibility/source/UAccCOM/
H A DAccEditableText.cpp270 if(ouName.compareTo(L"CharBackColor") == 0 || in get_AnyFromOLECHAR()
271 ouName.compareTo(L"CharColor") == 0 || in get_AnyFromOLECHAR()
272 ouName.compareTo(L"ParaAdjust") == 0 || in get_AnyFromOLECHAR()
278 ouName.compareTo(L"CharFontPitch") == 0) in get_AnyFromOLECHAR()
286 ouName.compareTo(L"CharContoured") == 0) in get_AnyFromOLECHAR()
295 ouName.compareTo(L"CharFontPitch") == 0) in get_AnyFromOLECHAR()
301 else if(ouName.compareTo(L"CharHeight") == 0 || in get_AnyFromOLECHAR()
302 ouName.compareTo(L"CharWeight") == 0) in get_AnyFromOLECHAR()
308 else if(ouName.compareTo(L"CharFontName") == 0) in get_AnyFromOLECHAR()
313 else if(ouName.compareTo(L"CharPosture") == 0) in get_AnyFromOLECHAR()
[all …]
H A DAccTextBase.cpp135 if(pValue.Name.compareTo(OUString::createFromAscii("NumberingLevel"))==0) in get_attributes()
144 if(pValue.Name.compareTo(OUString::createFromAscii("NumberingPrefix"))==0) in get_attributes()
150 if(pValue.Name.compareTo(OUString::createFromAscii("NumberingRules"))==0) in get_attributes()
176 if (pValue.Name.compareTo(OUString::createFromAscii("CharBackColor"))==0 || in get_attributes()
177 pValue.Name.compareTo(OUString::createFromAscii("CharColor"))==0 || in get_attributes()
178 pValue.Name.compareTo(OUString::createFromAscii("CharUnderlineColor"))==0 ) in get_attributes()
/aoo41x/main/sal/qa/rtl_strings/
H A Drtl_old_testowstring.cxx117 TEST_ENSURE( s5.compareTo(s4) == 0 , "test_OWString error 12"); in test_OUString()
125 TEST_ENSURE( s6.compareTo(OUString::createFromAscii("H")) == 0, "test_OWString error 15"); in test_OUString()
128 TEST_ENSURE( s6.compareTo(OUString::createFromAscii("123456789")) == 0, "test_OWString error 16"); in test_OUString()
263 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("Hallo"), 5 ) == 0, "test_OWString error 54… in test_OUString()
264 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("Halloa"), 6 ) < 0 , "test_OWString error 5… in test_OUString()
265 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("1Hallo"), 6 ) > 0, "test_OWString error 54… in test_OUString()
266 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("Aallo"), 5 ) > 0, "test_OWString error 54.… in test_OUString()
267 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("Halla"), 5 ) > 0, "test_OWString error 54.… in test_OUString()
268 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("Mallo"), 5 ) < 0, "test_OWString error 54.… in test_OUString()
269 …TEST_ENSURE( uStr.compareTo( OUString::createFromAscii("Hallp"), 5 ) < 0, "test_OWString error 54.… in test_OUString()
[all …]
H A Drtl_old_testostring.cxx108 TEST_ENSURE( s5.compareTo(s4) == 0 , "test_OString error 12"); in test_OString()
114 TEST_ENSURE( s6.compareTo("false") == 0, "test_OString error 14"); in test_OString()
116 TEST_ENSURE( s6.compareTo("H") == 0, "test_OString error 15"); in test_OString()
119 TEST_ENSURE( s6.compareTo("123456789") == 0, "test_OString error 16"); in test_OString()
131 TEST_ENSURE( s6.compareTo("-3223372036854775807") == 0, "test_OString error 17"); in test_OString()
211 TEST_ENSURE( OString( "aaa" ).compareTo( OString( "bbb" ) ) < 0, "test_OString error 46" ); in test_OString()
212 TEST_ENSURE( OString( "aaa" ).compareTo( OString( "aaa" ) ) == 0, "test_OString error 47" ); in test_OString()
213 TEST_ENSURE( OString( "bbb" ).compareTo( OString( "aaa" ) ) > 0, "test_OString error 48" ); in test_OString()
214 TEST_ENSURE( OString( "aaaa" ).compareTo( OString( "bbb" ) ) < 0, "test_OString error 49" ); in test_OString()
215 TEST_ENSURE( OString( "aaa" ).compareTo( OString( "bbbb" ) ) < 0, "test_OString error 50" ); in test_OString()
[all …]
/aoo41x/main/odk/examples/DevelopersGuide/Components/Addons/ProtocolHandlerAddon_java/
H A DProtocolHandlerAddon.java146 if ( aURL.Protocol.compareTo("org.openoffice.Office.addon.example:") == 0 ) { in queryDispatch()
147 if ( aURL.Path.compareTo( "Function1" ) == 0 ) in queryDispatch()
149 if ( aURL.Path.compareTo( "Function2" ) == 0 ) in queryDispatch()
151 if ( aURL.Path.compareTo( "Help" ) == 0 ) in queryDispatch()
173 if ( aURL.Protocol.compareTo("org.openoffice.Office.addon.example:") == 0 ) in dispatch()
175 if ( aURL.Path.compareTo( "Function1" ) == 0 ) in dispatch()
179 if ( aURL.Path.compareTo( "Function2" ) == 0 ) in dispatch()
183 if ( aURL.Path.compareTo( "Help" ) == 0 ) in dispatch()
/aoo41x/main/odk/examples/java/Inspector/
H A DProtocolHandlerAddon.java146 if ( aURL.Protocol.compareTo("org.openoffice.Office.addon.example:") == 0 ) { in queryDispatch()
147 if ( aURL.Path.compareTo( "Function1" ) == 0 ) in queryDispatch()
149 if ( aURL.Path.compareTo( "Function2" ) == 0 ) in queryDispatch()
151 if ( aURL.Path.compareTo( "Help" ) == 0 ) in queryDispatch()
173 if ( aURL.Protocol.compareTo("org.openoffice.Office.addon.example:") == 0 ) in dispatch()
175 if ( aURL.Path.compareTo( "Function1" ) == 0 ) in dispatch()
179 if ( aURL.Path.compareTo( "Function2" ) == 0 ) in dispatch()
183 if ( aURL.Path.compareTo( "Help" ) == 0 ) in dispatch()
H A DInspectorAddon.java66 if ( aURL.Protocol.compareTo("org.openoffice.Office.addon.Inspector:") == 0 ) { in queryDispatch()
67 if ( aURL.Path.compareTo( "inspect" ) == 0 ){ in queryDispatch()
108 … if ( _aURL.Protocol.compareTo("org.openoffice.Office.addon.Inspector:") == 0 ){ in dispatch()
/aoo41x/main/sal/inc/rtl/
H A Dstring.hxx272 sal_Int32 compareTo( const OString & str ) const SAL_THROW(()) in compareTo() function in rtl::OString
291 sal_Int32 compareTo( const OString & rObj, sal_Int32 maxLength ) const SAL_THROW(()) in compareTo() function in rtl::OString
407 … { return rStr1.getLength() == rStr2.getLength() && rStr1.compareTo( rStr2 ) == 0; } in operator ==()
409 { return rStr1.compareTo( pStr2 ) == 0; } in operator ==()
411 { return OString( pStr1 ).compareTo( rStr2 ) == 0; } in operator ==()
421 { return rStr1.compareTo( rStr2 ) < 0; } in operator <()
423 { return rStr1.compareTo( rStr2 ) > 0; } in operator >()
425 { return rStr1.compareTo( rStr2 ) <= 0; } in operator <=()
427 { return rStr1.compareTo( rStr2 ) >= 0; } in operator >=()
H A Dustring.hxx319 sal_Int32 compareTo( const OUString & str ) const SAL_THROW(()) in compareTo() function in rtl::OUString
338 sal_Int32 compareTo( const OUString & str, sal_Int32 maxLength ) const SAL_THROW(()) in compareTo() function in rtl::OUString
717 … { return rStr1.getLength() == rStr2.getLength() && rStr1.compareTo( rStr2 ) == 0; } in operator ==()
719 { return rStr1.compareTo( pStr2 ) == 0; } in operator ==()
721 { return OUString( pStr1 ).compareTo( rStr2 ) == 0; } in operator ==()
731 { return rStr1.compareTo( rStr2 ) < 0; } in operator <()
733 { return rStr1.compareTo( rStr2 ) > 0; } in operator >()
735 { return rStr1.compareTo( rStr2 ) <= 0; } in operator <=()
737 { return rStr1.compareTo( rStr2 ) >= 0; } in operator >=()
/aoo41x/main/writerfilter/source/ooxml/
H A DOOXMLStreamImpl.cxx166 if (aPair.First.compareTo(sType) == 0 && in lcl_getTarget()
167 aPair.Second.compareTo(sStreamType) == 0) in lcl_getTarget()
169 else if (aPair.First.compareTo(sId) == 0 && in lcl_getTarget()
170 aPair.Second.compareTo(rId) == 0) in lcl_getTarget()
172 else if (aPair.First.compareTo(sTarget) == 0) in lcl_getTarget()
174 else if (aPair.First.compareTo(sTargetMode) == 0 && in lcl_getTarget()
175 aPair.Second.compareTo(sExternal) == 0) in lcl_getTarget()
H A DOOXMLPropertySetImpl.cxx285 if (strue.compareTo(rValue) == 0 in OOXMLBooleanValue()
286 || sTrue.compareTo(rValue) == 0 in OOXMLBooleanValue()
287 || s1.compareTo(rValue) == 0 in OOXMLBooleanValue()
288 || son.compareTo(rValue) == 0 in OOXMLBooleanValue()
289 || sOn.compareTo(rValue) == 0) in OOXMLBooleanValue()
/aoo41x/main/sal/qa/rtl/bootstrap/
H A Drtl_Bootstrap.cxx279 … CPPUNIT_ASSERT_MESSAGE("getFrom use default.", suGetname.compareTo( myDefault ) == 0 ); in getFrom_003()
304 … sal_Int32 nCompare = suValue.compareTo( rtl::OUString::createFromAscii("pseudo file") ); in getFrom_004()
316 …CPPUNIT_ASSERT_MESSAGE("Bootstrap::get('FILE', ...)", suGetValue.compareTo( rtl::OUString::createF… in getFrom_004_1()
461 … CPPUNIT_ASSERT_MESSAGE("setIniFilename then get it.", suGetname.compareTo( suIniname ) == 0 in setIniFilename_001()
462 && suGetname.compareTo( suGetIniname ) != 0 ); in setIniFilename_001()
556 … CPPUNIT_ASSERT_MESSAGE("set and get argument failed.", suGetValue.compareTo(suValue) == 0 ); in set_001()
573 … CPPUNIT_ASSERT_MESSAGE("set and get argument failed.", suGetValue.compareTo(suValue) == 0 ); in set_002()
602 … CPPUNIT_ASSERT_MESSAGE("expandMacrosFrom failed.", suMacro.compareTo(suExpectedMacro) == 0 ); in expandMacrosFrom_001()
640 …ile:///.../" SAL_CONFIGFILE("rtl") "::RTLVALUE}' to 'qadev17'", suMacro.compareTo(suExpectedMacro)… in expandMacrosFrom_002()
667 …and '${" SAL_CONFIGFILE("rtl") "::SOVALUE}' to 'src680_qadev'", suMacro.compareTo(suExpectedMacro)… in expandMacrosFrom_002_1()
[all …]
/aoo41x/main/comphelper/inc/comphelper/
H A Dproperty.hxx54 return lhs.Name.compareTo(rhs) < 0; in operator ()()
59 return lhs.compareTo(rhs.Name) < 0; in operator ()()
68 return x.Name.compareTo(y.Name) < 0;// ? true : false; in operator ()()
80 return lhs.Name.compareTo(rhs) == 0; in operator ()()
85 return lhs.compareTo(rhs.Name) == 0; in operator ()()
94 return x.Name.compareTo(y.Name) == 0; in operator ()()
/aoo41x/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/
H A DFormulaParser.java140 return ((op.compareTo(">") == 0) || in isLogicalOp()
141 (op.compareTo("<") == 0) || in isLogicalOp()
142 (op.compareTo(">=") == 0) || in isLogicalOp()
143 (op.compareTo("<=") == 0) || in isLogicalOp()
144 (op.compareTo("=") == 0) || in isLogicalOp()
145 (op.compareTo("<>") == 0)); in isLogicalOp()
/aoo41x/main/sal/qa/rtl/process/
H A Dchild_process.cxx59 if ( suArg[0].compareTo( suParam0) != 0 ||
60 suArg[1].compareTo( suParam1) != 0 ||
61 suArg[2].compareTo( suParam2) != 0 ||
62 suArg[3].compareTo( suParam3) != 0 )
/aoo41x/main/svx/source/fmcomp/
H A Dfmgridif.cxx1924 if ( 0 == PropertyName.compareTo( FM_PROP_TEXTLINECOLOR ) ) in setProperty()
1965 else if ( 0 == PropertyName.compareTo( FM_PROP_FONTRELIEF ) ) in setProperty()
1972 else if ( 0 == PropertyName.compareTo( FM_PROP_HELPURL ) ) in setProperty()
1985 else if ( 0 == PropertyName.compareTo( FM_PROP_CURSORCOLOR ) ) in setProperty()
2000 else if ( 0 == PropertyName.compareTo( FM_PROP_FONT ) ) in setProperty()
2047 else if ( 0 == PropertyName.compareTo( FM_PROP_TEXTCOLOR ) ) in setProperty()
2060 else if ( 0 == PropertyName.compareTo( FM_PROP_ROWHEIGHT ) ) in setProperty()
2079 else if ( 0 == PropertyName.compareTo( FM_PROP_RECORDMARKER ) ) in setProperty()
2085 else if ( 0 == PropertyName.compareTo( FM_PROP_ENABLED ) ) in setProperty()
2140 if ( 0 == _rPropertyName.compareTo( FM_PROP_NAME ) ) in getProperty()
[all …]
/aoo41x/main/xmerge/source/bridge/java/
H A DXMergeBridge.java188 if (pValue[i].Name.compareTo("InputStream")==0){ in importer()
191 if (pValue[i].Name.compareTo("FileName")==0){ in importer()
285 if (pValue[i].Name.compareTo("OutputStream")==0){ in exporter()
289 if (pValue[i].Name.compareTo("FileName")==0){ in exporter()
293 if (pValue[i].Name.compareTo("URL")==0){ in exporter()
298 if (pValue[i].Name.compareTo("Title")==0){ in exporter()
/aoo41x/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/
H A DDocumentView.java386 if( sCommand.compareTo(COMMAND_OPEN) == 0 ) in actionPerformed()
395 if( sCommand.compareTo(COMMAND_SAVE) == 0 ) in actionPerformed()
402 if( sCommand.compareTo(COMMAND_EXPORT) == 0 ) in actionPerformed()
411 if( sCommand.compareTo(COMMAND_EXIT) == 0 ) in actionPerformed()
/aoo41x/main/basic/source/classes/
H A Dpropacc.cxx58 return ((PropertyValue*)arg1)->Name.compareTo( ((PropertyValue*)arg2)->Name ); in SbCompare_PropertyValues_Impl()
65 return pArg1->compareTo( (*pArg2)->Name ); in SbCompare_UString_PropertyValue_Impl()
70 return ((Property*)arg1)->Name.compareTo( ((Property*)arg2)->Name ); in SbCompare_Properties_Impl()
77 return pArg1->compareTo( pArg2->Name ); in SbCompare_UString_Property_Impl()
/aoo41x/main/sd/source/ui/framework/module/
H A DResourceManager.cxx172 else if (rEvent.ResourceId->compareTo(mxResourceId) == 0) in notifyConfigurationChange()
182 if (rEvent.ResourceId->compareTo(mxMainViewAnchorId) == 0) in notifyConfigurationChange()
189 else if (rEvent.ResourceId->compareTo(mxResourceId) == 0) in notifyConfigurationChange()
/aoo41x/main/sd/source/ui/framework/configuration/
H A DResourceId.cxx289 ResourceId::compareTo (const Reference<XResourceId>& rxResourceId) in compareTo() function in sd::framework::ResourceId
342 const sal_Int32 nLocalResult (sURL.compareTo(sLocalURL)); in CompareToLocalImplementation()
388 nLocalResult = maResourceURLs[nIndex].compareTo(rxId->getResourceURL()); in CompareToExternalImplementation()
390 nLocalResult = maResourceURLs[nIndex].compareTo(aAnchorURLs[nIndex-1]); in CompareToExternalImplementation()
/aoo41x/main/sc/source/core/tool/
H A Dcellkeytranslator.cxx54 if ( !rLocale1.Language.compareTo(rLocale1.Language) ) in lclLocaleCompare()
59 if ( !rLocale1.Country.compareTo(rLocale2.Country) ) in lclLocaleCompare()
64 if ( !rLocale1.Variant.compareTo(rLocale2.Variant) ) in lclLocaleCompare()
/aoo41x/main/vcl/unx/headless/
H A Dsvpelement.cxx170 if( aCommand.compareTo( "list", 4 ) == 0 ) in IMPL_LINK()
193 else if( aCommand.compareTo( "get", 3 ) == 0 ) in IMPL_LINK()
219 else if( aCommand.compareTo( "quit", 4 ) == 0 ) in IMPL_LINK()

Completed in 165 milliseconds

12345678910