Lines Matching refs:msg
43 int phpdbg_process_print(int fd, int type, const char *msg, int msglen) { in phpdbg_process_print() argument
54 …rintf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_ERROR]->code, msglen, msg); in phpdbg_process_print()
56 msgoutlen = phpdbg_asprintf(&msgout, "[%.*s]\n", msglen, msg); in phpdbg_process_print()
66 …intf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_NOTICE]->code, msglen, msg); in phpdbg_process_print()
68 msgoutlen = phpdbg_asprintf(&msgout, "[%.*s]\n", msglen, msg); in phpdbg_process_print()
73 if (msg) { in phpdbg_process_print()
74 msgoutlen = phpdbg_asprintf(&msgout, "%.*s\n", msglen, msg); in phpdbg_process_print()
83 if (msg) { in phpdbg_process_print()
84 msgout = pestrndup(msg, msglen, 1); in phpdbg_process_print()
86 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
95 if (msg) { in phpdbg_process_print()
96 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
97 phpdbg_mixed_write(fd, msg, msglen); in phpdbg_process_print()
103 if (msg) { in phpdbg_process_print()
106 …en = phpdbg_asprintf(&msgout, "[%ld %.8F]: %.*s\n", tp.tv_sec, tp.tv_usec / 1000000., msglen, msg); in phpdbg_process_print()
124 char *msg = NULL; in phpdbg_vprint() local
131 msglen = vasprintf(&msg, strfmt, argcpy); in phpdbg_vprint()
140 PHPDBG_G(err_buf).msg = msg; in phpdbg_vprint()
149 len = phpdbg_process_print(fd, type, msg, msglen); in phpdbg_vprint()
152 if (msg) { in phpdbg_vprint()
153 free(msg); in phpdbg_vprint()
164 free(PHPDBG_G(err_buf).msg); in phpdbg_free_err_buf()