Lines Matching refs:size_offsets

601 	int				 size_offsets;		/* Size of the offsets array */  in php_pcre_match_impl()  local
665 size_offsets = num_subpats * 3; in php_pcre_match_impl()
677 offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0); in php_pcre_match_impl()
678 memset(offsets, 0, size_offsets*sizeof(int)); in php_pcre_match_impl()
695 exoptions|g_notempty, offsets, size_offsets); in php_pcre_match_impl()
703 count = size_offsets/3; in php_pcre_match_impl()
1077 int size_offsets; /* Size of the offsets array */ in php_pcre_replace_impl() local
1135 size_offsets = num_subpats * 3; in php_pcre_replace_impl()
1147 offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0); in php_pcre_replace_impl()
1161 exoptions|g_notempty, offsets, size_offsets); in php_pcre_replace_impl()
1169 count = size_offsets/3; in php_pcre_replace_impl()
1573 int size_offsets; /* Size of the offsets array */ in php_pcre_split_impl() local
1607 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &size_offsets); in php_pcre_split_impl()
1612 size_offsets = (size_offsets + 1) * 3; in php_pcre_split_impl()
1613 offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0); in php_pcre_split_impl()
1625 exoptions|g_notempty, offsets, size_offsets); in php_pcre_split_impl()
1633 count = size_offsets/3; in php_pcre_split_impl()
1689 exoptions, offsets, size_offsets); in php_pcre_split_impl()
1855 int size_offsets; /* Size of the offsets array */ in php_pcre_grep_impl() local
1877 rc = pcre_fullinfo(pce->re, extra, PCRE_INFO_CAPTURECOUNT, &size_offsets); in php_pcre_grep_impl()
1882 size_offsets = (size_offsets + 1) * 3; in php_pcre_grep_impl()
1883 offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0); in php_pcre_grep_impl()
1903 0, offsets, size_offsets); in php_pcre_grep_impl()
1908 count = size_offsets/3; in php_pcre_grep_impl()