/external/chromium_org/chrome/browser/chromeos/login/ |
hwid_checker.cc | 31 char checksum[5]; local 33 snprintf(checksum, 5, "%04u", crc32 % 10000); 35 return checksum; 40 std::string checksum; local 41 if (!RE2::FullMatch(hwid, "([\\s\\S]*) (\\d{4})", &body, &checksum)) 43 return CalculateHWIDv2Checksum(body) == checksum; 55 std::string checksum; local 56 checksum += base32_alphabet[(crc32 >> 5) & 0x1f]; 57 checksum += base32_alphabet[crc32 & 0x1f]; 58 return checksum; 74 std::string checksum = local 84 std::string checksum; local 95 std::string not_checksum, checksum; local [all...] |
/external/genext2fs/ |
test.sh | 19 checksum=$1 21 if [ x$md5 = x$checksum ] ; then 31 # Usage: dtest file-size number-of-blocks correct-checksum 33 size=$1; blocks=$2; checksum=$3 36 md5cmp $checksum 43 # Usage: ftest spec-file number-of-blocks correct-checksum 45 fname=$1; blocks=$2; checksum=$3 48 md5cmp $checksum
|
/external/chromium_org/rlz/lib/ |
crc8.h | 19 unsigned char checksum,
|
/external/chromium_org/base/metrics/ |
bucket_ranges_unittest.cc | 20 EXPECT_EQ(0u, ranges.checksum()); 48 // Checksum does not match. 58 TEST(BucketRangesTest, Checksum) { 65 EXPECT_EQ(289217253u, ranges.checksum()); 71 EXPECT_EQ(2843835776u, ranges.checksum()); 79 uint32 checksum = i; local 82 if (checksum & 1) 83 checksum = kReversedPolynomial ^ (checksum >> 1); 85 checksum >>= 1 [all...] |
bucket_ranges.h | 39 uint32 checksum() const { return checksum_; } function in class:base::BucketRanges 40 void set_checksum(uint32 checksum) { checksum_ = checksum; } 48 // Checksum methods to verify whether the ranges are corrupted (e.g. bad 63 // Checksum for the conntents of ranges_. Used to detect random over-writes
|
/external/android-clat/ |
checksum.c | 16 * checksum.c - ipv4/ipv6 checksum calculation 27 #include "checksum.h" 30 * adds data to a checksum 31 * current - the current checksum (or 0 to start a new checksum) 32 * data - the data to add to the checksum 36 uint32_t checksum = current; local 41 checksum += *data_16; 46 checksum += *(uint8_t *)data_16 [all...] |
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 netlink_callbacks.c netlink_msg.c setif.c mtu.c 33 LOCAL_SRC_FILES := clatd_test.cpp checksum.c translate.c icmp.c ipv4.c ipv6.c logging.c config.c
|
checksum.h | 16 * checksum.h - checksum functions 32 uint16_t ip_checksum_adjust(uint16_t checksum, uint32_t old_hdr_sum, uint32_t new_hdr_sum);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
read_checksum_from_png_unittest.py | 34 checksum = read_checksum_from_png.read_checksum(filehandle) 35 self.assertEqual('3c4134fe2739880353f91c5b84cadbaa', checksum) 39 checksum = read_checksum_from_png.read_checksum(filehandle) 40 self.assertIsNone(checksum)
|
/external/chromium_org/net/tools/testserver/ |
echo_message.py | 7 This program has classes and functions to encode, decode, calculate checksum 14 <version><checksum><payload_size><payload>. <version> is the version number 15 of the "echo request" protocol. <checksum> is the checksum of the <payload>. 19 <version><checksum><payload_size><key><encoded_payload>.<version>, 20 <checksum> and <payload_size> are same as what is in the "echo request" message. 36 This class knows how to parse the checksum, payload_size from the 37 "echo request" and "echo response" messages. It holds the checksum, 44 # This specifies the starting position of the checksum and length of the 45 # checksum. Maximum value for the checksum is less than (2 ** 31 - 1) [all...] |
/external/chromium_org/third_party/brotli/src/woff2/ |
normalize.cc | 138 uint32_t checksum = 0; local 140 checksum += ((buf[i] << 24) | 145 return checksum; 149 uint32_t checksum = font.flavor; local 153 checksum += (font.num_tables << 16 | search_range); 154 checksum += (max_pow2 << 16 | range_shift); 156 checksum += i.second.tag; 157 checksum += i.second.checksum; 158 checksum += i.second.offset [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/ |
header.cc | 44 Header::Header(int32_t tag, int64_t checksum, int32_t offset, int32_t length) 50 checksum_(checksum),
|
/external/deqp/external/ |
fetch_sources.py | 14 def __init__(self, url, filename, checksum, dstDir, postExtract=None): 17 self.checksum = checksum 43 checksum = computeChecksum(data) 46 if checksum != pkg.checksum: 47 raise Exception("Checksum mismatch for %s, exepected %s, got %s" % (pkg.filename, pkg.checksum, checksum))
|
/external/chromium_org/sdch/open-vcdiff/src/ |
codetablewriter_interface.h | 26 #include "checksum.h" // VCDChecksum 65 // Adds a checksum to the output. 66 virtual void AddChecksum(VCDChecksum checksum) = 0;
|
encodetable.h | 24 #include "checksum.h" 102 virtual void AddChecksum(VCDChecksum checksum) { 104 checksum_ = checksum; 214 // If true, an Adler32 checksum of the target window data will be written as 219 // The checksum to be written to the current target window, 224 // the checksum all at once and to call AddChecksum() with that value.
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
NonVolatileStore.cpp | 80 unsigned short checksum = 0; local 81 size_t actualReadCrc = read (fileStream, &checksum, sizeof(checksum)); 139 unsigned short checksum = crcChecksumCompute (p_buf, nbytes); local 140 size_t actualWrittenCrc = write (fileStream, &checksum, sizeof(checksum)); 143 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum)))
|
/external/libnfc-nci/src/adaptation/ |
libmain.c | 103 unsigned short checksum = 0; local 104 size_t actualReadCrc = read (fileStream, &checksum, sizeof(checksum)); 164 unsigned short checksum = crcChecksumCompute (pBuffer, nbytes); local 165 size_t actualWrittenCrc = write (fileStream, &checksum, sizeof(checksum)); 168 if ((actualWrittenData == nbytes) && (actualWrittenCrc == sizeof(checksum)))
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
svn-unapply | 74 sub checksum($); 126 sub checksum($) subroutine 131 my $checksum = Digest::MD5->new->addfile(*FILE)->hexdigest(); 133 return $checksum; 199 unlink("$fullPath.orig") if -e "$fullPath.orig" && checksum($fullPath) eq checksum("$fullPath.orig");
|
/external/chromium_org/third_party/jinja2/ |
bccache.py | 61 The buckets get an internal checksum from the cache assigned and use this 66 def __init__(self, environment, key, checksum): 69 self.checksum = checksum 84 checksum = pickle.load(f) 85 if self.checksum != checksum: 95 pickle.dump(self.checksum, f, 2) 169 """Returns a checksum for the source.""" 177 checksum = self.get_source_checksum(source [all...] |
/external/chromium_org/third_party/webrtc/modules/utility/source/ |
file_player_unittests.cc | 61 rtc::Md5Digest checksum; local 67 checksum.Update(out, num_samples * sizeof(out[0])); 75 checksum.Finish(checksum_result, rtc::Md5Digest::kSize));
|
/bionic/libc/kernel/uapi/linux/ |
cycx_cfm.h | 60 unsigned short checksum; member in struct:cycx_firmware
|
romfs_fs.h | 41 __be32 checksum; member in struct:romfs_super_block 50 __be32 checksum; member in struct:romfs_inode
|
/development/ndk/platforms/android-L/include/linux/ |
cycx_cfm.h | 60 unsigned short checksum; member in struct:cycx_firmware
|
romfs_fs.h | 41 __be32 checksum; member in struct:romfs_super_block 50 __be32 checksum; member in struct:romfs_inode
|
/external/kernel-headers/original/uapi/linux/ |
cycx_cfm.h | 80 * @checksum - info + image 89 unsigned short checksum; member in struct:cycx_firmware
|