Home
last modified time | relevance | path

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

12345678910

/trunk/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()
/trunk/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()
/trunk/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 …]
/trunk/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()
/trunk/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()
/trunk/main/ooxml/source/framework/JavaOOXMLParser/src/org/apache/openoffice/ooxml/parser/type/
H A DNumberParser.java210 return ((Boolean)aLeft).compareTo((Boolean)aRight); in CompareTo()
212 return ((Byte)aLeft).compareTo((Byte)aRight); in CompareTo()
214 return ((Short)aLeft).compareTo((Short)aRight); in CompareTo()
216 return ((Integer)aLeft).compareTo((Integer)aRight); in CompareTo()
218 return ((Long)aLeft).compareTo((Long)aRight); in CompareTo()
220 return ((Float)aLeft).compareTo((Float)aRight); in CompareTo()
222 return ((Double)aLeft).compareTo((Double)aRight); in CompareTo()
/trunk/main/sal/inc/rtl/
H A Dstring.hxx275 sal_Int32 compareTo( const OString & str ) const SAL_THROW(()) in compareTo() function in rtl::OString
294 sal_Int32 compareTo( const OString & rObj, sal_Int32 maxLength ) const SAL_THROW(()) in compareTo() function in rtl::OString
410 … { return rStr1.getLength() == rStr2.getLength() && rStr1.compareTo( rStr2 ) == 0; } in operator ==()
412 { return rStr1.compareTo( pStr2 ) == 0; } in operator ==()
414 { return OString( pStr1 ).compareTo( rStr2 ) == 0; } in operator ==()
424 { return rStr1.compareTo( rStr2 ) < 0; } in operator <()
426 { return rStr1.compareTo( rStr2 ) > 0; } in operator >()
428 { return rStr1.compareTo( rStr2 ) <= 0; } in operator <=()
430 { 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 >=()
/trunk/main/sal/qa/rtl/bootstrap/
H A Drtl_Bootstrap.cxx331 ASSERT_TRUE(suGetname.compareTo( myDefault ) == 0) << "getFrom use default."; in TEST_F()
356 sal_Int32 nCompare = suValue.compareTo( rtl::OUString::createFromAscii("pseudo file") ); in TEST_F()
370 ASSERT_TRUE(suGetValue.compareTo( rtl::OUString::createFromAscii("testshl2 file") ) == 0) in TEST_F()
439 ASSERT_TRUE(suGetname.compareTo( suIniname ) == 0 in TEST_F()
440 … && suGetname.compareTo( suGetIniname ) != 0) << "setIniFilename then get it."; in TEST_F()
524 ASSERT_TRUE(suGetValue.compareTo(suValue) == 0) << "set and get argument failed."; in TEST_F()
541 ASSERT_TRUE(suGetValue.compareTo(suValue) == 0) << "set and get argument failed."; in TEST_F()
566 ASSERT_TRUE(suMacro.compareTo(suExpectedMacro) == 0) << "expandMacrosFrom failed."; in TEST_F()
604 ASSERT_TRUE(suMacro.compareTo(suExpectedMacro) == 0 ) in TEST_F()
632 ASSERT_TRUE(suMacro.compareTo(suExpectedMacro) == 0) in TEST_F()
[all …]
/trunk/main/writerfilter/source/ooxml/
H A DOOXMLStreamImpl.cxx205 if (aPair.First.compareTo(sType) == 0 && in lcl_getTarget()
206 aPair.Second.compareTo(sStreamType) == 0) in lcl_getTarget()
208 else if (aPair.First.compareTo(sId) == 0 && in lcl_getTarget()
209 aPair.Second.compareTo(rId) == 0) in lcl_getTarget()
211 else if (aPair.First.compareTo(sTarget) == 0) in lcl_getTarget()
213 else if (aPair.First.compareTo(sTargetMode) == 0 && in lcl_getTarget()
214 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()
/trunk/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 ()()
/trunk/main/xmerge/java/pexcel/src/main/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()
/trunk/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 …]
/trunk/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 )
/trunk/main/xmerge/java/XMergeBridge/src/main/java/
H A DXMergeBridge.java187 if (pValue[i].Name.compareTo("InputStream")==0){ in importer()
190 if (pValue[i].Name.compareTo("FileName")==0){ in importer()
284 if (pValue[i].Name.compareTo("OutputStream")==0){ in exporter()
288 if (pValue[i].Name.compareTo("FileName")==0){ in exporter()
292 if (pValue[i].Name.compareTo("URL")==0){ in exporter()
297 if (pValue[i].Name.compareTo("Title")==0){ in exporter()
/trunk/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()
/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/model/base/
H A DQualifiedName.java118 public int compareTo (final QualifiedName aOther) in compareTo() method in QualifiedName
120 final int nComparisonResult = msLocalPart.compareTo(aOther.msLocalPart); in compareTo()
127 return msNamespacePrefix.compareTo(aOther.msNamespacePrefix); in compareTo()
/trunk/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()
/trunk/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/automaton/
H A DState.java197 public int compareTo (final State aOther) in compareTo() method in State
199 int nResult = maBasename.compareTo(aOther.maBasename); in compareTo()
205 nResult = msSuffix.compareTo(aOther.msSuffix); in compareTo()
/trunk/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()
/trunk/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()

Completed in 145 milliseconds

12345678910