/aoo41x/main/basic/source/sbx/ |
H A D | sbxint.cxx | 38 sal_Int16 nRes; in ImpGetInteger() local 45 nRes = 0; break; in ImpGetInteger() 154 nRes = 0; in ImpGetInteger() 160 nRes = 0; in ImpGetInteger() 222 return nRes; in ImpGetInteger() 364 return nRes; in ImpDoubleToSalInt64() 380 return nRes; in ImpDoubleToSalUInt64() 456 nRes = 0; in ImpGetInt64() 523 return nRes; in ImpGetInt64() 743 nRes = 0; in ImpGetUInt64() [all …]
|
H A D | sbxcurr.cxx | 42 SbxINT64 nRes; in ImpGetCurrency() local 121 nRes.SetNull(); in ImpGetCurrency() 171 return nRes; in ImpGetCurrency() 367 SbxINT64 nRes; in ImpStringToCurrency() local 369 return nRes; in ImpStringToCurrency() 377 SbxINT64 nRes; in ImpDoubleToINT64() local 378 nRes.Set( d ); in ImpDoubleToINT64() 379 return nRes; in ImpDoubleToINT64() 387 SbxUINT64 nRes; in ImpDoubleToUINT64() local 388 nRes.Set( d ); in ImpDoubleToUINT64() [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() 56 nRes = p->nLong ? SbxTRUE : SbxFALSE; break; in ImpGetBool() 58 nRes = p->nULong ? SbxTRUE : SbxFALSE; break; in ImpGetBool() 70 nRes = dVal ? SbxTRUE : SbxFALSE; in ImpGetBool() 85 nRes = SbxFALSE; in ImpGetBool() 89 nRes = SbxTRUE; in ImpGetBool() 103 nRes = SbxTRUE; in ImpGetBool() [all …]
|
H A D | sbxbyte.cxx | 33 sal_uInt8 nRes; in ImpGetByte() local 40 nRes = 0; break; in ImpGetByte() 47 nRes = (sal_uInt8) p->nChar; in ImpGetByte() 83 nRes = (sal_uInt8) p->nLong; in ImpGetByte() 91 nRes = (sal_uInt8) p->nULong; in ImpGetByte() 103 nRes = (sal_uInt8) p->nInt64; in ImpGetByte() 165 nRes = 0; in ImpGetByte() 171 nRes = 0; in ImpGetByte() 188 nRes = pVal->GetByte(); in ImpGetByte() 197 nRes = p->nByte; break; in ImpGetByte() [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() 50 nRes = p->nUShort; break; in ImpGetSingle() 66 nRes = 0.0; in ImpGetSingle() 105 nRes = (float) dVal; in ImpGetSingle() 112 nRes = 0; in ImpGetSingle() 118 nRes = 0; in ImpGetSingle() 130 nRes = (float) d; in ImpGetSingle() [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() 51 nRes = p->nLong; break; in ImpGetDouble() 53 nRes = p->nULong; break; in ImpGetDouble() 70 nRes = 0.0; in ImpGetDouble() 77 nRes = 0; in ImpGetDouble() 87 nRes = 0; in ImpGetDouble() 92 nRes = d; 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() 61 nRes = p->nSingle; break; in ImpGetDate() 64 nRes = p->nDouble; break; in ImpGetDate() 80 nRes = 0.0; in ImpGetDate() 86 nRes = 0; 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() 53 nRes = p->nInteger; in ImpGetUShort() 57 nRes = p->nUShort; in ImpGetUShort() 151 nRes = 0; in ImpGetUShort() 157 nRes = 0; in ImpGetUShort() 174 nRes = pVal->GetUShort(); in ImpGetUShort() 183 nRes = *p->pByte; break; 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() 62 nRes = (xub_Unicode) p->nUShort; in ImpGetChar() 74 nRes = (xub_Unicode) p->nLong; in ImpGetChar() 82 nRes = (xub_Unicode) p->nULong; in ImpGetChar() 160 nRes = 0; in ImpGetChar() 177 nRes = pVal->GetChar(); in ImpGetChar() 186 nRes = *p->pChar; break; 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() 53 nRes = p->nInteger; in ImpGetULong() 57 nRes = p->nUShort; in ImpGetULong() 65 nRes = p->nLong; in ImpGetULong() 68 nRes = p->nULong; break; in ImpGetULong() 127 nRes = 0; in ImpGetULong() 133 nRes = 0; 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() 119 nRes = 0; in ImpGetLong() 125 nRes = 0; in ImpGetLong() 142 nRes = pVal->GetLong(); in ImpGetLong() [all …]
|
/aoo41x/main/ucb/source/ucp/file/ |
H A D | filrec.cxx | 94 nRes = m_aFile.setPos( uHow, uPos ); in setPos() 104 nRes = m_aFile.setPos( uHow, uPos ); in setPos() 107 return nRes; in setPos() 133 nRes = m_aFile.setSize( uSize ); in setSize() 143 nRes = m_aFile.setSize( uSize ); in setSize() 146 return nRes; in setSize() 154 nRes = m_aFile.getSize( rSize ); in getSize() 158 if ( ( nRes == ::osl::FileBase::E_NETWORK in getSize() 159 || nRes == ::osl::FileBase::E_INVAL ) in getSize() 162 nRes = m_aFile.getSize( rSize ); in getSize() [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() 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() 65 if (nRes != 0xFFFF && bHighContrast) in GetImageListRID() 67 return nRes; in GetImageListRID() 94 sal_uInt16 nRes = 0xFFFF; in GetCategoryRID() local 114 case RID_ILH_MISC : nRes = RID_MISC_CAT; break; in GetCategoryRID() [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() 295 nRes |= TransliterationModules_ignoreZiZu_ja_JP; in GetTransliterationFlags() 297 nRes |= TransliterationModules_ignoreBaFa_ja_JP; in GetTransliterationFlags() 299 nRes |= TransliterationModules_ignoreTiJi_ja_JP; in GetTransliterationFlags() 303 nRes |= TransliterationModules_ignoreSeZe_ja_JP; in GetTransliterationFlags() 311 nRes |= TransliterationModules_ignoreSpace_ja_JP; in GetTransliterationFlags() [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() 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() 1162 if ( !(nRes & SCA_VALID_ROW) && (nRes & SCA_VALID_COL) in lcl_ScAddress_Parse_OOo() 1163 && !( (nRes & SCA_TAB_3D) && (nRes & SCA_VALID_TAB)) ) in lcl_ScAddress_Parse_OOo() 1165 nRes = 0; in lcl_ScAddress_Parse_OOo() 1174 nRes = 0; in lcl_ScAddress_Parse_OOo() [all …]
|
H A D | interpr1.cxx | 1757 short nRes = 0; in ScIsEmpty() local 1813 short nRes = 0; in IsString() local 1866 return nRes; in IsString() 1887 short nRes = 0; in ScIsLogical() local 2225 short nRes = 0; in ScIsRef() local 2263 short nRes = 0; in ScIsValue() local 2327 short nRes = 0; in ScIsFormula() local 2383 short nRes = 0; in ScIsNV() local 2432 short nRes = 0; in ScIsErr() local 2610 if ( !nRes ) in IsEven() [all …]
|
/aoo41x/main/sot/source/sdstor/ |
H A D | stgavl.cxx | 50 if( !nRes ) in Find() 65 short nRes = 0; in Locate() local 83 if( nRes == 0 ) in Locate() 89 return( nRes ); in Locate() 104 short nRes = Compare( pNew ); in Adjust() local 105 if( nRes > 0 ) in Adjust() 119 if( nRes > 0 ) in Adjust() 230 if( !nRes ) in Rem() 267 if( nRes < 0 ) in Rem() 304 if( !nRes ) in Insert() [all …]
|
H A D | stgstrms.cxx | 861 short nRes; in Read() local 892 nDone += nRes; in Read() 893 nPos += nRes; in Read() 894 n -= nRes; in Read() 922 short nRes; in Write() local 956 nPos += nRes; in Write() 957 n -= nRes; in Write() 1024 nPos += nRes; in Read() 1025 n -= nRes; in Read() 1067 nPos += nRes; in Write() [all …]
|
/aoo41x/main/sw/source/core/unocore/ |
H A D | unostyle.cxx | 121 sal_uInt16 nRes = USHRT_MAX; in lcl_ConvertFNToRES() local 131 case FN_UNO_HEADER_BOX: nRes = RES_BOX; in lcl_ConvertFNToRES() 155 return nRes; in lcl_ConvertFNToRES() 3249 sal_uInt16 nRes = 0; in SetPropertyValues_Impl() local 3303 if(!pItem && nRes != rSetSet.GetPool()->GetSlotId(nRes)) in SetPropertyValues_Impl() 3328 else if(SID_ATTR_PAGE_ON == nRes ) in SetPropertyValues_Impl() 3336 nRes, nRes, in SetPropertyValues_Impl() 3477 sal_uInt16 nRes = 0; in GetPropertyValues_Impl() local 3570 if(!pItem && nRes != rTmpSet.GetPool()->GetSlotId(nRes)) in GetPropertyValues_Impl() 3586 nRes = RES_HEADER; goto MakeObject; in GetPropertyValues_Impl() [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() 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() 733 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 322 nRes = -1; in CompareCell() 324 nRes = 1; in CompareCell() 327 nRes = -nRes; in CompareCell() 330 nRes = -1; in CompareCell() 335 nRes = 1; in CompareCell() 339 return nRes; in CompareCell() 344 short nRes; in Compare() local 368 return nRes; in Compare() 470 short nRes; in Compare() local [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()
|