Home
last modified time | relevance | path

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

1234

/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()
DAsn1BitString.java73 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
89 @Override void decodeBerValue(ByteBuffer buf) { in decodeBerValue()
DAsn1Enumerated.java77 @Override void encodeBerValue(ByteBuffer buf) { in encodeBerValue()
81 @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()
/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
155 char buf[256]; in Java_android_net_cts_DnsTest_testNativeDns() local
DNativeMultinetworkJni.cpp73 int makeQuery(const char* name, int qtype, uint8_t* buf, size_t buflen) { in makeQuery()
77 int getAsyncResponse(JNIEnv* env, int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse()
93 int extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int family) { in extractIpAddressAnswers()
122 uint8_t buf[MAXPACKET] = {}; in expectAnswersValid() local
138 uint8_t buf[MAXPACKET] = {}; in expectAnswersNotValid() local
278 uint8_t buf[10] = {}; in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck() local
375 char buf[kSockaddrStrLen+1]; in sockaddr_ntop() local
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DPacketReflector.java67 private static void swapBytes(byte[] buf, int pos1, int pos2, int len) { in swapBytes()
75 private static void swapAddresses(byte[] buf, int version) { in swapAddresses()
94 private void processTcpPacket(byte[] buf, int version, int len, int hdrLen) { in processTcpPacket()
108 private void processUdpPacket(byte[] buf, int version, int len, int hdrLen) { in processUdpPacket()
124 private void processIcmpPacket(byte[] buf, int version, int len, int hdrLen) { in processIcmpPacket()
186 private void writePacket(byte[] buf, int len) { in writePacket()
194 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/tests/tests/net/native/dns/
DNativeDnsAsyncTest.cpp37 int getAsyncResponse(int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse()
57 std::vector<std::string> extractIpAddressAnswers(uint8_t* buf, size_t bufLen, int ipType) { in extractIpAddressAnswers()
80 uint8_t buf[MAXPACKET] = {}; in expectAnswersValid() local
97 uint8_t buf[MAXPACKET] = {}; in expectAnswersNotValid() local
166 uint8_t buf[MAXPACKET] = {}; in TEST() local
225 uint8_t buf[10] = {}; in TEST() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0426/
Dpoc.c33 struct stat buf; in main() local
/cts/tests/tests/media/libmediandkjni/
Dmd5_utils.h35 UWORD32 buf[4]; member
/cts/hostsidetests/cpptools/test-apps/ConnectorNativeProgram/
Dconnector.cpp57 char buf[kBufferSize]; in main() local
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/
DInMemoryDexClassLoaderFactory.java45 ByteBuffer buf = ByteBuffer.allocate(zipEntrySize); in instantiateClassLoader() local
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBroadcastUtils.java40 StringBuilder buf = new StringBuilder(); in toBundleString() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBroadcastUtils.java40 StringBuilder buf = new StringBuilder(); in toBundleString() local

1234