| /developtools/hiperf/script/ |
| D | loadlib_test.py | 32 ret = libhiperf_report.EchoLoopBack(b'123') variable 36 ret = libhiperf_report.EchoLoopBack(b'test') variable 40 ret = libhiperf_report.EchoLoopBack(b'test123') variable 44 ret = libhiperf_report.EchoLoopBack(b'') variable 48 ret = libhiperf_report.EchoLoopBack(None) variable 52 ret = libhiperf_report.Report(b'perf.data', b'report.txt', b'-s') variable 55 ret = libhiperf_report.SetDebug(True) variable 58 ret = libhiperf_report.ReportJson(b'perf.data', b'json.txt') variable 61 ret = libhiperf_report.ReportGetSymbolFiles(b'perf.data') variable 64 ret = libhiperf_report.ReportGetBuildId(b'elf32_test') variable [all …]
|
| /developtools/smartperf_host/trace_streamer/sdk/demo_sdk/test/unittest/ |
| D | sdk_api_test.cpp | 63 auto ret = SDK_SetTableName("first_table", "second_table", "third_table", "fouth_table"); variable 97 auto ret = rpcServer->ts_->sdkDataParser_->GetJsonConfig(QueryResultCallback); variable 128 auto ret = SDK_SetTableName(" ", " ", " ", " "); variable 161 auto ret = SDK_SetTableName("first_table", "second_table", " ", " "); variable 194 auto ret = SDK_SetTableName(" ", " ", "first_table", "second_table"); variable 227 auto ret = rpcServer->ts_->sdkDataParser_->GetJsonConfig(QueryResultCallback); variable 248 auto ret = SDK_SetTableName(" ", "second_table", " ", " "); variable 270 auto ret = rpcServer->ts_->sdkDataParser_->GetJsonConfig(QueryResultCallback); variable 291 auto ret = SDK_SetTableName(" ", "second_table", " ", " "); variable 313 auto ret = SDK_SetTableName(" ", "second_table", " ", " "); variable [all …]
|
| /developtools/smartperf_host/trace_streamer/sdk/demo_sdk/rpc/ |
| D | demo_rpc_server.cpp | 38 int32_t ret = demoTs_->OperateDatabase(demoSql); in DemoSqlOperate() local 55 int32_t ret = demoTs_->SearchDatabase(demoSql, retCallBack); in DemoSqlQuery() local 86 int32_t ret = demoTs_->SearchDatabase(demoSql, out, outLen); in DemoWasmSqlQuery() local 95 int32_t ret = demoTs_->sdkDataParser_->GetPluginName(pluginName); in DemoWasmGetPluginNameWithCallback() local 105 int32_t ret = demoTs_->SearchDatabase(demoSql, callback); in DemoWasmSqlQueryWithCallback() local
|
| /developtools/profiler/device/plugins/ftrace_plugin/test/unittest/ |
| D | flow_controller_test.cpp | 136 int ret = config.SerializeToArray(configData.data(), configData.size()); variable 158 int ret = config.SerializeToArray(configData.data(), configData.size()); variable 180 int ret = config.SerializeToArray(configData.data(), configData.size()); variable 204 int ret = config.SerializeToArray(configData.data(), configData.size()); variable 228 int ret = config.SerializeToArray(configData.data(), configData.size()); variable 259 int ret = config.SerializeToArray(configData.data(), configData.size()); variable 331 int ret = config.SerializeToArray(configData.data(), configData.size()); variable 364 int ret = config.SerializeToArray(configData.data(), configData.size()); variable
|
| /developtools/integration_verification/DeployDevice/resource/common/ |
| D | cbg_start.py | 113 ret = downloadUpgradeScripts(server_link, upgrade_script_path, is_update_script) variable 116 ret = -1 variable 123 ret = os.system(command) variable 128 ret = -1 variable
|
| /developtools/profiler/device/services/ipc/src/ |
| D | ipc_generator_impl.cpp | 123 std::string ret = ""; in SwapName() local 140 std::string ret = base; in ReplaceStr() local 278 std::string ret = ""; in GenSendResponseImpl() local 298 std::string ret = ""; in GenOnResponseImpl() local 318 std::string ret = ""; in GenServiceCallImpl() local 354 std::string ret = ""; in GenClientProcImpl() local 401 std::string ret = ""; in GenClientRequestImpl() local 431 std::string ret = ""; in GenServiceProcImpl() local
|
| /developtools/profiler/hiebpf/test/unittest/ |
| D | hhlog_test.cpp | 66 int ret = HHLogger::GetInstance().UpdateTimer(); variable 77 auto ret = HHLogger::GetInstance().InitLogger(HHLOG_DEBUG, ""); variable 98 auto ret = logger.Start(HHLOG_NONE); variable
|
| D | hiebpf_data_file_test.cpp | 68 auto ret = hiebpfDataFile.OpenFile(); variable 94 auto ret = hiebpfDataFile.OpenFile(); variable 113 auto ret = hiebpfDataFile.OpenFile(); variable
|
| /developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/ |
| D | native_memory_profiler_sa_proxy.cpp | 38 …int32_t ret = remote->SendRequest(static_cast<uint32_t>(NativeMemoryProfilerSaInterfaceCode::START… in Start() local 64 …int32_t ret = remote->SendRequest(static_cast<uint32_t>(NativeMemoryProfilerSaInterfaceCode::DUMP_… in DumpData() local 85 …int32_t ret = remote->SendRequest(static_cast<uint32_t>(NativeMemoryProfilerSaInterfaceCode::STOP_… in Stop() local 106 …int32_t ret = remote->SendRequest(static_cast<uint32_t>(NativeMemoryProfilerSaInterfaceCode::STOP_… in Stop() local
|
| /developtools/syscap_codec/src/ |
| D | create_pcid.c | 171 int32_t ret = cJSON_GetArraySize(osSyscap); in GetOsAndPriSyscapSize() local 214 …onvertedContextSaveAsFile(char *outDirPath, PCIDMain *pcidBuffer, uint16_t pcidLength, int32_t ret) in CheckConvertedContextSaveAsFile() 225 int32_t type, int32_t ret) in FreeAfterCreatePCID() 242 int32_t ret = GetFileContext(inputFile, &contextBuffer, (uint32_t *)&contextBufLen); in CreatePCID() local 361 … int32_t ret = sprintf_s(fullCapStr, SINGLE_SYSCAP_LEN, "SystemCapability.%s", priSyscapStr); in GetPriSyscap() local 385 uint32_t contextBufLen, int32_t ret) in CheckSysCapObj() 424 …32_t FreeAfterDecodePCID(struct FreeDecodePcidJsonInfo freePcidJsonInfo, int32_t type, int32_t ret) in FreeAfterDecodePCID() 451 int32_t ret = 0; in DecodePCID() local 519 int32_t ret; in ParseStringSyscap() local 671 int32_t ret = -1; in DecodeStringPCIDToJson() local [all …]
|
| D | syscap_tool.c | 74 uint32_t sysCapSize, int32_t ret) in FillOsCapLength() 124 …int32_t FreeAfterRPCIDEncode(char *convertedBuffer, char *contextBuffer, int32_t type, int32_t ret) in FreeAfterRPCIDEncode() 135 int32_t ret; in RPCIDEncode() local 192 int32_t ret = 0; in ParseRpcidToJson() local 241 int32_t ret = 0; in RPCIDDecode() local 298 int32_t ret = 0; in PrintOutputToFile() local 352 int32_t ret = 0; in OutputSetMemAndPrintToFile() local 402 int32_t ret) in FreeAfterEncodeRpcidsc() 444 int32_t ret = 0; in EncodeRpcidscToString() local 514 int32_t ret = strcpy_s(input, inputLen + 1, inputString); in CopyInputString() local [all …]
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | perf_file_reader_test.cpp | 50 std::unique_ptr<PerfFileReader> ret = hiperfFileReader->Instance(filename); variable 63 std::unique_ptr<PerfFileReader> ret = hiperfFileReader->Instance(filename); variable 76 bool ret = hiperfFileReader->ReadFeatureSection(); variable 85 bool ret = hiperfFileReader->ReadFeatureSection(); variable
|
| D | utilities_test.cpp | 53 int ret = fflush(nullptr); in TestThread() local 72 int ret = fflush(nullptr); in StartThreads() local 479 bool ret = IsDir("../"); variable 490 bool ret = IsPath("./"); variable
|
| /developtools/smartperf_host/trace_streamer/sdk/demo_sdk/trace_data/ |
| D | demo_trace_data_db.cpp | 43 int32_t ret = sqlite3_config(SQLITE_CONFIG_SERIALIZED); in DemoTraceDataDB() local 84 auto ret = ftruncate(demoFd, 0); in DemoExportDatabase() local 140 …int32_t ret = sqlite3_prepare_v2(demoDb_, sql.data(), static_cast<int32_t>(sql.size()), &demoStmt,… in DemoExecuteSql() local 204 …int32_t ret = sqlite3_prepare_v2(demoDb_, sql.c_str(), static_cast<int32_t>(sql.size()), &demoStmt… in DemoSearchDatabase() local 250 int32_t ret = sqlite3_exec(demoDb_, sql.c_str(), NULL, NULL, &errMsg); in DemoOperateDatabase() local 262 …int32_t ret = sqlite3_prepare_v2(demoDb_, sql.c_str(), static_cast<int32_t>(sql.size()), &stmt, nu… in DemoSearchDatabase() local 375 …int32_t ret = sqlite3_prepare_v2(demoDb_, sql.c_str(), static_cast<int32_t>(sql.size()), &stmtSql,… in DemoSearchDatabase() local
|
| /developtools/hdc/src/common/ |
| D | auth.cpp | 132 int ret = -1; in GetUserInfo() local 154 int ret = 0; in WritePublicKeyfile() local 180 bool ret = false; in GenerateKey() local 223 bool ret = false; in ReadKey() local 304 int ret; in GetPublicKeyFileBuf() local 326 bool ret = false; in RSAPublicKey2RSA() local 374 int ret; in ReadDaemonKeys() local 411 int ret = 0; in AuthVerify() local 541 bool ret = false; in GenerateKeyPair() local 590 bool ret = false; in LoadPublicKey() local [all …]
|
| /developtools/smartperf_host/trace_streamer/test/unittest/interface/ |
| D | rpc_server_test.cpp | 55 auto ret = rpcServer.ParseData((const uint8_t*)PARSERDATA.c_str(), PARSERDATA.length(), res, 0); variable 78 auto ret = rpcServer.ParseData((const uint8_t*)PARSERDATA.c_str(), PARSERDATA.length(), res, 0); variable 109 auto ret = rpcServer.ParserConfig(json); variable
|
| D | wasm_func_test.cpp | 51 int32_t ret = TraceStreamerParseData((const uint8_t*)parseData.c_str(), parseData.length()); variable 75 int32_t ret = TraceStreamerParseData((const uint8_t*)parseData.c_str(), parseData.length()); variable
|
| /developtools/profiler/device/plugins/native_hook/src/ |
| D | hook_client.cpp | 177 bool ret = true; in UpdateThreadName() local 253 … int ret = GetParameter("persist.hiviewdfx.profiler.mem.filter", "", paramOutBuf, paramBufferLen); in ohos_malloc_hook_on_start() local 345 void* ret = nullptr; in hook_malloc() local 579 size_t ret = 0; in hook_malloc_usable_size() local 678 void* ret = nullptr; in hook_mmap() local 756 int ret = -1; in hook_munmap() local 810 int ret = -1; in hook_prctl() local 901 void* ret = hook_malloc(GetDispatch()->malloc, size); in ohos_malloc_hook_malloc() local 909 void* ret = hook_realloc(GetDispatch()->realloc, ptr, size); in ohos_malloc_hook_realloc() local 917 void* ret = hook_calloc(GetDispatch()->calloc, number, size); in ohos_malloc_hook_calloc() local [all …]
|
| /developtools/smartperf_host/trace_streamer/src/trace_data/ |
| D | trace_data_db.cpp | 108 auto ret = ftruncate(fd, 0); in CreatEmptyBatchDB() local 199 auto ret = ftruncate(fd, 0); in ExportDatabase() local 265 …int32_t ret = sqlite3_prepare_v2(db_, sql.data(), static_cast<int32_t>(sql.size()), &stmt, nullptr… in ExecuteSql() local 356 …int32_t ret = sqlite3_prepare_v2(db_, sql.c_str(), static_cast<int32_t>(sql.size()), &stmt, nullpt… in SearchDatabase() local 403 int32_t ret = sqlite3_exec(db_, sql.c_str(), NULL, NULL, &errmsg); in OperateDatabase() local 424 …int32_t ret = sqlite3_prepare_v2(db_, sql.c_str(), static_cast<int32_t>(sql.size()), &stmt, nullpt… in SearchDatabaseToProto() local 440 …int32_t ret = sqlite3_prepare_v2(db_, sql.c_str(), static_cast<int32_t>(sql.size()), &stmt, nullpt… in SearchDatabase() local 480 …int32_t ret = sqlite3_prepare_v2(db_, sql.c_str(), static_cast<int32_t>(sql.size()), &stmt, nullpt… in SearchDatabase() local 530 …int32_t ret = sqlite3_prepare_v2(db_, sql.c_str(), static_cast<int32_t>(sql.size()), &stmt, nullpt… in SearchDatabase() local
|
| /developtools/hdc/src/daemon/ |
| D | shell.cpp | 91 bool ret = true; in SpecialSignal() local 126 int ret = childShell->Write(payload, payloadSize); in CommandDispatch() local 192 …int ret = pthread_create(&threadId, nullptr, reinterpret_cast<void *(*)(void *)>(ShellFork), ¶… in ThreadFork() local 206 int ret = pthread_setname_np(pthread_self(), "hdcd_shellfork"); in ShellFork() local 291 int ret = 0; in StartShell() local
|
| D | daemon_forward.cpp | 50 bool ret = clsJdwp->CheckPIDExist(pid); in SetupJdwpPoint() local 59 bool ret = false; in SetupJdwpPoint() local 104 bool ret = clsJdwp->CheckPIDExist(pid); in SetupArkPoint() local
|
| D | daemon.cpp | 150 bool ret = true; in RedirectToTask() local 203 bool ret = false; in HandDaemonAuth() local 335 bool ret = false; // default no debug in CheckControl() local 385 bool ret = true; in FetchCommand() local 430 bool ret = true; in RemoveInstanceTask() local
|
| /developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
| D | utilities_test.cpp | 54 int ret = fflush(nullptr); in TestThread() local 73 int ret = fflush(nullptr); in StartThreads() local 484 bool ret = IsDir("../"); variable 495 bool ret = IsPath("./"); variable
|
| /developtools/hdc/src/host/ |
| D | host_app.cpp | 32 bool ret = false; in BeginInstall() local 82 bool ret = false; in BeginSideload() local 155 bool ret = true; in CommandDispatch() local
|
| /developtools/profiler/device/plugins/hiebpf_plugin/tools/src/ |
| D | ebpf_converter.cpp | 144 ssize_t ret = read(fd_, buffer, size); in Read() local 248 auto ret = lseek(fd_, 0, SEEK_CUR); in SymbolInfoParsing() local 260 auto ret = lseek(fd_, 0, SEEK_CUR); in SymbolInfoParsing() local 439 … char *ret = abi::__cxa_demangle(static_cast<char *>(symItem->second.strTab + sym.st_name), in GetSymbolInfo() local 458 … char *ret = abi::__cxa_demangle(symItem->second.strTab + sym.st_name, nullptr, nullptr, nullptr); in GetSymbolInfo() local
|