Lines Matching refs:yield
347 int yield; in pcre_copy_substring() local
351 yield = ovector[stringnumber+1] - ovector[stringnumber]; in pcre_copy_substring()
352 if (size < yield + 1) return PCRE_ERROR_NOMEMORY; in pcre_copy_substring()
353 memcpy(buffer, subject + ovector[stringnumber], IN_UCHARS(yield)); in pcre_copy_substring()
354 buffer[yield] = 0; in pcre_copy_substring()
355 return yield; in pcre_copy_substring()
556 int yield; in pcre_get_substring() local
561 yield = ovector[stringnumber+1] - ovector[stringnumber]; in pcre_get_substring()
562 substring = (pcre_uchar *)(PUBL(malloc))(IN_UCHARS(yield + 1)); in pcre_get_substring()
564 memcpy(substring, subject + ovector[stringnumber], IN_UCHARS(yield)); in pcre_get_substring()
565 substring[yield] = 0; in pcre_get_substring()
573 return yield; in pcre_get_substring()