Lines Matching refs:size_offsets

595 	int				 size_offsets;		/* Size of the offsets array */  in php_pcre_match_impl()  local
653 size_offsets = num_subpats * 3; in php_pcre_match_impl()
665 offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0); in php_pcre_match_impl()
666 memset(offsets, 0, size_offsets*sizeof(int)); in php_pcre_match_impl()
683 exoptions|g_notempty, offsets, size_offsets); in php_pcre_match_impl()
691 count = size_offsets/3; in php_pcre_match_impl()
1042 int size_offsets; /* Size of the offsets array */ in php_pcre_replace_impl() local
1095 size_offsets = num_subpats * 3; in php_pcre_replace_impl()
1107 offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0); in php_pcre_replace_impl()
1121 exoptions|g_notempty, offsets, size_offsets); in php_pcre_replace_impl()
1129 count = size_offsets/3; in php_pcre_replace_impl()
1526 int size_offsets; /* Size of the offsets array */ in php_pcre_split_impl() local
1557 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &size_offsets); in php_pcre_split_impl()
1562 size_offsets = (size_offsets + 1) * 3; in php_pcre_split_impl()
1563 offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0); in php_pcre_split_impl()
1575 exoptions|g_notempty, offsets, size_offsets); in php_pcre_split_impl()
1583 count = size_offsets/3; in php_pcre_split_impl()
1639 exoptions, offsets, size_offsets); in php_pcre_split_impl()
1805 int size_offsets; /* Size of the offsets array */ in php_pcre_grep_impl() local
1823 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &size_offsets); in php_pcre_grep_impl()
1828 size_offsets = (size_offsets + 1) * 3; in php_pcre_grep_impl()
1829 offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0); in php_pcre_grep_impl()
1849 0, offsets, size_offsets); in php_pcre_grep_impl()
1854 count = size_offsets/3; in php_pcre_grep_impl()