| /PHP_5_3/ext/skeleton/ |
| H A D | skeleton.php | 14 $function = 'confirm_' . $module . '_compiled'; variable 16 $str = $function($module);
|
| /PHP_5_3/ext/sqlite/libsqlite/src/ |
| H A D | expr.c | 22 ** for this node is obtained from sqliteMalloc(). The calling function 71 ** Construct a new expression node for a function with multiple 299 ** For the purposes of this function, a double-quoted string (ex: "abc") 626 ** Unknown columns or tables provoke an error. The function returns 782 ** pExpr is a node that defines a function of some kind. It might 783 ** be a syntactic function like "count(x)" or it might be a function 786 ** This routine makes *pzName point to the name of the function and 787 ** *pnName hold the number of characters in the function name. 816 ** function name [all...] |
| /PHP_5_3/sapi/fpm/fpm/ |
| H A D | fpm_php_trace.c | 71 long function; local 76 if (0 > fpm_trace_get_long(execute_data + offsetof(zend_execute_data, function_state.function), &l)) { 80 function = l; 82 if (valid_ptr(function)) { 83 if (0 > fpm_trace_get_strz(buf, buf_size, function + offsetof(zend_function, common.function_name))) {
|
| H A D | zlog.c | 101 void zlog_ex(const char *function, int line, int flags, const char *fmt, ...) /* {{{ */ argument 133 len += snprintf(buf, buf_size, "[%s] %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], function, line); 146 len += snprintf(buf + len, buf_size - len, "%s: pid %d, %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], getpid(), function, line); 148 len += snprintf(buf + len, buf_size - len, "%s: %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], function, line);
|
| H A D | zlog.h | 20 void zlog_ex(const char *function, int line, int flags, const char *fmt, ...)
|
| /PHP_5_3/scripts/dev/ |
| H A D | find_tested.php | 84 function mark_methods_as_tested($method_info, $phpt_files) { 113 function populate_method_info() { 121 foreach ($internal_functions as $function) { 125 $function_record[METHOD_NAME] = $function; 130 // record the extension that the function belongs to 131 $reflectionFunction = new ReflectionFunction($function); 178 function get_phpt_files($dir, &$phpt_file_count, &$all_phpt) 196 function extract_tests($file) { 212 function filter_functions($x) { 216 function map_token_valu [all...] |
| /PHP_5_3/scripts/dev/generate-phpt/src/ |
| H A D | generate-phpt.php | 60 $function = new gtFunction($name); variable 61 $function->setArgumentNames(); 62 $function->setArgumentLists(); 63 $function->setInitialisationStatements(); 73 $testCase->setFunction($function); 86 $testCase->setFunction($function); 101 $testCaseContainer->setFunction($function);
|
| H A D | gtFunction.php | 4 * Class reperesents a single PHP function. 12 * Set the name of the name of the function 16 public function __construct($functionName) { 22 * Get the names of function argments and initialise mandatory and optional argument arrays 25 public function setArgumentNames() { 26 $function= new ReflectionFunction($this->functionName); variable 28 foreach ($function->getParameters() as $i => $param) { 39 * Return the name of the function 43 public function getName() {
|
| /PHP_5_3/scripts/dev/generate-phpt/src/setup/preconditions/ |
| H A D | gtIsValidFunction.php | 4 * Check that the function name is valid 9 public function check( $clo) { 11 $function = $clo->getOption('f'); variable 13 if( in_array( $function, $functions['internal'] ) ) { 21 public function getMessage() {
|
| /PHP_5_3/scripts/dev/generate-phpt/src/testcase/ |
| H A D | gtBasicTestCaseFunction.php | 4 * Basic test case for a PHP function 10 public function __construct($opt) { 15 * Set the function name 17 * @param gtFunction $function 19 public function setFunction($function) { 20 $this->subject = $function; 23 public function constructTestCase() { 39 public function testHeader() { 42 $this->testCase[] = "Test function " [all...] |
| H A D | gtErrorTestCaseFunction.php | 4 * Error test case for a PHP function 9 public function __construct($opt) { 14 * Set the function name 16 * @param string $function 18 public function setFunction($function) { 19 $this->subject = $function; 27 public function constructTestCase() { 39 public function testHeader() { 41 $this->testCase[] = "Test function " [all...] |
| H A D | gtVariationContainerFunction.php | 8 protected $function; variable 11 public function __construct($osl) { 16 * Sets function being tested 18 * @param gtFunction $function 20 public function setFunction(gtFunction $function) { 21 $this->function = $function; variable 29 public function constructAll() { 32 $numberOfArguments = count($this->function [all...] |
| H A D | gtVariationTestCaseFunction.php | 4 * Class for variation tests for a PHP function 12 public function __construct($opt) { 18 * @param gtfunction $function 22 public function setUp(gtfunction $function, $argumentNumber, $variationData) { 23 $this->subject = $function; 34 public function constructTestCase() { 44 public function testHeader() { 46 $this->testCase[] = "Test function ".$this->subject->getName()."() by substituting argument ".$this->argumentNumber." with ".$this->variationData." values."; 50 public function subjectCall [all...] |
| /PHP_5_3/win32/build/ |
| H A D | phpize.js.in | 35 function ERROR(msg)
41 function file_get_contents(filename)
49 function Module_Item(module_name, config_path, dir_line, deps, content)
58 function get_module_dep(contents)
75 function find_config_w32(dirname)
120 function emit_module(item)
125 function emit_dep_modules(module_names)
147 function gen_modules()
173 function buildconf_process_args()
|
| /PHP_5_3/ext/dba/ |
| H A D | dba_db4.c | 51 char *function = get_active_function_name(TSRMLS_C); local 52 if (function && (!strcmp(function,"dba_popen") || !strcmp(function,"dba_open"))
|
| /PHP_5_3/ext/pdo/ |
| H A D | php_pdo_driver.h | 96 PDO_FETCH_FUNC, /* fetch into function and return its result */ 286 to prefix the function names using the PDO driver name; this will 455 /* if true, the handle has been closed and will not function anymore */ 621 zval *function; member in struct:_pdo_stmt_t::__anon124::__anon126 641 /* For the convenience of drivers, this function will parse a data source
|
| /PHP_5_3/ext/soap/ |
| H A D | php_sdl.c | 41 static void delete_function(void *function); 42 static void delete_function_persistent(void *function); 905 sdlFunctionPtr function; local 946 function = emalloc(sizeof(sdlFunction)); 947 memset(function, 0, sizeof(sdlFunction)); 948 function->functionName = estrdup((char*)op_name->children->content); 980 function->bindingAttributes = (void *)soapFunctionBinding; 991 function->requestParameters = wsdl_message(&ctx, message->children->content); 996 function->requestName = estrdup(name->children->content); 1000 function 3532 sdlFunctionPtr function = *((sdlFunctionPtr*)data); local 3571 sdlFunctionPtr function = *((sdlFunctionPtr*)data); local [all...] |
| H A D | soap.c | 39 sdlFunctionPtr function; member in struct:_soapHeader 50 static void function_to_string(sdlFunctionPtr function, smart_str *buf); 56 static void soap_server_fault_ex(sdlFunctionPtr function, zval* fault, soapHeader* hdr TSRMLS_DC); 58 static sdlParamPtr get_param(sdlFunctionPtr function, char *param_name, int index, int); 63 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, char *function_name,char *uri,zval *ret, soapHeader *headers, int version TSRMLS_DC); 64 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zval **arguments, int arg_count, int version, HashTable *soap_headers TSRMLS_DC); 1363 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to set persistence when you are using you SOAP SERVER in function mode, no persistence needed"); 1542 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to add a function that isn't a string"); 1551 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to add a non existant function '%s'", Z_STRVAL_PP(tmp_function)); 1573 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Tried to add a non existant function ' 1619 sdlFunctionPtr function; local 2216 soap_server_fault_ex(sdlFunctionPtr function, zval* fault, soapHeader *hdr TSRMLS_DC) argument 2796 do_soap_call(zval* this_ptr, char* function, int function_len, int arg_count, zval** real_args, zval* return_value, char* location, char* soap_action, char* call_uri, HashTable* soap_headers, zval* output_headers TSRMLS_DC) argument 3020 char *function, *location=NULL, *soap_action = NULL, *uri = NULL; local 3140 sdlFunctionPtr *function; local 3403 char *function = Z_STRVAL(function_name->element); local 3507 deserialize_parameters(xmlNodePtr params, sdlFunctionPtr function, int *num_params, zval ***parameters) argument 3605 sdlFunctionPtr function; local 3637 sdlFunctionPtr function; local 3894 serialize_response_call2(xmlNodePtr body, sdlFunctionPtr function, char *function_name, char *uri, zval *ret, int version, int main TSRMLS_DC) argument 3997 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version TSRMLS_DC) argument 4351 serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zval **arguments, int arg_count, int version, HashTable *soap_headers TSRMLS_DC) argument 4636 get_param(sdlFunctionPtr function, char *param_name, int index, int response) argument 4753 function_to_string(sdlFunctionPtr function, smart_str *buf) argument [all...] |
| /PHP_5_3/Zend/ |
| H A D | zend_compile.h | 157 /* function flag for internal user call handlers __call, __callstatic */ 265 #define ZEND_FN_SCOPE_NAME(function) ((function) && (function)->common.scope ? (function)->common.scope->name : "") 289 zend_function *function; member in struct:_zend_function_state 552 ZEND_API void function_add_ref(zend_function *function); 567 ZEND_API int zend_cleanup_function_data(zend_function *function TSRMLS_DC); 568 ZEND_API int zend_cleanup_function_data_full(zend_function *function TSRMLS_DC); 570 ZEND_API void destroy_zend_function(zend_function *function TSRMLS_D [all...] |
| H A D | zend_execute_API.c | 105 static int clean_non_persistent_function(zend_function *function TSRMLS_DC) /* {{{ */ 107 return (function->type == ZEND_INTERNAL_FUNCTION) ? ZEND_HASH_APPLY_STOP : ZEND_HASH_APPLY_REMOVE; 111 static int clean_non_persistent_function_full(zend_function *function TSRMLS_DC) /* {{{ */ 113 return (function->type != ZEND_INTERNAL_FUNCTION); 286 * Suppose we destroy class X, which destroys the class's function table, 287 * and in the function table we have function foo() that has static $bar. 289 * called and will fail since X's function table is in mid-destruction. 359 switch (EG(current_execute_data)->function_state.function->type) { 363 zend_class_entry *ce = EG(current_execute_data)->function_state.function [all...] |
| H A D | zend_opcode.c | 111 ZEND_API void destroy_zend_function(zend_function *function TSRMLS_DC) 113 switch (function->type) { 115 destroy_op_array((zend_op_array *) function TSRMLS_CC); 123 ZEND_API void zend_function_dtor(zend_function *function) argument 127 destroy_zend_function(function TSRMLS_CC); 137 ZEND_API int zend_cleanup_function_data(zend_function *function TSRMLS_DC) 139 if (function->type == ZEND_USER_FUNCTION) { 140 zend_cleanup_op_array_data((zend_op_array *) function); 147 ZEND_API int zend_cleanup_function_data_full(zend_function *function TSRMLS_DC) 149 if (function [all...] |
| H A D | zend_compile.c | 426 /* the default mode must be Write, since fetch_simple_variable() is used to define function arguments */ 556 zend_error(E_COMPILE_ERROR, "%s function %s::%s() cannot be declared private", method_type, CG(active_class_entry)->name, function_name->u.constant.value.str.val); 565 /* we had code in the function body */ 566 zend_error(E_COMPILE_ERROR, "%s function %s::%s() cannot contain body", method_type, CG(active_class_entry)->name, function_name->u.constant.value.str.val); 965 zend_error(E_COMPILE_ERROR, "Can't use function return value in write context"); 1209 zend_error(E_STRICT, "Static function %s%s%s() should not be abstract", is_method ? CG(active_class_entry)->name : "", is_method ? "::" : "", Z_STRVAL(function_name->u.constant)); 1339 /* Prefix function name with current namespace name */ 1453 /* we don't care if the function name is longer, in fact lowercasing only 1555 zend_function *function; local 1562 /* We assume we call function fro 2400 function_add_ref(zend_function *function) argument 2420 zend_function *function; local 2522 do_inherit_method(zend_function *function) argument 2954 zend_function *function; local [all...] |
| H A D | zend_builtin_functions.c | 366 Get the number of arguments that were passed to the function */ 374 zend_error(E_WARNING, "func_num_args(): Called from the global scope - no function context"); 382 Get the $arg_num'th argument that was passed to the function */ 401 zend_error(E_WARNING, "func_get_arg(): Called from the global scope - no function context"); 409 zend_error(E_WARNING, "func_get_arg(): Argument %ld not passed to function", requested_offset); 422 Get an array of the arguments that were passed to the function */ 431 zend_error(E_WARNING, "func_get_args(): Called from the global scope - no function context"); 1253 Checks if the function exists */ 1280 * A bit of a hack, but not a bad one: we see if the handler of the function 1281 * is actually one that displays "function i [all...] |
| H A D | zend_vm_def.h | 1940 /* First, locate the function. */ 1948 zend_error_noreturn(E_ERROR, "Call to a member function %s() on a non-object", function_name_strval); 1980 /* no function found. try a static method in class */ 2055 /* An internal function assumes $this is present and won't check that. So PHP would crash by allowing the call. */ 2083 zend_error_noreturn(E_ERROR, "Call to undefined function %s()", Z_STRVAL(opline->op2.u.constant)); 2118 zend_error_noreturn(E_ERROR, "Call to undefined function %s()", function_name_strval); 2140 zend_error_noreturn(E_ERROR, "Call to undefined function %s()", Z_STRVAL(opline->op2.u.constant)); 2179 EX(function_state).function = (zend_function *) EX(op_array); 2221 EX(function_state).function = (zend_function *) EX(op_array); 2263 if (EX(function_state).function [all...] |
| /PHP_5_3/main/ |
| H A D | main.c | 135 php_printf("Unable to disable function '%s'\n", function_name_5[i]); 144 php_printf("Unable to disable function '%s'\n", function_name_6[i]); 273 /* {{{ php_get_display_errors_mode() helper function 676 char *function; local 692 /* which function caused the problem if any at all */ 694 function = "PHP Startup"; 696 function = "PHP Shutdown"; 703 function = "eval"; 707 function = "include"; 711 function 1790 dummy_invalid_parameter_handler( const wchar_t *expression, const wchar_t *function, const wchar_t *file, unsigned int line, uintptr_t pEwserved) argument [all...] |