/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
NonVolatileStore.cpp | 81 unsigned short checksum = 0; local 82 size_t actualReadCrc = read (fileStream, &checksum, sizeof(checksum)); 140 unsigned short checksum = crcChecksumCompute (p_buf, nbytes); local 141 size_t actualWrittenCrc = write (fileStream, &checksum, sizeof(checksum)); 144 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum)))
|
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/ |
SDL_fbelo.c | 134 int eloGetPacket(unsigned char* buffer, int* buffer_p, int* checksum, int fd) { 160 *checksum = *checksum + buffer[*buffer_p]; 161 *checksum = *checksum % 256; 169 ok = (*checksum == buffer[ELO_PACKET_SIZE-1]); 170 *checksum = ELO_INIT_CHECKSUM; 424 int checksum = ELO_INIT_CHECKSUM; local 427 if(eloGetPacket(buffer, &pointer, &checksum, fd)) {
|
/external/chromium/chrome/browser/safe_browsing/ |
prefix_set.cc | 49 // Used to build a checksum from the data used to construct the 53 uint32 checksum = static_cast<uint32>(sorted_prefixes[0]); local 54 checksum ^= static_cast<uint32>(deltas_.size()); 70 checksum ^= static_cast<uint32>(sorted_prefixes[i]); 71 checksum ^= static_cast<uint32>(deltas_.size()); 75 checksum ^= static_cast<uint32>(delta16); 84 checksum_ = checksum; 332 uint32 checksum = 0; local 335 checksum ^= static_cast<uint32>(index_[ii].first); 336 checksum ^= static_cast<uint32>(index_[ii].second) [all...] |
/external/chromium_org/chrome/browser/metrics/ |
metrics_log_serializer.h | 28 CHECKSUM_CORRUPTION, // Failed to verify checksum. 29 CHECKSUM_STRING_CORRUPTION, // Failed to recover checksum string using 48 // pref list, along with list size and checksum. Logs will be stored starting
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/ |
rebaselineserver_unittest.py | 101 'platform/mac/fast/text-expected.checksum', 145 'platform/mac/fast/image-expected.checksum', 149 'fast/image-actual.checksum', 158 ' Moved image-expected.checksum', 161 ' Updated image-expected.checksum', 190 'platform/mac/fast/image-expected.checksum', 194 'fast/image-actual.checksum', 203 ' Updated image-expected.checksum', 267 'platform/mac/fast/image-expected.checksum', 269 'platform/win/fast/image-expected.checksum', [all...] |
/external/android-clat/ |
Android.mk | 4 LOCAL_SRC_FILES:=clatd.c dump.c checksum.c translate.c icmp.c ipv4.c ipv6.c config.c dns64.c logging.c getaddr.c getroute.c netlink_callbacks.c netlink_msg.c setif.c setroute.c mtu.c
|
/external/chromium_org/chrome/installer/util/ |
duplicate_tree_detector.h | 23 // It notably DOES NOT CHECKSUM the files.
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
read_checksum_from_png_unittest.py | 33 checksum = read_checksum_from_png.read_checksum(filehandle) 34 self.assertEqual('3c4134fe2739880353f91c5b84cadbaa', checksum) 38 checksum = read_checksum_from_png.read_checksum(filehandle) 39 self.assertIsNone(checksum)
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
log_format.h | 29 // Header is checksum (4 bytes), type (1 byte), length (2 bytes).
|
/external/chromium_org/third_party/npapi/bindings/ |
npapi_extensions_private.h | 23 // Used by the Device2D to return the CRC32 checksum of the content
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/11/data/982983255/ |
artifacts.xml | 6 <property name='site.checksum' value='0'/>
|
/external/sfntly/cpp/src/test/ |
test_utils.h | 78 // Calculate an OpenType checksum from the array. 79 // @param b the array to calculate checksum on 82 // @return checksum 84 static int64_t CheckSum(ByteArray* b, int32_t offset, int32_t length);
|
/external/tcpdump/ |
igrp.h | 15 u_int16_t ig_sum; /* checksum of IGRP header & data */
|
ipx.h | 18 u_int16_t cksum; /* Checksum */
|
/external/zlib/src/contrib/ada/ |
buffer_demo.adb | 15 -- few bytes passed in to Zlib are checksum bytes. 65 -- contain checksum information and there will be no output, only a 66 -- check inside Zlib that the checksum is correct). 75 -- only Adler checksum data.
|
/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/ |
OverlayBaseTest.java | 21 int ch, checksum = 0; local 23 checksum = (checksum + ch) % 0xffddbb00; 25 return checksum;
|
/external/chromium_org/third_party/jinja2/ |
bccache.py | 66 The buckets get an internal checksum from the cache assigned and use this 71 def __init__(self, environment, key, checksum): 74 self.checksum = checksum 89 checksum = pickle.load(f) 90 if self.checksum != checksum: 100 pickle.dump(self.checksum, f, 2) 174 """Returns a checksum for the source.""" 182 checksum = self.get_source_checksum(source [all...] |
/external/chromium_org/chrome/browser/net/ |
probe_message.h | 45 // Compute the checksum of the padding string. 46 uint32 Checksum(const std::string& str) const;
|
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
ocb_decrypt.c | 61 /* compute checksum */ 63 ocb->checksum[x] ^= pt[x];
|
ocb_encrypt.c | 42 /* compute checksum */ 44 ocb->checksum[x] ^= pt[x];
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/ |
CrcFunction.java | 25 import java.util.zip.Checksum; 40 Checksum crc = new CRC32();
|
/frameworks/av/include/drm/ |
DrmConvertedStatus.h | 26 * data/checksum data and the offset. Offset is going to be used in the case of close 46 * @param[in] _convertedData Converted data/checksum data
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_codec.h | 61 // Returns the checksum computed during last encoding/decoding call. 64 // Returns the checksum that's stored in the file. After a call to Encode, 65 // the computed and stored checksums are the same since the computed checksum 66 // is stored to the file. After a call to decode, the computed checksum can 67 // differ from the stored checksum if the file contents were changed by the 137 // Initializes/Finalizes the checksum.
|
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_codec.h | 60 // Returns the checksum computed during last encoding/decoding call. 63 // Returns the checksum that's stored in the file. After a call to Encode, 64 // the computed and stored checksums are the same since the computed checksum 65 // is stored to the file. After a call to decode, the computed checksum can 66 // differ from the stored checksum if the file contents were changed by the 144 // Initializes/Finalizes the checksum.
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherBackupHelper.java | 638 * <P> Keys contain their own checksum instead of using 645 key.checksum = checkKey(key); 651 * <P> Keys contain their own checksum instead of using 658 key.checksum = checkKey(key); 671 if (key.checksum != checkKey(key)) { 707 /** Compute the checksum over the important bits of a key. */ 709 CRC32 checksum = new CRC32(); local 710 checksum.update(key.type); 711 checksum.update((int) (key.id & 0xffff)); 712 checksum.update((int) ((key.id >> 32) & 0xffff)) 976 CRC32 checksum = new CRC32(); local 987 CRC32 checksum = new CRC32(); local [all...] |