Home
last modified time | relevance | path

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

12345

/aosp12/hardware/interfaces/identity/support/include/cppbor/
H A Dcppbor.h159 void encode(OutputIterator i) const { in encode() function
166 std::vector<uint8_t> encode() const { in encode() function
231 uint8_t* encode(uint8_t* pos, const uint8_t* end) const override { in encode() function
234 void encode(EncodeCallback encodeCallback) const override { in encode() function
267 uint8_t* encode(uint8_t* pos, const uint8_t* end) const override { in encode() function
270 void encode(EncodeCallback encodeCallback) const override { in encode() function
320 void encode(EncodeCallback encodeCallback) const override { in encode() function
370 void encode(EncodeCallback encodeCallback) const override { in encode() function
612 uint8_t* encode(uint8_t* pos, const uint8_t* end) const override { in encode() function
615 void encode(EncodeCallback encodeCallback) const override { in encode() function
[all …]
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/util/
H A DHexEncoding.java53 public static char[] encode(byte[] data) { in encode() method in HexEncoding
60 public static char[] encode(byte[] data, boolean upperCase) { in encode() method in HexEncoding
67 public static char[] encode(byte[] data, int offset, int len) { in encode() method in HexEncoding
74 private static char[] encode(byte[] data, int offset, int len, boolean upperCase) { in encode() method in HexEncoding
/aosp12/hardware/interfaces/identity/support/src/
H A Dcppbor.cpp150 uint8_t* Bstr::encode(uint8_t* pos, const uint8_t* end) const { in encode() function in cppbor::Bstr
162 uint8_t* Tstr::encode(uint8_t* pos, const uint8_t* end) const { in encode() function in cppbor::Tstr
183 uint8_t* CompoundItem::encode(uint8_t* pos, const uint8_t* end) const { in encode() function in cppbor::CompoundItem
193 void CompoundItem::encode(EncodeCallback encodeCallback) const { in encode() function in cppbor::CompoundItem
/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()
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
H A DEapSimAkaAttribute.java187 public void encode(ByteBuffer buffer) { in encode() method in EapSimAkaAttribute.EapSimAkaReservedBytesAttribute
238 public void encode(ByteBuffer byteBuffer) { in encode() method in EapSimAkaAttribute.EapSimAkaUnsupportedAttribute
282 public void encode(ByteBuffer byteBuffer) { in encode() method in EapSimAkaAttribute.AtVersionList
323 public void encode(ByteBuffer byteBuffer) { in encode() method in EapSimAkaAttribute.AtSelectedVersion
376 public void encode(ByteBuffer byteBuffer) { in encode() method in EapSimAkaAttribute.AtNonceMt
474 public void encode(ByteBuffer byteBuffer) { in encode() method in EapSimAkaAttribute.AtIdentity
554 public void encode(ByteBuffer byteBuffer) { in encode() method in EapSimAkaAttribute.AtRandSim
596 public void encode(ByteBuffer byteBuffer) { in encode() method in EapSimAkaAttribute.AtRandAka
628 public void encode(ByteBuffer byteBuffer) { in encode() method in EapSimAkaAttribute.AtPadding
678 public void encode(ByteBuffer byteBuffer) { in encode() method in EapSimAkaAttribute.AtMac
[all …]
/aosp12/hardware/ril/include/telephony/
H A Dril_mnc.h75 static inline int encode(int mnc, int numDigits) { in encode() function
98 static inline int encode(const std::string & mnc) { 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/body/mime/
H A Dmod.rs21 mod encode; module
/aosp12/packages/modules/common/tools/
H A Dconv_classpaths_proto.py23 def encode(args): function
/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
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapbMessageEmail.java56 public byte[] encode() throws UnsupportedEncodingException { in encode() method in BluetoothMapbMessageEmail
H A DBluetoothMapbMessageSms.java78 public byte[] encode() throws UnsupportedEncodingException { in encode() method in BluetoothMapbMessageSms
H A DBluetoothMapMessageListing.java91 public byte[] encode(boolean includeThreadId, String version) in encode() method in BluetoothMapMessageListing
/aosp12/frameworks/compile/mclinker/include/mcld/Support/
H A DLEB128.h96 size_t encode(char*& pBuf, IntType pValue) { in encode() function
/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
/aosp12/frameworks/native/libs/gralloc/types/tests/
H A DGralloc4_test.cpp75 void testHelper(const T& input, EncodeFunction<T> encode, DecodeFunction<T> decode) { in testHelper()
84 void testHelperConst(const T& input, EncodeConstFunction<T> encode, DecodeFunction<T> decode) { in testHelperConst()
93 void testHelperMetadataType(const T& input, EncodeMetadataTypeFunction<T> encode, DecodeMetadataTyp… in testHelperMetadataType()
103 void testHelperMetadataTypeConst(const T& input, EncodeMetadataTypeConstFunction<T> encode, DecodeM… in testHelperMetadataTypeConst()
113 void testHelperStableAidlType(const T& input, EncodeConstFunction<T> encode, DecodeFunction<T> deco… in testHelperStableAidlType()
122 …d testHelperStableAidlTypeOptional(const std::optional<T>& input, EncodeOptionalFunction<T> encode, in testHelperStableAidlTypeOptional()
/aosp12/frameworks/opt/net/voip/src/jni/rtp/
H A DG711Codec.cpp47 int UlawCodec::encode(void *payload, int16_t *samples) in encode() function in __anon4aa8fb9b0110::UlawCodec
98 int AlawCodec::encode(void *payload, int16_t *samples) in encode() function in __anon4aa8fb9b0110::AlawCodec
H A DAmrCodec.cpp100 int AmrCodec::encode(void *payload, int16_t *samples) in encode() function in __anonba7e5dbb0110::AmrCodec
224 int GsmEfrCodec::encode(void *payload, int16_t *samples) in encode() function in __anonba7e5dbb0110::GsmEfrCodec
H A DGsmCodec.cpp52 int GsmCodec::encode(void *payload, int16_t *samples) in encode() function in __anonec29f7e20110::GsmCodec
/aosp12/frameworks/base/core/java/android/os/
H A DBytesMatcher.java77 public void encode(@NonNull StringBuilder builder) { in encode() method in BytesMatcher.Rule
243 public static @NonNull String encode(@NonNull BytesMatcher matcher) { in encode() method in BytesMatcher
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/
H A DUtility.java55 private static byte[] encode(Charset charset, String s) { in encode() method in Utility
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/mschapv2/
H A DEapMsChapV2TypeData.java83 public byte[] encode() { in encode() method in EapMsChapV2TypeData
185 public byte[] encode() { in encode() method in EapMsChapV2TypeData.EapMsChapV2ChallengeResponse
286 public byte[] encode() { in encode() method in EapMsChapV2TypeData.EapMsChapV2SuccessResponse
409 public byte[] encode() { in encode() method in EapMsChapV2TypeData.EapMsChapV2FailureResponse
/aosp12/system/extras/verity/fec/tests/
H A Dfec.py44 def encode(image, fec, roots): function

12345