HomeSort by relevance Sort by last modified time
    Searched defs:kMagic (Results 1 - 12 of 12) sorted by null

  /external/chromium_org/base/memory/
discardable_memory_ashmem_allocator_unittest.cc 126 const int kMagic = 0xdeadbeef;
127 *static_cast<int*>(memory->Memory()) = kMagic;
133 EXPECT_NE(kMagic, *static_cast<const int*>(memory->Memory()));
237 const int kMagic = 0xdeadbeef;
238 *static_cast<int*>(memory2->Memory()) = kMagic;
242 EXPECT_NE(kMagic, *static_cast<int*>(memory2->Memory()));
  /external/chromium_org/courgette/
ensemble.h 133 static const uint32 kMagic = 'C' | ('o' << 8) | ('u' << 16);
  /frameworks/base/libs/common_time/
common_time_server_packets.cpp 32 const uint32_t TimeServicePacketHeader::kMagic =
common_time_server_packets.h 60 magic = kMagic;
68 return ((magic == kMagic) &&
77 static const uint32_t 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/chrome/browser/safe_browsing/
prefix_set.cc 18 // |kMagic| should be reasonably unique, and not match itself across
21 static uint32 kMagic = 0x864088dd;
192 if (header.magic != kMagic)
300 header.magic = kMagic;
  /external/chromium_org/third_party/skia/src/core/
SkPicture.cpp 290 static const char kMagic[] = { 's', 'k', 'i', 'a', 'p', 'i', 'c', 't' };
293 if (0 != memcmp(info.fMagic, kMagic, sizeof(kMagic))) {
312 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic));
326 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic));
387 SkASSERT(sizeof(kMagic) == 8);
388 SkASSERT(sizeof(kMagic) == sizeof(info->fMagic));
389 memcpy(info->fMagic, kMagic, sizeof(kMagic));
  /external/skia/src/core/
SkPicture.cpp 290 static const char kMagic[] = { 's', 'k', 'i', 'a', 'p', 'i', 'c', 't' };
293 if (0 != memcmp(info.fMagic, kMagic, sizeof(kMagic))) {
312 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic));
326 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic));
387 SkASSERT(sizeof(kMagic) == 8);
388 SkASSERT(sizeof(kMagic) == sizeof(info->fMagic));
389 memcpy(info->fMagic, kMagic, sizeof(kMagic));
  /external/chromium_org/third_party/skia/third_party/etc1/
etc1.cpp 620 static const char kMagic[] = { 'P', 'K', 'M', ' ', '1', '0' };
642 memcpy(pHeader, kMagic, sizeof(kMagic));
655 if (memcmp(pHeader, kMagic, sizeof(kMagic))) {
  /external/skia/third_party/etc1/
etc1.cpp 620 static const char kMagic[] = { 'P', 'K', 'M', ' ', '1', '0' };
642 memcpy(pHeader, kMagic, sizeof(kMagic));
655 if (memcmp(pHeader, kMagic, sizeof(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))) {

Completed in 377 milliseconds