| /AOO41X/main/basic/source/sbx/ |
| H A D | sbxint.cxx | 38 sal_Int16 nRes; in ImpGetInteger() local 45 nRes = 0; break; in ImpGetInteger() 47 nRes = p->nChar; break; in ImpGetInteger() 49 nRes = p->nByte; break; in ImpGetInteger() 52 nRes = p->nInteger; break; in ImpGetInteger() 57 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXINT; in ImpGetInteger() 60 nRes = (sal_Int16) p->nUShort; in ImpGetInteger() 65 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXINT; in ImpGetInteger() 69 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMININT; in ImpGetInteger() 72 nRes = (sal_Int16) p->nLong; in ImpGetInteger() [all …]
|
| H A D | sbxcurr.cxx | 42 SbxINT64 nRes; in ImpGetCurrency() local 49 nRes.SetNull(); break; in ImpGetCurrency() 51 nRes = ImpDoubleToCurrency( (double)p->nChar ); break; in ImpGetCurrency() 53 nRes = ImpDoubleToCurrency( (double)p->nByte ); break; in ImpGetCurrency() 56 nRes = ImpDoubleToCurrency( (double)p->nInteger ); break; in ImpGetCurrency() 59 nRes = ImpDoubleToCurrency( (double)p->nUShort ); break; in ImpGetCurrency() 61 nRes = p->nLong64; break; in ImpGetCurrency() 63 nRes = ImpDoubleToCurrency( (double)p->nLong ); in ImpGetCurrency() 66 nRes = ImpDoubleToCurrency( (double)p->nULong ); in ImpGetCurrency() 69 nRes = ImpDoubleToCurrency( (double)p->nInt64 ); in ImpGetCurrency() [all …]
|
| H A D | sbxbool.cxx | 38 enum SbxBOOL nRes; in ImpGetBool() local 44 nRes = SbxFALSE; break; in ImpGetBool() 46 nRes = p->nChar ? SbxTRUE : SbxFALSE; break; in ImpGetBool() 48 nRes = p->nByte ? SbxTRUE : SbxFALSE; break; in ImpGetBool() 51 nRes = p->nInteger ? SbxTRUE : SbxFALSE; break; in ImpGetBool() 54 nRes = p->nUShort ? SbxTRUE : SbxFALSE; break; in ImpGetBool() 56 nRes = p->nLong ? SbxTRUE : SbxFALSE; break; in ImpGetBool() 58 nRes = p->nULong ? SbxTRUE : SbxFALSE; break; in ImpGetBool() 60 nRes = p->nSingle ? SbxTRUE : SbxFALSE; break; in ImpGetBool() 63 nRes = p->nDouble ? SbxTRUE : SbxFALSE; break; in ImpGetBool() [all …]
|
| H A D | sbxsng.cxx | 33 float nRes; in ImpGetSingle() local 40 nRes = 0; break; in ImpGetSingle() 42 nRes = p->nChar; break; in ImpGetSingle() 44 nRes = p->nByte; break; in ImpGetSingle() 47 nRes = p->nInteger; break; in ImpGetSingle() 50 nRes = p->nUShort; break; in ImpGetSingle() 52 nRes = (float) p->nLong; break; in ImpGetSingle() 54 nRes = (float) p->nULong; break; in ImpGetSingle() 56 nRes = p->nSingle; break; in ImpGetSingle() 58 nRes = (float) p->nInt64; break; in ImpGetSingle() [all …]
|
| H A D | sbxbyte.cxx | 33 sal_uInt8 nRes; in ImpGetByte() local 40 nRes = 0; break; in ImpGetByte() 44 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetByte() 47 nRes = (sal_uInt8) p->nChar; in ImpGetByte() 50 nRes = (sal_uInt8) p->nByte; break; in ImpGetByte() 55 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXBYTE; in ImpGetByte() 59 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetByte() 62 nRes = (sal_uInt8) p->nInteger; in ImpGetByte() 68 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXBYTE; in ImpGetByte() 71 nRes = (sal_uInt8) p->nUShort; in ImpGetByte() [all …]
|
| H A D | sbxdbl.cxx | 33 double nRes; in ImpGetDouble() local 39 nRes = 0; break; in ImpGetDouble() 41 nRes = p->nChar; break; in ImpGetDouble() 43 nRes = p->nByte; break; in ImpGetDouble() 46 nRes = p->nInteger; break; in ImpGetDouble() 49 nRes = p->nUShort; break; in ImpGetDouble() 51 nRes = p->nLong; break; in ImpGetDouble() 53 nRes = p->nULong; break; in ImpGetDouble() 55 nRes = p->nSingle; break; in ImpGetDouble() 58 nRes = p->nDouble; break; in ImpGetDouble() [all …]
|
| H A D | sbxdate.cxx | 39 double nRes; in ImpGetDate() local 45 nRes = 0; break; in ImpGetDate() 47 nRes = p->nChar; break; in ImpGetDate() 49 nRes = p->nByte; break; in ImpGetDate() 52 nRes = p->nInteger; break; in ImpGetDate() 55 nRes = p->nUShort; break; in ImpGetDate() 57 nRes = (double) p->nLong; break; in ImpGetDate() 59 nRes = (double) p->nULong; break; in ImpGetDate() 61 nRes = p->nSingle; break; in ImpGetDate() 64 nRes = p->nDouble; break; in ImpGetDate() [all …]
|
| H A D | sbxuint.cxx | 33 sal_uInt16 nRes; in ImpGetUShort() local 40 nRes = 0; break; in ImpGetUShort() 42 nRes = p->nChar; in ImpGetUShort() 45 nRes = p->nByte; break; in ImpGetUShort() 50 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetUShort() 53 nRes = p->nInteger; in ImpGetUShort() 57 nRes = p->nUShort; in ImpGetUShort() 62 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXUINT; in ImpGetUShort() 66 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetUShort() 69 nRes = (sal_uInt16) p->nLong; in ImpGetUShort() [all …]
|
| H A D | sbxchar.cxx | 38 xub_Unicode nRes = 0; in ImpGetChar() local 45 nRes = 0; break; in ImpGetChar() 47 nRes = p->nChar; break; in ImpGetChar() 49 nRes = (xub_Unicode) p->nByte; in ImpGetChar() 55 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMINCHAR; in ImpGetChar() 58 nRes = (xub_Unicode) p->nInteger; in ImpGetChar() 62 nRes = (xub_Unicode) p->nUShort; in ImpGetChar() 67 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXCHAR; in ImpGetChar() 71 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMINCHAR; in ImpGetChar() 74 nRes = (xub_Unicode) p->nLong; in ImpGetChar() [all …]
|
| H A D | sbxulng.cxx | 33 sal_uInt32 nRes; in ImpGetULong() local 40 nRes = 0; break; in ImpGetULong() 42 nRes = p->nChar; in ImpGetULong() 45 nRes = p->nByte; break; in ImpGetULong() 50 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetULong() 53 nRes = p->nInteger; in ImpGetULong() 57 nRes = p->nUShort; in ImpGetULong() 62 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetULong() 65 nRes = p->nLong; in ImpGetULong() 68 nRes = p->nULong; break; in ImpGetULong() [all …]
|
| H A D | sbxlng.cxx | 33 sal_Int32 nRes; in ImpGetLong() local 40 nRes = 0; break; in ImpGetLong() 42 nRes = p->nChar; break; in ImpGetLong() 44 nRes = p->nByte; break; in ImpGetLong() 47 nRes = p->nInteger; break; in ImpGetLong() 50 nRes = p->nUShort; break; in ImpGetLong() 52 nRes = p->nLong; break; in ImpGetLong() 56 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXLNG; in ImpGetLong() 59 nRes = (sal_Int32) p->nULong; in ImpGetLong() 64 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXLNG; in ImpGetLong() [all …]
|
| /AOO41X/main/ucb/source/ucp/file/ |
| H A D | filrec.cxx | 81 ::osl::FileBase::RC nRes = ::osl::FileBase::E_NETWORK; in setPos() 88 nRes = m_aFile.setPos( uHow, uPos ); in setPos() 94 nRes = m_aFile.setPos( uHow, uPos ); in setPos() 95 if ( ( nRes == ::osl::FileBase::E_NETWORK in setPos() 96 || nRes == ::osl::FileBase::E_INVAL ) in setPos() 98 nRes = m_aFile.setPos( uHow, uPos ); in setPos() 104 nRes = m_aFile.setPos( uHow, uPos ); in setPos() 107 return nRes; in setPos() 120 ::osl::FileBase::RC nRes = ::osl::FileBase::E_NETWORK; in setSize() 127 nRes = m_aFile.setSize( uSize ); in setSize() [all …]
|
| /AOO41X/main/starmath/source/ |
| H A D | toolbox.cxx | 50 sal_uInt16 nRes = 0xFFFF; in GetImageListRID() local 53 case RID_UNBINOPS_CAT : nRes = RID_IL_UNBINOPS; break; in GetImageListRID() 54 case RID_RELATIONS_CAT : nRes = RID_IL_RELATIONS; break; in GetImageListRID() 55 case RID_SETOPERATIONS_CAT : nRes = RID_IL_SETOPERATIONS; break; in GetImageListRID() 56 case RID_FUNCTIONS_CAT : nRes = RID_IL_FUNCTIONS; break; in GetImageListRID() 57 case RID_OPERATORS_CAT : nRes = RID_IL_OPERATORS; break; in GetImageListRID() 58 case RID_ATTRIBUTES_CAT : nRes = RID_IL_ATTRIBUTES; break; in GetImageListRID() 59 case RID_BRACKETS_CAT : nRes = RID_IL_BRACKETS; break; in GetImageListRID() 60 case RID_FORMAT_CAT : nRes = RID_IL_FORMAT; break; in GetImageListRID() 61 case RID_MISC_CAT : nRes = RID_IL_MISC; break; in GetImageListRID() [all …]
|
| /AOO41X/main/sc/source/core/tool/ |
| H A D | address.cxx | 954 sal_uInt16 nRes = 0; in lcl_ScAddress_Parse_OOo() local 987 nRes |= SCA_TAB_3D; in lcl_ScAddress_Parse_OOo() 989 nRes |= SCA_TAB_ABSOLUTE; in lcl_ScAddress_Parse_OOo() 991 nRes |= SCA_TAB_ABSOLUTE, p++; in lcl_ScAddress_Parse_OOo() 1023 return nRes; // After a document a sheet must follow. in lcl_ScAddress_Parse_OOo() 1026 nRes |= nBits; in lcl_ScAddress_Parse_OOo() 1046 nRes |= nBits; in lcl_ScAddress_Parse_OOo() 1072 nRes |= nBits; in lcl_ScAddress_Parse_OOo() 1082 nRes = 0; in lcl_ScAddress_Parse_OOo() 1094 nRes = 0; in lcl_ScAddress_Parse_OOo() [all …]
|
| H A D | interpr1.cxx | 1155 short nRes = sal_True; in ScAnd() local 1165 nRes &= ( PopDouble() != 0.0 ); in ScAnd() 1181 nRes &= ( GetCellValue( aAdr, pCell ) != 0.0 ); in ScAnd() 1202 nRes &= ( fVal != 0.0 ); in ScAnd() 1221 nRes = sal_False; in ScAnd() 1224 nRes &= (fVal != 0.0); in ScAnd() 1238 PushInt( nRes ); in ScAnd() 1253 short nRes = sal_False; in ScOr() local 1263 nRes |= ( PopDouble() != 0.0 ); in ScOr() 1279 nRes |= ( GetCellValue( aAdr, pCell ) != 0.0 ); in ScOr() [all …]
|
| /AOO41X/main/unotools/source/config/ |
| H A D | searchopt.cxx | 276 sal_Int32 nRes = 0; in GetTransliterationFlags() local 279 nRes |= TransliterationModules_IGNORE_CASE; in GetTransliterationFlags() 281 nRes |= TransliterationModules_IGNORE_WIDTH; in GetTransliterationFlags() 283 nRes |= TransliterationModules_IGNORE_KANA; in GetTransliterationFlags() 285 nRes |= TransliterationModules_ignoreSize_ja_JP; in GetTransliterationFlags() 287 nRes |= TransliterationModules_ignoreMinusSign_ja_JP; in GetTransliterationFlags() 289 nRes |= TransliterationModules_ignoreIterationMark_ja_JP; in GetTransliterationFlags() 291 nRes |= TransliterationModules_ignoreTraditionalKanji_ja_JP; in GetTransliterationFlags() 293 nRes |= TransliterationModules_ignoreTraditionalKana_ja_JP; in GetTransliterationFlags() 295 nRes |= TransliterationModules_ignoreZiZu_ja_JP; in GetTransliterationFlags() [all …]
|
| /AOO41X/main/sot/source/sdstor/ |
| H A D | stgavl.cxx | 49 short nRes = p->Compare( pFind ); in Find() local 50 if( !nRes ) in Find() 52 else p = ( nRes < 0 ) ? p->pLeft : p->pRight; in Find() 65 short nRes = 0; in Locate() local 82 nRes = pCur->Compare( pFind ); in Locate() 83 if( nRes == 0 ) in Locate() 85 else pCur = ( nRes < 0 ) ? pCur->pLeft : pCur->pRight; in Locate() 89 return( nRes ); in Locate() 104 short nRes = Compare( pNew ); in Adjust() local 105 if( nRes > 0 ) in Adjust() [all …]
|
| H A D | stgstrms.cxx | 861 short nRes; in Read() local 876 nRes = nBytes; in Read() 880 nRes = (short) rIo.Read( nPage, p, 1 ) * nPageSize; in Read() 890 nRes = nBytes; in Read() 892 nDone += nRes; in Read() 893 nPos += nRes; in Read() 894 n -= nRes; in Read() 895 nOffset = nOffset + nRes; in Read() 896 if( nRes != nBytes ) in Read() 922 short nRes; in Write() local [all …]
|
| /AOO41X/main/sw/source/core/unocore/ |
| H A D | unostyle.cxx | 121 sal_uInt16 nRes = USHRT_MAX; in lcl_ConvertFNToRES() local 128 case FN_UNO_HEADER_BACKGROUND: nRes = RES_BACKGROUND; in lcl_ConvertFNToRES() 131 case FN_UNO_HEADER_BOX: nRes = RES_BOX; in lcl_ConvertFNToRES() 134 case FN_UNO_HEADER_LR_SPACE: nRes = RES_LR_SPACE; in lcl_ConvertFNToRES() 137 case FN_UNO_HEADER_SHADOW: nRes = RES_SHADOW; in lcl_ConvertFNToRES() 140 case FN_UNO_HEADER_BODY_DISTANCE: nRes = RES_UL_SPACE; in lcl_ConvertFNToRES() 143 case FN_UNO_HEADER_IS_DYNAMIC_DISTANCE: nRes = SID_ATTR_PAGE_DYNAMIC; in lcl_ConvertFNToRES() 146 case FN_UNO_HEADER_SHARE_CONTENT: nRes = SID_ATTR_PAGE_SHARED; in lcl_ConvertFNToRES() 149 case FN_UNO_HEADER_HEIGHT: nRes = SID_ATTR_PAGE_SIZE; in lcl_ConvertFNToRES() 152 case FN_UNO_HEADER_EAT_SPACING: nRes = RES_HEADER_FOOTER_EAT_SPACING; in lcl_ConvertFNToRES() [all …]
|
| /AOO41X/test/testcommon/source/org/openoffice/test/vcl/client/ |
| H A D | CommunicationManager.java | 235 int nRes = 0; in calcCheckByte() local 241 nRes += bytes[0] ^ 0xf0; in calcCheckByte() 242 nRes += bytes[1] ^ 0x0f; in calcCheckByte() 243 nRes += bytes[2] ^ 0xf0; in calcCheckByte() 244 nRes += bytes[3] ^ 0x0f; in calcCheckByte() 245 nRes ^= (nRes >>> 8); in calcCheckByte() 246 return (byte) nRes; in calcCheckByte()
|
| /AOO41X/main/automation/source/simplecm/ |
| H A D | packethandler.cxx | 55 comm_UINT16 nRes = 0; in CalcCheckByte() local 56 nRes += HIBYTE( HIWORD( nBytes ) ) ^ 0xf0; in CalcCheckByte() 57 nRes += LOBYTE( HIWORD( nBytes ) ) ^ 0x0f; in CalcCheckByte() 58 nRes += HIBYTE( LOWORD( nBytes ) ) ^ 0xf0; in CalcCheckByte() 59 nRes += LOBYTE( LOWORD( nBytes ) ) ^ 0x0f; in CalcCheckByte() 61 nRes ^= HIBYTE( nRes ); in CalcCheckByte() 63 return LOBYTE( nRes ); in CalcCheckByte()
|
| /AOO41X/main/sw/source/core/swg/ |
| H A D | SwXMLTextBlocks1.cxx | 419 sal_uLong nRes = 0; in PutBlockText() local 459 nRes = ERR_SWG_WRITE_ERROR; in PutBlockText() 473 if( !nRes ) // damit ueber GetText & nCur aufs Doc zugegriffen in PutBlockText() 476 return nRes; in PutBlockText() 617 sal_uLong nRes = 0; in SetMacroTable() local 637 nRes = OpenFile ( sal_False ); in SetMacroTable() 640 if ( 0 == nRes ) in SetMacroTable() 705 nRes = ERR_SWG_WRITE_ERROR; in SetMacroTable() 708 nRes = ERR_SWG_WRITE_ERROR; in SetMacroTable() 726 nRes = ERR_SWG_WRITE_ERROR; in SetMacroTable() [all …]
|
| /AOO41X/main/sc/source/core/data/ |
| H A D | table3.cxx | 242 short nRes = 0; in CompareCell() local 290 nRes = sal::static_int_cast<short>( pData->Compare(aStr1, aStr2) ); in CompareCell() 292 nRes = sal::static_int_cast<short>( pData->ICompare(aStr1, aStr2) ); in CompareCell() 299 nRes = (short) pSortCollator->compareString( aStr1, aStr2 ); in CompareCell() 302 nRes = 1; // Zahl vorne in CompareCell() 304 nRes = -1; // Zahl vorne in CompareCell() 322 nRes = -1; in CompareCell() 324 nRes = 1; in CompareCell() 327 nRes = -nRes; in CompareCell() 330 nRes = -1; in CompareCell() [all …]
|
| /AOO41X/main/sc/source/ui/drawfunc/ |
| H A D | fuins1.cxx | 332 sal_uInt16 nRes = 0; in FuInsertGraphic() 335 case GRFILTER_OPENERROR: nRes = SCSTR_GRFILTER_OPENERROR; break; in FuInsertGraphic() 336 case GRFILTER_IOERROR: nRes = SCSTR_GRFILTER_IOERROR; break; in FuInsertGraphic() 337 case GRFILTER_FORMATERROR: nRes = SCSTR_GRFILTER_FORMATERROR; break; in FuInsertGraphic() 338 case GRFILTER_VERSIONERROR: nRes = SCSTR_GRFILTER_VERSIONERROR; break; in FuInsertGraphic() 339 case GRFILTER_FILTERERROR: nRes = SCSTR_GRFILTER_FILTERERROR; break; in FuInsertGraphic() 340 case GRFILTER_TOOBIG: nRes = SCSTR_GRFILTER_TOOBIG; break; in FuInsertGraphic() 342 if ( nRes ) in FuInsertGraphic() 344 InfoBox aInfoBox( pWindow, String(ScResId(nRes)) ); in FuInsertGraphic()
|
| /AOO41X/main/tools/source/fsys/ |
| H A D | fstat.cxx | 177 DWORD nRes = GetFileAttributes( (LPCTSTR) aFPath.GetBuffer() ); in GetReadOnlyFlag() local 178 return ULONG_MAX != nRes && in GetReadOnlyFlag() 179 ( FILE_ATTRIBUTE_READONLY & nRes ) == FILE_ATTRIBUTE_READONLY; in GetReadOnlyFlag() 217 DWORD nRes = GetFileAttributes( (LPCTSTR) aFPath.GetBuffer() ); in SetReadOnlyFlag() local 218 if ( ULONG_MAX != nRes ) in SetReadOnlyFlag() 219 nRes = SetFileAttributes( (LPCTSTR) aFPath.GetBuffer(), in SetReadOnlyFlag() 220 ( nRes & ~FILE_ATTRIBUTE_READONLY ) | in SetReadOnlyFlag() 222 return ( ULONG_MAX == nRes ) ? ERRCODE_IO_UNKNOWN : 0; in SetReadOnlyFlag()
|