Home
last modified time | relevance | path

Searched defs:encode (Results 1 – 25 of 47) 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()
/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/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/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
/aosp14/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/
H A DMainActivityTest.java30 private byte[] encode(View view) throws ClassNotFoundException, NoSuchMethodException, in encode() method in MainActivityTest
/aosp14/frameworks/base/core/java/android/util/
H A DBase64OutputStream.java63 public Base64OutputStream(OutputStream out, int flags, boolean encode) { in Base64OutputStream()
H A DBase64InputStream.java61 public Base64InputStream(InputStream in, int flags, boolean encode) { in Base64InputStream()
H A DBase64.java495 public static byte[] encode(byte[] input, int flags) { in encode() method in Base64
511 public static byte[] encode(byte[] input, int offset, int len, int flags) { in encode() method in Base64
/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
/aosp14/frameworks/base/services/core/java/com/android/server/security/rkp/
H A DRemoteProvisioningShellCommand.java222 private byte[] encode(DataItem item) throws CborException { in encode() method in RemoteProvisioningShellCommand
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbMidiPacketConverter.java237 public byte[] encode(byte[] midiBytes, int size) { in encode() method in UsbMidiPacketConverter.UsbMidiEncoder
/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
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A DScreenInternalAudioRecorder.java234 private void encode(byte[] buffer, int readBytes) { in encode() method in ScreenInternalAudioRecorder
/aosp14/frameworks/base/libs/hwui/jni/
H A DYuvToJpegEncoder.cpp102 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width, in encode() function in YuvToJpegEncoder
336 bool P010Yuv420ToJpegREncoder::encode(JNIEnv* env, in encode() function in P010Yuv420ToJpegREncoder
/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
/aosp14/frameworks/base/core/java/com/android/internal/net/
H A DVpnProfile.java417 public byte[] encode() { in encode() method in VpnProfile

12