/cts/hostsidetests/devicepolicy/app/VpnApp/src/com/android/cts/vpnfirewall/ |
D | IcmpMessage.java | 34 int checksum = stream.readUnsignedShort(); in IcmpMessage() local 48 throw new IOException("Corrupted message. Checksum: " + checksum); in IcmpMessage() 64 int checksum = Rfc1071.checksum(result, result.length); in getEncoded() local 65 result[checksumPosition + 0] = (byte) ((checksum & 0xFF00) >> 8); in getEncoded() 66 result[checksumPosition + 1] = (byte) ((checksum & 0x00FF)); in getEncoded()
|
D | Ipv4Packet.java | 53 int checksum = stream.readUnsignedShort(); in Ipv4Packet() local 81 throw new IOException("Corrupted message. Checksum: " + checksum); in Ipv4Packet() 116 int checksum = Rfc1071.checksum(result, headerLength); in getEncoded() local 117 result[checksumPosition + 0] = (byte) ((checksum & 0xFF00) >> 8); in getEncoded() 118 result[checksumPosition + 1] = (byte) ((checksum & 0x00FF)); in getEncoded()
|
D | Rfc1071.java | 20 static int checksum(byte[] data, int length) { in checksum() method in Rfc1071
|
/cts/tools/utils/ |
D | monsoon.py | 269 checksum = (data_len + sum(struct.unpack("B" * len(data), data))) % 256 270 out = struct.pack("B", data_len) + data + struct.pack("B", checksum) 288 checksum = (data_len + sum(struct.unpack("B" * len(body), body))) % 256 289 if result[-1] != struct.pack("B", checksum):
|
/cts/apps/CtsVerifier/assets/scripts/power_monitors/ |
D | monsoon.py | 390 checksum = (data_len + sum(struct.unpack("B" * len(data), data))) % 256 391 out = struct.pack("B", data_len) + data + struct.pack("B", checksum) 409 checksum = (data_len + sum(struct.unpack("B" * len(body), body))) % 256 410 if result[-1] != struct.pack("B", checksum):
|
/cts/tools/dex-tools/src/dex/reader/ |
D | DexFileReader.java | 36 private int checksum = 0; field in DexFileReader 114 checksum = b.readUInt(); in readChecksum()
|
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/ |
D | T_f1_1.dfh | 7 // parsed: offset 8, len 4: checksum : ec6e3629
|
D | T_f1_7.dfh | 7 // parsed: offset 8, len 4: checksum : 6b8435f0
|
D | T_f1_8.dfh | 7 // parsed: offset 8, len 4: checksum : bd8b37bf
|
D | T_f1_9.dfh | 8 // parsed: offset 8, len 4: checksum : a9763611
|
D | T_f1_3.dfh | 8 // parsed: offset 8, len 4: checksum : df0f35a3
|
D | T_f1_6.dfh | 7 // parsed: offset 8, len 4: checksum : 9bbb37a1
|
D | T_f1_2.dfh | 8 // parsed: offset 8, len 4: checksum : 8bce34e8
|
D | T_f1_4.dfh | 7 // parsed: offset 8, len 4: checksum : 64f33679
|
D | T_f1_5.dfh | 7 // parsed: offset 8, len 4: checksum : 76133706
|
D | T_f1_12.dfh | 7 // parsed: offset 8, len 4: checksum : 07303496
|
/cts/tests/tests/media/libmediandkjni/ |
D | codec-utils-jni.cpp | 62 virtual uint32_t checksum() = 0; 81 uint32_t checksum() { in checksum() function 267 ALOGV("adler %zu/%u", adler.length(), adler.checksum()); in Java_android_media_cts_CodecUtils_getImageChecksumAlder32() 268 return adler.checksum(); in Java_android_media_cts_CodecUtils_getImageChecksumAlder32()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AdaptivePlaybackTest.java | 757 static long checksum(ByteBuffer buf, int size, CRC32 crc) { 982 sum = checksum(mOutputBuffers[ix], info.size, mCRC); 995 sum = mSurface.checksum(); 1734 public long checksum(); 1764 public long checksum() { 1768 return AdaptivePlaybackTest.checksum(mBuf, mBuf.capacity(), mCRC); 1791 public long checksum() {
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/a1/d/ |
D | T_a1_1.dfh | 7 // parsed: offset 8, len 4: checksum : fa4f3449
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/a3/d/ |
D | T_a3_1.dfh | 7 // parsed: offset 8, len 4: checksum : be8e34ae
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/a5/d/ |
D | T_a5_1.dfh | 7 // parsed: offset 8, len 4: checksum : 1acf344e
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_16/d/ |
D | T_goto_16_2.dfh | 7 // parsed: offset 8, len 4: checksum : e5ec3c50
|
D | T_goto_16_3.dfh | 7 // parsed: offset 8, len 4: checksum : 77e43d0f
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/goto_32/d/ |
D | T_goto_32_2.dfh | 7 // parsed: offset 8, len 4: checksum : 66653ef5
|
D | T_goto_32_3.dfh | 7 // parsed: offset 8, len 4: checksum : d7f03cc2
|