Lines Matching refs:msg

569 						s = PHPDBG_G(err_buf).msg;  in format_converter()
897 static int phpdbg_encode_xml(char **buf, char *msg, int msglen, int from, char *to) { in phpdbg_encode_xml() argument
901 for (i = 0; i++ < msglen; msg++) { in phpdbg_encode_xml()
902 if (*msg == '&') { in phpdbg_encode_xml()
905 } else if (*msg == '<') { in phpdbg_encode_xml()
908 } else if (((int) *msg) == from) { in phpdbg_encode_xml()
912 *tmp++ = *msg; in phpdbg_encode_xml()
951 static int phpdbg_process_print(int fd, int type, const char *tag, const char *msg, int msglen, con… in phpdbg_process_print() argument
973 …rintf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_ERROR]->code, msglen, msg); in phpdbg_process_print()
975 msgoutlen = phpdbg_asprintf(&msgout, "[%.*s]\n", msglen, msg); in phpdbg_process_print()
990 …intf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_NOTICE]->code, msglen, msg); in phpdbg_process_print()
992 msgoutlen = phpdbg_asprintf(&msgout, "[%.*s]\n", msglen, msg); in phpdbg_process_print()
998 if (msg) { in phpdbg_process_print()
999 msgoutlen = phpdbg_asprintf(&msgout, "%.*s\n", msglen, msg); in phpdbg_process_print()
1009 if (msg) { in phpdbg_process_print()
1010 msgout = estrndup(msg, msglen); in phpdbg_process_print()
1012 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1021 if (msg) { in phpdbg_process_print()
1022 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1033 …encoded = php_escape_html_entities((unsigned char *) msg, msglen, 0, ENT_NOQUOTES, PG(internal_enc… in phpdbg_process_print()
1040 phpdbg_mixed_write(fd, msg, msglen); in phpdbg_process_print()
1049 if (msg) { in phpdbg_process_print()
1052 …en = phpdbg_asprintf(&msgout, "[%ld %.8F]: %.*s\n", tp.tv_sec, tp.tv_usec / 1000000., msglen, msg); in phpdbg_process_print()
1098 char *msg = NULL, *xml = NULL; in phpdbg_vprint() local
1105 msglen = phpdbg_xml_vasprintf(&msg, strfmt, 0, argcpy); in phpdbg_vprint()
1125 PHPDBG_G(err_buf).msg = msg; in phpdbg_vprint()
1135 len = phpdbg_process_print(fd, type, tag, msg, msglen, xml, xmllen); in phpdbg_vprint()
1137 if (msg) { in phpdbg_vprint()
1138 efree(msg); in phpdbg_vprint()
1156 efree(PHPDBG_G(err_buf).msg); in phpdbg_free_err_buf()
1263 char *msg; in phpdbg_out_internal() local
1266 msglen = phpdbg_encode_xml(&msg, buffer, buflen, 256, NULL); in phpdbg_out_internal()
1267 phpdbg_encode_ctrl_chars(&msg, &msglen); in phpdbg_out_internal()
1268 phpdbg_eol_convert(&msg, &msglen); in phpdbg_out_internal()
1276 len = phpdbg_mixed_write(fd, msg, msglen); in phpdbg_out_internal()