Home
last modified time | relevance | path

Searched refs:lexpos (Results 1 – 8 of 8) sorted by relevance

/external/svox/pico/lib/
Dpicoklex.c387 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/chromium_org/third_party/ply/
Dlex.py71 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 …]
Dyacc.py221 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/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/parse/
Dlexer_unittest.py38 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/chromium_org/tools/idl_parser/
Didl_lexer.py179 self.index.append(self.Lexer().lexpos - offs)
182 pos = self.Lexer().lexpos - self.index[line]
195 self.index.append(self.Lexer().lexpos)
Didl_parser.py916 pos = t.lexpos
926 pos = last.lexpos
977 pos = p.lexpos(index)
/external/chromium_org/ppapi/generators/
Didl_lexer.py171 self.index.append(self.lexobj.lexpos - offs)
174 pos = self.lexobj.lexpos - self.index[line]
188 self.index.append(self.lexobj.lexpos)
Didl_parser.py228 p.lexpos(2)-1, [self.BuildAttribute('NAME', ''),
881 pos = t.lexpos
890 pos = self.last.lexpos
944 pos = p.lexpos(index)
1034 ErrOut.LogLine(filename, self.last.lineno, self.last.lexpos,