| /trunk/main/formula/source/core/api/ |
| H A D | FormulaCompiler.cxx | 328 OpCode eOp; in createSequenceOfAvailableMappings() member 366 aEntry.Token.OpCode = aMap[i].eOp; in createSequenceOfAvailableMappings() 487 void FormulaCompiler::OpCodeMap::putOpCode( const String & rStr, const OpCode eOp ) in putOpCode() argument 489 … DBG_ASSERT( 0 < eOp && sal_uInt16(eOp) < mnSymbols, "OpCodeMap::putOpCode: OpCode out of range"); in putOpCode() 490 if (0 < eOp && sal_uInt16(eOp) < mnSymbols) in putOpCode() 492 DBG_ASSERT( (mpTable[eOp].Len() == 0) || (mpTable[eOp] == rStr) || (eOp == ocCurrency), in putOpCode() 494 Append( ByteString::CreateFromInt32( sal_Int32( eOp))).Append( " ("). in putOpCode() 496 mpTable[eOp] = rStr; in putOpCode() 497 mpHashMap->insert( OpCodeHashMap::value_type( rStr, eOp)); in putOpCode() 591 OpCode eOp = OpCode(pArr2->Token.OpCode); in CreateOpCodeMap() local [all …]
|
| H A D | token.cxx | 69 inline sal_Bool lcl_IsReference( OpCode eOp, StackVar eType ) in IMPL_FIXEDMEMPOOL_NEWDEL_DLL() 72 (eOp == ocPush && (eType == svSingleRef || eType == svDoubleRef)) in IMPL_FIXEDMEMPOOL_NEWDEL_DLL() 73 || (eOp == ocColRowNameAuto && eType == svDoubleRef) in IMPL_FIXEDMEMPOOL_NEWDEL_DLL() 74 || (eOp == ocColRowName && eType == svSingleRef) in IMPL_FIXEDMEMPOOL_NEWDEL_DLL() 75 || (eOp == ocMatRef && eType == svSingleRef) in IMPL_FIXEDMEMPOOL_NEWDEL_DLL() 92 return (eOp != ocPush && eOp != ocBad && eOp != ocColRowName && in IsFunction() 93 eOp != ocColRowNameAuto && eOp != ocName && eOp != ocDBArea && in IsFunction() 95 || (SC_OPCODE_START_NO_PAR <= eOp && eOp < SC_OPCODE_STOP_NO_PAR) // no parameter in IsFunction() 96 || (ocIf == eOp || ocChose == eOp ) // @ jump commands in IsFunction() 97 || (SC_OPCODE_START_1_PAR <= eOp && eOp < SC_OPCODE_STOP_1_PAR) // one parameter in IsFunction() [all …]
|
| /trunk/main/sc/source/core/tool/ |
| H A D | parclass.cxx | 223 if ( pRaw->eOp > SC_OPCODE_LAST_OPCODE_ID ) in Init() 225 DBG_ASSERT( pRaw->eOp == ocNone, "RawData OpCode error"); in Init() 229 RunData* pRun = &pData[ pRaw->eOp ]; in Init() 233 DBG_ERROR1( "already assigned: %d", pRaw->eOp); in Init() 248 … DBG_ERROR2( "bad classification: eOp %d, repeated param %d negative offset", pRaw->eOp, j); in Init() 295 OpCode eOp = pToken->GetOpCode(); in GetParameterType() local 296 switch ( eOp ) in GetParameterType() 309 if ( 0 <= (short)eOp && eOp <= SC_OPCODE_LAST_OPCODE_ID ) in GetParameterType() 314 eType = pData[eOp].aData.nParam[nParameter]; in GetParameterType() 315 else if ( (nRepeat = pData[eOp].aData.nRepeatLast) > 0 ) in GetParameterType() [all …]
|
| H A D | token.cxx | 126 inline sal_Bool lcl_IsReference( OpCode eOp, StackVar eType ) in IMPL_FIXEDMEMPOOL_NEWDEL() 129 (eOp == ocPush && (eType == svSingleRef || eType == svDoubleRef)) in IMPL_FIXEDMEMPOOL_NEWDEL() 130 || (eOp == ocColRowNameAuto && eType == svDoubleRef) in IMPL_FIXEDMEMPOOL_NEWDEL() 131 || (eOp == ocColRowName && eType == svSingleRef) in IMPL_FIXEDMEMPOOL_NEWDEL() 132 || (eOp == ocMatRef && eType == svSingleRef) in IMPL_FIXEDMEMPOOL_NEWDEL() 152 eOp = e; in SetOpCode() 153 switch (eOp) in SetOpCode() 178 sbyte.bHasForceArray = ScParameterClassification::HasForceArray( eOp); in SetOpCode() 185 eOp = ocPush; in SetString() 202 eOp = ocPush; in SetSingleReference() [all …]
|
| H A D | queryparam.cxx | 111 rEntry.eOp = SC_NOT_EQUAL; in FillInExcelSyntax() 116 rEntry.eOp = SC_LESS_EQUAL; in FillInExcelSyntax() 121 rEntry.eOp = SC_LESS; in FillInExcelSyntax() 129 rEntry.eOp = SC_GREATER_EQUAL; in FillInExcelSyntax() 134 rEntry.eOp = SC_GREATER; in FillInExcelSyntax() 143 rEntry.eOp = SC_EQUAL; in FillInExcelSyntax()
|
| H A D | compiler.cxx | 301 OpCode eOp = ScCompiler::GetEnglishOpCode( aUpper ); in IsEnglishSymbol() local 302 if ( eOp != ocNone ) in IsEnglishSymbol() 2497 OpCode eOp = iLook->second; in IsOpCode() local 2501 eOp = ocArrayColSep; in IsOpCode() 2503 eOp = ocArrayRowSep; in IsOpCode() 2505 aToken.SetOpCode(eOp); in IsOpCode() 2518 OpCode eOp; in IsOpCode() member 2534 aToken.SetOpCode( aOdffAliases[i].eOp); in IsOpCode() 2588 OpCode eOp; in IsOpCode() local 2589 if (bFound && ((eOp = pRawToken->GetOpCode()) == ocSub || eOp == ocNegSub)) in IsOpCode() [all …]
|
| H A D | doubleref.cxx | 121 rEntry.eOp = SC_NOT_EQUAL; in lcl_createStarQuery() 123 rEntry.eOp = SC_LESS_EQUAL; in lcl_createStarQuery() 125 rEntry.eOp = SC_LESS; in lcl_createStarQuery() 130 rEntry.eOp = SC_GREATER_EQUAL; in lcl_createStarQuery() 132 rEntry.eOp = SC_GREATER; in lcl_createStarQuery() 135 rEntry.eOp = SC_EQUAL; in lcl_createStarQuery()
|
| /trunk/main/basic/source/comp/ |
| H A D | exprgen.cxx | 32 SbiOpcode eOp; // Opcode member 85 SbiOpcode eOp; in Gen() local 88 eOp = _PARAM; in Gen() 102 eOp = aVar.pDef->IsGlobal() ? _FIND_G : _FIND; in Gen() 108 eOp = _ELEM; // .-Ausdruck in WITH in Gen() 112 eOp = ( aVar.pDef->GetScope() == SbRTL ) ? _RTL : in Gen() 116 if( eOp == _FIND ) in Gen() 121 eOp = _FIND_CM; in Gen() 124 eOp = _FIND_STATIC; in Gen() 131 p->GenElement( eOp ); in Gen() [all …]
|
| H A D | codegen.cxx | 352 virtual void processOpCode0( SbiOpcode eOp ) = 0; 353 virtual void processOpCode1( SbiOpcode eOp, T nOp1 ) = 0; 354 virtual void processOpCode2( SbiOpcode eOp, T nOp1, T nOp2 ) = 0; 390 SbiOpcode eOp = (SbiOpcode)(*pCode++); in visitBuffer() local 392 if ( eOp <= SbOP0_END ) in visitBuffer() 393 visitor.processOpCode0( eOp ); in visitBuffer() 394 else if( eOp >= SbOP1_START && eOp <= SbOP1_END ) in visitBuffer() 400 visitor.processOpCode1( eOp, nOp1 ); in visitBuffer() 402 else if( eOp >= SbOP2_START && eOp <= SbOP2_END ) in visitBuffer() 411 visitor.processOpCode2( eOp, nOp1, nOp2 ); in visitBuffer() [all …]
|
| H A D | dim.cxx | 197 void SbiParser::DefVar( SbiOpcode eOp, sal_Bool bStatic ) in DefVar() argument 283 if( eOp == _REDIM ) in DefVar() 284 eOp = _REDIMP; in DefVar() 315 if( pOld && !(eOp == _REDIM || eOp == _REDIMP) ) in DefVar() 324 if( !bRtlSym && (eOp == _REDIM || eOp == _REDIMP) ) in DefVar() 350 if( !bDefined && !(eOp == _REDIM || eOp == _REDIMP) in DefVar() 408 if( eOp == _REDIMP ) in DefVar() 470 if( eOp == _REDIM ) in DefVar() 483 else if( eOp == _REDIMP ) in DefVar() 495 aGen.Gen( (eOp == _STATIC) ? _DIM : eOp ); in DefVar() [all …]
|
| /trunk/main/sc/source/core/data/ |
| H A D | table3.cxx | 1014 switch (rEntry.eOp) in ValidQuery() 1044 else if ( (rEntry.eOp == SC_EQUAL || rEntry.eOp == SC_NOT_EQUAL) || in ValidQuery() 1045 (rEntry.eOp == SC_CONTAINS || rEntry.eOp == SC_DOES_NOT_CONTAIN || in ValidQuery() 1046 rEntry.eOp == SC_BEGINS_WITH || rEntry.eOp == SC_ENDS_WITH || in ValidQuery() 1047 rEntry.eOp == SC_DOES_NOT_BEGIN_WITH || rEntry.eOp == SC_DOES_NOT_END_WITH) || in ValidQuery() 1054 if( rEntry.eOp == SC_CONTAINS || rEntry.eOp == SC_DOES_NOT_CONTAIN in ValidQuery() 1055 || rEntry.eOp == SC_BEGINS_WITH || rEntry.eOp == SC_ENDS_WITH in ValidQuery() 1056 || rEntry.eOp == SC_DOES_NOT_BEGIN_WITH || rEntry.eOp == SC_DOES_NOT_END_WITH ) in ValidQuery() 1069 sal_Bool bRealRegExp = (rParam.bRegExp && ((rEntry.eOp == SC_EQUAL) in ValidQuery() 1070 || (rEntry.eOp == SC_NOT_EQUAL) || (rEntry.eOp == SC_CONTAINS) in ValidQuery() [all …]
|
| H A D | conditio.cxx | 120 eOp(r.eOp), in ScConditionEntry() 154 eOp(r.eOp), in ScConditionEntry() 192 eOp(eOper), in ScConditionEntry() 220 eOp(eOper), in ScConditionEntry() 592 sal_Bool bEq = (eOp == r.eOp && nOptions == r.nOptions && in operator ==() 703 return ( eOp == SC_COND_NOTEQUAL ); in IsValid() 706 if ( eOp == SC_COND_BETWEEN || eOp == SC_COND_NOTBETWEEN ) in IsValid() 713 if ( eOp == SC_COND_BETWEEN || eOp == SC_COND_NOTBETWEEN ) in IsValid() 723 switch (eOp) in IsValid() 767 if ( eOp == SC_COND_DIRECT ) // Formel ist unabhaengig vom Inhalt in IsValidStr() [all …]
|
| H A D | global2.cxx | 144 eOp(SC_EQUAL), in ScQueryEntry() 158 eOp(r.eOp), in ScQueryEntry() 182 eOp = r.eOp; in operator =() 203 eOp = SC_EQUAL; in Clear() 222 && eOp == r.eOp in operator ==()
|
| H A D | dptablecache.cxx | 684 switch (rEntry.eOp) in ValidQuery() 709 else if ( (rEntry.eOp == SC_EQUAL || rEntry.eOp == SC_NOT_EQUAL) in ValidQuery() 716 sal_Bool bRealRegExp = (rParam.bRegExp && ((rEntry.eOp == SC_EQUAL) in ValidQuery() 717 || (rEntry.eOp == SC_NOT_EQUAL))); in ValidQuery() 730 bOk = ((rEntry.eOp == SC_NOT_EQUAL) ? !bMatch : bMatch); in ValidQuery() 736 if ( rEntry.eOp == SC_EQUAL || rEntry.eOp == SC_NOT_EQUAL ) in ValidQuery() 777 if ( rEntry.eOp == SC_NOT_EQUAL ) in ValidQuery() 784 switch (rEntry.eOp) in ValidQuery()
|
| /trunk/main/sc/source/core/inc/ |
| H A D | parclass.hxx | 91 static inline bool HasForceArray( OpCode eOp) in HasForceArray() argument 93 return 0 <= (short)eOp && in HasForceArray() 94 eOp <= SC_OPCODE_LAST_OPCODE_ID && in HasForceArray() 95 pData[eOp].bHasForceArray; in HasForceArray() 114 OpCode eOp; member 157 static inline sal_uInt8 GetMinimumParameters( OpCode eOp) in GetMinimumParameters() argument 159 if ( eOp <= SC_OPCODE_LAST_OPCODE_ID ) in GetMinimumParameters() 160 return pData[eOp].aData.nParam[0] in GetMinimumParameters() 162 pData[eOp].nMinParams; in GetMinimumParameters() 167 static inline bool HasRepeatParameters( OpCode eOp) in HasRepeatParameters() argument [all …]
|
| /trunk/main/basic/source/sbx/ |
| H A D | sbxvalue.cxx | 1130 sal_Bool SbxValue::Compute( SbxOperator eOp, const SbxValue& rOp ) in Compute() argument 1158 ( eOp == SbxMUL || eOp == SbxDIV || eOp == SbxPLUS || eOp == SbxMINUS ) ) in Compute() 1162 …else if( eThisType == SbxSTRING || eOp == SbxCAT || ( bVBAInterop && ( eOpType == SbxSTRING ) && (… in Compute() 1164 if( eOp == SbxCAT || eOp == SbxPLUS ) in Compute() 1193 else if( ( eOp >= SbxIDIV && eOp <= SbxNOT ) || eOp == SbxMOD ) in Compute() 1221 if ( !bVBAInterop || ( bVBAInterop && ( eOp != SbxNOT ) ) ) in Compute() 1224 if( Get( aL ) ) switch( eOp ) in Compute() 1299 … ( eOp == SbxMUL || eOp == SbxDIV || eOp == SbxPLUS || eOp == SbxMINUS || eOp == SbxNEG ) ) in Compute() 1315 switch( eOp ) in Compute() 1360 if( Get( aL ) ) switch( eOp ) in Compute() [all …]
|
| /trunk/main/sc/source/filter/excel/ |
| H A D | excimp8.cxx | 442 if( ( rEntry.eOp != SC_EQUAL && rEntry.eOp != SC_NOT_EQUAL ) || rEntry.pStr == NULL ) in ExcelQueryToOooQuery() 453 rEntry.eOp = ( rEntry.eOp == SC_EQUAL ) ? SC_CONTAINS : SC_DOES_NOT_CONTAIN; in ExcelQueryToOooQuery() 458 rEntry.eOp = ( rEntry.eOp == SC_EQUAL ) ? SC_ENDS_WITH : SC_DOES_NOT_END_WITH; in ExcelQueryToOooQuery() 463 rEntry.eOp = ( rEntry.eOp == SC_EQUAL ) ? SC_BEGINS_WITH : SC_DOES_NOT_BEGIN_WITH; in ExcelQueryToOooQuery() 492 aEntry.eOp = bTopOfTop10 ? in ReadAutoFilter() 523 aEntry.eOp = SC_LESS; in ReadAutoFilter() 526 aEntry.eOp = SC_EQUAL; in ReadAutoFilter() 529 aEntry.eOp = SC_LESS_EQUAL; in ReadAutoFilter() 532 aEntry.eOp = SC_GREATER; in ReadAutoFilter() 535 aEntry.eOp = SC_NOT_EQUAL; in ReadAutoFilter() [all …]
|
| /trunk/main/basegfx/source/tools/ |
| H A D | b2dclipstate.cxx | 120 void addRange(const B2DRange& rRange, Operation eOp) in addRange() 126 if( mePendingOps != eOp ) in addRange() 129 mePendingOps = eOp; in addRange() 135 void addPolygon(B2DPolygon aPoly, Operation eOp) in addPolygon() 138 if( mePendingOps != eOp ) in addPolygon() 141 mePendingOps = eOp; in addPolygon() 145 void addPolyPolygon(B2DPolyPolygon aPoly, Operation eOp) in addPolyPolygon() 148 if( mePendingOps != eOp ) in addPolyPolygon() 151 mePendingOps = eOp; in addPolyPolygon() 155 void addClipState(const ImplB2DClipState& rOther, Operation eOp) in addClipState() [all …]
|
| /trunk/main/basic/source/classes/ |
| H A D | disas.cxx | 253 eOp = _NOP; in SbiDisas() 258 switch( eOp ) in SbiDisas() 295 eOp = (SbiOpcode) ( *p++ & 0xFF ); in Fetch() 296 if( eOp <= SbOP0_END ) in Fetch() 303 else if( eOp <= SbOP1_END ) in Fetch() 312 else if( eOp <= SbOP2_END ) in Fetch() 367 if( eOp == _STMNT && nOp1 != nLine ) in DisasLine() 441 snprintf( cBuf, sizeof(cBuf), pMask[ nParts ], nPC, (sal_uInt16) eOp, nOp1, nOp2 ); in DisasLine() 445 int n = eOp; in DisasLine() 446 if( eOp >= SbOP2_START ) in DisasLine() [all …]
|
| /trunk/main/sc/source/ui/unoobj/ |
| H A D | datauno.cxx | 1137 switch (rEntry.eOp) // ScQueryOp in getFilterFields() 1205 switch (rEntry.eOp) // ScQueryOp in getFilterFields2() 1284 case sheet::FilterOperator_EQUAL: rEntry.eOp = SC_EQUAL; break; in setFilterFields() 1285 case sheet::FilterOperator_LESS: rEntry.eOp = SC_LESS; break; in setFilterFields() 1286 case sheet::FilterOperator_GREATER: rEntry.eOp = SC_GREATER; break; in setFilterFields() 1287 case sheet::FilterOperator_LESS_EQUAL: rEntry.eOp = SC_LESS_EQUAL; break; in setFilterFields() 1288 case sheet::FilterOperator_GREATER_EQUAL: rEntry.eOp = SC_GREATER_EQUAL; break; in setFilterFields() 1289 case sheet::FilterOperator_NOT_EQUAL: rEntry.eOp = SC_NOT_EQUAL; break; in setFilterFields() 1290 case sheet::FilterOperator_TOP_VALUES: rEntry.eOp = SC_TOPVAL; break; in setFilterFields() 1291 case sheet::FilterOperator_BOTTOM_VALUES: rEntry.eOp = SC_BOTVAL; break; in setFilterFields() [all …]
|
| /trunk/main/framework/source/services/ |
| H A D | pathsettings.cxx | 187 PathSettings::EChangeOp eOp = impl_updatePath(sPath, sal_True); in changesOccurred() local 189 (eOp == PathSettings::E_ADDED ) || in changesOccurred() 190 (eOp == PathSettings::E_REMOVED) in changesOccurred() 397 PathSettings::EChangeOp eOp = PathSettings::E_UNDEFINED; in impl_updatePath() local 413 { eOp = PathSettings::E_REMOVED; } in impl_updatePath() 441 if (eOp == PathSettings::E_UNDEFINED) in impl_updatePath() 444 eOp = PathSettings::E_CHANGED; in impl_updatePath() 446 eOp = PathSettings::E_ADDED; in impl_updatePath() 449 switch(eOp) in impl_updatePath() 457 impl_notifyPropListener(eOp, sPath, pPathOld, pPathNew); in impl_updatePath() [all …]
|
| /trunk/main/sccomp/source/solver/ |
| H A D | solver.cxx | 426 sheet::SolverConstraintOperator eOp = maConstraints[nConstrPos].Operator; in solve() local 427 if ( eOp == sheet::SolverConstraintOperator_LESS_EQUAL || in solve() 428 eOp == sheet::SolverConstraintOperator_GREATER_EQUAL || in solve() 429 eOp == sheet::SolverConstraintOperator_EQUAL ) in solve() 462 switch ( eOp ) in solve() 521 sheet::SolverConstraintOperator eOp = maConstraints[nConstrPos].Operator; in solve() local 522 if ( eOp == sheet::SolverConstraintOperator_INTEGER || in solve() 523 eOp == sheet::SolverConstraintOperator_BINARY ) in solve() 530 if ( eOp == sheet::SolverConstraintOperator_INTEGER ) in solve()
|
| /trunk/main/formula/inc/formula/ |
| H A D | FormulaCompiler.hxx | 132 inline const String& getSymbol( const OpCode eOp ) const in getSymbol() 134 DBG_ASSERT( sal_uInt16(eOp) < mnSymbols, "OpCodeMap::getSymbol: OpCode out of range"); in getSymbol() 135 if (sal_uInt16(eOp) < mnSymbols) in getSymbol() 136 return mpTable[ eOp ]; in getSymbol() 164 void putOpCode( const String & rStr, const OpCode eOp ); 220 static const String& GetNativeSymbol( OpCode eOp );
|
| H A D | token.hxx | 93 OpCode eOp; member in formula::FormulaToken 104 eOp(e), eType( eTypeP ), nRefCnt(0) {} in FormulaToken() 106 eOp(r.eOp), eType( r.eType ), nRefCnt(0) {} in FormulaToken() 122 inline OpCode GetOpCode() const { return eOp; } in GetOpCode() 172 inline void NewOpCode( OpCode e, const PrivateAccess& ) { eOp = e; } in NewOpCode()
|
| /trunk/main/basic/source/runtime/ |
| H A D | runtime.cxx | 732 SbiOpcode eOp = (SbiOpcode ) ( *pCode++ ); in Step() local 734 if (eOp < SbOP0_END) in Step() 736 (this->*( aStep0[ eOp ] ) )(); in Step() 738 else if (eOp >= SbOP1_START && eOp < SbOP1_END) in Step() 742 (this->*( aStep1[ eOp - SbOP1_START ] ) )( nOp1 ); in Step() 744 else if (eOp >= SbOP2_START && eOp < SbOP2_END) in Step() 748 (this->*( aStep2[ eOp - SbOP2_START ] ) )( nOp1, nOp2 ); in Step()
|