Home
last modified time | relevance | path

Searched refs:lastpos (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/base/tools/aapt/
H A Dpseudolocalize.cpp43 size_t lastpos, pos; in text() local
47 for (lastpos = pos = 0; pos < length; pos++) { in text()
70 size_t size = nextpos - lastpos; in text()
72 String16 chunk = String16(text, size, lastpos); in text()
75 } else if (str[lastpos] == k_arg_start && in text()
86 lastpos = nextpos; in text()
/aosp12/frameworks/base/tools/aapt2/compile/
H A DPseudolocalizer.cpp90 size_t lastpos, pos; in Text() local
94 for (lastpos = pos = 0; pos < length; pos++) { in Text()
117 size_t size = nextpos - lastpos; in Text()
119 std::string chunk = text.substr(lastpos, size).to_string(); in Text()
122 } else if (str[lastpos] == kArgStart && str[nextpos - 1] == kArgEnd) { in Text()
132 lastpos = nextpos; in Text()
/aosp12/bionic/libc/upstream-netbsd/lib/libc/regex/
H A Dengine.c115 const char **lastpos; /* [nplus+1] */ member
226 m->lastpos = NULL; in matcher()
274 if (g->nplus > 0 && m->lastpos == NULL) in matcher()
275 m->lastpos = malloc((g->nplus+1) * in matcher()
277 if (g->nplus > 0 && m->lastpos == NULL) { in matcher()
339 if (m->lastpos != NULL) { in matcher()
340 free(m->lastpos); in matcher()
341 m->lastpos = NULL; in matcher()
697 assert(m->lastpos != NULL); in backref()
699 m->lastpos[lev+1] = sp; in backref()
[all …]