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=\"" ZEND_ULONG_FMT "\"", PHPDBG_G(req_id)); in format_converter()
956 …if ((PHPDBG_G(flags) & PHPDBG_WRITE_XML) && PHPDBG_G(in_script_xml) && PHPDBG_G(in_script_xml) != … in phpdbg_process_print()
958 PHPDBG_G(in_script_xml) = 0; in phpdbg_process_print()
964 if (!PHPDBG_G(last_was_newline)) { in phpdbg_process_print()
965 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_process_print()
970 PHPDBG_G(last_was_newline) = 1; in phpdbg_process_print()
972 if (PHPDBG_G(flags) & PHPDBG_IS_COLOURED) { in phpdbg_process_print()
973 …msgoutlen = phpdbg_asprintf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_ERRO… in phpdbg_process_print()
981 if (!PHPDBG_G(last_was_newline)) { in phpdbg_process_print()
982 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_process_print()
987 PHPDBG_G(last_was_newline) = 1; in phpdbg_process_print()
989 if (PHPDBG_G(flags) & PHPDBG_IS_COLOURED) { in phpdbg_process_print()
990 …msgoutlen = phpdbg_asprintf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_NOTI… in phpdbg_process_print()
1004 PHPDBG_G(last_was_newline) = 1; in phpdbg_process_print()
1012 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1022 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1023 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_process_print()
1026 if (PHPDBG_G(in_script_xml) != type) { in phpdbg_process_print()
1031 PHPDBG_G(in_script_xml) = type; in phpdbg_process_print()
1060 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_process_print()
1063 if (PHPDBG_G(req_id)) { in phpdbg_process_print()
1065 …xmllen = phpdbg_asprintf(&xmlbuf, "req=\"" ZEND_ULONG_FMT "\" %.*s", PHPDBG_G(req_id), xmllen, xml… in phpdbg_process_print()
1086 if (PHPDBG_G(req_id) && (PHPDBG_G(flags) & PHPDBG_WRITE_XML)) { in phpdbg_process_print()
1109 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_vprint()
1119 if (PHPDBG_G(err_buf).active && type != P_STDOUT && type != P_STDERR) { in phpdbg_vprint()
1122 PHPDBG_G(err_buf).type = type; in phpdbg_vprint()
1123 PHPDBG_G(err_buf).fd = fd; in phpdbg_vprint()
1124 PHPDBG_G(err_buf).tag = estrdup(tag); in phpdbg_vprint()
1125 PHPDBG_G(err_buf).msg = msg; in phpdbg_vprint()
1126 PHPDBG_G(err_buf).msglen = msglen; in phpdbg_vprint()
1127 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_vprint()
1128 PHPDBG_G(err_buf).xml = xml; in phpdbg_vprint()
1129 PHPDBG_G(err_buf).xmllen = xmllen; in phpdbg_vprint()
1149 if (PHPDBG_G(err_buf).type == 0) { in phpdbg_free_err_buf()
1153 PHPDBG_G(err_buf).type = 0; in phpdbg_free_err_buf()
1155 efree(PHPDBG_G(err_buf).tag); in phpdbg_free_err_buf()
1156 efree(PHPDBG_G(err_buf).msg); in phpdbg_free_err_buf()
1157 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_free_err_buf()
1158 efree(PHPDBG_G(err_buf).xml); in phpdbg_free_err_buf()
1163 PHPDBG_G(err_buf).active = active; in phpdbg_activate_err_buf()
1169 int errbuf_active = PHPDBG_G(err_buf).active; in phpdbg_output_err_buf()
1171 if (PHPDBG_G(flags) & PHPDBG_DISCARD_OUTPUT) { in phpdbg_output_err_buf()
1175 PHPDBG_G(err_buf).active = 0; in phpdbg_output_err_buf()
1178 …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()
1181 PHPDBG_G(err_buf).active = errbuf_active; in phpdbg_output_err_buf()
1191 if (PHPDBG_G(flags) & PHPDBG_DISCARD_OUTPUT) { in phpdbg_print()
1205 if (PHPDBG_G(flags) & PHPDBG_DISCARD_OUTPUT) { in phpdbg_xml_internal()
1209 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_xml_internal()
1220 if (PHPDBG_G(in_script_xml)) { in phpdbg_xml_internal()
1222 PHPDBG_G(in_script_xml) = 0; in phpdbg_xml_internal()
1254 if (PHPDBG_G(flags) & PHPDBG_DISCARD_OUTPUT) { in phpdbg_out_internal()
1262 if (PHPDBG_G(flags) & PHPDBG_WRITE_XML) { in phpdbg_out_internal()
1270 if (PHPDBG_G(in_script_xml)) { in phpdbg_out_internal()
1272 PHPDBG_G(in_script_xml) = 0; in phpdbg_out_internal()