/ohos5.0/base/startup/init/interfaces/hals/utils/token/ |
H A D | hal_token.c | 20 __attribute__((weak)) static int OEMReadToken(char* token, unsigned int len) in OEMReadToken() 28 __attribute__((weak)) static int OEMWriteToken(const char* token, unsigned int len) in OEMWriteToken() 36 __attribute__((weak)) static int OEMGetAcKey(char* acKey, unsigned int len) in OEMGetAcKey() 44 __attribute__((weak)) static int OEMGetProdId(char* productId, unsigned int len) in OEMGetProdId() 52 __attribute__((weak)) static int OEMGetProdKey(char* productKey, unsigned int len) in OEMGetProdKey() 60 __attribute__((weak)) int HalReadToken(char* token, unsigned int len) in HalReadToken() 69 __attribute__((weak)) int HalWriteToken(const char* token, unsigned int len) in HalWriteToken() 78 __attribute__((weak)) int HalGetAcKey(char* acKey, unsigned int len) in HalGetAcKey() 87 __attribute__((weak)) int HalGetProdId(char* productId, unsigned int len) in HalGetProdId() 96 __attribute__((weak)) int HalGetProdKey(char* productKey, unsigned int len) in HalGetProdKey()
|
/ohos5.0/base/startup/init/interfaces/innerkits/token/src/token_impl_hal/ |
H A D | token.c | 21 int ReadToken(char *token, unsigned int len) in ReadToken() 31 int WriteToken(const char *token, unsigned int len) in WriteToken() 41 int GetAcKey(char *acKey, unsigned int len) in GetAcKey() 51 int GetProdId(char *productId, unsigned int len) in GetProdId() 61 int GetProdKey(char *productKey, unsigned int len) in GetProdKey()
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_service_app_spawn_socket_test/ |
H A D | ams_service_app_spawn_socket_test.cpp | 146 int32_t len = 10; variable 170 int32_t len = 0; variable 194 int32_t len = -1; variable 218 int32_t len = 10; variable 243 int32_t len = 10; variable 267 int32_t len = 10; variable 291 int32_t len = 0; variable 315 int32_t len = -1; variable 339 int32_t len = 10; variable 364 int32_t len = 10; variable
|
/ohos5.0/base/update/updater/services/flow_update/update_bin/ |
H A D | bin_flow_update.cpp | 39 updateBinProcess_.emplace(BIN_UPDATE_STEP_PRE, [this](uint8_t *data, uint32_t &len) { in BinFlowUpdate() 42 updateBinProcess_.emplace(BIN_UPDATE_STEP_DO, [this](uint8_t *data, uint32_t &len) { in BinFlowUpdate() 45 updateBinProcess_.emplace(BIN_UPDATE_STEP_POST, [this](uint8_t *data, uint32_t &len) { in BinFlowUpdate() 60 int32_t BinFlowUpdate::StartBinFlowUpdate(uint8_t *data, uint32_t len) in StartBinFlowUpdate() 92 bool BinFlowUpdate::AddRemainData(uint8_t *data, uint32_t &len) in AddRemainData() 105 uint32_t BinFlowUpdate::UpdateBinHead(uint8_t *data, uint32_t &len) in UpdateBinHead() 159 int BinFlowUpdate::BinUpdatePreWrite(uint8_t *data, uint32_t &len) in BinUpdatePreWrite() 184 int BinFlowUpdate::BinUpdateDoWrite(uint8_t *data, uint32_t &len) in BinUpdateDoWrite() 215 int BinFlowUpdate::BinUpdatePostWrite(uint8_t *data, uint32_t &len) in BinUpdatePostWrite() 222 int BinFlowUpdate::UpdateBinData(uint8_t *data, uint32_t &len) in UpdateBinData()
|
/ohos5.0/foundation/communication/dsoftbus/core/adapter/bus_center/src/ |
H A D | lnn_settingdata_event_monitor_virtual.cpp | 19 int32_t LnnGetSettingDeviceName(char *deviceName, uint32_t len) in LnnGetSettingDeviceName() 41 int32_t LnnGetUnifiedDisplayDeviceName(char *unifiedDisplayName, uint32_t len) in LnnGetUnifiedDisplayDeviceName() 48 int32_t LnnGetUnifiedDeviceName(char *unifiedName, uint32_t len) in LnnGetUnifiedDeviceName() 55 int32_t LnnGetUnifiedDefaultDeviceName(char *unifiedDefaultName, uint32_t len) in LnnGetUnifiedDefaultDeviceName() 62 …nGetSettingNickName(const char *defaultName, const char *unifiedName, char *nickName, uint32_t len) in LnnGetSettingNickName() 71 …GetDeviceDisplayName(const char *nickName, const char *defaultName, char *deviceName, uint32_t len) in LnnGetDeviceDisplayName()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/ |
H A D | distributeddb_parcel_unit_test.cpp | 123 uint32_t len = Parcel::GetVectorLen<uint8_t>(writeData); variable 158 uint32_t len = Parcel::GetVectorLen<uint8_t>(writeData); variable 193 uint32_t len = Parcel::GetVectorLen<uint32_t>(writeData); variable 334 uint32_t len = Parcel::GetVectorLen<uint8_t>(writeData); variable 482 uint32_t len = Parcel::GetStringLen(writeData); variable 516 uint32_t len = Parcel::GetStringLen(writeData); variable 556 uint32_t len = Parcel::GetStringLen(writeData); variable 596 uint32_t len = Parcel::GetStringLen(writeData); variable 630 uint32_t len = Parcel::GetStringLen(writeData); variable 670 uint32_t len = Parcel::GetStringLen(writeData); variable [all …]
|
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
H A D | app_common.c | 18 long long HapGetInt64(const unsigned char *buf, int32_t len) in HapGetInt64() 33 int32_t HapGetInt(const unsigned char *buf, int32_t len) in HapGetInt() 39 uint32_t HapGetUnsignedInt(const unsigned char *buf, int32_t len) in HapGetUnsignedInt() 54 short HapGetShort(const unsigned char *buf, int32_t len) in HapGetShort() 69 void HapPutInt32(unsigned char *buf, int32_t len, int32_t value) in HapPutInt32()
|
/ohos5.0/base/startup/init/interfaces/innerkits/token/src/token_impl_posix/ |
H A D | token.c | 40 int ReadToken(char *token, unsigned int len) in ReadToken() 60 int WriteToken(const char *token, unsigned int len) in WriteToken() 80 int GetAcKey(char *acKey, unsigned int len) in GetAcKey() 94 int GetProdId(char *productId, unsigned int len) in GetProdId() 104 int GetProdKey(char *productKey, unsigned int len) in GetProdKey()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/utils/src/ |
H A D | lnn_network_id.c | 34 static int32_t GetUuidFromFile(char *id, uint32_t len) in GetUuidFromFile() 61 int32_t LnnGenLocalNetworkId(char *networkId, uint32_t len) in LnnGenLocalNetworkId() 76 int32_t LnnGenLocalUuid(char *uuid, uint32_t len) in LnnGenLocalUuid() 100 static int32_t GetIrkFromFile(unsigned char *irk, uint32_t len) in GetIrkFromFile() 123 int32_t LnnGenLocalIrk(unsigned char *irk, uint32_t len) in LnnGenLocalIrk()
|
/ohos5.0/drivers/peripheral/user_auth/test/fuzztest/user_auth/userauthhdi_fuzzer/ |
H A D | iam_fuzz_test.cpp | 35 void FillFuzzBuffer(Parcel &parcel, void *p, uint32_t len) in FillFuzzBuffer() 58 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint8Vector() local 67 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzInt8Vector() local 76 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint32Vector() local 85 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzInt32Vector() local 94 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint64Vector() local 103 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN + 1; in FillFuzzString() local
|
/ohos5.0/drivers/peripheral/face_auth/test/fuzztest/face_auth/faceauthallinoneexecutor_fuzzer/ |
H A D | iam_fuzz_test.cpp | 35 void FillFuzzBuffer(Parcel &parcel, void *p, uint32_t len) in FillFuzzBuffer() 58 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint8Vector() local 67 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzInt8Vector() local 76 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint32Vector() local 85 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzInt32Vector() local 94 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint64Vector() local 103 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN + 1; in FillFuzzString() local
|
/ohos5.0/drivers/peripheral/fingerprint_auth/test/fuzztest/fingerprint_auth/fingerprintauthallinoneexecutor_fuzzer/ |
H A D | iam_fuzz_test.cpp | 35 void FillFuzzBuffer(Parcel &parcel, void *p, uint32_t len) in FillFuzzBuffer() 58 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint8Vector() local 67 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzInt8Vector() local 76 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint32Vector() local 85 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzInt32Vector() local 94 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint64Vector() local 103 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN + 1; in FillFuzzString() local
|
/ohos5.0/drivers/peripheral/pin_auth/test/fuzztest/pin_auth/pinauthhdi_fuzzer/ |
H A D | iam_fuzz_test.cpp | 35 void FillFuzzBuffer(Parcel &parcel, void *p, uint32_t len) in FillFuzzBuffer() 58 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint8Vector() local 67 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzInt8Vector() local 76 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint32Vector() local 85 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzUint64Vector() local 94 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN + 1; in FillFuzzString() local 103 uint32_t len = parcel.ReadUint32() % MAX_DATA_LEN; in FillFuzzInt32Vector() local
|
/ohos5.0/base/useriam/face_auth/test/fuzztest/iamfuzz/ |
H A 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
|
/ohos5.0/base/useriam/fingerprint_auth/test/fuzztest/iamfuzz/ |
H A 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
|
/ohos5.0/base/useriam/pin_auth/test/fuzztest/utils_fuzz/ |
H A 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
|
/ohos5.0/base/useriam/user_auth_framework/common/test/ |
H A 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
|
/ohos5.0/foundation/communication/wifi/wifi/base/cRPC/src/ |
H A D | context.c | 73 static int ExpandReadCache(Context *context, int len) in ExpandReadCache() 114 static int ExpandWriteCache(Context *context, int len) in ExpandWriteCache() 160 static int ContextAppendRead(Context *context, const char *buf, int len) in ContextAppendRead() 187 int ContextAppendWrite(Context *context, const char *buf, int len) in ContextAppendWrite() 223 uint32_t len = (context->rBegin <= context->rEnd) ? (context->rEnd - context->rBegin) in ContextGetReadRecord() local 271 int len = strlen(line); in ContextReadNet() local 294 int len = (int)(context->wCapacity - context->wBegin); in ContextWriteNet() local
|
H A D | serial.c | 38 int len = strlen(szTmp); in WriteBegin() local 48 int len = (int)strlen(funcName) + 1; in WriteFunc() local 138 int len = (int)strlen(pStr) + 1; in WriteStr() local 220 int len = ReadNext(context); in ReadFunc() local 256 int len = ReadNext(context); in ReadNextNum() local 279 int len = ReadNextNum(context, szTmp, sizeof(szTmp)); in ReadInt() local 295 int len = ReadNextNum(context, szTmp, sizeof(szTmp)); in ReadLong() local 311 int len = ReadNextNum(context, szTmp, sizeof(szTmp)); in ReadInt64() local 342 int len = ReadNext(context); in ReadChar() local 360 int len = ReadNext(context); in ReadStr() local [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/ |
H A D | lnn_local_net_ledger.c | 117 static int32_t LlGetNetworkId(void *buf, uint32_t len) in LlGetNetworkId() 130 static int32_t LlGetOsVersion(void *buf, uint32_t len) in LlGetOsVersion() 158 static int32_t LlGetExtData(void *buf, uint32_t len) in LlGetExtData() 172 static int32_t LlGetBleMac(void *buf, uint32_t len) in LlGetBleMac() 191 static int32_t LlGetUuid(void *buf, uint32_t len) in LlGetUuid() 265 static int32_t LlGetAccount(void *buf, uint32_t len) in LlGetAccount() 474 static int32_t LlGetBtMac(void *buf, uint32_t len) in LlGetBtMac() 497 static int32_t LlGetWlanIp(void *buf, uint32_t len) in LlGetWlanIp() 665 static int32_t LlGetNetCap(void *buf, uint32_t len) in LlGetNetCap() 705 static int32_t LlGetOsType(void *buf, uint32_t len) in LlGetOsType() [all …]
|
/ohos5.0/commonlibrary/memory_utils/libpurgeablemem/cpp/src/ |
H A D | ux_page_table.cpp | 28 UxPageTable::UxPageTable(uint64_t addr, size_t len) in UxPageTable() 56 void UxPageTable::GetUxpte(uint64_t addr, size_t len) in GetUxpte() 61 void UxPageTable::PutUxpte(uint64_t addr, size_t len) in PutUxpte() 67 bool UxPageTable::CheckPresent(uint64_t addr, size_t len) in CheckPresent()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/adapter/unittest/ |
H A D | bus_center_adapter_test.cpp | 59 int32_t len = 10; variable 78 int32_t len = 10; variable 104 int32_t len = 0; variable 121 int32_t len = 10; variable
|
/ohos5.0/drivers/hdf_core/framework/support/platform/src/hdmi/ |
H A D | hdmi_edid.c | 404 uint32_t len; in HdmiEdidFirstBlockPhase() local 550 uint8_t len) in HdmiEdidExtVideoDataBlockPhase() 693 const uint8_t *data, uint8_t len, uint8_t *offset) in HdmiEdidVsdb3dStructureInfoPhase() 886 uint8_t len) in HdmiEdidExtSpeakerDataBlockPhase() 919 const uint8_t *data, uint8_t len) in HdmiEdidExtUseExtDataBlockVcdbPhase() 931 const uint8_t *data, uint8_t len) in HdmiEdidExtUseExtDataBlockCdbPhase() 952 const uint8_t *data, uint8_t len) in HdmiEdidExtUseExtDataBlockY420VdbPhase() 974 uint8_t *data, uint8_t len) in HdmiEdidExtUseExtDataBlockY420CmdbPhase() 1015 const uint8_t *data, uint8_t len) in HdmiEdidExtUseExtDataBlockHdrSmdbPhase() 1102 uint8_t len) in HdmiEdidExtUseExtDataBlockVsvdbPhase() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger_manager.c | 45 static int32_t DlGetDeviceUuid(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetDeviceUuid() 69 static int32_t DlGetDeviceUdid(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetDeviceUdid() 127 static int32_t DlGetAuthType(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetAuthType() 154 static int32_t DlGetBtMac(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetBtMac() 172 static int32_t DlGetWlanIp(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetWlanIp() 290 void LnnUpdateNodeBleMac(const char *networkId, char *bleMac, uint32_t len) in LnnUpdateNodeBleMac() 393 static int32_t DlGetNetCap(const char *networkId, bool checkOnline, void *buf, uint32_t len) in DlGetNetCap() 1131 int32_t LnnGetRemoteStrInfo(const char *networkId, InfoKey key, char *info, uint32_t len) in LnnGetRemoteStrInfo() 1371 int32_t LnnGetNetworkIdByBtMac(const char *btMac, char *buf, uint32_t len) in LnnGetNetworkIdByBtMac() 1503 int32_t LnnGetNetworkIdByUuid(const char *uuid, char *buf, uint32_t len) in LnnGetNetworkIdByUuid() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/tools/test/unittest/aa/ |
H A D | aa_command_test.cpp | 225 constexpr int32_t len = 0; variable 243 constexpr int32_t len = 0; variable 261 constexpr int32_t len = 32; variable 279 constexpr int32_t len = 32; variable 297 constexpr int32_t len = 32; variable 315 constexpr int32_t len = 32; variable 333 constexpr int32_t len = 32; variable 351 constexpr int32_t len = 32; variable 369 constexpr int32_t len = 32; variable
|