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)) return false; in boot_info_save()
Dboot_control_copy.cpp108 ssize_t num_written; in copy_data() local
110 num_written = write(dst_fd, copy_buf + offset, num_to_write); in copy_data()
111 } while (num_written == -1 && errno == EINTR); in copy_data()
112 if (num_written <= 0) { in copy_data()
117 num_to_write -= num_written; in copy_data()
/system/media/alsa_utils/
Dalsa_device_profile.c300 int num_written = 0; in profile_enum_sample_formats() local
311 profile->formats[num_written++] = format; in profile_enum_sample_formats()
312 if (num_written == ARRAY_SIZE(profile->formats) - 1) { in profile_enum_sample_formats()
323 profile->formats[num_written] = PCM_FORMAT_INVALID; in profile_enum_sample_formats()
324 return num_written; in profile_enum_sample_formats()