Lines Matching refs:msg

569 						s = PHPDBG_G(err_buf).msg;  in format_converter()
898 static int phpdbg_encode_xml(char **buf, char *msg, int msglen, int from, char *to) { in phpdbg_encode_xml() argument
902 for (i = 0; i++ < msglen; msg++) { in phpdbg_encode_xml()
903 if (*msg == '&') { in phpdbg_encode_xml()
906 } else if (*msg == '<') { in phpdbg_encode_xml()
909 } else if (((int) *msg) == from) { in phpdbg_encode_xml()
913 *tmp++ = *msg; in phpdbg_encode_xml()
952 static int phpdbg_process_print(int fd, int type, const char *tag, const char *msg, int msglen, con… in phpdbg_process_print() argument
974 …rintf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_ERROR]->code, msglen, msg); in phpdbg_process_print()
976 msgoutlen = phpdbg_asprintf(&msgout, "[%.*s]\n", msglen, msg); in phpdbg_process_print()
991 …intf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_NOTICE]->code, msglen, msg); in phpdbg_process_print()
993 msgoutlen = phpdbg_asprintf(&msgout, "[%.*s]\n", msglen, msg); in phpdbg_process_print()
999 if (msg) { in phpdbg_process_print()
1000 msgoutlen = phpdbg_asprintf(&msgout, "%.*s\n", msglen, msg); in phpdbg_process_print()
1010 if (msg) { in phpdbg_process_print()
1011 msgout = estrndup(msg, msglen); in phpdbg_process_print()
1013 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1022 if (msg) { in phpdbg_process_print()
1023 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1034 …encoded = php_escape_html_entities((unsigned char *) msg, msglen, 0, ENT_NOQUOTES, PG(internal_enc… in phpdbg_process_print()
1041 phpdbg_mixed_write(fd, msg, msglen); in phpdbg_process_print()
1050 if (msg) { in phpdbg_process_print()
1053 …en = phpdbg_asprintf(&msgout, "[%ld %.8F]: %.*s\n", tp.tv_sec, tp.tv_usec / 1000000., msglen, msg); in phpdbg_process_print()
1099 char *msg = NULL, *xml = NULL; in phpdbg_vprint() local
1106 msglen = phpdbg_xml_vasprintf(&msg, strfmt, 0, argcpy); in phpdbg_vprint()
1126 PHPDBG_G(err_buf).msg = msg; in phpdbg_vprint()
1136 len = phpdbg_process_print(fd, type, tag, msg, msglen, xml, xmllen); in phpdbg_vprint()
1138 if (msg) { in phpdbg_vprint()
1139 efree(msg); in phpdbg_vprint()
1157 efree(PHPDBG_G(err_buf).msg); in phpdbg_free_err_buf()
1264 char *msg; in phpdbg_out_internal() local
1267 msglen = phpdbg_encode_xml(&msg, buffer, buflen, 256, NULL); in phpdbg_out_internal()
1268 phpdbg_encode_ctrl_chars(&msg, &msglen); in phpdbg_out_internal()
1269 phpdbg_eol_convert(&msg, &msglen); in phpdbg_out_internal()
1277 len = phpdbg_mixed_write(fd, msg, msglen); in phpdbg_out_internal()