/base/security/device_security_level/services/dslm/ |
H A D | dslm_msg_utils.c | 43 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 D | event_info.h | 29 EventInfo(EventId id, TaskBody body) : eventId(id), taskBody(std::move(body)) {} in EventInfo()
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | vendor.cpp | 244 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 D | vendor.h | 44 void InitLogBody(const std::vector<WatchPoint>& list, std::ostringstream& body,
|
/base/print/print_fwk/utils/include/ |
H A D | print_ipp_over_usb_util.h | 170 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 D | file_parser.py | 95 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 D | make_ctocpp_impl.py | 355 def ctocpp_make_include_files(cls, body, header, dir_name): 356 result = file_parser.format_translation_includes(header, dir_name, body)
|
H A D | make_cpptoc_impl.py | 328 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 D | dfx_signal_handler.c | 219 (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 D | dfx_dump_request.h | 98 char body[MAX_FATAL_MSG_SIZE]; member
|
/base/request/request/frameworks/js/napi/src/ |
H A D | napi_utils.cpp | 194 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 D | process_dumper.cpp | 376 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 D | download.rs | 65 .body(response)
|
H A D | request_task.rs | 374 let request = request_builder.body(Body::slice(self.conf.data.clone()))?;
|