Lines Matching refs:input
56 if (ctx->input) { in mmap_image_free()
57 munmap(ctx->input, (size_t)ctx->inp_size); in mmap_image_free()
73 assert(ctx->input == ctx->output); in file_image_free()
75 if (ctx->input) { in file_image_free()
76 delete[] ctx->input; in file_image_free()
168 ctx->input = (uint8_t *)p; in mmap_image_load()
171 ctx->output = ctx->input; in mmap_image_load()
183 memcpy(ctx->output, ctx->input, ctx->inp_size); in mmap_image_load()
196 memcpy(&ctx->input[ctx->pos], data, len); in process_chunk()
246 ctx->input = new uint8_t[ctx->inp_size]; in file_image_load()
248 if (!ctx->input) { in file_image_load()
252 memset(ctx->input, 0, ctx->inp_size); in file_image_load()
253 ctx->output = ctx->input; in file_image_load()
260 if (!android::base::ReadFully(fd, &ctx->input[ctx->pos], len)) { in file_image_load()