Home
last modified time | relevance | path

Searched defs:string (Results 1 – 25 of 63) sorted by relevance

123

/developtools/integration_verification/tools/fotff/utils/
Dssh.go31 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…
Dhttp.go27 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…
Dexec.go29 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) {
Druntime.go30 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) {
Dhdc.go23 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 {
Dmail.go51 func SendMail(subject string, body string, attachments ...string) error {
/developtools/integration_verification/tools/fotff/rec/
Dfotff.go38 …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…
Drecord.go53 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) {
Dreport.go58 func Report(curPkg string, taskName string) {
/developtools/smartperf_host/ide/server/
Dmain.go54 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/
Dmain.go54 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/
Dpkg.go26 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/
Dtester.go37 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/
Dsteps_gitee.go52 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) {
Dget_newer_ci.go57 … *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) {
Dcommon.go39 func NewManager(component string, branch string, manifestBranch string, archiveDir string, workspac…
Dget_newer_or_fail.go31 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/
Dflash.go35 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/
Dissue.go29 func GetMRIssueURL(owner string, repo string, num int) ([]string, error) {
Dcompare.go63 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/
Dtask_pool_filter.cpp39 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/
Dtask_pool_filter.cpp48 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/
Dresource_table.cpp183 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/
DProcedureWorker.ts140 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/
DProcedureWorker.ts148 if ((e.data.type as string).startsWith('clear')) { alias
176 req.type = e.data.type as string; alias

123