Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 215) sorted by relevance

123456789

/drivers/peripheral/pin_auth/test/fuzztest/pin_auth/pinauthhdi_fuzzer/
Diam_fuzz_test.cpp34 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/
Diam_fuzz_test.cpp34 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/
Diam_fuzz_test.cpp34 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/
Diam_fuzz_test.cpp34 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/
Dhdmi_edid.c33 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 …]
Dhdmi_common.c241 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
Dhdmi_infoframe.c19 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/
Di2c_mini_virtual.c12 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/
Dosal_uaccess.h41 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/
Dosal_uaccess.h29 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/
Dstring_builder.cpp47 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/
Dpcie_if.c39 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()
Dpcie_if_u.c35 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()
Dpcie_dispatch.c35 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
Dpcie_core.c122 …_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/
Dfile_operator.c38 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/
Dfile_operator.c45 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/
Dmmc_emmc.c14 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/
Dpcie_virtual.c27 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/
Dc_array.h32 uint32_t len; member
37 uint32_t len; member
/drivers/peripheral/user_auth/hdi_service/common/src/
Dc_array.c70 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/
Dcodec_utils.c77 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/
Dwifi_hal_ap_feature.c39 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()
Dwifi_hal_base_feature.c47 …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/
Dmtd_core.c206 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()

123456789