Lines Matching refs:msglen

576 							s_len = PHPDBG_G(err_buf).msglen;  in format_converter()
897 static int phpdbg_encode_xml(char **buf, char *msg, int msglen, int from, char *to) { in phpdbg_encode_xml() argument
900 char *tmp = *buf = emalloc(msglen * tolen); in phpdbg_encode_xml()
901 for (i = 0; i++ < msglen; 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()
999 msgoutlen = phpdbg_asprintf(&msgout, "%.*s\n", msglen, msg); in phpdbg_process_print()
1010 msgout = estrndup(msg, msglen); in phpdbg_process_print()
1011 msgoutlen = msglen; in phpdbg_process_print()
1012 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; 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()
1042 return msglen; 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()
1099 int msglen = 0, xmllen = 0; in phpdbg_vprint() local
1105 msglen = phpdbg_xml_vasprintf(&msg, strfmt, 0, argcpy); in phpdbg_vprint()
1126 PHPDBG_G(err_buf).msglen = msglen; in phpdbg_vprint()
1132 return msglen; in phpdbg_vprint()
1135 len = phpdbg_process_print(fd, type, tag, msg, msglen, xml, xmllen); in phpdbg_vprint()
1264 int msglen; 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()