/external/chromium_org/third_party/skia/src/core/ |
SkPicture.cpp | 267 static const char kMagic[] = { 's', 'k', 'i', 'a', 'p', 'i', 'c', 't' }; 275 char magic[sizeof(kMagic)]; 276 stream->read(magic, sizeof(kMagic)); 277 if (0 != memcmp(magic, kMagic, sizeof(kMagic))) { 349 SkASSERT(sizeof(kMagic) == 8); 350 stream->write(kMagic, sizeof(kMagic));
|
/external/skia/src/core/ |
SkPicture.cpp | 267 static const char kMagic[] = { 's', 'k', 'i', 'a', 'p', 'i', 'c', 't' }; 275 char magic[sizeof(kMagic)]; 276 stream->read(magic, sizeof(kMagic)); 277 if (0 != memcmp(magic, kMagic, sizeof(kMagic))) { 349 SkASSERT(sizeof(kMagic) == 8); 350 stream->write(kMagic, sizeof(kMagic));
|
/external/chromium_org/base/memory/ |
discardable_memory_allocator_android_unittest.cc | 83 const int kMagic = 0xdeadbeef; 84 *static_cast<int*>(memory->Memory()) = kMagic; 90 EXPECT_NE(kMagic, *static_cast<const int*>(memory->Memory())); 182 const int kMagic = 0xdeadbeef; 183 *static_cast<int*>(memory2->Memory()) = kMagic; 187 EXPECT_NE(kMagic, *static_cast<int*>(memory2->Memory()));
|
/frameworks/base/services/common_time/ |
common_time_server_packets.h | 60 magic = kMagic; 68 return ((magic == kMagic) && 77 static const uint32_t kMagic;
|
common_time_server_packets.cpp | 32 const uint32_t TimeServicePacketHeader::kMagic =
|
/external/chromium_org/courgette/ |
ensemble.h | 133 static const uint32 kMagic = 'C' | ('o' << 8) | ('u' << 16);
|
ensemble_apply.cc | 92 if (magic != CourgettePatchFile::kMagic)
|
ensemble_create.cc | 438 if (!final_patch->WriteVarint32(CourgettePatchFile::kMagic) ||
|
/external/chromium/base/ |
pickle_unittest.cc | 247 const uint32 kMagic = 0x12345678; 250 pickle.WriteInt(kMagic); 259 EXPECT_EQ(static_cast<uint32>(result), kMagic);
|
/external/chromium/chrome/browser/safe_browsing/ |
prefix_set.cc | 17 // |kMagic| should be reasonably unique, and not match itself across 20 static uint32 kMagic = 0x864088dd; 174 if (header.magic != kMagic || header.version != kVersion) 227 header.magic = kMagic;
|
/external/chromium_org/chrome/browser/safe_browsing/ |
prefix_set.cc | 17 // |kMagic| should be reasonably unique, and not match itself across 20 static uint32 kMagic = 0x864088dd; 172 if (header.magic != kMagic || header.version != kVersion) 234 header.magic = kMagic;
|
/frameworks/native/opengl/libs/ETC1/ |
etc1.cpp | 612 static const char kMagic[] = { 'P', 'K', 'M', ' ', '1', '0' }; 634 memcpy(pHeader, kMagic, sizeof(kMagic)); 647 if (memcmp(pHeader, kMagic, sizeof(kMagic))) {
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
etc1.cpp | 612 static const char kMagic[] = { 'P', 'K', 'M', ' ', '1', '0' }; 634 memcpy(pHeader, kMagic, sizeof(kMagic)); 647 if (memcmp(pHeader, kMagic, sizeof(kMagic))) {
|
/external/chromium_org/base/ |
pickle_unittest.cc | 279 const uint32 kMagic = 0x12345678; 282 pickle.WriteInt(kMagic); 291 EXPECT_EQ(static_cast<uint32>(result), kMagic);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
sysinfo.cc | 540 template<uint32_t kMagic, uint32_t kLCSegment, 550 if (hdr->magic != kMagic) [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
sysinfo.cc | 523 template<uint32_t kMagic, uint32_t kLCSegment, 533 if (hdr->magic != kMagic) [all...] |