/trunk/main/odk/examples/DevelopersGuide/OfficeDev/Linguistic/ |
H A D | SampleSpellChecker.java | 158 short nRes = -1; in GetSpellFailure() local 166 nRes = SpellFailure.SPELLING_ERROR; in GetSpellFailure() 168 nRes = SpellFailure.SPELLING_ERROR; in GetSpellFailure() 179 nRes = SpellFailure.SPELLING_ERROR; in GetSpellFailure() 182 nRes = SpellFailure.CAPTION_ERROR; in GetSpellFailure() 184 nRes = SpellFailure.SPELLING_ERROR; in GetSpellFailure() 186 nRes = SpellFailure.IS_NEGATIVE_WORD; in GetSpellFailure() 190 return nRes; in GetSpellFailure()
|
H A D | SampleHyphenator.java | 140 short nRes = nDefaultVal; in GetValueToUse() local 152 nRes = AnyConverter.toShort( aObj ); in GetValueToUse() 153 return nRes; in GetValueToUse() 164 nRes = AnyConverter.toShort( aObj ); in GetValueToUse() 168 nRes = nDefaultVal; in GetValueToUse() 171 return nRes; in GetValueToUse()
|
/trunk/main/connectivity/source/drivers/dbase/ |
H A D | DIndexIter.cxx | 60 sal_uIntPtr nRes = STRING_NOTFOUND; in Find() local 83 nRes = pKey ? pKey->GetRecord() : STRING_NOTFOUND; in Find() 86 nRes = GetNotNull(bFirst); in Find() 88 nRes = GetNull(bFirst); in Find() 90 nRes = GetLike(bFirst); in Find() 92 nRes = GetCompare(bFirst); in Find() 94 return nRes; in Find()
|
/trunk/main/linguistic/source/ |
H A D | gciterator.cxx | 171 sal_Int32 nRes = nStartPos; in lcl_SkipWhiteSpaces() local 177 nRes = pText - rText.getStr(); in lcl_SkipWhiteSpaces() 180 DBG_ASSERT( 0 <= nRes && nRes <= nLen, "lcl_SkipWhiteSpaces return value out of range" ); in lcl_SkipWhiteSpaces() 181 return nRes; in lcl_SkipWhiteSpaces() 206 sal_Int32 nRes = nStartPos; in lcl_BacktraceWhiteSpaces() local 218 nRes = pText - pStart + 1; in lcl_BacktraceWhiteSpaces() 222 DBG_ASSERT( 0 <= nRes && nRes <= nLen, "lcl_BacktraceWhiteSpaces return value out of range" ); in lcl_BacktraceWhiteSpaces() 223 return nRes; in lcl_BacktraceWhiteSpaces() 316 sal_Int32 nRes = NextDocId(); in GetOrCreateDocId() local 317 aRes = OUString::valueOf( nRes ); in GetOrCreateDocId()
|
H A D | misc.cxx | 436 sal_uInt8 nRes = DIC_ERR_NONE; in AddEntryToDic() local 440 nRes = DIC_ERR_FULL; in AddEntryToDic() 445 nRes = DIC_ERR_READONLY; in AddEntryToDic() 447 nRes = DIC_ERR_UNKNOWN; in AddEntryToDic() 451 return nRes; in AddEntryToDic() 620 sal_Int32 nRes = -1; in GetPosInWordToCheck() local 624 nRes = 0; in GetPosInWordToCheck() 630 ++nRes; in GetPosInWordToCheck() 633 return nRes; in GetPosInWordToCheck()
|
H A D | convdiclist.cxx | 188 sal_Int32 nRes = -1; in GetIndexByName_Impl() local 191 for (sal_Int32 i = 0; i < nLen && nRes == -1; ++i) in GetIndexByName_Impl() 194 nRes = i; in GetIndexByName_Impl() 196 return nRes; in GetIndexByName_Impl() 595 sal_Int16 nRes = 0; in queryMaxCharCount() local 606 if (nC > nRes) in queryMaxCharCount() 607 nRes = nC; in queryMaxCharCount() 610 return nRes; in queryMaxCharCount()
|
H A D | convdic.cxx | 613 sal_Int16 nRes = eDirection == ConversionDirection_FROM_LEFT ? in getMaxCharCount() local 615 DBG_ASSERT( nRes >= 0, "invalid MaxCharCount" ); in getMaxCharCount() 616 return nRes; in getMaxCharCount() 647 sal_Int16 nRes = ConversionPropertyType::NOT_DEFINED; in getPropertyType() local 654 nRes = (*aIt).second; in getPropertyType() 656 return nRes; in getPropertyType()
|
H A D | convdicxml.cxx | 88 sal_Int16 nRes = -1; in GetConversionTypeFromText() local 90 nRes = ConversionDictionaryType::HANGUL_HANJA; in GetConversionTypeFromText() 92 nRes = ConversionDictionaryType::SCHINESE_TCHINESE; in GetConversionTypeFromText() 93 return nRes; in GetConversionTypeFromText()
|
/trunk/main/jvmfwk/plugins/sunmajor/pluginlib/ |
H A D | sunjavaplugin.cxx | 362 int nRes = 0; in jfw_plugin_getJavaInfoByPath() local 365 nRes = aVendorInfo->compareVersions(ouMinVer); in jfw_plugin_getJavaInfoByPath() 376 if (nRes < 0) in jfw_plugin_getJavaInfoByPath() 382 int nRes = 0; in jfw_plugin_getJavaInfoByPath() local 385 nRes = aVendorInfo->compareVersions(ouMaxVer); in jfw_plugin_getJavaInfoByPath() 396 if (nRes > 0) in jfw_plugin_getJavaInfoByPath() 405 int nRes = 0; in jfw_plugin_getJavaInfoByPath() local 408 nRes = aVendorInfo->compareVersions(sExVer); in jfw_plugin_getJavaInfoByPath() 419 if (nRes == 0) in jfw_plugin_getJavaInfoByPath()
|
/trunk/main/canvas/source/directx/ |
H A D | dx_5rm.cxx | 1278 if( FAILED( nRes ) ) in create() 1577 std::size_t nRes( 0 ); in getAvailableSurfaceMem() local 1587 nRes += nFree; in getAvailableSurfaceMem() 1596 nRes += nFree; in getAvailableSurfaceMem() 1599 return nRes; in getAvailableSurfaceMem() 1611 std::size_t nRes( 0 ); in getAvailableTextureMem() local 1623 nRes += nFree; in getAvailableTextureMem() 1632 nRes += nFree; in getAvailableTextureMem() 1637 return nRes; in getAvailableTextureMem() 1696 if(FAILED(nRes)) in createSystemMemorySurface() [all …]
|
/trunk/main/sfx2/source/appl/ |
H A D | fileobj.cxx | 338 int nRes; in GetGraphic_Impl() local 346 nRes = xMed.Is() ? GRFILTER_OPENERROR in GetGraphic_Impl() 354 nRes = pGF->ImportGraphic( rGrf, sFileNm, *pStream, nFilter ); in GetGraphic_Impl() 358 nRes = pGF->ImportGraphic( pDownLoadData->aGrf, aEmptyStr, in GetGraphic_Impl() 388 if( nRes ) in GetGraphic_Impl() 393 nRes, in GetGraphic_Impl() 400 nRes, sFileNm.GetBuffer() ); in GetGraphic_Impl() 405 return GRFILTER_OK == nRes; in GetGraphic_Impl()
|
/trunk/main/connectivity/source/drivers/file/ |
H A D | fcode.cxx | 354 sal_Int32 nRes = rtl_ustr_compareIgnoreAsciiCase_WithLength in operate() local 362 case SQLFilterOperator::EQUAL: bResult = (nRes == 0); break; in operate() 363 case SQLFilterOperator::NOT_EQUAL: bResult = (nRes != 0); break; in operate() 364 case SQLFilterOperator::LESS: bResult = (nRes < 0); break; in operate() 365 case SQLFilterOperator::LESS_EQUAL: bResult = (nRes <= 0); break; in operate() 366 case SQLFilterOperator::GREATER: bResult = (nRes > 0); break; in operate() 367 case SQLFilterOperator::GREATER_EQUAL: bResult = (nRes >= 0); break; in operate()
|
/trunk/main/sw/source/core/swg/ |
H A D | SwXMLTextBlocks.cxx | 355 sal_uLong nRes = 0; in PutBlock() local 365 nRes = aWriter.Write ( xWrt ); in PutBlock() 371 if( !nRes && bHasChildren ) in PutBlock() 408 nRes = ERR_SWG_WRITE_ERROR; in PutBlock() 607 sal_uLong nRes = 0; in PutText() local 614 nRes = PutBlockText( rShort, rName, rText, aPackageName ); in PutText() 615 return nRes; in PutText()
|
/trunk/main/sw/source/ui/chrdlg/ |
H A D | ccoll.cxx | 93 sal_Int16 nRes = -1; in GetCommandContextIndex() local 94 for (sal_Int16 i = 0; nRes == -1 && i < COND_COMMAND_COUNT; ++i) in GetCommandContextIndex() 97 nRes = i; in GetCommandContextIndex() 99 return nRes; in GetCommandContextIndex()
|
/trunk/main/linguistic/workben/ |
H A D | sspellimp.cxx | 144 INT16 nRes = -1; in GetSpellFailure() local 151 nRes = SpellFailure::IS_NEGATIVE_WORD; in GetSpellFailure() 156 nRes = SpellFailure::SPELLING_ERROR; in GetSpellFailure() 162 nRes = SpellFailure::CAPTION_ERROR; in GetSpellFailure() 166 return nRes; in GetSpellFailure()
|
/trunk/main/starmath/source/ |
H A D | accessibility.cxx | 593 sal_Int32 nRes = -1; in getIndexAtPoint() local 600 return nRes; in getIndexAtPoint() 639 for (sal_Int32 i = 0; i < aTxt.Len() && nRes == -1; ++i) in getIndexAtPoint() 642 nRes = i; in getIndexAtPoint() 645 DBG_ASSERT( nRes >= 0 && nRes < aTxt.Len(), "index out of range" ); in getIndexAtPoint() 649 nRes = pNode->GetAccessibleIndex() + nRes; in getIndexAtPoint() 653 return nRes; in getIndexAtPoint() 1530 xub_StrLen nRes = 0; in AppendTextPortion() local 1539 nRes = aSel.nEndPos = pEditEngine->GetTextLen( nPara ); in AppendTextPortion() 1542 return nRes; in AppendTextPortion()
|
/trunk/main/editeng/source/accessibility/ |
H A D | AccessibleEditableTextPara.cxx | 1505 sal_Int32 nRes = aRes.getLength(); in getCharacterAttributes() local 1523 nRes = aRes.getLength(); in getCharacterAttributes() 1524 aRes.realloc( nRes + 1 ); in getCharacterAttributes() 1538 nRes = aRes.getLength(); in getCharacterAttributes() 1539 aRes.realloc( nRes + 1 ); in getCharacterAttributes() 1761 sal_Int32 nRes = rValues.getLength(); in _correctValues() local 1763 for (sal_Int32 i = 0; i < nRes; ++i) in _correctValues() 3034 sal_Int32 nRes = -1; in getLineNumberAtIndex() local 3048 return nRes; in getLineNumberAtIndex() 3110 sal_Int32 nRes = -1; in getNumberOfLineWithCaret() local [all …]
|
/trunk/main/sdext/source/pdfimport/wrapper/ |
H A D | wrapper.cxx | 294 oslFileError nRes=osl_File_E_None; in readBinaryData() local 296 osl_File_E_None == (nRes=osl_readFile( m_pErr, pBuf, nFileLen, &nBytesRead )) ) in readBinaryData() 302 OSL_PRECOND(nRes==osl_File_E_None, "inconsistent data"); in readBinaryData() 889 oslFileError nRes; in readLine() local 892 while( osl_File_E_None == (nRes=osl_readFile(pFile, &aChar, 1, &nBytesRead)) && in readLine() 899 while( osl_File_E_None == (nRes=osl_readFile(pFile, &aChar, 1, &nBytesRead)) && in readLine() 905 return nRes; in readLine()
|
/trunk/main/package/source/package/zipapi/ |
H A D | Inflater.cxx | 52 sal_Int32 nRes; in Inflater() local 53 nRes = inflateInit2(pStream, bNoWrap ? -MAX_WBITS : MAX_WBITS); in Inflater() 54 switch (nRes) in Inflater()
|
/trunk/main/sot/source/sdstor/ |
H A D | stgelem.cxx | 402 sal_Int32 nRes = r.nNameLen - nNameLen; in Compare() local 403 if( !nRes ) in Compare() 404 nRes = r.aName.CompareTo( aName ); in Compare() 405 return (short)nRes; in Compare()
|
/trunk/main/sc/source/core/data/ |
H A D | dociter.cxx | 1490 sal_Int32 nRes = 0; in BinarySearch() local 1508 nRes = 0; in BinarySearch() 1529 nRes = -1; in BinarySearch() 1548 nRes = 1; in BinarySearch() 1571 nRes = pCollator->compareString( aCellStr, *rEntry.pStr); in BinarySearch() 1572 if (nRes < 0 && bLessEqual) in BinarySearch() 1588 else if (nRes > 0 && !bLessEqual) in BinarySearch() 1607 nRes = -1; // numeric < string in BinarySearch() 1613 nRes = 1; // string > numeric in BinarySearch() 1617 if (nRes < 0) in BinarySearch() [all …]
|
/trunk/main/connectivity/source/commontools/ |
H A D | TSortIndex.cxx | 55 sal_Int32 nRes = lhs.second->getKeyString(i).compareTo(rhs.second->getKeyString(i)); in operator ()() local 56 if (nRes < 0) in operator ()() 58 else if (nRes > 0) in operator ()()
|
/trunk/main/i18npool/source/transliteration/ |
H A D | transliteration_body.cxx | 84 sal_uInt8 nRes = nMappingType; in lcl_getMappingTypeForToggleCase() local 93 nRes = MappingTypeLowerToUpper; in lcl_getMappingTypeForToggleCase() 97 nRes = MappingTypeUpperToLower; in lcl_getMappingTypeForToggleCase() 101 return nRes; in lcl_getMappingTypeForToggleCase()
|
/trunk/main/swext/mediawiki/src/com/sun/star/wiki/ |
H A D | MainThreadDialogExecutor.java | 164 int nRes = m_xMessageBox.execute(); in notify() local 165 m_bResult = ( nRes == com.sun.star.awt.MessageBoxResults.OK in notify() 166 || nRes == com.sun.star.awt.MessageBoxResults.YES ); in notify()
|
/trunk/main/editeng/source/misc/ |
H A D | unolingu.cxx | 98 sal_Int32 nRes = -1; in lcl_FindEntry() local 101 for (sal_Int32 i = 0; i < nEntries && nRes == -1; ++i) in lcl_FindEntry() 104 nRes = i; in lcl_FindEntry() 106 return nRes != -1; in lcl_FindEntry() 1328 short nRes = 0; in SvxDicError() local 1340 nRes = InfoBox( pParent, EE_RESSTR( nRid ) ).Execute(); in SvxDicError() 1342 return nRes; in SvxDicError()
|