Home
last modified time | relevance | path

Searched defs:encode (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dstream_impl.cpp28 …std::unique_ptr<char[]>, size_t> DecodeString(const std::string& buffer, const std::string& encode) in DecodeString()
63 int64_t offset, const std::string& encode) in GetWriteArg()
196 …int64_t> StreamImpl::WriteCur(const std::string& buffer, int64_t length, const std::string& encode) in WriteCur()
217 const std::string& encode) in Write()
H A Dstream_ffi.cpp45 RetDataI64 FfiOHOSStreamWriteCur(int64_t id, const char* buffer, int64_t length, const char* encode) in FfiOHOSStreamWriteCur()
64 …OHOSStreamWrite(int64_t id, const char* buffer, int64_t length, int64_t offset, const char* encode) in FfiOHOSStreamWrite()
H A Dfile_fs_ffi.cpp141 …I64 FfiOHOSFileFsWrite(int32_t fd, char* buffer, size_t length, int64_t offset, const char* encode) in FfiOHOSFileFsWrite()
153 RetDataI64 FfiOHOSFileFsWriteCur(int32_t fd, char* buffer, size_t length, const char* encode) in FfiOHOSFileFsWriteCur()
H A Dfile_fs_impl.cpp848 …DataI64 FileFsImpl::Write(int32_t fd, char* buf, size_t length, int64_t offset, std::string encode) in Write()
890 RetDataI64 FileFsImpl::WriteCur(int32_t fd, char* buf, size_t length, std::string encode) in WriteCur()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/
H A Dmod.rs21 mod encode; module
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/
H A Dbase64.rs16 pub(crate) fn encode(input: &[u8]) -> Vec<u8> { in encode() function
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/representation/
H A Dencoder.rs227 pub(crate) fn encode(self, dst: &mut [u8]) -> Result<usize, Self> { in encode() method
254 fn encode(self, dst: &mut [u8]) -> Result<usize, ReprEncodeState> { in encode() method
277 fn encode(self, dst: &mut [u8]) -> Result<usize, ReprEncodeState> { in encode() method
300 fn encode(self, dst: &mut [u8]) -> Result<usize, ReprEncodeState> { in encode() method
323 fn encode(self, dst: &mut [u8]) -> Result<usize, ReprEncodeState> { in encode() method
346 fn encode(self, dst: &mut [u8]) -> Result<usize, ReprEncodeState> { in encode() method
369 fn encode(self, dst: &mut [u8]) -> Result<usize, ReprEncodeState> { in encode() method
440 fn encode(mut self, dst: &mut [u8]) -> Result<usize, Self> { in encode() method
483 fn encode(mut self, dst: &mut [u8]) -> Result<usize, Self> { in encode() method
511 fn encode(mut self, dst: &mut [u8]) -> Result<usize, Self> { in encode() method
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/format/
H A Dencoder.rs77 pub(crate) fn encode( in encode() method
379 fn encode(self, dst: &mut [u8]) -> Result<usize, ReprEncodeState> { in encode() method
409 fn encode(self, dst: &mut [u8]) -> Result<usize, ReprEncodeState> { in encode() method
431 fn encode(self, dst: &mut [u8]) -> Result<usize, ReprEncodeState> { in encode() method
463 fn encode(self, dst: &mut [u8]) -> Result<usize, ReprEncodeState> { in encode() method
510 fn encode(self, dst: &mut [u8]) -> Result<usize, ReprEncodeState> { in encode() method
542 fn encode(self, dst: &mut [u8]) -> Result<usize, ReprEncodeState> { in encode() method
583 fn encode(self, dst: &mut [u8]) -> Result<usize, ReprEncodeState> { in encode() method
660 fn encode(mut self, dst: &mut [u8]) -> Result<usize, Self> { in encode() method
701 fn encode(mut self, dst: &mut [u8]) -> Result<usize, Self> { in encode() method
[all …]
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h1/request/
H A Dencoder.rs251 pub fn encode(&mut self, dst: &mut [u8]) -> Result<usize, HttpError> { in encode() method
429 fn encode(&mut self, buf: &mut [u8]) -> TokenResult<usize> { in encode() method
460 fn encode(&mut self, buf: &mut [u8]) -> TokenResult<usize> { in encode() method
482 fn encode(&mut self, buf: &mut [u8]) -> TokenResult<usize> { in encode() method
533 fn encode(&mut self, buf: &mut [u8]) -> TokenResult<usize> { in encode() method
622 fn encode(&mut self, buf: &mut [u8]) -> TokenResult<usize> { in encode() method
638 fn encode(&mut self, buf: &mut [u8]) -> TokenResult<usize> { in encode() method
/ohos5.0/build/lite/
H A Dutils.py27 def encode(data, encoding: str = 'utf-8'): function
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/
H A Dencoder.rs49 pub(crate) fn encode(&mut self, dst: &mut [u8]) -> usize { in encode() method
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/feedingsmoother/derived/
H A Ddcamera_time_statistician.cpp27 int64_t encode = frameInfo.timePonit.finishEncode - frameInfo.timePonit.startEncode; in CalProcessTime() local
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/qpack/
H A Dinteger.rs34 pub(crate) fn encode(mut self, dst: &mut [u8]) -> Result<usize, Self> { in encode() method
/ohos5.0/commonlibrary/rust/ylong_json/src/
H A Dencoder.rs37 pub(crate) fn encode(&mut self, value: &JsonValue) -> Result<(), Error> { in encode() method
177 pub(crate) fn encode(&mut self, value: &JsonValue) -> Result<(), Error> { in encode() method
/ohos5.0/base/security/device_auth/common_lib/interfaces/
H A Dhc_tlv_parser.h40 int32_t (*encode)(struct TlvBaseT *, HcParcel *); member
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/
H A Dheaders.rs99 pub(crate) fn encode(&mut self, dst: &mut [u8]) -> TokenResult<usize> { in encode() method
/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_sms_test.cpp880 auto encode = std::make_shared<GsmUserDataEncode>(udPdu); variable
1034 …auto encode = std::make_shared<GsmSmsTpduEncode>(tpduCodec->uDataCodec_, tpduCodec->paramCodec_, t… variable
1072 …auto encode = std::make_shared<GsmSmsTpduEncode>(tpduCodec->uDataCodec_, tpduCodec->paramCodec_, t… variable
1122 …auto encode = std::make_shared<GsmSmsTpduEncode>(tpduCodec->uDataCodec_, tpduCodec->paramCodec_, t… variable
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/adapter/
H A Dp2p_adapter.cpp259 uint8_t encode[CFG_DATA_MAX_BYTES] = { 0 }; in GetSelfWifiConfigInfo() local
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
H A Drequest.rs396 pub fn encode(url: &str) -> Result<String, HttpClientError> { in encode() method
/ohos5.0/base/security/certificate_manager/interfaces/kits/napi/src/dialog/
H A Dcm_napi_dialog_common.cpp294 std::string encode = EncodeBase64(data, length); in GetUint8ArrayToBase64Str() local
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h3/
H A Dencoder.rs146 pub fn encode(&mut self, buf: &mut [u8]) -> Result<usize, Err> { in encode() method
/ohos5.0/commonlibrary/ets_utils/js_util_module/util/
H A Dnative_module_util.cpp1036 int32_t encode = 0; in EncodeToStringHelper() local
1054 int32_t encode = 0; in EncodeBase64Helper() local
1071 int32_t encode = 0; in EncodeAsyncHelper() local
1085 int32_t encode = 0; in EncodeToStringAsyncHelper() local
1100 int32_t encode = 0; in DecodeBase64Helper() local
1118 int32_t encode = 0; in DecodeAsyncHelper() local
/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_engine.cpp425 const char* encode) in SubEncodeToChinese()
479 auto encode = encoding.c_str(); in EncodeToChinese() local
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/body/
H A Dchunk.rs448 fn encode(&mut self, src: &[u8], dst: &mut [u8]) -> (usize, Option<StatusVar>) { in encode() method
583 fn encode(&mut self, buf: &mut [u8]) -> Token<usize> { in encode() method
599 fn encode(&mut self, buf: &mut [u8]) -> Token<usize> { in encode() method
615 fn encode(&mut self, src: &[u8], buf: &mut [u8]) -> Token<usize> { in encode() method
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_file/class_file/
H A Dfile_n_exporter.cpp1253 string encode = (encoding == nullptr) ? ENCODING_UTF8 : encoding.get(); in WriteText() local
1356 string encode = (encoding == nullptr) ? ENCODING_UTF8 : encoding.get(); in ReadText() local

12