Lines Matching defs:write
1984 f.write("P %s 0x%x\n" % (page_kind, address))
2022 f.write("C 0x%x %s\n" % (address, comment))
2639 def write(self, string):
2640 self.wfile.write(string.encode('utf-8'))
2650 self.write(out_buffer.getvalue())
2654 self.write(out_buffer.getvalue())
2658 self.write(out_buffer.getvalue())
2662 self.write(out_buffer.getvalue())
2671 self.write(out_buffer.getvalue())
2681 self.write(out_buffer.getvalue())
2689 self.write(out_buffer.getvalue())
2700 self.write("OK")
2711 self.write("OK")
2722 self.write("OK")
2787 f.write("<td %s>" % self.comments.get_style_class_string(address))
2814 f.write(WEB_HEADER % {
2820 f.write(WEB_FOOTER)
2826 f.write('<div class="code">')
2839 f.write('</div>')
2845 f.write("<h3>Dump info</h3>")
2846 f.write("Description: ")
2848 f.write("<br>")
2849 f.write("Filename: ")
2850 f.write("<span class=\"code\">%s</span><br>" % (self.dumpfilename))
2852 f.write("Timestamp: %s<br>" % dt.strftime('%Y-%m-%d %H:%M:%S'))
2863 f.write("<h3>Available memory regions</h3>")
2864 f.write('<div class="code">')
2865 f.write("<table class=\"regions\">")
2866 f.write("<thead><tr>")
2867 f.write("<th>Start address</th>")
2868 f.write("<th>End address</th>")
2869 f.write("<th>Number of bytes</th>")
2870 f.write("</tr></thead>")
2873 f.write("<tr>")
2874 f.write("<td>%s</td>" % self.format_address(start))
2875 f.write("<td> %s</td>" % self.format_address(start + size))
2876 f.write("<td> %d</td>" % size)
2877 f.write("</tr>")
2878 f.write("</table>")
2879 f.write('</div>')
2883 f.write("<b>%s</b>" % GetModuleName(self.reader, module))
2888 f.write("<br> ")
2889 f.write("base: %s" % self.reader.FormatIntPtr(module.base_of_image))
2890 f.write("<br> ")
2891 f.write(" end: %s" % self.reader.FormatIntPtr(module.base_of_image +
2893 f.write("<br> ")
2894 f.write(" file version: %s" % file_version)
2895 f.write("<br> ")
2896 f.write(" product version: %s" % product_version)
2897 f.write("<br> ")
2899 f.write(" timestamp: %s" % time_date_stamp)
2900 f.write("<br>");
2904 f.write('<div class="code">')
2907 f.write("</div>")
2913 f.write("<h3>Exception context</h3>")
2914 f.write('<div class="code">')
2915 f.write("Thread id: %d" % exception_thread.id)
2916 f.write(" Exception code: %08X<br/>" %
2920 f.write(" Exception parameters: ")
2922 f.write("%08x" % self.reader.exception.exception.information[i])
2923 f.write("<br><br>")
2926 f.write(HTML_REG_FORMAT %
2930 f.write("<b>cpsr</b>: %s" % bin(self.reader.exception_context.cpsr)[2:])
2932 f.write("<b>eflags</b>: %s" %
2934 f.write('</div>')
2954 f.write("<h3>Address 0x%x not found in the dump.</h3>" % address)
2968 f.write("<h3>Unrecognized address format \"%s\".</h3>" % straddress)
2975 f.write("<h3>Address 0x%x not found in the dump.</h3>" %
2994 f.write("<h3>%s 0x%x - 0x%x, "
2997 f.write('<div class="code">')
2998 f.write("<table class=codedump>")
3033 f.write("<tr class=highlight-line>")
3036 f.write("<tr class=inexact-highlight-line>")
3039 f.write("<tr>")
3041 f.write("<td>")
3043 f.write("</td>")
3045 f.write(address_fmt % self.format_address(slot))
3047 f.write(": %s </td>" % straddress)
3048 f.write("<td>")
3052 f.write("</td>")
3053 f.write("<td>%s</td>" % (heap_object or ''))
3054 f.write("</tr>")
3055 f.write("</table>")
3056 f.write("</div>")
3062 f.write("<h3>Address %x not found in the dump.</h3>" %
3076 f.write("<h3>ASCII dump 0x%x - 0x%x, highlighting 0x%x %s</h3>" %
3081 f.write('<div class="code">')
3089 f.write("<br>")
3090 f.write("0x%08x: " % address)
3092 f.write(" ")
3095 f.write("<span class=\"highlight\">")
3098 f.write("&#")
3099 f.write(str(code))
3100 f.write(";")
3102 f.write("·")
3104 f.write("</span>")
3105 f.write("</div>")
3113 f.write("<h3>Address 0x%x not found in the dump.</h3>" % address)
3120 f.write("<h3>Unrecognized address format \"%s\".</h3>" % straddress)
3151 f.write("<h3>Disassembling 0x%x - 0x%x, highlighting 0x%x %s</h3>" %
3153 f.write('<div class="code">')
3154 f.write("<table class=\"codedump\">");
3163 f.write("</table>")
3164 f.write("</div>")
3187 f.write("<tr class=highlight-line>")
3191 f.write("<tr class=inexact-highlight-line>")
3194 f.write("<tr>")
3224 f.write(" <td>")
3226 f.write("</td>")
3227 f.write(address_fmt % marker)
3228 f.write(" ")
3230 f.write(self.format_address(line_address))
3231 f.write(" (+0x%x)</td>" % line[0])
3232 f.write("<td>: %s </td>" % opcodes)
3233 f.write("<td>%s</td>" % code)
3234 f.write("</tr>")
3241 f.write("<input type=text class=ci "
3250 f.write("Addresses")
3253 f.write("(found %i results, displaying only first %i)" %
3255 f.write(": ")
3259 f.write("<span %s>%s</span>" %
3263 f.write("...")
3268 f.write("Marked first %s page." % page_kind)
3270 f.write("<span id=\"%spage\" style=\"display:none\">" % page_kind)
3271 f.write("Marked first %s page." % page_kind)
3272 f.write("</span>\n")
3273 f.write("<button onclick=\"onpage('%spage', '0x%x')\">" %
3275 f.write("Mark as first %s page</button>" % page_kind)
3281 f.write("<h3>Search results for %s</h3>" % straddress)
3285 f.write("Comment: ")
3287 f.write("<br>")
3291 f.write("Page info: ")
3298 f.write("<h3>The contents at address %s not found in the dump.</h3>" % \
3310 f.write("<hr>")
3314 f.write("<hr>")
3320 f.write("<h3>Occurrences of 0x%x at aligned addresses</h3>" %
3325 f.write("<h3>Occurrences of 0x%x at unaligned addresses</h3>" % \
3330 f.write("<h3>No occurrences of 0x%x found in the dump</h3>" % address)
3335 f.write("<h3>Unrecognized address format \"%s\".</h3>" % straddress)
3423 f.write("<input type=\"text\" class=\"dumpcomments\" "
3435 descfile.write(description)
3456 f.write(WEB_DUMPS_HEADER)
3457 f.write("<h3>List of available dumps</h3>")
3458 f.write("<table class=\"dumplist\">\n")
3459 f.write("<thead><tr>")
3460 f.write("<th>Name</th>")
3461 f.write("<th>File time</th>")
3462 f.write("<th>Comment</th>")
3463 f.write("</tr></thead>")
3475 f.write("<tr>\n")
3476 f.write("<td><a href=\"summary.html?%s\">%s</a></td>\n" %
3478 f.write("<td> ")
3479 f.write(datetime.datetime.fromtimestamp(mtime))
3480 f.write("</td>")
3481 f.write("<td> ")
3483 f.write("</td>")
3484 f.write("</tr>\n")
3485 f.write("</table>\n")
3486 f.write(WEB_DUMPS_FOOTER)