Home
last modified time | relevance | path

Searched refs:length (Results 51 – 75 of 1543) sorted by relevance

12345678910>>...62

/trunk/main/xmerge/source/wordsmith/java/org/openoffice/xmerge/converter/xml/sxw/wordsmith/
H A DWseFontTable.java180 int length = 3; // leading "3" plus 2 bytes for length. in getByteCount() local
184 length += name.length() + 1; // extra byte is for trailing "0" in getByteCount()
186 return length; in getByteCount()
196 int length = getByteCount(); in getBytes() local
198 byte b[] = new byte[length]; in getBytes()
200 length -= 3; in getBytes()
201 b[1] = (byte)(length >> 8); in getBytes()
202 b[2] = (byte)(length & 0xFF); in getBytes()
207 System.arraycopy(bname, 0, b, indx, bname.length); in getBytes()
208 indx += bname.length; in getBytes()
/trunk/main/xmlreader/source/
H A Dpad.cxx33 void Pad::add(char const * begin, sal_Int32 length) { in add() argument
35 begin != 0 && length >= 0 && !(span_.is() && buffer_.getLength() != 0)); in add()
36 if (length != 0) { in add()
39 span_ = Span(begin, length); in add()
41 buffer_.append(begin, length); in add()
46 void Pad::addEphemeral(char const * begin, sal_Int32 length) { in addEphemeral() argument
48 begin != 0 && length >= 0 && !(span_.is() && buffer_.getLength() != 0)); in addEphemeral()
49 if (length != 0) { in addEphemeral()
51 buffer_.append(begin, length); in addEphemeral()
74 buffer_.append(span_.begin, span_.length); in flushSpan()
/trunk/main/wizards/com/sun/star/wizards/db/
H A DSQLQueryComposer.java92 for (int i = 0; i < CurDBMetaData.FieldColumns.length; i++) in getSelectClause()
160 for (int i = 0; i < CurDBMetaData.getSortFieldNames().length; i++) in prependSortingCriteria()
204 if (sOrder.length() > 0) in appendSortingcriteria()
224 for (int i = 0; i < CurDBMetaData.GroupFieldNames.length; i++) in appendGroupByColumns()
240 for (int n = 0; n < _filterconditions.length; n++) in replaceConditionsByAlias()
242 for (int m = 0; m < _filterconditions[n].length; m++) in replaceConditionsByAlias()
263 for (int i = 0; i < sCommandNames.length; i++) in getFromClause()
268 if (i < sCommandNames.length - 1) in getFromClause()
303 if (CurDBMetaData.GroupByFilterConditions.length > 0) in setQueryCommand()
425 for (int i = 0; i < structuredFilter.length; ++i) in getNormalizedStructuredFilter()
[all …]
/trunk/main/sal/osl/os2/
H A Dnlsupport.c108 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 Dfile_path_helper.cxx77 …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()
/trunk/main/toolkit/test/accessibility/
H A DAccessibleTextHandler.java360 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 …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/helper/
H A DAPIDescGetter.java80 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 …]
/trunk/main/wizards/com/sun/star/wizards/query/
H A DQuerySummary.java98 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 …]
/trunk/main/wizards/com/sun/star/wizards/common/
H A DNumericalHelper.java187 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 DFileAccess.java79 int MaxIndex = PathList.length - 1; in addOfficePath()
167 int iNumEntries = Template_user.length + Template_internal.length + 1; in getOfficePath()
175 for (int i = 0; i < Template_user.length; i++) in getOfficePath()
191 for (int i = 0; i < ReadPaths.length; i++) in getOfficePath()
540 int MaxIndex = DirArray.length - 1; in PathisValid()
546 SubLen = SubDir.length(); in PathisValid()
547 NewLen = NewPath.length(); in PathisValid()
621 for (int i = 0; i < nameList.length; i++) in getFolderTitles()
1004 return s[s.length - 1]; in getFilename()
1011 return filename.substring(0, filename.length() - (sExtension.length() + 1)); in getBasename()
[all …]
/trunk/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/
H A DTokenEncoder.java156 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 …]
/trunk/main/vcl/source/glyphs/
H A Dgraphite_features.cxx63 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 …]
/trunk/main/jurt/java/jurt/src/main/java/com/sun/star/comp/loader/
H A DFactoryHelper.java102 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 …]
/trunk/main/odk/source/com/sun/star/lib/loader/
H A DInstallationFinder.java340 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 …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/util/
H A Ddbg.java66 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 …]
/trunk/main/sal/osl/unx/
H A Dfile_path_helper.cxx77 …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()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/sheet/
H A D_XCellRangeData.java43 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()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/basicrunner/basichelper/
H A DDocumentHandler.java63 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 …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/util/
H A D_XSortable.java80 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()
/trunk/main/comphelper/qa/complex/comphelper/
H A DMap.java83 for ( int i=0; i<_keys.length; ++i ) in impl_putAll()
91 for ( int i=0; i<_keys.length; ++i ) in impl_ceckContent()
124 for ( int i=_keys.length-1; i>=0; --i ) in impl_checkMappings()
139 for ( int i=0; i<_keys.length; ++i ) in impl_checkMappings()
205 Object[] components = new Object[ serviceNames.length ]; in testComplexKeyTypes()
206 for ( int i=0; i<serviceNames.length; ++i ) in testComplexKeyTypes()
406 for ( int i=0; i<_expectedElements.length; ++i ) in impl_verifyEnumerationContent()
415 for ( int i=0; i<_expectedElements.length; ++i ) in impl_verifyEnumerationContent()
427 for ( int j=0; j<_expectedElements.length; ++j ) in impl_verifyEnumerationContent()
451 final Pair< ?, ? >[] paired = new Pair< ?, ? >[ keys.length ]; in testEnumerations()
[all …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/graphical/
H A DOpenOfficePostscriptCreator.java163 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 …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/convwatch/
H A DGraphicalTestArguments.java118 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 …]
/trunk/main/swext/mediawiki/src/com/sun/star/wiki/
H A DWikiEditSettingDialog.java80 …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()
/trunk/main/xmlsecurity/source/xmlsec/
H A Dsaxhelper.cxx54 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 …]
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/beans/
H A D_XMultiPropertyStates.java63 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()

Completed in 144 milliseconds

12345678910>>...62