Lines Matching refs:SAFE_STRING
141 #define SAFE_STRING(s) ((s)?(char*)(s):"") macro
157 add_assoc_string(return_value,"line_buffer",SAFE_STRING(rl_line_buffer)); in PHP_FUNCTION()
166 add_assoc_string(return_value,"prompt",SAFE_STRING(rl_prompt)); in PHP_FUNCTION()
167 add_assoc_string(return_value,"terminal_name",(char *)SAFE_STRING(rl_terminal_name)); in PHP_FUNCTION()
178 add_assoc_string(return_value,"library_version",(char *)SAFE_STRING(rl_library_version)); in PHP_FUNCTION()
180 add_assoc_string(return_value,"readline_name",(char *)SAFE_STRING(rl_readline_name)); in PHP_FUNCTION()
192 RETVAL_STRING(SAFE_STRING(oldstr)); in PHP_FUNCTION()
218 RETVAL_STRING(SAFE_STRING(rl_prompt)); in PHP_FUNCTION()
220 RETVAL_STRING((char *)SAFE_STRING(rl_terminal_name)); in PHP_FUNCTION()
248 RETVAL_STRING((char *)SAFE_STRING(rl_library_version)); in PHP_FUNCTION()
259 RETVAL_STRING(SAFE_STRING(oldstr)); in PHP_FUNCTION()