Home
last modified time | relevance | path

Searched refs:num_written (Results 1 – 3 of 3) sorted by relevance

/system/extras/boot_control_copy/
Dbootinfo.cpp149 ssize_t num_written; in boot_info_save() local
151 num_written = write(fd, (void*) info, sizeof(BrilloBootInfo)); in boot_info_save()
152 } while (num_written == -1 && errno == EINTR); in boot_info_save()
154 if (num_written != sizeof(BrilloBootInfo)) in boot_info_save()
Dboot_control_copy.cpp118 ssize_t num_written; in copy_data() local
120 num_written = write(dst_fd, copy_buf + offset, num_to_write); in copy_data()
121 } while (num_written == -1 && errno == EINTR); in copy_data()
122 if (num_written <= 0) { in copy_data()
127 num_to_write -= num_written; in copy_data()
/system/media/alsa_utils/
Dalsa_device_profile.c276 int num_written = 0; in profile_enum_sample_formats() local
287 profile->formats[num_written++] = format; in profile_enum_sample_formats()
288 if (num_written == ARRAY_SIZE(profile->formats) - 1) { in profile_enum_sample_formats()
299 profile->formats[num_written] = PCM_FORMAT_INVALID; in profile_enum_sample_formats()
300 return num_written; in profile_enum_sample_formats()