Searched refs:subject (Results 1 - 25 of 29) sorted by relevance

12

/PHP_5_3/build/
H A Dbuild.mk6 # | This source file is subject to version 3.01 of the PHP license, |
H A Dbuild2.mk6 # | This source file is subject to version 3.01 of the PHP license, |
/PHP_5_3/ext/pcre/pcrelib/
H A Dpcredemo.c51 char *subject; local
81 and the subject string. */
85 printf("Two arguments required: a regex and a subject string\n");
90 subject = argv[i+1];
91 subject_length = (int)strlen(subject);
117 * pattern match against the subject string. This does just ONE match. If *
124 subject, /* the subject string */
125 subject_length, /* the length of the subject */
126 0, /* start at offset 0 in the subject */
[all...]
H A Dpcre.h349 /* When PCRE is compiled as a C++ library, the subject pointer type can be
408 PCRE_SPTR subject; /* The subject being matched */ member in struct:pcre_callout_block
409 int subject_length; /* The length of the subject */
411 int current_position; /* Where we currently are in the subject */
430 PCRE_SPTR16 subject; /* The subject being matched */ member in struct:pcre16_callout_block
431 int subject_length; /* The length of the subject */
433 int current_position; /* Where we currently are in the subject */
452 PCRE_SPTR32 subject; /* Th member in struct:pcre32_callout_block
[all...]
H A Dpcre_exec.c101 subject if the requested.
132 subject bytes matched may be different to the number of reference bytes.
136 eptr pointer into the subject
141 Returns: >= 0 the number of subject bytes matched
143 -2 partial match; always given if at end subject
158 printf("matching subject <null>");
161 printf("matching subject ");
190 length along the reference, not along the subject (earlier code did this
452 at the end of the subject and also past the start of the subject (
6232 pcre_exec(const pcre *argument_re, const pcre_extra *extra_data, PCRE_SPTR subject, int length, int start_offset, int options, int *offsets, int offsetcount) argument
[all...]
H A Dpcre_get.c42 from the subject string after a regex match has succeeded. The original idea
315 subject the subject string that was matched
335 pcre_copy_substring(const char *subject, int *ovector, int stringcount, argument
339 pcre16_copy_substring(PCRE_SPTR16 subject, int *ovector, int stringcount,
343 pcre32_copy_substring(PCRE_SPTR32 subject, int *ovector, int stringcount,
353 memcpy(buffer, subject + ovector[stringnumber], IN_UCHARS(yield));
370 subject the subject string that was matched
390 pcre_copy_named_substring(const pcre *code, const char *subject, argument
441 pcre_get_substring_list(const char *subject, int *ovector, int stringcount, const char ***listptr) argument
544 pcre_get_substring(const char *subject, int *ovector, int stringcount, int stringnumber, const char **stringptr) argument
607 pcre_get_named_substring(const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, const char **stringptr) argument
[all...]
/PHP_5_3/ext/spl/internal/
H A Dregexiterator.inc74 $subject = ($this->flags & self::USE_KEY) ? $this->key : $this->current;
78 return preg_match($this->regex, $subject, $matches, $this->preg_flags);
82 return preg_match($this->regex, $subject, $this->current, $this->preg_flags) > 0;
86 return preg_match_all($this->regex, $subject, $this->current, $this->preg_flags) > 0;
90 preg_split($this->regex, $subject, $this->current, $this->preg_flags) > 1;
94 $result = preg_replace($this->regex, $this->replacement, $subject);
/PHP_5_3/ext/spl/
H A Dspl.php1136 /** Called from the subject (i.e. when it's value has changed).
1137 * @param $subject the callee
1139 function update(SplSubject $subject);
H A Dspl_iterators.c7 | This source file is subject to version 3.01 of the PHP license, |
1880 char *subject, tmp[32], *result; local
1897 subject = &tmp[0];
1901 subject = estrndup(intern->current.str_key, subject_len);
1907 subject = Z_STRVAL(subject_copy);
1910 subject = Z_STRVAL_P(intern->current.data);
1919 count = pcre_exec(intern->u.regex.pce->re, intern->u.regex.pce->extra, subject, subject_len, 0, 0, NULL, 0);
1926 subject = estrndup(subject, subject_len);
1931 php_pcre_match_impl(intern->u.regex.pce, subject, subject_le
[all...]
/PHP_5_3/scripts/dev/generate-phpt/src/testcase/
H A DgtBasicTestCase.php9 protected $subject; variable
H A DgtBasicTestCaseFunction.php20 $this->subject = $function; variable
42 $this->testCase[] = "Test function ".$this->subject->getName()."() by calling it with its expected arguments";
51 $lists = $this->subject->getValidArgumentLists();
56 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
H A DgtBasicTestCaseMethod.php18 $this->subject = $method; variable
37 $this->testCase[] = "Test class ".$this->subject->getClassName()." method ".$this->subject->getName()."() by calling it with its expected arguments";
42 $lists = $this->subject->getValidArgumentLists();
45 $this->testCase[] = "var_dump( \$class->".$this->subject->getName()."( ".$list." ) );";
H A DgtErrorTestCaseFunction.php19 $this->subject = $function; variable
41 $this->testCase[] = "Test function ".$this->subject->getName()."() by calling it more than or less than its expected arguments";
46 $list = $this->subject->getExtraArgumentList();
48 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
50 $list = $this->subject->getShortArgumentList();
52 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
H A DgtErrorTestCaseMethod.php20 $this->subject = $method; variable
43 $this->testCase[] = "Test class ".$this->subject->getClassName()." method ".$this->subject->getName()."() by calling it more than or less than its expected arguments";
49 $list = $this->subject->getExtraArgumentList();
51 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
53 $list = $this->subject->getShortArgumentList();
55 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
H A DgtTestCase.php10 * The subject of the test, may be either a function (gtFunction) or a method (gtMethod)
14 protected $subject; variable
111 $conStatements = $this->subject->getConstructorInitStatements();
123 $constructorList = $this->subject->getConstructorArgumentList();
124 $this->testCase[] = "\$class = new ".$this->subject->getClassName()."( ".$constructorList." );";
134 $statements = $this->subject->getInitialisationStatements();
H A DgtVariationTestCase.php29 $statements = $this->subject->getInitialisationStatements();
H A DgtVariationTestCaseFunction.php23 $this->subject = $function; variable
46 $this->testCase[] = "Test function ".$this->subject->getName()."() by substituting argument ".$this->argumentNumber." with ".$this->variationData." values.";
54 $argumentList = explode(",", $this->subject->getMaximumArgumentList());
59 $this->testCase[] = " var_dump(".$this->subject->getName()."( ".$list." ) );";
H A DgtVariationTestCaseMethod.php8 protected $subject; variable
25 $this->subject = $method; variable
50 $this->testCase[] = "Test class ".$this->subject->getClassName()." method ".$this->subject->getName()."() by substituting argument ".$this->argumentNumber." with ".$this->variationData." values.";
56 $argumentList = explode(",", $this->subject->getMaximumArgumentList());
61 $this->testCase[] = " var_dump(\$class->".$this->subject->getName()."( ".$list." ) );";
/PHP_5_3/ext/intl/resourcebundle/
H A Dresourcebundle_iterator.c5 | This source file is subject to version 3.01 of the PHP license, |
35 ResourceBundle_object *rb = iterator->subject;
169 iterator->subject = rb;
H A Dresourcebundle_iterator.h5 | This source file is subject to version 3.01 of the PHP license, |
26 ResourceBundle_object *subject; member in struct:__anon185
/PHP_5_3/ext/pcre/
H A Dphp_pcre.h7 | This source file is subject to version 3.01 of the PHP license, |
36 PHPAPI char *php_pcre_replace(char *regex, int regex_len, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC);
57 PHPAPI void php_pcre_match_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
60 PHPAPI char *php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
63 PHPAPI void php_pcre_split_impl( pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value,
H A Dphp_pcre.c7 | This source file is subject to version 3.01 of the PHP license, |
509 char *subject; /* String to match against */ local
518 &subject, &subject_len, &subpats, &flags, &start_offset) == FAILURE) {
527 php_pcre_match_impl(pce, subject, subject_len, return_value, subpats,
533 PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, argument
633 count = pcre_exec(pce->re, extra, subject, subject_len, start_offset,
652 if (pcre_get_substring_list(subject, offsets, count, &stringlist) < 0) {
775 /* {{{ proto int preg_match(string pattern, string subject [, array &subpatterns [, int flags [, int offset]]])
783 /* {{{ proto int preg_match_all(string pattern, string subject, array &subpatterns [, int flags [, int offset]])
832 static int preg_do_repl_func(zval *function, char *subject, in argument
871 preg_do_eval(char *eval_str, int eval_str_len, char *subject, int *offsets, int count, char **result TSRMLS_DC) argument
959 php_pcre_replace(char *regex, int regex_len, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC) argument
977 php_pcre_replace_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int *result_len, int limit, int *replace_count TSRMLS_DC) argument
1216 php_replace_in_subject(zval *regex, zval *replace, zval **subject, int *result_len, int limit, int is_callable_replace, int *replace_count TSRMLS_DC) argument
1308 **subject, local
1431 char *subject; /* String to match against */ local
1455 php_pcre_split_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, long limit_val, long flags TSRMLS_DC) argument
1774 zval subject = **entry; local
[all...]
/PHP_5_3/ext/standard/
H A Dmail.c7 | This source file is subject to version 3.01 of the PHP license, |
97 /* {{{ proto int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]])
102 char *subject=NULL, *extra_cmd=NULL; local
114 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|ss", &to, &to_len, &subject, &subject_len, &message, &message_len,
122 MAIL_ASCIIZ_CHECK(subject, subject_len);
155 subject_r = estrndup(subject, subject_len);
169 subject_r = subject;
194 if (subject_r != subject) {
202 PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd TSRMLS_DC) argument
260 if (TSendMail(INI_STR("SMTP"), &tsm_err, &tsm_errmsg, hdr, subject, t
[all...]
H A Dphp_mail.h7 | This source file is subject to version 3.01 of the PHP license, |
28 PHPAPI extern int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd TSRMLS_DC);
H A Dstring.c7 | This source file is subject to version 3.01 of the PHP license, |
3579 static void php_str_replace_in_subject(zval *search, zval *replace, zval **subject, zval *result, int case_sensitivity, int *replace_count) argument
3588 convert_to_string_ex(subject);
3590 if (Z_STRLEN_PP(subject) == 0) {
3597 /* Duplicate subject string for repeated replacement */
3598 MAKE_COPY_ZVAL(subject, result);
3669 php_char_to_str_ex(Z_STRVAL_PP(subject),
3670 Z_STRLEN_PP(subject),
3678 Z_STRVAL_P(result) = php_str_to_str_ex(Z_STRVAL_PP(subject), Z_STRLEN_PP(subject),
3692 zval **subject, **search, **replace, **subject_entry, **zcount = NULL; local
[all...]

Completed in 67 milliseconds

12