Lines Matching refs:SAFE_STRING
235 #define SAFE_STRING(s) ((s)?(char*)(s):"") macro
252 add_assoc_string(return_value,"line_buffer",SAFE_STRING(rl_line_buffer)); in PHP_FUNCTION()
259 add_assoc_string(return_value,"prompt",SAFE_STRING(rl_prompt)); in PHP_FUNCTION()
260 add_assoc_string(return_value,"terminal_name",(char *)SAFE_STRING(rl_terminal_name)); in PHP_FUNCTION()
265 add_assoc_string(return_value,"library_version",(char *)SAFE_STRING(rl_library_version)); in PHP_FUNCTION()
266 add_assoc_string(return_value,"readline_name",(char *)SAFE_STRING(rl_readline_name)); in PHP_FUNCTION()
276 RETVAL_STRING(SAFE_STRING(oldstr)); in PHP_FUNCTION()
299 RETVAL_STRING(SAFE_STRING(rl_prompt)); in PHP_FUNCTION()
301 RETVAL_STRING((char *)SAFE_STRING(rl_terminal_name)); in PHP_FUNCTION()
313 RETVAL_STRING((char *)SAFE_STRING(rl_library_version)); in PHP_FUNCTION()
321 RETVAL_STRING(SAFE_STRING(oldstr)); in PHP_FUNCTION()