Home
last modified time | relevance | path

Searched refs:pos2 (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/async/
DBufferedFile.java209 byte[] buffer2, int pos2, int len2) { in enqueueOutboundData() argument
211 Assertions.throwsIfOutOfBounds(buffer2, pos2, len2); in enqueueOutboundData()
226 mOutboundBuffer.writeBytes(buffer2, pos2, len2); in enqueueOutboundData()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DPacketReflectorUtil.kt116 fun swapBytes(buf: ByteArray, pos1: Int, pos2: Int, len: Int) { in swapBytes()
119 buf[pos1 + i] = buf[pos2 + i] in swapBytes()
120 buf[pos2 + i] = b in swapBytes()
/packages/modules/StatsD/statsd/tests/
Dmetadata_util_test.cpp31 int pos2[] = {1, 1, 2}; in TEST() local
35 Field field2(10, pos2, 2); in TEST()
DFieldValue_test.cpp405 int pos2[] = {1, 1, 2}; in TEST() local
409 Field field2(10, pos2, 2); in TEST()
686 int pos2[] = {1, 1, 2}; in TEST() local
692 Field field2(atomId, pos2, /*depth=*/2); in TEST()
737 int pos2[] = {1, 1, 2}; in TEST() local
741 Field field2(10, pos2, 2); in TEST()
799 int pos2[] = {1, 1, 2}; in TEST() local
803 Field field2(10, pos2, 2); in TEST()
1193 int pos2[] = {1, 1, 2}; // attribution tag in TEST() local
1200 Field field2(10, pos2, 2); in TEST()
Dstatsd_test_util.cpp669 int pos2[] = {2, 0, 0}; in getOverlayKey() local
672 Field field2(59 /* atom id */, pos2, 0 /* depth */); in getOverlayKey()
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp54 std::string::size_type pos2 = aid.find_first_of(delimiter); in AidBuffer() local
60 if (pos2 == std::string::npos) { in AidBuffer()
66 sscanf(aid.substr(pos1, pos2 - pos1 + 1).c_str(), "%x", &num); in AidBuffer()
69 pos1 = pos2 + 1; in AidBuffer()
70 pos2 = aid.find_first_of(delimiter, pos1); in AidBuffer()