/developtools/integration_verification/tools/fotff/res/ |
H A D | res.go | 16 package res 42 var res Resources var 45 utils.ParseFromConfigFile("resources", &res) 46 snList := strings.Split(res.DeviceSnList, ",") 47 addrList := strings.Split(res.AddrList, ",") 48 res.devicePool = make(chan string, len(snList)) 50 res.devicePool <- sn 52 res.serverPool = make(chan string, len(addrList)) 54 res.serverPool <- addr 66 res [all...] |
/developtools/hdc/scripts/ |
H A D | hdc_test.py | 140 def command_callback(cmd, head, need_del, res=""): 144 assert "FileTransfer finish" in res 148 assert "FileTransfer finish" in res 151 check_install(head, res) 169 res = run_command_stdout("{}{}{}{}{}".format("shell \"[ ", file_type, " ", remote_file, 171 assert 'yes' in res 179 print("check_file_send success ", res) 191 res = run_command_stdout("{}{}{}".format("attrib ", local_file, "")) 194 assert '-' not in res 199 print("check_file_recv success ", res) [all...] |
/developtools/smartperf_host/trace_streamer/test/unittest/interface/ |
H A D | rpc_server_test.cpp | 37 void res(const std::string result, int32_t finish) in res() function 55 auto ret = rpcServer.ParseData((const uint8_t *)PARSERDATA.c_str(), PARSERDATA.length(), res, 0); in HWTEST_F() 56 EXPECT_TRUE(res); in HWTEST_F() 58 ret = rpcServer.ParseDataOver((const uint8_t *)PARSERDATA.c_str(), PARSERDATA.length(), res); in HWTEST_F() 59 EXPECT_TRUE(res); in HWTEST_F() 61 ret = rpcServer.SqlQuery((const uint8_t *)SQLQUERY.c_str(), SQLQUERY.length(), res); in HWTEST_F() 62 EXPECT_TRUE(res); in HWTEST_F() 78 auto ret = rpcServer.ParseData((const uint8_t *)PARSERDATA.c_str(), PARSERDATA.length(), res, 0); in HWTEST_F() 79 EXPECT_TRUE(res); in HWTEST_F() 81 ret = rpcServer.ParseDataOver((const uint8_t *)PARSERDATA.c_str(), PARSERDATA.length(), res); in HWTEST_F() 114 auto res = rpcServer.ts_->traceDataCache_->GetConstTaskPoolData().prioritys_[0]; HWTEST_F() local [all...] |
/developtools/ace_js2bundle/ace-loader/plugin/templater/ |
H A D | data.js | 34 const res = [] 42 getValue(next, start, v, res) 43 parseValue(match, res) 46 getValue(next, v.length, v, res) 47 return res 50 function getValue(begin, end, v, res) { 52 res.push({ 58 function parseValue(match, res) { 61 res.push({
|
/developtools/packing_tool/packing_tool/frameworks/test/unittest/fast_app_packager_test/ |
H A D | fast_app_packager_test.cpp | 103 auto res = fastAppackager.IsVerifyValid(); in HWTEST_F() local 104 EXPECT_FALSE(res); in HWTEST_F() 119 auto res = fastAppackager.IsHapPathValid(formatPathList); in HWTEST_F() local 120 EXPECT_FALSE(res); in HWTEST_F() 135 auto res = fastAppackager.IsHspPathValid(formatPathList, resultReceiver); in HWTEST_F() local 136 EXPECT_FALSE(res); in HWTEST_F() 152 auto res = fastAppackager.ModuleJsonAndPackInfoExists(hapPathList, hspPathList); in HWTEST_F() local 153 EXPECT_FALSE(res); in HWTEST_F() 169 auto res = fastAppackager.ModuleJsonAndPackInfoExists(hapPathList, hspPathList); in HWTEST_F() local 170 EXPECT_FALSE(res); in HWTEST_F() 187 auto res = fastAppackager.ModuleJsonAndPackInfoExists(hapPathList, hspPathList); HWTEST_F() local 206 auto res = fastAppackager.ModuleJsonAndPackInfoExists(hapPathList, hspPathList); HWTEST_F() local 224 auto res = fastAppackager.CheckBundleTypeConsistency(hapPathList, hspPathList); HWTEST_F() local 239 auto res = fastAppackager.GetBundleTypeFromPath(OUT_PATH); HWTEST_F() local 256 auto res = fastAppackager.GetModuleJsonContentFromPath(path); HWTEST_F() local 273 auto res = fastAppackager.GetModuleJsonContentFromPath(path); HWTEST_F() local 290 auto res = fastAppackager.GetModuleJsonContentFromPath(path); HWTEST_F() local 308 auto res = fastAppackager.IsPackInfoValid(path, hapPathList, hspPathList); HWTEST_F() local 326 auto res = fastAppackager.IsPackInfoValid(path, hapPathList, hspPathList); HWTEST_F() local 345 auto res = fastAppackager.IsPackInfoPathListValid(pathList, packages, allPackageSet); HWTEST_F() local 364 auto res = fastAppackager.IsPackInfoPathListValid(pathList, packages, allPackageSet); HWTEST_F() local 386 auto res = fastAppackager.IsPackInfoPathListValid(pathList, packages, allPackageSet); HWTEST_F() local 404 auto res = fastAppackager.GetPackageNameFromPath(path, packageNameList); HWTEST_F() local 421 auto res = fastAppackager.GetPackInfoContentFromPath(path); HWTEST_F() local 438 auto res = fastAppackager.GetPackInfoContentFromPath(path); HWTEST_F() local 455 auto res = fastAppackager.CompressFastAppMode(); HWTEST_F() local 472 auto res = fastAppackager.CheckHapAndPackFastApp(fileList, tmpDir); HWTEST_F() local 489 auto res = fastAppackager.Pack(tmpDir, fileList); HWTEST_F() local 507 auto res = fastAppackager.Pack(inputPath, appPackInfo, outPath, path); HWTEST_F() local 527 auto res = fastAppackager.Pack(inputPath, appPackInfo, outPath, path); HWTEST_F() local 549 auto res = fastAppackager.Pack(inputPath, appPackInfo, outPath, path); HWTEST_F() local 569 auto res = fastAppackager.PackDir(inputPath, appPackInfo, outPath, path); HWTEST_F() local 585 auto res = fastAppackager.PackFastApp(fileList); HWTEST_F() local 601 auto res = fastAppackager.AddHapListToApp(fileList); HWTEST_F() local 618 auto res = fastAppackager.AddSignatureAndCertificateToApp(); HWTEST_F() local 636 auto res = fastAppackager.packMultiThread(inputPath, appPackInfo, outHap, path); HWTEST_F() local 654 auto res = fastAppackager.packSingleThread(inputPath, appPackInfo, outHap, path); HWTEST_F() local 672 auto res = fastAppackager.packSingleThread(inputPath, appPackInfo, outHap, path); HWTEST_F() local 693 auto res = fastAppackager.packSingleThread(inputPath, appPackInfo, outHap, path); HWTEST_F() local 711 auto res = fastAppackager.AddOtherFileToZip(entry); HWTEST_F() local 729 auto res = fastAppackager.AddOtherFileToZip(entry); HWTEST_F() local 747 auto res = fastAppackager.AddOtherFileToZip(entry); HWTEST_F() local 765 auto res = fastAppackager.AddOtherFileToZip(entry); HWTEST_F() local 992 auto res = fastAppackager.IsHapPathValid(formatPathList); HWTEST_F() local 1020 auto res = fastAppackager.ModuleJsonAndPackInfoExists(hapPathList, hspPathList); HWTEST_F() local 1039 auto res = fastAppackager.CheckBundleTypeConsistency(List1, List2); HWTEST_F() local [all...] |
/developtools/smartperf_host/trace_streamer/test/unittest/filter/ |
H A D | frame_filter_test.cpp | 69 auto res = streamFilters_.frameFilter_->EndVsyncEvent(END_TS, ITID); in HWTEST_F() local 70 EXPECT_FALSE(res); in HWTEST_F() 94 bool res = streamFilters_.frameFilter_->BeginRSTransactionData(FRAME_TS, ITID, FRAME_NUM); in HWTEST_F() local 95 EXPECT_TRUE(res); in HWTEST_F() 97 res = streamFilters_.frameFilter_->EndVsyncEvent(END_TS, ITID); in HWTEST_F() 98 EXPECT_TRUE(res); in HWTEST_F() 120 auto res = streamFilters_.frameFilter_->MarkRSOnDoCompositionEvent(ON_DO_COMPOSITION_TS, ITID); in HWTEST_F() local 121 EXPECT_TRUE(res); in HWTEST_F() 123 res = streamFilters_.frameFilter_->EndVsyncEvent(END_TS, ITID); in HWTEST_F() 124 EXPECT_TRUE(res); in HWTEST_F() 142 auto res = streamFilters_.frameFilter_->MarkRSOnDoCompositionEvent(ON_DO_COMPOSITION_TS, ITID); HWTEST_F() local 172 auto res = streamFilters_.frameFilter_->MarkRSOnDoCompositionEvent(ON_DO_COMPOSITION_TS, ITID); HWTEST_F() local 202 auto res = streamFilters_.frameFilter_->MarkRSOnDoCompositionEvent(ON_DO_COMPOSITION_TS, ITID); HWTEST_F() local 232 auto res = streamFilters_.frameFilter_->MarkRSOnDoCompositionEvent(ON_DO_COMPOSITION_TS, ITID); HWTEST_F() local [all...] |
H A D | animation_filter_test.cpp | 64 auto res = stream_.streamFilters_->animationFilter_->BeginDynamicFrameEvent(point, CALLSTACK_SLICE_ID); in HWTEST_F() local 65 EXPECT_FALSE(res); in HWTEST_F() 102 auto res = stream_.streamFilters_->animationFilter_->BeginDynamicFrameEvent(point, CALLSTACK_SLICE_ID); in HWTEST_F() local 103 EXPECT_FALSE(res); in HWTEST_F() 120 auto res = stream_.streamFilters_->animationFilter_->BeginDynamicFrameEvent(point, curStackRow); in HWTEST_F() local 121 EXPECT_FALSE(res); in HWTEST_F() 126 res = stream_.streamFilters_->animationFilter_->BeginDynamicFrameEvent(point, curStackRow); in HWTEST_F() 127 EXPECT_TRUE(res); in HWTEST_F() 131 res = stream_.streamFilters_->animationFilter_->BeginDynamicFrameEvent(point, curStackRow); in HWTEST_F() 132 EXPECT_TRUE(res); in HWTEST_F() 157 auto res = stream_.streamFilters_->animationFilter_->UpdateDeviceInfoEvent(point, line); HWTEST_F() local 171 auto res = stream_.streamFilters_->animationFilter_->UpdateDeviceInfoEvent(point, line); HWTEST_F() local 192 auto res = stream_.streamFilters_->animationFilter_->UpdateDeviceInfoEvent(point, line); HWTEST_F() local 205 auto res = stream_.streamFilters_->animationFilter_->UpdateDeviceInfoEvent(point, line); HWTEST_F() local 218 auto res = stream_.streamFilters_->animationFilter_->UpdateDeviceInfoEvent(point, line); HWTEST_F() local 257 auto res = stream_.streamFilters_->animationFilter_->BeginDynamicFrameEvent(point, index); // for WindowScene_xxx HWTEST_F() local [all...] |
/developtools/hiperf/test/unittest/common/native/ |
H A D | tracked_command_test.cpp | 57 bool res = trackedCMD->StartCommand(); in HWTEST_F() local 58 EXPECT_TRUE(res); in HWTEST_F() 62 res = trackedCMD->WaitCommand(wstatus); in HWTEST_F() 64 if (res) { in HWTEST_F() 81 bool res = trackedCMD->StartCommand(); in HWTEST_F() local 82 EXPECT_FALSE(res); in HWTEST_F() 86 res = trackedCMD->WaitCommand(wstatus); in HWTEST_F() 88 if (res) { in HWTEST_F()
|
/developtools/smartperf_host/trace_streamer/src/trace_data/ |
H A D | trace_data_db.cpp | 449 std::string res = "ok\r\n"; in SearchDatabase() local 454 res += "{\"columns\":["; in SearchDatabase() 456 res += "\""; in SearchDatabase() 457 res += sqlite3_column_name(stmt, i); in SearchDatabase() 458 res += "\","; in SearchDatabase() 460 res.pop_back(); in SearchDatabase() 461 res += "],\"values\":["; in SearchDatabase() 468 res += row + ","; in SearchDatabase() 471 res.pop_back(); in SearchDatabase() 473 res in SearchDatabase() 493 std::string res = "ok\\r\\n"; SearchDatabase() local 540 char *res = reinterpret_cast<char *>(out); SearchDatabase() local 557 HandleColumnNames(sqlite3_stmt *stmt, char *res, int32_t outLen, int32_t pos, int32_t colCount) HandleColumnNames() argument 582 HandleRowData(sqlite3_stmt *stmt, char *res, int32_t outLen, int32_t pos, int32_t colCount) HandleRowData() argument [all...] |
/developtools/profiler/hiebpf/include/ |
H A D | ringbuffer.h | 105 int res {0}; in FreeSize() 106 res = head_ - tail_; in FreeSize() 107 if (res <= 0) { in FreeSize() 108 res += bufSize_; in FreeSize() 110 return static_cast<std::size_t>(res); in FreeSize() 114 int res {0}; in DataSize() 115 res = tail_ - head_; in DataSize() 116 if (res < 0) { in DataSize() 117 res += bufSize_; in DataSize() 119 return static_cast<std::size_t>(res); in DataSize() [all...] |
/developtools/smartperf_host/trace_streamer/src/proto_reader/include/ |
H A D | data_area.h | 43 auto res = static_cast<ProtoWireType>(type_); in Type() local 44 return res; in Type() 84 float res; in ToFloat() local 86 (void)memcpy_s(&res, sizeof(res), &value32, sizeof(value32)); in ToFloat() 87 return res; in ToFloat() 92 double res; in ToDouble() local 93 (void)memcpy_s(&res, sizeof(res), &intValue_, sizeof(intValue_)); in ToDouble() 94 return res; in ToDouble() [all...] |
/developtools/global_resource_tool/src/ |
H A D | compression_parser.cpp | 251 string res = ""; in ParseRules() local 254 return res; in ParseRules() 261 res.append("\"").append(name).append("\":").append(ParseJsonStr(item)).append(","); in ParseRules() 263 if (res.size() - 1 < 0) { in ParseRules() 264 return res; in ParseRules() 266 return res.substr(0, res.size() - 1); in ParseRules() 271 vector<string> res; in ParsePath() local 273 res.emplace_back("true"); in ParsePath() 274 return res; in ParsePath() 451 string res = "{"; GetFileRules() local 464 CollectTimeAndSize(TranscodeError res, std::chrono::time_point<std::chrono::steady_clock> &start, TranscodeResult &result) CollectTimeAndSize() argument 489 string res = "Processing report:\\n"; PrintTransMessage() local 518 auto res = TranscodeImages(src, extAppend, output, result); CheckAndTranscode() local 533 auto res = TranscodeImages(src, extAppend, output, result); CheckAndTranscode() local 544 auto res = TranscodeImages(src, extAppend, output, result); CheckAndTranscode() local 578 auto res = ResourceUtil::CopyFileInner(src, dst); CopyAndTranscode() local [all...] |
H A D | resource_check.cpp | 39 auto res = allResource.find(id);
in CheckConfigJson() local 40 if (res == allResource.end()) {
in CheckConfigJson() 43 for (auto resourceItem : res->second) {
in CheckConfigJson() 55 auto res = allResource.find(id);
in CheckConfigJsonForCombine() local 56 if (res == allResource.end()) {
in CheckConfigJsonForCombine() 59 for (auto resourceItemPtr : res->second) {
in CheckConfigJsonForCombine()
|
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/test/unittest/ |
H A D | sdk_api_test.cpp | 42 void res(const std::string result, int32_t finish, int32_t isConfig) in res() function 70 ret = rpcServer->DemoSqlQuery((const uint8_t *)sqlQueryCounter.c_str(), sqlQueryCounter.length(), res); in HWTEST_F() 75 ret = rpcServer->DemoSqlQuery((const uint8_t *)sqlQueryCounterObj.c_str(), sqlQueryCounterObj.length(), res); in HWTEST_F() 79 ret = rpcServer->DemoSqlQuery((const uint8_t *)sqlQuerySlice.c_str(), sqlQuerySlice.length(), res); in HWTEST_F() 83 ret = rpcServer->DemoSqlQuery((const uint8_t *)sqlQuerySliceObj.c_str(), sqlQuerySliceObj.length(), res); in HWTEST_F() 102 ret = rpcServer->DemoSqlQuery((const uint8_t *)sqlQueryCounter.c_str(), sqlQueryCounter.length(), res); in HWTEST_F() 106 ret = rpcServer->DemoSqlQuery((const uint8_t *)sqlQueryCounterObj.c_str(), sqlQueryCounterObj.length(), res); in HWTEST_F() 110 ret = rpcServer->DemoSqlQuery((const uint8_t *)sqlQuerySlice.c_str(), sqlQuerySlice.length(), res); in HWTEST_F() 114 ret = rpcServer->DemoSqlQuery((const uint8_t *)sqlQuerySliceObj.c_str(), sqlQuerySliceObj.length(), res); in HWTEST_F() 135 ret = rpcServer->DemoSqlQuery((const uint8_t *)sqlQueryCounter.c_str(), sqlQueryCounter.length(), res); in HWTEST_F() [all...] |
/developtools/profiler/device/cmds/test/unittest/ |
H A D | parse_plugin_config_test.cpp | 89 bool res = parseConfig.SetSerializePluginsConfig(pluginName, profilerConfig); in HWTEST_F() local 91 EXPECT_FALSE(res); in HWTEST_F() 93 EXPECT_TRUE(res); in HWTEST_F() 97 bool res = parseConfig.SetSerializePluginsConfig("testplugin", profilerConfig); in HWTEST_F() local 98 EXPECT_TRUE(!res); in HWTEST_F()
|
/developtools/hapsigner/hapsigntool_cpp_test/unittest/generateCA/ |
H A D | generate_sub_ca_test.cpp | 227 bool res = CertTools::SetCertVersion(cert, 1); in HWTEST_F() local 228 EXPECT_EQ(res, false); in HWTEST_F() 474 bool res = CertTools::SetCertSubjectName(cert, req); in HWTEST_F() local 475 EXPECT_EQ(res, true); in HWTEST_F() 487 bool res = CertTools::SetCertValidityStartAndEnd(cert, -1, 2); in HWTEST_F() local 489 EXPECT_EQ(res, true); in HWTEST_F() 610 bool res = FileUtils::IsEmpty(cs); in HWTEST_F() local 611 EXPECT_EQ(res, true); in HWTEST_F() 623 int res = FileUtils::ReadFileByOffsetAndLength(file, 1, 50, ret); in HWTEST_F() local 624 EXPECT_EQ(res, in HWTEST_F() 636 int res = FileUtils::ReadInputByOffsetAndLength(file, 111, 2147483647, ret); HWTEST_F() local 649 int res = FileUtils::ReadInputByLength(file, 2147483647, ret); HWTEST_F() local 662 bool res = FileUtils::AppendWriteFileByOffsetToFile(file, out, 10000, 100000); HWTEST_F() local 675 bool res = FileUtils::AppendWriteFileByOffsetToFile(file, out, 10, 100); HWTEST_F() local 688 bool res = FileUtils::AppendWriteFileByOffsetToFile(file, out, 10, 100); HWTEST_F() local 700 bool res = FileUtils::IsRunnableFile(name); HWTEST_F() local 713 bool res = FileUtils::WriteByteToOutFile(bytes, outFile); HWTEST_F() local 726 bool res = FileUtils::WriteByteToOutFile(bytes, outFile); HWTEST_F() local 739 int res = FileUtils::ReadFile(path, ret); HWTEST_F() local 752 bool res = FileUtils::WriteByteToOutFile(bytes, outFile); HWTEST_F() local 765 int res = FileUtils::WriteByteToOutFile(bytes, outFile); HWTEST_F() local 778 bool res = VerifyHapOpensslUtils::ParsePkcs7Package(packageData, 10, pkcs7Context); HWTEST_F() local 791 bool res = VerifyHapOpensslUtils::ParsePkcs7Package(packageData, 10, pkcs7Context); HWTEST_F() local 1128 bool res = FileUtils::IsEmpty(cs); HWTEST_F() local 1140 int res = FileUtils::Write(cs, "/data/test/"); HWTEST_F() local 1154 int res = FileUtils::Read(input, cs); HWTEST_F() local 1168 bool res = FileUtils::AppendWriteFileByOffsetToFile(in, out, 10, 100); HWTEST_F() local 1184 bool res = FileUtils::AppendWriteFileByOffsetToFile(in, out, 10, 100); HWTEST_F() local 1200 bool res = FileUtils::AppendWriteFileByOffsetToFile(in, out, 10, 100); HWTEST_F() local 1218 bool res = api->VerifyHapSigner(params.get()); HWTEST_F() local 1234 bool res = api->VerifyHapSigner(params.get()); HWTEST_F() local 1250 bool res = api->VerifyHapSigner(params.get()); HWTEST_F() local 1266 bool res = api->VerifyHapSigner(params.get()); HWTEST_F() local 1285 bool res = api->GenerateRootCertToFile(params.get(), keyPair); HWTEST_F() local 1324 bool res = api->GenerateRootCertToFile(params.get(), keyPair); HWTEST_F() local 1362 bool res = api->GenerateRootCertToFile(params.get(), keyPair); HWTEST_F() local 1403 bool res = api->GenerateRootCertToFile(params.get(), keyPair); HWTEST_F() local 1420 bool res = api->OutputModeOfCert(cert, params.get()); HWTEST_F() local 1436 bool res = api->GenerateKeyStore(params.get()); HWTEST_F() local 1454 int res = api->HandleIssuerKeyAliasEmpty(params.get()); HWTEST_F() local 1476 int res = api->HandleIssuerKeyAliasEmpty(params.get()); HWTEST_F() local 1498 int res = api->HandleIssuerKeyAliasEmpty(params.get()); HWTEST_F() local 1520 int res = api->HandleIssuerKeyAliasEmpty(params.get()); HWTEST_F() local 1535 int res = api->HandleIsserKeyAliasNotEmpty(params.get()); HWTEST_F() local 1551 int res = api->HandleIsserKeyAliasNotEmpty(params.get()); HWTEST_F() local [all...] |
/developtools/hdc/hdc_rust/src/cffi/ |
H A D | usb_util.cpp | 34 std::string res = USB_FFS_BASE;
in GetDevPath() local 46 res += "hdc";
in GetDevPath() 48 res += node;
in GetDevPath() 51 return res;
in GetDevPath()
|
/developtools/smartperf_host/trace_streamer/src/base/ |
H A D | string_help.cpp | 31 bool StartWith(const std::string &str, const std::string &res) in StartWith() argument 33 if (res.size() > str.size()) { in StartWith() 36 return str.compare(0, res.length(), res) == 0; in StartWith() 39 bool EndWith(const std::string &str, const std::string &res) in EndWith() argument 41 if (res.size() > str.size()) { in EndWith() 44 return str.compare(str.size() - res.size(), res.size(), res) == 0; in EndWith()
|
/developtools/profiler/device/plugins/hiperf_plugin/src/ |
H A D | hiperf_module.cpp | 89 bool res = false; in RunCommand() local 104 res = result.find(HIPERF_RECORD_OK) != std::string::npos; in RunCommand() 105 if (res) { in RunCommand() 111 CHECK_TRUE(res, false, "HiperfPlugin::RunCommand: execute command FAILED!"); in RunCommand() 123 bool res = g_config.ParseFromArray(configData, configSize); in HiperfPluginSessionStart() local 124 CHECK_TRUE(res, -1, "HiperfPluginSessionStart, parse config from array FAILED! configSize: %u", configSize); in HiperfPluginSessionStart() 136 res = ParseConfigToCmd(g_config, cmds); in HiperfPluginSessionStart() 137 CHECK_TRUE(res, -1, "HiperfPluginSessionStart, parse config FAILED!"); in HiperfPluginSessionStart() 140 res = RunCommand(cmd); in HiperfPluginSessionStart() 141 CHECK_TRUE(res, in HiperfPluginSessionStart() [all...] |
/developtools/packing_tool/packing_tool/frameworks/test/unittest/version_normalize_test/ |
H A D | version_normalize_test.cpp | 269 auto res = versionNormalize.VerifyModuleVersion(normalizeVersion, 0, VERSION_NAME); in HWTEST_F() local 270 EXPECT_FALSE(res); in HWTEST_F() 295 auto res = versionNormalize.VerifyModuleVersion(normalizeVersion, ORIGIN_VERSION_CODE, VERSION_NAME); in HWTEST_F() local 296 EXPECT_TRUE(res); in HWTEST_F() 321 auto res = versionNormalize.ModifyModuleJson("", normalizeVersion, ORIGIN_VERSION_CODE, VERSION_NAME); in HWTEST_F() local 322 EXPECT_FALSE(res); in HWTEST_F() 347 auto res = versionNormalize.ModifyModuleJson(INPUT_LIST, normalizeVersion, ORIGIN_VERSION_CODE, VERSION_NAME); in HWTEST_F() local 348 EXPECT_FALSE(res); in HWTEST_F() 373 auto res = versionNormalize.ModifyConfigJson("", normalizeVersion, ORIGIN_VERSION_CODE, VERSION_NAME); in HWTEST_F() local 374 EXPECT_FALSE(res); in HWTEST_F() 399 auto res = versionNormalize.ModifyConfigJson(INPUT_LIST, normalizeVersion, ORIGIN_VERSION_CODE, VERSION_NAME); HWTEST_F() local 422 auto res = versionNormalize.ModifyPackInfo("", ORIGIN_VERSION_CODE, VERSION_NAME); HWTEST_F() local 445 auto res = versionNormalize.ModifyPackInfo(INPUT_LIST, ORIGIN_VERSION_CODE, VERSION_NAME); HWTEST_F() local 469 auto res = versionNormalize.ProcessJsonFiles(PATH, normalizeVersionList, ORIGIN_VERSION_CODE, VERSION_NAME); HWTEST_F() local [all...] |
/developtools/ace_js2bundle/ace-loader/src/lite/ |
H A D | lite-transform-template.js | 144 const res = `function (vm) { var _vm = vm || this;${I18nContect} return ${template} }`; 146 return res; 355 const res = forCompiled ? value : '_vm.' + value; 356 return res; 423 let res = ''; 428 res = `i18ns[${cachedI18nPushStrings.lastIndexOf(cachedI18nPushString)}]`; 434 res = `i18ns[${Object.keys(i18nMapping).length - 1}]`; 436 return res; 448 let res = func; 453 res [all...] |
/developtools/integration_verification/tools/startup_guard/startup_checker/ |
H A D | base_rule.py | 42 res = []
48 res = res + json.loads(jsonstr)
52 return res
|
/developtools/integration_verification/tools/deps_guard/rules_checker/ |
H A D | base_rule.py | 37 res = []
43 res = res + json.loads(jsonstr)
47 return res
|
H A D | chipsetsdk.py | 52 res = []
56 res = self.__parser_rules_file(rules_file, res)
60 return res
84 def __parser_rules_file(self, rules_file, res):
91 return res
95 if so_file_name and so_file_name not in res:
96 res.append(so_file_name)
100 return res
|
/developtools/profiler/device/plugins/bytrace_plugin/src/ |
H A D | bytrace_module.cpp | 124 int res = config.ParseFromArray(configData, configSize); in BytracePluginSessionStart() local 125 CHECK_TRUE(res, 0, "BytracePluginSessionStart, parse config FAILED! configSize: %u", configSize); in BytracePluginSessionStart() 128 res = BeginTrace(); in BytracePluginSessionStart() 129 CHECK_TRUE(res, 0, "BytracePluginSessionStart, bytrace begin FAILED!"); in BytracePluginSessionStart() 138 int res = StopTrace(); in BytracePluginSessionStop() local 139 CHECK_TRUE(res, 0, "BytracePluginSessionStop, bytrace finish FAILED!"); in BytracePluginSessionStop()
|