Home
last modified time | relevance | path

Searched refs:lexpos (Results 1 – 3 of 3) 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/selinux/sepolgen/src/sepolgen/
Dlex.py55 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 …]
Dyacc.py138 def lexpos(self,n): member in YaccProduction
287 sym.lexpos = targ[1].lexpos
288 sym.endlexpos = getattr(targ[-1],"endlexpos",targ[-1].lexpos)