Searched refs:val (Results 1 – 12 of 12) sorted by relevance
/ide/tools/previewer/util/ |
D | TraceTool.cpp | 66 Json::Value val = GetBaseInfo(); in HandleTrace() local 67 val["action"] = msg; in HandleTrace() 68 SendTraceData(val); in HandleTrace() 86 Json::Value val; in GetBaseInfo() local 87 val["sid"] = "10007"; in GetBaseInfo() 88 val["detail"]["ProjectId"] = CommandParser::GetInstance().GetProjectID(); in GetBaseInfo() 89 val["detail"]["device"] = CommandParser::GetInstance().GetDeviceType(); in GetBaseInfo() 90 val["detail"]["time"] = TimeTool::GetTraceFormatTime(); in GetBaseInfo() 91 return val; in GetBaseInfo()
|
D | JsonReader.cpp | 38 Json::Value val; in ParseJsonData() local 43 return val; in ParseJsonData() 48 return val; in ParseJsonData() 51 if (!reader->parse(jsonStr.data(), jsonStr.data() + jsonStr.size(), &val, &message)) { in ParseJsonData() 54 return val; in ParseJsonData()
|
/ide/tools/previewer/mock/ |
D | SystemCapability.cpp | 58 Json::Value val; in ReadCapability() local 69 if (!reader->parse(jsonStr.data(), jsonStr.data() + jsonStr.size(), &val, &message)) { in ReadCapability() 72 if (val["systemCapability"].empty() || !val["systemCapability"].isArray()) { in ReadCapability() 73 … ELOG("Empty systemCapability json object: %s", val["systemCapability"].toStyledString().c_str()); in ReadCapability() 76 val = val["systemCapability"]; in ReadCapability() 77 for (Json::ValueIterator iter = val.begin(); iter != val.end(); iter++) { in ReadCapability()
|
/ide/tools/previewer/automock/mock-generate/src/generate/ |
D | generateMockJsFile.ts | 106 value.staticMethods.forEach(val => { 107 staticMethodBody += generateStaticFunction(val, true, sourceFile); 119 mockFunctionElements.forEach(val => { 120 mockApi += `${val.elementName}: ${val.elementName},`; 228 value.heritageClauses.forEach(val => { 229 val.types.forEach(v => { 235 value.heritageClauses.forEach(val => { 236 val.types.forEach(v => {
|
D | generateClassDeclaration.ts | 56 value.types.forEach((val, index) => { 58 classBody += `${val},`; 60 classBody += `${val}`;
|
D | generateModuleDeclaration.ts | 65 value.staticMethods.forEach(val => { 66 staticMethodBody += generateStaticFunction(val, true, sourceFile) + '\n'; 136 value.forEach(val => { 137 moduleBody += generateVariableStatementDelcatation(val) + '\n'; 154 value.forEach(val => { 155 sourceFileStatementBody += generateVariableStatementDelcatation(val); 222 value.forEach(val => { 223 innerModuleBody += generateVariableStatementDelcatation(val) + '\n';
|
/ide/tools/previewer/cli/ |
D | CommandLineInterface.cpp | 188 void CommandLineInterface::ApplyConfig(const Json::Value& val) const in ApplyConfig() 191 if (val.isMember(set)) { in ApplyConfig() 192 Json::Value versionMembers = val[set]; in ApplyConfig() 252 Json::Value val = JsonReader::ParseJsonData(jsonStr); in ReadAndApplyConfig() local 253 ApplyConfig(val); in ReadAndApplyConfig()
|
D | CommandLineFactory.cpp | 76 Json::Value val, in CreateCommandLine() argument 93 unique_ptr<CommandLine> cmdLine = typeMap[command](type, val, socket); in CreateCommandLine()
|
D | CommandLineInterface.h | 36 void ApplyConfig(const Json::Value& val) const;
|
D | CommandLine.cpp | 287 float val = args["Power"].asFloat(); in IsSetArgValid() local 288 if (!SharedData<double>::IsValid(SharedDataType::BATTERY_LEVEL, val)) { in IsSetArgValid() 289 ELOG("PowerCommand invalid value: %f", val); in IsSetArgValid()
|
/ide/tools/previewer/mock/rich/ |
D | VirtualScreenImpl.cpp | 138 Json::Value val; in PageCallBack() local 139 CommandLineInterface::GetInstance().CreatCommandToSendData("CurrentRouter", val, "get"); in PageCallBack() 146 Json::Value val; in FastPreviewCallBack() local 147 CommandLineInterface::GetInstance().CreatCommandToSendData("FastPreviewMsg", val, "get"); in FastPreviewCallBack()
|
/ide/tools/previewer/jsapp/lite/ |
D | JsAppImpl.cpp | 277 Json::Value val; in StartJsApp() local 278 val["uri"] = urlPath; in StartJsApp() 279 string routerInfo = val.toStyledString(); in StartJsApp()
|