Home
last modified time | relevance | path

Searched refs:data_str (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/
H A Dhichain_pake_test.cpp233 std::string data_str = "{\"message\":1,\"payload\":{\"version\":{\"currentVersion\":\"1.0.0\"," variable
235 int32_t ret = parse_header(data_str.c_str());
248 std::string data_str = "{\"payload\":{\"support256mod\":true,\"operationCode\":1}}"; variable
249 void *ret = parse_payload(data_str.c_str(), JSON_OBJECT_DATA);
/ohos5.0/base/hiviewdfx/hitrace/tools/hitrace_converter/
H A Dhitrace_converter.py160data_str = data[cpu_raw_read_pos:cpu_raw_read_pos + INT64_DATA_READ_LEN * 2 + INT8_DATA_READ_LEN]
161 data_str_len = len(data_str)
163 struct_page_header = struct.unpack('QQB', data_str)
177 data_str = data[cpu_raw_read_pos:cpu_raw_read_pos + INT32_DATA_READ_LEN + INT16_DATA_READ_LEN]
178 data_str_len = len(data_str)
180 struct_event_header = struct.unpack('LH', data_str)
/ohos5.0/base/msdp/device_status/rust/subsystem/dsoftbus/sys/src/
H A Ddsoftbus.rs665 let data_str = unsafe {CStr::from_ptr(data as *const c_char)}; in on_bytes_received() localVariable
666 let data_slice: &str = data_str.to_str().unwrap(); in on_bytes_received()