Lines Matching refs:PHPDBG_G

567 						s = PHPDBG_G(err_buf).xml;  in format_converter()
569 s = PHPDBG_G(err_buf).msg; in format_converter()
574 s_len = PHPDBG_G(err_buf).xmllen; in format_converter()
576 s_len = PHPDBG_G(err_buf).msglen; in format_converter()
591 if (PHPDBG_G(req_id)) { in format_converter()
592 s_len = spprintf(&s, 0, "req=\"%lu\"", PHPDBG_G(req_id)); in format_converter()
957 …if ((PHPDBG_G(flags) & PHPDBG_WRITE_XML) && PHPDBG_G(in_script_xml) && PHPDBG_G(in_script_xml) != … in phpdbg_process_print()
959 PHPDBG_G(in_script_xml) = 0; in phpdbg_process_print()
965 if (!PHPDBG_G(last_was_newline)) { in phpdbg_process_print()
966 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_process_print()
971 PHPDBG_G(last_was_newline) = 1; in phpdbg_process_print()
973 if (PHPDBG_G(flags) & PHPDBG_IS_COLOURED) { in phpdbg_process_print()
974 …msgoutlen = phpdbg_asprintf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_ERRO… in phpdbg_process_print()
982 if (!PHPDBG_G(last_was_newline)) { in phpdbg_process_print()
983 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_process_print()
988 PHPDBG_G(last_was_newline) = 1; in phpdbg_process_print()
990 if (PHPDBG_G(flags) & PHPDBG_IS_COLOURED) { in phpdbg_process_print()
991 …msgoutlen = phpdbg_asprintf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_NOTI… in phpdbg_process_print()
1005 PHPDBG_G(last_was_newline) = 1; in phpdbg_process_print()
1013 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1023 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1024 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_process_print()
1027 if (PHPDBG_G(in_script_xml) != type) { in phpdbg_process_print()
1032 PHPDBG_G(in_script_xml) = type; in phpdbg_process_print()
1061 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_process_print()
1064 if (PHPDBG_G(req_id)) { in phpdbg_process_print()
1066 xmllen = phpdbg_asprintf(&xmlbuf, "req=\"%lu\" %.*s", PHPDBG_G(req_id), xmllen, xml); in phpdbg_process_print()
1087 if (PHPDBG_G(req_id) && (PHPDBG_G(flags) & PHPDBG_WRITE_XML)) { in phpdbg_process_print()
1110 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_vprint()
1120 if (PHPDBG_G(err_buf).active && type != P_STDOUT && type != P_STDERR) { in phpdbg_vprint()
1123 PHPDBG_G(err_buf).type = type; in phpdbg_vprint()
1124 PHPDBG_G(err_buf).fd = fd; in phpdbg_vprint()
1125 PHPDBG_G(err_buf).tag = estrdup(tag); in phpdbg_vprint()
1126 PHPDBG_G(err_buf).msg = msg; in phpdbg_vprint()
1127 PHPDBG_G(err_buf).msglen = msglen; in phpdbg_vprint()
1128 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_vprint()
1129 PHPDBG_G(err_buf).xml = xml; in phpdbg_vprint()
1130 PHPDBG_G(err_buf).xmllen = xmllen; in phpdbg_vprint()
1150 if (PHPDBG_G(err_buf).type == 0) { in phpdbg_free_err_buf()
1154 PHPDBG_G(err_buf).type = 0; in phpdbg_free_err_buf()
1156 efree(PHPDBG_G(err_buf).tag); in phpdbg_free_err_buf()
1157 efree(PHPDBG_G(err_buf).msg); in phpdbg_free_err_buf()
1158 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_free_err_buf()
1159 efree(PHPDBG_G(err_buf).xml); in phpdbg_free_err_buf()
1164 PHPDBG_G(err_buf).active = active; in phpdbg_activate_err_buf()
1170 int errbuf_active = PHPDBG_G(err_buf).active; in phpdbg_output_err_buf()
1172 if (PHPDBG_G(flags) & PHPDBG_DISCARD_OUTPUT) { in phpdbg_output_err_buf()
1176 PHPDBG_G(err_buf).active = 0; in phpdbg_output_err_buf()
1179 …len = phpdbg_vprint(PHPDBG_G(err_buf).type, PHPDBG_G(err_buf).fd, tag ? tag : PHPDBG_G(err_buf).ta… in phpdbg_output_err_buf()
1182 PHPDBG_G(err_buf).active = errbuf_active; in phpdbg_output_err_buf()
1192 if (PHPDBG_G(flags) & PHPDBG_DISCARD_OUTPUT) { in phpdbg_print()
1206 if (PHPDBG_G(flags) & PHPDBG_DISCARD_OUTPUT) { in phpdbg_xml_internal()
1210 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_xml_internal()
1221 if (PHPDBG_G(in_script_xml)) { in phpdbg_xml_internal()
1223 PHPDBG_G(in_script_xml) = 0; in phpdbg_xml_internal()
1255 if (PHPDBG_G(flags) & PHPDBG_DISCARD_OUTPUT) { in phpdbg_out_internal()
1263 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_out_internal()
1271 if (PHPDBG_G(in_script_xml)) { in phpdbg_out_internal()
1273 PHPDBG_G(in_script_xml) = 0; in phpdbg_out_internal()