Searched refs:validFd (Results 1 – 7 of 7) sorted by relevance
/drivers/peripheral/codec/hdi_service/common/ |
D | common_msgproc.c | 37 uint8_t validFd = handle->fd >= 0 ? 1 : 0; in PackBufferHandle() local 38 if (!HdfSbufWriteUint8(data, validFd)) { in PackBufferHandle() 42 if (validFd && !HdfSbufWriteFileDescriptor(data, handle->fd)) { in PackBufferHandle() 66 uint8_t validFd = 0; in ParseBufferHandle() local 89 if (!HdfSbufReadUint8(data, &validFd)) { in ParseBufferHandle() 95 if (validFd != 0) { in ParseBufferHandle()
|
/drivers/peripheral/codec/hal/src/ |
D | codec_types.c | 31 uint8_t validFd = 0; in BufferHandleMarshalling() local 41 validFd = 1; in BufferHandleMarshalling() 43 if (!HdfSbufWriteUint8(data, validFd)) { in BufferHandleMarshalling() 47 if ((validFd != 0) && !HdfSbufWriteFileDescriptor(data, handle->fd)) { in BufferHandleMarshalling() 71 uint8_t validFd = 0; in BufferHandleUnmarshalling() local 94 if (!HdfSbufReadUint8(data, &validFd)) { in BufferHandleUnmarshalling() 100 if (validFd != 0) { in BufferHandleUnmarshalling() 205 uint8_t validFd = 0; in OmxCodecBufferBlockMarshalling() local 231 validFd = dataBlock->fenceFd >= 0; in OmxCodecBufferBlockMarshalling() 232 if (!HdfSbufWriteUint8(data, validFd)) { in OmxCodecBufferBlockMarshalling() [all …]
|
/drivers/peripheral/display/hdi_service/device/src/util/ |
D | display_device_common.cpp | 242 bool validFd = (fd >= 0); in DisplayDeviceWriteFileDescriptor() local 243 if (!parcel->WriteBool(validFd)) { in DisplayDeviceWriteFileDescriptor() 247 if (validFd && !parcel->WriteFileDescriptor(fd)) { in DisplayDeviceWriteFileDescriptor() 250 } else if (!validFd) { in DisplayDeviceWriteFileDescriptor() 259 bool validFd = false; in DisplayDeviceReadFileDescriptor() local 260 if (!parcel->ReadBool(validFd)) { in DisplayDeviceReadFileDescriptor() 264 if (validFd) { in DisplayDeviceReadFileDescriptor()
|
/drivers/peripheral/codec/hdi_service/codec_proxy/ |
D | proxy_msgproc.c | 231 uint8_t validFd = buffer->buf >= 0 ? 1 : 0; in CodecProxyPackBufOfBufferInfo() local 232 if (!HdfSbufWriteUint8(data, validFd)) { in CodecProxyPackBufOfBufferInfo() 236 if (validFd && !HdfSbufWriteFileDescriptor(data, (int32_t)buffer->buf)) { in CodecProxyPackBufOfBufferInfo() 300 uint8_t validFd = 0; in CodecProxyParseBufOfBufferInfo() local 301 if (!HdfSbufReadUint8(reply, &validFd)) { in CodecProxyParseBufOfBufferInfo() 305 if (validFd != 0) { in CodecProxyParseBufOfBufferInfo() 424 uint8_t validFd = 0; in CodecProxyParseFenceFd() local 425 if (!HdfSbufReadUint8(reply, &validFd)) { in CodecProxyParseFenceFd() 429 if (validFd != 0) { in CodecProxyParseFenceFd() 439 uint8_t validFd = fenceFd >= 0; in CodecProxyPackFenceFd() local [all …]
|
/drivers/peripheral/codec/hdi_service/codec_service_stub/ |
D | stub_msgproc.c | 243 uint8_t validFd = buffer->buf >= 0 ? 1 : 0; in CodecSerPackBufOfBufferInfo() local 244 if (!HdfSbufWriteUint8(reply, validFd)) { in CodecSerPackBufOfBufferInfo() 248 if (validFd && !HdfSbufWriteFileDescriptor(reply, (int32_t)buffer->buf)) { in CodecSerPackBufOfBufferInfo() 312 uint8_t validFd = 0; in CodecSerParseBufOfBufferInfo() local 313 if (!HdfSbufReadUint8(data, &validFd)) { in CodecSerParseBufOfBufferInfo() 317 if (validFd != 0) { in CodecSerParseBufOfBufferInfo() 432 uint8_t validFd = 0; in CodecSerParseFenceFd() local 433 if (!HdfSbufReadUint8(data, &validFd)) { in CodecSerParseFenceFd() 437 if (validFd != 0) { in CodecSerParseFenceFd() 447 uint8_t validFd = fenceFd >= 0; in CodecSerPackFenceFd() local [all …]
|
/drivers/hdf_core/adapter/uhdf2/hdi/src/ |
D | buffer_util.c | 139 bool validFd = (handle->fd >= 0); in HdfSbufWriteNativeBufferHandle() local 140 if (!HdfSbufWriteInt8(data, validFd ? 1 : 0)) { in HdfSbufWriteNativeBufferHandle() 144 if (validFd && !HdfSbufWriteFileDescriptor(data, handle->fd)) { in HdfSbufWriteNativeBufferHandle() 210 bool validFd = false; in HdfSbufReadNativeBufferHandle() local 211 if (!HdfSbufReadInt8(data, (int8_t *)&validFd)) { in HdfSbufReadNativeBufferHandle() 216 if (validFd) { in HdfSbufReadNativeBufferHandle()
|
D | native_buffer.cpp | 98 bool validFd = (handle_->fd >= 0); in Marshalling() local 99 if (!messageParcel.WriteBool(validFd)) { in Marshalling() 103 if (validFd && !messageParcel.WriteFileDescriptor(handle_->fd)) { in Marshalling() 215 bool validFd = false; in ExtractFromParcel() local 219 !messageParcel.ReadBool(validFd)) { in ExtractFromParcel() 223 if (validFd) { in ExtractFromParcel()
|