Searched refs:num_written (Results 1 – 3 of 3) sorted by relevance
149 ssize_t num_written; in boot_info_save() local151 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()
108 ssize_t num_written; in copy_data() local110 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()
300 int num_written = 0; in profile_enum_sample_formats() local311 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()