Searched defs:subject (Results 1 - 21 of 21) sorted by relevance

/PHP_TRUNK/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 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." ) );";
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();
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_get.c42 from the subject string after a regex match has succeeded. The original idea
313 subject the subject string that was matched
333 pcre_copy_substring(const char *subject, int *ovector, int stringcount, argument
337 pcre16_copy_substring(PCRE_SPTR16 subject, int *ovector, int stringcount,
341 pcre32_copy_substring(PCRE_SPTR32 subject, int *ovector, int stringcount,
351 memcpy(buffer, subject + ovector[stringnumber], IN_UCHARS(yield));
368 subject the subject string that was matched
388 pcre_copy_named_substring(const pcre *code, const char *subject, argument
439 pcre_get_substring_list(const char *subject, int *ovector, int stringcount, const char ***listptr) argument
542 pcre_get_substring(const char *subject, int *ovector, int stringcount, int stringnumber, const char **stringptr) argument
605 pcre_get_named_substring(const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, const char **stringptr) argument
[all...]
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_exec.c117 subject if the requested.
148 subject bytes matched may be different to the number of reference bytes.
152 eptr pointer into the subject
157 Returns: >= 0 the number of subject bytes matched
159 -2 partial match; always given if at end subject
174 printf("matching subject <null>");
177 printf("matching subject ");
205 length along the reference, not along the subject (earlier code did this
466 at the end of the subject and also past the start of the subject (
6345 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_jit_compile.c6335 /* Offsets in subject. */
6337 callout_block->start_match = (pcre_uchar*)callout_block->subject - arguments->begin;
6340 callout_block->subject = (PCRE_SPTR)begin;
6342 callout_block->subject = (PCRE_SPTR16)begin;
6344 callout_block->subject = (PCRE_SPTR32)begin;
6391 OP1(SLJIT_MOV, SLJIT_MEM1(STACK_TOP), CALLOUT_ARG_OFFSET(subject), TMP2, 0);
10368 PRIV(jit_exec)(const PUBL(extra) *extra_data, const pcre_uchar *subject, variable
10390 arguments.str = subject + start_offset;
10391 arguments.begin = subject;
10392 arguments.end = subject
10442 pcre_jit_exec(const pcre *argument_re, const pcre_extra *extra_data, PCRE_SPTR subject, int length, int start_offset, int options, int *offsets, int offset_count, pcre_jit_stack *stack) argument
[all...]
H A Dpcre.h364 /* When PCRE is compiled as a C++ library, the subject pointer type can be
423 PCRE_SPTR subject; /* The subject being matched */ member in struct:pcre_callout_block
424 int subject_length; /* The length of the subject */
426 int current_position; /* Where we currently are in the subject */
445 PCRE_SPTR16 subject; /* The subject being matched */ member in struct:pcre16_callout_block
446 int subject_length; /* The length of the subject */
448 int current_position; /* Where we currently are in the subject */
467 PCRE_SPTR32 subject; /* Th member in struct:pcre32_callout_block
[all...]
/PHP_TRUNK/ext/intl/resourcebundle/
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:__anon4
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c7 | This source file is subject to version 3.01 of the PHP license, |
418 ZEND_ARG_INFO(0, subject)
3870 /* {{{ proto int mb_send_mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]])
4065 char *subject = NULL; local
4107 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|sS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &headers_len, &extra_cmd) == FAILURE) {
4113 MAIL_ASCIIZ_CHECK_MBSTRING(subject, subject_len);
4212 if (subject != NULL) {
4214 orig_str.val = (unsigned char *)subject;
4223 subject_buf = subject = (char *)pstr->val;
4310 if (!err && php_mail(to_r, subject, messag
[all...]
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c7 | This source file is subject to version 3.01 of the PHP license, |
1971 add_assoc_name_entry(return_value, "subject", X509_get_subject_name(cert), useshortnames);
1972 /* hash as used in CA directories to lookup cert by subject name */
3125 Returns the subject of a CERT or FALSE on error */
3131 X509_NAME * subject; local
3144 subject = X509_REQ_get_subject_name(csr);
3147 add_assoc_name_entry(return_value, NULL, subject, use_shortnames);
3153 Returns the subject of a CERT or FALSE on error */
4277 Signs the MIME message in the file named infile with signcert/signkey and output the result to file name outfile. headers lists plain text headers to exclude from the signed portion of the message, and should include to, from and subject as a minimum */
/PHP_TRUNK/ext/pcre/
H A Dphp_pcre.c7 | This source file is subject to version 3.01 of the PHP license, |
581 zend_string *subject; /* String to match against */ local
589 &subject, &subpats, &flags, &start_offset) == FAILURE) {
595 Z_PARAM_STR(subject)
609 php_pcre_match_impl(pce, ZSTR_VAL(subject), (int)ZSTR_LEN(subject), return_value, subpats,
616 PHPAPI void php_pcre_match_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, argument
724 count = pcre_exec(pce->re, extra, subject, (int)subject_len, (int)start_offset,
743 if (pcre_get_substring_list(subject, offsets, count, &stringlist) < 0) {
876 int unit_len = calculate_unit_length(pce, subject
995 preg_do_repl_func(zval *function, char *subject, int *offsets, char **subpat_names, int count, unsigned char *mark) argument
1038 php_pcre_replace(zend_string *regex, zend_string *subject_str, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int limit, int *replace_count) argument
1061 php_pcre_replace_impl(pcre_cache_entry *pce, zend_string *subject_str, char *subject, int subject_len, zval *replace_val, int is_callable_replace, int limit, int *replace_count) argument
1332 php_replace_in_subject(zval *regex, zval *replace, zval *subject, int limit, int is_callable_replace, int *replace_count) argument
1417 preg_replace_impl(zval *return_value, zval *regex, zval *replace, zval *subject, zend_long limit_val, int is_callable_replace, int is_filter) argument
1479 zval *regex, *replace, *subject, *zcount = NULL; local
1516 zval *regex, *replace, *subject, *zcount = NULL; local
1557 zval regex, zv, *replace, *subject, *pattern, *zcount = NULL; local
1630 zval *regex, *replace, *subject, *zcount = NULL; local
1668 zend_string *subject; /* String to match against */ local
1702 php_pcre_split_impl(pcre_cache_entry *pce, char *subject, int subject_len, zval *return_value, zend_long limit_val, zend_long flags) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Dmail.c7 | This source file is subject to version 3.01 of the PHP license, |
99 /* {{{ proto int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]])
104 char *subject=NULL; local
112 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|SS", &to, &to_len, &subject, &subject_len, &message, &message_len, &headers, &extra_cmd) == FAILURE) {
118 MAIL_ASCIIZ_CHECK(subject, subject_len);
151 subject_r = estrndup(subject, subject_len);
165 subject_r = subject;
190 if (subject_r != subject) {
266 PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd) argument
341 if (TSendMail(INI_STR("SMTP"), &tsm_err, &tsm_errmsg, hdr, subject, t
[all...]
H A Dstring.c7 | This source file is subject to version 3.01 of the PHP license, |
3928 static zend_long php_str_replace_in_subject(zval *search, zval *replace, zval *subject, zval *result, int case_sensitivity) argument
3942 subject_str = zval_get_string(subject);
3951 /* Duplicate subject string for repeated replacement */
4067 lc_subject_str = php_string_tolower(Z_STR_P(subject));
4086 zval *subject, *search, *replace, *subject_entry, *zcount = NULL; local
4094 if (zend_parse_parameters(ZEND_NUM_ARGS(), "zzz|z/", &search, &replace, &subject, &zcount) == FAILURE) {
4101 Z_PARAM_ZVAL(subject)
4117 /* if subject is an array */
4118 if (Z_TYPE_P(subject)
[all...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c7 | This source file is subject to version 3.01 of the PHP license, |
430 ZEND_ARG_INFO(0, subject)
999 /* subject */
2149 if (en->subject && subjectlength) {
3471 if (env->subject) {
3472 add_property_string(&myoverview, "subject", env->subject);
3567 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(envelope), "subject", sizeof("subject") - 1)) != NULL) {
3569 env->subject
3925 _php_imap_mail(char *to, char *subject, char *message, char *headers, char *cc, char *bcc, char* rpath) argument
4090 zend_string *to=NULL, *message=NULL, *headers=NULL, *subject=NULL, *cc=NULL, *bcc=NULL, *rpath=NULL; local
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_iterators.c7 | This source file is subject to version 3.01 of the PHP license, |
2034 zend_string *result, *subject; local
2051 subject = zval_get_string(&intern->current.key);
2053 subject = zval_get_string(&intern->current.data);
2060 count = pcre_exec(intern->u.regex.pce->re, intern->u.regex.pce->extra, ZSTR_VAL(subject), ZSTR_LEN(subject), 0, 0, NULL, 0);
2067 //??? subject = estrndup(subject, subject_len);
2072 php_pcre_match_impl(intern->u.regex.pce, ZSTR_VAL(subject), ZSTR_LEN(subject),
[all...]

Completed in 75 milliseconds