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

/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.c224 zend_module_entry *module = Z_PTR_P(zv); local
225 php_printf("%s\n", module->name);
820 1. SAPI Deactivate is called from two places: module init and request shutdown
/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)
314 char *module; \
317 "s|s", &module, &module_len, &dir, &dir_len) == FAILURE) { \
482 Opens the module of the algorithm and the mode to be used */
506 php_error_docref(NULL, E_WARNING, "Could not open encryption module");
518 This function initializes all buffers for the specific module */
569 /* If this function fails, close the mcrypt module to prevent crashes
837 Does a self test of the module "modul
990 char *module; local
1019 char *module; local
1048 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/ext/com_dotnet/
H A Dcom_com.c294 OLECHAR *module = NULL; local
303 module = php_com_string_to_olestring(module_name, module_name_len, (int)code_page);
305 res = CLSIDFromString(module, &clsid);
332 efree(module);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c1208 ** The mutex module within SQLite defines [sqlite3_mutex] to be an
1249 ** The zName field holds the name of the VFS module. The name must
1534 ** setting up a default [sqlite3_vfs] module, or setting up
3184 const char *zVfs /* Name of VFS module to use */
5679 ** KEYWORDS: sqlite3_module {virtual table module}
5681 ** This structure, sometimes called a "virtual table module",
5683 ** This structure consists mostly of methods for the module.
5685 ** ^A virtual table module is created by filling in a persistent
5689 ** module or until the [database connection] closes. The content
5735 ** method of a [virtual table module]
150588 static const sqlite3_tokenizer_module module = { local
[all...]
/PHP_TRUNK/ext/standard/
H A Dinfo.c174 zend_module_entry *module = (zend_module_entry*)Z_PTR_P(el); local
175 if (module->info_func || module->version) {
176 php_info_print_module(module);
184 zend_module_entry *module = (zend_module_entry*)Z_PTR_P(el); local
185 if (!module->info_func && !module->version) {
186 php_info_print_module(module);
1357 Return the current SAPI module name */
H A Dbasic_functions.c3521 #define BASIC_MINIT_SUBMODULE(module) \
3522 if (PHP_MINIT(module)(INIT_FUNC_ARGS_PASSTHRU) == SUCCESS) {\
3523 BASIC_ADD_SUBMODULE(module); \
3526 #define BASIC_ADD_SUBMODULE(module) \
3527 zend_hash_str_add_empty_element(&basic_submodules, #module, strlen(#module));
3529 #define BASIC_RINIT_SUBMODULE(module) \
3530 if (zend_hash_str_exists(&basic_submodules, #module, strlen(#module))) { \
3531 PHP_RINIT(module)(INIT_FUNC_ARGS_PASSTHR
5318 zend_module_entry *module; local
[all...]
/PHP_TRUNK/main/
H A Dmain.c1147 /* bad error in module startup - no way we can live with this */
1940 * which broke calling it with more than one additional module.
1998 zend_module_entry *module; local
2207 if ((module = zend_hash_str_find_ptr(&module_registry, "standard", sizeof("standard")-1)) != NULL) {
2208 EG(current_module) = module;
2219 if ((module = zend_hash_str_find_ptr(&module_registry, "core", sizeof("core")-1)) != NULL) {
2220 module->version = PHP_VERSION;
2221 module->info_func = PHP_MINFO(php_core);
H A Dphp_ini.c167 PHPAPI void display_ini_entries(zend_module_entry *module) argument
171 if (module) {
172 module_number = module->module_number;
562 /* Otherwise search for php-%sapi-module-name%.ini file in search path */
/PHP_TRUNK/sapi/phpdbg/
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.c746 static inline int php_sapi_phpdbg_module_startup(sapi_module_struct *module) /* {{{ */ argument
748 if (php_module_startup(module, &sapi_phpdbg_module_entry, 1) == FAILURE) {
H A Dphpdbg_prompt.c953 static int add_module_info(zend_module_entry *module) /* {{{ */ { argument
954 phpdbg_write("module", "name=\"%s\"", "%s\n", module->name);
1066 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);
1076 phpdbg_error("dl", "type=\"registerfailure\" module=\"%s\"", "Unable to register module %s", module_entry->name);
1082 phpdbg_error("dl", "type=\"startupfailure\" module=\"%s\"", "Unable to startup module %s", module_entry->name);
1089 phpdbg_error("dl", "type=\"initfailure\" module=\"%s\"", "Unable to initialize module
[all...]
/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c2088 zend_module_entry *module = (zend_module_entry*)Z_PTR_P(item); local
2089 add_next_index_string(name_array, module->name);
2156 zend_module_entry *module; local
2163 ZEND_HASH_FOREACH_PTR(&module_registry, module) {
2164 module_names[module->module_number] = (char *)module->name;
2684 zend_module_entry *module; local
2692 module = zend_hash_find_ptr(&module_registry, lcname);
2695 module = zend_hash_str_find_ptr(&module_registry, "core", sizeof("core") - 1);
2698 if (!module) {
[all...]
H A Dzend.h187 struct _zend_module_entry *module; member in struct:_zend_class_entry::__anon2::__anon4
H A Dzend.c600 zend_module_entry *module = (zend_module_entry*)Z_PTR_P(zv); local
602 module_destructor(module);
603 free(module);
H A Dzend_compile.h396 struct _zend_module_entry *module; member in struct:_zend_internal_function
H A Dzend_API.c1807 ZEND_API int zend_startup_module_ex(zend_module_entry *module) /* {{{ */ argument
1812 if (module->module_started) {
1815 module->module_started = 1;
1817 /* Check module dependencies */
1818 if (module->deps) {
1819 const zend_module_dep *dep = module->deps;
1832 zend_error(E_CORE_WARNING, "Cannot load module '%s' because required module '%s' is not loaded", module->name, dep->name);
1833 module
1867 zend_module_entry *module = Z_PTR_P(zv); local
1910 zend_module_entry *module; local
1993 zend_register_module_ex(zend_module_entry *module) argument
2053 zend_register_internal_module(zend_module_entry *module) argument
2460 zend_startup_module(zend_module_entry *module) argument
2471 zend_module_entry *module; local
2496 module_destructor(zend_module_entry *module) argument
2545 zend_module_entry *module = *p; local
2559 zend_module_entry *module = Z_PTR_P(zv); local
2582 zend_module_entry *module = *p; local
2603 module_registry_unload_temp(const zend_module_entry *module) argument
2611 zend_module_entry *module = (zend_module_entry *)Z_PTR_P(el); local
2618 zend_module_entry *module = (zend_module_entry *)Z_PTR_P(el); local
2635 zend_module_entry *module = *p; local
3599 zend_module_entry *module; local
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c238 zend_module_entry *module = Z_PTR_P(element); local
239 php_printf("%s\n", module->name);
898 1. SAPI Deactivate is called from two places: module init and request shutdown
2242 /* before registering argv to module exchange the *new* argv[0] */
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c372 static void _extension_string(string *str, zend_module_entry *module, char *indent);
402 if (ce->type == ZEND_INTERNAL_CLASS && ce->info.internal.module) {
403 string_printf(str, ":%s", ce->info.internal.module->name);
813 if (fptr->type == ZEND_INTERNAL_FUNCTION && ((zend_internal_function*)fptr)->module) {
814 string_printf(str, ":%s", ((zend_internal_function*)fptr)->module->name);
998 struct _zend_module_entry *module = va_arg(args, struct _zend_module_entry*); local
1001 if ((ce->type == ZEND_INTERNAL_CLASS) && ce->info.internal.module && !strcasecmp(ce->info.internal.module->name, module->name)) {
1018 struct _zend_module_entry *module local
1029 _extension_string(string *str, zend_module_entry *module, char *indent) argument
1094 zend_hash_apply_with_arguments(EG(zend_constants), (apply_func_args_t) _extension_const_string, 4, &str_constants, indent, module, &num_constants); local
1130 zend_hash_apply_with_arguments(EG(class_table), (apply_func_args_t) _extension_class_string, 4, &str_classes, ZSTR_VAL(sub_indent.buf), module, &num_classes); local
1202 struct _zend_module_entry *module; local
5588 zend_module_entry *module; local
5624 zend_module_entry *module; local
5653 zend_module_entry *module; local
5674 zend_module_entry *module; local
5714 zend_module_entry *module; local
5752 zend_module_entry *module; local
5769 struct _zend_module_entry *module = va_arg(args, struct _zend_module_entry*); local
5798 zend_module_entry *module; local
5806 zend_hash_apply_with_arguments(EG(class_table), (apply_func_args_t) add_extension_class, 3, return_value, module, 1); local
5815 zend_module_entry *module; local
5823 zend_hash_apply_with_arguments(EG(class_table), (apply_func_args_t) add_extension_class, 3, return_value, module, 0); local
5832 zend_module_entry *module; local
5899 zend_module_entry *module; local
5915 zend_module_entry *module; local
5931 zend_module_entry *module; local
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c184 zend_module_entry *module = (zend_module_entry*)Z_PTR_P(element); local
185 php_printf("%s\n", module->name);
933 /* before registering argv to module exchange the *new* argv[0] */
1109 zend_module_entry *module; local
1111 if ((module = zend_hash_str_find_ptr(&module_registry, lcname, len)) == NULL) {
1119 php_info_print_module(module);
/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c1835 Sets the module attribute on the connection for end-to-end tracing */
1841 char *module; local
1845 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &z_connection, &module, &module_len) == FAILURE) {
1851 PHP_OCI_CALL_RETURN(errstatus, OCIAttrSet, ((dvoid *) connection->session, (ub4) OCI_HTYPE_SESSION, (dvoid *) module, (ub4) module_len, (ub4) OCI_ATTR_MODULE, connection->err));

Completed in 266 milliseconds