Home
last modified time | relevance | path

Searched refs:pRe (Results 1 – 2 of 2) sorted by relevance

/third_party/sqlite/src/
Dshell.c6161 static int re_match(ReCompiled *pRe, const unsigned char *zIn, int nIn){ in re_match() argument
6177 if( pRe->nInit ){ in re_match()
6178 unsigned char x = pRe->zInit[0]; in re_match()
6179 while( in.i+pRe->nInit<=in.mx in re_match()
6181 strncmp((const char*)zIn+in.i, (const char*)pRe->zInit, pRe->nInit)!=0) in re_match()
6185 if( in.i+pRe->nInit>in.mx ) return 0; in re_match()
6188 if( pRe->nState<=(sizeof(aSpace)/(sizeof(aSpace[0])*2)) ){ in re_match()
6192 pToFree = sqlite3_malloc64( sizeof(ReStateNumber)*2*pRe->nState ); in re_match()
6196 aStateSet[1].aState = &aStateSet[0].aState[pRe->nState]; in re_match()
6202 c = pRe->xNextChar(&in); in re_match()
[all …]
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch83167 +static int re_match(ReCompiled *pRe, const unsigned char *zIn, int nIn){
83183 + if( pRe->nInit ){
83184 + unsigned char x = pRe->zInit[0];
83185 + while( in.i+pRe->nInit<=in.mx
83187 + strncmp((const char*)zIn+in.i, (const char*)pRe->zInit, pRe->nInit)!=0)
83192 + if( in.i+pRe->nInit>in.mx ) return 0;
83195 + if( pRe->nState<=(sizeof(aSpace)/(sizeof(aSpace[0])*2)) ){
83199 + pToFree = sqlite3_malloc64( sizeof(ReStateNumber)*2*pRe->nState );
83203 + aStateSet[1].aState = &aStateSet[0].aState[pRe->nState];
83209 + c = pRe->xNextChar(&in);
[all …]