Lines Matching refs:msglen

569 							s_len = PHPDBG_G(err_buf).msglen;  in format_converter()
877 static int phpdbg_encode_xml(char **buf, char *msg, int msglen, int from, char *to) { in phpdbg_encode_xml() argument
880 char *tmp = *buf = emalloc(msglen * tolen); in phpdbg_encode_xml()
881 for (i = 0; i++ < msglen; msg++) { in phpdbg_encode_xml()
931 static int phpdbg_process_print(int fd, int type, const char *tag, const char *msg, int msglen, con… in phpdbg_process_print() argument
953 …rintf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_ERROR]->code, msglen, msg); in phpdbg_process_print()
955 msgoutlen = phpdbg_asprintf(&msgout, "[%.*s]\n", msglen, msg); in phpdbg_process_print()
970 …intf(&msgout, "\033[%sm[%.*s]\033[0m\n", PHPDBG_G(colors)[PHPDBG_COLOR_NOTICE]->code, msglen, msg); in phpdbg_process_print()
972 msgoutlen = phpdbg_asprintf(&msgout, "[%.*s]\n", msglen, msg); in phpdbg_process_print()
979 msgoutlen = phpdbg_asprintf(&msgout, "%.*s\n", msglen, msg); in phpdbg_process_print()
990 msgout = estrndup(msg, msglen); in phpdbg_process_print()
991 msgoutlen = msglen; in phpdbg_process_print()
992 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1002 PHPDBG_G(last_was_newline) = msg[msglen - 1] == '\n'; in phpdbg_process_print()
1013 …encoded = php_escape_html_entities((unsigned char *) msg, msglen, 0, ENT_NOQUOTES, PG(internal_enc… in phpdbg_process_print()
1020 phpdbg_mixed_write(fd, msg, msglen); in phpdbg_process_print()
1023 return msglen; in phpdbg_process_print()
1031 …en = phpdbg_asprintf(&msgout, "[%ld %.8F]: %.*s\n", tp.tv_sec, tp.tv_usec / 1000000., msglen, msg); in phpdbg_process_print()
1079 int msglen = 0, xmllen = 0; in phpdbg_vprint() local
1085 msglen = phpdbg_xml_vasprintf(&msg, strfmt, 0, argcpy); in phpdbg_vprint()
1106 PHPDBG_G(err_buf).msglen = msglen; in phpdbg_vprint()
1112 return msglen; in phpdbg_vprint()
1115 len = phpdbg_process_print(fd, type, tag, msg, msglen, xml, xmllen); in phpdbg_vprint()
1244 int msglen; in phpdbg_out_internal() local
1246 msglen = phpdbg_encode_xml(&msg, buffer, buflen, 256, NULL); in phpdbg_out_internal()
1247 phpdbg_encode_ctrl_chars(&msg, &msglen); in phpdbg_out_internal()
1248 phpdbg_eol_convert(&msg, &msglen); in phpdbg_out_internal()
1256 len = phpdbg_mixed_write(fd, msg, msglen); in phpdbg_out_internal()