Searched refs:write (Results 1 - 25 of 179) sorted by relevance

12345678

/hardware/intel/img/libdrm/tests/
H A Dgem_mmap.c61 struct drm_i915_gem_pwrite write; local
63 memset(&write, 0, sizeof(write));
64 write.handle = handle;
65 write.data_ptr = (uintptr_t)buf;
66 write.size = size;
67 write.offset = offset;
69 return ioctl(fd, DRM_IOCTL_I915_GEM_PWRITE, &write);
H A Dgem_readwrite.c61 struct drm_i915_gem_pwrite write; local
63 memset(&write, 0, sizeof(write));
64 write.handle = handle;
65 write.data_ptr = (uintptr_t)buf;
66 write.size = size;
67 write.offset = offset;
69 return ioctl(fd, DRM_IOCTL_I915_GEM_PWRITE, &write);
104 printf("Testing full write of buffer\n");
114 printf("Testing partial write o
[all...]
/hardware/libhardware_legacy/qemu_tracing/
H A Dqemu_tracing.c45 write(fd, "1\n", 2);
55 write(fd, "0\n", 2);
70 write(fd, buf, strlen(buf));
83 write(fd, buf, strlen(buf));
/hardware/libhardware_legacy/power/
H A Dpower.c111 return write(fd, id, strlen(id));
123 ssize_t len = write(g_fds[RELEASE_WAKE_LOCK], id, strlen(id));
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_video_dec/src/
H A Domx_proxy_videodec_secure.c71 ret = write(pComponentPrivate->secure_misc_drv_fd, &enable, sizeof(enable));
75 ret = write(pComponentPrivate->secure_misc_drv_fd, &disable, sizeof(disable));
133 ret = write(secure_misc_drv_fd, &disable, sizeof(disable));
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/
H A Dwrap-commit-msg.py58 # Replace the file or write to stdout.
64 fileobj.write(output)
/hardware/libhardware/include/hardware/
H A Dqemu_pipe.h79 ret = TEMP_FAILURE_RETRY(write(fd, buff, buffLen+1));
H A Dnfc.h44 * 2) Core NCI stack executes CORE_RESET and CORE_INIT through calls to write()
47 * 5) Core NCI stack starts discovery through calls to write()
48 * 6) Core NCI stack stops discovery through calls to write() (e.g. screen turns off)
50 * 8) Core NCI stack starts discovery through calls to write()
131 * the write() call.
143 * (*write)() Performs an NCI write.
148 int (*write)(const struct nfc_nci_device *p_dev, uint16_t data_len, const uint8_t *p_data); member in struct:nfc_nci_device
257 /* The number of EEPROM registers to write */
H A Dqemud.h32 * having to write a tiny shared library for this.
48 len2 = write(fd, buff, len);
117 D("can't write qemud frame header: %s", strerror(errno));
122 D("can4t write qemud frame payload: %s", strerror(errno));
/hardware/libhardware_legacy/vibrator/
H A Dvibrator.c59 ret = write(fd, value, nwr);
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_video_dec/src/
H A Domx_proxy_videodec_secure.c72 ret = write(pComponentPrivate->secure_misc_drv_fd, &enable, sizeof(enable));
76 ret = write(pComponentPrivate->secure_misc_drv_fd, &disable, sizeof(disable));
143 ret = write(secure_misc_drv_fd, &disable, sizeof(disable));
/hardware/invensense/60xx/libsensors_iio/
H A DMPLSupport.cpp87 * @note this function one closes FD after the write
89 * the file descriptor to write into
91 * the value to write, typically 1 or 0
102 nb = write(fd, &c, 1);
106 LOGE("HAL:enable_sysfs_sensor - write %c returned %d (%s / %d)",
125 num_b = write(fd, buf, strlen(buf) + 1);
128 LOGE("HAL:write fd %d returned '%s' (%d)", fd, strerror(err), err);
130 LOGV_IF(EXTRA_VERBOSE, "HAL:fd=%d write attribute to %ld", fd, data);
167 LOGE("HAL:ERR open file %s to write with error %d", filename, res);
180 /* Check for errors from: fflush(), write(), an
[all...]
/hardware/libhardware_legacy/audio/
H A DAudioHardwareStub.cpp107 ::write(fd, result.string(), result.size());
128 ssize_t AudioStreamOutStub::write(const void* buffer, size_t bytes) function in class:android_audio_legacy::AudioStreamOutStub
152 ::write(fd, result.string(), result.size());
199 ::write(fd, result.string(), result.size());
H A DAudioHardwareInterface.cpp146 ::write(fd, result.string(), result.size());
/hardware/qcom/gps/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.c122 write to a pipe
125 buf - buffer for the data to write
142 result = write(fd, buf, sz);
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
H A Dloc_eng_dmn_conn_glue_pipe.c122 write to a pipe
125 buf - buffer for the data to write
142 result = write(fd, buf, sz);
/hardware/intel/img/libdrm/libdrm/intel/
H A Dintel_bufmgr.h173 #define dri_bo_emit_reloc(reloc_bo, read, write, target_offset, \
177 read, write);
/hardware/libhardware/modules/nfc-nci/
H A Dnfc_nci_example.c89 dev->write = hal_write;
/hardware/libhardware/modules/vibrator/
H A Dvibrator.c55 written = TEMP_FAILURE_RETRY(write(fd, value, to_write));
61 by write() in some cases, none of them apply here. So, this return
/hardware/broadcom/libbt/src/
H A Dupio.c64 /* proc fs node for notifying write request */
295 ALOGE("set_bluetooth_power : open(%s) for write failed: %s (%d)",
300 sz = write(fd, &buffer, 1);
303 ALOGE("set_bluetooth_power : write(%s) failed: %s (%d)",
349 ALOGE("upio_set : open(%s) for write failed: %s (%d)",
370 if (write(fd, &buffer, 1) < 0)
372 ALOGE("upio_set : write(%s) failed: %s (%d)",
447 ALOGE("upio_set : open(%s) for write failed: %s (%d)",
458 if (write(fd, &buffer, 1) < 0)
460 ALOGE("upio_set : write(
[all...]
/hardware/intel/img/libdrm/libdrm/radeon/
H A Dradeon_bo.h68 int (*bo_map)(struct radeon_bo *bo, int write);
146 int write,
151 return bo->bom->funcs->bo_map(bo, write);
145 _radeon_bo_map(struct radeon_bo *bo, int write, const char *file, const char *func, int line) argument
/hardware/invensense/6515/libsensors_iio/
H A DMPLSupport.cpp73 * @note this function one closes FD after the write
75 * the file descriptor to write into
77 * the value to write, typically 1 or 0
88 nb = write(fd, &c, 1);
92 LOGE("HAL:enable_sysfs_sensor - write %c returned %d (%s / %d)",
111 num_b = write(fd, buf, strlen(buf) + 1);
114 LOGE("HAL:write fd %d returned '%s' (%d)", fd, strerror(err), err);
116 LOGV_IF(EXTRA_VERBOSE, "HAL:fd=%d write attribute to %ld", fd, data);
134 num_b = write(fd, buf, strlen(buf) + 1);
137 LOGE("HAL:write f
[all...]
/hardware/invensense/65xx/libsensors_iio/
H A DMPLSupport.cpp73 * @note this function one closes FD after the write
75 * the file descriptor to write into
77 * the value to write, typically 1 or 0
88 nb = write(fd, &c, 1);
92 LOGE("HAL:enable_sysfs_sensor - write %c returned %d (%s / %d)",
111 num_b = write(fd, buf, strlen(buf) + 1);
114 LOGE("HAL:write fd %d returned '%s' (%d)", fd, strerror(err), err);
116 LOGV_IF(EXTRA_VERBOSE, "HAL:fd=%d write attribute to %ld", fd, data);
134 num_b = write(fd, buf, strlen(buf) + 1);
137 LOGE("HAL:write f
[all...]
/hardware/ti/omap4-aah/domx/mm_osal/src/
H A Dtimm_osal_pipes.c195 lSizeWritten = write(pHandle->pfd[1], pMessage, size);
235 /*First write to this pipe */
242 lSizeWritten = write(pHandle->pfd[1], pMessage, size);
273 write(pHandle->pfd[1], tempPtr,
/hardware/ti/omap4xxx/domx/mm_osal/src/
H A Dtimm_osal_pipes.c195 lSizeWritten = write(pHandle->pfd[1], pMessage, size);
235 /*First write to this pipe */
242 lSizeWritten = write(pHandle->pfd[1], pMessage, size);
273 write(pHandle->pfd[1], tempPtr,

Completed in 674 milliseconds

12345678