/third_party/icu/icu4c/source/common/ |
H A D | capi_helper.h | 14 template<typename CType, typename CPPType, int32_t kMagic> 44 * While the object is valid, fMagic equals kMagic. 46 int32_t fMagic = kMagic; 50 template<typename CType, typename CPPType, int32_t kMagic> 52 IcuCApiHelper<CType, CPPType, kMagic>::validate(const CType* input, UErrorCode& status) { in validate() 61 if (static_cast<const IcuCApiHelper<CType, CPPType, kMagic>*>(impl)->fMagic != kMagic) { in validate() 68 template<typename CType, typename CPPType, int32_t kMagic> 70 IcuCApiHelper<CType, CPPType, kMagic>::validate(CType* input, UErrorCode& status) { in validate() 76 template<typename CType, typename CPPType, int32_t kMagic> [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | capi_helper.h | 14 template<typename CType, typename CPPType, int32_t kMagic> 44 * While the object is valid, fMagic equals kMagic. 46 int32_t fMagic = kMagic; 50 template<typename CType, typename CPPType, int32_t kMagic> 52 IcuCApiHelper<CType, CPPType, kMagic>::validate(const CType* input, UErrorCode& status) { in validate() 61 if (static_cast<const IcuCApiHelper<CType, CPPType, kMagic>*>(impl)->fMagic != kMagic) { in validate() 68 template<typename CType, typename CPPType, int32_t kMagic> 70 IcuCApiHelper<CType, CPPType, kMagic>::validate(CType* input, UErrorCode& status) { in validate() 76 template<typename CType, typename CPPType, int32_t kMagic> [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | capi_helper.h | 14 template<typename CType, typename CPPType, int32_t kMagic> 44 * While the object is valid, fMagic equals kMagic. 46 int32_t fMagic = kMagic; 50 template<typename CType, typename CPPType, int32_t kMagic> 52 IcuCApiHelper<CType, CPPType, kMagic>::validate(const CType* input, UErrorCode& status) { in validate() 61 if (static_cast<const IcuCApiHelper<CType, CPPType, kMagic>*>(impl)->fMagic != kMagic) { in validate() 68 template<typename CType, typename CPPType, int32_t kMagic> 70 IcuCApiHelper<CType, CPPType, kMagic>::validate(CType* input, UErrorCode& status) { in validate() 76 template<typename CType, typename CPPType, int32_t kMagic> [all...] |
/third_party/skia/src/core/ |
H A D | SkPicture.cpp | 51 static const char kMagic[] = { 's', 'k', 'i', 'a', 'p', 'i', 'c', 't' }; variable 56 static_assert(sizeof(kMagic) == 8, ""); in createHeader() 57 static_assert(sizeof(kMagic) == sizeof(info.fMagic), ""); in createHeader() 58 memcpy(info.fMagic, kMagic, sizeof(kMagic)); in createHeader() 67 if (0 != memcmp(info.fMagic, kMagic, sizeof(kMagic))) { in IsValidPictInfo() 83 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic)); in StreamIsSKP() 84 if (stream->read(&info.fMagic, sizeof(kMagic)) != sizeof(kMagic)) { in StreamIsSKP() [all...] |
/third_party/skia/src/utils/ |
H A D | SkMultiPictureDocument.cpp | 25 kMagic 37 static constexpr char kMagic[] = "Skia Multi-Picture Doc\n\n"; member 81 wStream->writeText(kMagic); 119 const size_t size = sizeof(kMagic) - 1; in SkMultiPictureDocumentReadPageCount() 121 if (size != stream->read(buffer, size) || 0 != memcmp(kMagic, buffer, size)) { in SkMultiPictureDocumentReadPageCount()
|
/third_party/skia/third_party/etc1/ |
H A D | etc1.cpp | 617 static const char kMagic[] = { 'P', 'K', 'M', ' ', '1', '0' }; variable 639 memcpy(pHeader, kMagic, sizeof(kMagic)); in etc1_pkm_format_header() 652 if (memcmp(pHeader, kMagic, sizeof(kMagic))) { in etc1_pkm_is_valid()
|
/third_party/node/deps/v8/src/diagnostics/ |
H A D | perf-jit.cc | 68 static const uint32_t kMagic = 0x4A695444; member 529 header.magic_ = PerfJitHeader::kMagic; in LogWriteHeader()
|
/third_party/skia/gm/ |
H A D | exoticformats.cpp | 219 constexpr uint32_t kMagic = 0x20534444; in load_dds() local 226 if (magic != kMagic) { in load_dds()
|
/third_party/node/src/ |
H A D | node_snapshotable.cc | 48 const uint32_t SnapshotData::kMagic; member in node::SnapshotData 831 // [ 4 bytes ] kMagic 848 w.Debug("Write magic %" PRIx32 "\n", kMagic); in ToBlob() 849 written_total += w.Write<uint32_t>(kMagic); in ToBlob() 886 CHECK_EQ(magic, kMagic); in FromBlob()
|
H A D | env.h | 493 static const uint32_t kMagic = 0x143da19; member
|