Lines Matching refs:msglen

567 							s_len = PHPDBG_G(err_buf).msglen;  in format_converter()
875 static int phpdbg_encode_xml(char **buf, char *msg, int msglen, int from, char *to) { in phpdbg_encode_xml() argument
878 char *tmp = *buf = emalloc(msglen * tolen); in phpdbg_encode_xml()
879 for (i = 0; i++ < msglen; msg++) { in phpdbg_encode_xml()
929 static int phpdbg_process_print(int fd, int type, const char *tag, const char *msg, int msglen, con… in phpdbg_process_print() argument
951 …rintf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_ERROR]->code, msglen, msg); in phpdbg_process_print()
953 msgoutlen = phpdbg_asprintf(&msgout, "[%.*s]\n", msglen, msg); in phpdbg_process_print()
968 …intf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_NOTICE]->code, msglen, msg); in phpdbg_process_print()
970 msgoutlen = phpdbg_asprintf(&msgout, "[%.*s]\n", msglen, msg); in phpdbg_process_print()
977 msgoutlen = phpdbg_asprintf(&msgout, "%.*s\n", msglen, msg); in phpdbg_process_print()
988 msgout = estrndup(msg, msglen); in phpdbg_process_print()
989 msgoutlen = msglen; in phpdbg_process_print()
990 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1000 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1011 …encoded = php_escape_html_entities((unsigned char *) msg, msglen, 0, ENT_NOQUOTES, PG(internal_enc… in phpdbg_process_print()
1018 phpdbg_mixed_write(fd, msg, msglen); in phpdbg_process_print()
1021 return msglen; in phpdbg_process_print()
1029 …en = phpdbg_asprintf(&msgout, "[%ld %.8F]: %.*s\n", tp.tv_sec, tp.tv_usec / 1000000., msglen, msg); in phpdbg_process_print()
1077 int msglen = 0, xmllen = 0; in phpdbg_vprint() local
1083 msglen = phpdbg_xml_vasprintf(&msg, strfmt, 0, argcpy); in phpdbg_vprint()
1104 PHPDBG_G(err_buf).msglen = msglen; in phpdbg_vprint()
1110 return msglen; in phpdbg_vprint()
1113 len = phpdbg_process_print(fd, type, tag, msg, msglen, xml, xmllen); in phpdbg_vprint()
1242 int msglen; in phpdbg_out_internal() local
1244 msglen = phpdbg_encode_xml(&msg, buffer, buflen, 256, NULL); in phpdbg_out_internal()
1245 phpdbg_encode_ctrl_chars(&msg, &msglen); in phpdbg_out_internal()
1246 phpdbg_eol_convert(&msg, &msglen); in phpdbg_out_internal()
1254 len = phpdbg_mixed_write(fd, msg, msglen); in phpdbg_out_internal()