/PHP-5.5/ext/session/ |
H A D | session.c | 113 PS(mod)->s_close(&PS(mod_data) TSRMLS_CC); in php_rshutdown_session_globals() 132 if (PS(id) && PS(mod)->s_destroy(&PS(mod_data), PS(id) TSRMLS_CC) == FAILURE) { in php_session_destroy() 482 if (PS(mod)->s_open(&PS(mod_data), PS(save_path), PS(session_name) TSRMLS_CC) == FAILURE) { in php_session_initialize() 489 PS(id) = PS(mod)->s_create_sid(&PS(mod_data), NULL TSRMLS_CC); in php_session_initialize() 544 ret = PS(mod)->s_write(&PS(mod_data), PS(id), val, vallen TSRMLS_CC); in php_session_save_current_state() 547 ret = PS(mod)->s_write(&PS(mod_data), PS(id), "", 0 TSRMLS_CC); in php_session_save_current_state() 593 PS(default_mod) = PS(mod); in PHP_INI_MH() 1619 PS(mod)->s_gc(&PS(mod_data), PS(gc_maxlifetime), &nrdels TSRMLS_CC); 1734 if (PS(mod) && PS(mod)->s_name) { 1973 PS(id) = PS(mod)->s_create_sid(&PS(mod_data), NULL TSRMLS_CC); [all …]
|
H A D | mod_user_class.c | 25 if (PS(default_mod) == NULL) { \ 32 if (!PS(mod_user_is_open)) { \ 50 PS(mod_user_is_open) = 1; in PHP_METHOD() 51 RETVAL_BOOL(SUCCESS == PS(default_mod)->s_open(&PS(mod_data), save_path, session_name TSRMLS_CC)); in PHP_METHOD() 65 PS(mod_user_is_open) = 0; in PHP_METHOD() 66 RETVAL_BOOL(SUCCESS == PS(default_mod)->s_close(&PS(mod_data) TSRMLS_CC)); in PHP_METHOD() 83 if (PS(default_mod)->s_read(&PS(mod_data), key, &val, &val_len TSRMLS_CC) == FAILURE) { in PHP_METHOD() 107 RETVAL_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val, val_len TSRMLS_CC)); in PHP_METHOD() 124 RETVAL_BOOL(SUCCESS == PS(default_mod)->s_destroy(&PS(mod_data), key TSRMLS_CC)); in PHP_METHOD() 141 RETVAL_BOOL(SUCCESS == PS(default_mod)->s_gc(&PS(mod_data), maxlifetime, &nrdels TSRMLS_CC)); in PHP_METHOD() [all …]
|
H A D | mod_mm.c | 276 int save_path_len = strlen(PS(save_path)); in PHP_MINIT_FUNCTION() 296 memcpy(ps_mm_path, PS(save_path), save_path_len); in PHP_MINIT_FUNCTION() 359 if (PS(use_strict_mode) in PS_READ_FUNC() 363 efree(PS(id)); in PS_READ_FUNC() 364 PS(id) = NULL; in PS_READ_FUNC() 366 PS(id) = PS(mod)->s_create_sid((void **)&data, NULL TSRMLS_CC); in PS_READ_FUNC() 367 if (!PS(id)) { in PS_READ_FUNC() 370 if (PS(use_cookies)) { in PS_READ_FUNC() 371 PS(send_cookie) = 1; in PS_READ_FUNC() 374 PS(session_status) = php_session_active; in PS_READ_FUNC() [all …]
|
H A D | mod_files.c | 345 if (PS(use_strict_mode) && in PS_READ_FUNC() 349 efree(PS(id)); in PS_READ_FUNC() 350 PS(id) = NULL; in PS_READ_FUNC() 352 PS(id) = PS(mod)->s_create_sid((void **)&data, NULL TSRMLS_CC); in PS_READ_FUNC() 353 if (!PS(id)) { in PS_READ_FUNC() 356 if (PS(use_cookies)) { in PS_READ_FUNC() 357 PS(send_cookie) = 1; in PS_READ_FUNC() 360 PS(session_status) = php_session_active; in PS_READ_FUNC() 363 ps_files_open(data, PS(id) TSRMLS_CC); in PS_READ_FUNC()
|
H A D | mod_user.c | 69 #define PSF(a) PS(mod_user_names).name.ps_##a 95 PS(mod_user_implemented) = 1; in PS_OPEN_FUNC() 105 if (!PS(mod_user_implemented)) { in PS_CLOSE_FUNC() 116 PS(mod_user_implemented) = 0; in PS_CLOSE_FUNC()
|
H A D | php_session.h | 191 #define PS(v) TSRMG(ps_globals_id, php_ps_globals *, v) macro 193 #define PS(v) (ps_globals.v) macro 248 if (PS(http_session_vars)) { \ 249 zend_hash_del(Z_ARRVAL_P(PS(http_session_vars)), name, namelen+1); \ 261 HashTable *_ht = Z_ARRVAL_P(PS(http_session_vars)); \
|
/PHP-5.5/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_fetch_non_select.phpt | 17 // 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 D | pdo_mysql_stmt_columncount.phpt | 16 // 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 D | pdo_mysql_stmt_errorcode.phpt | 17 printf("Testing emulated PS...\n"); 33 printf("Testing native PS...\n"); 51 Testing emulated PS... 55 Testing native PS...
|
H A D | pdo_mysql_prepare_emulated_placeholder_everywhere.phpt | 2 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 D | pdo_mysql_prepare_native_placeholder_everywhere.phpt | 2 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 D | pdo_mysql_prepare_emulated_anonymous.phpt | 2 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 D | pdo_mysql_stmt_variable_columncount.phpt | 52 // 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 D | pdo_mysql_stmt_errorinfo.phpt | 16 printf("Testing emulated PS...\n"); 39 printf("Testing native PS...\n"); 68 Testing emulated PS... 106 Testing native PS...
|
H A D | pdo_mysql_stmt_nextrowset.phpt | 70 // Emulated PS 71 printf("Emulated PS...\n"); 85 // Native PS 86 printf("Native PS...\n"); 117 Emulated PS... 216 Native PS...
|
H A D | pdo_mysql_stmt_bindparam.phpt | 62 /* 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 D | pdo_mysql_stmt_blobfromsteam.phpt | 123 printf("Emulated PS...\n"); 127 printf("Native PS...\n"); 146 Emulated PS... 147 Native PS...
|
H A D | pdo_mysql_prepare_native_named_placeholder.phpt | 2 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 D | pdo_mysql_multi_stmt_nextrowset.phpt | 44 // Using native PS for proc, since emulated fails. 45 printf("Native PS...\n"); 90 Native PS...
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_get_client_stats_ps.phpt | 2 mysqli_get_client_stats() - PS 44 printf("[003] Unbuffered rows got increased after buffered PS, expecting %d got %d.\n",
|
H A D | bug55653.phpt | 2 Bug #55653 PS crash with libmysql when binding same variable as param and out
|
H A D | bug42378.phpt | 54 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 D | mysqli_explain_metadata.phpt | 106 printf("[017] Cannot fetch result from PS [%d] %s\n", 137 printf("[023] PS mysqli_stmt_get_result() metadata seems wrong, dumping\n"); 144 printf("[023] PS mysqli_stmt_get_result() metadata seems wrong, dumping\n");
|
H A D | bug_mysql_49406.phpt | 85 printf("[008] PS and non-PS results differ, dumping data\n");
|
H A D | bug45289.phpt | 2 Bug #45289 (Bogus store_result on PS)
|