Searched defs:module (Results 1 - 25 of 26) sorted by relevance

12

/PHP_TRUNK/ext/skeleton/
H A Dskeleton.php7 $module = 'extname'; variable
8 $functions = get_extension_funcs($module);
14 $function = 'confirm_' . $module . '_compiled';
15 if (extension_loaded($module)) {
16 $str = $function($module);
18 $str = "Module $module is not compiled into PHP";
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_events.c45 static struct fpm_event_module_s *module; variable in typeref:struct:fpm_event_module_s
169 /* ask the event module to add the fd from its own queue */
170 if (*queue == fpm_event_queue_fd && module->add) {
171 module->add(ev);
200 /* ask the event module to remove the fd from its own queue */
201 if (*queue == fpm_event_queue_fd && module->remove) {
202 module->remove(ev);
222 if (*queue == fpm_event_queue_fd && module->clean) {
223 module->clean();
240 module
[all...]
H A Dfpm_main.c225 zend_module_entry *module = Z_PTR_P(zv); local
226 php_printf("%s\n", module->name);
787 1. SAPI Deactivate is called from two places: module init and request shutdown
/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c1823 Sets the module attribute on the connection for end-to-end tracing */
1829 char *module; local
1833 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_connection, &module, &module_len) == FAILURE) {
1839 PHP_OCI_CALL_RETURN(errstatus, OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) module, (ub4) module_len, (ub4) OCI_ATTR_MODULE, connection->err));
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_com.c296 OLECHAR *module = NULL; local
305 module = php_com_string_to_olestring(module_name, module_name_len, (int)code_page);
307 res = CLSIDFromString(module, &clsid);
334 efree(module);
/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt_filter.c28 MCRYPT module; member in struct:_php_mcrypt_filter_data
75 mcrypt_generic(data->module, outchunk + n, data->blocksize);
77 mdecrypt_generic(data->module, outchunk + n, data->blocksize);
94 mcrypt_generic(data->module, bucket->buf, (int)bucket->buflen);
96 mdecrypt_generic(data->module, bucket->buf, (int)bucket->buflen);
109 mcrypt_generic(data->module, data->block_buffer, data->blocksize);
111 mdecrypt_generic(data->module, data->block_buffer, data->blocksize);
136 mcrypt_generic_deinit(data->module);
137 mcrypt_module_close(data->module);
212 php_error_docref(NULL, E_WARNING, "Could not open encryption module");
[all...]
H A Dmcrypt.c170 ZEND_ARG_INFO(0, module)
175 ZEND_ARG_INFO(0, module)
180 ZEND_ARG_INFO(0, module)
351 char *module; \
354 "s|s", &module, &module_len, &dir, &dir_len) == FAILURE) { \
508 Opens the module of the algorithm and the mode to be used */
532 php_error_docref(NULL, E_WARNING, "Could not open encryption module");
544 This function initializes all buffers for the specific module */
595 /* If this function fails, close the mcrypt module to prevent crashes
864 Does a self test of the module "modul
1017 char *module; local
1046 char *module; local
1075 char *module; local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_reverse_api.h26 zend_module_entry * module; member in struct:st_mysqlnd_reverse_api
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c87 #error "NSAPI module needs ZTS to be defined"
149 /* PHP module part */
249 DL_HANDLE module = NULL; local
252 module = GetModuleHandle(nsapi_dll);
253 if (!module) {
257 /* find a LOADED dll module from nsapi_dlls */
259 if (module = GetModuleHandle(nsapi_dlls[i])) {
264 if (!module) return;
266 DL_HANDLE module = RTLD_DEFAULT;
268 nsapi_servact_uri2path = (nsapi_servact_prototype)DL_FETCH_SYMBOL(module, "INTservact_uri2pat
[all...]
/PHP_TRUNK/main/
H A Dphp_ini.c171 PHPAPI void display_ini_entries(zend_module_entry *module) argument
175 if (module) {
176 module_number = module->module_number;
564 /* Otherwise search for php-%sapi-module-name%.ini file in search path */
H A Dmain.c1180 /* bad error in module startup - no way we can live with this */
1980 * which broke calling it with more than one additional module.
2038 zend_module_entry *module; local
2261 if ((module = zend_hash_str_find_ptr(&module_registry, "standard", sizeof("standard")-1)) != NULL) {
2262 EG(current_module) = module;
2273 if ((module = zend_hash_str_find_ptr(&module_registry, "core", sizeof("core")-1)) != NULL) {
2274 module->version = PHP_VERSION;
2275 module->info_func = PHP_MINFO(php_core);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c467 static inline int php_sapi_phpdbg_module_startup(sapi_module_struct *module) /* {{{ */ argument
469 if (php_module_startup(module, &sapi_phpdbg_module_entry, 1) == FAILURE) {
H A Dphpdbg_wait.c210 zval *module; local
227 int mode = phpdbg_array_intersect(&pos, &module);
229 // loaded module, but not needed
230 if (strcmp(PHPDBG_NAME, Z_STRVAL_P(module))) {
231 zend_hash_del(&module_registry, Z_STR_P(module));
234 // not loaded module
235 if (!sapi_module.name || strcmp(sapi_module.name, Z_STRVAL_P(module))) {
236 phpdbg_notice("wait", "missingmodule=\"%.*s\"", "The module %.*s isn't present in " PHPDBG_NAME ", you still can load via dl /path/to/module/%.*s.so", Z_STRLEN_P(module), Z_STRVAL_
[all...]
H A Dphpdbg_webdata_transfer.c80 zend_module_entry *module; local
85 ZEND_HASH_FOREACH_PTR(&module_registry, module) {
87 ZVAL_STRING(value, module->name);
H A Dphpdbg_prompt.c887 static int add_module_info(zend_module_entry *module) { argument
888 phpdbg_write("module", "name=\"%s\"", "%s\n", module->name);
998 phpdbg_error("dl", "type=\"wrongbuild\" module=\"%s\" buildneeded=\"%s\" buildinstalled=\"%s\"", "%s was built with configuration %s, whereas running engine is %s", module_entry->name, module_entry->build_id, ZEND_EXTENSION_BUILD_ID);
1008 phpdbg_error("dl", "type=\"registerfailure\" module=\"%s\"", "Unable to register module %s", module_entry->name);
1014 phpdbg_error("dl", "type=\"startupfailure\" module=\"%s\"", "Unable to startup module %s", module_entry->name);
1021 phpdbg_error("dl", "type=\"initfailure\" module=\"%s\"", "Unable to initialize module
[all...]
/PHP_TRUNK/ext/standard/
H A Dinfo.c177 zend_module_entry *module = (zend_module_entry*)Z_PTR_P(el); local
178 if (module->info_func || module->version) {
179 php_info_print_module(module);
187 zend_module_entry *module = (zend_module_entry*)Z_PTR_P(el); local
188 if (!module->info_func && !module->version) {
189 php_info_print_module(module);
1230 Return the current SAPI module name */
H A Dbasic_functions.c3499 #define BASIC_MINIT_SUBMODULE(module) \
3500 if (PHP_MINIT(module)(INIT_FUNC_ARGS_PASSTHRU) == SUCCESS) {\
3501 BASIC_ADD_SUBMODULE(module); \
3504 #define BASIC_ADD_SUBMODULE(module) \
3505 zend_hash_str_add_empty_element(&basic_submodules, #module, strlen(#module));
3507 #define BASIC_RINIT_SUBMODULE(module) \
3508 if (zend_hash_str_exists(&basic_submodules, #module, strlen(#module))) { \
3509 PHP_RINIT(module)(INIT_FUNC_ARGS_PASSTHR
5259 zend_module_entry *module; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend.h187 struct _zend_module_entry *module; member in struct:_zend_class_entry::__anon6::__anon8
H A Dzend_API.c1614 ZEND_API int zend_startup_module_ex(zend_module_entry *module) /* {{{ */ argument
1619 if (module->module_started) {
1622 module->module_started = 1;
1624 /* Check module dependencies */
1625 if (module->deps) {
1626 const zend_module_dep *dep = module->deps;
1639 zend_error(E_CORE_WARNING, "Cannot load module '%s' because required module '%s' is not loaded", module->name, dep->name);
1640 module
1674 zend_module_entry *module = Z_PTR_P(zv); local
1717 zend_module_entry *module; local
1800 zend_register_module_ex(zend_module_entry *module) argument
1860 zend_register_internal_module(zend_module_entry *module) argument
2266 zend_startup_module(zend_module_entry *module) argument
2277 zend_module_entry *module; local
2302 module_destructor(zend_module_entry *module) argument
2351 zend_module_entry *module = *p; local
2365 zend_module_entry *module = Z_PTR_P(zv); local
2388 zend_module_entry *module = *p; local
2409 module_registry_unload_temp(const zend_module_entry *module) argument
2417 zend_module_entry *module = (zend_module_entry *)Z_PTR_P(el); local
2424 zend_module_entry *module = (zend_module_entry *)Z_PTR_P(el); local
2441 zend_module_entry *module = *p; local
3403 zend_module_entry *module; local
[all...]
H A Dzend_builtin_functions.c2056 zend_module_entry *module = (zend_module_entry*)Z_PTR_P(item); local
2057 add_next_index_string(name_array, module->name);
2124 zend_module_entry *module; local
2131 ZEND_HASH_FOREACH_PTR(&module_registry, module) {
2132 module_names[module->module_number] = (char *)module->name;
2661 zend_module_entry *module; local
2672 module = zend_hash_find_ptr(&module_registry, lcname);
2674 if (!module) {
2678 if (module
[all...]
H A Dzend_compile.h378 struct _zend_module_entry *module; member in struct:_zend_internal_function
H A Dzend.c569 zend_module_entry *module = (zend_module_entry*)Z_PTR_P(zv); local
571 module_destructor(module);
572 free(module);
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c226 zend_module_entry *module = Z_PTR_P(element); local
227 php_printf("%s\n", module->name);
886 1. SAPI Deactivate is called from two places: module init and request shutdown
2234 /* before registering argv to module exchange the *new* argv[0] */
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c182 zend_module_entry *module = (zend_module_entry*)Z_PTR_P(element); local
183 php_printf("%s\n", module->name);
941 /* before registering argv to module exchange the *new* argv[0] */
1126 zend_module_entry *module; local
1128 if ((module = zend_hash_str_find_ptr(&module_registry, lcname, len)) == NULL) {
1136 php_info_print_module(module);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c353 static void _extension_string(string *str, zend_module_entry *module, char *indent);
383 if (ce->type == ZEND_INTERNAL_CLASS && ce->info.internal.module) {
384 string_printf(str, ":%s", ce->info.internal.module->name);
792 if (fptr->type == ZEND_INTERNAL_FUNCTION && ((zend_internal_function*)fptr)->module) {
793 string_printf(str, ":%s", ((zend_internal_function*)fptr)->module->name);
976 struct _zend_module_entry *module = va_arg(args, struct _zend_module_entry*); local
979 if ((ce->type == ZEND_INTERNAL_CLASS) && ce->info.internal.module && !strcasecmp(ce->info.internal.module->name, module->name)) {
996 struct _zend_module_entry *module local
1007 _extension_string(string *str, zend_module_entry *module, char *indent) argument
1072 zend_hash_apply_with_arguments(EG(zend_constants), (apply_func_args_t) _extension_const_string, 4, &str_constants, indent, module, &num_constants); local
1108 zend_hash_apply_with_arguments(EG(class_table), (apply_func_args_t) _extension_class_string, 4, &str_classes, sub_indent.buf->val, module, &num_classes); local
1180 struct _zend_module_entry *module; local
5180 zend_module_entry *module; local
5216 zend_module_entry *module; local
5245 zend_module_entry *module; local
5266 zend_module_entry *module; local
5306 zend_module_entry *module; local
5344 zend_module_entry *module; local
5361 struct _zend_module_entry *module = va_arg(args, struct _zend_module_entry*); local
5390 zend_module_entry *module; local
5398 zend_hash_apply_with_arguments(EG(class_table), (apply_func_args_t) add_extension_class, 3, return_value, module, 1); local
5407 zend_module_entry *module; local
5415 zend_hash_apply_with_arguments(EG(class_table), (apply_func_args_t) add_extension_class, 3, return_value, module, 0); local
5424 zend_module_entry *module; local
5491 zend_module_entry *module; local
5507 zend_module_entry *module; local
5523 zend_module_entry *module; local
[all...]

Completed in 58 milliseconds

12