Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 64) sorted by relevance

123

/developtools/integration_verification/tools/fotff/utils/
Dhttp.go27 func DoSimpleHttpReqRaw(method string, url string, body []byte, header map[string]string) (response…
33 if response, err = doSimpleHttpReqImpl(method, url, body, header); err == nil {
41 func DoSimpleHttpReq(method string, url string, body []byte, header map[string]string) (ret []byte,…
48 if resp, err = doSimpleHttpReqImpl(method, url, body, header); err == nil {
58 func doSimpleHttpReqImpl(method string, url string, body []byte, header map[string]string) (respons…
59 logrus.Infof("%s %s", method, url)
60 req, err := http.NewRequest(method, url, bytes.NewReader(body))
77 logrus.Errorf("%s %s: code: %d body: %s", method, url, resp.StatusCode, string(data))
78 return nil, fmt.Errorf("%s %s: code: %d body: %s", method, url, resp.StatusCode, string(data))
/developtools/hapsigner/hapsigntool/hap_sign_tool/src/main/java/com/ohos/hapsigntoolcmd/
DParams.java31 private String method; field in Params
46 return method; in getMethod()
49 public void setMethod(String method) { in setMethod() argument
50 this.method = method; in setMethod()
61 stringBuilder.append(method); in toString()
/developtools/profiler/device/services/ipc/src/
Dipc_generator.cpp35 const google::protobuf::MethodDescriptor* method = service->method(j); in Generate() local
36 const google::protobuf::Descriptor* inputType = method->input_type(); in Generate()
37 const google::protobuf::Descriptor* outputType = method->output_type(); in Generate()
38 … pcsp->AddServiceMethod(service->name(), method->name(), inputType->name(), outputType->name()); in Generate()
/developtools/hdc/src/test/
Dut_command.cpp46 int TestRuntimeCommandSimple(bool bTCPorUSB, int method, bool bNeedConnectDaemon) in TestRuntimeCommandSimple() argument
61 TestRuntimeCommand(method, debugServerPort, debugConnectKey); in TestRuntimeCommandSimple()
65 int TestTaskCommand(int method, const string &debugServerPort, const string &debugConnectKey) in TestTaskCommand() argument
69 switch (method) { in TestTaskCommand()
139 int TestRuntimeCommand(const int method, const string &debugServerPort, const string &debugConnectK… in TestRuntimeCommand() argument
141 switch (method) { in TestRuntimeCommand()
162 TestTaskCommand(method, debugServerPort, debugConnectKey); in TestRuntimeCommand()
Dut_command.h45 int TestRuntimeCommand(const int method, const string &debugServerPort, const string &debugConnectK…
46 int TestRuntimeCommandSimple(bool bTCPorUSB, int method, bool bNeedConnectDaemon);
Dut_runtime.h37 int InnerCall(int method);
Dut_runtime.cpp49 int Runtime::InnerCall(int method) in InnerCall() argument
51 return TestRuntimeCommand(method, DEBUG_ADDRESS.c_str(), DEBUG_TCP_CONNECT_KEY.c_str()); in InnerCall()
/developtools/ace_js2bundle/ace-loader/src/
DcardJson-plugin.js202 if (actionsValue[item].method) {
203 if (typeof(actionsValue[item].method) === 'string') {
204 if (actionsValue[item].method.toLowerCase() !== actionsValue[item].method) {
206 …'\n' + `WARNING: The key method '${actionsValue[item].method}' in the actions don't support upperc…
207 actionsValue[item].method = actionsValue[item].method.toLowerCase();
211 …type in the actions should be 'string', not '${typeof(actionsValue[item].method)}'.` + 'warnEnd'});
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/
DZipEntryHeader.java67 private short method; field in ZipEntryHeader
184 bf.putShort(method); in toBytes()
226 return method; in getMethod()
229 public void setMethod(short method) { in setMethod() argument
230 this.method = method; in setMethod()
DCentralDirectory.java79 private short method; field in CentralDirectory
217 UnsignedDecimalUtil.setUnsignedShort(bf, method); in toBytes()
275 return method; in getMethod()
278 public void setMethod(short method) { in setMethod() argument
279 this.method = method; in setMethod()
DZip.java225 short method = zipEntryData.getZipEntryHeader().getMethod(); in alignment() local
226 if (method != FILE_UNCOMPRESS_METHOD_FLAG && !isFirstUnRunnableFile) { in alignment()
231 if (method == FILE_UNCOMPRESS_METHOD_FLAG && FileUtils.isRunnableFile( in alignment()
/developtools/smartperf_host/ide/src/command/
DCmd.ts27 method: 'POST',
84 method: 'POST',
124 method: 'GET',
142 method: 'POST',
160 method: 'POST',
176 let res = await fetch(uri, { method: 'POST' });
/developtools/profiler/host/smartperf/ide/src/command/
DCmd.ts27 method: 'POST',
84 method: 'POST',
124 method: 'GET',
142 method: 'POST',
160 method: 'POST',
176 let res = await fetch(uri, { method: 'POST' });
/developtools/profiler/device/services/ipc/include/
Dipc_generator_impl.h34 bool AddMethod(std::string method, std::string request, std::string response) in AddMethod() argument
37 if (methodList_[i] == method) { in AddMethod()
41 methodList_[methodCount_] = method; in AddMethod()
/developtools/profiler/host/smartperf/ide/src/statistics/util/
DSpStatisticsHttpUtil.ts105 method: 'post',
121 method: 'post',
151 method: 'post',
/developtools/smartperf_host/ide/src/statistics/util/
DSpStatisticsHttpUtil.ts105 method: 'post',
121 method: 'post',
151 method: 'post',
/developtools/ace_ets2bundle/compiler/test/pages/
DTsModule.ts28 public method(): any { method in TsModule
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/formatter/
DIValueFormatter.ets21 * it implement IValueFormatter. Then override the getFormattedValue(...) method
32 * and memory allocations inside this method.
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/interfaces/datasets/
DILineRadarDataSet.ets60 * as a line, disabling this will give great performance boost. Please note that this method
61 * uses the canvas.clipPath(...) method for drawing the filled area.
DIDataSet.ets82 * If the no Entry at the specified x-value is found, this method
84 * INFORMATION: This method does calculations at runtime. Do
100 * If the no Entry at the specified x-value is found, this method
102 * INFORMATION: This method does calculations at runtime. Do
115 * INFORMATION: This method does calculations at runtime. Do
134 * If the no Entry at the specified x-value is found, this method
136 * INFORMATION: This method does calculations at runtime. Do
158 * This method returns the actual
159 * index in the Entry array of the DataSet for a given xIndex. IMPORTANT: This method does
/developtools/profiler/host/smartperf/trace_streamer/src/rpc/
Dhttp_server.cpp316 if (request.method == "OPTIONS") { in ProcessRequest()
323 } else if (request.method != "POST" && request.method != "GET") { in ProcessRequest()
324 TS_LOGE("method(%s) not allowed, client %d", request.method.c_str(), client.GetFd()); in ProcessRequest()
385 httpReq.method = requestItems[indexHttpMethod]; in ParseRequest()
Dhttp_server.h46 std::string method; member
/developtools/smartperf_host/trace_streamer/src/rpc/
Dhttp_server.cpp317 if (request.method == "OPTIONS") { in ProcessRequest()
324 } else if (request.method != "POST" && request.method != "GET") { in ProcessRequest()
325 TS_LOGE("method(%s) not allowed, client %d", request.method.c_str(), client.GetFd()); in ProcessRequest()
386 httpReq.method = requestItems[indexHttpMethod]; in ParseRequest()
/developtools/smartperf_host/trace_streamer/sdk/dubai_sdk/rpc/
Dhttp_server.h46 std::string method; member
/developtools/smartperf_host/trace_streamer/sdk/demo_sdk/rpc/
Dhttp_server.h46 std::string method; member

123