Home
last modified time | relevance | path

Searched refs:parent (Results 1 - 25 of 49) sorted by relevance

12

/base/security/device_auth/frameworks/deviceauth_lite/source/json/
H A Djsonutil.c37 json_pobject get_json_obj(json_pobject parent, const char *field) in get_json_obj() argument
39 return cJSON_GetObjectItem((cJSON *)parent, field); in get_json_obj()
152 void add_item_to_object(json_pobject parent, const char *field, json_pobject obj) in add_item_to_object() argument
154 cJSON_AddItemToObject((cJSON *)parent, field, (cJSON *)obj); in add_item_to_object()
157 json_pobject add_string_to_object(json_pobject parent, const char *field, const char *value) in add_string_to_object() argument
159 return cJSON_AddStringToObject((cJSON *)parent, field, value); in add_string_to_object()
162 json_pobject add_number_to_object(json_pobject parent, const char *field, int32_t value) in add_number_to_object() argument
164 return cJSON_AddNumberToObject((cJSON *)parent, field, value); in add_number_to_object()
167 json_pobject add_bool_to_object(json_pobject parent, const char *field, int32_t value) in add_bool_to_object() argument
170 return cJSON_AddFalseToObject((cJSON *)parent, fiel in add_bool_to_object()
176 add_object_to_object(json_pobject parent, const char *field) add_object_to_object() argument
195 add_array_to_object(json_pobject parent, const char *field) add_array_to_object() argument
[all...]
/base/security/device_auth/frameworks/deviceauth_lite/inc/json/
H A Djsonutil.h27 json_pobject get_json_obj(json_pobject parent, const char *field);
36 void add_item_to_object(json_pobject parent, const char *field, json_pobject obj);
37 json_pobject add_string_to_object(json_pobject parent, const char *field, const char *value);
38 json_pobject add_number_to_object(json_pobject parent, const char *field, int32_t value);
39 json_pobject add_bool_to_object(json_pobject parent, const char *field, int32_t value);
40 json_pobject add_object_to_object(json_pobject parent, const char *field);
45 json_pobject add_array_to_object(json_pobject parent, const char *field);
/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/
H A Djsonutil_test.h30 json_pobject get_json_obj(json_pobject parent, const char *field);
39 void add_item_to_object(json_pobject parent, const char *field, json_pobject obj);
40 json_pobject add_string_to_object(json_pobject parent, const char *field, const char *value);
41 json_pobject add_number_to_object(json_pobject parent, const char *field, int32_t value);
42 json_pobject add_bool_to_object(json_pobject parent, const char *field, int32_t value);
43 json_pobject add_object_to_object(json_pobject parent, const char *field);
48 json_pobject add_array_to_object(json_pobject parent, const char *field);
/base/startup/init/ueventd/
H A Dueventd_device_handler.c247 static int BuildDeviceSymbolLinks(char **links, int linkNum, const char *parent, in BuildDeviceSymbolLinks() argument
261 "/dev/block/platform/%s/by-name/%s", parent, partitionName) == -1) { in BuildDeviceSymbolLinks()
264 if (STRINGEQUAL(parent, bootDevice)) { in BuildDeviceSymbolLinks()
276 INIT_LOGI("%s and %s is not match", parent, bootDevice); in BuildDeviceSymbolLinks()
280 "/dev/block/platform/%s/%s", parent, deviceName) == -1) { in BuildDeviceSymbolLinks()
327 char *parent = dirname(sysPath); in GetBlockDeviceSymbolLinks() local
328 while (parent != NULL && !STRINGEQUAL(parent, "/") && !STRINGEQUAL(parent, ".")) { in GetBlockDeviceSymbolLinks()
330 if (snprintf_s(subsystem, SYSPATH_SIZE, SYSPATH_SIZE - 1, "%s/subsystem", parent) in GetBlockDeviceSymbolLinks()
[all...]
/base/security/device_security_level/services/sa/lite/mini/
H A Ddslm_service_feature.c25 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity);
45 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity) in FEATURE_OnInitialize() argument
49 dslmFeature->parent = parent; in FEATURE_OnInitialize()
H A Ddslm_service.h43 Service *parent; member
/base/security/device_security_level/services/sa/lite/small/
H A Ddslm_service_feature.c24 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity);
46 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity) in FEATURE_OnInitialize() argument
50 dslmFeature->parent = parent; in FEATURE_OnInitialize()
H A Ddslm_service.h44 Service *parent; member
/base/security/permission_lite/services/ipc_auth/src/
H A Dipc_auth_lite.c30 static void OnInitialize(Feature *feature, Service *parent, Identity identity);
60 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument
62 (void)parent; in OnInitialize()
/base/security/permission_lite/services/pms/src/
H A Dpms_inner.c29 static void OnInitialize(Feature *feature, Service *parent, Identity identity);
64 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument
66 (void)parent; in OnInitialize()
H A Dpms_server.c53 static void OnInitialize(Feature *feature, Service *parent, Identity identity);
85 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument
87 (void)parent; in OnInitialize()
/base/msdp/device_status/intention/cooperate/plugin/include/
H A Dcooperate_free.h29 CooperateFree(IStateMachine &parent, IContext *env);
44 Initial(CooperateFree &parent);
50 static void BuildChains(std::shared_ptr<Initial> initial, CooperateFree &parent);
H A Dcooperate_out.h27 CooperateOut(IStateMachine &parent, IContext *env);
37 Initial(CooperateOut &parent);
43 static void BuildChains(std::shared_ptr<Initial> self, CooperateOut &parent);
H A Dcooperate_in.h27 CooperateIn(IStateMachine &parent, IContext *env);
37 Initial(CooperateIn &parent);
43 static void BuildChains(std::shared_ptr<Initial> self, CooperateIn &parent);
70 RelayConfirmation(CooperateIn &parent, std::shared_ptr<ICooperateStep> prev);
H A Di_cooperate_state.h38 ICooperateState(IStateMachine &parent) : parent_(parent) {} in ICooperateState() argument
48 ICooperateStep(ICooperateState &parent, std::shared_ptr<ICooperateStep> prev);
/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dfile_parser.py803 def __init__(self, parent, filename, attrib, name, parent_name, body, comment,
805 if not isinstance(parent, obj_header):
806 raise Exception('Invalid parent object type')
808 self.parent = parent
917 """ Return the parent class name. """
921 """ Return the CAPI structure name for the parent class. """
927 # Every class has a known base class as the top-most parent.
933 cur_cls = self.parent.get_class(self.parent_name)
940 cur_cls = self.parent
[all...]
/base/update/updater/test/unittest/updater_ui_test/view/
H A Dui_component_unittest.cpp137 OHOS::UIViewGroup parent {}; in HWTEST_F()
139 parent.Add(&boxProgress); in HWTEST_F()
145 OHOS::UIViewGroup parent {}; in HWTEST_F()
149 parent.Add(&boxProgress); in HWTEST_F()
150 parent.Add(&labelBtn); in HWTEST_F()
156 OHOS::UIViewGroup parent {}; in HWTEST_F()
160 parent.Add(&boxProgress); in HWTEST_F()
161 parent.Add(&imgView); in HWTEST_F()
169 OHOS::UIViewGroup parent {}; in HWTEST_F()
174 parent in HWTEST_F()
[all...]
/base/powermgr/powermgr_lite/services/src/
H A Dscreen_saver_feature.c33 void OnScreenSaverFeatureInitialize(Feature *feature, Service *parent, Identity identity) in OnScreenSaverFeatureInitialize() argument
35 (void)parent; in OnScreenSaverFeatureInitialize()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/sa_mgr/
H A Dhks_samgr_service_feature.c26 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity);
47 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity) in FEATURE_OnInitialize() argument
54 hksMgrFeature->parent = parent; in FEATURE_OnInitialize()
H A Dhks_samgr_server.h53 Service *parent; member
/base/msdp/device_status/intention/cooperate/plugin/src/
H A Dcooperate_free.cpp29 CooperateFree::CooperateFree(IStateMachine &parent, IContext *env) in CooperateFree() argument
30 : ICooperateState(parent), env_(env) in CooperateFree()
81 CooperateFree::Initial::Initial(CooperateFree &parent) in Initial() argument
82 : ICooperateStep(parent, nullptr), parent_(parent) in Initial()
110 void CooperateFree::Initial::BuildChains(std::shared_ptr<Initial> initial, CooperateFree &parent) in BuildChains() argument
/base/update/updater/services/ui/control/
H A Devent_listener.cpp33 LOG(ERROR) << "view hasn't a parent"; in operator ()()
209 OHOS::UIView *parent = cur->GetParent(); in GetFirstFocusableViewByDir() local
210 if (parent == nullptr || !parent->IsViewGroup()) { in GetFirstFocusableViewByDir()
213 OHOS::UIView *candidate = static_cast<OHOS::UIViewGroup *>(parent)->GetChildrenHead(); in GetFirstFocusableViewByDir()
/base/security/selinux_adapter/framework/policycoreutils/src/
H A Dselinux_restorecon.c179 /* Restorecon the path recursively, using parent directory's label */
196 char parent[PATH_MAX + 1] = { 0x00 }; in RestoreconFromParentDir() local
197 if (realpath(path, realPath) == NULL || realpath(path, parent) == NULL) { in RestoreconFromParentDir()
202 char *parentPath = dirname(parent); in RestoreconFromParentDir()
205 selinux_log(SELINUX_ERROR, "Get parent dir secontext failed: %s, errno: %s\n", parentPath, strerror(errno)); in RestoreconFromParentDir()
/base/update/packaging_tools/
H A Dgigraph_process.py95 each_action.parent[each_intersection] = size
138 each_before.parent.pop(each_action)
139 each_action.parent[each_before] = None
/base/msdp/device_status/intention/ipc/tunnel/src/
H A Dtunnel_client.cpp374 TunnelClient::DeathRecipient::DeathRecipient(std::shared_ptr<TunnelClient> parent) in DeathRecipient() argument
375 : parent_(parent) in DeathRecipient()
381 std::shared_ptr<TunnelClient> parent = parent_.lock(); in OnRemoteDied() local
382 CHKPV(parent); in OnRemoteDied()
384 parent->ResetProxy(remote); in OnRemoteDied()

Completed in 9 milliseconds

12