Lines Matching refs:SAFE_STRING
138 #define SAFE_STRING(s) ((s)?(char*)(s):"") macro
154 add_assoc_string(return_value,"line_buffer",SAFE_STRING(rl_line_buffer)); in PHP_FUNCTION()
163 add_assoc_string(return_value,"prompt",SAFE_STRING(rl_prompt)); in PHP_FUNCTION()
164 add_assoc_string(return_value,"terminal_name",(char *)SAFE_STRING(rl_terminal_name)); in PHP_FUNCTION()
175 add_assoc_string(return_value,"library_version",(char *)SAFE_STRING(rl_library_version)); in PHP_FUNCTION()
177 add_assoc_string(return_value,"readline_name",(char *)SAFE_STRING(rl_readline_name)); in PHP_FUNCTION()
189 RETVAL_STRING(SAFE_STRING(oldstr)); in PHP_FUNCTION()
215 RETVAL_STRING(SAFE_STRING(rl_prompt)); in PHP_FUNCTION()
217 RETVAL_STRING((char *)SAFE_STRING(rl_terminal_name)); in PHP_FUNCTION()
245 RETVAL_STRING((char *)SAFE_STRING(rl_library_version)); in PHP_FUNCTION()
256 RETVAL_STRING(SAFE_STRING(oldstr)); in PHP_FUNCTION()