Home
last modified time | relevance | path

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

/external/pdfium/samples/
Dimage_diff_png.cc410 png_text_(new png_text[comments.size()]) { in CommentWriter()
417 free(png_text_[i].key); in ~CommentWriter()
418 free(png_text_[i].text); in ~CommentWriter()
420 delete [] png_text_; in ~CommentWriter()
428 return png_text_; in get_png_text()
437 png_text_[pos].compression = PNG_TEXT_COMPRESSION_NONE; in AddComment()
441 png_text_[pos].key = strdup(comment.key.substr(0, 78).c_str()); in AddComment()
442 png_text_[pos].text = strdup(comment.text.c_str()); in AddComment()
443 png_text_[pos].text_length = comment.text.length(); in AddComment()
445 png_text_[pos].itxt_length = 0; in AddComment()
[all …]