Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 69) sorted by relevance

123

/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1Object.java92 ByteBuffer buf = ByteBuffer.allocate(getBerLength()); in encodeBer() local
97 void encodeBer(ByteBuffer buf) { in encodeBer()
120 abstract void encodeBerValue(ByteBuffer buf); in encodeBerValue()
133 void decodeBer(ByteBuffer buf) { in decodeBer()
174 abstract void decodeBerValue(ByteBuffer buf); in decodeBerValue()
180 static byte[] getRemaining(ByteBuffer buf) { in getRemaining()
DAsn1Tag.java97 public void writeTagAndLength(ByteBuffer buf, boolean constructed, int valueLength) { in writeTagAndLength()
102 private void writeTag(ByteBuffer buf, boolean constructed) { in writeTag()
113 static Asn1Tag readTag(ByteBuffer buf) { in readTag()
120 static Asn1Tag peekTag(ByteBuffer buf) { in peekTag()
132 static void writeLength(ByteBuffer buf, int valueLength) { in writeLength()
155 public static int readLength(ByteBuffer buf) { in readLength()
DAsn1Null.java44 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
47 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
DAsn1ParameterObject.java48 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
52 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
DAsn1Boolean.java46 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
50 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
DAsn1Choice.java134 public void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
157 public void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
182 public void decodeBer(ByteBuffer buf) { in decodeBer()
DAsn1Utf8String.java74 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
79 @Override public void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
DAsn1ObjectIdentifier.java56 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
60 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
DAsn1GeneralString.java53 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
57 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
DAsn1OctetString.java70 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
75 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
DAsn1Enumerated.java77 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
81 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
DAsn1BitString.java73 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
89 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
DAsn1SequenceOf.java76 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
82 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
DAsn1BMPString.java54 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
58 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
DAsn1Integer.java100 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
108 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
/cts/tests/tests/net/jni/
DNativeDnsJni.c45 char buf[256]; in Java_android_net_cts_DnsTest_testNativeDns() local
78 char buf[256]; in Java_android_net_cts_DnsTest_testNativeDns() local
114 char buf[NI_MAXHOST]; in Java_android_net_cts_DnsTest_testNativeDns() local
154 char buf[256]; in Java_android_net_cts_DnsTest_testNativeDns() local
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DPacketReflector.java64 private static void swapBytes(byte[] buf, int pos1, int pos2, int len) { in swapBytes()
72 private static void swapAddresses(byte[] buf, int version) { in swapAddresses()
91 private void processTcpPacket(byte[] buf, int version, int len, int hdrLen) { in processTcpPacket()
105 private void processUdpPacket(byte[] buf, int version, int len, int hdrLen) { in processUdpPacket()
121 private void processIcmpPacket(byte[] buf, int version, int len, int hdrLen) { in processIcmpPacket()
175 private void writePacket(byte[] buf, int len) { in writePacket()
183 private int readPacket(byte[] buf) { in readPacket()
/cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
DPingReflector.java63 private void processPacket(byte[] buf, int version, int len, int hdrLen) throws IOException { in processPacket()
90 private void writePacket(byte[] buf) { in writePacket()
98 private int readPacket(byte[] buf) { in readPacket()
/cts/hostsidetests/security/securityPatch/CVE-2017-0426/
Dpoc.c33 struct stat buf; in main() local
/cts/tests/tests/security/jni/
Dandroid_security_cts_EncryptionTest.cpp43 struct statfs buf; in checkEncryptedFileSystem() local
91 uint8_t *buf; in android_security_cts_EncryptionTest_aesIsFast() local
/cts/tests/tests/media/libmediandkjni/
Dmd5_utils.h35 UWORD32 buf[4]; member
Dmd5_utils.cpp28 byteSwap(UWORD32 *buf, unsigned words) { in byteSwap()
66 MD5Update(struct MD5Context *ctx, md5byte const *buf, unsigned len) { in MD5Update()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBroadcastUtils.java40 StringBuilder buf = new StringBuilder(); in toBundleString() local
/cts/tests/tests/alarmclock/common/src/android/alarmclock/common/
DUtils.java44 StringBuilder buf = new StringBuilder(); in toBundleString() local
/cts/tests/tests/keystore/src/android/keystore/cts/
DHexEncoding.java56 public static String encode(ByteBuffer buf) { in encode()

123