Home
last modified time | relevance | path

Searched refs:png_text_ (Results 1 – 1 of 1) sorted by relevance

/external/pdfium/testing/image_diff/
Dimage_diff_png.cpp441 : comments_(comments), png_text_(new png_text[comments.size()]) { in CommentWriter()
448 free(png_text_[i].key); in ~CommentWriter()
449 free(png_text_[i].text); in ~CommentWriter()
451 delete[] png_text_; in ~CommentWriter()
456 png_text* get_png_text() { return png_text_; } in get_png_text()
462 png_text_[pos].compression = PNG_TEXT_COMPRESSION_NONE; in AddComment()
466 png_text_[pos].key = strdup(comment.key.substr(0, 78).c_str()); in AddComment()
467 png_text_[pos].text = strdup(comment.text.c_str()); in AddComment()
468 png_text_[pos].text_length = comment.text.length(); in AddComment()
470 png_text_[pos].itxt_length = 0; in AddComment()
[all …]