Home
last modified time | relevance | path

Searched refs:getText (Results 1 – 17 of 17) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiVfrCompile/
DVfrSyntax.g285 "," ID:StringIdentifier << Identifier = ID->getText(); >>
288 … << PackAction |= VFR_PACK_ASSIGN; PackNumber = _STOU32(N->getText()); >>
298 … << LineNum = N->getLine(); PackNumber = _STOU32(N->getText()); >>
316 …r << _PCATCH(mCVfrVarDataTypeDB.SetNewTypeName (N1->getText()), N1); >>
322 …r << _PCATCH(mCVfrVarDataTypeDB.SetNewTypeName (N2->getText()), N2); >>
346 OpenBracket I:Number CloseBracket << ArrayNum = _STOU32(I->getText()); >>
348 … << _PCATCH(mCVfrVarDataTypeDB.DataTypeAddField (N->getText(), "UINT64", Arra…
356 OpenBracket I:Number CloseBracket << ArrayNum = _STOU32(I->getText()); >>
358 … << _PCATCH(mCVfrVarDataTypeDB.DataTypeAddField (N->getText(), "UINT32", Arra…
366 OpenBracket I:Number CloseBracket << ArrayNum = _STOU32(I->getText()); >>
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/
DVfrSyntax.g296 "," ID:StringIdentifier << Identifier = ID->getText(); >>
299 … << PackAction |= VFR_PACK_ASSIGN; PackNumber = _STOU32(N->getText(), N->getLine());…
309 … << LineNum = N->getLine(); PackNumber = _STOU32(N->getText(), N->getLine());…
327 …r << _PCATCH(gCVfrVarDataTypeDB.SetNewTypeName (N1->getText()), N1); >>
333 …r << _PCATCH(gCVfrVarDataTypeDB.SetNewTypeName (N2->getText()), N2); >>
358 …OpenBracket I:Number CloseBracket << ArrayNum = _STOU32(I->getText(), I->getLine());…
360 … << _PCATCH(gCVfrVarDataTypeDB.DataTypeAddField (N->getText(), D->getText(), ArrayNu…
368 …OpenBracket I:Number CloseBracket << ArrayNum = _STOU32(I->getText(), I->getLine());…
370 … << _PCATCH(gCVfrVarDataTypeDB.DataTypeAddField (N->getText(), D->getText(), ArrayNu…
380 …OpenBracket I:Number CloseBracket << ArrayNum = _STOU32(I->getText(), I->getLine());…
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
DAParser.cpp415 (LA(1)==eofToken && LT(1)->getText()[0] == '@')? in syn()
416 "<eof>":LT(1)->getText() /* MR21a */); in syn()
421 fprintf(stderr, "; \"%s\" not", LT(1)->getText()); in syn()
526 strcat(zzFAILtext, LT(i)->getText()); in FAIL()
541 *miss_text = LT(1)->getText(); in FAIL()
543 *bad_text = (*bad_tok)->getText(); in FAIL()
557 *bad_text = (*bad_tok)->getText(); in FAIL()
580 (LA(1)==eofToken && LT(1)->getText()[0] == '@')?"<eof>":LT(1)->getText(), /* MR21a */ in _match_wdfltsig()
606 (LA(1)==eofToken && LT(1)->getText()[0] == '@')?"<eof>":LT(1)->getText(), /* MR21a */ in _setmatch_wdfltsig()
669 LT(1)->getType() == eofToken ? "@" : LT(1)->getText(), in traceGuessDone()
[all …]
DAToken.h64 virtual ANTLRChar *getText() const = 0;
174 ANTLRChar *getText() const { return _text; } in getText() function
175 int getLength() const { return strlen(getText()); } // MR11 in getLength()
247 ANTLRChar *getText() const { return _text; } in getText() function
248 int getLength() const { return strlen(getText()); } // MR11 in getLength()
DATokenBuffer.cpp89 ((ANTLRCommonToken *)*z)->getText(), (*z)->nref()); in ~ANTLRTokenBuffer()
231 else fprintf(stderr, " '%s'", ((ANTLRCommonToken *)*r)->getText()); in makeRoom()
249 ((ANTLRCommonToken *)*z)->getText(), (*z)->nref()); in makeRoom()
270 " '%s'", ((ANTLRCommonToken *)buffer[i-1])->getText()); in makeRoom()
DAToken_traditional.h63 virtual ANTLRChar *getText() = 0;
169 ANTLRChar *getText() { return _text; } in getText() function
199 ANTLRChar *getText() { return _text; } in getText() function
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
DAParser.cpp441 const char * errorAt = LT(1)->getText(); in syn()
452 /* MR23 */ printMessage(stderr, "; \"%s\" not", LT(k)->getText()); // MR23 use LT(k) since k>1 in syn()
557 strcat(zzFAILtext, LT(i)->getText()); in FAIL()
572 *miss_text = LT(1)->getText(); in FAIL()
574 *bad_text = (*bad_tok)->getText(); in FAIL()
588 *bad_text = (*bad_tok)->getText(); in FAIL()
611 (LA(1)==eofToken && LT(1)->getText()[0] == '@')?"<eof>":LT(1)->getText(), /* MR21a */ in _match_wdfltsig()
637 (LA(1)==eofToken && LT(1)->getText()[0] == '@')?"<eof>":LT(1)->getText(), /* MR21a */ in _setmatch_wdfltsig()
700 LT(1)->getType() == eofToken ? "@" : LT(1)->getText(), in traceGuessDone()
752 LT(1)->getType() == eofToken ? "@" : LT(1)->getText(), in tracein()
[all …]
DAToken.h65 virtual ANTLRChar *getText() const = 0;
194 ANTLRChar *getText() const { return _text; } in getText() function
195 int getLength() const { return strlen(getText()); } // MR11 in getLength()
267 ANTLRChar *getText() const { return _text; } in getText() function
268 int getLength() const { return strlen(getText()); } // MR11 in getLength()
DATokenBuffer.cpp90 ((ANTLRCommonToken *)*z)->getText(), (*z)->nref()); in ~ANTLRTokenBuffer()
232 else /* MR23 */ printMessage(stderr, " '%s'", ((ANTLRCommonToken *)*r)->getText()); in makeRoom()
250 ((ANTLRCommonToken *)*z)->getText(), (*z)->nref()); in makeRoom()
271 " '%s'", ((ANTLRCommonToken *)buffer[i-1])->getText()); in makeRoom()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/VfrCompile/
DVfrCompile.g884 … << WriteGuidValue (G1->getLine (), G1->getText (), G2->getText (), G3->getText (…
885 … G4->getText (), G5->getText (), G6->getText (), G7->getText (),
886 … G8->getText (), G9->getText (), G10->getText (), G11->getText ()
916 …| CNUM:Number << SetClass (CNUM->getLine(), GetNumber (CNUM->getText(), CNUM->getL…
917 ; << PrintErrorMessage (LT(1)->getLine(), LT(1)->getText(), "invalid class"); >>
927 …| SNUM:Number << SetSubclass (SNUM->getLine(), GetNumber (SNUM->getText(), SNU…
928 ; << PrintErrorMessage (LT(1)->getLine(), LT(1)->getText(), "invalid subclass"); >>
947 CloseBrace NAME:StringIdentifier << EndStructDefinition (NAME->getText(), NAME->getLine()); >>
967 …( ";" | OpenBracket IVal:Number CloseBracket ";" << ArrayLength = GetNumber (IVal->getText(), IVa…
968 … << AddStructField (NAME->getText(), NAME->getLine(), 8, ArrayLength, IsArray); >>
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/
DCHANGES_FROM_131.txt82 a : <<isTypeName(LT(1)->getText())>>? (ID|INT)
89 a : (ID)? => <<isTypeName(LT(1)->getText())>>? (ID|INT)
254 char *s = token->getText();
DCHANGES_FROM_133_BEFORE_MR13.txt696 #137. (Changed in MR11) Token getType(), getText(), getLine() const members
721 ANTLRChar * getText() {return _text; }
733 ANTLRChar * getText() const {return _text; }
745 int getLength() const { return strlen(getText()) }
771 <LT(1)->getType()==IDENTIFIER ? isTypeName(LT(1)->getText()) : 1>>?
772 ====> <<isTypeName(LT(1)->getText())>>?
775 isTypeName(LT(2)->getText()) : 1>>?
776 ====> (LPARENTHESIS IDENTIFIER)? => <<isTypeName(LT(2)->getText())>>?
779 isTypeName(LT(2)->getText()) : 1>>?
780 ====> (LPARENTHESIS IDENTIFIER)? => <<isTypeName(LT(2)->getText())>>?
[all …]
DCHANGES_SUMMARY.txt1527 label : <<s=strdup(LT(1)->getText());>> A ":" ;
1529 global : <<s=strdup(LT(1)->getText());>> A "::" ;
1531 exclamation : <<s=strdup(LT(1)->getText());>> A "!" ;
1533 other : <<s=strdup(LT(1)->getText());>> "other" ;
DCHANGES_FROM_133.txt69 <<isValidTimeScaleValue(LT(1)->getText())>>?
2336 change in ANTLRToken::getText() to a const member function
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/
DCHANGES_FROM_133_before_mr13.txt696 #137. (Changed in MR11) Token getType(), getText(), getLine() const members
721 ANTLRChar * getText() {return _text; }
733 ANTLRChar * getText() const {return _text; }
745 int getLength() const { return strlen(getText()) }
771 <LT(1)->getType()==IDENTIFIER ? isTypeName(LT(1)->getText()) : 1>>?
772 ====> <<isTypeName(LT(1)->getText())>>?
775 isTypeName(LT(2)->getText()) : 1>>?
776 ====> (LPARENTHESIS IDENTIFIER)? => <<isTypeName(LT(2)->getText())>>?
779 isTypeName(LT(2)->getText()) : 1>>?
780 ====> (LPARENTHESIS IDENTIFIER)? => <<isTypeName(LT(2)->getText())>>?
[all …]
DCHANGES_SUMMARY.txt1527 label : <<s=strdup(LT(1)->getText());>> A ":" ;
1529 global : <<s=strdup(LT(1)->getText());>> A "::" ;
1531 exclamation : <<s=strdup(LT(1)->getText());>> A "!" ;
1533 other : <<s=strdup(LT(1)->getText());>> "other" ;
DCHANGES_FROM_133.txt1654 change in ANTLRToken::getText() to a const member function