Lines Matching refs:dep
1839 const zend_module_dep *dep = module->deps; in zend_startup_module_ex() local
1841 while (dep->name) { in zend_startup_module_ex()
1842 if (dep->type == MODULE_DEP_REQUIRED) { in zend_startup_module_ex()
1845 name_len = strlen(dep->name); in zend_startup_module_ex()
1847 zend_str_tolower_copy(ZSTR_VAL(lcname), dep->name, name_len); in zend_startup_module_ex()
1852 …"Cannot load module \"%s\" because required module \"%s\" is not loaded", module->name, dep->name); in zend_startup_module_ex()
1858 ++dep; in zend_startup_module_ex()
1905 const zend_module_dep *dep = m->deps; in zend_sort_modules() local
1906 while (dep->name) { in zend_sort_modules()
1907 if (dep->type == MODULE_DEP_REQUIRED || dep->type == MODULE_DEP_OPTIONAL) { in zend_sort_modules()
1911 if (strcasecmp(dep->name, r->name) == 0) { in zend_sort_modules()
1920 dep++; in zend_sort_modules()
2028 const zend_module_dep *dep = module->deps; in zend_register_module_ex() local
2030 while (dep->name) { in zend_register_module_ex()
2031 if (dep->type == MODULE_DEP_CONFLICTS) { in zend_register_module_ex()
2032 name_len = strlen(dep->name); in zend_register_module_ex()
2034 zend_str_tolower_copy(ZSTR_VAL(lcname), dep->name, name_len); in zend_register_module_ex()
2036 if (zend_hash_exists(&module_registry, lcname) || zend_get_extension(dep->name)) { in zend_register_module_ex()
2039 … load module \"%s\" because conflicting module \"%s\" is already loaded", module->name, dep->name); in zend_register_module_ex()
2044 ++dep; in zend_register_module_ex()