Home
last modified time | relevance | path

Searched refs:_parser (Results 1 – 14 of 14) sorted by relevance

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/lib/
Derrsupport.c14 mismatched_range( STreeParser *_parser, int looking_for, int upper_token, SORAST *found ) in mismatched_range() argument
16 mismatched_range( _parser, looking_for, upper_token, found ) in mismatched_range()
20 STreeParser *_parser;
38 missing_wildcard(STreeParser *_parser) in missing_wildcard() argument
40 missing_wildcard(_parser) in missing_wildcard()
41 STreeParser *_parser; in missing_wildcard()
49 mismatched_token( STreeParser *_parser, int looking_for, SORAST *found ) in mismatched_token() argument
51 mismatched_token( _parser, looking_for, found ) in mismatched_token()
54 STreeParser *_parser;
72 no_viable_alt( STreeParser *_parser, char *rulename, SORAST *root ) in no_viable_alt() argument
[all …]
Dsorcerer.c27 _nextresult(STreeParser *_parser, AST **t) in _nextresult() argument
29 _nextresult(_parser, t) in _nextresult()
31 STreeParser *_parser;
37 while ( p->ast_right(_parser->write) != NULL )
39 p = p->ast_right(_parser->write);
41 return &(p->ast_right(_parser->write));
49 _copy_wildcard(STreeParser *_parser, AST *t, int root) in _copy_wildcard() argument
51 _copy_wildcard(_parser, t, root) in _copy_wildcard()
52 STreeParser *_parser; in _copy_wildcard()
59 if ( !root ) t->ast_right(_parser->write) = t->ast_right(_parser->read);
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/sorcerer/h/
Dsorcerer.h57 …ATCH(tok) if (! _t || _t->token!=tok ) if ( _parser->guessing ) _GUESS_FAIL; else mismatched_toke…
59 …_t || _t->token<tok || _t->token>tok2 ) if ( _parser->guessing ) _GUESS_FAIL; else mismatched_rang…
62 …_CPPMATCH(tok) if ( _t->token()!=tok ) if ( _parser->guessing ) _GUESS_FAIL; else mismatched_toke…
64 …( _t->token()<tok || _t->token()>tok2 ) if ( _parser->guessing ) _GUESS_FAIL; else mismatched_rang…
77 #define _WILDCARD if ( _t==NULL ) if ( _parser->guessing ) _GUESS_FAIL; else missing_wildcard(
79 #define _GUESS {_st = *_parser; \
81 _parser->guessing = 1; \
82 _gv = setjmp(_parser->startofguess.state);}
83 #define _GUESS_FAIL longjmp(_parser->startofguess.state, 1)
84 #define _GUESS_DONE {*_parser = _st; _t = _savet;}
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/sax/
Dexpatreader.py62 if parser._parser is None:
64 return parser._parser.ErrorColumnNumber
68 if parser._parser is None:
70 return parser._parser.ErrorLineNumber
93 self._parser = None
117 self._parser.SetBase(base)
174 if self._parser:
175 if hasattr(self._parser, "GetInputContext"):
176 return self._parser.GetInputContext()
213 self._parser.Parse(data, isFinal)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/sax/
Dexpatreader.py59 if parser._parser is None:
61 return parser._parser.ErrorColumnNumber
65 if parser._parser is None:
67 return parser._parser.ErrorLineNumber
90 self._parser = None
111 self._parser.SetBase(source.getSystemId())
168 if self._parser:
169 if hasattr(self._parser, "GetInputContext"):
170 return self._parser.GetInputContext()
207 self._parser.Parse(data, isFinal)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
DPBlackBox.h64 Parser *_parser; variable
74 , _parser(0) in ParserBlackBox()
91 _parser = new Parser(pipe); in ParserBlackBox()
92 _parser->init(); in ParserBlackBox()
100 , _parser(0) in ParserBlackBox()
117 _parser = new Parser(pipe); in ParserBlackBox()
118 _parser->init(); in ParserBlackBox()
124 delete in; delete scan; delete pipe; delete _parser; delete tok; in ~ParserBlackBox() local
130 Parser *parser() { return _parser; } in parser()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
DPBlackBox.h55 Parser *_parser; variable
69 _parser = new Parser(pipe); in ParserBlackBox()
70 _parser->init(); in ParserBlackBox()
87 _parser = new Parser(pipe); in ParserBlackBox()
88 _parser->init(); in ParserBlackBox()
94 delete in; delete scan; delete pipe; delete _parser; delete tok; in ~ParserBlackBox() local
100 Parser *parser() { return _parser; } in parser()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/dom/
Dexpatbuilder.py148 self._parser = None
157 if not self._parser:
158 self._parser = self.createParser()
159 self._intern_setdefault = self._parser.intern.setdefault
160 self._parser.buffer_text = True
161 self._parser.ordered_attributes = True
162 self._parser.specified_attributes = True
163 self.install(self._parser)
164 return self._parser
216 self._parser = None
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/dom/
Dexpatbuilder.py148 self._parser = None
157 if not self._parser:
158 self._parser = self.createParser()
159 self._intern_setdefault = self._parser.intern.setdefault
160 self._parser.buffer_text = True
161 self._parser.ordered_attributes = True
162 self._parser.specified_attributes = True
163 self.install(self._parser)
164 return self._parser
216 self._parser = None
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/xml/etree/
DElementTree.py1214 self._parser = parser
1216 parser = self._parser._parser
1226 start=self._parser._start_list):
1231 start=self._parser._start):
1236 end=self._parser._end):
1266 if self._parser is None:
1277 self._parser.feed(data)
1281 self._root = self._parser.close()
1282 self._parser = None
1471 self.parser = self._parser = parser
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/
DElementTree.py1205 self._parser = parser
1207 parser = self._parser._parser
1217 start=self._parser._start_list):
1222 start=self._parser._start):
1227 end=self._parser._end):
1250 if self._parser is None:
1258 self._parser.feed(data)
1260 self._root = self._parser.close()
1261 self._parser = None
1453 self.parser = self._parser = parser
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dxmlrpclib.py546 self._parser = parser = expat.ParserCreate(None, None)
557 self._parser.Parse(data, 0)
560 self._parser.Parse("", 1) # end of data
561 del self._target, self._parser # get rid of circular references
Ddoctest.py775 self._parser = parser
990 return self._parser.get_doctest(docstring, globs, name,
Ddecimal.py543 m = _parser(value.strip())
5852 _parser = re.compile(r""" # A numeric string consists of: variable