Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 6 of 6) sorted by relevance

/device/google/dragon/recovery/updater/
Ddebug_ec.c138 int rv; in bq25892_read() local
144 rv = flash_cmd(ec, EC_CMD_I2C_READ, 0, &p, sizeof(p), &r, sizeof(r)); in bq25892_read()
145 if (rv < 0) { in bq25892_read()
147 return rv; in bq25892_read()
156 int rv; in bq25892_write() local
162 rv = flash_cmd(ec, EC_CMD_I2C_WRITE, 0, &p, sizeof(p), NULL, 0); in bq25892_write()
163 return rv < 0 ? rv : 0; in bq25892_write()
170 int rv; in cmd_ec_bq25892() local
181 rv = bq25892_read(BQ2589X_REG_CFG1, &value); in cmd_ec_bq25892()
182 } while ((value & BQ2589X_CFG1_CONV_START) || (rv < 0)); in cmd_ec_bq25892()
[all …]
/device/google/dragon/crash_collector/
Dcrash_dispatcher.cc90 int rv = TEMP_FAILURE_RETRY(read(STDIN_FILENO, buf, kBufSize)); in main() local
91 if (rv == -1) { in main()
95 if (rv == 0) in main()
97 if (!android::base::WriteFully(pipe_fds[1], buf, rv)) { in main()
Dcoredump_writer.cc77 int rv = TEMP_FAILURE_RETRY( in CopyTo() local
79 if (rv == 0) in CopyTo()
81 if (rv == -1) in CopyTo()
83 if (fd_dest != -1 && !android::base::WriteFully(fd_dest, buf, rv)) in CopyTo()
85 num_bytes -= rv; in CopyTo()
86 bytes_read_ += rv; in CopyTo()
/device/moto/shamu/location/loc_api/loc_api_v02/
Dloc_api_sync_req.h43 int rv = true; \
61 rv = false; \
/device/huawei/angler/location/loc_api/loc_api_v02/
Dloc_api_sync_req.h43 int rv = true; \
61 rv = false; \
/device/lge/bullhead/location/loc_api/loc_api_v02/
Dloc_api_sync_req.h43 int rv = true; \
61 rv = false; \