md 234 ext/fileinfo/libmagic/magic.c unreadable_info(struct magic_set *ms, mode_t md, const char *file) md 245 ext/fileinfo/libmagic/magic.c if (S_ISREG(md)) md 83 ext/imap/php_imap.c static char *php_mail_gets(readfn_t f, void *stream, unsigned long size, GETS_DATA *md); md 4828 ext/imap/php_imap.c static char *php_mail_gets(readfn_t f, void *stream, unsigned long size, GETS_DATA *md) /* {{{ */ md 1816 ext/openssl/openssl.c unsigned char md[EVP_MAX_MD_SIZE]; md 1824 ext/openssl/openssl.c } else if (!X509_digest(peer, mdtype, md, &n)) { md 1830 ext/openssl/openssl.c ret = zend_string_init((char*)md, n, 0); md 1833 ext/openssl/openssl.c make_digest_ex(ZSTR_VAL(ret), md, n); md 46 ext/pcre/pcrelib/pcre_exec.c #define NLBLOCK md /* Block containing newline information */ md 129 ext/pcre/pcrelib/pcre_exec.c pchars(const pcre_uchar *p, int length, BOOL is_subject, match_data *md) md 132 ext/pcre/pcrelib/pcre_exec.c BOOL utf = md->utf; md 133 ext/pcre/pcrelib/pcre_exec.c if (is_subject && length > md->end_subject - p) length = md->end_subject - p; md 163 ext/pcre/pcrelib/pcre_exec.c match_ref(int offset, register PCRE_PUCHAR eptr, int length, match_data *md, md 167 ext/pcre/pcrelib/pcre_exec.c register PCRE_PUCHAR p = md->start_subject + md->offset_vector[offset]; md 169 ext/pcre/pcrelib/pcre_exec.c BOOL utf = md->utf; md 173 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 178 ext/pcre/pcrelib/pcre_exec.c pchars(eptr, length, TRUE, md); md 181 ext/pcre/pcrelib/pcre_exec.c pchars(p, length, FALSE, md); md 213 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) return -2; /* Partial match */ md 237 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) return -2; /* Partial match */ md 240 ext/pcre/pcrelib/pcre_exec.c if (TABLE_GET(cp, md->lcc, cp) != TABLE_GET(cc, md->lcc, cc)) return -1; md 254 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) return -2; /* Partial match */ md 472 ext/pcre/pcrelib/pcre_exec.c if (md->partial != 0 && eptr >= md->end_subject && \ md 473 ext/pcre/pcrelib/pcre_exec.c eptr > md->start_used_ptr) \ md 475 ext/pcre/pcrelib/pcre_exec.c md->hitend = TRUE; \ md 476 ext/pcre/pcrelib/pcre_exec.c if (md->partial > 1) RRETURN(PCRE_ERROR_PARTIAL); \ md 480 ext/pcre/pcrelib/pcre_exec.c if (md->partial != 0 && eptr > md->start_used_ptr) \ md 482 ext/pcre/pcrelib/pcre_exec.c md->hitend = TRUE; \ md 483 ext/pcre/pcrelib/pcre_exec.c if (md->partial > 1) RRETURN(PCRE_ERROR_PARTIAL); \ md 512 ext/pcre/pcrelib/pcre_exec.c PCRE_PUCHAR mstart, int offset_top, match_data *md, eptrblock *eptrb, md 536 ext/pcre/pcrelib/pcre_exec.c heapframe *frame = (heapframe *)md->match_frames_base; md 714 ext/pcre/pcrelib/pcre_exec.c utf = md->utf; /* Local copy of the flag */ md 722 ext/pcre/pcrelib/pcre_exec.c if (md->match_call_count++ >= md->match_limit) RRETURN(PCRE_ERROR_MATCHLIMIT); md 723 ext/pcre/pcrelib/pcre_exec.c if (rdepth >= md->match_limit_recursion) RRETURN(PCRE_ERROR_RECURSIONLIMIT); md 737 ext/pcre/pcrelib/pcre_exec.c if (md->match_function_type == MATCH_CBEGROUP) md 742 ext/pcre/pcrelib/pcre_exec.c md->match_function_type = 0; md 755 ext/pcre/pcrelib/pcre_exec.c md->nomatch_mark = ecode + 2; md 756 ext/pcre/pcrelib/pcre_exec.c md->mark = NULL; /* In case previously set by assertion */ md 757 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, md 760 ext/pcre/pcrelib/pcre_exec.c md->mark == NULL) md->mark = ecode + 2; md 770 ext/pcre/pcrelib/pcre_exec.c STRCMP_UC_UC_TEST(ecode + 2, md->start_match_ptr) == 0) md 772 ext/pcre/pcrelib/pcre_exec.c md->start_match_ptr = eptr; md 781 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, md 787 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, md 793 ext/pcre/pcrelib/pcre_exec.c md->nomatch_mark = ecode + 2; md 794 ext/pcre/pcrelib/pcre_exec.c md->mark = NULL; /* In case previously set by assertion */ md 795 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, md 798 ext/pcre/pcrelib/pcre_exec.c md->mark == NULL) md->mark = ecode + 2; md 803 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, md 806 ext/pcre/pcrelib/pcre_exec.c md->start_match_ptr = eptr; /* Pass back current position */ md 818 ext/pcre/pcrelib/pcre_exec.c md->skip_arg_count++; md 819 ext/pcre/pcrelib/pcre_exec.c if (md->skip_arg_count <= md->ignore_skip_arg) md 824 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, md 833 ext/pcre/pcrelib/pcre_exec.c md->start_match_ptr = ecode + 2; md 841 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, md 844 ext/pcre/pcrelib/pcre_exec.c md->start_match_ptr = ecode; md 848 ext/pcre/pcrelib/pcre_exec.c md->nomatch_mark = ecode + 2; md 849 ext/pcre/pcrelib/pcre_exec.c md->mark = NULL; /* In case previously set by assertion */ md 851 ext/pcre/pcrelib/pcre_exec.c md, eptrb, RM58); md 853 ext/pcre/pcrelib/pcre_exec.c md->mark == NULL) md->mark = ecode + 2; md 855 ext/pcre/pcrelib/pcre_exec.c md->start_match_ptr = ecode; md 874 ext/pcre/pcrelib/pcre_exec.c save_mark = md->mark; md 877 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM64); md 880 ext/pcre/pcrelib/pcre_exec.c mstart = md->start_match_ptr; md 886 ext/pcre/pcrelib/pcre_exec.c if (md->start_match_ptr < next && md 893 ext/pcre/pcrelib/pcre_exec.c md->mark = save_mark; md 906 ext/pcre/pcrelib/pcre_exec.c offset_top = md->end_offset_top; md 907 ext/pcre/pcrelib/pcre_exec.c eptr = md->end_match_ptr; md 926 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM65); md 933 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, prev, offset_top, md, eptrb, RM66); md 962 ext/pcre/pcrelib/pcre_exec.c pchars(eptr, 16, TRUE, md); md 966 ext/pcre/pcrelib/pcre_exec.c if (offset < md->offset_max) md 968 ext/pcre/pcrelib/pcre_exec.c save_offset1 = md->offset_vector[offset]; md 969 ext/pcre/pcrelib/pcre_exec.c save_offset2 = md->offset_vector[offset+1]; md 970 ext/pcre/pcrelib/pcre_exec.c save_offset3 = md->offset_vector[md->offset_end - number]; md 971 ext/pcre/pcrelib/pcre_exec.c save_capture_last = md->capture_last; md 972 ext/pcre/pcrelib/pcre_exec.c save_mark = md->mark; md 975 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[md->offset_end - number] = md 976 ext/pcre/pcrelib/pcre_exec.c (int)(eptr - md->start_subject); md 980 ext/pcre/pcrelib/pcre_exec.c if (op >= OP_SBRA) md->match_function_type = MATCH_CBEGROUP; md 981 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, md 999 ext/pcre/pcrelib/pcre_exec.c if (md->start_match_ptr < next && md 1007 ext/pcre/pcrelib/pcre_exec.c md->capture_last = save_capture_last; md 1009 ext/pcre/pcrelib/pcre_exec.c md->mark = save_mark; md 1014 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[offset] = save_offset1; md 1015 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[offset+1] = save_offset2; md 1016 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[md->offset_end - number] = save_offset3; md 1062 ext/pcre/pcrelib/pcre_exec.c md->match_function_type = MATCH_CBEGROUP; md 1068 ext/pcre/pcrelib/pcre_exec.c else if (!md->hasthen && ecode[GET(ecode, 1)] != OP_ALT) md 1076 ext/pcre/pcrelib/pcre_exec.c save_mark = md->mark; md 1077 ext/pcre/pcrelib/pcre_exec.c save_capture_last = md->capture_last; md 1078 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, eptrb, md 1087 ext/pcre/pcrelib/pcre_exec.c if (md->start_match_ptr < next && md 1102 ext/pcre/pcrelib/pcre_exec.c if (md->once_target == scode) rrc = MATCH_NOMATCH; md 1107 ext/pcre/pcrelib/pcre_exec.c md->mark = save_mark; md 1109 ext/pcre/pcrelib/pcre_exec.c md->capture_last = save_capture_last; md 1133 ext/pcre/pcrelib/pcre_exec.c pchars(eptr, 16, TRUE, md); md 1137 ext/pcre/pcrelib/pcre_exec.c if (offset >= md->offset_max) goto POSSESSIVE_NON_CAPTURE; md 1140 ext/pcre/pcrelib/pcre_exec.c code_offset = (int)(ecode - md->start_code); md 1142 ext/pcre/pcrelib/pcre_exec.c save_offset1 = md->offset_vector[offset]; md 1143 ext/pcre/pcrelib/pcre_exec.c save_offset2 = md->offset_vector[offset+1]; md 1144 ext/pcre/pcrelib/pcre_exec.c save_offset3 = md->offset_vector[md->offset_end - number]; md 1145 ext/pcre/pcrelib/pcre_exec.c save_capture_last = md->capture_last; md 1160 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[md->offset_end - number] = md 1161 ext/pcre/pcrelib/pcre_exec.c (int)(eptr - md->start_subject); md 1162 ext/pcre/pcrelib/pcre_exec.c if (op >= OP_SBRA) md->match_function_type = MATCH_CBEGROUP; md 1163 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, md 1167 ext/pcre/pcrelib/pcre_exec.c offset_top = md->end_offset_top; md 1168 ext/pcre/pcrelib/pcre_exec.c ecode = md->start_code + code_offset; md 1169 ext/pcre/pcrelib/pcre_exec.c save_capture_last = md->capture_last; md 1171 ext/pcre/pcrelib/pcre_exec.c mstart = md->start_match_ptr; /* In case \K changed it */ md 1172 ext/pcre/pcrelib/pcre_exec.c if (eptr == md->end_match_ptr) /* Matched an empty string */ md 1177 ext/pcre/pcrelib/pcre_exec.c eptr = md->end_match_ptr; md 1187 ext/pcre/pcrelib/pcre_exec.c if (md->start_match_ptr < next && md 1193 ext/pcre/pcrelib/pcre_exec.c md->capture_last = save_capture_last; md 1200 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[offset] = save_offset1; md 1201 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[offset+1] = save_offset2; md 1202 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[md->offset_end - number] = save_offset3; md 1224 ext/pcre/pcrelib/pcre_exec.c code_offset = (int)(ecode - md->start_code); md 1225 ext/pcre/pcrelib/pcre_exec.c save_capture_last = md->capture_last; md 1229 ext/pcre/pcrelib/pcre_exec.c if (op >= OP_SBRA) md->match_function_type = MATCH_CBEGROUP; md 1230 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, md 1234 ext/pcre/pcrelib/pcre_exec.c offset_top = md->end_offset_top; md 1235 ext/pcre/pcrelib/pcre_exec.c ecode = md->start_code + code_offset; md 1237 ext/pcre/pcrelib/pcre_exec.c mstart = md->start_match_ptr; /* In case \K reset it */ md 1238 ext/pcre/pcrelib/pcre_exec.c if (eptr == md->end_match_ptr) /* Matched an empty string */ md 1243 ext/pcre/pcrelib/pcre_exec.c eptr = md->end_match_ptr; md 1253 ext/pcre/pcrelib/pcre_exec.c if (md->start_match_ptr < next && md 1261 ext/pcre/pcrelib/pcre_exec.c md->capture_last = save_capture_last; md 1299 ext/pcre/pcrelib/pcre_exec.c cb.offset_vector = md->offset_vector; md 1301 ext/pcre/pcrelib/pcre_exec.c cb.subject = (PCRE_SPTR)md->start_subject; md 1303 ext/pcre/pcrelib/pcre_exec.c cb.subject = (PCRE_SPTR16)md->start_subject; md 1305 ext/pcre/pcrelib/pcre_exec.c cb.subject = (PCRE_SPTR32)md->start_subject; md 1307 ext/pcre/pcrelib/pcre_exec.c cb.subject_length = (int)(md->end_subject - md->start_subject); md 1308 ext/pcre/pcrelib/pcre_exec.c cb.start_match = (int)(mstart - md->start_subject); md 1309 ext/pcre/pcrelib/pcre_exec.c cb.current_position = (int)(eptr - md->start_subject); md 1313 ext/pcre/pcrelib/pcre_exec.c cb.capture_last = md->capture_last & CAPLMASK; md 1316 ext/pcre/pcrelib/pcre_exec.c cb.callout_data = md->callout_data; md 1317 ext/pcre/pcrelib/pcre_exec.c cb.mark = md->nomatch_mark; md 1335 ext/pcre/pcrelib/pcre_exec.c if (md->recursive != NULL) /* Not recursing => FALSE */ md 1338 ext/pcre/pcrelib/pcre_exec.c condition = (recno == RREF_ANY || recno == md->recursive->group_num); md 1343 ext/pcre/pcrelib/pcre_exec.c if (md->recursive != NULL) md 1346 ext/pcre/pcrelib/pcre_exec.c pcre_uchar *slot = md->name_table + GET2(ecode, 1) * md->name_entry_size; md 1350 ext/pcre/pcrelib/pcre_exec.c condition = recno == md->recursive->group_num; md 1352 ext/pcre/pcrelib/pcre_exec.c slot += md->name_entry_size; md 1359 ext/pcre/pcrelib/pcre_exec.c condition = offset < offset_top && md->offset_vector[offset] >= 0; md 1365 ext/pcre/pcrelib/pcre_exec.c pcre_uchar *slot = md->name_table + GET2(ecode, 1) * md->name_entry_size; md 1369 ext/pcre/pcrelib/pcre_exec.c condition = offset < offset_top && md->offset_vector[offset] >= 0; md 1371 ext/pcre/pcrelib/pcre_exec.c slot += md->name_entry_size; md 1385 ext/pcre/pcrelib/pcre_exec.c md->match_function_type = MATCH_CONDASSERT; md 1386 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, NULL, RM3); md 1389 ext/pcre/pcrelib/pcre_exec.c if (md->end_offset_top > offset_top) md 1390 ext/pcre/pcrelib/pcre_exec.c offset_top = md->end_offset_top; /* Captures may have happened */ md 1436 ext/pcre/pcrelib/pcre_exec.c md->match_function_type = MATCH_CBEGROUP; md 1437 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM49); md 1461 ext/pcre/pcrelib/pcre_exec.c md->capture_last = (md->capture_last & OVFLMASK) | number; md 1462 ext/pcre/pcrelib/pcre_exec.c if (offset >= md->offset_max) md->capture_last |= OVFLBIT; else md 1464 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[offset] = md 1465 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[md->offset_end - number]; md 1466 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[offset+1] = (int)(eptr - md->start_subject); md 1474 ext/pcre/pcrelib/pcre_exec.c register int *iptr = md->offset_vector + offset_top; md 1475 ext/pcre/pcrelib/pcre_exec.c register int *iend = md->offset_vector + offset; md 1496 ext/pcre/pcrelib/pcre_exec.c md->recursive == NULL && md 1497 ext/pcre/pcrelib/pcre_exec.c (md->notempty || md 1498 ext/pcre/pcrelib/pcre_exec.c (md->notempty_atstart && md 1499 ext/pcre/pcrelib/pcre_exec.c mstart == md->start_subject + md->start_offset))) md 1504 ext/pcre/pcrelib/pcre_exec.c md->end_match_ptr = eptr; /* Record where we ended */ md 1505 ext/pcre/pcrelib/pcre_exec.c md->end_offset_top = offset_top; /* and how many extracts were taken */ md 1506 ext/pcre/pcrelib/pcre_exec.c md->start_match_ptr = mstart; /* and the start (\K can modify) */ md 1527 ext/pcre/pcrelib/pcre_exec.c save_mark = md->mark; md 1528 ext/pcre/pcrelib/pcre_exec.c if (md->match_function_type == MATCH_CONDASSERT) md 1531 ext/pcre/pcrelib/pcre_exec.c md->match_function_type = 0; md 1539 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, NULL, RM4); md 1546 ext/pcre/pcrelib/pcre_exec.c mstart = md->start_match_ptr; /* In case \K reset it */ md 1552 ext/pcre/pcrelib/pcre_exec.c md->mark = save_mark; md 1560 ext/pcre/pcrelib/pcre_exec.c if (md->start_match_ptr < next && md 1590 ext/pcre/pcrelib/pcre_exec.c offset_top = md->end_offset_top; md 1598 ext/pcre/pcrelib/pcre_exec.c save_mark = md->mark; md 1599 ext/pcre/pcrelib/pcre_exec.c if (md->match_function_type == MATCH_CONDASSERT) md 1602 ext/pcre/pcrelib/pcre_exec.c md->match_function_type = 0; md 1610 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, NULL, RM5); md 1611 ext/pcre/pcrelib/pcre_exec.c md->mark = save_mark; /* Always restore the mark setting */ md 1627 ext/pcre/pcrelib/pcre_exec.c if (md->start_match_ptr < next && md 1679 ext/pcre/pcrelib/pcre_exec.c if (eptr < md->start_subject) RRETURN(MATCH_NOMATCH); md 1690 ext/pcre/pcrelib/pcre_exec.c if (eptr < md->start_subject) RRETURN(MATCH_NOMATCH); md 1695 ext/pcre/pcrelib/pcre_exec.c if (eptr < md->start_used_ptr) md->start_used_ptr = eptr; md 1709 ext/pcre/pcrelib/pcre_exec.c cb.offset_vector = md->offset_vector; md 1711 ext/pcre/pcrelib/pcre_exec.c cb.subject = (PCRE_SPTR)md->start_subject; md 1713 ext/pcre/pcrelib/pcre_exec.c cb.subject = (PCRE_SPTR16)md->start_subject; md 1715 ext/pcre/pcrelib/pcre_exec.c cb.subject = (PCRE_SPTR32)md->start_subject; md 1717 ext/pcre/pcrelib/pcre_exec.c cb.subject_length = (int)(md->end_subject - md->start_subject); md 1718 ext/pcre/pcrelib/pcre_exec.c cb.start_match = (int)(mstart - md->start_subject); md 1719 ext/pcre/pcrelib/pcre_exec.c cb.current_position = (int)(eptr - md->start_subject); md 1723 ext/pcre/pcrelib/pcre_exec.c cb.capture_last = md->capture_last & CAPLMASK; md 1726 ext/pcre/pcrelib/pcre_exec.c cb.callout_data = md->callout_data; md 1727 ext/pcre/pcrelib/pcre_exec.c cb.mark = md->nomatch_mark; md 1756 ext/pcre/pcrelib/pcre_exec.c callpat = md->start_code + GET(ecode, 1); md 1757 ext/pcre/pcrelib/pcre_exec.c recno = (callpat == md->start_code)? 0 : md 1764 ext/pcre/pcrelib/pcre_exec.c for (ri = md->recursive; ri != NULL; ri = ri->prevrec) md 1771 ext/pcre/pcrelib/pcre_exec.c new_recursive.saved_capture_last = md->capture_last; md 1773 ext/pcre/pcrelib/pcre_exec.c new_recursive.prevrec = md->recursive; md 1774 ext/pcre/pcrelib/pcre_exec.c md->recursive = &new_recursive; md 1782 ext/pcre/pcrelib/pcre_exec.c new_recursive.saved_max = md->offset_end; md 1791 ext/pcre/pcrelib/pcre_exec.c memcpy(new_recursive.offset_save, md->offset_vector, md 1803 ext/pcre/pcrelib/pcre_exec.c if (cbegroup) md->match_function_type = MATCH_CBEGROUP; md 1805 ext/pcre/pcrelib/pcre_exec.c md, eptrb, RM6); md 1806 ext/pcre/pcrelib/pcre_exec.c memcpy(md->offset_vector, new_recursive.offset_save, md 1808 ext/pcre/pcrelib/pcre_exec.c md->capture_last = new_recursive.saved_capture_last; md 1809 ext/pcre/pcrelib/pcre_exec.c md->recursive = new_recursive.prevrec; md 1820 ext/pcre/pcrelib/pcre_exec.c eptr = md->end_match_ptr; md 1821 ext/pcre/pcrelib/pcre_exec.c mstart = md->start_match_ptr; md 1846 ext/pcre/pcrelib/pcre_exec.c md->recursive = &new_recursive; md 1852 ext/pcre/pcrelib/pcre_exec.c md->recursive = new_recursive.prevrec; md 1876 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, next, offset_top, md, eptrb, RM10); md 1885 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, next + 1+LINK_SIZE, offset_top, md, eptrb, RM11); md 1932 ext/pcre/pcrelib/pcre_exec.c md->end_match_ptr = eptr; /* For ONCE_NC */ md 1933 ext/pcre/pcrelib/pcre_exec.c md->end_offset_top = offset_top; md 1934 ext/pcre/pcrelib/pcre_exec.c md->start_match_ptr = mstart; md 1959 ext/pcre/pcrelib/pcre_exec.c if (md->recursive != NULL && md->recursive->group_num == number) md 1961 ext/pcre/pcrelib/pcre_exec.c md->end_match_ptr = eptr; md 1962 ext/pcre/pcrelib/pcre_exec.c md->start_match_ptr = mstart; md 1968 ext/pcre/pcrelib/pcre_exec.c md->capture_last = (md->capture_last & OVFLMASK) | number; md 1969 ext/pcre/pcrelib/pcre_exec.c if (offset >= md->offset_max) md->capture_last |= OVFLBIT; else md 1983 ext/pcre/pcrelib/pcre_exec.c register int *iptr = md->offset_vector + offset_top; md 1984 ext/pcre/pcrelib/pcre_exec.c register int *iend = md->offset_vector + offset; md 1990 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[offset] = md 1991 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[md->offset_end - number]; md 1992 ext/pcre/pcrelib/pcre_exec.c md->offset_vector[offset+1] = (int)(eptr - md->start_subject); md 2004 ext/pcre/pcrelib/pcre_exec.c md->start_match_ptr = mstart; /* In case \K reset it */ md 2005 ext/pcre/pcrelib/pcre_exec.c md->end_match_ptr = eptr; md 2006 ext/pcre/pcrelib/pcre_exec.c md->end_offset_top = offset_top; md 2023 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM12); md 2025 ext/pcre/pcrelib/pcre_exec.c md->once_target = prev; /* Level at which to change to MATCH_NOMATCH */ md 2040 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM7); md 2044 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, prev, offset_top, md, eptrb, RM8); md 2046 ext/pcre/pcrelib/pcre_exec.c md->once_target = prev; /* Level at which to change to MATCH_NOMATCH */ md 2051 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, prev, offset_top, md, eptrb, RM50); md 2059 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, prev, offset_top, md, eptrb, RM13); md 2060 ext/pcre/pcrelib/pcre_exec.c if (rrc == MATCH_ONCE && md->once_target == prev) rrc = MATCH_NOMATCH; md 2064 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode + 1 + LINK_SIZE, offset_top, md, eptrb, RM9); md 2066 ext/pcre/pcrelib/pcre_exec.c md->once_target = prev; md 2077 ext/pcre/pcrelib/pcre_exec.c if (md->notbol && eptr == md->start_subject) RRETURN(MATCH_NOMATCH); md 2082 ext/pcre/pcrelib/pcre_exec.c if (eptr != md->start_subject) RRETURN(MATCH_NOMATCH); md 2089 ext/pcre/pcrelib/pcre_exec.c if (md->notbol && eptr == md->start_subject) RRETURN(MATCH_NOMATCH); md 2090 ext/pcre/pcrelib/pcre_exec.c if (eptr != md->start_subject && md 2091 ext/pcre/pcrelib/pcre_exec.c (eptr == md->end_subject || !WAS_NEWLINE(eptr))) md 2099 ext/pcre/pcrelib/pcre_exec.c if (eptr != md->start_subject + md->start_offset) RRETURN(MATCH_NOMATCH); md 2114 ext/pcre/pcrelib/pcre_exec.c if (eptr < md->end_subject) md 2118 ext/pcre/pcrelib/pcre_exec.c if (md->partial != 0 && md 2119 ext/pcre/pcrelib/pcre_exec.c eptr + 1 >= md->end_subject && md 2124 ext/pcre/pcrelib/pcre_exec.c md->hitend = TRUE; md 2125 ext/pcre/pcrelib/pcre_exec.c if (md->partial > 1) RRETURN(PCRE_ERROR_PARTIAL); md 2132 ext/pcre/pcrelib/pcre_exec.c if (md->noteol) RRETURN(MATCH_NOMATCH); md 2142 ext/pcre/pcrelib/pcre_exec.c if (md->noteol) RRETURN(MATCH_NOMATCH); md 2143 ext/pcre/pcrelib/pcre_exec.c if (!md->endonly) goto ASSERT_NL_OR_EOS; md 2150 ext/pcre/pcrelib/pcre_exec.c if (eptr < md->end_subject) RRETURN(MATCH_NOMATCH); md 2159 ext/pcre/pcrelib/pcre_exec.c if (eptr < md->end_subject && md 2160 ext/pcre/pcrelib/pcre_exec.c (!IS_NEWLINE(eptr) || eptr != md->end_subject - md->nllen)) md 2162 ext/pcre/pcrelib/pcre_exec.c if (md->partial != 0 && md 2163 ext/pcre/pcrelib/pcre_exec.c eptr + 1 >= md->end_subject && md 2168 ext/pcre/pcrelib/pcre_exec.c md->hitend = TRUE; md 2169 ext/pcre/pcrelib/pcre_exec.c if (md->partial > 1) RRETURN(PCRE_ERROR_PARTIAL); md 2196 ext/pcre/pcrelib/pcre_exec.c if (eptr == md->start_subject) prev_is_word = FALSE; else md 2200 ext/pcre/pcrelib/pcre_exec.c if (lastptr < md->start_used_ptr) md->start_used_ptr = lastptr; md 2203 ext/pcre/pcrelib/pcre_exec.c if (md->use_ucp) md 2213 ext/pcre/pcrelib/pcre_exec.c prev_is_word = c < 256 && (md->ctypes[c] & ctype_word) != 0; md 2218 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2227 ext/pcre/pcrelib/pcre_exec.c if (md->use_ucp) md 2237 ext/pcre/pcrelib/pcre_exec.c cur_is_word = c < 256 && (md->ctypes[c] & ctype_word) != 0; md 2249 ext/pcre/pcrelib/pcre_exec.c if (eptr == md->start_subject) prev_is_word = FALSE; else md 2251 ext/pcre/pcrelib/pcre_exec.c if (eptr <= md->start_used_ptr) md->start_used_ptr = eptr - 1; md 2253 ext/pcre/pcrelib/pcre_exec.c if (md->use_ucp) md 2265 ext/pcre/pcrelib/pcre_exec.c && ((md->ctypes[eptr[-1]] & ctype_word) != 0); md 2270 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2277 ext/pcre/pcrelib/pcre_exec.c if (md->use_ucp) md 2289 ext/pcre/pcrelib/pcre_exec.c && ((md->ctypes[*eptr] & ctype_word) != 0); md 2305 ext/pcre/pcrelib/pcre_exec.c if (md->partial != 0 && md 2306 ext/pcre/pcrelib/pcre_exec.c eptr + 1 >= md->end_subject && md 2311 ext/pcre/pcrelib/pcre_exec.c md->hitend = TRUE; md 2312 ext/pcre/pcrelib/pcre_exec.c if (md->partial > 1) RRETURN(PCRE_ERROR_PARTIAL); md 2320 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) /* DO NOT merge the eptr++ here; it must */ md 2327 ext/pcre/pcrelib/pcre_exec.c if (utf) ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); md 2336 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) /* DO NOT merge the eptr++ here; it must */ md 2346 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2356 ext/pcre/pcrelib/pcre_exec.c (md->ctypes[c] & ctype_digit) != 0 md 2363 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2373 ext/pcre/pcrelib/pcre_exec.c (md->ctypes[c] & ctype_digit) == 0 md 2380 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2390 ext/pcre/pcrelib/pcre_exec.c (md->ctypes[c] & ctype_space) != 0 md 2397 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2407 ext/pcre/pcrelib/pcre_exec.c (md->ctypes[c] & ctype_space) == 0 md 2414 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2424 ext/pcre/pcrelib/pcre_exec.c (md->ctypes[c] & ctype_word) != 0 md 2431 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2441 ext/pcre/pcrelib/pcre_exec.c (md->ctypes[c] & ctype_word) == 0 md 2448 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2459 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2476 ext/pcre/pcrelib/pcre_exec.c if (md->bsr_anycrlf) RRETURN(MATCH_NOMATCH); md 2483 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2498 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2513 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2528 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2548 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2653 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2663 ext/pcre/pcrelib/pcre_exec.c while (eptr < md->end_subject) md 2707 ext/pcre/pcrelib/pcre_exec.c pcre_uchar *slot = md->name_table + GET2(ecode, 1) * md->name_entry_size; md 2713 ext/pcre/pcrelib/pcre_exec.c length = (md->jscript_compat)? 0 : -1; md 2719 ext/pcre/pcrelib/pcre_exec.c if (offset < offset_top && md->offset_vector[offset] >= 0) md 2721 ext/pcre/pcrelib/pcre_exec.c length = md->offset_vector[offset+1] - md->offset_vector[offset]; md 2724 ext/pcre/pcrelib/pcre_exec.c slot += md->name_entry_size; md 2734 ext/pcre/pcrelib/pcre_exec.c if (offset >= offset_top || md->offset_vector[offset] < 0) md 2735 ext/pcre/pcrelib/pcre_exec.c length = (md->jscript_compat)? 0 : -1; md 2737 ext/pcre/pcrelib/pcre_exec.c length = md->offset_vector[offset+1] - md->offset_vector[offset]; md 2767 ext/pcre/pcrelib/pcre_exec.c if ((length = match_ref(offset, eptr, length, md, caseless)) < 0) md 2769 ext/pcre/pcrelib/pcre_exec.c if (length == -2) eptr = md->end_subject; /* Partial match */ md 2793 ext/pcre/pcrelib/pcre_exec.c if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) md 2795 ext/pcre/pcrelib/pcre_exec.c if (slength == -2) eptr = md->end_subject; /* Partial match */ md 2814 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM14); md 2817 ext/pcre/pcrelib/pcre_exec.c if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) md 2819 ext/pcre/pcrelib/pcre_exec.c if (slength == -2) eptr = md->end_subject; /* Partial match */ md 2836 ext/pcre/pcrelib/pcre_exec.c if ((slength = match_ref(offset, eptr, length, md, caseless)) < 0) md 2841 ext/pcre/pcrelib/pcre_exec.c if (slength == -2 && md->partial != 0 && md 2842 ext/pcre/pcrelib/pcre_exec.c md->end_subject > md->start_used_ptr) md 2844 ext/pcre/pcrelib/pcre_exec.c md->hitend = TRUE; md 2845 ext/pcre/pcrelib/pcre_exec.c if (md->partial > 1) RRETURN(PCRE_ERROR_PARTIAL); md 2854 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM15); md 2924 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2944 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2976 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM16); md 2979 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 2999 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM17); md 3002 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3033 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3052 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM18); md 3064 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3085 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM19); md 3148 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3169 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM20); md 3172 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3191 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3209 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM21); md 3232 ext/pcre/pcrelib/pcre_exec.c if (length > md->end_subject - eptr) md 3243 ext/pcre/pcrelib/pcre_exec.c if (md->end_subject - eptr < 1) md 3257 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3278 ext/pcre/pcrelib/pcre_exec.c if (md->lcc[fc] != TABLE_GET(cc, md->lcc, cc)) RRETURN(MATCH_NOMATCH); md 3310 ext/pcre/pcrelib/pcre_exec.c if (TABLE_GET(ecode[1], md->lcc, ecode[1]) md 3311 ext/pcre/pcrelib/pcre_exec.c != TABLE_GET(*eptr, md->lcc, *eptr)) RRETURN(MATCH_NOMATCH); md 3423 ext/pcre/pcrelib/pcre_exec.c if (eptr <= md->end_subject - length && md 3427 ext/pcre/pcrelib/pcre_exec.c eptr <= md->end_subject - oclength && md 3443 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM22); md 3446 ext/pcre/pcrelib/pcre_exec.c if (eptr <= md->end_subject - length && md 3450 ext/pcre/pcrelib/pcre_exec.c eptr <= md->end_subject - oclength && md 3467 ext/pcre/pcrelib/pcre_exec.c if (eptr <= md->end_subject - length && md 3471 ext/pcre/pcrelib/pcre_exec.c eptr <= md->end_subject - oclength && md 3485 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM23); md 3523 ext/pcre/pcrelib/pcre_exec.c foc = md->fcc[fc]; md 3535 ext/pcre/pcrelib/pcre_exec.c foc = TABLE_GET(fc, md->fcc, fc); md 3541 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3556 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM24); md 3559 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3576 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3589 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM25); md 3603 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3617 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM26); md 3620 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3634 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3646 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM27); md 3660 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3688 ext/pcre/pcrelib/pcre_exec.c och = TABLE_GET(ch, md->fcc, ch); md 3697 ext/pcre/pcrelib/pcre_exec.c if (ch == c || (op == OP_NOTI && TABLE_GET(ch, md->fcc, ch) == c)) md 3804 ext/pcre/pcrelib/pcre_exec.c foc = TABLE_GET(fc, md->fcc, fc); md 3812 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3827 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3847 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM28); md 3850 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3865 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM29); md 3868 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3893 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3906 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM30); md 3918 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3930 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM31); md 3949 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3964 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 3983 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM32); md 3986 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4001 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM33); md 4004 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4028 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4041 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM34); md 4053 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4065 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM35); md 4167 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4180 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4197 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4211 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4225 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4240 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4260 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4285 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4302 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4322 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4349 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4359 ext/pcre/pcrelib/pcre_exec.c while (eptr < md->end_subject) md 4384 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4390 ext/pcre/pcrelib/pcre_exec.c if (md->partial != 0 && md 4391 ext/pcre/pcrelib/pcre_exec.c eptr + 1 >= md->end_subject && md 4396 ext/pcre/pcrelib/pcre_exec.c md->hitend = TRUE; md 4397 ext/pcre/pcrelib/pcre_exec.c if (md->partial > 1) RRETURN(PCRE_ERROR_PARTIAL); md 4400 ext/pcre/pcrelib/pcre_exec.c ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); md 4407 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4413 ext/pcre/pcrelib/pcre_exec.c ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); md 4418 ext/pcre/pcrelib/pcre_exec.c if (eptr > md->end_subject - min) RRETURN(MATCH_NOMATCH); md 4425 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4436 ext/pcre/pcrelib/pcre_exec.c if (eptr < md->end_subject && UCHAR21(eptr) == CHAR_LF) eptr++; md 4449 ext/pcre/pcrelib/pcre_exec.c if (md->bsr_anycrlf) RRETURN(MATCH_NOMATCH); md 4458 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4475 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4492 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4509 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4526 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4532 ext/pcre/pcrelib/pcre_exec.c if (c < 128 && (md->ctypes[c] & ctype_digit) != 0) md 4541 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4547 ext/pcre/pcrelib/pcre_exec.c if (cc >= 128 || (md->ctypes[cc] & ctype_digit) == 0) md 4558 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4564 ext/pcre/pcrelib/pcre_exec.c if (cc < 128 && (md->ctypes[cc] & ctype_space) != 0) md 4567 ext/pcre/pcrelib/pcre_exec.c ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); md 4575 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4581 ext/pcre/pcrelib/pcre_exec.c if (cc >= 128 || (md->ctypes[cc] & ctype_space) == 0) md 4592 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4598 ext/pcre/pcrelib/pcre_exec.c if (cc < 128 && (md->ctypes[cc] & ctype_word) != 0) md 4601 ext/pcre/pcrelib/pcre_exec.c ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); md 4609 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4615 ext/pcre/pcrelib/pcre_exec.c if (cc >= 128 || (md->ctypes[cc] & ctype_word) == 0) md 4637 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4643 ext/pcre/pcrelib/pcre_exec.c if (md->partial != 0 && md 4644 ext/pcre/pcrelib/pcre_exec.c eptr + 1 >= md->end_subject && md 4649 ext/pcre/pcrelib/pcre_exec.c md->hitend = TRUE; md 4650 ext/pcre/pcrelib/pcre_exec.c if (md->partial > 1) RRETURN(PCRE_ERROR_PARTIAL); md 4657 ext/pcre/pcrelib/pcre_exec.c if (eptr > md->end_subject - min) md 4666 ext/pcre/pcrelib/pcre_exec.c if (eptr > md->end_subject - min) md 4677 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4687 ext/pcre/pcrelib/pcre_exec.c if (eptr < md->end_subject && *eptr == CHAR_LF) eptr++; md 4700 ext/pcre/pcrelib/pcre_exec.c if (md->bsr_anycrlf) RRETURN(MATCH_NOMATCH); md 4709 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4729 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4749 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4769 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4789 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4794 ext/pcre/pcrelib/pcre_exec.c if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_digit) != 0) md 4803 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4808 ext/pcre/pcrelib/pcre_exec.c if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_digit) == 0) md 4817 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4822 ext/pcre/pcrelib/pcre_exec.c if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_space) != 0) md 4831 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4836 ext/pcre/pcrelib/pcre_exec.c if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_space) == 0) md 4845 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4850 ext/pcre/pcrelib/pcre_exec.c if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_word) != 0) md 4859 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4864 ext/pcre/pcrelib/pcre_exec.c if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_word) == 0) md 4893 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM36); md 4896 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4910 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM37); md 4913 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4930 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM38); md 4933 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4947 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM39); md 4950 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4964 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM40); md 4967 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 4982 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM59); md 4985 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5005 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM61); md 5008 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5033 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM62); md 5036 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5055 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM67); md 5058 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5078 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM60); md 5081 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5107 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM41); md 5110 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5120 ext/pcre/pcrelib/pcre_exec.c while (eptr < md->end_subject) md 5141 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM42); md 5144 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5155 ext/pcre/pcrelib/pcre_exec.c if (md->partial != 0 && /* Take care with CRLF partial */ md 5156 ext/pcre/pcrelib/pcre_exec.c eptr >= md->end_subject && md 5161 ext/pcre/pcrelib/pcre_exec.c md->hitend = TRUE; md 5162 ext/pcre/pcrelib/pcre_exec.c if (md->partial > 1) RRETURN(PCRE_ERROR_PARTIAL); md 5175 ext/pcre/pcrelib/pcre_exec.c if (eptr < md->end_subject && UCHAR21(eptr) == CHAR_LF) eptr++; md 5188 ext/pcre/pcrelib/pcre_exec.c if (md->bsr_anycrlf) RRETURN(MATCH_NOMATCH); md 5226 ext/pcre/pcrelib/pcre_exec.c if (c < 256 && (md->ctypes[c] & ctype_digit) != 0) md 5231 ext/pcre/pcrelib/pcre_exec.c if (c >= 256 || (md->ctypes[c] & ctype_digit) == 0) md 5236 ext/pcre/pcrelib/pcre_exec.c if (c < 256 && (md->ctypes[c] & ctype_space) != 0) md 5241 ext/pcre/pcrelib/pcre_exec.c if (c >= 256 || (md->ctypes[c] & ctype_space) == 0) md 5246 ext/pcre/pcrelib/pcre_exec.c if (c < 256 && (md->ctypes[c] & ctype_word) != 0) md 5251 ext/pcre/pcrelib/pcre_exec.c if (c >= 256 || (md->ctypes[c] & ctype_word) == 0) md 5266 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM43); md 5269 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5280 ext/pcre/pcrelib/pcre_exec.c if (md->partial != 0 && /* Take care with CRLF partial */ md 5281 ext/pcre/pcrelib/pcre_exec.c eptr >= md->end_subject && md 5286 ext/pcre/pcrelib/pcre_exec.c md->hitend = TRUE; md 5287 ext/pcre/pcrelib/pcre_exec.c if (md->partial > 1) RRETURN(PCRE_ERROR_PARTIAL); md 5300 ext/pcre/pcrelib/pcre_exec.c if (eptr < md->end_subject && *eptr == CHAR_LF) eptr++; md 5313 ext/pcre/pcrelib/pcre_exec.c if (md->bsr_anycrlf) RRETURN(MATCH_NOMATCH); md 5367 ext/pcre/pcrelib/pcre_exec.c if (MAX_255(c) && (md->ctypes[c] & ctype_digit) != 0) RRETURN(MATCH_NOMATCH); md 5371 ext/pcre/pcrelib/pcre_exec.c if (!MAX_255(c) || (md->ctypes[c] & ctype_digit) == 0) RRETURN(MATCH_NOMATCH); md 5375 ext/pcre/pcrelib/pcre_exec.c if (MAX_255(c) && (md->ctypes[c] & ctype_space) != 0) RRETURN(MATCH_NOMATCH); md 5379 ext/pcre/pcrelib/pcre_exec.c if (!MAX_255(c) || (md->ctypes[c] & ctype_space) == 0) RRETURN(MATCH_NOMATCH); md 5383 ext/pcre/pcrelib/pcre_exec.c if (MAX_255(c) && (md->ctypes[c] & ctype_word) != 0) RRETURN(MATCH_NOMATCH); md 5387 ext/pcre/pcrelib/pcre_exec.c if (!MAX_255(c) || (md->ctypes[c] & ctype_word) == 0) RRETURN(MATCH_NOMATCH); md 5415 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5431 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5450 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5465 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5480 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5496 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5518 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5546 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5565 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5588 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5612 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM44); md 5626 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5636 ext/pcre/pcrelib/pcre_exec.c while (eptr < md->end_subject) md 5664 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM45); md 5707 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5713 ext/pcre/pcrelib/pcre_exec.c if (md->partial != 0 && /* Take care with CRLF partial */ md 5714 ext/pcre/pcrelib/pcre_exec.c eptr + 1 >= md->end_subject && md 5719 ext/pcre/pcrelib/pcre_exec.c md->hitend = TRUE; md 5720 ext/pcre/pcrelib/pcre_exec.c if (md->partial > 1) RRETURN(PCRE_ERROR_PARTIAL); md 5723 ext/pcre/pcrelib/pcre_exec.c ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); md 5732 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5738 ext/pcre/pcrelib/pcre_exec.c ACROSSCHAR(eptr < md->end_subject, *eptr, eptr++); md 5743 ext/pcre/pcrelib/pcre_exec.c eptr = md->end_subject; /* Unlimited UTF-8 repeat */ md 5752 ext/pcre/pcrelib/pcre_exec.c if (c > (unsigned int)(md->end_subject - eptr)) md 5754 ext/pcre/pcrelib/pcre_exec.c eptr = md->end_subject; md 5764 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5772 ext/pcre/pcrelib/pcre_exec.c if (++eptr >= md->end_subject) break; md 5778 ext/pcre/pcrelib/pcre_exec.c (md->bsr_anycrlf || md 5796 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5818 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5838 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5844 ext/pcre/pcrelib/pcre_exec.c if (c < 256 && (md->ctypes[c] & ctype_digit) != 0) break; md 5853 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5859 ext/pcre/pcrelib/pcre_exec.c if (c >= 256 ||(md->ctypes[c] & ctype_digit) == 0) break; md 5868 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5874 ext/pcre/pcrelib/pcre_exec.c if (c < 256 && (md->ctypes[c] & ctype_space) != 0) break; md 5883 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5889 ext/pcre/pcrelib/pcre_exec.c if (c >= 256 ||(md->ctypes[c] & ctype_space) == 0) break; md 5898 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5904 ext/pcre/pcrelib/pcre_exec.c if (c < 256 && (md->ctypes[c] & ctype_word) != 0) break; md 5913 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5919 ext/pcre/pcrelib/pcre_exec.c if (c >= 256 || (md->ctypes[c] & ctype_word) == 0) break; md 5932 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM46); md 5949 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5955 ext/pcre/pcrelib/pcre_exec.c if (md->partial != 0 && /* Take care with CRLF partial */ md 5956 ext/pcre/pcrelib/pcre_exec.c eptr + 1 >= md->end_subject && md 5961 ext/pcre/pcrelib/pcre_exec.c md->hitend = TRUE; md 5962 ext/pcre/pcrelib/pcre_exec.c if (md->partial > 1) RRETURN(PCRE_ERROR_PARTIAL); md 5971 ext/pcre/pcrelib/pcre_exec.c if (c > (unsigned int)(md->end_subject - eptr)) md 5973 ext/pcre/pcrelib/pcre_exec.c eptr = md->end_subject; md 5982 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 5990 ext/pcre/pcrelib/pcre_exec.c if (++eptr >= md->end_subject) break; md 5995 ext/pcre/pcrelib/pcre_exec.c if (c != CHAR_LF && (md->bsr_anycrlf || md 6009 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 6030 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 6051 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 6072 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 6093 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 6098 ext/pcre/pcrelib/pcre_exec.c if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_digit) != 0) break; md 6106 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 6111 ext/pcre/pcrelib/pcre_exec.c if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_digit) == 0) break; md 6119 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 6124 ext/pcre/pcrelib/pcre_exec.c if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_space) != 0) break; md 6132 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 6137 ext/pcre/pcrelib/pcre_exec.c if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_space) == 0) break; md 6145 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 6150 ext/pcre/pcrelib/pcre_exec.c if (MAX_255(*eptr) && (md->ctypes[*eptr] & ctype_word) != 0) break; md 6158 ext/pcre/pcrelib/pcre_exec.c if (eptr >= md->end_subject) md 6163 ext/pcre/pcrelib/pcre_exec.c if (!MAX_255(*eptr) || (md->ctypes[*eptr] & ctype_word) == 0) break; md 6176 ext/pcre/pcrelib/pcre_exec.c RMATCH(eptr, ecode, offset_top, md, eptrb, RM47); md 6374 ext/pcre/pcrelib/pcre_exec.c match_data *md = &match_block; md 6390 ext/pcre/pcrelib/pcre_exec.c md->match_frames_base = &frame_zero; md 6431 ext/pcre/pcrelib/pcre_exec.c utf = md->utf = (re->options & PCRE_UTF8) != 0; md 6432 ext/pcre/pcrelib/pcre_exec.c md->partial = ((options & PCRE_PARTIAL_HARD) != 0)? 2 : md 6451 ext/pcre/pcrelib/pcre_exec.c return (errorcode <= PCRE_UTF8_ERR5 && md->partial > 1)? md 6454 ext/pcre/pcrelib/pcre_exec.c return (errorcode <= PCRE_UTF16_ERR1 && md->partial > 1)? md 6494 ext/pcre/pcrelib/pcre_exec.c md->name_table = (pcre_uchar *)re + re->name_table_offset; md 6495 ext/pcre/pcrelib/pcre_exec.c md->name_count = re->name_count; md 6496 ext/pcre/pcrelib/pcre_exec.c md->name_entry_size = re->name_entry_size; md 6502 ext/pcre/pcrelib/pcre_exec.c md->match_limit = MATCH_LIMIT; md 6503 ext/pcre/pcrelib/pcre_exec.c md->match_limit_recursion = MATCH_LIMIT_RECURSION; md 6504 ext/pcre/pcrelib/pcre_exec.c md->callout_data = NULL; md 6518 ext/pcre/pcrelib/pcre_exec.c md->match_limit = extra_data->match_limit; md 6520 ext/pcre/pcrelib/pcre_exec.c md->match_limit_recursion = extra_data->match_limit_recursion; md 6522 ext/pcre/pcrelib/pcre_exec.c md->callout_data = extra_data->callout_data; md 6528 ext/pcre/pcrelib/pcre_exec.c if ((re->flags & PCRE_MLSET) != 0 && re->limit_match < md->match_limit) md 6529 ext/pcre/pcrelib/pcre_exec.c md->match_limit = re->limit_match; md 6532 ext/pcre/pcrelib/pcre_exec.c re->limit_recursion < md->match_limit_recursion) md 6533 ext/pcre/pcrelib/pcre_exec.c md->match_limit_recursion = re->limit_recursion; md 6549 ext/pcre/pcrelib/pcre_exec.c md->start_code = (const pcre_uchar *)re + re->name_table_offset + md 6552 ext/pcre/pcrelib/pcre_exec.c md->start_subject = (PCRE_PUCHAR)subject; md 6553 ext/pcre/pcrelib/pcre_exec.c md->start_offset = start_offset; md 6554 ext/pcre/pcrelib/pcre_exec.c md->end_subject = md->start_subject + length; md 6555 ext/pcre/pcrelib/pcre_exec.c end_subject = md->end_subject; md 6557 ext/pcre/pcrelib/pcre_exec.c md->endonly = (re->options & PCRE_DOLLAR_ENDONLY) != 0; md 6558 ext/pcre/pcrelib/pcre_exec.c md->use_ucp = (re->options & PCRE_UCP) != 0; md 6559 ext/pcre/pcrelib/pcre_exec.c md->jscript_compat = (re->options & PCRE_JAVASCRIPT_COMPAT) != 0; md 6560 ext/pcre/pcrelib/pcre_exec.c md->ignore_skip_arg = 0; md 6565 ext/pcre/pcrelib/pcre_exec.c md->notbol = (options & PCRE_NOTBOL) != 0; md 6566 ext/pcre/pcrelib/pcre_exec.c md->noteol = (options & PCRE_NOTEOL) != 0; md 6567 ext/pcre/pcrelib/pcre_exec.c md->notempty = (options & PCRE_NOTEMPTY) != 0; md 6568 ext/pcre/pcrelib/pcre_exec.c md->notempty_atstart = (options & PCRE_NOTEMPTY_ATSTART) != 0; md 6570 ext/pcre/pcrelib/pcre_exec.c md->hitend = FALSE; md 6571 ext/pcre/pcrelib/pcre_exec.c md->mark = md->nomatch_mark = NULL; /* In case never set */ md 6573 ext/pcre/pcrelib/pcre_exec.c md->recursive = NULL; /* No recursion at top level */ md 6574 ext/pcre/pcrelib/pcre_exec.c md->hasthen = (re->flags & PCRE_HASTHEN) != 0; md 6576 ext/pcre/pcrelib/pcre_exec.c md->lcc = tables + lcc_offset; md 6577 ext/pcre/pcrelib/pcre_exec.c md->fcc = tables + fcc_offset; md 6578 ext/pcre/pcrelib/pcre_exec.c md->ctypes = tables + ctypes_offset; md 6586 ext/pcre/pcrelib/pcre_exec.c md->bsr_anycrlf = (re->options & PCRE_BSR_ANYCRLF) != 0; md 6589 ext/pcre/pcrelib/pcre_exec.c md->bsr_anycrlf = TRUE; md 6591 ext/pcre/pcrelib/pcre_exec.c md->bsr_anycrlf = FALSE; md 6596 ext/pcre/pcrelib/pcre_exec.c md->bsr_anycrlf = TRUE; md 6600 ext/pcre/pcrelib/pcre_exec.c md->bsr_anycrlf = FALSE; md 6624 ext/pcre/pcrelib/pcre_exec.c md->nltype = NLTYPE_ANYCRLF; md 6628 ext/pcre/pcrelib/pcre_exec.c md->nltype = NLTYPE_ANY; md 6632 ext/pcre/pcrelib/pcre_exec.c md->nltype = NLTYPE_FIXED; md 6635 ext/pcre/pcrelib/pcre_exec.c md->nllen = 2; md 6636 ext/pcre/pcrelib/pcre_exec.c md->nl[0] = (newline >> 8) & 255; md 6637 ext/pcre/pcrelib/pcre_exec.c md->nl[1] = newline & 255; md 6641 ext/pcre/pcrelib/pcre_exec.c md->nllen = 1; md 6642 ext/pcre/pcrelib/pcre_exec.c md->nl[0] = newline; md 6650 ext/pcre/pcrelib/pcre_exec.c if (md->partial && (re->flags & PCRE_NOPARTIAL) != 0) md 6664 ext/pcre/pcrelib/pcre_exec.c md->offset_vector = (int *)(PUBL(malloc))(ocount * sizeof(int)); md 6665 ext/pcre/pcrelib/pcre_exec.c if (md->offset_vector == NULL) return PCRE_ERROR_NOMEMORY; md 6669 ext/pcre/pcrelib/pcre_exec.c else md->offset_vector = offsets; md 6670 ext/pcre/pcrelib/pcre_exec.c md->offset_end = ocount; md 6671 ext/pcre/pcrelib/pcre_exec.c md->offset_max = (2*ocount)/3; md 6672 ext/pcre/pcrelib/pcre_exec.c md->capture_last = 0; md 6680 ext/pcre/pcrelib/pcre_exec.c if (md->offset_vector != NULL) md 6682 ext/pcre/pcrelib/pcre_exec.c register int *iptr = md->offset_vector + ocount; md 6684 ext/pcre/pcrelib/pcre_exec.c if (iend < md->offset_vector + 2) iend = md->offset_vector + 2; md 6686 ext/pcre/pcrelib/pcre_exec.c if (offsetcount > 0) md->offset_vector[0] = -1; md 6687 ext/pcre/pcrelib/pcre_exec.c if (offsetcount > 1) md->offset_vector[1] = -1; md 6704 ext/pcre/pcrelib/pcre_exec.c first_char2 = TABLE_GET(first_char, md->fcc, first_char); md 6726 ext/pcre/pcrelib/pcre_exec.c req_char2 = TABLE_GET(req_char, md->fcc, req_char); md 6757 ext/pcre/pcrelib/pcre_exec.c while (t < md->end_subject && !IS_NEWLINE(t)) md 6765 ext/pcre/pcrelib/pcre_exec.c while (t < md->end_subject && !IS_NEWLINE(t)) t++; md 6796 ext/pcre/pcrelib/pcre_exec.c if (start_match > md->start_subject + start_offset) md 6818 ext/pcre/pcrelib/pcre_exec.c (md->nltype == NLTYPE_ANY || md->nltype == NLTYPE_ANYCRLF) && md 6848 ext/pcre/pcrelib/pcre_exec.c if (((options | re->options) & PCRE_NO_START_OPTIMIZE) == 0 && !md->partial) md 6921 ext/pcre/pcrelib/pcre_exec.c pchars(start_match, end_subject - start_match, TRUE, md); md 6928 ext/pcre/pcrelib/pcre_exec.c md->start_match_ptr = start_match; md 6929 ext/pcre/pcrelib/pcre_exec.c md->start_used_ptr = start_match; md 6930 ext/pcre/pcrelib/pcre_exec.c md->match_call_count = 0; md 6931 ext/pcre/pcrelib/pcre_exec.c md->match_function_type = 0; md 6932 ext/pcre/pcrelib/pcre_exec.c md->end_offset_top = 0; md 6933 ext/pcre/pcrelib/pcre_exec.c md->skip_arg_count = 0; md 6934 ext/pcre/pcrelib/pcre_exec.c rc = match(start_match, md->start_code, start_match, 2, md, NULL, 0); md 6935 ext/pcre/pcrelib/pcre_exec.c if (md->hitend && start_partial == NULL) md 6937 ext/pcre/pcrelib/pcre_exec.c start_partial = md->start_used_ptr; md 6952 ext/pcre/pcrelib/pcre_exec.c md->ignore_skip_arg = md->skip_arg_count; md 6959 ext/pcre/pcrelib/pcre_exec.c if (md->start_match_ptr > start_match) md 6961 ext/pcre/pcrelib/pcre_exec.c new_start_match = md->start_match_ptr; md 6972 ext/pcre/pcrelib/pcre_exec.c md->ignore_skip_arg = 0; md 7025 ext/pcre/pcrelib/pcre_exec.c (md->nltype == NLTYPE_ANY || md 7026 ext/pcre/pcrelib/pcre_exec.c md->nltype == NLTYPE_ANYCRLF || md 7027 ext/pcre/pcrelib/pcre_exec.c md->nllen == 2)) md 7030 ext/pcre/pcrelib/pcre_exec.c md->mark = NULL; /* Reset for start of next match attempt */ md 7061 ext/pcre/pcrelib/pcre_exec.c memcpy(offsets + 2, md->offset_vector + 2, md 7065 ext/pcre/pcrelib/pcre_exec.c if (md->end_offset_top > arg_offset_max) md->capture_last |= OVFLBIT; md 7067 ext/pcre/pcrelib/pcre_exec.c (PUBL(free))(md->offset_vector); md 7073 ext/pcre/pcrelib/pcre_exec.c rc = ((md->capture_last & OVFLBIT) != 0 && md 7074 ext/pcre/pcrelib/pcre_exec.c md->end_offset_top >= arg_offset_max)? md 7075 ext/pcre/pcrelib/pcre_exec.c 0 : md->end_offset_top/2; md 7086 ext/pcre/pcrelib/pcre_exec.c if (md->end_offset_top/2 <= re->top_bracket && offsets != NULL) md 7091 ext/pcre/pcrelib/pcre_exec.c iptr = offsets + md->end_offset_top; md 7102 ext/pcre/pcrelib/pcre_exec.c offsets[0] = (int)(md->start_match_ptr - md->start_subject); md 7103 ext/pcre/pcrelib/pcre_exec.c offsets[1] = (int)(md->end_match_ptr - md->start_subject); md 7109 ext/pcre/pcrelib/pcre_exec.c *(extra_data->mark) = (pcre_uchar *)md->mark; md 7123 ext/pcre/pcrelib/pcre_exec.c (PUBL(free))(md->offset_vector); md 7142 ext/pcre/pcrelib/pcre_exec.c md->mark = NULL; md 7164 ext/pcre/pcrelib/pcre_exec.c *(extra_data->mark) = (pcre_uchar *)md->nomatch_mark; md 382 ext/standard/file.c php_meta_tags_data md; md 385 ext/standard/file.c memset(&md, 0, sizeof(md)); md 392 ext/standard/file.c md.stream = php_stream_open_wrapper(filename, "rb", md 395 ext/standard/file.c if (!md.stream) { md 403 ext/standard/file.c while (!done && (tok = php_next_meta_token(&md)) != TOK_EOF) { md 406 ext/standard/file.c md.in_meta = !strcasecmp("meta", md.token_data); md 408 ext/standard/file.c if (strcasecmp("head", md.token_data) == 0) { md 416 ext/standard/file.c temp = name = estrndup(md.token_data, md.token_len); md 428 ext/standard/file.c value = estrndup(md.token_data, md.token_len); md 434 ext/standard/file.c if (md.in_meta) { md 435 ext/standard/file.c if (strcasecmp("name", md.token_data) == 0) { md 439 ext/standard/file.c } else if (strcasecmp("content", md.token_data) == 0) { md 450 ext/standard/file.c temp = name = estrndup(md.token_data, md.token_len); md 462 ext/standard/file.c value = estrndup(md.token_data, md.token_len); md 496 ext/standard/file.c md.in_meta = 0; md 501 ext/standard/file.c if (md.token_data) md 502 ext/standard/file.c efree(md.token_data); md 504 ext/standard/file.c md.token_data = NULL; md 509 ext/standard/file.c php_stream_close(md.stream); md 2381 ext/standard/file.c php_meta_tags_token php_next_meta_token(php_meta_tags_data *md) md 2388 ext/standard/file.c while (md->ulc || (!php_stream_eof(md->stream) && (ch = php_stream_getc(md->stream)))) { md 2389 ext/standard/file.c if (php_stream_eof(md->stream)) { md 2393 ext/standard/file.c if (md->ulc) { md 2394 ext/standard/file.c ch = md->lc; md 2395 ext/standard/file.c md->ulc = 0; md 2417 ext/standard/file.c md->token_len = 0; md 2418 ext/standard/file.c while (!php_stream_eof(md->stream) && (ch = php_stream_getc(md->stream)) && ch != compliment && ch != '<' && ch != '>') { md 2419 ext/standard/file.c buff[(md->token_len)++] = ch; md 2421 ext/standard/file.c if (md->token_len == META_DEF_BUFSIZE) { md 2428 ext/standard/file.c md->ulc = 1; md 2429 ext/standard/file.c md->lc = ch; md 2433 ext/standard/file.c if (md->in_meta) { md 2434 ext/standard/file.c md->token_data = (char *) emalloc(md->token_len + 1); md 2435 ext/standard/file.c memcpy(md->token_data, buff, md->token_len+1); md 2452 ext/standard/file.c md->token_len = 0; md 2453 ext/standard/file.c buff[(md->token_len)++] = ch; md 2454 ext/standard/file.c while (!php_stream_eof(md->stream) && (ch = php_stream_getc(md->stream)) && (isalnum(ch) || strchr(PHP_META_HTML401_CHARS, ch))) { md 2455 ext/standard/file.c buff[(md->token_len)++] = ch; md 2457 ext/standard/file.c if (md->token_len == META_DEF_BUFSIZE) { md 2464 ext/standard/file.c md->ulc = 1; md 2465 ext/standard/file.c md->lc = ch; md 2468 ext/standard/file.c md->token_data = (char *) emalloc(md->token_len + 1); md 2469 ext/standard/file.c memcpy(md->token_data, buff, md->token_len+1);