Home
last modified time | relevance | path

Searched refs:HcString (Results 1 – 25 of 26) sorted by relevance

12

/base/security/device_auth/common_lib/interfaces/
Dhc_string.h25 typedef struct HcString { struct
27 } HcString; typedef
36 HcBool StringAppend(HcString *self, HcString str);
45 HcBool StringAppendPointer(HcString *self, const char *str);
54 HcBool StringAppendChar(HcString *self, char c);
63 HcBool StringSet(HcString *self, HcString str);
72 HcBool StringSetPointer(HcString *self, const char *str);
79 const char* StringGet(const HcString *self);
86 uint32_t StringLength(const HcString *self);
93 HcString CreateString(void);
[all …]
Dhc_string_vector.h26 DECLARE_HC_VECTOR(StringVector, HcString)
Dhc_tlv_parser.h191 HcString data;
/base/security/crypto_framework/common/inc/
Dhcf_string.h25 typedef struct HcString { struct
27 } HcString; argument
36 bool StringAppendPointer(HcString *self, const char *str);
45 bool StringSetPointer(HcString *self, const char *str);
55 bool StringSetPointerWithLength(HcString* self, const char *str, uint32_t len);
62 const char* StringGet(const HcString *self);
69 uint32_t StringLength(const HcString *self);
78 int StringFind(const HcString *self, char c, uint32_t begin);
88 bool StringSubString(const HcString *self, uint32_t begin, uint32_t len, HcString* dst);
99 int StringCompare(const HcString *self, const char* dst);
[all …]
/base/security/device_auth/common_lib/impl/src/
Dhc_string.c30 HcBool StringAppend(HcString *self, HcString str) in StringAppend()
50 HcBool StringAppendPointer(HcString *self, const char *str) in StringAppendPointer()
69 HcBool StringAppendChar(HcString *self, char c) in StringAppendChar()
90 HcBool StringSet(HcString *self, HcString str) in StringSet()
107 HcBool StringSetPointer(HcString *self, const char *str) in StringSetPointer()
122 const char *StringGet(const HcString *self) in StringGet()
136 uint32_t StringLength(const HcString *self) in StringLength()
155 HcString CreateString(void) in CreateString()
157 HcString str; in CreateString()
171 void DeleteString(HcString *str) in DeleteString()
Dhc_string_vector.c18 IMPLEMENT_HC_VECTOR(StringVector, HcString, 1)
28 HcString *strItemPtr = NULL; in DestroyStrVector()
/base/security/crypto_framework/common/src/
Dhcf_string.c32 bool StringAppendPointer(HcString *self, const char *str) in StringAppendPointer()
51 bool StringSetPointer(HcString *self, const char *str) in StringSetPointer()
69 bool StringSetPointerWithLength(HcString* self, const char *str, uint32_t len) in StringSetPointerWithLength()
92 const char *StringGet(const HcString *self) in StringGet()
106 uint32_t StringLength(const HcString *self) in StringLength()
127 int StringFind(const HcString *self, char c, uint32_t begin) in StringFind()
158 bool StringSubString(const HcString *self, uint32_t begin, uint32_t len, HcString* dst) in StringSubString()
179 int StringCompare(const HcString *self, const char* dst) in StringCompare()
212 HcString CreateString(void) in CreateString()
214 HcString str; in CreateString()
[all …]
Dparams_parser.c110 static const HcfParaConfig *FindConfig(const HcString* tag) in FindConfig()
129 HcString str = CreateString(); in ParseAndSetParameter()
130 HcString subStr = CreateString(); in ParseAndSetParameter()
/base/security/device_auth/services/data_manager/inc/
Ddata_manager.h31 HcString name; /* group name */
32 HcString id; /* group id */
36 HcString userId; /* the user account id */
37 HcString sharedUserId; /* the shared user account id */
45 HcString groupId;
46 HcString udid; /* unique device id */
47 HcString authId; /* id by service defined for authentication */
48 HcString userId; /* the user account id */
49 HcString serviceType; /* compatible with previous versions, the value is the same as groupId */
/base/security/device_auth/services/group_auth/src/group_auth_manager/
Dgroup_auth_data_operation.c62 HcString entryOwner = HC_VECTOR_GET(&entry->managers, 0); in GaDeepCopyGroupEntry()
78 HcString ownerName = CreateString(); in GaDeepCopyGroupEntry()
95 HcString *manager = NULL; in GaIsGroupManager()
109 HcString *trustedFriend = NULL; in GaIsGroupFriend()
/base/security/device_auth/deps_adapter/os_adapter/interfaces/liteos/
Dhc_thread.h35 HcString name;
/base/security/device_auth/deps_adapter/os_adapter/interfaces/
Dhc_thread.h39 HcString name;
/base/security/crypto_framework/test/unittest/src/
Dcrypto_common_cov_test.cpp390 HcString tmp = CreateString();
416 HcString tmp = CreateString();
424 HcString tmp = CreateString();
451 HcString tmp = CreateString();
459 HcString tmp = CreateString();
460 HcString sub = CreateString();
469 HcString tmp = CreateString();
483 HcString tmp = CreateString();
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/
Dhc_file.c118 HcString subFileName = CreateString(); in HcFileGetSubFileName()
Dhc_file_posix.c207 HcString subFileName = CreateString(); in HcFileGetSubFileName()
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c147 HcString str = CreateString(); in LoadStringVectorFromParcel()
165 HcString *str = NULL; in SaveStringVectorToParcel()
227 HcString entryOwner = HC_VECTOR_GET(&entry->managers, 0); in GenerateGroupEntryFromEntry()
247 HcString ownerName = CreateString(); in GenerateGroupEntryFromEntry()
503 HcString *dbName; in LoadDeviceAuthDb()
690 HcString entryOwner = HC_VECTOR_GET(&entry->managers, 0); in CompareQueryGroupParams()
1206 HcString entryOwner = HC_VECTOR_GET(&group->managers, 0); in DumpGroup()
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/
Dhc_file.c198 HcString subFileName = CreateString(); in HcFileGetSubFileName()
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation_common.c31 HcString *manager = NULL; in IsGroupManager()
43 HcString *trustedFriend = NULL; in IsGroupFriend()
172 HcString entryManager = HC_VECTOR_GET(&entry->managers, 0); in IsGroupOwner()
348 HcString entryManager = HC_VECTOR_GET(&groupInfo->managers, 0); in AddGroupOwnerToReturn()
641 HcString ownerName = CreateString(); in AddGroupOwnerToParams()
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_unrelated_group_auth/
Daccount_unrelated_group_auth.c270 HcString ownerName = (entry->managers).get(&(entry->managers), 0); in AddNonAccountPkgName()
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
Dcommon_lib_test.cpp282 HcString selfStr = CreateString();
283 HcString srcStr = CreateString();
/base/security/device_auth/services/authenticators/src/account_related/creds_manager/
Dsym_token_manager.c587 HcString *dbName = NULL; in LoadTokenDb()
/base/security/device_auth/services/privacy_enhancement/src/
Dpseudonym_manager.c496 HcString *dbName = NULL; in LoadPseudonymData()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/
Dsave_trusted_info_test.cpp100 HcString ownerName = CreateString(); in GenerateGroupParams()
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
Dsave_trusted_info.c252 HcString ownerName = CreateString(); in GenerateGroupParams()
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session.c311 HcString ownerName = CreateString(); in SetGroupOwner()

12