/drivers/peripheral/pin_auth/test/fuzztest/pin_auth/pinauthhdi_fuzzer/ |
D | iam_fuzz_test.cpp | 34 void FillFuzzBuffer(Parcel &parcel, void *p, uint32_t len) in FillFuzzBuffer() 57 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint8Vector() local 66 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzInt8Vector() local 75 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint32Vector() local 84 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint64Vector() local 93 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN + 1; in FillFuzzString() local
|
/drivers/peripheral/face_auth/test/fuzztest/face_auth/faceauthhdi_fuzzer/ |
D | iam_fuzz_test.cpp | 34 void FillFuzzBuffer(Parcel &parcel, void *p, uint32_t len) in FillFuzzBuffer() 57 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint8Vector() local 66 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzInt8Vector() local 75 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint32Vector() local 84 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint64Vector() local 93 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN + 1; in FillFuzzString() local
|
/drivers/peripheral/user_auth/test/fuzztest/user_auth/userauthhdi_fuzzer/ |
D | iam_fuzz_test.cpp | 34 void FillFuzzBuffer(Parcel &parcel, void *p, uint32_t len) in FillFuzzBuffer() 57 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint8Vector() local 66 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzInt8Vector() local 75 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint32Vector() local 84 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint64Vector() local 93 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN + 1; in FillFuzzString() local
|
/drivers/peripheral/fingerprint_auth/test/fuzztest/fingerprint_auth/fingerprintauthhdi_fuzzer/ |
D | iam_fuzz_test.cpp | 34 void FillFuzzBuffer(Parcel &parcel, void *p, uint32_t len) in FillFuzzBuffer() 57 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint8Vector() local 66 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzInt8Vector() local 75 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint32Vector() local 84 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint64Vector() local 93 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN + 1; in FillFuzzString() local
|
/drivers/hdf_core/framework/support/platform/src/hdmi/ |
D | hdmi_edid.c | 33 int32_t HdmiEdidGetRaw(struct HdmiEdid *edid, uint8_t *raw, uint32_t len) in HdmiEdidGetRaw() 255 …MonitorDescriptorPhase(const struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint32_t len) in HdmiEdidMonitorDescriptorPhase() 300 …didDetailedTimingDescriptorPhase(struct HdmiSinkDeviceCapability *cap, uint8_t *data, uint32_t len) in HdmiEdidDetailedTimingDescriptorPhase() 353 … void HdmiEdidDetailedTiming(struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint32_t len) in HdmiEdidDetailedTiming() 404 uint32_t len; in HdmiEdidFirstBlockPhase() local 510 …dmiEdidExtAudioDataBlockPhase(struct HdmiSinkDeviceCapability *sinkCap, uint8_t *data, uint8_t len) in HdmiEdidExtAudioDataBlockPhase() 550 uint8_t len) in HdmiEdidExtVideoDataBlockPhase() 595 …EdidVsdbCecPhyAddrPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) in HdmiEdidVsdbCecPhyAddrPhase() 612 …EdidVsdbColorDepthPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) in HdmiEdidVsdbColorDepthPhase() 624 …idVsdbMaxTmdsClockPhase(struct HdmiSinkDeviceCapability *sinkCap, const uint8_t *data, uint8_t len) in HdmiEdidVsdbMaxTmdsClockPhase() [all …]
|
D | hdmi_common.c | 241 uint32_t len; in HdmiCommonGetVic() local 266 uint32_t len; in HdmiCommonGetCommFormatInfo() local 280 uint32_t len; in HdmiCommonGetVesaFormatInfo() local 309 uint32_t len; in HdmiCommonGetVideoTiming() local 325 uint32_t len; in HdmiCommonGetVideo4kInfo() local 340 uint32_t len; in HdmiCommonGetVideo4kTiming() local
|
D | hdmi_infoframe.c | 19 static void HdmiInfoFrameFillCheckSum(uint8_t *data, uint32_t len) in HdmiInfoFrameFillCheckSum() 37 …void HdmiInfoFrameFillHeader(const struct HdmiInfoFrameHeader *header, uint8_t *data, uint32_t len) in HdmiInfoFrameFillHeader() 48 …32_t HdmiInfoFramePacketVsEncoding(union HdmiInfoFrameInfo *infoFrame, uint8_t *data, uint32_t len) in HdmiInfoFramePacketVsEncoding() 98 …2_t HdmiInfoFramePacketAviEncoding(union HdmiInfoFrameInfo *infoFrame, uint8_t *data, uint32_t len) in HdmiInfoFramePacketAviEncoding() 172 …2_t HdmiInfoFramePacketSpdEncoding(union HdmiInfoFrameInfo *infoFrame, uint8_t *data, uint32_t len) in HdmiInfoFramePacketSpdEncoding() 208 …t HdmiInfoFramePacketAudioEncoding(union HdmiInfoFrameInfo *infoFrame, uint8_t *data, uint32_t len) in HdmiInfoFramePacketAudioEncoding() 249 …2_t HdmiInfoFramePacketDrmEncoding(union HdmiInfoFrameInfo *infoFrame, uint8_t *data, uint32_t len) in HdmiInfoFramePacketDrmEncoding() 335 enum HdmiPacketType type, uint8_t *data, uint32_t len) in HdmiInfoFramePacketEncoding() 732 uint32_t len; in HdmiFillSpdInfoFrame() local
|
/drivers/hdf_core/framework/test/unittest/platform/virtual/mini/ |
D | i2c_mini_virtual.c | 12 int32_t I2cRead(DevHandle handle, uint8_t *buf, uint16_t len) in I2cRead() 21 int32_t I2cWrite(DevHandle handle, uint8_t *buf, uint16_t len) in I2cWrite()
|
/drivers/hdf_core/adapter/khdf/liteos/osal/include/ |
D | osal_uaccess.h | 41 static inline size_t CopyToUser(void* to, const void* from, size_t len) in CopyToUser() 46 static inline size_t CopyFromUser(void* to, const void* from, size_t len) in CopyFromUser()
|
/drivers/hdf_core/adapter/khdf/linux/osal/include/ |
D | osal_uaccess.h | 29 static inline size_t CopyToUser(void __user *to, const void *from, size_t len) in CopyToUser() 34 static inline size_t CopyFromUser(void *to, const void __user *from, size_t len) in CopyFromUser()
|
/drivers/hdf_core/framework/tools/hdi-gen/util/ |
D | string_builder.cpp | 47 size_t len = strlen(string); in Append() local 65 size_t len = string.size(); in Append() local 86 …int len = vsnprintf_s(buf, StringHelper::lineMaxSize, StringHelper::lineMaxSize - 1, format, args); in AppendFormat() local
|
/drivers/hdf_core/framework/support/platform/src/pcie/ |
D | pcie_if.c | 39 int32_t PcieRead(DevHandle handle, uint32_t mode, uint32_t pos, uint8_t *data, uint32_t len) in PcieRead() 44 int32_t PcieWrite(DevHandle handle, uint32_t mode, uint32_t pos, uint8_t *data, uint32_t len) in PcieWrite() 49 int32_t PcieDmaMap(DevHandle handle, PcieCallbackFunc cb, uintptr_t addr, uint32_t len, uint8_t dir) in PcieDmaMap() 54 void PcieDmaUnmap(DevHandle handle, uintptr_t addr, uint32_t len, uint8_t dir) in PcieDmaUnmap()
|
D | pcie_if_u.c | 35 uint32_t len; member 87 int32_t PcieRead(DevHandle handle, uint32_t mode, uint32_t pos, uint8_t *data, uint32_t len) in PcieRead() 144 int32_t PcieWrite(DevHandle handle, uint32_t mode, uint32_t pos, uint8_t *data, uint32_t len) in PcieWrite() 222 DevHandle handle, PcieCallbackFunc cb, struct HdfSBuf *data, uintptr_t addr, uint32_t len) in DmaToDevice() 246 DevHandle handle, PcieCallbackFunc cb, struct HdfSBuf *data, uintptr_t addr, uint32_t len) in DeviceToDma() 265 int32_t PcieDmaMap(DevHandle handle, PcieCallbackFunc cb, uintptr_t addr, uint32_t len, uint8_t dir) in PcieDmaMap() 311 void PcieDmaUnmap(DevHandle handle, uintptr_t addr, uint32_t len, uint8_t dir) in PcieDmaUnmap()
|
D | pcie_dispatch.c | 35 uint32_t len; in PcieCmdRead() local 82 uint32_t len; in PcieCmdWrite() local 147 static int32_t DmaToDevice(struct PcieCntlr *cntlr, struct HdfSBuf *data, uint32_t len) in DmaToDevice() 163 static int32_t DeviceToDma(struct PcieCntlr *cntlr, uint32_t len) in DeviceToDma() 182 uint32_t len; in PcieCmdDmaMap() local
|
D | pcie_core.c | 122 …_t PcieCntlrRead(struct PcieCntlr *cntlr, uint32_t mode, uint32_t pos, uint8_t *data, uint32_t len) in PcieCntlrRead() 141 …t PcieCntlrWrite(struct PcieCntlr *cntlr, uint32_t mode, uint32_t pos, uint8_t *data, uint32_t len) in PcieCntlrWrite() 159 int32_t PcieCntlrDmaMap(struct PcieCntlr *cntlr, PcieCallbackFunc cb, uintptr_t addr, uint32_t len,… in PcieCntlrDmaMap() 184 void PcieCntlrDmaUnmap(struct PcieCntlr *cntlr, uintptr_t addr, uint32_t len, uint8_t dir) in PcieCntlrDmaUnmap()
|
/drivers/peripheral/pin_auth/hdi_service/adaptor/src/ |
D | file_operator.c | 38 static int32_t ReadFile(const char *fileName, uint8_t *buf, uint32_t len) in ReadFile() 59 static int32_t WriteFile(const char *fileName, const uint8_t *buf, uint32_t len) in WriteFile() 91 static int32_t GetFileLen(const char *fileName, uint32_t *len) in GetFileLen()
|
/drivers/peripheral/user_auth/hdi_service/adaptor/src/ |
D | file_operator.c | 45 IAM_STATIC int32_t ReadFile(const char *fileName, uint8_t *buf, uint32_t len) in ReadFile() 67 IAM_STATIC int32_t WriteFile(const char *fileName, const uint8_t *buf, uint32_t len) in WriteFile() 99 IAM_STATIC int32_t GetFileLen(const char *fileName, uint32_t *len) in GetFileLen()
|
/drivers/hdf_core/framework/model/storage/src/mmc/ |
D | mmc_emmc.c | 14 static int32_t EmmcDeviceDefaultGetCid(struct EmmcDevice *dev, uint8_t *cid, uint32_t len) in EmmcDeviceDefaultGetCid() 30 int32_t EmmcDeviceGetCid(struct EmmcDevice *dev, uint8_t *cid, uint32_t len) in EmmcDeviceGetCid()
|
/drivers/hdf_core/framework/test/unittest/platform/virtual/ |
D | pcie_virtual.c | 27 uint32_t len; member 33 uint32_t pos, uint8_t *data, uint32_t len) in PcieVirtualAdapterRead() 60 uint32_t pos, uint8_t *data, uint32_t len) in PcieVirtualAdapterWrite() 74 uint32_t len, uint8_t dir) in PcieVirtualAdapterDmaMap() 97 static void PcieVirtualAdapterDmaUnmap(struct PcieCntlr *cntlr, uintptr_t addr, uintptr_t len, uint… in PcieVirtualAdapterDmaUnmap()
|
/drivers/peripheral/user_auth/hdi_service/common/inc/ |
D | c_array.h | 32 uint32_t len; member 37 uint32_t len; member
|
/drivers/peripheral/user_auth/hdi_service/common/src/ |
D | c_array.c | 70 Uint8Array *CreateUint8ArrayByData(const uint8_t *data, uint32_t len) in CreateUint8ArrayByData() 93 Uint64Array *CreateUint64ArrayByData(const uint64_t *data, uint32_t len) in CreateUint64ArrayByData()
|
/drivers/peripheral/codec/test/demo/v1.0/ |
D | codec_utils.c | 77 int32_t len = strnlen(next, MAX_FILE_NAME_LENGTH); in ParseCmdOption() local 85 int32_t len = strnlen(next, MAX_FILE_NAME_LENGTH); in ParseCmdOption() local 99 int32_t len = strnlen(next, TYPE_NAME_LENGTH); in ParseCmdOption() local
|
/drivers/peripheral/wlan/hal/src/ |
D | wifi_hal_ap_feature.c | 39 static int32_t SetCountryCodeInner(const struct IWiFiAp *apFeature, const char *code, uint32_t len) in SetCountryCodeInner() 57 static int32_t HalSetCountryCode(const struct IWiFiAp *apFeature, const char *code, uint32_t len) in HalSetCountryCode()
|
D | wifi_hal_base_feature.c | 47 …2_t SetMacAddressInner(const struct IWiFiBaseFeature *baseFeature, unsigned char *mac, uint8_t len) in SetMacAddressInner() 56 …tDeviceMacAddressInner(const struct IWiFiBaseFeature *baseFeature, unsigned char *mac, uint8_t len) in GetDeviceMacAddressInner() 118 … int32_t SetMacAddress(const struct IWiFiBaseFeature *baseFeature, unsigned char *mac, uint8_t len) in SetMacAddress() 126 …_t GetDeviceMacAddress(const struct IWiFiBaseFeature *baseFeature, unsigned char *mac, uint8_t len) in GetDeviceMacAddress()
|
/drivers/hdf_core/framework/model/storage/src/mtd/ |
D | mtd_core.c | 206 static void MtdDumpBuf(uint8_t *buf, size_t len) in MtdDumpBuf() 233 static int32_t MtdDeviceEraseUnlock(struct MtdDevice *mtdDevice, off_t addr, size_t len, off_t *fad… in MtdDeviceEraseUnlock() 254 ssize_t MtdDeviceErase(struct MtdDevice *mtdDevice, off_t addr, size_t len, off_t *failAddr) in MtdDeviceErase() 480 ssize_t MtdDeviceWrite(struct MtdDevice *mtdDevice, off_t to, size_t len, const uint8_t *buf) in MtdDeviceWrite() 515 ssize_t MtdDeviceRead(struct MtdDevice *mtdDevice, off_t from, size_t len, uint8_t *buf) in MtdDeviceRead() 550 ssize_t MtdDeviceWriteWithOob(struct MtdDevice *mtdDevice, off_t to, size_t len, const uint8_t *buf) in MtdDeviceWriteWithOob() 565 ssize_t MtdDeviceReadWithOob(struct MtdDevice *mtdDevice, off_t from, size_t len, uint8_t *buf) in MtdDeviceReadWithOob()
|