/external/pcre/ |
H A D | pcredemo.c | 59 int ovector[OVECCOUNT]; local 128 ovector, /* output vector for substring information */ 149 printf("\nMatch succeeded at offset %d\n", ovector[0]); 163 printf("ovector only has room for %d captured substrings\n", rc - 1); 171 char *substring_start = subject + ovector[2*i]; 172 int substring_length = ovector[2*i+1] - ovector[2*i]; 221 ovector[2*n+1] - ovector[2*n], subject + ovector[ [all...] |
H A D | pcre_get.c | 178 ovector the vector of matched substrings 186 get_first_set(const pcre *code, const char *stringname, int *ovector) argument 199 if (ovector[n*2] >= 0) return n; 217 ovector pointer to the offsets table 235 pcre_copy_substring(const char *subject, int *ovector, int stringcount, argument 242 yield = ovector[stringnumber+1] - ovector[stringnumber]; 244 memcpy(buffer, subject + ovector[stringnumber], yield); 262 ovector pointer to the offsets table 280 pcre_copy_named_substring(const pcre *code, const char *subject, int *ovector, argument 312 pcre_get_substring_list(const char *subject, int *ovector, int stringcount, const char ***listptr) argument 390 pcre_get_substring(const char *subject, int *ovector, int stringcount, int stringnumber, const char **stringptr) argument 437 pcre_get_named_substring(const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, const char **stringptr) argument [all...] |
H A D | pcreposix.c | 302 int *ovector = NULL; local 324 ovector = &(small_ovector[0]); 329 ovector = (int *)malloc(sizeof(int) * nmatch * 3); 330 if (ovector == NULL) return REG_ESPACE; 352 0, options, ovector, (int)(nmatch * 3)); 365 pmatch[i].rm_so = ovector[i*2]; 366 pmatch[i].rm_eo = ovector[i*2+1]; 368 if (allocated_ovector) free(ovector); 376 if (allocated_ovector) free(ovector);
|
H A D | pcregexp.pas | 350 var ovector : integer;
355 function pcre_copy_substring( const subject : pchar; var ovector : integer;
388 var ovector : integer;
398 function pcre_get_substring( const subject : pchar; var ovector : integer;
401 function pcre_get_substring_list( const subject : pchar; var ovector : integer;
|
/external/webkit/Source/JavaScriptCore/runtime/ |
H A D | RegExpConstructor.h | 45 const Vector<int, 32>& lastOvector() const { return ovector[lastOvectorIndex]; } 46 Vector<int, 32>& lastOvector() { return ovector[lastOvectorIndex]; } 47 Vector<int, 32>& tempOvector() { return ovector[lastOvectorIndex ? 0 : 1]; } 52 Vector<int, 32> ovector[2]; member in struct:JSC::RegExpConstructorPrivate 73 void performMatch(RegExp*, const UString&, int startOffset, int& position, int& length, int** ovector = 0); 112 ALWAYS_INLINE void RegExpConstructor::performMatch(RegExp* r, const UString& s, int startOffset, int& position, int& length, int** ovector) argument 116 if (ovector) 117 *ovector = d->tempOvector().data();
|
H A D | RegExp.cpp | 133 int RegExp::match(const UString& s, int startOffset, Vector<int, 32>* ovector) argument 149 if (ovector) { 150 ovector->resize(offsetVectorSize); 151 offsetVector = ovector->data();
|
H A D | RegExp.h | 52 int match(const UString&, int startOffset, Vector<int, 32>* ovector = 0);
|
H A D | StringPrototype.cpp | 156 static NEVER_INLINE UString substituteBackreferencesSlow(const UString& replacement, const UString& source, const int* ovector, RegExp* reg, size_t i) argument 177 backrefStart = ovector[0]; 178 backrefLength = ovector[1] - backrefStart; 181 backrefLength = ovector[0]; 183 backrefStart = ovector[1]; 202 backrefStart = ovector[2 * backrefIndex]; 203 backrefLength = ovector[2 * backrefIndex + 1] - backrefStart; 222 static inline UString substituteBackreferences(const UString& replacement, const UString& source, const int* ovector, RegExp* reg) argument 226 return substituteBackreferencesSlow(replacement, source, ovector, reg, i); 337 int* ovector; local 382 int* ovector; local 466 int ovector[2] = { matchPos, matchEnd }; local 724 Vector<int, 32> ovector; local [all...] |