Home
last modified time | relevance | path

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

/developtools/packing_tool/packing_tool/frameworks/src/json/
H A Ddistro_filter.cpp42 bool PolicyValue::ParseFromJson(std::unique_ptr<PtJson>& root) in ParseFromJson() argument
44 if (!root) { in ParseFromJson()
45 LOGE("Json root is null!"); in ParseFromJson()
48 if (root->Contains(VALUE.c_str())) { in ParseFromJson()
50 if (root->GetArray(VALUE.c_str(), &valuesObj) != Result::SUCCESS) { in ParseFromJson()
58 if (root->Contains(POLICY.c_str())) { in ParseFromJson()
59 if (root->GetString(POLICY.c_str(), &policy) != Result::SUCCESS) { in ParseFromJson()
67 bool PolicyValue::ParseFromJsonApiVersion(std::unique_ptr<PtJson>& root) in ParseFromJsonApiVersion() argument
69 if (!root) { in ParseFromJsonApiVersion()
70 LOGE("Json root i in ParseFromJsonApiVersion()
92 ParseApiVersion(std::unique_ptr<PtJson>& root) ParseApiVersion() argument
112 ParseScreenShape(std::unique_ptr<PtJson>& root) ParseScreenShape() argument
132 ParseScreenDensity(std::unique_ptr<PtJson>& root) ParseScreenDensity() argument
152 ParseScreenWindow(std::unique_ptr<PtJson>& root) ParseScreenWindow() argument
172 ParseCountryCode(std::unique_ptr<PtJson>& root) ParseCountryCode() argument
192 ParseFromJson(std::unique_ptr<PtJson>& root) ParseFromJson() argument
[all...]
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/distro_filter_test/
H A Ddistro_filter_test.cpp144 std::unique_ptr<AppPackingTool::PtJson> root = AppPackingTool::PtJson::Parse(policyValueJsonString); in HWTEST_F() local
146 EXPECT_TRUE(policyValue.ParseFromJson(root)); in HWTEST_F()
159 std::unique_ptr<AppPackingTool::PtJson> root = AppPackingTool::PtJson::Parse(policyValueJsonString2); in HWTEST_F() local
161 EXPECT_TRUE(policyValue.ParseFromJson(root)); in HWTEST_F()
173 std::unique_ptr<AppPackingTool::PtJson> root = nullptr; in HWTEST_F() local
175 EXPECT_FALSE(policyValue.ParseFromJson(root)); in HWTEST_F()
186 std::unique_ptr<AppPackingTool::PtJson> root = nullptr; in HWTEST_F() local
188 EXPECT_FALSE(policyValue.ParseFromJsonApiVersion(root)); in HWTEST_F()
199 std::unique_ptr<AppPackingTool::PtJson> root = AppPackingTool::PtJson::Parse(policyValueJsonString2); in HWTEST_F() local
201 EXPECT_TRUE(policyValue.ParseFromJsonApiVersion(root)); in HWTEST_F()
216 std::unique_ptr<AppPackingTool::PtJson> root = AppPackingTool::PtJson::Parse(distroFilterJsonString); HWTEST_F() local
235 std::unique_ptr<AppPackingTool::PtJson> root = AppPackingTool::PtJson::Parse(distroFilterJsonString2); HWTEST_F() local
256 std::unique_ptr<AppPackingTool::PtJson> root = nullptr; HWTEST_F() local
269 std::unique_ptr<AppPackingTool::PtJson> root = nullptr; HWTEST_F() local
282 std::unique_ptr<AppPackingTool::PtJson> root = nullptr; HWTEST_F() local
295 std::unique_ptr<AppPackingTool::PtJson> root = nullptr; HWTEST_F() local
308 std::unique_ptr<AppPackingTool::PtJson> root = nullptr; HWTEST_F() local
321 std::unique_ptr<AppPackingTool::PtJson> root = nullptr; HWTEST_F() local
[all...]
/developtools/packing_tool/packing_tool/frameworks/include/json/
H A Ddistro_filter.h31 bool ParseFromJson(std::unique_ptr<PtJson>& root);
32 bool ParseFromJsonApiVersion(std::unique_ptr<PtJson>& root);
49 bool ParseFromJson(std::unique_ptr<PtJson>& root);
54 bool ParseApiVersion(std::unique_ptr<PtJson>& root);
55 bool ParseScreenShape(std::unique_ptr<PtJson>& root);
56 bool ParseScreenDensity(std::unique_ptr<PtJson>& root);
57 bool ParseScreenWindow(std::unique_ptr<PtJson>& root);
58 bool ParseCountryCode(std::unique_ptr<PtJson>& root);
/developtools/integration_verification/tools/rom_ram_analyzer/standard/pkgs/
H A Dbasic_tool.py59 for root, _, file_names in os.walk(folder):
62 os.path.join(root, f) if real_path else os.path.join(root, f))) if apply_abs else os.path.relpath(
63 os.path.realpath(os.path.join(root, f) if real_path else os.path.join(root, f))) for f in file_names
64 if p_filter(os.path.join(root, f))])
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/event_formatters/
H A Dftrace_cgroup_event_formatter.cpp47 int len = snprintf_s(buffer, BUFFER_SIZE, BUFFER_SIZE - 1, "cgroup_destroy_root: root=%d ss_mask=%#x name=%s",
48 msg.root(), msg.ss_mask(), msg.name().c_str());
62 int len = snprintf_s(buffer, BUFFER_SIZE, BUFFER_SIZE - 1, "cgroup_freeze: root=%d id=%d level=%d path=%s",
63 msg.root(), msg.id(), msg.level(), msg.path().c_str());
77 int len = snprintf_s(buffer, BUFFER_SIZE, BUFFER_SIZE - 1, "cgroup_mkdir: root=%d id=%d level=%d path=%s",
78 msg.root(), msg.id(), msg.level(), msg.path().c_str());
93 "cgroup_notify_frozen: root=%d id=%d level=%d path=%s val=%d", msg.root(), msg.id(), msg.level(),
109 "cgroup_notify_populated: root=%d id=%d level=%d path=%s val=%d", msg.root(), ms
[all...]
/developtools/ace_js2bundle/ace-loader/plugin/templater/
H A Dindex.js47 rootArray.forEach((root, index) => {
48 if(root.tagName !== 'element') {
84 * Check if the root node is legal.
94 rootArray.forEach(root => {
95 if (root.nodeName !== 'element') {
97 } else if (root.attrs && root.attrs.length) {
98 for (let index = 0; index < root.attrs.length; index++) {
99 const element = root.attrs[index];
111 reason: 'ERROR: need a legal root nod
[all...]
/developtools/hiperf/script/
H A Drecv_binary_cache.py80 for root, _, files in os.walk(lib_dir):
81 self.confirm_copy_file(root, files, file_dict)
92 def confirm_copy_file(self, root, files, file_dict):
98 build_id = get_build_id(os.path.join(root, filename))
106 os.path.join(root, filename), bin_file)
166 # In non-root device, we can't pull /data/app/XXX/base.odex directly.
H A Dhiperf_utils.py226 if not result or 'root' not in out:
240 if 'root' in out:
245 self.run_hdc_cmd(['root'])
249 return result and 'root' in out
281 for root, dirs, files in os.walk(local_lib_dir):
284 self.__append_host_local_lib(os.path.join(root, name),
/developtools/integration_verification/cases/daily/mini_system/
H A DL0_mini_system_test.py35 for root, dirs, files in os.walk(dir_path):
37 sz = os.path.getsize(os.path.join(root, name))
38 print('{} : {}byte'.format(os.path.join(root, name), sz))
H A DL2_mini_system_test.py32 for root, dirs, files in os.walk(dir_path):
34 if not os.path.islink(os.path.join(root, name)):
35 sz = os.path.getsize(os.path.join(root, name))
H A Drk3568_chipset_only_test.py31 for root, dirs, files in os.walk(dir_path):
33 if not os.path.islink(os.path.join(root, name)):
34 sz = os.path.getsize(os.path.join(root, name))
35 #print('{} : {}byte'.format(os.path.join(root, name), sz))
H A DL1_mini_system_test.py34 for root, dirs, files in os.walk(dir_path):
36 sz = os.path.getsize(os.path.join(root, name))
37 print('{} : {}byte'.format(os.path.join(root, name), sz))
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/cfg/
H A Dconfig_parser.py335 root = json.load(content)
337 if not isinstance(root, dict):
338 raise Exception("root type error")
339 if (root.__contains__("services")):
340 self._load_services(root["services"], file_id)
341 if (root.__contains__("jobs")):
342 self._load_jobs(root["jobs"], file_id)
343 if (root.__contains__("import")):
344 self._load_import(root["import"])
457 root
[all...]
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/
H A Delf_walker.py54 for root, subdirs, files in os.walk(os.path.join(self._product_out_path, subdir)):
56 _asset_file = os.path.join(root, _filename)
/developtools/global_resource_tool/src/
H A Dresource_table.cpp151 cJSON *root = cJSON_CreateObject(); in CreateIdDefined() local
155 cJSON_Delete(root); in CreateIdDefined()
158 cJSON_AddItemToObject(root, "record", recordArray); in CreateIdDefined()
162 cJSON_Delete(root); in CreateIdDefined()
168 cJSON_Delete(root); in CreateIdDefined()
180 cJSON_Delete(root); in CreateIdDefined()
188 if (!ResourceUtil::SaveToJsonFile(idDefinedPath_, root)) { in CreateIdDefined()
189 cJSON_Delete(root); in CreateIdDefined()
192 cJSON_Delete(root); in CreateIdDefined()
H A Dresource_util.cpp81 bool ResourceUtil::OpenJsonFile(const string &path, cJSON **root) in OpenJsonFile() argument
90 *root = cJSON_Parse(jsonString.c_str()); in OpenJsonFile()
91 if (!*root) { in OpenJsonFile()
95 cerr << SOLUTIONS_ARROW << "Check the JSON file to make sure the root bracket is {}" << endl; in OpenJsonFile()
103 bool ResourceUtil::SaveToJsonFile(const string &path, const cJSON *root) in SaveToJsonFile() argument
110 char *jsonString = cJSON_Print(root); in SaveToJsonFile()
/developtools/hapsigner/hapsigntool_cpp/cmd/include/
H A Dhelp.h106 -issuer : issuer subject, optional fields, if it is empty, it means root CA;
107 -issuerKeyAlias : issuer key alias, optional fields, if it is empty, it means root CA;
121 generate-ca -keyAlias "oh-root-ca-key-v1" -validity 365 -signAlg SHA384withECDSA -keySize NIST-P-256
123 -keystorePwd ****** -outFile "/home/root-ca.cer" -keyAlg ECC
144 -rootCaCertFile : root CA certificate file, required when outForm is certChain;
159 -signAlg SHA256withECDSA -rootCaCertFile "/home/root-ca.cer" -subCaCertFile "/home/sub-app-sign-srv-ca.cer"
178 -rootCaCertFile : root CA certificate file, required when outForm is certChain;
195 -rootCaCertFile "/home/root-ca.cer" -subCaCertFile "/home/sub-profile-sign-srv-ca.cer" -outForm certChain
205 -profileCertFile : profile signing certificate(certificate chain, the order is three -level -two -root),
288 generate-ca : generate root / subjec
[all...]
/developtools/hdc/hdc_rust/src/daemon_lib/
H A Ddaemon_unity.rs83 async fn set_root_run_enable(session_id: u32, channel_id: u32, root: bool) {
84 let root_flag = if root { "0" } else { "1" };
85 let mode_msg = if root { "sh" } else { "root" };
89 "set_root_run_enable: session_id: {}, channel_id: {}, root: {}, result: {}",
92 root,
96 crate::info!("set_root_run root:{root} free_all_session");
109 "Cannot set root run mode in undebuggable version.",
152 "Operate need running as root",
[all...]
/developtools/global_resource_tool/include/
H A Dresource_util.h69 * @param root: json root node
72 static bool OpenJsonFile(const std::string &path, cJSON **root);
77 * @param root: json root node
80 static bool SaveToJsonFile(const std::string &path, const cJSON *root);
H A Dreference_parser.h47 bool ParseRefJsonImpl(cJSON *root, bool &needSave) const;
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
H A DCertChainUtils.java90 * @param root root cert
95 X509Certificate root, Date signTime) throws VerifyException { in verifyCertChain()
99 trustStore.setCertificateEntry("root", root); in verifyCertChain()
94 verifyCertChain(List<X509Certificate> certificates, X500Principal issuer, BigInteger serial, X509Certificate root, Date signTime) verifyCertChain() argument
/developtools/hapsigner/hapsigntool_cpp_test/unittest/signProfile/
H A Dprofile_test.cpp949 X509* root = sk_X509_pop(certs);
951 X509_free(root);
970 X509* root = sk_X509_pop(certs);
971 X509_free(root);
988 X509* root = sk_X509_pop(certs);
994 sk_X509_insert(certs, root, 0);
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/pt_json_test/
H A Dpt_json_test.cpp238 cJSON*root = cJSON_Parse(a); in HWTEST_F() local
239 cJSON*item = cJSON_GetObjectItem(root, "firstName"); in HWTEST_F()
/developtools/ace_js2bundle/ace-loader/src/
H A DgenAbc-plugin.js452 Please make sure switch to non-root user before runing "npm install" for safity requirements and try re-run "npm install" under ${arkEntryPath}`, reset);
/developtools/profiler/hiebpf/include/
H A Dvmlinux.h1902 struct ctl_table_root *root; member
1911 struct rb_root root; member
2563 struct assoc_array_ptr *root; member
3493 struct anon_vma *root; member
4385 struct cgroup_root *root; member
5356 struct dentry *root; member
5459 struct kernfs_root *root; member
6977 struct cgroup_root *root; member
7943 struct path root; member
12420 void *root; member
17027 struct acpi_pci_root *root; global() member
23123 struct rb_root_cached root; global() member
25787 struct latch_tree_root root; global() member
26209 struct kernfs_root *root; global() member
26244 struct cgroup_root *root; global() member
26287 int root; global() member
26295 int root; global() member
26315 int root; global() member
27267 struct audit_chunk___2 *root; global() member
32512 struct lpm_trie_node *root; global() member
32541 struct rb_root root; global() member
37090 struct rb_root root; global() member
39502 struct mount *root; global() member
39600 struct path root; global() member
39940 struct path root; global() member
45610 struct genradix_root *root; global() member
45743 struct kernfs_root *root; global() member
46224 struct rb_root root; global() member
46268 struct rb_root root; global() member
46283 struct rb_root root; global() member
46796 struct rb_root root; global() member
58208 struct rb_root root; global() member
58653 struct rb_root root; global() member
92786 struct pcie_link_state *root; global() member
111242 char *root; global() member
115291 struct dentry *root; global() member
117369 struct rb_root root; global() member
134438 struct dentry *root; global() member
134446 struct dentry *root; global() member
144145 struct dentry *root; global() member
144181 struct dentry *root; global() member
155592 struct rb_root root; global() member
156396 struct fib6_node *root; global() member
[all...]

Completed in 403 milliseconds