/developtools/integration_verification/tools/fotff/utils/ |
H A D | http.go | 42 var resp *http.Response var 48 if resp, err = doSimpleHttpReqImpl(method, url, body, header); err == nil { 49 ret, err = io.ReadAll(resp.Body) 50 resp.Body.Close() 67 resp, err := proxyClient.Do(req) 71 if resp.StatusCode >= 300 { 72 defer resp.Body.Close() 73 data, _ := io.ReadAll(resp.Body) 74 if resp.StatusCode == http.StatusProxyAuthRequired || resp [all...] |
/developtools/integration_verification/tools/fotff/vcs/gitee/ |
H A D | commit.go | 27 var resp []byte var 29 resp = c.([]byte) 32 resp, err = utils.DoSimpleHttpReq(http.MethodGet, url, nil, nil) 36 utils.CacheSet("gitee", url, resp) 39 if err := json.Unmarshal(resp, &commitResp); err != nil {
|
H A D | issue.go | 31 var resp []byte var 33 resp = c.([]byte) 36 resp, err = utils.DoSimpleHttpReq(http.MethodGet, url, nil, nil) 40 utils.CacheSet("gitee", url, resp) 43 if err := json.Unmarshal(resp, &prIssues); err != nil {
|
H A D | compare.go | 123 var resp []byte var 125 resp = c.([]byte) 128 resp, err = utils.DoSimpleHttpReq(http.MethodGet, url, nil, nil) 132 utils.CacheSet("gitee", url, resp) 135 if err := json.Unmarshal(resp, &compareResp); err != nil {
|
H A D | branch.go | 32 resp, err := utils.DoSimpleHttpReq(http.MethodGet, url, nil, nil) 37 if err := json.Unmarshal(resp, &branchResp); err != nil {
|
/developtools/integration_verification/tools/fotff/pkg/gitee_common/ |
H A D | get_newer_ci.go | 57 func (m *Manager) loopCI(param DailyBuildsQueryParam, cur string, getFn func(cur string, resp *DailyBuild) string) string { 65 resp, err := utils.DoSimpleHttpReq(http.MethodPost, "http://ci.openharmony.cn/api/ci-backend/ci-portal/v1/dailybuilds", data, map[string]string{"Content-Type": "application/json;charset=UTF-8"}) 71 if err := json.Unmarshal(resp, &dailyBuildsResp); err != nil { 72 logrus.Errorf("can not unmarshal resp [%s]: %v", string(resp), err) 124 resp, err := utils.DoSimpleHttpReqRaw(http.MethodGet, url, nil, nil) 128 defer resp.Body.Close() 137 if _, err := io.CopyBuffer(f, resp.Body, make([]byte, 16*1024*1024)); err != nil {
|
H A D | steps_ci.go | 99 resp, err := utils.DoSimpleHttpReq(http.MethodPost, "http://ci.openharmony.cn/api/ci-backend/ci-portal/v1/build/tag", data, map[string]string{"Content-Type": "application/json;charset=UTF-8"}) 104 if err := json.Unmarshal(resp, &tagResp); err != nil { 147 resp, err := utils.DoSimpleHttpReq(http.MethodGet, tag.TagFileURL, nil, nil) 151 err = os.WriteFile(filepath.Join(m.Workspace, tag.Id, "manifest_tag.xml"), resp, 0640)
|
/developtools/smartperf_host/ide/server/ |
H A D | main.go | 263 resp(&w)(true, 0, "success", map[string]interface{}{ 273 resp(&w)(false, -1, "Invalid message", nil) 278 resp(&w)(false, -1, "sign failed", nil) 280 resp(&w)(true, 0, "success", map[string]interface{}{ 291 resp(&w)(false, -1, "Invalid message", nil) 297 resp(&w)(false, -1, "sign failed", nil) 299 resp(&w)(true, 0, "success", map[string]interface{}{ 332 resp(&w)(false, -1, "msg failed", nil) 334 resp(&w)(true, 0, "success", map[string]interface{}{ 405 func resp( [all...] |
/developtools/integration_verification/DeployDevice/src/aw/Download/ |
H A D | Download.py | 485 resp = requests.request("POST", "https://iam.myhuaweicloud.com/v3/auth/tokens", data=json.dumps(body_1), 487 # print("auth result:", resp.status_code, resp.headers) 488 return resp.headers.get("X-Subject-Token")
|
H A D | Downloadold.py | 475 resp = requests.request("POST", "https://iam.myhuaweicloud.com/v3/auth/tokens", data=json.dumps(body_1), headers=header_1) 476 #print("auth result:", resp.status_code, resp.headers) 477 return resp.headers.get("X-Subject-Token")
|
/developtools/profiler/hiebpf/include/ |
H A D | vmlinux.h | 64764 u8 resp[2048]; global() member 103003 struct resp_get_clock_rate resp; global() member 103020 struct resp_get_clock_parent resp; global() member 115425 enum pri_resp resp; global() member 115430 u8 resp; global() member 138932 u32 resp[4]; global() member 141790 } resp; global() member 141854 } resp; global() member [all...] |