Searched refs:method (Results 1 - 25 of 103) sorted by relevance

12345

/PHP_TRUNK/ext/date/tests/
H A DDateTime_data-absolute.inc4 * Note: test names match method names in a set of PHPUnit tests
H A DDateTime_data-dates.inc4 * Note: test names match method names in a set of PHPUnit tests
H A DDateTime_data-february.inc4 * Note: test names match method names in a set of PHPUnit tests
H A DDateTime_data-massive.inc4 * Note: test names match method names in a set of PHPUnit tests
H A DDateTime_data-spring-type3-type3.inc4 * Note: test names match method names in a set of PHPUnit tests
/PHP_TRUNK/ext/mysqli/tests/
H A Dreflection_tools.inc18 if ($method = $class->getConstructor())
19 inspectMethod($method);
23 foreach ($methods as $method)
24 $tmp[$method->getName()] = $method;
27 foreach ($tmp as $method)
28 inspectMethod($method);
74 function inspectMethod(&$method) {
76 printf("\nInspecting method '%s'\n", $method
[all...]
/PHP_TRUNK/ext/soap/interop/
H A Dclient_round2.php34 echo "<select name='method'>\n";
38 $method = $x->test_name; variable
39 if ($method != $prev_method) {
40 $prev_method = $method;
42 if ($sel_method == $method) $selected = ' SELECTED';
43 echo "<option value='$method'$selected>$method</option>\n";
49 function endpointTestForm($test, $endpoint, $method, $paramType, $useWSDL)
54 echo "Select endpoint and method to run:<br>\n";
55 echo "<form action='$PHP_SELF' method
[all...]
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc_introspection_private.h84 XMLRPC_IntrospectionCallback method; member in struct:_doc_method
H A Dxmlrpc_private.h115 simplestring methodName; /* name of method being called */
152 XMLRPC_Callback method; member in struct:_server_method
/PHP_TRUNK/scripts/dev/generate-phpt/src/
H A Dgenerate-phpt.php47 $method = new gtMethod($options->getOption('c'), $options->getOption('m')); variable
49 $method->setArgumentNames();
50 $method->setArgumentLists();
51 $method->setInitialisationStatements();
53 $method->setConstructorArgumentNames();
54 $method->setConstructorInitStatements();
55 $method->setConstructorArgumentList();
69 $testCase = gtBasicTestCase::getInstance($optionalSections, 'method');
70 $testCase->setMethod($method);
82 $testCase = gtErrorTestCase::getInstance($optionalSections, 'method');
[all...]
/PHP_TRUNK/scripts/dev/generate-phpt/src/setup/preconditions/
H A DgtIsValidMethod.php4 * Check that the method name is valid
14 foreach($methods as $method) {
15 if($clo->getOption('m') == $method->getName()) {
/PHP_TRUNK/scripts/dev/generate-phpt/src/testcase/
H A DgtBasicTestCaseMethod.php13 * Set the method
15 * @param gtMethod $method
17 public function setMethod($method) {
18 $this->subject = $method;
37 $this->testCase[] = "Test class ".$this->subject->getClassName()." method ".$this->subject->getName()."() by calling it with its expected arguments";
H A DgtErrorTestCaseMethod.php4 * Error test case for a PHP method
12 private $method; variable
15 * Set the method name
17 * @param string $method
19 public function setMethod($method) {
20 $this->subject = $method;
43 $this->testCase[] = "Test class ".$this->subject->getClassName()." method ".$this->subject->getName()."() by calling it more than or less than its expected arguments";
48 // Construct the argument list to pass to the method being tested
H A DgtVariationContainerMethod.php3 * Container for all possible variation test cases for a method
7 protected $method; variable
16 * Sets the method to be tested
18 * @param gtMethod $method
20 public function setMethod(gtMethod $method) {
21 $this->method = $method; variable
31 $numberOfArguments = count($this->method->getMandatoryArgumentNames()) + count($this->method->getOptionalArgumentNames());
37 $testCase = gtVariationTestCase::getInstance($this->optionalSections, 'method');
[all...]
H A DgtVariationTestCaseMethod.php4 * Class for variation tests for a PHP method
20 * @param gtMethod $method
24 public function setUp(gtMethod $method, $argumentNumber, $variationData) {
25 $this->subject = $method;
50 $this->testCase[] = "Test class ".$this->subject->getClassName()." method ".$this->subject->getName()."() by substituting argument ".$this->argumentNumber." with ".$this->variationData." values.";
55 // Construct the argument list to pass to the method being tested
/PHP_TRUNK/ext/zip/lib/
H A Dzip_set_file_compression.c44 zip_int32_t method, zip_uint32_t flags)
59 if (method != ZIP_CM_DEFAULT && method != ZIP_CM_STORE && method != ZIP_CM_DEFLATE) {
70 if (method == old_method) {
87 e->changes->comp_method = method;
41 zip_set_file_compression(struct zip *za, zip_uint64_t idx, zip_int32_t method, zip_uint32_t flags) argument
/PHP_TRUNK/ext/calendar/
H A Deaster.c34 zend_long method = CAL_EASTER_DEFAULT; local
50 "|ll", &year, &method) == FAILURE) {
61 if ((year <= 1582 && method != CAL_EASTER_ALWAYS_GREGORIAN) ||
62 (year >= 1583 && year <= 1752 && method != CAL_EASTER_ROMAN && method != CAL_EASTER_ALWAYS_GREGORIAN) ||
63 method == CAL_EASTER_ALWAYS_JULIAN) { /* JULIAN CALENDAR */
129 /* {{{ proto int easter_days([int year, [int method]])
/PHP_TRUNK/sapi/apache_hooks/
H A Dsapi_apache.c95 zval *method; local
99 ALLOC_ZVAL(method);
100 ZVAL_STRING(method, tmp +2, 1);
102 call_user_function_ex(EG(function_table), &class, method, ret, 0, NULL, 0, NULL TSRMLS_CC); local
104 zval_dtor(method);
108 /* not a class::method */
/PHP_TRUNK/scripts/dev/
H A Dsearch_underscores.php22 /* This script lists extension-, class- and method names that contain any
57 foreach(get_class_methods($c) as $method) {
59 if (strpos(substr($method, substr($method, 0, 2) != "__" ? 0 : 2), "_") !== false) {
61 $extensions[$ext][$c][] = $method;
89 foreach($methods as $method) {
90 echo " Method: $method\n";
/PHP_TRUNK/sapi/cli/
H A Dphp_http_parser.c413 parser->method = PHP_HTTP_HEAD;
578 parser->method = (enum php_http_method) 0;
581 case 'C': parser->method = PHP_HTTP_CONNECT; /* or COPY, CHECKOUT */ break;
582 case 'D': parser->method = PHP_HTTP_DELETE; break;
583 case 'G': parser->method = PHP_HTTP_GET; break;
584 case 'H': parser->method = PHP_HTTP_HEAD; break;
585 case 'L': parser->method = PHP_HTTP_LOCK; break;
586 case 'M': parser->method = PHP_HTTP_MKCOL; /* or MOVE, MKACTIVITY, MERGE, M-SEARCH */ break;
587 case 'N': parser->method = PHP_HTTP_NOTIFY; break;
588 case 'O': parser->method
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_list.h32 PHPDBG_LIST(method); variable
H A Dphpdbg_print.c36 PHPDBG_PRINT_COMMAND_D(method, "print out the instructions in the specified method", 'm', print_method, NULL, "m", PHPDBG_ASYNC_SAFE),
53 static inline void phpdbg_print_function_helper(zend_function *method TSRMLS_DC) /* {{{ */
55 switch (method->type) {
57 zend_op_array* op_array = &(method->op_array);
65 if (method->common.scope) {
66 phpdbg_writeln("printoplineinfo", "type=\"User\" startline=\"%d\" endline=\"%d\" method=\"%s::%s\" file=\"%s\"", "\tL%d-%d %s::%s() %s",
69 method->common.scope->name->val,
70 method->common.function_name->val,
74 method
172 zend_function *method; local
[all...]
H A Dphpdbg_print.h34 PHPDBG_PRINT(method); variable
H A Dphpdbg_cmd.c59 return "method";
63 return "method opline";
81 efree(param->method.class);
82 efree(param->method.name);
110 asprintf(pointer, "%s::%s", param->method.class, param->method.name);
126 asprintf(pointer, "%s::%s#%lu", param->method.class, param->method.name, param->num);
162 dest->method.class = estrdup(src->method
[all...]
H A Dphpdbg_list.c43 PHPDBG_LIST_COMMAND_D(method, "lists the specified method", 'm', list_method, NULL, "m", PHPDBG_ASYNC_SAFE),
82 PHPDBG_LIST(method) /* {{{ */
86 if (phpdbg_safe_class_lookup(param->method.class, strlen(param->method.class), &ce TSRMLS_CC) == SUCCESS) {
88 char *lcname = zend_str_tolower_dup(param->method.name, strlen(param->method.name));
93 phpdbg_error("list", "type=\"notfound\" method=\"%s::%s\"", "Could not find %s::%s", param->method.class, param->method
[all...]

Completed in 69 milliseconds

12345