/developtools/integration_verification/tools/fotff/utils/ |
D | ssh.go | 31 func newSSHClient(addr string, user string, passwd string) (*ssh.Client, error) { 41 func RunCmdViaSSHContext(ctx context.Context, addr string, user string, passwd string, cmd string) … 54 …nc RunCmdViaSSHContextNoRetry(ctx context.Context, addr string, user string, passwd string, cmd st… 113 func TransFileViaSSH(verb Direct, addr string, user string, passwd string, remoteFile string, local…
|
D | http.go | 27 func DoSimpleHttpReqRaw(method string, url string, body []byte, header map[string]string) (response… 41 func DoSimpleHttpReq(method string, url string, body []byte, header map[string]string) (ret []byte,… 58 func doSimpleHttpReqImpl(method string, url string, body []byte, header map[string]string) (respons…
|
D | exec.go | 29 func ExecContext(ctx context.Context, name string, args ...string) error { 42 func execContext(ctx context.Context, name string, args ...string) error { 63 func ExecCombinedOutputContext(ctx context.Context, name string, args ...string) ([]byte, error) { 77 func execCombinedOutputContext(ctx context.Context, name string, args ...string) ([]byte, error) {
|
D | runtime.go | 30 func sectionKey(section, key string) string { 41 func CacheGet(section string, k string) (v any, found bool) { 45 func CacheSet(section string, k string, v any) error { 50 func WriteRuntimeData(name string, data []byte) error { 54 func ReadRuntimeData(name string) ([]byte, error) {
|
D | hdc.go | 23 func WaitHDC(device string, ctx context.Context) bool { 58 func TryRebootToLoader(device string, ctx context.Context) error { 75 func HdcShell(cmd, device string, ctx context.Context) error {
|
D | mail.go | 51 func SendMail(subject string, body string, attachments ...string) error {
|
/developtools/integration_verification/tools/fotff/rec/ |
D | fotff.go | 38 …FirstFail(m pkg.Manager, t tester.Tester, testCase string, successPkg string, failPkg string, fell… 53 …indOutTheFirstFail(m pkg.Manager, t tester.Tester, testcase string, steps []string, fellows ...str… 131 …ashAndTest(m pkg.Manager, t tester.Tester, pkg string, testcase string, ctx context.Context, fello…
|
D | record.go | 53 func HandleResults(t tester.Tester, dev string, pkgName string, results []tester.Result) []string { 67 func handlePassResults(pkgName string, results []tester.Result) { 80 func handleFailResults(t tester.Tester, dev string, pkgName string, results []tester.Result) []stri… 115 func Analysis(m pkg.Manager, t tester.Tester, pkgName string, testcases []string) {
|
D | report.go | 58 func Report(curPkg string, taskName string) {
|
/developtools/smartperf_host/ide/server/ |
D | main.go | 54 func cors(fs http.Handler, version string) http.HandlerFunc { 71 func exist(path string) bool { 226 func jsonToMap(str string) (map[string]interface{}, error) { 236 func MkDir(path string) { 264 func get(url string) (*http.Response, error) { 303 func getSuffixByUrl(u string) struct { 370 func SplitLines(s string) []string { 379 func readFileFirstLine(path string) string { 394 func PathExists(path string) (bool, error) { 405 func chekDir(path string) { [all …]
|
/developtools/profiler/host/smartperf/ide/server/ |
D | main.go | 54 func cors(fs http.Handler, version string) http.HandlerFunc { 71 func exist(path string) bool { 226 func jsonToMap(str string) (map[string]interface{}, error) { 236 func MkDir(path string) { 264 func get(url string) (*http.Response, error) { 303 func getSuffixByUrl(u string) struct { 370 func SplitLines(s string) []string { 379 func readFileFirstLine(path string) string { 394 func PathExists(path string) (bool, error) { 405 func chekDir(path string) { [all …]
|
/developtools/integration_verification/tools/fotff/pkg/ |
D | pkg.go | 26 Flash(device string, pkg string, ctx context.Context) error 28 LastIssue(pkg string) (string, error) 30 Steps(from, to string) ([]string, error) 32 GetNewer(cur string) (string, error) 34 PkgDir(pkg string) string
|
/developtools/integration_verification/tools/fotff/tester/ |
D | tester.go | 37 Prepare(pkgDir string, device string, ctx context.Context) error 39 DoTestTask(device string, ctx context.Context) ([]Result, error) 41 DoTestCase(device string, testCase string, ctx context.Context) (Result, error) 43 DoTestCases(device string, testcases []string, ctx context.Context) ([]Result, error)
|
/developtools/integration_verification/tools/fotff/pkg/gitee_common/ |
D | steps_gitee.go | 52 func (m *Manager) stepsFromGitee(from, to string) (pkgs []string, err error) { 85 func (m *Manager) getRepoUpdates(from, to string) (updates []vcs.ProjectUpdate, err error) { 97 func getAllStepsFromGitee(startTime, endTime time.Time, branch string, manifestBranch string, updat… 109 func getAllMRs(startTime, endTime time.Time, branch string, manifestBranch string, updates []vcs.Pr… 144 func combineMRsToIssue(allMRs []*gitee.Commit, branch string) (map[string]*IssueInfo, error) { 235 func deDupIssues(issues []string) (retIssues []string) { 248 func parseStructureUpdates(commit *gitee.Commit, branch string) (string, []*vcs.ProjectUpdate, erro… 282 func parseFilePatch(str string, m map[string]vcs.ProjectUpdate) error { 329 func parseTime(pkg string) (time.Time, error) {
|
D | get_newer_ci.go | 57 … *Manager) loopCI(param DailyBuildsQueryParam, cur string, getFn func(cur string, resp *DailyBuild… 90 func (m *Manager) getNewerFromCI(cur string) string { 101 func (m *Manager) getNewerDailyBuild(cur string, db *DailyBuild) string { 118 func (m *Manager) downloadToWorkspace(url string) (string, error) {
|
D | common.go | 39 func NewManager(component string, branch string, manifestBranch string, archiveDir string, workspac…
|
D | get_newer_or_fail.go | 31 func (m *Manager) GetNewerOrFail(cur string) (string, error) { 46 func (m *Manager) getNewerOrFailFromCI(cur string) string { 56 func (m *Manager) getNewerDailyBuildOrFail(cur string, db *DailyBuild) string {
|
/developtools/integration_verification/tools/fotff/pkg/dayu200/ |
D | flash.go | 35 func (m *Manager) flashDevice(device string, pkg string, ctx context.Context) error { 52 func (m *Manager) flashImages(device string, pkg string, ctx context.Context) error {
|
/developtools/integration_verification/tools/fotff/vcs/gitee/ |
D | issue.go | 29 func GetMRIssueURL(owner string, repo string, num int) ([]string, error) {
|
D | compare.go | 63 func GetLatestMRBefore(owner, repo, branch string, before string) (ret *Commit, err error) { 79 func GetBetweenTimeMRs(owner, repo, branch string, from, to time.Time) (ret []*Commit, err error) {
|
/developtools/profiler/host/smartperf/trace_streamer/src/filter/ |
D | task_pool_filter.cpp | 39 std::unordered_map<std::string, std::string>& args) in TaskPoolFieldSegmentation() 84 void TaskPoolFilter::UpdateAssignData(const std::unordered_map<std::string, std::string>& args, int… in UpdateAssignData() 102 void TaskPoolFilter::UpdateExecuteData(const std::unordered_map<std::string, std::string>& args, in… in UpdateExecuteData() 117 void TaskPoolFilter::UpdateReturnData(const std::unordered_map<std::string, std::string>& args, int… in UpdateReturnData()
|
/developtools/smartperf_host/trace_streamer/src/filter/ |
D | task_pool_filter.cpp | 48 std::unordered_map<std::string, std::string>& args) in TaskPoolFieldSegmentation() 90 bool TaskPoolFilter::UpdateAssignData(const std::unordered_map<std::string, std::string>& args, uin… in UpdateAssignData() 112 bool TaskPoolFilter::UpdateExecuteData(const std::unordered_map<std::string, std::string>& args, ui… in UpdateExecuteData() 139 bool TaskPoolFilter::UpdateReturnData(const std::unordered_map<std::string, std::string>& args, uin… in UpdateReturnData()
|
/developtools/global_resource_tool/src/ |
D | resource_table.cpp | 183 uint32_t ResourceTable::SaveToResouorceIndex(const map<string, vector<TableData>> &configs) const in SaveToResouorceIndex() argument 229 bool ResourceTable::Prepare(const map<string, vector<TableData>> &configs, in Prepare() 266 bool ResourceTable::SaveRecordItem(const map<string, vector<TableData>> &configs, in SaveRecordItem() 312 void ResourceTable::SaveLimitKeyConfigs(const map<string, LimitKeyConfig> &limitKeyConfigs, ostring… in SaveLimitKeyConfigs() argument 324 void ResourceTable::SaveIdSets(const map<string, IdSet> &idSets, ostringstream &out) const in SaveIdSets() argument
|
/developtools/profiler/host/smartperf/ide/src/trace/database/ui-worker/ |
D | ProcedureWorker.ts | 140 if ((e.data.type as string).startsWith('clear')) { alias 168 req.type = e.data.type as string; alias
|
/developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
D | ProcedureWorker.ts | 148 if ((e.data.type as string).startsWith('clear')) { alias 176 req.type = e.data.type as string; alias
|