Lines Matching refs:bOk
827 bool bOk = maOperandSizeStack.size() >= 1; in pushUnaryPreOperatorToken() local
828 if( bOk ) in pushUnaryPreOperatorToken()
835 return bOk; in pushUnaryPreOperatorToken()
840 bool bOk = maOperandSizeStack.size() >= 1; in pushUnaryPostOperatorToken() local
841 if( bOk ) in pushUnaryPostOperatorToken()
848 return bOk; in pushUnaryPostOperatorToken()
853 bool bOk = maOperandSizeStack.size() >= 2; in pushBinaryOperatorToken() local
854 if( bOk ) in pushBinaryOperatorToken()
862 return bOk; in pushBinaryOperatorToken()
867 bool bOk = maOperandSizeStack.size() >= 1; in pushParenthesesOperatorToken() local
868 if( bOk ) in pushParenthesesOperatorToken()
877 return bOk; in pushParenthesesOperatorToken()
887 bool bOk = true; in pushFunctionOperatorToken() local
888 for( size_t nParam = 1; bOk && (nParam < nParamCount); ++nParam ) in pushFunctionOperatorToken()
889 bOk = pushBinaryOperatorToken( OPCODE_SEP ); in pushFunctionOperatorToken()
892 return bOk && in pushFunctionOperatorToken()
899 …bool bOk = pushFunctionOperatorToken( rFuncInfo.mnApiOpCode, nParamCount, pLeadingSpaces, pClosing… in pushFunctionOperatorToken() local
900 if( bOk ) in pushFunctionOperatorToken()
909 return bOk; in pushFunctionOperatorToken()
1355 bool bOk = (nFmlaSize >= 0) && (nAddDataSize >= 0); in importBiff12Formula() local
1358 while( bOk && !rStrm.isEof() && (rStrm.tell() < nFmlaEndPos) ) in importBiff12Formula()
1370 …case BIFF_TOKID_EXP: bOk = importExpToken( rStrm ); br… in importBiff12Formula()
1371 …case BIFF_TOKID_ADD: bOk = pushBinaryOperator( OPCODE_ADD ); br… in importBiff12Formula()
1372 …case BIFF_TOKID_SUB: bOk = pushBinaryOperator( OPCODE_SUB ); br… in importBiff12Formula()
1373 …case BIFF_TOKID_MUL: bOk = pushBinaryOperator( OPCODE_MULT ); br… in importBiff12Formula()
1374 …case BIFF_TOKID_DIV: bOk = pushBinaryOperator( OPCODE_DIV ); br… in importBiff12Formula()
1375 …case BIFF_TOKID_POWER: bOk = pushBinaryOperator( OPCODE_POWER ); br… in importBiff12Formula()
1376 …case BIFF_TOKID_CONCAT: bOk = pushBinaryOperator( OPCODE_CONCAT ); br… in importBiff12Formula()
1377 …case BIFF_TOKID_LT: bOk = pushBinaryOperator( OPCODE_LESS ); br… in importBiff12Formula()
1378 …case BIFF_TOKID_LE: bOk = pushBinaryOperator( OPCODE_LESS_EQUAL ); br… in importBiff12Formula()
1379 …case BIFF_TOKID_EQ: bOk = pushBinaryOperator( OPCODE_EQUAL ); br… in importBiff12Formula()
1380 …case BIFF_TOKID_GE: bOk = pushBinaryOperator( OPCODE_GREATER_EQUAL ); br… in importBiff12Formula()
1381 …case BIFF_TOKID_GT: bOk = pushBinaryOperator( OPCODE_GREATER ); br… in importBiff12Formula()
1382 …case BIFF_TOKID_NE: bOk = pushBinaryOperator( OPCODE_NOT_EQUAL ); br… in importBiff12Formula()
1383 …case BIFF_TOKID_ISECT: bOk = pushBinaryOperator( OPCODE_INTERSECT ); br… in importBiff12Formula()
1384 …case BIFF_TOKID_LIST: bOk = pushBinaryOperator( OPCODE_LIST ); br… in importBiff12Formula()
1385 …case BIFF_TOKID_RANGE: bOk = pushBinaryOperator( OPCODE_RANGE ); br… in importBiff12Formula()
1386 …case BIFF_TOKID_UPLUS: bOk = pushUnaryPreOperator( OPCODE_PLUS_SIGN ); br… in importBiff12Formula()
1387 …case BIFF_TOKID_UMINUS: bOk = pushUnaryPreOperator( OPCODE_MINUS_SIGN ); br… in importBiff12Formula()
1388 …case BIFF_TOKID_PERCENT: bOk = pushUnaryPostOperator( OPCODE_PERCENT ); br… in importBiff12Formula()
1389 …case BIFF_TOKID_PAREN: bOk = pushParenthesesOperator(); br… in importBiff12Formula()
1390 …case BIFF_TOKID_MISSARG: bOk = pushOperand( OPCODE_MISSING ); br… in importBiff12Formula()
1391 …case BIFF_TOKID_STR: bOk = pushValueOperand( BiffHelper::readString( rStrm, false ) ); br… in importBiff12Formula()
1392 …case BIFF_TOKID_NLR: bOk = importTableToken( rStrm ); br… in importBiff12Formula()
1393 …case BIFF_TOKID_ATTR: bOk = importAttrToken( rStrm ); br… in importBiff12Formula()
1394 …case BIFF_TOKID_ERR: bOk = pushBiffErrorOperand( rStrm.readuInt8() ); br… in importBiff12Formula()
1395 …case BIFF_TOKID_BOOL: bOk = pushBiffBoolOperand( rStrm.readuInt8() ); br… in importBiff12Formula()
1396 …case BIFF_TOKID_INT: bOk = pushValueOperand< double >( rStrm.readuInt16() ); br… in importBiff12Formula()
1397 …case BIFF_TOKID_NUM: bOk = pushValueOperand( rStrm.readDouble() ); br… in importBiff12Formula()
1398 default: bOk = false; in importBiff12Formula()
1406 … case BIFF_TOKID_ARRAY: bOk = importArrayToken( rStrm ); break; in importBiff12Formula()
1407 … case BIFF_TOKID_FUNC: bOk = importFuncToken( rStrm ); break; in importBiff12Formula()
1408 … case BIFF_TOKID_FUNCVAR: bOk = importFuncVarToken( rStrm ); break; in importBiff12Formula()
1409 … case BIFF_TOKID_NAME: bOk = importNameToken( rStrm ); break; in importBiff12Formula()
1410 … case BIFF_TOKID_REF: bOk = importRefToken( rStrm, false, false ); break; in importBiff12Formula()
1411 … case BIFF_TOKID_AREA: bOk = importAreaToken( rStrm, false, false ); break; in importBiff12Formula()
1412 … case BIFF_TOKID_MEMAREA: bOk = importMemAreaToken( rStrm, true ); break; in importBiff12Formula()
1413 … case BIFF_TOKID_MEMERR: bOk = importMemAreaToken( rStrm, false ); break; in importBiff12Formula()
1414 … case BIFF_TOKID_MEMNOMEM: bOk = importMemAreaToken( rStrm, false ); break; in importBiff12Formula()
1415 … case BIFF_TOKID_MEMFUNC: bOk = importMemFuncToken( rStrm ); break; in importBiff12Formula()
1416 … case BIFF_TOKID_REFERR: bOk = importRefToken( rStrm, true, false ); break; in importBiff12Formula()
1417 … case BIFF_TOKID_AREAERR: bOk = importAreaToken( rStrm, true, false ); break; in importBiff12Formula()
1418 … case BIFF_TOKID_REFN: bOk = importRefToken( rStrm, false, true ); break; in importBiff12Formula()
1419 … case BIFF_TOKID_AREAN: bOk = importAreaToken( rStrm, false, true ); break; in importBiff12Formula()
1420 … case BIFF_TOKID_MEMAREAN: bOk = importMemFuncToken( rStrm ); break; in importBiff12Formula()
1421 … case BIFF_TOKID_MEMNOMEMN: bOk = importMemFuncToken( rStrm ); break; in importBiff12Formula()
1422 … case BIFF_TOKID_NAMEX: bOk = importNameXToken( rStrm ); break; in importBiff12Formula()
1423 … case BIFF_TOKID_REF3D: bOk = importRef3dToken( rStrm, false, bRelativeAsOffset ); break; in importBiff12Formula()
1424 … case BIFF_TOKID_AREA3D: bOk = importArea3dToken( rStrm, false, bRelativeAsOffset ); break; in importBiff12Formula()
1425 … case BIFF_TOKID_REFERR3D: bOk = importRef3dToken( rStrm, true, bRelativeAsOffset ); break; in importBiff12Formula()
1426 … case BIFF_TOKID_AREAERR3D: bOk = importArea3dToken( rStrm, true, bRelativeAsOffset ); break; in importBiff12Formula()
1427 default: bOk = false; in importBiff12Formula()
1434 if( bOk && (rStrm.tell() == nFmlaEndPos) && (mnAddDataPos == nAddDataEndPos) ) in importBiff12Formula()
1449 bool bOk = true; in importAttrToken() local
1468 bOk = pushBiff12Function( BIFF_FUNC_SUM, 1 ); in importAttrToken()
1472 bOk = importSpaceToken( rStrm ); in importAttrToken()
1475 bOk = false; in importAttrToken()
1477 return bOk; in importAttrToken()
2105 bool bOk = true; in importBiffFormula() local
2106 while( bOk && !rStrm.isEof() && (rStrm.tell() < nEndPos) ) in importBiffFormula()
2113 bOk = !getFlag( nTokenId, BIFF_TOKFLAG_INVALID ); in importBiffFormula()
2114 if( bOk ) in importBiffFormula()
2121 … case BIFF_TOKID_EXP: bOk = importExpToken( rStrm ); break; in importBiffFormula()
2122 … case BIFF_TOKID_TBL: bOk = importTblToken( rStrm ); break; in importBiffFormula()
2123 … case BIFF_TOKID_ADD: bOk = pushBinaryOperator( OPCODE_ADD ); break; in importBiffFormula()
2124 … case BIFF_TOKID_SUB: bOk = pushBinaryOperator( OPCODE_SUB ); break; in importBiffFormula()
2125 … case BIFF_TOKID_MUL: bOk = pushBinaryOperator( OPCODE_MULT ); break; in importBiffFormula()
2126 … case BIFF_TOKID_DIV: bOk = pushBinaryOperator( OPCODE_DIV ); break; in importBiffFormula()
2127 … case BIFF_TOKID_POWER: bOk = pushBinaryOperator( OPCODE_POWER ); break; in importBiffFormula()
2128 … case BIFF_TOKID_CONCAT: bOk = pushBinaryOperator( OPCODE_CONCAT ); break; in importBiffFormula()
2129 … case BIFF_TOKID_LT: bOk = pushBinaryOperator( OPCODE_LESS ); break; in importBiffFormula()
2130 … case BIFF_TOKID_LE: bOk = pushBinaryOperator( OPCODE_LESS_EQUAL ); break; in importBiffFormula()
2131 … case BIFF_TOKID_EQ: bOk = pushBinaryOperator( OPCODE_EQUAL ); break; in importBiffFormula()
2132 … case BIFF_TOKID_GE: bOk = pushBinaryOperator( OPCODE_GREATER_EQUAL ); break; in importBiffFormula()
2133 … case BIFF_TOKID_GT: bOk = pushBinaryOperator( OPCODE_GREATER ); break; in importBiffFormula()
2134 … case BIFF_TOKID_NE: bOk = pushBinaryOperator( OPCODE_NOT_EQUAL ); break; in importBiffFormula()
2135 … case BIFF_TOKID_ISECT: bOk = pushBinaryOperator( OPCODE_INTERSECT ); break; in importBiffFormula()
2136 … case BIFF_TOKID_LIST: bOk = pushBinaryOperator( OPCODE_LIST ); break; in importBiffFormula()
2137 … case BIFF_TOKID_RANGE: bOk = pushBinaryOperator( OPCODE_RANGE ); break; in importBiffFormula()
2138 … case BIFF_TOKID_UPLUS: bOk = pushUnaryPreOperator( OPCODE_PLUS_SIGN ); break; in importBiffFormula()
2139 … case BIFF_TOKID_UMINUS: bOk = pushUnaryPreOperator( OPCODE_MINUS_SIGN ); break; in importBiffFormula()
2140 … case BIFF_TOKID_PERCENT: bOk = pushUnaryPostOperator( OPCODE_PERCENT ); break; in importBiffFormula()
2141 … case BIFF_TOKID_PAREN: bOk = pushParenthesesOperator(); break; in importBiffFormula()
2142 … case BIFF_TOKID_MISSARG: bOk = pushOperand( OPCODE_MISSING ); break; in importBiffFormula()
2143 … case BIFF_TOKID_STR: bOk = (this->*mpImportStrToken)( rStrm ); break; in importBiffFormula()
2144 … case BIFF_TOKID_NLR: bOk = (this->*mpImportNlrToken)( rStrm ); break; in importBiffFormula()
2145 … case BIFF_TOKID_ATTR: bOk = importAttrToken( rStrm ); break; in importBiffFormula()
2146 … case BIFF_TOKID_SHEET: bOk = (this->*mpImportSheetToken)( rStrm ); break; in importBiffFormula()
2147 … case BIFF_TOKID_ENDSHEET: bOk = (this->*mpImportEndSheetToken)( rStrm ); break; in importBiffFormula()
2148 … case BIFF_TOKID_ERR: bOk = pushBiffErrorOperand( rStrm.readuInt8() ); break; in importBiffFormula()
2149 … case BIFF_TOKID_BOOL: bOk = pushBiffBoolOperand( rStrm.readuInt8() ); break; in importBiffFormula()
2150 … case BIFF_TOKID_INT: bOk = pushValueOperand< double >( rStrm.readuInt16() ); break; in importBiffFormula()
2151 … case BIFF_TOKID_NUM: bOk = pushValueOperand( rStrm.readDouble() ); break; in importBiffFormula()
2152 default: bOk = false; in importBiffFormula()
2160 …case BIFF_TOKID_ARRAY: bOk = importArrayToken( rStrm ); … in importBiffFormula()
2161 …case BIFF_TOKID_FUNC: bOk = (this->*mpImportFuncToken)( rStrm ); … in importBiffFormula()
2162 …case BIFF_TOKID_FUNCVAR: bOk = (this->*mpImportFuncVarToken)( rStrm ); … in importBiffFormula()
2163 …case BIFF_TOKID_NAME: bOk = importNameToken( rStrm ); … in importBiffFormula()
2164 …case BIFF_TOKID_REF: bOk = (this->*mpImportRefToken)( rStrm, false, false ); … in importBiffFormula()
2165 …case BIFF_TOKID_AREA: bOk = (this->*mpImportAreaToken)( rStrm, false, false ); … in importBiffFormula()
2166 …case BIFF_TOKID_MEMAREA: bOk = importMemAreaToken( rStrm, true ); … in importBiffFormula()
2167 …case BIFF_TOKID_MEMERR: bOk = importMemAreaToken( rStrm, false ); … in importBiffFormula()
2168 …case BIFF_TOKID_MEMNOMEM: bOk = importMemAreaToken( rStrm, false ); … in importBiffFormula()
2169 …case BIFF_TOKID_MEMFUNC: bOk = importMemFuncToken( rStrm ); … in importBiffFormula()
2170 …case BIFF_TOKID_REFERR: bOk = (this->*mpImportRefToken)( rStrm, true, false ); … in importBiffFormula()
2171 …case BIFF_TOKID_AREAERR: bOk = (this->*mpImportAreaToken)( rStrm, true, false ); … in importBiffFormula()
2172 …case BIFF_TOKID_REFN: bOk = (this->*mpImportRefToken)( rStrm, false, true ); … in importBiffFormula()
2173 …case BIFF_TOKID_AREAN: bOk = (this->*mpImportAreaToken)( rStrm, false, true ); … in importBiffFormula()
2174 …case BIFF_TOKID_MEMAREAN: bOk = importMemFuncToken( rStrm ); … in importBiffFormula()
2175 …case BIFF_TOKID_MEMNOMEMN: bOk = importMemFuncToken( rStrm ); … in importBiffFormula()
2176 …case BIFF_TOKID_FUNCCE: bOk = (this->*mpImportFuncCEToken)( rStrm ); … in importBiffFormula()
2177 …case BIFF_TOKID_NAMEX: bOk = (this->*mpImportNameXToken)( rStrm ); … in importBiffFormula()
2178 …case BIFF_TOKID_REF3D: bOk = (this->*mpImportRef3dToken)( rStrm, false, mbRelativeAsOffset );… in importBiffFormula()
2179 …case BIFF_TOKID_AREA3D: bOk = (this->*mpImportArea3dToken)( rStrm, false, mbRelativeAsOffset )… in importBiffFormula()
2180 …case BIFF_TOKID_REFERR3D: bOk = (this->*mpImportRef3dToken)( rStrm, true, mbRelativeAsOffset ); … in importBiffFormula()
2181 …case BIFF_TOKID_AREAERR3D: bOk = (this->*mpImportArea3dToken)( rStrm, true, mbRelativeAsOffset );… in importBiffFormula()
2182 default: bOk = false; in importBiffFormula()
2190 if( bOk && (rStrm.tell() == nEndPos) ) in importBiffFormula()
2227 bool bOk = true; in importAttrToken() local
2244 bOk = pushBiffFunction( BIFF_FUNC_SUM, 1 ); in importAttrToken()
2248 bOk = (this->*mpImportSpaceToken)( rStrm ); in importAttrToken()
2251 bOk = false; in importAttrToken()
2253 return bOk; in importAttrToken()
2320 bool bOk = true; in importNlrToken() local
2325 case BIFF_TOK_NLR_ERR: bOk = importNlrErrToken( rStrm, 4 ); break; in importNlrToken()
2326 case BIFF_TOK_NLR_ROWR: bOk = importNlrAddrToken( rStrm, true ); break; in importNlrToken()
2327 case BIFF_TOK_NLR_COLR: bOk = importNlrAddrToken( rStrm, false ); break; in importNlrToken()
2328 case BIFF_TOK_NLR_ROWV: bOk = importNlrAddrToken( rStrm, true ); break; in importNlrToken()
2329 case BIFF_TOK_NLR_COLV: bOk = importNlrAddrToken( rStrm, false ); break; in importNlrToken()
2330 case BIFF_TOK_NLR_RANGE: bOk = importNlrRangeToken( rStrm ); break; in importNlrToken()
2331 case BIFF_TOK_NLR_SRANGE: bOk = importNlrSRangeToken( rStrm ); break; in importNlrToken()
2332 case BIFF_TOK_NLR_SROWR: bOk = importNlrSAddrToken( rStrm, true ); break; in importNlrToken()
2333 case BIFF_TOK_NLR_SCOLR: bOk = importNlrSAddrToken( rStrm, false ); break; in importNlrToken()
2334 case BIFF_TOK_NLR_SROWV: bOk = importNlrSAddrToken( rStrm, true ); break; in importNlrToken()
2335 case BIFF_TOK_NLR_SCOLV: bOk = importNlrSAddrToken( rStrm, false ); break; in importNlrToken()
2336 case BIFF_TOK_NLR_RANGEERR: bOk = importNlrErrToken( rStrm, 13 ); break; in importNlrToken()
2337 case BIFF_TOK_NLR_SXNAME: bOk = importNlrErrToken( rStrm, 4 ); break; in importNlrToken()
2338 default: bOk = false; in importNlrToken()
2340 return bOk; in importNlrToken()