| /third_party/json/docs/examples/ |
| H A D | parse__istream__parser_callback_t.cpp | 4 #include <nlohmann/json.hpp> 6 using json = nlohmann::json; 10 // a JSON text in main() 28 // fill a stream with JSON text 32 // parse and serialize JSON 33 json j_complete = json::parse(ss); 38 json::parser_callback_t cb = [](int depth, json [all...] |
| /third_party/node/deps/npm/docs/content/configuring-npm/ |
| H A D | npm-shrinkwrap-json.md | 2 title: npm-shrinkwrap.json 9 `npm-shrinkwrap.json` is a file created by [`npm 11 `package-lock.json`, with one major caveat: Unlike `package-lock.json`, 12 `npm-shrinkwrap.json` may be included when publishing a package. 14 The recommended use-case for `npm-shrinkwrap.json` is applications deployed 21 If both `package-lock.json` and `npm-shrinkwrap.json` are present in a 22 package root, `npm-shrinkwrap.json` will be preferred over the 23 `package-lock.json` fil [all...] |
| /third_party/typescript/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/ |
| H A D | dependency-source-changes-with-timeout-before-request.js | 1 Info 0 [00:01:00.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:03.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:04.000] Creating configuration project /user/username/projects/myproject/main/tsconfig.json
206 Info 5 [00:01:05.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:06.000] Config: /user/username/projects/myproject/main/tsconfig.json : { 214 "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" [all...] |
| /third_party/typescript/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/ |
| H A D | dependency-dts-changes-with-timeout-before-request.js | 1 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...] |
| H A D | dependency-dtsMap-changes-with-timeout-before-request.js | 1 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...] |
| /third_party/typescript/tests/baselines/reference/ |
| H A D | requireOfJsonFileInJsFile.types | 2 const json0 = require("./json.json");
4 >require("./json.json") : { a: number; }
6 >"./json.json" : "./json.json"
14 const json1 = require("./json.json"); // N [all...] |
| /foundation/arkui/ace_engine/test/component_test/test_cases/components/common/entry/src/main/ets/pages/MyTest/ |
| H A D | AlignRulesTest.ets | 51 assertFalse(JSON.parse(alignRules1).$attrs.alignRules == undefined) 52 assertEqual(JSON.parse(alignRules1) 57 assertEqual(JSON.parse(alignRules1) 62 assertEqual(JSON.parse(alignRules1) 67 assertEqual(JSON.parse(alignRules1) 72 assertEqual(JSON.parse(alignRules1) 77 assertEqual(JSON.parse(alignRules1) 82 assertEqual(JSON.parse(alignRules1) 87 assertEqual(JSON.parse(alignRules1) 92 assertEqual(JSON [all...] |
| H A D | BindContextMenuTest_one.ets | 70 assertFalse(JSON.parse(bindContextMenu1).$attrs.bindContextMenu == undefined) 71 assertEqual(JSON.parse(bindContextMenu1).$attrs.bindContextMenu.responseType, ResponseType.RightClick) 72 assertEqual(JSON.parse(bindContextMenu1) 77 assertEqual(JSON.parse(bindContextMenu1) 82 assertEqual(JSON.parse(bindContextMenu1).$attrs.bindContextMenu.placement, Placement.Left) 83 assertEqual(JSON.parse(bindContextMenu1).$attrs.bindContextMenu.arrowOffset, 100) 84 assertEqual(JSON.parse(bindContextMenu1).$attrs.bindContextMenu.preview, MenuPreviewMode.NONE) 85 assertEqual(JSON.parse(bindContextMenu1) 90 assertTrue(JSON.parse(bindContextMenu1).$attrs.bindContextMenu.enableArrow) 91 assertEqual(JSON [all...] |
| H A D | BorderImageTest_three.ets | 45 assertEqual(JSON.parse(JSON.parse(borderImage1).$attrs.borderImage).width, '10.00px') 46 assertEqual(JSON.parse(JSON.parse(borderImage1).$attrs.borderImage).source, '../../../resources/base/media/2.png') 50 assertEqual(JSON.parse(JSON.parse(borderImage2).$attrs.borderImage).width, '10.00vp') 51 assertEqual(JSON.parse(JSON.parse(borderImage2).$attrs.borderImage).source, 56 assertEqual(JSON.parse(JSON [all...] |
| /third_party/skia/src/ports/skia_ohos/ |
| H A D | HmSymbolConfig_ohos.h | 21 #include <json/json.h> 87 int CheckConfigFile(const char* fname, Json::Value& root); 91 void ParseSymbolAnimations(const Json::Value& root, 93 void ParseSymbolAnimationParas(const Json::Value& root, 95 void ParseSymbolAnimationPara(const Json::Value& root, AnimationPara& animationPara); 96 void ParseSymbolGroupParas(const Json::Value& root, std::vector<std::vector<PiecewiseParameter>>& groupParameters); 97 void ParseSymbolPiecewisePara(const Json::Value& root, PiecewiseParameter& piecewiseParameter); 98 void ParseSymbolCurveArgs(const Json::Value& root, std::map<std::string, float>& curveArgs); 99 void ParseSymbolProperties(const Json [all...] |
| /third_party/typescript/tests/baselines/reference/tsbuild/resolveJsonModule/ |
| H A D | files-containing-json-file.js | 17 //// [/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_withFiles.json [all...] |
| H A D | include-and-files.js | 17 //// [/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_withIncludeAndFiles.json [all...] |
| /foundation/multimedia/av_session/services/session/server/remote/ |
| H A D | json_utils.cpp | 43 int32_t JsonUtils::JsonToVector(json object, std::vector<int32_t>& out) in JsonToVector() 45 CHECK_AND_RETURN_RET_LOG(!object.is_null(), AVSESSION_ERROR, "json object is null"); in JsonToVector() 46 CHECK_AND_RETURN_RET_LOG(object.is_array(), AVSESSION_ERROR, "json object is not array"); in JsonToVector() 47 for (json::iterator it = object.begin(); it != object.end(); ++it) { in JsonToVector() 55 json jsonObject; in GetJsonCapability() 74 bool JsonUtils::IsInt32(const json& jsonObj, const std::string& key) in IsInt32() 84 bool JsonUtils::IsString(const json& jsonObj, const std::string& key) in IsString() 93 bool JsonUtils::IsBool(const json& jsonObj, const std::string& key) in IsBool() 106 json jsonObj = json in GetVectorCapability() [all...] |
| /third_party/typescript/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/ |
| H A D | dependency-dts-not-present.js | 1 Info 0 [00:01:01.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]
196 Info 3 [00:01:04.000] For info: /user/username/projects/myproject/main/main.ts :: Config file name: /user/username/projects/myproject/main/tsconfig.json
197 Info 4 [00:01:05.000] Creating configuration project /user/username/projects/myproject/main/tsconfig.json
198 Info 5 [00:01:06.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file
199 Info 6 [00:01:07.000] Config: /user/username/projects/myproject/main/tsconfig.json : { 206 "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" [all...] |
| H A D | when-projects-are-not-built.js | 1 Info 0 [00:00:35.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]
69 Info 3 [00:00:38.000] For info: /user/username/projects/myproject/main/main.ts :: Config file name: /user/username/projects/myproject/main/tsconfig.json
70 Info 4 [00:00:39.000] Creating configuration project /user/username/projects/myproject/main/tsconfig.json
71 Info 5 [00:00:40.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/main/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/main/tsconfig.json WatchType: Config file
72 Info 6 [00:00:41.000] Config: /user/username/projects/myproject/main/tsconfig.json : { 79 "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" [all...] |
| H A D | dependency-dtsMap-not-present.js | 1 Info 0 [00:01:01.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:04.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:05.000] Creating configuration project /user/username/projects/myproject/main/tsconfig.json
203 Info 5 [00:01:06.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:07.000] Config: /user/username/projects/myproject/main/tsconfig.json : { 211 "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" [all...] |
| H A D | gotoDef-and-rename-locations.js | 1 Info 0 [00:01:00.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:03.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:04.000] Creating configuration project /user/username/projects/myproject/main/tsconfig.json
206 Info 5 [00:01:05.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:06.000] Config: /user/username/projects/myproject/main/tsconfig.json : { 214 "configFilePath": "/user/username/projects/myproject/main/tsconfig.json" [all...] |
| /foundation/distributedhardware/distributed_input/services/source/transport/include/ |
| H A D | distributed_input_source_transport.h | 29 #include "nlohmann/json.hpp" 94 void HandleEventFirst(int32_t sessionId, const nlohmann::json &recMsg); 95 void HandleEventSecond(int32_t sessionId, const nlohmann::json &recMsg); 97 void NotifyResponsePrepareRemoteInput(int32_t sessionId, const nlohmann::json &recMsg); 98 void NotifyResponseUnprepareRemoteInput(int32_t sessionId, const nlohmann::json &recMsg); 99 void NotifyResponseStartRemoteInput(int32_t sessionId, const nlohmann::json &recMsg); 100 void NotifyResponseStopRemoteInput(int32_t sessionId, const nlohmann::json &recMsg); 101 void NotifyResponseStartRemoteInputDhid(int32_t sessionId, const nlohmann::json &recMsg); 102 void NotifyResponseStopRemoteInputDhid(int32_t sessionId, const nlohmann::json &recMsg); 103 void NotifyResponseKeyState(int32_t sessionId, const nlohmann::json [all...] |
| /third_party/node/deps/npm/test/lib/commands/ |
| H A D | pack.js | 12 'package.json': JSON.stringify({ 28 'package.json': JSON.stringify({ 45 'package.json': JSON.stringify({ 57 t.test('should log output as valid json', async t => { 60 'package.json': JSON.stringify({ 65 config: { json [all...] |
| /third_party/typescript/tests/baselines/reference/tsserver/projectErrors/ |
| H A D | configFileDiagnostic-events-contains-the-project-reference-errors.js | 1 Info 0 [00:00:15.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
28 //// [/a/b/tsconfig.json]
31 "references": [{"path":"./no-such-tsconfig.json"}] 42 Info 3 [00:00:18.000] For info: /a/b/app.ts :: Config file name: /a/b/tsconfig.json
43 Info 4 [00:00:19.000] Creating configuration project /a/b/tsconfig.json
44 Info 5 [00:00:20.000] FileWatcher:: Added:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file
46 {"seq":0,"type":"event","event":"projectLoadingStart","body":{"projectName":"/a/b/tsconfig.json","reason":"Creating possible configured project for /a/b/app.ts to open"}}
47 Info 7 [00:00:22.000] Config: /a/b/tsconfig.json : { 52 "configFilePath": "/a/b/tsconfig.json" [all...] |
| /third_party/typescript/tests/baselines/reference/tsserver/watchEnvironment/ |
| H A D | when-watchFile-is-single-watcher-per-file.js | 1 Info 0 [00:00:21.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
12 //// [/user/username/projects/myproject/tsconfig.json]
16 import * as tsconfig from "./tsconfig.json";
39 Info 3 [00:00:24.000] For info: /user/username/projects/myproject/index.ts :: Config file name: /user/username/projects/myproject/tsconfig.json
40 Info 4 [00:00:25.000] Creating configuration project /user/username/projects/myproject/tsconfig.json
41 Info 5 [00:00:26.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file
42 Info 6 [00:00:27.000] Config: /user/username/projects/myproject/tsconfig.json : { 49 "configFilePath": "/user/username/projects/myproject/tsconfig.json" 52 Info 7 [00:00:28.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchTyp [all...] |
| /third_party/typescript/tests/baselines/reference/tsserver/resolutionCache/ |
| H A D | renaming-module-should-restore-the-states-for-configured-projects.js | 1 Info 0 [00:00:13.000] Provided types map file "/a/lib/typesMap.json" doesn't exist
18 //// [/a/b/tsconfig.json]
29 Info 3 [00:00:16.000] For info: /a/b/file1.ts :: Config file name: /a/b/tsconfig.json
30 Info 4 [00:00:17.000] Creating configuration project /a/b/tsconfig.json
31 Info 5 [00:00:18.000] FileWatcher:: Added:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file
32 Info 6 [00:00:19.000] Config: /a/b/tsconfig.json : { 38 "configFilePath": "/a/b/tsconfig.json" 41 Info 7 [00:00:20.000] DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory
42 Info 8 [00:00:21.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchTyp [all...] |
| /foundation/filemanagement/app_file_service/utils/include/b_json/ |
| H A D | b_json_cached_entity.h | 34 #include "json/json.h" 53 * @brief 持久化JSon对象并完成 59 Json::StreamWriterBuilder builder; in Persist() 60 const std::string jsonFileContent = Json::writeString(builder, obj_); in Persist() 61 HILOGD("Try to persist a Json object, whose content reads: %{public}s", jsonFileContent.c_str()); in Persist() 67 * @brief 从文件中重新加载JSon对象 73 Json::CharReaderBuilder builder; in ReloadFromFile() 74 std::unique_ptr<Json::CharReader> const jsonReader(builder.newCharReader()); in ReloadFromFile() 75 Json in ReloadFromFile() [all...] |
| /foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/versioninfomanager/versioninfo/src/ |
| H A D | version_info_test.cpp | 104 cJSON* json = cJSON_CreateObject(); in HWTEST_F() local 105 if (json == nullptr) { in HWTEST_F() 108 cJSON_AddStringToObject(json, DH_ID, "dh_id"); in HWTEST_F() 109 cJSON_AddStringToObject(json, DEV_ID, "dev_id"); in HWTEST_F() 110 cJSON_AddStringToObject(json, DEV_NAME, "dev_name"); in HWTEST_F() 111 cJSON_AddStringToObject(json, DEV_TYPE, "dev_type"); in HWTEST_F() 112 cJSON_AddStringToObject(json, DH_TYPE, "dh_type"); in HWTEST_F() 113 cJSON_AddStringToObject(json, DH_ATTRS, "dh_attrs"); in HWTEST_F() 114 char* cjson = cJSON_PrintUnformatted(json); in HWTEST_F() 116 cJSON_Delete(json); in HWTEST_F() 140 cJSON* json = cJSON_CreateObject(); HWTEST_F() local [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/ |
| H A D | Android.bp | 50 name: "swiftshader_spirv_headers_unified1_spirv.core.grammar.json", 51 srcs: ["include/spirv/unified1/spirv.core.grammar.json"], 55 name: "swiftshader_spirv_headers_unified1_extinst.opencl.std.100.grammar.json", 56 srcs: ["include/spirv/unified1/extinst.opencl.std.100.grammar.json"], 60 name: "swiftshader_spirv_headers_unified1_extinst.glsl.std.450.grammar.json", 61 srcs: ["include/spirv/unified1/extinst.glsl.std.450.grammar.json"], 65 name: "swiftshader_spirv_headers_unified1_extinst.debuginfo.grammar.json", 66 srcs: ["include/spirv/unified1/extinst.debuginfo.grammar.json"], 70 name: "swiftshader_spirv_headers_unified1_extinst.opencl.debuginfo.100.grammar.json", 71 srcs: ["include/spirv/unified1/extinst.opencl.debuginfo.100.grammar.json"], [all...] |