Home
last modified time | relevance | path

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

/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_load_dmp.c220 int bytesWritten = 0; in inv_write_dmp_data() local
232 bytesWritten = fwrite(dmp, 1, len, fd); in inv_write_dmp_data()
233 if (bytesWritten != len) { in inv_write_dmp_data()
235 bytesWritten, len); in inv_write_dmp_data()
239 MPL_LOGI("Bytes written = %d", bytesWritten); in inv_write_dmp_data()
Dml_stored_data.c87 int bytesWritten; in inv_write_cal() local
101 bytesWritten = fwrite(cal, 1, len, fp); in inv_write_cal()
102 if (bytesWritten != len) { in inv_write_cal()
104 bytesWritten, len); in inv_write_cal()
107 MPL_LOGV("Bytes written = %d", bytesWritten); in inv_write_cal()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_load_dmp.c255 int bytesWritten = 0; in inv_write_dmp_data() local
267 bytesWritten = fwrite(dmp, 1, len, fd); in inv_write_dmp_data()
268 if (bytesWritten != len) { in inv_write_dmp_data()
270 bytesWritten, len); in inv_write_dmp_data()
274 MPL_LOGI("Bytes written = %d", bytesWritten); in inv_write_dmp_data()
Dml_stored_data.c87 int bytesWritten; in inv_write_cal() local
101 bytesWritten = fwrite(cal, 1, len, fp); in inv_write_cal()
102 if (bytesWritten != len) { in inv_write_cal()
104 bytesWritten, len); in inv_write_cal()
107 MPL_LOGV("Bytes written = %d", bytesWritten); in inv_write_cal()
/hardware/bsp/intel/peripheral/libmraa/src/usb/
Dftdi_ft4222.c198 uint16 bytesWritten = 0; in mraa_ftdi_ft4222_i2c_write_internal() local
201 … ft4222Status = FT4222_I2CMaster_Write(handle, addr, (uint8_t*) data, bytesToWrite, &bytesWritten); in mraa_ftdi_ft4222_i2c_write_internal()
209 if (bytesWritten != bytesToWrite) in mraa_ftdi_ft4222_i2c_write_internal()
210 … syslog(LOG_ERR, "FT4222_I2CMaster_Write wrote %u of %u bytes.\n", bytesWritten, bytesToWrite); in mraa_ftdi_ft4222_i2c_write_internal()
212 return bytesWritten; in mraa_ftdi_ft4222_i2c_write_internal()
420 uint16 bytesWritten = mraa_ftdi_ft4222_i2c_context_write(dev, (uint8_t*)data, bytesToWrite); in mraa_ftdi_ft4222_i2c_write() local
421 return bytesToWrite == bytesWritten ? MRAA_SUCCESS : MRAA_ERROR_INVALID_HANDLE; in mraa_ftdi_ft4222_i2c_write()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libmkv/
Dtestlibmkv.c59 size_t bytesWritten = fwrite(data, 1, ebml.offset, file_out); in main() local