Home
last modified time | relevance | path

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

/device/linaro/hikey/hifi/xaf/host-apf/playback/
Dxa_playback.c296 int num_read;
344 num_read = fread(buffer, 1, size, file);
347 pcmbuf.buf_size = num_read;
354 if (num_read > 0) {
355 if (pcm_write(pcm, buffer, num_read)) {
360 } while (!s_close && num_read > 0);
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.cpp91 ssize_t num_read = in.Read(buffer.data(), std::min(buffer.size(), length)); in CopyFrom() local
92 length -= num_read; in CopyFrom()
93 if (num_read <= 0) { in CopyFrom()
96 if (Write(buffer.data(), num_read) != num_read) { in CopyFrom()
/device/google/cuttlefish/guest/hals/gps/
Dgps_thread.cpp76 int num_read = sscanf(r->buffer, "%lf,%lf,%lf,%f,%f,%f", &r->fix.longitude, in reader_parse_message() local
79 if (num_read != 6) { in reader_parse_message()