Home
last modified time | relevance | path

Searched refs:pToken (Results 1 – 25 of 60) sorted by relevance

123

/aoo4110/main/formula/source/core/api/
H A DFormulaCompiler.cxx806 pToken = pArr->Next(); in GetToken()
807 while( pToken && pToken->GetOpCode() == ocSpaces ) in GetToken()
817 if( !pToken ) in GetToken()
887 PutCode( pToken ); in Factor()
1121 PutCode( pToken ); in Factor()
1139 PutCode(pToken); in Factor()
1230 PutCode( pToken ); in PostOpLine()
1254 while (pToken->GetOpCode() == ocMul || pToken->GetOpCode() == ocDiv) in MulDivLine()
1268 while (pToken->GetOpCode() == ocAdd || pToken->GetOpCode() == ocSub) in AddSubLine()
1296 while (pToken->GetOpCode() >= ocEqual && pToken->GetOpCode() <= ocGreaterEqual) in CompareLine()
[all …]
/aoo4110/main/sc/source/core/tool/
H A Dreftokenhelper.cxx138 StackVar eType = pToken->GetType(); in getRangeFromToken()
139 switch (pToken->GetType()) in getRangeFromToken()
237 ScSharedTokenRef pToken; in getTokensFromRangeList() local
239 aTokens.push_back(pToken); in getTokensFromRangeList()
246 switch (pToken->GetType()) in isRef()
261 switch (pToken->GetType()) in isExternalRef()
274 if (!isRef(pToken)) in intersects()
320 join(rTokens, pToken); in operator ()()
452 rTokens.push_back(pToken); in join()
461 join(rTokens, pToken); in join()
[all …]
H A Dchartlis.cxx289 ScSharedTokenRef pToken; in SetRangeList() local
290 ScRefTokenHelper::getTokenFromRange(pToken, rRange); in SetRangeList()
291 mpTokens->push_back(pToken); in SetRangeList()
302 void operator() (const ScSharedTokenRef& pToken) in operator ()() argument
304 if (!ScRefTokenHelper::isRef(pToken)) in operator ()()
307 bool bExternal = ScRefTokenHelper::isExternalRef(pToken); in operator ()()
310 sal_uInt16 nFileId = pToken->GetIndex(); in operator ()()
327 ScRefTokenHelper::getRangeFromToken(aRange, pToken, bExternal); in operator ()()
402 ScSharedTokenRef pToken; in UpdateChartIntersecting() local
403 ScRefTokenHelper::getTokenFromRange(pToken, rRange); in UpdateChartIntersecting()
[all …]
H A Dparclass.cxx293 const formula::FormulaToken* pToken, sal_uInt16 nParameter) in GetParameterType() argument
295 OpCode eOp = pToken->GetOpCode(); in GetParameterType()
299 return GetExternalParameterType( pToken, nParameter); in GetParameterType()
334 ScParameterClassification::GetExternalParameterType( const formula::FormulaToken* pToken, in GetExternalParameterType() argument
341 String aFuncName( ScGlobal::pCharClass->upper( pToken->GetExternal())); in GetExternalParameterType()
/aoo4110/main/oox/source/xls/
H A Dformulaparser.cxx78 processTokens( pToken, pToken + rTokens.getLength() ); in finalizeTokenArray()
308 while( (pToken < pTokenEnd) && (pToken->OpCode == OPCODE_SPACES) ) ++pToken; in isEmptyParameter()
309 if( (pToken < pTokenEnd) && (pToken->OpCode == OPCODE_MISSING) ) ++pToken; in isEmptyParameter()
310 while( (pToken < pTokenEnd) && (pToken->OpCode == OPCODE_SPACES) ) ++pToken; in isEmptyParameter()
318 while( (pToken < pTokenEnd) && (pToken->OpCode == OPCODE_SPACES) ) ++pToken; in getSingleToken()
320 if( pToken < pTokenEnd ) pSingleToken = pToken++; in getSingleToken()
322 while( (pToken < pTokenEnd) && (pToken->OpCode == OPCODE_SPACES) ) ++pToken; in getSingleToken()
331 ++pToken; in skipParentheses()
335 pToken = skipParentheses( pToken, pTokenEnd ); in skipParentheses()
341 return (pToken < pTokenEnd) ? (pToken + 1) : pTokenEnd; in skipParentheses()
[all …]
/aoo4110/main/idl/source/cmptools/
H A Dlex.cxx208 SvToken * pToken = new SvToken(); in FillTokenList() local
209 aTokList.Insert( pToken, LIST_APPEND ); in FillTokenList()
212 if( !MakeToken( *pToken ) ) in FillTokenList()
215 *pToken = SvToken(); in FillTokenList()
218 pToken->SetLine( p->GetLine() ); in FillTokenList()
219 pToken->SetColumn( p->GetColumn() ); in FillTokenList()
223 else if( pToken->IsComment() ) in FillTokenList()
224 *pToken = SvToken(); in FillTokenList()
225 else if( pToken->IsEof() ) in FillTokenList()
229 pToken = new SvToken(); in FillTokenList()
[all …]
/aoo4110/main/sc/source/ui/unoobj/
H A Dchart2uno.cxx185 void push_back( FormulaToken* pToken ) in push_back()
187 maTokens.push_back( pToken ); in push_back()
1116 ScSharedTokenRef pToken = *itr; in lcl_addUpperLeftCornerIfMissing() local
1117 switch (pToken->GetType()) in lcl_addUpperLeftCornerIfMissing()
1174 pToken = *itr; in lcl_addUpperLeftCornerIfMissing()
1175 switch (pToken->GetType()) in lcl_addUpperLeftCornerIfMissing()
1212 if (nFileId != pToken->GetIndex() || aExtTabName != pToken->GetString()) in lcl_addUpperLeftCornerIfMissing()
1228 if (nFileId != pToken->GetIndex() || aExtTabName != pToken->GetString()) in lcl_addUpperLeftCornerIfMissing()
1265 pToken = *itr; in lcl_addUpperLeftCornerIfMissing()
1266 switch (pToken->GetType()) in lcl_addUpperLeftCornerIfMissing()
[all …]
H A Dlinkuno.cxx1509 ScExternalRefCache::TokenRef pToken; in setCellValue() local
1513 pToken.reset(new FormulaDoubleToken(fVal)); in setCellValue()
1515 pToken.reset(new FormulaStringToken(aVal)); in setCellValue()
1520 mpTable->setCell(static_cast<SCCOL>(nCol), static_cast<SCROW>(nRow), pToken); in setCellValue()
1530 … FormulaToken* pToken = mpTable->getCell(static_cast<SCCOL>(nCol), static_cast<SCROW>(nRow)).get(); in getCellValue() local
1531 if (!pToken) in getCellValue()
1535 switch (pToken->GetType()) in getCellValue()
1539 double fVal = pToken->GetDouble(); in getCellValue()
1545 OUString aVal = pToken->GetString(); in getCellValue()
/aoo4110/main/oox/source/token/
H A Dtokenmap.cxx73 … struct xmltoken* pToken = Perfect_Hash::in_word_set( aUtf8Name.getStr(), aUtf8Name.getLength() ); in TokenMap() local
74 bOk = pToken && (pToken->nToken == nToken); in TokenMap()
95 … struct xmltoken* pToken = Perfect_Hash::in_word_set( aUtf8Name.getStr(), aUtf8Name.getLength() ); in getTokenFromUnicode() local
96 return pToken ? pToken->nToken : XML_TOKEN_INVALID; in getTokenFromUnicode()
108 struct xmltoken* pToken = Perfect_Hash::in_word_set( in getTokenFromUtf8() local
110 return pToken ? pToken->nToken : XML_TOKEN_INVALID; in getTokenFromUtf8()
/aoo4110/main/forms/source/xforms/xpathlib/
H A Dxpathlib.cxx405 char* pToken = pString; in parseDuration() local
406 while(pToken[0] != 0) in parseDuration()
408 switch(pToken[0]) { in parseDuration()
410 pToken[0] = 0; in parseDuration()
412 pString = ++pToken; in parseDuration()
415 pToken[0] = 0; in parseDuration()
420 pString = ++pToken; in parseDuration()
423 pToken[0] = 0; in parseDuration()
428 pToken[0] = 0; in parseDuration()
433 pToken[0] = 0; in parseDuration()
[all …]
/aoo4110/main/sc/source/core/data/
H A Dconditio.cxx245 if ( pToken->GetOpCode() == ocPush ) in ScConditionEntry()
247 if ( pToken->GetType() == svDouble ) in ScConditionEntry()
249 nVal1 = pToken->GetDouble(); in ScConditionEntry()
255 aStrVal1 = pToken->GetString(); in ScConditionEntry()
269 if ( pToken->GetOpCode() == ocPush ) in ScConditionEntry()
273 nVal2 = pToken->GetDouble(); in ScConditionEntry()
279 aStrVal2 = pToken->GetString(); in ScConditionEntry()
329 nVal1 = pToken->GetDouble(); in Compile()
335 aStrVal1 = pToken->GetString(); in Compile()
366 nVal2 = pToken->GetDouble(); in Compile()
[all …]
H A Dvalidat.cxx596 const FormulaToken* pToken = mrTokArr.NextNoSpaces(); in Next() local
597 while( pToken && (pToken->GetOpCode() == ocSep) ) in Next()
598 pToken = mrTokArr.NextNoSpaces(); in Next()
600 mbOk = !pToken || (pToken->GetType() == formula::svString); in Next()
601 const String* pString = (mbOk && pToken) ? &pToken->GetString() : NULL; in Next()
/aoo4110/main/sc/inc/
H A Dreftokenhelper.hxx55 …static bool getRangeFromToken(ScRange& rRange, const ScSharedTokenRef& pToken, bool bExternal = fa…
62 static void getTokenFromRange(ScSharedTokenRef& pToken, const ScRange& rRange);
66 static bool SC_DLLPUBLIC isRef(const ScSharedTokenRef& pToken);
67 static bool SC_DLLPUBLIC isExternalRef(const ScSharedTokenRef& pToken);
69 …LPUBLIC intersects(const ::std::vector<ScSharedTokenRef>& rTokens, const ScSharedTokenRef& pToken);
71 …c void SC_DLLPUBLIC join(::std::vector<ScSharedTokenRef>& rTokens, const ScSharedTokenRef& pToken);
73 static bool getDoubleRefDataFromToken(ScComplexRefData& rData, const ScSharedTokenRef& pToken);
/aoo4110/main/sc/source/ui/docshell/
H A Dexternalrefmgr.cxx255 aCell.mxToken = pToken; in setCell()
602 if (!pToken) in getCellRangeData()
637 if (!pToken) in getCellRangeData()
773 TokenRef pToken; in setCellRangeData() local
784 if (pToken) in setCellRangeData()
1640 if (pToken) in getSingleRefToken()
1653 return pToken; in getSingleRefToken()
1662 return pToken; in getSingleRefToken()
1671 return pToken; in getSingleRefToken()
1691 return pToken; in getSingleRefToken()
[all …]
/aoo4110/main/writerfilter/source/ooxml/
H A DOOXMLFastTokenHandler.cxx47 struct tokenmap::token * pToken = in getToken() local
52 if (pToken != NULL) in getToken()
53 nResult = pToken->nToken; in getToken()
108 struct tokenmap::token * pToken = in getTokenFromUTF8() local
113 if (pToken != NULL) in getTokenFromUTF8()
114 nResult = pToken->nToken; in getTokenFromUTF8()
121 << (pToken == NULL ? ", failed" : "") << endl; in getTokenFromUTF8()
/aoo4110/main/svl/source/misc/
H A Dinettype.cxx1145 sal_Char const * pToken = p; in parse() local
1152 if (p == pToken) in parse()
1154 rType = ByteString(pToken, sal::static_int_cast< xub_StrLen >(p - pToken)); in parse()
1163 pToken = p; in parse()
1170 if (p == pToken) in parse()
1173 pToken, sal::static_int_cast< xub_StrLen >(p - pToken)); in parse()
1197 if (p == pToken) in parse()
1199 rType = UniString(pToken, sal::static_int_cast< xub_StrLen >(p - pToken)); in parse()
1208 pToken = p; in parse()
1215 if (p == pToken) in parse()
[all …]
/aoo4110/main/formula/source/ui/dlg/
H A Dstructpg.cxx60 SvLBoxEntry* pParent, sal_uLong nPos, IFormulaToken* pToken ) in InsertStaticEntry() argument
62 …SvLBoxEntry* pEntry = InsertEntry( rText, rEntryImg, rEntryImg, pParent, sal_False, nPos, pToken ); in InsertStaticEntry()
171 IFormulaToken * pToken=(IFormulaToken *)pEntry->GetUserData(); in GetFunctionEntry() local
172 if(pToken!=NULL) in GetFunctionEntry()
174 if ( !(pToken->isFunction() || pToken->getArgumentCount() > 1 ) ) in GetFunctionEntry()
180 return pToken; in GetFunctionEntry()
/aoo4110/main/l10ntools/source/
H A Dcfgmerge.cxx395 int CfgParser::ExecuteAnalyzedToken( int nToken, char *pToken ) in ExecuteAnalyzedToken() argument
398 ByteString sToken( pToken ); in ExecuteAnalyzedToken()
546 int CfgParser::Execute( int nToken, char * pToken ) in Execute() argument
549 ByteString sToken( pToken ); in Execute()
554 return ExecuteAnalyzedToken( CFG_TOKEN_PACKAGE, pToken ); in Execute()
556 return ExecuteAnalyzedToken( CFG_TOKEN_COMPONENT, pToken ); in Execute()
558 return ExecuteAnalyzedToken( CFG_TOKEN_TEMPLATE, pToken ); in Execute()
560 return ExecuteAnalyzedToken( CFG_TOKEN_OORNAME, pToken ); in Execute()
562 return ExecuteAnalyzedToken( CFG_TOKEN_OORNAME, pToken ); in Execute()
564 return ExecuteAnalyzedToken( CFG_TOKEN_OORVALUE, pToken ); in Execute()
[all …]
/aoo4110/main/xmloff/source/transform/
H A DMetaTContext.cxx99 XMLTokenEnum *pToken = aMetaTokens; in EndElement() local
100 while( *pToken != XML_TOKEN_END ) in EndElement()
102 const OUString& rToken = GetXMLToken( *pToken ); in EndElement()
107 if( XML_KEYWORD == *pToken ) in EndElement()
128 if( XML_KEYWORD == *pToken ) in EndElement()
131 pToken++; in EndElement()
/aoo4110/main/autodoc/source/parser_i/idoc/
H A Ddocu_pe2.cxx501 DT_TextToken * pToken = dynamic_cast< DT_TextToken* >(&let_drNewToken); in SetCurSinceAtTagVersion_OOo() local
502 if (pToken == 0) in SetCurSinceAtTagVersion_OOo()
509 sVersion(pToken->GetText()); in SetCurSinceAtTagVersion_OOo()
533 DT_TextToken * pToken = dynamic_cast< DT_TextToken* >(&let_drNewToken); in SetCurSinceAtTagVersion_Number() local
534 if (pToken == 0) in SetCurSinceAtTagVersion_Number()
550 sVersion(pToken->GetText()); in SetCurSinceAtTagVersion_Number()
597 pToken = dynamic_cast< DT_TextToken* >(&let_drNewToken); in AddDocuToken2SinceAtTag() local
598 if (pToken != 0) in AddDocuToken2SinceAtTag()
600 sValue = sHelp() << sValue << pToken->GetText() << c_str; in AddDocuToken2SinceAtTag()
/aoo4110/main/oox/inc/oox/xls/
H A Dformulaparser.hxx79 void processTokens( const ApiToken* pToken, const ApiToken* pTokenEnd );
80 …const ApiToken* processParameters( const FunctionInfo& rFuncInfo, const ApiToken* pToken, cons…
82 bool isEmptyParameter( const ApiToken* pToken, const ApiToken* pTokenEnd ) const;
83 const ApiToken* getSingleToken( const ApiToken* pToken, const ApiToken* pTokenEnd ) const;
84 const ApiToken* skipParentheses( const ApiToken* pToken, const ApiToken* pTokenEnd ) const;
85 …const ApiToken* findParameters( ParameterPosVector& rParams, const ApiToken* pToken, const Api…
/aoo4110/main/sc/source/filter/excel/
H A Dxilink.cxx414 ScExternalRefCache::TokenRef pToken(new formula::FormulaDoubleToken(b ? 1.0 : 0.0)); in LoadCachedValues() local
415 pCacheTable->setCell(rAddr.mnCol, rAddr.mnRow, pToken); in LoadCachedValues()
421 ScExternalRefCache::TokenRef pToken(new formula::FormulaDoubleToken(f)); in LoadCachedValues() local
422 pCacheTable->setCell(rAddr.mnCol, rAddr.mnRow, pToken); in LoadCachedValues()
428 ScExternalRefCache::TokenRef pToken(new formula::FormulaDoubleToken(fError)); in LoadCachedValues() local
429 pCacheTable->setCell(rAddr.mnCol, rAddr.mnRow, pToken); in LoadCachedValues()
435 ScExternalRefCache::TokenRef pToken(new formula::FormulaStringToken(rStr)); in LoadCachedValues() local
436 pCacheTable->setCell(rAddr.mnCol, rAddr.mnRow, pToken); in LoadCachedValues()
/aoo4110/main/autodoc/source/exes/adc_uni/
H A Dadc_cl.cxx463 pToken = aIncludedCommands.CutToken(); in load_IncludedCommands() local
466 if ( strncmp(pToken, "-I:", 3) != 0 ) in load_IncludedCommands()
469 aTransmit() << pToken; in load_IncludedCommands()
475 load_IncludedCommands(out, pToken+3); in load_IncludedCommands()
/aoo4110/main/sc/source/ui/miscdlgs/
H A Danyrefdg.cxx214 const ScToken* pToken = static_cast<const ScToken*>(pScTokA->GetNextReference()); in ShowFormulaReference() local
218 while(pToken!=NULL) in ShowFormulaReference()
220 sal_Bool bDoubleRef=(pToken->GetType()==formula::svDoubleRef); in ShowFormulaReference()
223 if(pToken->GetType()==formula::svSingleRef || bDoubleRef) in ShowFormulaReference()
228 ScComplexRefData aRef( pToken->GetDoubleRef() ); in ShowFormulaReference()
235 ScSingleRefData aRef( pToken->GetSingleRef() ); in ShowFormulaReference()
244 pToken = static_cast<const ScToken*>(pScTokA->GetNextReference()); in ShowFormulaReference()
/aoo4110/main/sw/source/ui/index/
H A Dcnttab.cxx2844 if(pToken->sCharStyleName.Len()) in IMPL_LINK()
2845 aCharStyleLB.SelectEntry(pToken->sCharStyleName); in IMPL_LINK()
2853 if(pToken->eTokenType == TOKEN_CHAPTER_INFO) in IMPL_LINK()
2856 switch(pToken->nChapterFormat) in IMPL_LINK()
2885 if(pToken->eTokenType == TOKEN_ENTRY_NO) in IMPL_LINK()
2913 aFillCharCB.SetText(pToken->cTabFillChar); in IMPL_LINK()
2938 aEntryNoPB.Enable(TOKEN_ENTRY_NO != pToken->eTokenType ); in IMPL_LINK()
2942 aEntryPB.Enable(TOKEN_ENTRY_TEXT != pToken->eTokenType && in IMPL_LINK()
2953 aPageNoPB.Enable(TOKEN_PAGE_NUMS != pToken->eTokenType && in IMPL_LINK()
2963 TOKEN_LINK_END != pToken->eTokenType); in IMPL_LINK()
[all …]

Completed in 224 milliseconds

123