Lines Matching refs:msg

562 						s = PHPDBG_G(err_buf).msg;  in format_converter()
877 static int phpdbg_encode_xml(char **buf, char *msg, int msglen, int from, char *to) { in phpdbg_encode_xml() argument
881 for (i = 0; i++ < msglen; msg++) { in phpdbg_encode_xml()
882 if (*msg == '&') { in phpdbg_encode_xml()
885 } else if (*msg == '<') { in phpdbg_encode_xml()
888 } else if (((int) *msg) == from) { in phpdbg_encode_xml()
892 *tmp++ = *msg; in phpdbg_encode_xml()
931 static int phpdbg_process_print(int fd, int type, const char *tag, const char *msg, int msglen, con… in phpdbg_process_print() argument
953 …rintf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_ERROR]->code, msglen, msg); in phpdbg_process_print()
955 msgoutlen = phpdbg_asprintf(&msgout, "[%.*s]\n", msglen, msg); in phpdbg_process_print()
970 …intf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_NOTICE]->code, msglen, msg); in phpdbg_process_print()
972 msgoutlen = phpdbg_asprintf(&msgout, "[%.*s]\n", msglen, msg); in phpdbg_process_print()
978 if (msg) { in phpdbg_process_print()
979 msgoutlen = phpdbg_asprintf(&msgout, "%.*s\n", msglen, msg); in phpdbg_process_print()
989 if (msg) { in phpdbg_process_print()
990 msgout = estrndup(msg, msglen); in phpdbg_process_print()
992 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1001 if (msg) { in phpdbg_process_print()
1002 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1013 …encoded = php_escape_html_entities((unsigned char *) msg, msglen, 0, ENT_NOQUOTES, PG(internal_enc… in phpdbg_process_print()
1020 phpdbg_mixed_write(fd, msg, msglen); in phpdbg_process_print()
1028 if (msg) { in phpdbg_process_print()
1031 …en = phpdbg_asprintf(&msgout, "[%ld %.8F]: %.*s\n", tp.tv_sec, tp.tv_usec / 1000000., msglen, msg); in phpdbg_process_print()
1078 char *msg = NULL, *xml = NULL; in phpdbg_vprint() local
1085 msglen = phpdbg_xml_vasprintf(&msg, strfmt, 0, argcpy); in phpdbg_vprint()
1105 PHPDBG_G(err_buf).msg = msg; in phpdbg_vprint()
1115 len = phpdbg_process_print(fd, type, tag, msg, msglen, xml, xmllen); in phpdbg_vprint()
1117 if (msg) { in phpdbg_vprint()
1118 efree(msg); in phpdbg_vprint()
1136 efree(PHPDBG_G(err_buf).msg); in phpdbg_free_err_buf()
1243 char *msg; in phpdbg_out_internal() local
1246 msglen = phpdbg_encode_xml(&msg, buffer, buflen, 256, NULL); in phpdbg_out_internal()
1247 phpdbg_encode_ctrl_chars(&msg, &msglen); in phpdbg_out_internal()
1248 phpdbg_eol_convert(&msg, &msglen); in phpdbg_out_internal()
1256 len = phpdbg_mixed_write(fd, msg, msglen); in phpdbg_out_internal()