Home
last modified time | relevance | path

Searched full:json (Results 826 - 850 of 23080) sorted by relevance

1...<<31323334353637383940>>...924

/test/xts/acts/ability/ability_runtime/stage/actswindowstagelifecyclemultihaptest/entry/src/ohosTest/ets/test/
H A DLifecycleTest.ets81 console.info(TAG + ' subscribeCallBack. Data: ' + JSON.stringify(data));
146 console.log("LifeCycleTest terminateSelfwithresult para: " + JSON.stringify(para));
149 console.log("LifeCycleTest terminateSelfwithresult successful data: " + JSON.stringify(data));
151 console.log("LifeCycleTest terminateSelfwithresult error: " + JSON.stringify(error));
181 console.log(TAG + ": Hap2MainAbility3 startAbility success, err: " + JSON.stringify(error) +
182 ",data: " + JSON.stringify(data));
187 let listTemp = JSON.stringify(globalThis.mainAbility4ListKey);
196 console.log(TAG + ": unregisterAbilityLifecycleCallback success, err: " + JSON.stringify(error) +
197 ",data: " + JSON.stringify(data));
208 console.log(TAG + ": MainAbility4 startAbility success, err: " + JSON
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/
H A Ddependency-dts-deleted.js1 Info 0 [00:01:03.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
20 //// [/user/username/projects/myproject/dependency/tsconfig.json]
39 //// [/user/username/projects/myproject/main/tsconfig.json]
58 //// [/user/username/projects/myproject/random/tsconfig.json]
204 Info 3 [00:01:06.000] For info: /user/username/projects/myproject/main/main.ts :: Config file name: /user/username/projects/myproject/main/tsconfig.json
205 Info 4 [00:01:07.000] Creating configuration project /user/username/projects/myproject/main/tsconfig.json
206 Info 5 [00:01:08.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file
207 Info 6 [00:01:09.000] Config: /user/username/projects/myproject/main/tsconfig.json : {
215 "configFilePath": "/user/username/projects/myproject/main/tsconfig.json"
[all...]
/foundation/arkui/ace_engine/test/component_test/test_cases/components/common/entry/src/main/ets/pages/MyTest/
H A DBorderImageTest_one.ets60 assertEqual(JSON.parse(JSON.parse(borderImage1).$attrs.borderImage).outset, '10.00px')
61 assertEqual(JSON.parse(JSON.parse(borderImage1).$attrs.borderImage).repeat, 'RepeatMode.Repeat')
62 assertTrue(JSON.parse(JSON.parse(borderImage1).$attrs.borderImage).fill)
66 assertEqual(JSON.parse(JSON.parse(borderImage2).$attrs.borderImage).outset, '10.00vp')
67 assertEqual(JSON.parse(JSON
[all...]
/foundation/distributeddatamgr/pasteboard/framework/framework/serializable/
H A Dserializable.cpp21 json jsonObj = cJSON_Parse(jsonStr.c_str()); in Unmarshall()
32 json node; in Marshall()
43 bool Serializable::GetValue(const json node, const std::string &name, std::string &value) in GetValue()
53 bool Serializable::GetValue(const json node, const std::string &name, uint8_t &value) in GetValue()
58 bool Serializable::GetValue(const json node, const std::string &name, uint16_t &value) in GetValue()
63 bool Serializable::GetValue(const json node, const std::string &name, uint32_t &value) in GetValue()
68 bool Serializable::GetValue(const json node, const std::string &name, uint64_t &value) in GetValue()
73 bool Serializable::GetValue(const json node, const std::string &name, int32_t &value) in GetValue()
78 bool Serializable::GetValue(const json node, const std::string &name, int64_t &value) in GetValue()
83 bool Serializable::GetValue(const json nod
[all...]
/test/xts/acts/ability/ability_runtime/stage/actslifecyclesinglehaptest/entry/src/ohosTest/ets/MainAbility3/
H A DMainAbility3.ts23 console.log("[Demo] MainAbility3 context: " + JSON.stringify(this.context));
28 + JSON.stringify(ability));
31 + JSON.stringify(abilityname));
34 console.log("[Demo] 1listKey3:" + JSON.stringify(listKey3));
38 + JSON.stringify(ability));
41 + JSON.stringify(abilityname));
44 console.log("[Demo] 2listKey3:" + JSON.stringify(listKey3));
56 + JSON.stringify(ability));
59 + JSON.stringify(abilityname));
62 console.log("[Demo] 3listKey3:" + JSON
[all...]
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/
H A Dweb.test.ets30 console.info("get web state success " + JSON.stringify(pages));
32 console.info("get web state success " + JSON.stringify(pages.name));
35 console.info("push web page success " + JSON.stringify(result));
57 let obj: Record<string, Object> = JSON.parse(strJson);
59 expect(JSON.parse(strJson).$attrs.height).assertEqual("500.00vp");
60 console.info("[testwebGetTitle0001] height value :" + JSON.parse(strJson).$attrs.height);
69 let obj: Record<string, Object> = JSON.parse(strJson);
71 expect(JSON.parse(strJson).$attrs.fileAccess).assertEqual(undefined);
72 console.info("[testwebGetTitle0002] fileAccess value :" + JSON.parse(strJson).$attrs.fileAccess);
81 let obj: Record<string, Object> = JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_noui/ace_ets_module_global/ace_ets_module_global_api11/entry/src/main/ets/test/webTest/
H A Dweb2.test.ets30 console.info("get web state success " + JSON.stringify(pages));
32 console.info("get web state success " + JSON.stringify(pages.name));
35 console.info("push web page success " + JSON.stringify(result));
57 let obj: Record<string, Object> = JSON.parse(strJson);
59 expect(JSON.parse(strJson).$attrs.height).assertEqual("500.00vp");
60 console.info("[testwebGetTitle0001] height value :" + JSON.parse(strJson).$attrs.height);
69 let obj: Record<string, Object> = JSON.parse(strJson);
71 expect(JSON.parse(strJson).$attrs.fileAccess).assertEqual(undefined);
72 console.info("[testwebGetTitle0002] fileAccess value :" + JSON.parse(strJson).$attrs.fileAccess);
81 let obj: Record<string, Object> = JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_platform/ace_ets_module_platform_api11/entry/src/main/ets/test/video/
H A DVideoJsunit2.test.ets33 console.info("get video state pages:" + JSON.stringify(pages));
35 console.info("get video state pages.name:" + JSON.stringify(pages.name));
38 console.info("push video page result:" + JSON.stringify(result));
55 expect(JSON.parse(strJsonNew).$type).assertEqual('Video');
75 console.log("[testVideo02] change component data error: " + JSON.stringify((err as BusinessError)?.message));
79 console.info("[testVideo02] component JSON.parse(strJsonNew) is: " + JSON.stringify(JSON.parse(strJsonNew)));
99 console.log("[testVideo03] change component data error: " + JSON.stringify((err as BusinessError)?.message));
103 console.info("[testVideo03] component JSON
[all...]
/third_party/typescript/tests/baselines/reference/tsbuild/resolveJsonModule/
H A Dinclude-of-json-along-with-other-include-and-file-name-matches-ts-file.js17 //// [/src/src/index.json]
21 import hello from "./index.json"
25 //// [/src/tsconfig_withFiles.json]
38 "src/index.ts", "src/hello.json"
42 //// [/src/tsconfig_withInclude.json]
59 //// [/src/tsconfig_withIncludeAndFiles.json]
72 "src/hello.json"
79 //// [/src/tsconfig_withIncludeOfJson.json]
92 "src/**/*", "src/**/*.json"
99 /lib/tsc --b /src/tsconfig_withIncludeOfJson.json
[all...]
H A Dinclude-of-json-along-with-other-include.js17 //// [/src/src/hello.json]
23 import hello from "./hello.json"
27 //// [/src/tsconfig_withFiles.json]
40 "src/index.ts", "src/hello.json"
44 //// [/src/tsconfig_withInclude.json]
61 //// [/src/tsconfig_withIncludeAndFiles.json]
74 "src/hello.json"
81 //// [/src/tsconfig_withIncludeOfJson.json]
94 "src/**/*", "src/**/*.json"
101 /lib/tsc --b /src/tsconfig_withIncludeOfJson.json
[all...]
/third_party/typescript/src/testRunner/unittests/tsbuild/
H A DjavascriptProjectEmit.ts14 "/src/common/tsconfig.json": Utils.dedent`
16 "extends": "../tsconfig.base.json",
29 "/src/sub-project/tsconfig.json": Utils.dedent`
31 "extends": "../tsconfig.base.json",
54 "/src/sub-project-2/tsconfig.json": Utils.dedent`
56 "extends": "../tsconfig.base.json",
65 "/src/tsconfig.json": Utils.dedent`
76 "/src/tsconfig.base.json": Utils.dedent`
101 "/src/common/tsconfig.json": Utils.dedent`
103 "extends": "../tsconfig.base.json",
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_imageText/ace_ets_module_imageText_api11/entry/src/main/ets/test/TextTimerTest/
H A DTextTimerJsunit.test.ets32 console.info("get TextTimer state pages: " + JSON.stringify(pages));
34 console.info("get TextTimer state pages.name: " + JSON.stringify(pages.name));
36 console.info("push TextTimer page result: " + JSON.stringify(result));
50 let obj: ESObject = JSON.parse(strJson);
51 console.info("[TextTimerJsunit_0100] component obj is: " + JSON.stringify(obj));
52 console.info("[TextTimerJsunit_0100] isCountDown: " + JSON.stringify(obj.$attrs.isCountDown));
53 console.info("[TextTimerJsunit_0100] count: " + JSON.stringify(obj.$attrs.count));
54 console.info("[TextTimerJsunit_0100] format: " + JSON.stringify(obj.$attrs.format));
62 let obj1: ESObject = JSON.parse(strJson1);
63 console.info("[TextTimerJsunit_0100] component obj1 is: " + JSON
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_picker/ace_ets_module_picker_api11/entry/src/main/ets/test/RatingTest/
H A DRating3Jsunit.test.ets29 console.info("get rating state success " + JSON.stringify(pages));
31 console.info("get rating state success " + JSON.stringify(pages.name));
34 console.info("push rating page success " + JSON.stringify(result));
68 console.info("testRating_100 component JSON.parse(strJson) is: " + JSON.stringify(JSON.parse(strJson)));
69 expect(JSON.parse(strJson).$attrs.rating).assertEqual("2.000000");
79 console.info("testRating_200 component JSON.parse(strJson) is: " + JSON.stringify(JSON
[all...]
/third_party/node/deps/npm/test/lib/commands/
H A Dinit.js14 ...(initPackageJson ? { 'init-package-json': initPackageJson } : {}),
17 // init-package-json prints directly to console.log
43 const pkg = require(resolve(prefix, 'package.json'))
56 'should start init package.json in expected path'
263 'package.json': JSON.stringify({
273 const pkg = require(resolve(prefix, 'a/package.json'))
280 const lock = require(resolve(prefix, 'package-lock.json'))
289 'package.json': JSON
[all...]
/third_party/json/docs/mkdocs/docs/features/
H A Dbinary_values.md3 The library implements several [binary formats](binary_formats/index.md) that encode JSON in an efficient way. Most of
7 JSON itself does not have a binary value. As such, binary values are an extension that this library implements to store
8 values received by a binary format. Binary values are never created by the JSON parser, and are only part of a
9 serialized JSON text if they have been created manually or via a binary format.
14 class json::binary_t {
23 "std::vector<uint8_t>" <|-- json::binary_t
28 `json::binary_t`:
31 auto binary = json::binary_t({0xCA, 0xFE, 0xBA, 0xBE});
32 auto binary_with_subtype = json::binary_t({0xCA, 0xFE, 0xBA, 0xBE}, 42);
50 As `json
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/
H A Dwhen-dependency-project-is-not-open-and-save-on-usage.js1 Info 0 [00:00:29.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
17 //// [/user/username/projects/myproject/dependency/tsconfig.json]
29 //// [/user/username/projects/myproject/usage/tsconfig.json]
53 Info 3 [00:00:32.000] For info: /user/username/projects/myproject/usage/usage.ts :: Config file name: /user/username/projects/myproject/usage/tsconfig.json
54 Info 4 [00:00:33.000] Creating configuration project /user/username/projects/myproject/usage/tsconfig.json
55 Info 5 [00:00:34.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file
56 Info 6 [00:00:35.000] Config: /user/username/projects/myproject/usage/tsconfig.json : {
61 "configFilePath": "/user/username/projects/myproject/usage/tsconfig.json"
70 Info 7 [00:00:36.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchTyp
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectReferenceErrors/
H A Dwith-non-module-when-dependency-project-is-not-open-getErr.js1 Info 0 [00:00:29.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
20 //// [/user/username/projects/myproject/dependency/tsconfig.json]
29 //// [/user/username/projects/myproject/usage/tsconfig.json]
53 Info 3 [00:00:32.000] For info: /user/username/projects/myproject/usage/usage.ts :: Config file name: /user/username/projects/myproject/usage/tsconfig.json
54 Info 4 [00:00:33.000] Creating configuration project /user/username/projects/myproject/usage/tsconfig.json
55 Info 5 [00:00:34.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/usage/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Config file
57 {"seq":0,"type":"event","event":"projectLoadingStart","body":{"projectName":"/user/username/projects/myproject/usage/tsconfig.json","reason":"Creating possible configured project for /user/username/projects/myproject/usage/usage.ts to open"}}
58 Info 7 [00:00:36.000] Config: /user/username/projects/myproject/usage/tsconfig.json : {
65 "configFilePath": "/user/username/projects/myproject/usage/tsconfig.json"
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectsWithReferences/
H A Dtransitive-references-with-non-local-edit.js1 Info 0 [00:00:39.000] Provided types map file "/typesMap.json" doesn't exist
16 //// [/user/username/projects/myproject/a/tsconfig.json]
19 //// [/user/username/projects/myproject/b/tsconfig.json]
22 //// [/user/username/projects/myproject/c/tsconfig.json]
50 Info 2 [00:00:41.000] For info: /user/username/projects/myproject/c/index.ts :: Config file name: /user/username/projects/myproject/c/tsconfig.json
51 Info 3 [00:00:42.000] Creating configuration project /user/username/projects/myproject/c/tsconfig.json
52 Info 4 [00:00:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/c/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/c/tsconfig.json WatchType: Config file
53 Info 5 [00:00:44.000] Config: /user/username/projects/myproject/c/tsconfig.json : {
65 "configFilePath": "/user/username/projects/myproject/c/tsconfig.json"
[all...]
/test/xts/acts/account/appaccount/actsaccountoperatetest/entry/src/ohosTest/js/test/
H A DAuthToken.test.js45 console.info("====>ActsAccountAuthToken_9100 createAccount err:" + JSON.stringify(err));
48 console.info("====>ActsAccountAuthToken_9100 setAuthToken err:" + JSON.stringify(err));
51 console.info("====>ActsAccountAuthToken_9100 setAuthToken err:" + JSON.stringify(err));
54 console.info("====>ActsAccountAuthToken_9100 setAuthTokenVisibility err:" + JSON.stringify(err));
57 console.info("====>ActsAccountAuthToken_9100 setAuthToken err:" + JSON.stringify(err));
60 console.info("====>ActsAccountAuthToken_9100 getAllAuthTokens err:" + JSON.stringify(err));
61 console.info("====>ActsAccountAuthToken_9100 getAllAuthTokens ArrayData:" + JSON.stringify(ArrayData));
65 console.info("====>ActsAccountAuthToken_9100 deleteAuthToken err:" + JSON.stringify(err));
68 console.info("====>ActsAccountAuthToken_9100 getAllAuthTokens err:" + JSON.stringify(err));
69 console.info("====>ActsAccountAuthToken_9100 getAllAuthTokens ArrayData:" + JSON
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/
H A Ddependency-dtsMap-created.js1 Info 0 [00:01:04.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
20 //// [/user/username/projects/myproject/dependency/tsconfig.json]
39 //// [/user/username/projects/myproject/main/tsconfig.json]
58 //// [/user/username/projects/myproject/random/tsconfig.json]
201 Info 3 [00:01:07.000] For info: /user/username/projects/myproject/main/main.ts :: Config file name: /user/username/projects/myproject/main/tsconfig.json
202 Info 4 [00:01:08.000] Creating configuration project /user/username/projects/myproject/main/tsconfig.json
203 Info 5 [00:01:09.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file
204 Info 6 [00:01:10.000] Config: /user/username/projects/myproject/main/tsconfig.json : {
211 "configFilePath": "/user/username/projects/myproject/main/tsconfig.json"
[all...]
H A Ddependency-dts-deleted.js1 Info 0 [00:01:03.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
20 //// [/user/username/projects/myproject/dependency/tsconfig.json]
39 //// [/user/username/projects/myproject/main/tsconfig.json]
58 //// [/user/username/projects/myproject/random/tsconfig.json]
204 Info 3 [00:01:06.000] For info: /user/username/projects/myproject/main/main.ts :: Config file name: /user/username/projects/myproject/main/tsconfig.json
205 Info 4 [00:01:07.000] Creating configuration project /user/username/projects/myproject/main/tsconfig.json
206 Info 5 [00:01:08.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file
207 Info 6 [00:01:09.000] Config: /user/username/projects/myproject/main/tsconfig.json : {
214 "configFilePath": "/user/username/projects/myproject/main/tsconfig.json"
[all...]
/third_party/json/docs/examples/
H A Djson_pointer__to_string.cpp2 #include <nlohmann/json.hpp>
4 using json = nlohmann::json;
8 // different JSON Pointers in main()
9 json::json_pointer ptr1(""); in main()
10 json::json_pointer ptr2("/foo"); in main()
11 json::json_pointer ptr3("/foo/0"); in main()
12 json::json_pointer ptr4("/"); in main()
13 json::json_pointer ptr5("/a~1b"); in main()
14 json in main()
[all...]
/third_party/typescript/tests/baselines/reference/tsserver/projectReferences/
H A Dnew-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js1 Info 0 [00:00:33.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
12 //// [/user/username/projects/myproject/projects/project1/tsconfig.json]
21 //// [/user/username/projects/myproject/projects/project2/tsconfig.json]
48 Info 3 [00:00:36.000] For info: /user/username/projects/myproject/projects/project2/class2.ts :: Config file name: /user/username/projects/myproject/projects/project2/tsconfig.json
49 Info 4 [00:00:37.000] Creating configuration project /user/username/projects/myproject/projects/project2/tsconfig.json
50 Info 5 [00:00:38.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Config file
51 Info 6 [00:00:39.000] Config: /user/username/projects/myproject/projects/project2/tsconfig.json : {
59 "configFilePath": "/user/username/projects/myproject/projects/project2/tsconfig.json"
68 Info 7 [00:00:40.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project2 1 undefined Config: /user/username/projects/myproject/projects/project2/tsconfig.json WatchTyp
[all...]
/foundation/communication/netmanager_ext/services/wearabledistributednetmanager/src/
H A Dwearable_distributed_net_link_info.cpp81 bool WearableDistributedNetLinkInfo::ParseDnsLists(const cJSON &json) in ParseDnsLists() argument
83 cJSON *dnsListsFirst = cJSON_GetObjectItemCaseSensitive(&json, DNSLISTS_FIRST.c_str()); in ParseDnsLists()
84 cJSON *dnsListsSecond = cJSON_GetObjectItemCaseSensitive(&json, DNSLISTS_SECOND.c_str()); in ParseDnsLists()
94 bool WearableDistributedNetLinkInfo::ParseIfaceName(const cJSON &json) in ParseIfaceName() argument
96 cJSON *ifaceNameItem = cJSON_GetObjectItemCaseSensitive(&json, IFACENAME.c_str()); in ParseIfaceName()
105 bool WearableDistributedNetLinkInfo::ParseDefaultNetMask(const cJSON &json) in ParseDefaultNetMask() argument
107 cJSON *defaultNetmaskItem = cJSON_GetObjectItemCaseSensitive(&json, DEFAULT_NET_MASK.c_str()); in ParseDefaultNetMask()
116 bool WearableDistributedNetLinkInfo::ParseNetIfaceAddress(const cJSON &json) in ParseNetIfaceAddress() argument
118 cJSON *networkInterfaceAddressItem = cJSON_GetObjectItemCaseSensitive(&json, NET_IFACE_ADDRESS.c_str()); in ParseNetIfaceAddress()
127 bool WearableDistributedNetLinkInfo::ParseIpv4DeRouteAddr(const cJSON &json) in ParseIpv4DeRouteAddr() argument
138 ParseDummyAddress(const cJSON &json) ParseDummyAddress() argument
149 ParseIpv4AddrNetMask(const cJSON &json) ParseIpv4AddrNetMask() argument
160 ParseRouteDestinationAddr(const cJSON &json) ParseRouteDestinationAddr() argument
188 ReadNetlinkinfoInterfaces(const cJSON &json) ReadNetlinkinfoInterfaces() argument
232 cJSON *json = cJSON_Parse(jsonStr.c_str()); ReadSystemNetlinkinfoConfiguration() local
[all...]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_layout/ace_ets_module_layout_api11/entry/src/main/ets/test/Stack/
H A DStackJsunit.test.ets41 console.info("get Stack state success " + JSON.stringify(pages));
43 console.info("get Stack state success " + JSON.stringify(pages.name));
45 console.info("push Stack page success " + JSON.stringify(result));
48 console.error("push Stack page error " + JSON.stringify(err));
66 let obj: ESObject = JSON.parse(strJson);
67 console.info("cd stack component obj is: " + JSON.stringify(obj));
68 console.log("cd stack type" + JSON.stringify(obj.$type));
69 console.log("cd stack alignContent" + JSON.stringify(obj.$attrs.alignContent));
83 let obj: ESObject = JSON.parse(strJson);
84 console.info("cd stack1 component obj is: " + JSON
[all...]

Completed in 31 milliseconds

1...<<31323334353637383940>>...924