/external/svox/pico/lib/ |
D | picoklex.c | 387 const picoos_uint32 lexpos, in klex_setLexResult() argument 407 lexres->posind[i++] = 0x000000ff & (lexpos); in klex_setLexResult() 408 lexres->posind[i++] = 0x000000ff & (lexpos >> 8); in klex_setLexResult() 409 lexres->posind[i] = 0x000000ff & (lexpos >> 16); in klex_setLexResult() 422 picoos_uint32 lexpos; in klex_lexblockLookup() local 427 lexpos = lexposStart; in klex_lexblockLookup() 429 while ((rv < 0) && (lexpos < lexposEnd)) { in klex_lexblockLookup() 431 rv = klex_lexMatch(&(this->lexblocks[lexpos]), graph, graphlen); in klex_lexblockLookup() 434 klex_setLexResult(&(this->lexblocks[lexpos]), lexpos, lexres); in klex_lexblockLookup() 439 (lexpos < lexposEnd)) { in klex_lexblockLookup() [all …]
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | lex.py | 55 return "LexToken(%s,%r,%d,%d)" % (self.type,self.value,self.lineno,self.lexpos) 86 self.lexpos = 0 # Current position in input text 108 c.lexpos = self.lexpos 206 self.lexpos = 0 244 self.lexpos += n 255 lexpos = self.lexpos 260 while lexpos < lexlen: 262 if lexdata[lexpos] in lexignore: 263 lexpos += 1 268 m = lexre.match(lexdata,lexpos) [all …]
|
D | yacc.py | 138 def lexpos(self,n): member in YaccProduction 287 sym.lexpos = targ[1].lexpos 288 sym.endlexpos = getattr(targ[-1],"endlexpos",targ[-1].lexpos)
|
/external/ply/ply/ply/ |
D | lex.py | 66 return 'LexToken(%s,%r,%d,%d)' % (self.type, self.value, self.lineno, self.lexpos) 133 self.lexpos = 0 # Current position in input text 257 self.lexpos = 0 296 self.lexpos += n 307 lexpos = self.lexpos 312 while lexpos < lexlen: 314 if lexdata[lexpos] in lexignore: 315 lexpos += 1 320 m = lexre.match(lexdata, lexpos) 328 tok.lexpos = lexpos [all …]
|
D | yacc.py | 268 def lexpos(self, n): member in YaccProduction 484 sym.lexpos = t1.lexpos 487 sym.endlexpos = getattr(t1, 'endlexpos', t1.lexpos) 529 sym.lexpos = lexer.lexpos 654 sym.endlexpos = getattr(lookahead, 'lexpos', sym.lexpos) 666 t.lexpos = t.endlexpos = lookahead.lexpos 675 lookahead.lexpos = sym.lexpos 804 sym.lexpos = t1.lexpos 807 sym.endlexpos = getattr(t1, 'endlexpos', t1.lexpos) 846 sym.lexpos = lexer.lexpos [all …]
|
/external/libmojo/third_party/ply/ |
D | lex.py | 71 return "LexToken(%s,%r,%d,%d)" % (self.type,self.value,self.lineno,self.lexpos) 131 self.lexpos = 0 # Current position in input text 257 self.lexpos = 0 295 self.lexpos += n 306 lexpos = self.lexpos 311 while lexpos < lexlen: 313 if lexdata[lexpos] in lexignore: 314 lexpos += 1 319 m = lexre.match(lexdata,lexpos) 326 tok.lexpos = lexpos [all …]
|
D | yacc.py | 221 def lexpos(self,n): member in YaccProduction 403 sym.lexpos = t1.lexpos 406 sym.endlexpos = getattr(t1,"endlexpos",t1.lexpos) 446 sym.lexpos = lexer.lexpos 692 sym.lexpos = t1.lexpos 695 sym.endlexpos = getattr(t1,"endlexpos",t1.lexpos) 732 sym.lexpos = lexer.lexpos
|
/external/ply/ply/example/yply/ |
D | ylex.py | 37 t.value = t.lexer.lexdata[t.lexpos + 2:] 38 t.lexer.lexpos = len(t.lexer.lexdata) 66 t.lexer.codestart = t.lexpos 97 t.value = t.lexer.lexdata[t.lexer.codestart:t.lexpos + 1]
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
D | lexer_unittest.py | 38 self.lineno == other.lineno and self.lexpos == other.lexpos 42 def _MakeLexToken(token_type, value, lineno=1, lexpos=0): argument 46 rv.type, rv.value, rv.lineno, rv.lexpos = token_type, value, lineno, lexpos
|
/external/ply/ply/example/hedit/ |
D | hedit.py | 35 t.lexer.lexpos -= len(t.value) - (i + 1 + n)
|
/external/ply/ply/test/ |
D | lex_hedit.py | 34 t.lexer.lexpos -= len(t.value) - (i+1+n)
|
/external/ply/ply/ |
D | CHANGES | 265 start_pos = p.lexpos(3) 718 Added lexpos() and lexspan() methods to grammar symbols. These 724 p.lexpos(1) # Lexing position of left-hand-expression 725 p.lexpos(1) # Lexing position of PLUS 915 Added the lexing position to tokens as an attribute lexpos. This 918 details (e.g., scan backwards from lexpos to the first newline
|