Home
last modified time | relevance | path

Searched refs:body (Results 1 - 14 of 14) sorted by relevance

/base/security/device_security_level/services/dslm/
H A Ddslm_msg_utils.c43 DslmJsonHandle body = DslmCreateJson(NULL); in GenerateSecInfoResponseJson() local
44 if (body == NULL) { in GenerateSecInfoResponseJson()
50 DslmAddFieldJsonToJson(head, FIELD_PAYLOAD, body); in GenerateSecInfoResponseJson()
52 DslmAddFieldIntToJson(body, FIELD_VERSION, (int32_t)GetCurrentVersion()); in GenerateSecInfoResponseJson()
53 DslmAddFieldIntToJson(body, FIELD_CRED_TYPE, cred->type); in GenerateSecInfoResponseJson()
59 DslmAddFieldStringToJson(body, FIELD_CHALLENGE, nonce); in GenerateSecInfoResponseJson()
63 DslmAddFieldStringToJson(body, FIELD_CRED_INFO, (char *)credBase64Str); in GenerateSecInfoResponseJson()
68 body = NULL; // no need to free body in GenerateSecInfoResponseJson()
71 if (body ! in GenerateSecInfoResponseJson()
86 DslmJsonHandle body = DslmCreateJson(NULL); GenerateSecInfoRequestJson() local
[all...]
/base/update/updateservice/interfaces/inner_api/feature/update/model/event/
H A Devent_info.h29 EventInfo(EventId id, TaskBody body) : eventId(id), taskBody(std::move(body)) {} in EventInfo()
/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dvendor.cpp244 void Vendor::InitLogBody(const std::vector<WatchPoint>& list, std::ostringstream& body, in InitLogBody() argument
253 DumpEventInfo(body, HEADER, node); in InitLogBody()
273 DumpEventInfo(body, HEADER, node); in InitLogBody()
277 body << std::string(HEADER) << std::endl; in InitLogBody()
278 body << ifs.rdbuf(); in InitLogBody()
305 std::ostringstream body; in MergeEventLog() local
307 InitLogBody(list, body, isFileExists); in MergeEventLog()
308 HIVIEW_LOGI("After Init --body size: %{public}zu.", body.str().size()); in MergeEventLog()
311 HIVIEW_LOGE("Failed to open the body fil in MergeEventLog()
[all...]
H A Dvendor.h44 void InitLogBody(const std::vector<WatchPoint>& list, std::ostringstream& body,
/base/print/print_fwk/utils/include/
H A Dprint_ipp_over_usb_util.h170 std::string body; in ConstructHttpResponse() local
173 body += bufTmp[index]; in ConstructHttpResponse()
176 httpResponse.body = body; in ConstructHttpResponse()
/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dfile_parser.py95 def get_prev_line(body, pos):
99 end = body.rfind('\n', 0, pos)
100 start = body.rfind('\n', 0, end) + 1
101 line = body[start:end]
105 def get_comment(body, name):
109 pos = body.find(name)
112 data = get_prev_line(body, pos)
187 def format_translation_includes(header, dir_name, body):
189 body.
194 if body
[all...]
H A Dmake_ctocpp_impl.py355 def ctocpp_make_include_files(cls, body, header, dir_name):
356 result = file_parser.format_translation_includes(header, dir_name, body)
H A Dmake_cpptoc_impl.py328 def cpptoc_make_include_file(cls, body, header, dir_name):
329 result = file_parser.format_translation_includes(header, dir_name, body)
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/
H A Ddfx_signal_handler.c219 (void)strncpy(g_request.msg.body, lastFatalMessage, sizeof(g_request.msg.body) - 1); in FillLastFatalMessageLocked()
234 (void)strncpy(g_request.msg.body, dMsg->msg, sizeof(g_request.msg.body) - 1); in FillMessageBodyLocked()
325 callback(g_request.msg.body, sizeof(g_request.msg.body), context); in FillDumpRequest()
/base/hiviewdfx/faultloggerd/interfaces/common/
H A Ddfx_dump_request.h98 char body[MAX_FATAL_MSG_SIZE]; member
/base/request/request/frameworks/js/napi/src/
H A Dnapi_utils.cpp194 napi_value body = nullptr; in Convert2JSHeadersAndBody() local
196 napi_create_string_utf8(env, reinterpret_cast<const char *>(bodyBytes.data()), bodyBytes.size(), &body); in Convert2JSHeadersAndBody()
199 napi_create_arraybuffer(env, bodyBytes.size(), reinterpret_cast<void **>(&data), &body); in Convert2JSHeadersAndBody()
211 napi_set_named_property(env, object, "body", body); in Convert2JSHeadersAndBody()
214 napi_set_named_property(env, headers, "body", body); in Convert2JSHeadersAndBody()
/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Dprocess_dumper.cpp376 request->msg.body[MAX_FATAL_MSG_SIZE - 1] = '\0'; in ReadRequestAndCheck()
695 process_->SetFatalMessage(request->msg.body); in InitProcessInfo()
/base/request/request/services/src/task/
H A Ddownload.rs65 .body(response)
H A Drequest_task.rs374 let request = request_builder.body(Body::slice(self.conf.data.clone()))?;

Completed in 11 milliseconds