Lines Matching refs:PHPDBG_G
49 if (!PHPDBG_G(last_was_newline)) { in phpdbg_process_print()
51 PHPDBG_G(last_was_newline) = 1; in phpdbg_process_print()
53 if (PHPDBG_G(flags) & PHPDBG_IS_COLOURED) { in phpdbg_process_print()
54 …msgoutlen = phpdbg_asprintf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_ERRO… in phpdbg_process_print()
61 if (!PHPDBG_G(last_was_newline)) { in phpdbg_process_print()
63 PHPDBG_G(last_was_newline) = 1; in phpdbg_process_print()
65 if (PHPDBG_G(flags) & PHPDBG_IS_COLOURED) { in phpdbg_process_print()
66 …msgoutlen = phpdbg_asprintf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_NOTI… in phpdbg_process_print()
79 PHPDBG_G(last_was_newline) = 1; in phpdbg_process_print()
86 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
96 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
135 if (PHPDBG_G(err_buf).active && type != P_STDOUT && type != P_STDERR) { in phpdbg_vprint()
138 PHPDBG_G(err_buf).type = type; in phpdbg_vprint()
139 PHPDBG_G(err_buf).fd = fd; in phpdbg_vprint()
140 PHPDBG_G(err_buf).msg = msg; in phpdbg_vprint()
141 PHPDBG_G(err_buf).msglen = msglen; in phpdbg_vprint()
160 if (PHPDBG_G(err_buf).type == 0) { in phpdbg_free_err_buf()
164 free(PHPDBG_G(err_buf).msg); in phpdbg_free_err_buf()
166 PHPDBG_G(err_buf).type = 0; in phpdbg_free_err_buf()
170 PHPDBG_G(err_buf).active = active; in phpdbg_activate_err_buf()
176 int errbuf_active = PHPDBG_G(err_buf).active; in phpdbg_output_err_buf()
178 if (PHPDBG_G(flags) & PHPDBG_DISCARD_OUTPUT) { in phpdbg_output_err_buf()
182 PHPDBG_G(err_buf).active = 0; in phpdbg_output_err_buf()
185 len = phpdbg_vprint(PHPDBG_G(err_buf).type, PHPDBG_G(err_buf).fd, strfmt, args); in phpdbg_output_err_buf()
188 PHPDBG_G(err_buf).active = errbuf_active; in phpdbg_output_err_buf()
198 if (PHPDBG_G(flags) & PHPDBG_DISCARD_OUTPUT) { in phpdbg_print()
231 if (PHPDBG_G(flags) & PHPDBG_DISCARD_OUTPUT) { in phpdbg_out_internal()