Lines Matching refs:msglen
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()
74 msgoutlen = phpdbg_asprintf(&msgout, "%.*s\n", msglen, msg); in phpdbg_process_print()
84 msgout = pestrndup(msg, msglen, 1); in phpdbg_process_print()
85 msgoutlen = msglen; in phpdbg_process_print()
86 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; 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()
99 return msglen; 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()
125 int msglen = 0; in phpdbg_vprint() local
131 msglen = vasprintf(&msg, strfmt, argcpy); in phpdbg_vprint()
141 PHPDBG_G(err_buf).msglen = msglen; in phpdbg_vprint()
143 return msglen; in phpdbg_vprint()
146 if (UNEXPECTED(msglen == 0)) { in phpdbg_vprint()
149 len = phpdbg_process_print(fd, type, msg, msglen); in phpdbg_vprint()