Home | History | Annotate | Download | only in recovery

Lines Matching refs:buffer

43 void get_property_file_name(char *buffer, const char *property_name) {
44 sprintf(buffer, "%s%s", encrypted_fs_property_dir, property_name);
47 int get_binary_file_contents(char *buffer, int buf_size, const char *file_name, int *out_size) {
57 read_bytes = fread(buffer, 1, buf_size, in_file);
72 int set_binary_file_contents(char *buffer, int buf_size, const char *file_name) {
82 write_bytes = fwrite(buffer, 1, buf_size, out_file);
94 int get_text_file_contents(char *buffer, int buf_size, char *file_name) {
104 read_data = fgets(buffer, buf_size, in_file);
116 int set_text_file_contents(char *buffer, char *file_name) {
126 result = fputs(buffer, out_file);