Searched defs:checksum (Results 1 - 8 of 8) sorted by last modified time

/frameworks/rs/cpu_ref/
H A DrsCpuExecutable.cpp326 uint32_t checksum = 0; local
658 if (sscanf(line, CHECKSUM_STR "%08x", &checksum) != 1) {
659 ALOGE("Invalid checksum flag!: %s", line);
663 ALOGE("Missing checksum in shared obj file");
667 if (expectedChecksum != 0 && checksum != expectedChecksum) {
668 ALOGE("Found invalid checksum. Expected %08x, got %08x\n",
669 expectedChecksum, checksum);
694 numEntries, isThreadable, checksum);
H A DrsCpuScript.cpp170 // The checksum is unnecessary under a few conditions, since the primary
173 // application ahead of time (and thus the checksum is completely
174 // unnecessary). The checksum is also unnecessary on release (non-debug)
189 bool addFileToChecksum(const char *fileName, uint32_t &checksum) { argument
192 ALOGE("Cannot open file \'%s\' to compute checksum", fileName);
200 ALOGE("Error while computing checksum for file \'%s\'", fileName);
204 checksum = adler32(checksum, (const unsigned char *) buf, nread);
210 ALOGE("Cannot close file \'%s\' after computing checksum", fileName);
227 uint32_t checksum local
[all...]
H A DrsCpuScriptGroup2.cpp410 uint32_t checksum = constructBuildChecksum(nullptr, 0, cmdLine.get(), local
413 if (checksum == 0) {
418 ss << std::hex << checksum; local
422 // Try to load a shared lib from code cache matching filename and checksum
435 mScriptObj, checksum);
438 // The loaded shared library in mScriptObj has a matching checksum.
444 "mismatching checksum");
468 arguments.push_back("-build-checksum");
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/compile/mclinker/lib/LD/
H A DIdenticalCodeFolding.cpp189 uint32_t checksum = ::crc32(0xFFFFFFFF, local
193 size_t count = checksum_map.count(checksum);
195 checksum_map.insert(std::make_pair(checksum, index));
198 checksum_map.equal_range(checksum);
/frameworks/base/services/net/java/android/net/dhcp/
H A DDhcpPacket.java377 // needed to seed the IP checksum.
389 buf.putShort((short) 0); // checksum
402 buf.putShort((short) 0); // UDP checksum -- initially zero
442 // fix UDP header: checksum
443 // checksum for UDP at udpChecksumOffset
447 // values from the IP header and accumulate checksum.
456 // and compute UDP checksum
457 buf.putShort(udpChecksumOffset, (short) checksum(buf, udpSeed,
462 // fixup IP-header checksum
464 (short) checksum(bu
481 private int checksum(ByteBuffer buf, int seed, int start, int end) { method in class:DhcpPacket
[all...]
/frameworks/base/services/net/java/android/net/util/
H A DIpUtils.java42 * Performs an IP checksum (used in IP header and across UDP
44 * allows the checksum to commence with a specified value.
46 private static int checksum(ByteBuffer buf, int seed, int start, int end) { method in class:IpUtils
107 return (short) checksum(buf, 0, headerOffset, headerOffset + ihl * 4);
125 sum = checksum(buf, sum, transportOffset, transportOffset + transportLen);
/frameworks/base/core/java/android/app/backup/
H A DBlobBackupHelper.java87 * [Long] blob checksum, calculated after compression
105 long checksum = in.readLong();
107 Log.i(TAG, " key '" + key + "' checksum is " + checksum);
109 state.put(key, checksum);
147 final long checksum = state.valueAt(i).longValue();
149 Log.i(TAG, " writing key " + key + " checksum = " + checksum);
152 out.writeLong(checksum);
218 private long checksum(byt method in class:BlobBackupHelper
[all...]

Completed in 188 milliseconds