/base/startup/init/interfaces/hals/utils/token/ |
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()
|
/base/startup/init/interfaces/innerkits/token/src/token_impl_hal/ |
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()
|
/base/startup/appspawn/test/unittest/client_socket_test/ |
D | client_socket_test.cpp | 126 uint32_t len = 10; variable 149 uint32_t len = 0; variable 172 uint32_t len = -1; variable 194 int32_t len = 10; variable 215 int32_t len = 10; variable 238 int32_t len = 0; variable 261 int32_t len = -1; variable
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
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()
|
/base/startup/init/interfaces/innerkits/token/src/token_impl_posix/ |
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()
|
/base/startup/appspawn/test/unittest/app_spawn_socket_test/ |
D | app_spawn_socket_test.cpp | 174 int32_t len = 10; variable 197 int32_t len = 10; variable 222 int32_t len = 0; variable 247 int32_t len = -1; variable 270 int32_t len = content.length(); variable 330 int32_t len = 10; variable 354 int32_t len = 0; variable 378 int32_t len = -1; variable 401 int32_t len = content.length(); variable
|
/base/update/updater/services/flow_update/update_bin/ |
D | bin_flow_update.cpp | 54 int32_t BinFlowUpdate::StartBinFlowUpdate(uint8_t *data, uint32_t len) in StartBinFlowUpdate() 86 bool BinFlowUpdate::AddRemainData(uint8_t *data, uint32_t &len) in AddRemainData() 99 uint32_t BinFlowUpdate::UpdateBinHead(uint8_t *data, uint32_t &len) in UpdateBinHead() 153 int BinFlowUpdate::BinUpdatePreWrite(uint8_t *data, uint32_t &len) in BinUpdatePreWrite() 178 int BinFlowUpdate::BinUpdateDoWrite(uint8_t *data, uint32_t &len) in BinUpdateDoWrite() 209 int BinFlowUpdate::BinUpdatePostWrite(uint8_t *data, uint32_t &len) in BinUpdatePostWrite() 216 int BinFlowUpdate::UpdateBinData(uint8_t *data, uint32_t &len) in UpdateBinData()
|
D | component_processor.h | 34 ComponentProcessor(const std::string &name, const size_t len) in ComponentProcessor() 79 std::unique_ptr<ComponentProcessor> NewObject(const std::string &name, const uint8_t len) in NewObject() 96 VersionCheckProcessor(const std::string &name, const size_t len) in VersionCheckProcessor() 105 BoardIdCheckProcessor(const std::string &name, const size_t len) in BoardIdCheckProcessor() 114 RawImgProcessor(const std::string &name, const size_t len) in RawImgProcessor() 131 SkipImgProcessor(const std::string &name, const size_t len) in SkipImgProcessor()
|
/base/useriam/face_auth/test/fuzztest/iamfuzz/ |
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
|
/base/useriam/user_auth_framework/common/test/ |
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
|
/base/useriam/fingerprint_auth/test/fuzztest/iamfuzz/ |
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
|
/base/useriam/pin_auth/test/fuzztest/utils_fuzz/ |
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
|
/base/startup/appspawn/util/include/ |
D | parcel_util.h | 28 std::size_t len = originList.size(); in TranslateListToVector() local 37 int len = originVector.length(); in TranslateVectorToList() local
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/ |
D | hisysevent_record_c.cpp | 49 int GetParamValues(const HiSysEventRecordC& record, const char* name, T** value, size_t& len) in GetParamValues() 71 int GetParamValues(const HiSysEventRecordC& record, const char* name, char*** value, size_t& len) in GetParamValues() 87 int GetParamNames(const HiSysEventRecordC& record, char*** names, size_t& len) in GetParamNames() 121 …etParamInt64Values(const HiSysEventRecordC& record, const char* name, int64_t** value, size_t& len) in GetParamInt64Values() 126 …ParamUint64Values(const HiSysEventRecordC& record, const char* name, uint64_t** value, size_t& len) in GetParamUint64Values() 131 …etParamDoubleValues(const HiSysEventRecordC& record, const char* name, double** value, size_t& len) in GetParamDoubleValues() 136 …GetParamStringValues(const HiSysEventRecordC& record, const char* name, char*** value, size_t& len) in GetParamStringValues() 146 void OH_HiSysEvent_GetParamNames(const HiSysEventRecordC* record, char*** names, size_t* len) in OH_HiSysEvent_GetParamNames() 171 …etParamInt64Values(const HiSysEventRecordC* record, const char* name, int64_t** value, size_t* len) in OH_HiSysEvent_GetParamInt64Values() 176 …ParamUint64Values(const HiSysEventRecordC* record, const char* name, uint64_t** value, size_t* len) in OH_HiSysEvent_GetParamUint64Values() [all …]
|
/base/global/i18n_lite/frameworks/i18n/src/ |
D | number_data.cpp | 30 int len = strlen(data.numFormat); in StyleData() local 34 int len = strlen(data.entireFormat); in StyleData() local 52 int len = strlen(data.numFormat); in operator =() local 56 int len = strlen(data.entireFormat); in operator =() local 97 void NumberData::ParsePattern(const char *pattern, const int len) in ParsePattern() 107 bool NumberData::CalculateDecLength(const char *pattern, const int len) in CalculateDecLength() 128 void NumberData::CalculateIntLength(int intEndPos, const char *pattern, const int len, bool isDec) in CalculateIntLength() 146 void NumberData::ParsePercentPattern(const char *pattern, const int len) in ParsePercentPattern() 174 bool NumberData::IsNoBreakSpace(const char *pattern, const int len, bool order) in IsNoBreakSpace() 188 void NumberData::ParseOtherPerPattern(const char *pattern, const int len, const int perSignPos, in ParseOtherPerPattern() [all …]
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_teleservice_message.cpp | 79 uint8_t len = 0; in GetMessageType() local 138 uint8_t len = 0; in CdmaSmsSubmitMessage() local 207 uint8_t len = 0; in CdmaSmsDeliverMessage() local 268 uint8_t len = 0; in CdmaSmsDeliveryAck() local 295 uint8_t len = 0; in CdmaSmsUserAck() local 324 uint8_t len = 0; in CdmaSmsReadAck() local
|
/base/account/os_account/test/systemtest/common/resource/fuzzTest/src/ |
D | getparam.cpp | 210 size_t len = GenRandom(RANDOM_MIN, RANDOM_MAX); in GetStringParam() local 222 size_t len = GenRandom(RANDOM_MIN, RANDOM_MAX); in GetUnsignVectorParam() local 241 size_t len = GenRandom(RANDOM_MIN, RANDOM_MAX); in GetBoolVectorParam() local 253 size_t len = GenRandom(RANDOM_MIN, RANDOM_MAX); in GetShortVectorParam() local 265 size_t len = GenRandom(RANDOM_MIN, RANDOM_MAX); in GetLongVectorParam() local 277 size_t len = GenRandom(RANDOM_MIN, RANDOM_MAX); in GetIntVectorParam() local 289 size_t len = GenRandom(RANDOM_MIN, RANDOM_MAX); in GetFloatVectorParam() local 301 size_t len = GenRandom(RANDOM_MIN, RANDOM_MAX); in GetDoubleVectorParam() local 313 size_t len = GenRandom(RANDOM_MIN, RANDOM_MAX); in GetCharVectorParam() local 325 size_t len = GenRandom(RANDOM_MIN, RANDOM_MAX); in GetStringVectorParam() local [all …]
|
/base/hiviewdfx/hisysevent/frameworks/native/util/ |
D | string_util.cpp | 22 int CopyCString(char* dst, const std::string& src, size_t len) in CopyCString() 30 int CreateCString(char** dst, const std::string& src, size_t len) in CreateCString() 44 int ConvertCString(const std::string& str, char** sp, size_t len) in ConvertCString() 58 int ConvertCStringVec(const std::vector<std::string>& vec, char*** strs, size_t& len) in ConvertCStringVec()
|
/base/security/crypto_framework/test/unittest/src/ |
D | crypto_md_test.cpp | 230 uint32_t len = mdObj->getMdLength(mdObj); variable 251 uint32_t len = mdObj->getMdLength(mdObj); variable 274 uint32_t len = mdObj->getMdLength(mdObj); variable 297 uint32_t len = mdObj->getMdLength(mdObj); variable 320 uint32_t len = mdObj->getMdLength(mdObj); variable 343 uint32_t len = mdObj->getMdLength(mdObj); variable 366 uint32_t len = mdObj->getMdLength(mdObj); variable 392 uint32_t len = mdObj->getMdLength(nullptr); variable 414 uint32_t len = mdObj->getMdLength(&invalidMdObj); variable 441 uint32_t len = spiObj->engineGetMdLength(&invalidSpi); variable
|
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/ |
D | huks_adapter.h | 28 #define CHECK_LEN_ZERO_RETURN_ERROR_CODE(len, paramTag) \ argument 44 #define CHECK_LEN_LOWER_RETURN(len, min, paramTag) \ argument 52 #define CHECK_LEN_HIGHER_RETURN(len, max, paramTag) \ argument 60 #define CHECK_LEN_EQUAL_RETURN(len, value, paramTag) \ argument
|
/base/update/updater/services/applypatch/ |
D | raw_writer.cpp | 23 bool RawWriter::Write(const uint8_t *addr, size_t len, [[maybe_unused]] const void *context) in Write() 48 int RawWriter::WriteInternal(int fd, const uint8_t *data, size_t len) in WriteInternal()
|
/base/hiviewdfx/hiview/utility/common_utils/ |
D | calc_fingerprint.cpp | 26 …gerprint::ConvertToString(const unsigned char hash[SHA256_DIGEST_LENGTH], char *outstr, size_t len) in ConvertToString() 59 int CalcFingerprint::CalcFileSha(const string& filePath, char *hash, size_t len) in CalcFileSha() 96 int CalcFingerprint::CalcBufferSha(const string& buffer, size_t bufSize, char *hash, size_t len) in CalcBufferSha()
|
/base/hiviewdfx/hilog/frameworks/libhilog/socket/ |
D | socket.cpp | 82 int Socket::Write(const char *data, unsigned int len) in Write() 91 int Socket::WriteAll(const char *data, unsigned int len) in WriteAll() 114 int Socket::WriteV(const iovec *vec, unsigned int len) in WriteV() 119 int Socket::Read(char *buffer, unsigned int len) in Read()
|
/base/security/certificate_manager/test/unittest/src/ |
D | cm_get_certinfo_test.cpp | 145 unsigned int len = sizeof(struct CertInfo); variable 172 unsigned int len = sizeof(struct CertInfo); variable 201 unsigned int len = sizeof(struct CertInfo);; variable 234 unsigned int len = sizeof(struct CertInfo); variable
|
/base/telephony/sms_mms/test/unittest/ |
D | mms_msg_test.cpp | 251 uint32_t len = 0; in MmsSendReqEncodeTest() local 285 uint32_t len = 0; in MmsSendConfEncodeTest() local 345 uint32_t len = 0; in MmsNotificationIndEncodeTest() local 379 uint32_t len = 0; in MmsNotifyRespIndEncodeTest() local 448 uint32_t len = 0; in MmsRetrieveConfEncodeTest() local 478 uint32_t len = 0; in MmsAcknowledgeIndEncodeTest() local 529 uint32_t len = 0; in MmsDeliveryIndEncodeTest() local 580 uint32_t len = 0; in MmsReadRecIndEncodeTest() local 634 uint32_t len = 0; in MmsReadOrigIndEncodeTest() local 717 uint32_t len = 0; in MmsSendReqDecodeTest() local [all …]
|