Searched refs:to_write (Results 1 – 2 of 2) sorted by relevance
/hardware/libhardware/modules/vibrator/ |
D | vibrator.c | 46 int to_write, written, ret, fd; in sendit() local 55 to_write = snprintf(value, sizeof(value), "%u\n", timeout_ms); in sendit() 56 written = TEMP_FAILURE_RETRY(write(fd, value, to_write)); in sendit() 60 } else if (written != to_write) { in sendit()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
D | omx_vdec_test.cpp | 189 size_t written = 0, to_write = size * nmemb; in fwrite_helper() local 192 while (written < to_write) { in fwrite_helper() 196 size_t temp = fwrite(ptr2 + written, 1, to_write - written, stream); in fwrite_helper()
|