Lines Matching refs:SAFE_STRING
237 #define SAFE_STRING(s) ((s)?(char*)(s):"") macro
254 add_assoc_string(return_value,"line_buffer",SAFE_STRING(rl_line_buffer)); in PHP_FUNCTION()
263 add_assoc_string(return_value,"prompt",SAFE_STRING(rl_prompt)); in PHP_FUNCTION()
264 add_assoc_string(return_value,"terminal_name",(char *)SAFE_STRING(rl_terminal_name)); in PHP_FUNCTION()
270 add_assoc_string(return_value,"library_version",(char *)SAFE_STRING(rl_library_version)); in PHP_FUNCTION()
272 add_assoc_string(return_value,"readline_name",(char *)SAFE_STRING(rl_readline_name)); in PHP_FUNCTION()
282 RETVAL_STRING(SAFE_STRING(oldstr)); in PHP_FUNCTION()
307 RETVAL_STRING(SAFE_STRING(rl_prompt)); in PHP_FUNCTION()
309 RETVAL_STRING((char *)SAFE_STRING(rl_terminal_name)); in PHP_FUNCTION()
322 RETVAL_STRING((char *)SAFE_STRING(rl_library_version)); in PHP_FUNCTION()
331 RETVAL_STRING(SAFE_STRING(oldstr)); in PHP_FUNCTION()