Lines Matching refs:mod

95 			PS(mod)->s_close(&PS(mod_data) TSRMLS_CC);  in php_rshutdown_session_globals()
113 if (PS(mod)->s_destroy(&PS(mod_data), PS(id) TSRMLS_CC) == FAILURE) { in php_session_destroy()
506 if (!PS(mod)) { in php_session_initialize()
512 if (PS(mod)->s_open(&PS(mod_data), PS(save_path), PS(session_name) TSRMLS_CC) == FAILURE) { in php_session_initialize()
513 …RMLS_CC, E_ERROR, "Failed to initialize storage module: %s (path: %s)", PS(mod)->s_name, PS(save_p… in php_session_initialize()
520 PS(id) = PS(mod)->s_create_sid(&PS(mod_data), NULL TSRMLS_CC); in php_session_initialize()
533 if (PS(mod)->s_read(&PS(mod_data), PS(id), &val, &vallen TSRMLS_CC) == SUCCESS) { in php_session_initialize()
608 ret = PS(mod)->s_write(&PS(mod_data), PS(id), val, vallen TSRMLS_CC); in php_session_save_current_state()
611 ret = PS(mod)->s_write(&PS(mod_data), PS(id), "", 0 TSRMLS_CC); in php_session_save_current_state()
619 PS(mod)->s_name, in php_session_save_current_state()
625 PS(mod)->s_close(&PS(mod_data) TSRMLS_CC); in php_session_save_current_state()
656 PS(mod) = tmp; in PHP_INI_MH()
1299 ps_module **mod;
1302 for (i = 0, mod = ps_modules; i < MAX_MODULES; i++, mod++) {
1303 if (*mod && !strcasecmp(name, (*mod)->s_name)) {
1304 ret = *mod;
1315 const ps_serializer *mod;
1317 for (mod = ps_serializers; mod->name; mod++) {
1318 if (!strcasecmp(name, mod->name)) {
1319 ret = mod;
1384 if (!PS(mod) && value) {
1385 PS(mod) = _php_find_ps_module(value TSRMLS_CC);
1386 if (!PS(mod)) {
1501 PS(mod)->s_gc(&PS(mod_data), PS(gc_maxlifetime), &nrdels TSRMLS_CC);
1616 if (PS(mod) && PS(mod)->s_name) {
1617 RETVAL_STRING(safe_estrdup(PS(mod)->s_name), 0);
1630 PS(mod)->s_close(&PS(mod_data) TSRMLS_CC);
1751 if (del_ses && PS(mod)->s_destroy(&PS(mod_data), PS(id) TSRMLS_CC) == FAILURE) {
1759 PS(id) = PS(mod)->s_create_sid(&PS(mod_data), NULL TSRMLS_CC);
2133 if (PS(mod) == NULL) {
2138 PS(mod) = _php_find_ps_module(value TSRMLS_CC);
2151 if (PS(mod) == NULL || PS(serializer) == NULL) {
2193 ps_globals->mod = NULL;
2237 ps_module **mod;
2244 for (i = 0, mod = ps_modules; i < MAX_MODULES; i++, mod++) {
2245 if (*mod && (*mod)->s_name) {
2246 smart_str_appends(&save_handlers, (*mod)->s_name);