/aoo42x/main/codemaker/test/javamaker/src/test/java/test/codemaker/javamaker/ |
H A D | Javamaker_Test.java | 171 assertTrue(s.a1.length == 0); in testEmptyStruct2() 172 assertTrue(s.a2.length == 0); in testEmptyStruct2() 173 assertTrue(s.a3.length == 0); in testEmptyStruct2() 174 assertTrue(s.a4.length == 0); in testEmptyStruct2() 175 assertTrue(s.a5.length == 0); in testEmptyStruct2() 176 assertTrue(s.a6.length == 0); in testEmptyStruct2() 177 assertTrue(s.a7.length == 0); in testEmptyStruct2() 178 assertTrue(s.a8.length == 0); in testEmptyStruct2() 179 assertTrue(s.a9.length == 0); in testEmptyStruct2() 288 assertTrue(s.a1.length == 2); in testFullStruct2() [all …]
|
/aoo42x/main/qadevOOo/tests/java/ifc/accessibility/ |
H A D | _XAccessibleEditableText.java | 103 int length = oObj.getCharacterCount(); in _cutText() local 135 locRes = oObj.cutText(0, length); in _cutText() 167 int length = oObj.getCharacterCount(); in _pasteText() local 198 locRes = oObj.pasteText(length); in _pasteText() 232 int length = oObj.getCharacterCount(); in _deleteText() local 262 if (length >= 1) { in _deleteText() 263 log.print("deleteText(" + (length-1) + "," + (length) + "): "); in _deleteText() 264 locRes = oObj.deleteText(length - 1, length); in _deleteText() 300 int length = oObj.getCharacterCount(); in _insertText() local 367 int startIndx = oldText.length(); in _replaceText() [all …]
|
/aoo42x/main/sal/inc/rtl/ |
H A D | ustring.hxx | 161 rtl_uString_newFromStr_WithLength( &pData, value, length ); in OUString() 178 OUString( const sal_Char * value, sal_Int32 length, in OUString() argument 295 bool isEmpty() const { return (pData->length == 0); } in isEmpty() 375 if ( pData->length != str.pData->length ) in equals() 399 if ( pData->length != str.pData->length ) in equalsIgnoreAsciiCase() 425 … str.pData->buffer, str.pData->length, str.pData->length ) == 0; in match() 562 if ( pData->length != asciiStrLength ) in equalsAsciiL() 614 if ( pData->length != asciiStrLength ) in equalsIgnoreAsciiCaseAsciiL() 690 return asciiStrLength <= pData->length in endsWithAsciiL() 709 return asciiStrLength <= pData->length in endsWithIgnoreAsciiCaseAsciiL() [all …]
|
H A D | string.hxx | 150 OString( const sal_Char * value, sal_Int32 length ) SAL_THROW(()) in OString() argument 153 rtl_string_newFromStr_WithLength( &pData, value, length ); in OString() 170 OString( const sal_Unicode * value, sal_Int32 length, in OString() argument 175 rtl_uString2String( &pData, value, length, encoding, convertFlags ); in OString() 223 sal_Int32 getLength() const SAL_THROW(()) { return pData->length; } in getLength() 248 bool isEmpty() const { return (pData->length == 0); } in isEmpty() 277 return rtl_str_compare_WithLength( pData->buffer, pData->length, in compareTo() 331 if ( pData->length != str.pData->length ) in equals() 355 if ( pData->length != str.pData->length ) in equalsIgnoreAsciiCase() 381 … str.pData->buffer, str.pData->length, str.pData->length ) == 0; in match() [all …]
|
/aoo42x/main/odk/ |
H A D | cfgWin.js | 115 if (sHome.length == 0) 341 if (sSuggestedHome.length == 0 && oo_sdk_make_home.length > 0) { 391 if (sSuggestedHome.length == 0 && oo_sdk_make_home.length > 0) { 447 if (sSuggestedHome.length == 0 && oo_sdk_make_home.length > 0) { 508 if (sVC.length == 0) 514 if (sVC.length == 0) 521 if (sVC.length > 0) 528 if (sVC.length == 0) 533 if (sVC.length > 0) 550 if (sVC.length > 0) [all …]
|
/aoo42x/main/wizards/com/sun/star/wizards/common/ |
H A D | JavaTools.java | 89 for (int i = 0; i < olist.length; i++) in initializeArray() 197 int FieldCount = StringArray.length; in getlongestArrayItem() 215 int iLen = LocArray.length; in ArraytoString() 236 int FieldLen = SearchList.length; in FieldInList() 251 int FieldLen = SearchList.length; in FieldInList() 270 if (SearchList.length > 0) in FieldInTable() 331 FieldCount = MyArray.length; in getArraylength() 345 int SortCount = SortList[0].length; in bubblesortList() 346 int DimCount = SortList.length; in bubblesortList() 534 if (baselist.length > 0) in removeOutdatedFields() [all …]
|
/aoo42x/main/sal/workben/ |
H A D | t_cipher.c | 226 sal_uInt32 length = strlen(cbc_data) + 1; in main() local 323 sal_Size length; in main() local 329 length = arcfour_data_len[i]; in main() 338 cipher, &(arcfour_data[i][0]), length, in main() 347 length = i; in main() 356 cipher, &(arcfour_data[3][0]), length, in main() 360 OSL_ASSERT(arcfour_out[length] == 0); in main() 366 length = i; in main() 375 cipher, &(arcfour_data[3][0]), length, in main() 380 cipher, &(arcfour_data[3][length]), n - length, in main() [all …]
|
/aoo42x/main/x11_extensions/inc/ |
H A D | renderproto.h | 188 CARD16 length B16; 199 CARD32 length B32; 213 CARD16 length B16; 222 CARD32 length B32; 236 CARD16 length B16; 246 CARD32 length B32; 260 CARD16 length B16; 272 CARD16 length B16; 491 CARD16 length B16; 600 CARD16 length B16; [all …]
|
/aoo42x/main/wizards/com/sun/star/wizards/db/ |
H A D | CommandMetaData.java | 94 for (int i = 0; i < _FieldNames.length; i++) in initializeFieldColumns() 107 for (int i = 0; i < _FieldNames.length; i++) in initializeFieldColumns() 117 for (int i = 0; i < _FieldNames.length; i++) in initializeFieldColumns() 166 for (int i = 0; i < _fieldnames.length; i++) in prependSortFieldNames() 204 for (int i = 0; i < FieldColumns.length; i++) in getFieldColumn() 216 for (int i = 0; i < FieldColumns.length; i++) in getFieldColumnByFieldName() 238 for (int i = 0; i < FieldColumns.length; i++) in getFieldColumnByDisplayName() 292 if (FieldNames.length > 0) in getFieldNamesOfCommand() 333 for (int i = 0; i < _fieldnames.length; i++) in getOrderableColumns() 522 int nFieldColLength = FieldColumns.length; in setFieldTitles() [all …]
|
/aoo42x/main/rdbmaker/source/rdbmaker/ |
H A D | typeblop.cxx | 272 sal_uInt32 length = 0; in getTypeBlop() local 275 return length; in getTypeBlop() 283 return length; in getTypeBlop() 289 return length; in getTypeBlop() 298 return length; in getTypeBlop() 319 return length; in getTypeBlop() 361 return length; in getTypeBlop() 444 return length; in getTypeBlop() 476 return length; in getTypeBlop() 505 return length; in getTypeBlop() [all …]
|
/aoo42x/main/qadevOOo/tests/java/ifc/beans/ |
H A D | _XTolerantMultiPropertySet.java | 97 boolean res = (GDPR.length == namesOfDirectProperties.length); in _getDirectPropertyValuesTolerant() 102 for (int i = 0; i < GDPR.length; i++) { in _getDirectPropertyValuesTolerant() 135 boolean res = (GPR.length == namesOfProperties.length); in _getPropertyValuesTolerant() 139 log.println("Found: " + GPR.length); in _getPropertyValuesTolerant() 142 for (int i = 0; i < GPR.length; i++) { in _getPropertyValuesTolerant() 182 for (int k = 0; k < SPTF.length; k++) { in _setPropertyValuesTolerant() 238 for (int i = 0; i < props.length; i++) { in getDirectProperties() 255 String[] ret = new String[obj.length]; in getDirectProperties() 257 for (int i = 0; i < obj.length; i++) { in getDirectProperties() 286 String[] ret = new String[obj.length]; in getProperties() [all …]
|
/aoo42x/main/l10ntools/java/jpropex/java/ |
H A D | JPropEx.java | 66 if( x < args.length ) x++; in getSimpleArg() 76 if( x < args.length ) x++; in getComplexArg() 89 …rg.length()>0 && ( ( pathPrefixArg.length()>0 && pathPostfixArg.length()>0 ) || outputFileArg.leng… in testCL() 90 …length()>0 && ( outputFileArg.length()>0 || ( pathPrefixArg.length()>0 && pathPostfixArg.length()… in testCL() 132 if( str.length() > 0 ) in extract() 250 …if( pathPrefixArg != null && pathPrefixArg.length()>0 && pathPostfixArg != null && pathPostfixArg.… in writeSinglePropertiesFile() 278 if( !dir.exists() && path.length()>0 ) in writeSinglePropertiesFile() 358 if( langpart2.length() > 0 ) in formatFilename() 365 if( langpart2.length() > 0 ) in formatFilename() 418 if( args.length == 0 ) in parseArguments() [all …]
|
/aoo42x/main/sal/rtl/source/ |
H A D | ustrbuf.c | 51 (*newStr)->length = count; in rtl_uStringbuffer_newFromStr_WithLength() 65 if (newCapacity < oldStr->length) in rtl_uStringbuffer_newFromStringBuffer() 66 newCapacity = oldStr->length; in rtl_uStringbuffer_newFromStringBuffer() 70 if (oldStr->length > 0) { in rtl_uStringbuffer_newFromStringBuffer() 71 (*newStr)->length = oldStr->length; in rtl_uStringbuffer_newFromStringBuffer() 87 *capacity = ((*This)->length + 1) * 2; in rtl_uStringbuffer_ensureCapacity() 93 pNew->length = (*This)->length; in rtl_uStringbuffer_ensureCapacity() 122 nOldLen = (*This)->length; in rtl_uStringbuffer_insert() 139 (*This)->length = nOldLen + len; in rtl_uStringbuffer_insert() 179 nOldLen = (*This)->length; in rtl_uStringbuffer_insert_ascii() [all …]
|
H A D | strbuf.c | 51 (*newStr)->length = count; in rtl_stringbuffer_newFromStr_WithLength() 65 if (newCapacity < oldStr->length) in rtl_stringbuffer_newFromStringBuffer() 66 newCapacity = oldStr->length; in rtl_stringbuffer_newFromStringBuffer() 69 if (oldStr->length > 0) { in rtl_stringbuffer_newFromStringBuffer() 70 (*newStr)->length = oldStr->length; in rtl_stringbuffer_newFromStringBuffer() 86 *capacity = ((*This)->length + 1) * 2; in rtl_stringbuffer_ensureCapacity() 92 pNew->length = (*This)->length; in rtl_stringbuffer_ensureCapacity() 95 rtl_copyMemory( (*This)->buffer, pTmp->buffer, pTmp->length ); in rtl_stringbuffer_ensureCapacity() 114 if (*capacity < (*This)->length + len) in rtl_stringbuffer_insert() 121 nOldLen = (*This)->length; in rtl_stringbuffer_insert() [all …]
|
/aoo42x/main/sal/osl/all/ |
H A D | filepath.c | 29 return ustrText ? ustrText->length : 0; in osl_defCalcTextWidth() 65 if ( ustrPath->length > 3 ) in osl_abbreviateSystemPath() 67 ustrPath->length--; in osl_abbreviateSystemPath() 68 ustrPath->buffer[ustrPath->length-3] = '.'; in osl_abbreviateSystemPath() 69 ustrPath->buffer[ustrPath->length-2] = '.'; in osl_abbreviateSystemPath() 70 ustrPath->buffer[ustrPath->length-1] = '.'; in osl_abbreviateSystemPath() 71 ustrPath->buffer[ustrPath->length] = 0; in osl_abbreviateSystemPath() 83 if ( ustrFile->length > 4 ) in osl_abbreviateSystemPath() 85 ustrFile->length--; in osl_abbreviateSystemPath() 89 ustrFile->buffer[ustrFile->length] = 0; in osl_abbreviateSystemPath() [all …]
|
/aoo42x/main/ooxml/source/framework/SchemaParser/src/org/apache/openoffice/ooxml/schema/generator/html/ |
H A D | code.js | 33 + SimpleTypeNames.length +" simple types"; 57 selection_index = matches.length-1; 61 if (selection_index >= matches.length) 79 var nTypeCount = gTypeNames.length; 108 if (nMatchEnd < sTypeName.length-1) 140 if (nLineEndIndex >= aMatches.length) 141 nLineEndIndex = aMatches.length-1; 176 if (aMatches.length == 0) 182 if (aMatches.length == 1) 228 while(aElement.childNodes.length > 0) [all …]
|
/aoo42x/main/sal/osl/unx/ |
H A D | file_url.cxx | 193 -1 == nIndex ? ustrFileURL->length - nOffset : nIndex++ ); in osl_getSystemPathFromFileURL() 219 if( 7 <= pTmp->length ) in osl_getSystemPathFromFileURL() 225 rtl_ustr_toAsciiLowerCase_WithLength( pProtocol->buffer, pProtocol->length ); in osl_getSystemPathFromFileURL() 235 if( nIndex && ( 10 <= pTmp->length - nIndex ) ) in osl_getSystemPathFromFileURL() 241 rtl_ustr_toAsciiLowerCase_WithLength( pServer->buffer, pServer->length ); in osl_getSystemPathFromFileURL() 260 if( ( 1 == pTmp->length ) || ( (sal_Unicode)'/' == pTmp->buffer[1] ) ) in osl_getSystemPathFromFileURL() 304 if( 0 == ustrSystemPath->length ) in osl_getFileURLFromSystemPath() 343 rtl_uString_newFromStr_WithLength( &pTmp, pTmp->buffer + 7, pTmp->length - 7 ); in osl_getFileURLFromSystemPath() 368 nIndex += pTmp->length - ustrSystemPath->length; in osl_getFileURLFromSystemPath() 371 for( nSrcIndex = nIndex + 1; nSrcIndex < pTmp->length; nSrcIndex++ ) in osl_getFileURLFromSystemPath() [all …]
|
/aoo42x/main/xmerge/java/xmerge/src/main/java/org/openoffice/xmerge/merger/diff/ |
H A D | ObjectArrayIterator.java | 61 this.objArray = new Object[objArray.length]; in ObjectArrayIterator() 71 if (currentPosition < objArray.length - 1) { in next() 98 if (objArray.length > 0) { in end() 99 currentPosition = objArray.length - 1; in end() 106 if (objArray.length > 0) { in currentElement() 130 Object [] objArray2 = new Object[objArray.length+1]; in insert() 153 Object [] objArray2 = new Object[objArray.length + 1]; in append() 163 if (currentPosition < objArray.length - 1) { in append() 183 if (currentPosition < objArray.length - 1) { in remove() 190 if (currentPosition == objArray.length) in remove() [all …]
|
/aoo42x/main/reportdesign/source/filter/xml/ |
H A D | xmlHelper.cxx | 282 …{PROPERTY_FONTNAME, static_cast<sal_uInt16>(PROPERTY_FONTNAME.length), PROPERTY_ID_FONTNAME, … in copyStyleElements() 284 …{PROPERTY_FONTWIDTH, static_cast<sal_uInt16>(PROPERTY_FONTWIDTH.length), PROPERTY_ID_FONTWIDTH,… in copyStyleElements() 286 …{PROPERTY_FONTFAMILY, static_cast<sal_uInt16>(PROPERTY_FONTFAMILY.length), PROPERTY_ID_FONTFAMIL… in copyStyleElements() 288 …{PROPERTY_FONTPITCH, static_cast<sal_uInt16>(PROPERTY_FONTPITCH.length), PROPERTY_ID_FONTPITCH,… in copyStyleElements() 290 …{PROPERTY_FONTWEIGHT, static_cast<sal_uInt16>(PROPERTY_FONTWEIGHT.length), PROPERTY_ID_FONTWEIGH… in copyStyleElements() 291 …{PROPERTY_CHARPOSTURE, static_cast<sal_uInt16>(PROPERTY_CHARPOSTURE.length), PROPERTY_ID_FONTSLA… in copyStyleElements() 295 …{PROPERTY_FONTKERNING, static_cast<sal_uInt16>(PROPERTY_FONTKERNING.length), PROPERTY_ID_FONTKER… in copyStyleElements() 297 …{PROPERTY_FONTTYPE, static_cast<sal_uInt16>(PROPERTY_FONTTYPE.length), PROPERTY_ID_FONTTYPE, … in copyStyleElements() 352 …{PROPERTY_BORDERLEFT, static_cast<sal_uInt16>(PROPERTY_BORDERLEFT.length), 0, &::getCppuType(… in createBorderPropertySet() 353 …{PROPERTY_BORDERRIGHT, static_cast<sal_uInt16>(PROPERTY_BORDERRIGHT.length), 1, &::getCppuType… in createBorderPropertySet() [all …]
|
/aoo42x/main/qadevOOo/runner/util/ |
H A D | RegistryTools.java | 117 if (bin1.length != bin2.length) in compareKeys() 119 for (int i = 0; i < bin1.length; i++) in compareKeys() 125 if (list1.length != list2.length) in compareKeys() 127 for (int i = 0; i < list1.length; i++) in compareKeys() 133 if (list1.length != list2.length) in compareKeys() 135 for (int i = 0; i < list1.length; i++) in compareKeys() 141 if (list1.length != list2.length) in compareKeys() 143 for (int i = 0; i < list1.length; i++) in compareKeys() 186 keyNames2.length != keyNames1.length) in compareKeyTrees() 328 for (int i = 0; i < bin.length; i++) in printKeyInfo() [all …]
|
/aoo42x/main/jurt/java/jurt/src/main/java/com/sun/star/comp/connections/ |
H A D | PipedConnection.java | 105 _otherSide = (args.length == 1) ? (PipedConnection)args[0] : null; in PipedConnection() 123 while(bytesWritten < aData.length) { in receive() 141 bytes = Math.min(aData.length - bytesWritten, _in - _out - 1); in receive() 147 bytes = Math.min(aData.length - bytesWritten, _buffer.length - _out); in receive() 150 bytes = Math.min(aData.length - bytesWritten, _buffer.length - _out - 1); in receive() 158 if(_out >= _buffer.length) in receive() 198 int bytes = Math.min(nBytesToRead, _buffer.length - _in); in read() 204 if(_in >= _buffer.length) in read() 210 byte tmp[] = new byte[aReadBytes[0].length - nBytesToRead]; in read() 211 System.arraycopy(aReadBytes[0], 0, tmp, 0, tmp.length); in read() [all …]
|
/aoo42x/main/qadevOOo/tests/java/ifc/i18n/ |
H A D | _XCalendar.java | 89 count = new int[installed_locales.length]; in before() 113 for (int i=0; i<installed_locales.length; i++) { in _loadDefaultCalendar() 137 for (int i=0; i<installed_locales.length; i++) { in _getAllCalendars() 142 count[i] = calendars[i].length-1; in _getAllCalendars() 143 if (calendars[i].length > 0) { in _getAllCalendars() 148 res &= (calendars[i].length > 0); in _getAllCalendars() 167 for (int i=0; i<installed_locales.length; i++) { in _loadCalendar() 318 for (int k=0; k<fields.length;k++) { in _setValue() 499 res &= (months.length == 12); in _getMonths() 511 res &= (Days.length == 7); in _getDays() [all …]
|
/aoo42x/main/configmgr/source/ |
H A D | xmldata.cxx | 81 text.begin + i + 1, text.length - (i + 1)). in parseType() 86 text.begin + i + 1, text.length - (i + 1)). in parseType() 91 text.begin + i + 1, text.length - (i + 1)). in parseType() 96 text.begin + i + 1, text.length - (i + 1)). in parseType() 101 text.begin + i + 1, text.length - (i + 1)). in parseType() 106 text.begin + i + 1, text.length - (i + 1)). in parseType() 111 text.begin + i + 1, text.length - (i + 1)). in parseType() 123 text.begin + i + 1, text.length - (i + 1)). in parseType() 128 text.begin + i + 1, text.length - (i + 1)). in parseType() 133 text.begin + i + 1, text.length - (i + 1)). in parseType() [all …]
|
/aoo42x/main/wizards/com/sun/star/wizards/report/ |
H A D | ReportTextDocument.java | 144 if (GroupFieldNames.length > 0) in checkReportLayoutMode() 229 if (orderBy.length() != 0) in createReportForm() 306 …tSectionsSupplier.getTextSections().getElementNames().length > CurDBMetaData.GroupFieldNames.lengt… in loadSectionsfromTemplate() 331 if (CurDBMetaData.getRecordFieldNames().length > 0) in setupRecordSection() 387 int GroupFieldCount = SelGroupNames.length; in updateTextSections() 518 int iSelItemCount = NewSelGroupNames.length; in removeGroupName() 554 if (i < CurDBMetaData.GroupFieldNames.length) in getallDBColumns() 643 for (int i = 0; i < _FieldColumns.length; i++) in removeFieldColumnByFieldName() 673 for (int i = 0; i < sSectionNames.length; i++) in removeAllVisibleTextSections() 700 for (int i = 0; i < sTableNames.length; i++) in removeNonLayoutTextTables() [all …]
|
/aoo42x/main/sal/osl/os2/ |
H A D | file_url.cxx | 674 if( 0 == ustrSystemPath->length ) in osl_getFileURLFromSystemPath() 740 nIndex += pTmp->length - ustrSystemPath->length; in osl_getFileURLFromSystemPath() 743 for( nSrcIndex = nIndex + 1; nSrcIndex < pTmp->length; nSrcIndex++ ) in osl_getFileURLFromSystemPath() 752 pTmp->length -= nDeleted; in osl_getFileURLFromSystemPath() 801 strUTF8->length == strURL->length || in _osl_getSystemPathFromFileURL() 921 -1 == nIndex ? ustrFileURL->length - nOffset : nIndex++ ); in osl_getSystemPathFromFileURL() 947 if( 7 <= pTmp->length ) in osl_getSystemPathFromFileURL() 963 if( nIndex && ( 10 <= pTmp->length - nIndex ) ) in osl_getSystemPathFromFileURL() 969 rtl_ustr_toAsciiLowerCase_WithLength( pServer->buffer, pServer->length ); in osl_getSystemPathFromFileURL() 988 if( ( 1 == pTmp->length ) || ( (sal_Unicode)'/' == pTmp->buffer[1] ) ) in osl_getSystemPathFromFileURL() [all …]
|