Lines Matching refs:cntr
70 static int au_parser_pre_process(struct container_context *cntr,
76 struct parser_state *state = cntr->private_data;
83 memcpy(&header.magic, cntr->magic, sizeof(cntr->magic));
84 err = container_recursive_read(cntr,
85 (char *)&header + sizeof(cntr->magic),
86 sizeof(header) - sizeof(cntr->magic));
89 if (cntr->eof)
137 static int write_container_header(struct container_context *cntr,
140 struct builder_state *state = cntr->private_data;
146 return container_recursive_write(cntr, &header, sizeof(header));
149 static int au_builder_pre_process(struct container_context *cntr,
155 struct builder_state *status = cntr->private_data;
170 return write_container_header(cntr, *byte_count);
173 static int au_builder_post_process(struct container_context *cntr,
178 err = container_seek_offset(cntr, 0);
182 return write_container_header(cntr, handled_byte_count);