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