Home
last modified time | relevance | path

Searched refs:PS (Results 1 – 25 of 49) sorted by relevance

12

/PHP-7.4/ext/session/
H A Dsession.c165 if (PS(id) && PS(mod)->s_destroy(&PS(mod_data), PS(id)) == FAILURE) { in php_session_destroy()
372 PS(mod)->s_gc(&PS(mod_data), PS(gc_maxlifetime), &num); in php_session_gc()
396 if (PS(mod)->s_open(&PS(mod_data), PS(save_path), PS(session_name)) == FAILURE in php_session_initialize()
409 PS(id) = PS(mod)->s_create_sid(&PS(mod_data)); in php_session_initialize()
423 PS(id) = PS(mod)->s_create_sid(&PS(mod_data)); in php_session_initialize()
439 if (PS(mod)->s_read(&PS(mod_data), PS(id), &val, PS(gc_maxlifetime)) == FAILURE) { in php_session_initialize()
483 ret = PS(mod)->s_write(&PS(mod_data), PS(id), val, PS(gc_maxlifetime)); in php_session_save_current_state()
564 PS(default_mod) = PS(mod); in PHP_INI_MH()
2201 ret = PS(mod)->s_write(&PS(mod_data), PS(id), data, PS(gc_maxlifetime)); in PHP_FUNCTION()
2229 PS(id) = PS(mod)->s_create_sid(&PS(mod_data)); in PHP_FUNCTION()
[all …]
H A Dmod_user_class.c34 if (!PS(mod_user_is_open)) { \
53 PS(mod_user_is_open) = 1; in PHP_METHOD()
56 ret = PS(default_mod)->s_open(&PS(mod_data), save_path, session_name); in PHP_METHOD()
78 PS(mod_user_is_open) = 0; in PHP_METHOD()
81 ret = PS(default_mod)->s_close(&PS(mod_data)); in PHP_METHOD()
104 if (PS(default_mod)->s_read(&PS(mod_data), key, &val, PS(gc_maxlifetime)) == FAILURE) { in PHP_METHOD()
124 RETURN_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val, PS(gc_maxlifetime))); in PHP_METHOD()
140 RETURN_BOOL(SUCCESS == PS(default_mod)->s_destroy(&PS(mod_data), key)); in PHP_METHOD()
157 if (PS(default_mod)->s_gc(&PS(mod_data), maxlifetime, &nrdels) == FAILURE) { in PHP_METHOD()
176 id = PS(default_mod)->s_create_sid(&PS(mod_data)); in PHP_METHOD()
[all …]
H A Dmod_user.c31 if (PS(in_save_handler)) { in ps_call_handler()
32 PS(in_save_handler) = 0; in ps_call_handler()
37 PS(in_save_handler) = 1; in ps_call_handler()
44 PS(in_save_handler) = 0; in ps_call_handler()
54 #define PSF(a) PS(mod_user_names).name.ps_##a
97 PS(session_status) = php_session_none; in PS_OPEN_FUNC()
104 PS(mod_user_implemented) = 1; in PS_OPEN_FUNC()
114 if (!PS(mod_user_implemented)) { in PS_CLOSE_FUNC()
125 PS(mod_user_implemented) = 0; in PS_CLOSE_FUNC()
H A Dmod_mm.c271 int save_path_len = strlen(PS(save_path)); in PHP_MINIT_FUNCTION()
291 memcpy(ps_mm_path, PS(save_path), save_path_len); in PHP_MINIT_FUNCTION()
354 if (PS(use_strict_mode) in PS_READ_FUNC()
358 efree(PS(id)); in PS_READ_FUNC()
359 PS(id) = NULL; in PS_READ_FUNC()
361 PS(id) = PS(mod)->s_create_sid((void **)&data); in PS_READ_FUNC()
362 if (!PS(id)) { in PS_READ_FUNC()
365 if (PS(use_cookies)) { in PS_READ_FUNC()
366 PS(send_cookie) = 1; in PS_READ_FUNC()
369 PS(session_status) = php_session_active; in PS_READ_FUNC()
[all …]
H A Dphp_session.h214 #define PS(v) ZEND_TSRMG(ps_globals_id, php_ps_globals *, v) macro
219 #define PS(v) (ps_globals.v)
282 if (!Z_ISNULL(PS(http_session_vars))) { \
283 zend_hash_del(Z_ARRVAL(PS(http_session_vars)), name); \
294 HashTable *_ht = Z_ARRVAL_P(Z_REFVAL(PS(http_session_vars))); \
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_fetch_non_select.phpt17 // Emulated PS first
34 printf("[004] Emulated PS, DESCRIBE returned no results\n");
52 printf("[007] Emulated PS, SHOW returned no results\n");
54 printf("[008] Emulated PS, SHOW data seems wrong, dumping %s\n",
58 printf("[009] Emulated PS, EXPLAIN returned no results\n");
65 printf("[010] Emulated PS, EXPLAIN returned no results\n");
67 // And now native PS
113 printf("[016] Native PS (native support: %s), SHOW failed, %s\n",
134 …printf("Native PS (native support: %s) and emulated PS returned different data for SHOW: %s vs. %s…
159 …printf("Native PS (native support: %s) and emulated PS returned different data for EXPLAIN: %s vs.…
[all …]
H A Dpdo_mysql_stmt_columncount.phpt16 // The only purpose of this is to check if emulated and native PS
19 printf("Testing emulated PS...\n");
37 printf("Testing native PS...\n");
63 Testing emulated PS...
66 Testing native PS...
H A Dpdo_mysql_stmt_errorcode.phpt17 printf("Testing emulated PS...\n");
33 printf("Testing native PS...\n");
51 Testing emulated PS...
55 Testing native PS...
H A Dpdo_mysql_prepare_emulated_placeholder_everywhere.phpt2 MySQL PDO->prepare(), emulated PS, anonymous placeholder
16 // native PS
36 // now the same with emulated PS
37 printf("now the same with emulated PS\n");
72 now the same with emulated PS
H A Dpdo_mysql_prepare_emulated_anonymous.phpt2 MySQL PDO->prepare(), emulated PS, anonymous placeholder
35 // now the same with native PS
36 printf("now the same with native PS\n");
77 now the same with native PS
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt2 MySQL PDO->prepare(),native PS, anonymous placeholder
31 // now the same with native PS
32 printf("now the same with native PS\n");
78 now the same with native PS
H A Dpdo_mysql_stmt_nextrowset.phpt70 // Emulated PS
71 printf("Emulated PS...\n");
85 // Native PS
86 printf("Native PS...\n");
117 Emulated PS...
216 Native PS...
H A Dpdo_mysql_stmt_variable_columncount.phpt52 // What will happen if a PS returns a differen number of result set column upon each execution?
57 // Emulates PS first
70 // Native PS
88 // Emulates PS first
101 // Native PS
H A Dpdo_mysql_stmt_errorinfo.phpt16 printf("Testing emulated PS...\n");
39 printf("Testing native PS...\n");
68 Testing emulated PS...
106 Testing native PS...
H A Dpdo_mysql_stmt_bindparam.phpt62 /* NOTE: you cannot use PDO::query() with unbuffered, native PS - see extra test */
83 printf("Emulated PS...\n");
97 printf("Native PS...\n");
125 Emulated PS...
142 Native PS...
H A Dpdo_mysql_prepare_native_named_placeholder.phpt2 MySQL PDO->prepare(), native PS, named placeholder
28 // do not work with MySQL native PS, but lets see what happens!
42 // Now the same with emulated PS.
H A Dpdo_mysql_stmt_blobfromsteam.phpt123 printf("Emulated PS...\n");
127 printf("Native PS...\n");
146 Emulated PS...
147 Native PS...
H A Dpdo_mysql_multi_stmt_nextrowset.phpt44 // Using native PS for proc, since emulated fails.
45 printf("Native PS...\n");
90 Native PS...
H A Dpdo_mysql_prepare_native_column.phpt2 MySQL PDO->prepare(), native PS, named placeholder
/PHP-7.4/ext/mysqli/tests/
H A Dbug55653.phpt2 Bug #55653 PS crash with libmysql when binding same variable as param and out
H A Dmysqli_get_client_stats_ps.phpt2 mysqli_get_client_stats() - PS
44 printf("[003] Unbuffered rows got increased after buffered PS, expecting %d got %d.\n",
H A Dbug42378.phpt54 printf("[%03d] Cannot create PS, [%d] %s\n",
67 printf("[%03d] Cannot prepare PS, [%d] %s\n",
74 printf("[%03d] Cannot execute PS, [%d] %s\n",
H A Dmysqli_explain_metadata.phpt106 printf("[017] Cannot fetch result from PS [%d] %s\n",
138 printf("[023] PS mysqli_stmt_get_result() metadata seems wrong, dumping\n");
145 printf("[023] PS mysqli_stmt_get_result() metadata seems wrong, dumping\n");
H A Dbug45289.phpt2 Bug #45289 (Bogus store_result on PS)
H A Dbug_mysql_49406.phpt85 printf("[008] PS and non-PS results differ, dumping data\n");

Completed in 74 milliseconds

12