/hardware/intel/img/libdrm/tests/ |
H A D | gem_mmap.c | 61 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 D | gem_readwrite.c | 61 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 D | qemu_tracing.c | 45 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 D | power.c | 111 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 D | omx_proxy_videodec_secure.c | 71 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 D | wrap-commit-msg.py | 58 # Replace the file or write to stdout. 64 fileobj.write(output)
|
/hardware/libhardware/include/hardware/ |
H A D | qemu_pipe.h | 79 ret = TEMP_FAILURE_RETRY(write(fd, buff, buffLen+1));
|
H A D | nfc.h | 44 * 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 D | qemud.h | 32 * 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 D | vibrator.c | 59 ret = write(fd, value, nwr);
|
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_video_dec/src/ |
H A D | omx_proxy_videodec_secure.c | 72 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 D | MPLSupport.cpp | 87 * @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 D | AudioHardwareStub.cpp | 107 ::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 D | AudioHardwareInterface.cpp | 146 ::write(fd, result.string(), result.size());
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
H A D | loc_eng_dmn_conn_glue_pipe.c | 122 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 D | loc_eng_dmn_conn_glue_pipe.c | 122 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 D | intel_bufmgr.h | 173 #define dri_bo_emit_reloc(reloc_bo, read, write, target_offset, \ 177 read, write);
|
/hardware/libhardware/modules/nfc-nci/ |
H A D | nfc_nci_example.c | 89 dev->write = hal_write;
|
/hardware/libhardware/modules/vibrator/ |
H A D | vibrator.c | 55 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 D | upio.c | 64 /* 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 D | radeon_bo.h | 68 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 D | MPLSupport.cpp | 73 * @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 D | MPLSupport.cpp | 73 * @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 D | timm_osal_pipes.c | 195 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 D | timm_osal_pipes.c | 195 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,
|