Home | History | Annotate | Download | only in compile

Lines Matching defs:in

5  * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
84 io::InputStream* in = (io::InputStream*)png_get_io_ptr(png_ptr);
88 if (!in->Next(&in_buffer, &in_len)) {
89 if (in->HadError()) {
92 if (!in->GetError().empty()) {
93 error_msg_builder << ": " << in->GetError();
104 in->BackUp(in_len - bytes_read);
144 std::unique_ptr<Image> ReadPng(IAaptContext* context, const Source& source, io::InputStream* in) {
152 if (!in->Next((const void**)&signature, &buffer_size)) {
153 if (in->HadError()) {
154 source_diag.Error(DiagMessage() << "failed to read PNG signature: " << in->GetError());
167 in->BackUp(buffer_size - kPngSignatureSize);
170 // The header version is also passed in to ensure that this was built against the same
200 png_set_read_fn(read_ptr, (png_voidp)in, ReadDataFromStream);
214 // When the image is read, expand it so that it is in RGBA 8888 format
298 // In order to not regress in size, restrict 9-patch to not use palettes.
381 // Colors in the alpha palette should have smaller indices.
438 // 9-patch code in older platforms expects the 9-patch chunk to be last.
485 // The header version is also passed in to ensure that this was built against the same