Home
last modified time | relevance | path

Searched refs:group (Results 1 - 25 of 48) sorted by relevance

12

/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
H A Dmemory_filter.cpp29 void MemoryFilter::ParseMemoryGroup(const string &name, string &group, uint64_t iNode) in ParseMemoryGroup() argument
31 group = iNode > 0 ? FILE_PAGE_TAG : ANON_PAGE_TAG; in ParseMemoryGroup()
32 group += "#"; in ParseMemoryGroup()
33 if (GetGroupFromMap(name, group, endMap_, in ParseMemoryGroup()
35 GetGroupFromMap(name, group, beginMap_, in ParseMemoryGroup()
39 group += "other"; in ParseMemoryGroup()
42 void MemoryFilter::ParseNativeHeapMemoryGroup(const string &name, string &group, uint64_t iNode) in ParseNativeHeapMemoryGroup() argument
44 group = ""; in ParseNativeHeapMemoryGroup()
45 if (GetGroupFromMap(name, group, heapBeginMap_, in ParseNativeHeapMemoryGroup()
51 bool MemoryFilter::GetGroupFromMap(const string &name, string &group, in GetGroupFromMap() argument
[all...]
H A Dget_heap_info.cpp70 string group; in GetInfo() local
72 group = pageTag[0] == MemoryFilter::GetInstance().FILE_PAGE_TAG ? "FilePage other" : "AnonPage other"; in GetInfo()
74 group = pageTag[1]; in GetInfo()
77 if (groupNative == group) { in GetInfo()
H A Dmemory_util.cpp74 void MemoryUtil::CalcGroup(const string &group, const string &type, const uint64_t &value, GroupMap &infos) in CalcGroup() argument
76 if (infos.find(group) == infos.end()) { in CalcGroup()
79 infos.insert(pair<string, map<string, uint64_t>>(group, valueMap)); in CalcGroup()
81 if (infos[group].find(type) == infos[group].end()) { in CalcGroup()
82 infos[group].insert(pair<string, uint64_t>(type, value)); in CalcGroup()
84 infos[group][type] += value; in CalcGroup()
/base/startup/init/services/param/watcher/proxy/
H A Dwatcher_manager.cpp93 // get remote watcher and group in AddWatcher()
99 auto group = AddWatcherGroup(keyPrefix); in AddWatcher() local
100 WATCHER_CHECK(group != nullptr, return -1, "Failed to create group for %s", keyPrefix.c_str()); in AddWatcher()
102 // add watcher to agent and group in AddWatcher()
103 bool newGroup = group->Empty(); in AddWatcher()
104 AddParamWatcher(group, remoteWatcher); in AddWatcher()
107 SendMessage(group, MSG_ADD_WATCHER); in AddWatcher()
112 keyPrefix.c_str(), remoteWatcherId, group->GetGroupId()); in AddWatcher()
120 auto group in DelWatcher() local
148 auto group = GetWatcherGroup(keyPrefix); RefreshWatcher() local
154 SendMessage(WatcherGroupPtr group, int type) SendMessage() argument
217 WatcherGroupPtr group = GetWatcherGroup(msg->id.watcherId); ProcessWatcherMessage() local
466 auto group = it->second; DumpAllGroup() local
512 auto group = GetWatcherGroup(params[1]); Dump() local
574 AddParamWatcher(WatcherGroupPtr group, RemoteWatcherPtr remoteWatcher) AddParamWatcher() argument
586 DelParamWatcher(WatcherGroupPtr group, RemoteWatcherPtr remoteWatcher) DelParamWatcher() argument
618 WatcherGroupPtr group = new WatcherGroup(groupId, keyPrefix); AddWatcherGroup() local
645 DelWatcherGroup(WatcherGroupPtr group) DelWatcherGroup() argument
[all...]
H A Dwatcher_manager.h90 int SendMessage(WatcherGroupPtr group, int type);
99 // for group
103 void DelWatcherGroup(WatcherGroupPtr group);
105 int AddParamWatcher(WatcherGroupPtr group, RemoteWatcherPtr remoteWatcher);
106 int DelParamWatcher(WatcherGroupPtr group, RemoteWatcherPtr remoteWatcher);
/base/security/crypto_framework/plugin/openssl_plugin/common/src/
H A Decc_openssl_common.c60 EC_GROUP *group = NULL; in NewGroupFromCurveGFp() local
69 group = OpensslEcGroupNewCurveGfp(p, a, b, ctx); in NewGroupFromCurveGFp()
70 if (group == NULL) { in NewGroupFromCurveGFp()
71 LOGD("[error] Alloc group memory failed."); in NewGroupFromCurveGFp()
81 *ecGroup = group; in NewGroupFromCurveGFp()
84 OpensslEcGroupFree(group); in NewGroupFromCurveGFp()
88 static HcfResult SetEcPointToGroup(const HcfEccCommParamsSpec *ecParams, EC_GROUP *group, BN_CTX *ctx) in SetEcPointToGroup() argument
109 generator = OpensslEcPointNew(group); in SetEcPointToGroup()
111 LOGE("Alloc group memory failed."); in SetEcPointToGroup()
115 if (!OpensslEcPointSetAffineCoordinatesGfp(group, generato in SetEcPointToGroup()
143 EC_GROUP *group = NULL; GenerateEcGroupWithParamsSpec() local
169 const EC_GROUP *group = OpensslEcKeyGet0Group(ecKey); InitEcKeyByPubKey() local
230 const EC_GROUP *group = OpensslEcKeyGet0Group(ecKey); SetEcPubKeyFromPriKey() local
290 GetCurveGFp(const EC_GROUP *group, const AsyKeySpecItem item, HcfBigInteger *returnBigInteger) GetCurveGFp() argument
332 GetGenerator(const EC_GROUP *group, const AsyKeySpecItem item, HcfBigInteger *returnBigInteger) GetGenerator() argument
373 GetOrder(const EC_GROUP *group, HcfBigInteger *returnBigInteger) GetOrder() argument
392 GetCofactor(const EC_GROUP *group, int *returnCofactor) GetCofactor() argument
417 GetFieldSize(const EC_GROUP *group, int32_t *fieldSize) GetFieldSize() argument
456 GetPubKeyXOrY(const EC_GROUP *group, const EC_POINT *point, const AsyKeySpecItem item, HcfBigInteger *returnBigInteger) GetPubKeyXOrY() argument
[all...]
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
H A Decc_openssl_common.h30 HcfResult GetCurveGFp(const EC_GROUP *group, const AsyKeySpecItem item, HcfBigInteger *returnBigInteger);
31 HcfResult GetGenerator(const EC_GROUP *group, const AsyKeySpecItem item, HcfBigInteger *returnBigInteger);
32 HcfResult GetOrder(const EC_GROUP *group, HcfBigInteger *returnBigInteger);
33 HcfResult GetCofactor(const EC_GROUP *group, int *returnCofactor);
34 HcfResult GetFieldSize(const EC_GROUP *group, int32_t *fieldSize);
H A Dopenssl_adapter.h65 EC_POINT *OpensslEcPointDup(const EC_POINT *src, const EC_GROUP *group);
82 void OpensslEcGroupFree(EC_GROUP *group);
83 EC_POINT *OpensslEcPointNew(const EC_GROUP *group);
85 int OpensslEcPointSetAffineCoordinatesGfp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x,
87 int OpensslEcGroupSetGenerator(EC_GROUP *group, const EC_POINT *generator,
91 int OpensslEcKeySetGroup(EC_KEY *key, const EC_GROUP *group);
92 int OpensslEcGroupGetCurveGfp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx);
93 const EC_POINT *OpensslEcGroupGet0Generator(const EC_GROUP *group);
94 int OpensslEcPointGetAffineCoordinatesGfp(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x,
96 int OpensslEcGroupGetOrder(const EC_GROUP *group, BIGNU
[all...]
/base/security/crypto_framework/test/unittest/src/
H A Dopenssl_adapter_mock.c209 EC_POINT *OpensslEcPointDup(const EC_POINT *src, const EC_GROUP *group) in OpensslEcPointDup() argument
214 return EC_POINT_dup(src, group); in OpensslEcPointDup()
281 void OpensslEcGroupFree(EC_GROUP *group) in OpensslEcGroupFree() argument
283 if (group != NULL) { in OpensslEcGroupFree()
284 EC_GROUP_free(group); in OpensslEcGroupFree()
304 int OpensslEcKeySetGroup(EC_KEY *key, const EC_GROUP *group) in OpensslEcKeySetGroup() argument
309 return EC_KEY_set_group(key, group); in OpensslEcKeySetGroup()
312 int OpensslEcPointGetAffineCoordinatesGfp(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, in OpensslEcPointGetAffineCoordinatesGfp() argument
318 return EC_POINT_get_affine_coordinates_GFp(group, point, x, y, ctx); in OpensslEcPointGetAffineCoordinatesGfp()
321 int OpensslEcGroupGetDegree(const EC_GROUP *group) in OpensslEcGroupGetDegree() argument
329 OpensslEcGroupGetCurveGfp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) OpensslEcGroupGetCurveGfp() argument
337 OpensslEcGroupGet0Generator(const EC_GROUP *group) OpensslEcGroupGet0Generator() argument
345 OpensslEcGroupGetOrder(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx) OpensslEcGroupGetOrder() argument
353 OpensslEcGroupGetCofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx) OpensslEcGroupGetCofactor() argument
369 OpensslEcPointNew(const EC_GROUP *group) OpensslEcPointNew() argument
385 OpensslEcPointSetAffineCoordinatesGfp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) OpensslEcPointSetAffineCoordinatesGfp() argument
394 OpensslEcGroupSetGenerator(EC_GROUP *group, const EC_POINT *generator, const BIGNUM *order, const BIGNUM *cofactor) OpensslEcGroupSetGenerator() argument
403 OpensslEcGroupSetCurveName(EC_GROUP *group, int nid) OpensslEcGroupSetCurveName() argument
411 OpensslEcGroupGetCurveName(const EC_GROUP *group) OpensslEcGroupGetCurveName() argument
419 OpensslEcPointMul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *gScalar, const EC_POINT *point, const BIGNUM *pScalar, BN_CTX *ctx) OpensslEcPointMul() argument
1943 OpensslEcOct2Point(const EC_GROUP *group, EC_POINT *p, const unsigned char *buf, size_t len, BN_CTX *ctx) OpensslEcOct2Point() argument
1951 OpensslEcPointSetAffineCoordinates(const EC_GROUP *group, EC_POINT *p, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) OpensslEcPointSetAffineCoordinates() argument
1960 OpensslEcPointGetAffineCoordinates(const EC_GROUP *group, const EC_POINT *p, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) OpensslEcPointGetAffineCoordinates() argument
[all...]
/base/startup/init/services/init/standard/
H A Dsystem_call_wrap.c94 int __real_chown(const char *pathname, uid_t owner, gid_t group);
95 int __wrap_chown(const char *pathname, uid_t owner, gid_t group) in __wrap_chown() argument
98 return __real_chown(pathname, owner, group); in __wrap_chown()
102 int ret = __real_chown(pathname, owner, group); in __wrap_chown()
/base/global/i18n/tools/
H A Ddata_process.py35 loc = re.search(loc_pattern, line).group()
36 tz = re.search(tz_pattern, line).group()
74 for group in classes:
76 sgroup = list(group)
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
H A Dsm2_asy_key_generator_openssl.c114 EC_GROUP *group = NULL; in GenerateSm2KeyWithParamsSpec() local
115 ret = GenerateEcGroupWithParamsSpec(ecParams, &group); in GenerateSm2KeyWithParamsSpec()
123 OpensslEcGroupFree(group); in GenerateSm2KeyWithParamsSpec()
126 if (OpensslEcKeySetGroup(ecKey, group) != HCF_OPENSSL_SUCCESS) { in GenerateSm2KeyWithParamsSpec()
128 OpensslEcGroupFree(group); in GenerateSm2KeyWithParamsSpec()
132 OpensslEcGroupFree(group); in GenerateSm2KeyWithParamsSpec()
133 LOGD("Generate EC_KEY by group spec parmas"); in GenerateSm2KeyWithParamsSpec()
605 const EC_GROUP *group = NULL; in GetSm2KeySpecBigInteger() local
607 group = OpensslEcKeyGet0Group(((HcfOpensslSm2PriKey *)self)->ecKey); in GetSm2KeySpecBigInteger()
609 group in GetSm2KeySpecBigInteger()
681 const EC_GROUP *group = NULL; GetSm2KeySpecInt() local
949 const EC_GROUP *group = NULL; GetSm2EckeyformPubKey() local
[all...]
H A Decc_asy_key_generator_openssl.c703 EC_GROUP *group = NULL; in GenerateEcKeyWithParamsSpec() local
704 ret = GenerateEcGroupWithParamsSpec(ecParams, &group); in GenerateEcKeyWithParamsSpec()
712 OpensslEcGroupFree(group); in GenerateEcKeyWithParamsSpec()
715 if (OpensslEcKeySetGroup(ecKey, group) != HCF_OPENSSL_SUCCESS) { in GenerateEcKeyWithParamsSpec()
717 OpensslEcGroupFree(group); in GenerateEcKeyWithParamsSpec()
721 OpensslEcGroupFree(group); in GenerateEcKeyWithParamsSpec()
722 LOGD("generate EC_KEY by group spec parmas"); in GenerateEcKeyWithParamsSpec()
1059 if (OpensslOsslParamBldPushUtf8String(paramBld, "group", groupName, 0) != HCF_OPENSSL_SUCCESS) { in ConvertHcfBlobToOsslParams()
1139 const EC_GROUP *group = OpensslEcKeyGet0Group(ecKey); in GetCompressedEccPointEncoded() local
1140 if (group in GetCompressedEccPointEncoded()
1485 const EC_GROUP *group = NULL; GetEcKeySpecBigInteger() local
1557 const EC_GROUP *group = NULL; GetEcKeySpecInt() local
[all...]
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/
H A Dmemory_filter.h100 void ParseMemoryGroup(const std::string &name, std::string &group, uint64_t iNode);
101 void ParseNativeHeapMemoryGroup(const std::string &name, std::string &group, uint64_t iNode);
120 bool GetGroupFromMap(const std::string &name, std::string &group,
H A Dmemory_util.h44 void CalcGroup(const std::string &group, const std::string &type, const uint64_t &value, GroupMap &infos);
/base/telephony/core_service/utils/vcard/src/
H A Dvcard_raw_data.cpp48 void VCardRawData::AppendGroup(const std::string &group) in AppendGroup() argument
50 groups_.push_back(group); in AppendGroup()
/base/security/selinux_adapter/scripts/
H A Dbuild_contexts.py128 type_hash[match.group(1)].append(line_index)
201 line = match.group(1) + " u:r:" + match.group(5) + ":s0\n"
203 line = match.group(1) + " u:object_r:" + match.group(6) + ":s0\n"
/base/security/device_auth/services/data_manager/src/
H A Ddata_manager.c230 LOGE("[DB]: The group owner is lost!"); in GenerateGroupEntryFromEntry()
299 static bool GenerateGroupEntryFromTlv(TlvGroupElement *group, TrustedGroupEntry *entry) in GenerateGroupEntryFromTlv() argument
301 if (!StringSet(&entry->name, group->name.data)) { in GenerateGroupEntryFromTlv()
305 if (!StringSet(&entry->id, group->id.data)) { in GenerateGroupEntryFromTlv()
309 if (!StringSet(&entry->userId, group->userId.data)) { in GenerateGroupEntryFromTlv()
313 if (!StringSet(&entry->sharedUserId, group->sharedUserId.data)) { in GenerateGroupEntryFromTlv()
317 if (!LoadStringVectorFromParcel(&entry->managers, &group->managers.data)) { in GenerateGroupEntryFromTlv()
321 if (!LoadStringVectorFromParcel(&entry->friends, &group->friends.data)) { in GenerateGroupEntryFromTlv()
325 entry->type = group->type.data; in GenerateGroupEntryFromTlv()
326 entry->visibility = group in GenerateGroupEntryFromTlv()
370 TlvGroupElement *group = NULL; LoadGroups() local
1577 DumpGroup(int fd, const TrustedGroupEntry *group) DumpGroup() argument
[all...]
/base/startup/init/services/begetctl/
H A Dbegetctl_cmd.c117 static void ShowUserInGroup(struct group *data) in ShowUserInGroup()
120 printf("users in this group:"); in ShowUserInGroup()
121 while (data->gr_mem[index]) { // user in this group in ShowUserInGroup()
136 struct group *data = getgrnam(argv[1]); in GetGidByName()
162 {"dac", GetGidByName, "get dac gid by group name", "dac gid groupname", "dac gid"}, in MODULE_CONSTRUCTOR()
/base/hiviewdfx/hidumper/test/scripts/testModule/
H A Dtest_memory.py39 key = re.search(r'\s*([a-zA-Z.]+(?:\s+[a-zA-Z.]+)*)\s*', line).group(1).strip();
82 graph = re.search(r"Graph\((\d+) kB\)", output).group(1)
83 dma = re.search(r"DMA\((\d+) kB\)", output).group(1)
/base/global/i18n/frameworks/intl/entity_recognition/date_time_recognition/src/
H A Drules_engine.cpp115 icu::UnicodeString value = matcher->group(1, status); in InitRules()
159 icu::UnicodeString key = matcher->group(1, status); in InitOptRules()
206 icu::UnicodeString text = matcher->group(0, status); in InitSubRules()
207 icu::UnicodeString value = matcher->group(1, status); in InitSubRules()
/base/telephony/core_service/utils/vcard/include/
H A Dvcard_raw_data.h30 void AppendGroup(const std::string &group);
/base/security/device_auth/test/unittest/deviceauth/source/
H A Ddeviceauth_interface_test.cpp709 IdenticalAccountGroup *group = (IdenticalAccountGroup *)GetIdenticalAccountGroupInstance(); in HWTEST_F() local
710 ASSERT_NE(group, nullptr); in HWTEST_F()
711 int32_t res = group->delMultiMembersFromGroup(DEFAULT_OS_ACCOUNT, nullptr, nullptr); in HWTEST_F()
713 res = group->delMultiMembersFromGroup(DEFAULT_OS_ACCOUNT, TEST_APP_ID, nullptr); in HWTEST_F()
717 res = group->delMultiMembersFromGroup(DEFAULT_OS_ACCOUNT, TEST_APP_ID, jsonParams); in HWTEST_F()
719 res = group->addMultiMembersToGroup(DEFAULT_OS_ACCOUNT, nullptr, nullptr); in HWTEST_F()
721 res = group->addMultiMembersToGroup(DEFAULT_OS_ACCOUNT, TEST_APP_ID, nullptr); in HWTEST_F()
723 res = group->addMultiMembersToGroup(DEFAULT_OS_ACCOUNT, TEST_APP_ID, jsonParams); in HWTEST_F()
725 res = group->base.deleteGroup(DEFAULT_OS_ACCOUNT, nullptr, nullptr); in HWTEST_F()
727 res = group in HWTEST_F()
[all...]
/base/startup/init/services/modules/seccomp/scripts/
H A Dgenerate_code_from_policy.py163 name = k.group(1)
164 nr = eval(mark_pattern.sub(lambda x: str(name_to_nr.get(x.group(0))),
165 k.group(2)))
176 func_name_nr_table[str(s.group(1))] = parse_syscall_file(file_name)
177 if str(s.group(1)) not in func_name_nr_table.keys():
725 def parse_args_with_condition(self, group):
727 atoms = group.split('&&')
733 def parse_sub_group(self, group):
735 group_info = group.split(';')
756 group
[all...]
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/parse/
H A Dparse_smaps_info.h45 void SetMapByNameLine(const std::string &group, const std::string &content);

Completed in 17 milliseconds

12