/aoo41x/main/sal/osl/os2/ |
H A D | nlsupport.c | 108 if( pLanguage->length < n ) in _compose_locale() 111 offset = pLanguage->length; in _compose_locale() 118 if( pLocale->Country && (pLocale->Country->length == 2) ) in _compose_locale() 123 pLocale->Country->buffer, pLocale->Country->length, in _compose_locale() 126 if( offset + pCountry->length + 1 < n ) in _compose_locale() 130 offset += pCountry->length; in _compose_locale() 137 if( pLocale->Variant && pLocale->Variant->length && in _compose_locale() 138 ( pLocale->Variant->length < n - 6 ) ) in _compose_locale() 143 pLocale->Variant->buffer, pLocale->Variant->length, in _compose_locale() 146 if( offset + pVariant->length + 1 < n ) in _compose_locale() [all …]
|
H A D | file_path_helper.cxx | 77 …while ((pustrPath->length > 1) && (FPH_CHAR_PATH_SEPARATOR == pustrPath->buffer[pustrPath->length … in osl_systemPathRemoveSeparator() 79 pustrPath->length--; in osl_systemPathRemoveSeparator() 80 pustrPath->buffer[pustrPath->length] = (sal_Unicode)'\0'; in osl_systemPathRemoveSeparator() 83 OSL_POSTCOND((0 == pustrPath->length) || (1 == pustrPath->length) || \ in osl_systemPathRemoveSeparator() 84 … (pustrPath->length > 1 && pustrPath->buffer[pustrPath->length - 1] != FPH_CHAR_PATH_SEPARATOR), \ in osl_systemPathRemoveSeparator() 128 if (pustrPath->length == 0) in osl_systemPathIsAbsolutePath() 207 if (pustrPath->length > 0) in osl_systemPathIsHiddenFileOrDirectoryEntry() 213 is_hidden = ((fdp.pData->length > 0) && (fdp.pData->buffer[0] == FPH_CHAR_DOT) && in osl_systemPathIsHiddenFileOrDirectoryEntry()
|
/aoo41x/main/qadevOOo/runner/basicrunner/ |
H A D | BasicHandler.java | 430 for (int i=0; i<listener.length; i++){ in callBasicFunction() 550 Type types[] = new Type[interfaces.length]; in getTypes() 551 for(int i = 0; i < interfaces.length; ++ i) { in getTypes() 562 int length = 0; in addContainerListener() local 564 length = listener.length; in addContainerListener() 567 new XContainerListener[length+1]; in addContainerListener() 568 for (int i=0; i<length-1; i++) { in addContainerListener() 574 mListener[length] = xListener; in addContainerListener() 583 if (listener != null && listener.length != 0) { in removeContainerListener() 584 int length = listener.length; in removeContainerListener() local [all …]
|
/aoo41x/main/wizards/com/sun/star/wizards/db/ |
H A D | SQLQueryComposer.java | 88 for (int i = 0; i < CurDBMetaData.FieldColumns.length; i++) in getSelectClause() 156 for (int i = 0; i < CurDBMetaData.getSortFieldNames().length; i++) in prependSortingCriteria() 200 if (sOrder.length() > 0) in appendSortingcriteria() 220 for (int i = 0; i < CurDBMetaData.GroupFieldNames.length; i++) in appendGroupByColumns() 236 for (int n = 0; n < _filterconditions.length; n++) in replaceConditionsByAlias() 238 for (int m = 0; m < _filterconditions[n].length; m++) in replaceConditionsByAlias() 259 for (int i = 0; i < sCommandNames.length; i++) in getFromClause() 264 if (i < sCommandNames.length - 1) in getFromClause() 299 if (CurDBMetaData.GroupByFilterConditions.length > 0) in setQueryCommand() 421 for (int i = 0; i < structuredFilter.length; ++i) in getNormalizedStructuredFilter() [all …]
|
/aoo41x/main/wizards/com/sun/star/wizards/query/ |
H A D | QuerySummary.java | 98 if (_filterconditions != null && _filterconditions.length > 0) in combineFilterNameFraction() 103 if (_filterconditions.length == 1) in combineFilterNameFraction() 106 for (int i = 0; i < curfilterconditions.length; i++) in combineFilterNameFraction() 115 for (int i = 0; i < _filterconditions.length; i++) in combineFilterNameFraction() 131 for (int i = 0; i < FieldColumns.length; i++) in combineFieldNameFraction() 146 sReturn = appendClauseSeparator(sReturn, sSeparator, i, FieldColumns.length); in combineFieldNameFraction() 163 if (_FieldNames != null && _FieldNames.length > 0) in combinePartString() 173 int FieldCount = _FieldNames.length; in ArrayFieldsToString() 187 if (_FieldNames != null && _FieldNames.length > 0) in combinePartString() 198 int FieldCount = _FieldNames.length; in ArrayFieldsToString() [all …]
|
/aoo41x/main/toolkit/test/accessibility/ |
H A D | AccessibleTextHandler.java | 360 for( int i = 0; i < aValues.length; i++ ) in getAttributes() 367 nIndex += (aPortion.length() > 0) ? aPortion.length() : 1; in getAttributes() 517 if( sExplanation.length() > 0 ) in init() 524 aText.setRows( sText.length() / 40 + 1 ); in init() 642 int nMinLength = sOld.length(); in updateText() 643 if( sNew.length() < nMinLength ) in updateText() 644 nMinLength = sNew.length(); in updateText() 653 ( sNew.charAt(sNew.length()-nBack-1) == in updateText() 654 sOld.charAt(sOld.length()-nBack-1) ) ) in updateText() 676 else if( sDel.length() == 0 ) in updateText() [all …]
|
/aoo41x/main/vcl/source/glyphs/ |
H A D | graphite_features.cxx | 63 while (pos < features.length() && mnNumSettings < MAX_FEATURES) in GrFeatureParser() 78 nFeatEnd = features.length(); in GrFeatureParser() 113 nFeatEnd = features.length(); in GrFeatureParser() 131 if (lang.length() > 2) in setLang() 133 for (size_t i = 0; i < lang.length() && i < 3; i++) in setLang() 196 bool GrFeatureParser::isCharId(const std::string & id, size_t offset, size_t length) in isCharId() argument 198 if (length > 4) return false; in isCharId() 199 for (size_t i = 0; i < length; i++) in isCharId() 215 for (size_t i = 0; i < length; i++) in getCharId() 220 for (size_t i = 0; i < length; i++) in getCharId() [all …]
|
/aoo41x/main/qadevOOo/runner/helper/ |
H A D | APIDescGetter.java | 80 job = job.substring(3, job.length()).trim(); in getDescriptionFor() 119 subEntry.length()); in getDescriptionFor() 149 for (int i = 0; i < scenario.length; i++) in getDescriptionFor() 288 if (line.length() <= 0) in getSubEntries() 525 for (int i = 0; i < list.length; i++) in getDescArray() 645 theEntry.SubEntryCount = subEntries.length; in getFromClassPath() 701 for (int i = 0; i < files.length; i++) in getFromDirectory() 732 aEntry.SubEntryCount = subEntries.length; in getFromDirectory() 823 for (int i = 0; i < modules.length; i++) in getScenarioFromDirectory() 899 entry.length()), in getScenarioFromClassPath() [all …]
|
/aoo41x/main/xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/ |
H A D | TokenEncoder.java | 156 tmpByteArray.add(new Byte((byte)(t.getValue().length()))); in stringEncoder() 159 for (int i=0; i<stringBytes.length; i++) { in stringEncoder() 179 for(int byteIter=0;byteIter<tempByte.length;byteIter++) { in numEncoder() 247 if(columnStr.length()==1) { in column() 249 } else if (columnStr.length()==2) { in column() 275 if(index>=parseString.length()) { in row() 361 for(int i = 0;i < cellRefBytes.length;i++) { in cellRefEncoder() 379 sheetName = s.substring(1,s.length()); // Remove $ in findSheetIndex() 381 sheetName = s.substring(0,s.length()); in findSheetIndex() 434 for(int i = 0;i < cellRefBytes.length;i++) { in threeDCellRefEncoder() [all …]
|
/aoo41x/main/wizards/com/sun/star/wizards/common/ |
H A D | NumericalHelper.java | 187 if (s.length() > 0) in toChar() 843 retValue = new int[obj.length]; in toIntArray() 844 for (int i = 0; i < obj.length; i++) in toIntArray() 877 retValue = new byte[obj.length]; in toByteArray() 878 for (int i = 0; i < obj.length; i++) in toByteArray() 911 retValue = new short[obj.length]; in toShortArray() 912 for (int i = 0; i < obj.length; i++) in toShortArray() 945 retValue = new String[obj.length]; in toStringArray() 946 for (int i = 0; i < obj.length; i++) in toStringArray() 1414 aShortVal = new Object[vals.length]; in convertSequenceToObjectArray() [all …]
|
H A D | FileAccess.java | 75 int MaxIndex = PathList.length - 1; in addOfficePath() 163 int iNumEntries = Template_user.length + Template_internal.length + 1; in getOfficePath() 171 for (int i = 0; i < Template_user.length; i++) in getOfficePath() 187 for (int i = 0; i < ReadPaths.length; i++) in getOfficePath() 536 int MaxIndex = DirArray.length - 1; in PathisValid() 542 SubLen = SubDir.length(); in PathisValid() 543 NewLen = NewPath.length(); in PathisValid() 617 for (int i = 0; i < nameList.length; i++) in getFolderTitles() 1000 return s[s.length - 1]; in getFilename() 1007 return filename.substring(0, filename.length() - (sExtension.length() + 1)); in getBasename() [all …]
|
/aoo41x/main/sal/osl/unx/ |
H A D | file_path_helper.cxx | 77 …while ((pustrPath->length > 1) && (FPH_CHAR_PATH_SEPARATOR == pustrPath->buffer[pustrPath->length … in osl_systemPathRemoveSeparator() 79 pustrPath->length--; in osl_systemPathRemoveSeparator() 80 pustrPath->buffer[pustrPath->length] = (sal_Unicode)'\0'; in osl_systemPathRemoveSeparator() 83 OSL_POSTCOND((0 == pustrPath->length) || (1 == pustrPath->length) || \ in osl_systemPathRemoveSeparator() 84 … (pustrPath->length > 1 && pustrPath->buffer[pustrPath->length - 1] != FPH_CHAR_PATH_SEPARATOR), \ in osl_systemPathRemoveSeparator() 120 …return ((0 == pustrPath) || (0 == pustrPath->length) || (pustrPath->buffer[0] != FPH_CHAR_PATH_SEP… in osl_systemPathIsRelativePath() 180 if ((0 == pustrPath) || (0 == pustrPath->length)) in osl_systemPathIsHiddenFileOrDirectoryEntry() 186 return ((fdp.pData->length > 0) && in osl_systemPathIsHiddenFileOrDirectoryEntry()
|
/aoo41x/main/qadevOOo/runner/util/ |
H A D | dbg.java | 66 int nLen = types.length; in printInterfaces() 106 int nLen = types.length; in implementsInterface() 126 for (int i=0; i<methods.length; i++) { in printInterfaceInfo() 143 for ( int i=0; i< entries.length;i++ ) { in printArray() 220 for( int i = 0; i < ps.length; i++){ in printProperyValueSequenzePairs() 233 for( int i = 0; i < ps.length; i++){ in printProperyValueSequenzePairs() 258 if (values.length > 0){ in printProperyValuePairs() 260 for( int i=0; i < values.length; i++){ in printProperyValuePairs() 262 if (i+1 < values.length) oneValue += "';'"; in printProperyValuePairs() 296 for (int i = 0; i < props.length; i++) in printPropertiesNames() [all …]
|
/aoo41x/main/qadevOOo/tests/java/ifc/sheet/ |
H A D | _XCellRangeData.java | 43 boolean bResult = (maCRData.length > 0); in _getDataArray() 57 newData = new Object[maCRData.length][maCRData[0].length]; in _setDataArray() 58 for (int i=0; i<newData.length; i++) { in _setDataArray() 59 for (int j=0; j<newData[i].length; j++) { in _setDataArray() 71 Object[][] emptyData = new Object[newData.length][newData[0].length]; in _setDataArray() 72 for (int i=0; i<emptyData.length; i++) { in _setDataArray() 73 for (int j=0; j<emptyData[i].length; j++) { in _setDataArray()
|
/aoo41x/main/odk/source/com/sun/star/lib/loader/ |
H A D | InstallationFinder.java | 340 int end = index + SOFFICE.length(); in getPathFromWhich() 420 line.length() != 0 ) { in getPathFromSVersionFile() 472 if (oooUrl.length() < prefix.length() in getCanonicalPathFromFileURL() 473 || !oooUrl.substring(0, prefix.length()).toLowerCase().equals( in getCanonicalPathFromFileURL() 479 int n = oooUrl.indexOf('/', prefix.length()); in getCanonicalPathFromFileURL() 481 n = oooUrl.length(); in getCanonicalPathFromFileURL() 483 String host = oooUrl.substring(prefix.length(), n); in getCanonicalPathFromFileURL() 488 if (n == oooUrl.length()) { in getCanonicalPathFromFileURL() 492 while (n < oooUrl.length()) { in getCanonicalPathFromFileURL() 497 n2 = oooUrl.length(); in getCanonicalPathFromFileURL() [all …]
|
/aoo41x/main/jurt/com/sun/star/comp/loader/ |
H A D | FactoryHelper.java | 102 if(parameters.length == 3 in Factory() 109 else if(parameters.length == 2 in Factory() 115 else if(parameters.length == 2 in Factory() 121 else if(parameters.length == 1 in Factory() 127 else if(parameters.length == 3 in Factory() 134 else if(parameters.length == 2 in Factory() 140 else if(parameters.length == 2 in Factory() 146 else if(parameters.length == 1 in Factory() 151 else if(parameters.length == 1 in Factory() 156 else if(parameters.length == 0) { in Factory() [all …]
|
/aoo41x/main/qadevOOo/tests/java/ifc/util/ |
H A D | _XSortable.java | 80 if (oPV.length > 0) { in _createSortDescriptor() 83 for (int k = 0; k < oPV.length; k++) { in _createSortDescriptor() 90 for (int l = 0; l < tsf.length; l++) { in _createSortDescriptor() 102 log.println("Found " + oPV.length + " PropertyValues"); in _createSortDescriptor() 159 for (int i = 0; i < oPV.length; i++) { in modifyDescriptor() 163 if (TableFields.length == 0) { in modifyDescriptor() 168 for (int k = 0; k < TableFields.length; k++) { in modifyDescriptor() 194 if (oPV.length > 0) { in modifyDescriptor() 195 for (int k = 0; k < oPV.length; k++) { in modifyDescriptor() 202 for (int l = 0; l < tsf.length; l++) { in modifyDescriptor()
|
/aoo41x/main/qadevOOo/runner/basicrunner/basichelper/ |
H A D | DocumentHandler.java | 63 if (args != null && args.length!=0 && args[0] instanceof Boolean) in createInstanceWithArguments() 91 Type types[] = new Type[interfaces.length]; in getTypes() 92 for(int i = 0; i < interfaces.length; ++ i) in getTypes() 156 for (int i=0; i<parm1.length; i++) { in initialize() 169 int arrLen = filterRule.length; in processActionForXMLChecker() 203 for (int i=0; i<oTags.length; i++) { in processActionForXMLChecker() 218 if (oTag.length == 3) { in processActionForXMLChecker() 232 } else if (oTag.length == 2) { in processActionForXMLChecker() 245 } else if (oTag.length == 1) { in processActionForXMLChecker() 335 Type types[] = new Type[interfaces.length]; in getTypes() [all …]
|
/aoo41x/main/comphelper/qa/complex/comphelper/ |
H A D | Map.java | 95 for ( int i=0; i<_keys.length; ++i ) in impl_putAll() 103 for ( int i=0; i<_keys.length; ++i ) in impl_ceckContent() 136 for ( int i=_keys.length-1; i>=0; --i ) in impl_checkMappings() 151 for ( int i=0; i<_keys.length; ++i ) in impl_checkMappings() 217 Object[] components = new Object[ serviceNames.length ]; in testComplexKeyTypes() 218 for ( int i=0; i<serviceNames.length; ++i ) in testComplexKeyTypes() 418 for ( int i=0; i<_expectedElements.length; ++i ) in impl_verifyEnumerationContent() 427 for ( int i=0; i<_expectedElements.length; ++i ) in impl_verifyEnumerationContent() 439 for ( int j=0; j<_expectedElements.length; ++j ) in impl_verifyEnumerationContent() 463 final Pair< ?, ? >[] paired = new Pair< ?, ? >[ keys.length ]; in testEnumerations() [all …]
|
/aoo41x/main/qadevOOo/runner/convwatch/ |
H A D | GraphicalTestArguments.java | 118 if (sReferenceType == null || sReferenceType.length() == 0) in GraphicalTestArguments() 129 if (sPrinterName == null || sPrinterName.length() == 0) in GraphicalTestArguments() 175 if (sImportFilterName != null && sImportFilterName.length() > 0) in GraphicalTestArguments() 201 if (sOfficeProgram != null && sOfficeProgram.length() > 0) in GraphicalTestArguments() 269 if (sDistinct == null || sDistinct.length() == 0) in GraphicalTestArguments() 327 if (_sFilterName.length() == 0) in showInternalFilterName() 359 for (int i = 0; i<aElementNames.length; i++) in showInternalFilterName() 447 (getOnlyPages().length() != 0)) in printAllPages() 461 if (_sPath != null && _sPath.length() > 1) in checkIfMSWindowsConformPath() 684 if (m_sDBInfoString.length() == 0) in getDBInfoString() [all …]
|
/aoo41x/main/swext/mediawiki/src/com/sun/star/wiki/ |
H A D | WikiEditSettingDialog.java | 80 …bInitSaveCheckBox = ( pPasswords != null && pPasswords.length > 0 && pPasswords[0].equals( (String… in WikiEditSettingDialog() 114 …if ( sURL != null && sURL.length() > 0 && sUserName != null && sUserName.length() > 0 && sPassword… in show() 211 if ( sRedirectURL.length() > 0 ) in DoLogin() 217 if ( sURL.length() > 0 ) in DoLogin() 234 if ( sWebPage != null && sWebPage.length() > 0 ) in DoLogin() 260 if ( ( sUserName.length() > 0 || sPassword.length() > 0 ) in DoLogin() 288 else if ( sRedirectURL == null || sRedirectURL.length() == 0 ) in DoLogin() 290 if ( sURL.length() > 0 && !sURL.endsWith( "index.php" ) && bAllowIndex ) in DoLogin() 321 } while ( sRedirectURL.length() > 0 ); in DoLogin()
|
/aoo41x/main/xmlsecurity/source/xmlsec/ |
H A D | saxhelper.cxx | 54 xmlChar* ous_to_nxmlstr( const rtl::OUString& oustr, int& length ) in ous_to_nxmlstr() argument 57 length = ostr.getLength(); in ous_to_nxmlstr() 59 return xmlStrndup( ( xmlChar* )ostr.getStr(), length ) ; in ous_to_nxmlstr() 65 rtl::OUString xmlchar_to_ous( const xmlChar* pChar, int length ) in xmlchar_to_ous() argument 69 return rtl::OUString( ( sal_Char* )pChar , length , RTL_TEXTENCODING_UTF8 ) ; in xmlchar_to_ous() 364 int length = 0 ; in characters() local 366 chars = ous_to_nxmlstr( aChars, length ) ; in characters() 367 m_pSaxHandler->characters( m_pParserCtxt , chars , length ) ; in characters() 382 int length = 0 ; in ignorableWhitespace() local 384 chars = ous_to_nxmlstr( aWhitespaces, length ) ; in ignorableWhitespace() [all …]
|
/aoo41x/main/qadevOOo/tests/java/ifc/beans/ |
H A D | _XMultiPropertyStates.java | 63 log.println("Totally " + names.length + " properties encountered:"); in before() 65 for (int i = 0; i < names.length; i++) in before() 82 result = (defaults != null) && defaults.length == names.length; in _getPropertyDefaults() 83 log.println("Number of default values: " + defaults.length); in _getPropertyDefaults() 101 result = (states != null) && (states.length == names.length); in _getPropertyStates() 102 log.println("Number of states: " + states.length); in _getPropertyStates() 130 for(int i = 0; i < names.length; i++) { in _setPropertiesToDefault() 198 for (int i = 0; i < states.length; i++) { in _setAllPropertiesToDefault()
|
/aoo41x/main/svl/qa/complex/passwordcontainer/ |
H A D | TestHelper.java | 50 if(aUserList1.length != aUserList2.length) { in sameLists() 51 …Message("User list lengths: " + aUserList1.length + " <--> " + aUserList2.length + " respectively … in sameLists() 55 for(int i = 0; i < aUserList1.length; i++) { in sameLists() 57 for(j = 0; j < aUserList2.length; j++) { in sameLists() 66 if(j == aUserList2.length) { in sameLists() 67 for(int k = 0; k < aUserList1.length; k++) { in sameLists()
|
/aoo41x/main/qadevOOo/runner/graphical/ |
H A D | OpenOfficePostscriptCreator.java | 163 for (int i=0;i<aArgs.length;i++) in getDocumentType() 626 if (_aGTA.getOnlyPages().length() != 0) in impl_printToFileWithOOo() 628 if (sPages.length() != 0) in impl_printToFileWithOOo() 898 if (_sInputURL.length() == 0) in showType() 930 if (_sFilterName.length() == 0) in getInternalFilterName() 985 for (int i=0;i<aElements.length; i++) in getInternalFilterName() 1021 if (_sFilterName.length() == 0) in getServiceNameFromFilterName() 1098 if (_sInternalFilterName.length() == 0) in getFileExtension() 1156 if (aExtensions.length > 0) in getFileExtension() 1249 if (sFilterName != null && sFilterName.length() > 0) in convertDocument() [all …]
|