Home
last modified time | relevance | path

Searched refs:fMagic (Results 1 – 22 of 22) sorted by relevance

/external/skia/src/core/
DSkPicture.cpp57 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()
107 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic)); in BufferIsSKP()
108 if (!buffer->readByteArray(&info.fMagic, sizeof(kMagic))) { in BufferIsSKP()
301 buffer.writeByteArray(&info.fMagic, sizeof(info.fMagic)); in Flatten()
DSkTextBlobPriv.h73 SkDEBUGCODE(fMagic = kRunRecordMagic); in RunRecord()
174 SkDEBUGCODE(unsigned fMagic;)
DSkPictureData.h45 char fMagic[8];
DSkTextBlob.cpp77 SkDEBUGCODE(unsigned fMagic;)
82 SkASSERT(kRunRecordMagic == fMagic); in validate()
/external/skqp/src/core/
DSkPicture.cpp49 static_assert(sizeof(kMagic) == sizeof(info.fMagic), ""); in createHeader()
50 memcpy(info.fMagic, kMagic, sizeof(kMagic)); in createHeader()
59 if (0 != memcmp(info.fMagic, kMagic, sizeof(kMagic))) { in IsValidPictInfo()
74 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic)); in StreamIsSKP()
75 if (stream->read(&info.fMagic, sizeof(kMagic)) != sizeof(kMagic)) { in StreamIsSKP()
101 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic)); in BufferIsSKP()
102 if (!buffer->readByteArray(&info.fMagic, sizeof(kMagic))) { in BufferIsSKP()
295 buffer.writeByteArray(&info.fMagic, sizeof(info.fMagic)); in Flatten()
DSkTextBlobPriv.h93 SkDEBUGCODE(fMagic = kRunRecordMagic); in RunRecord()
192 SkDEBUGCODE(unsigned fMagic;)
DSkPictureData.h46 char fMagic[8];
DSkTextBlob.cpp76 SkDEBUGCODE(unsigned fMagic;)
81 SkASSERT(kRunRecordMagic == fMagic); in validate()
/external/icu/icu4c/source/common/
Dcapi_helper.h46 int32_t fMagic = kMagic;
61 if (static_cast<const IcuCApiHelper<CType, CPPType, kMagic>*>(impl)->fMagic != kMagic) { in validate()
91 fMagic = 0; in ~IcuCApiHelper()
Drbbidata.h68 … uint32_t fMagic; /* == 0xbla0 */ member
Drbbidata.cpp97 if (fHeader->fMagic != 0xb1a0 || !isDataVersionAcceptable(fHeader->fFormatVersion)) { in init()
348 if (ds->readUInt32(rbbiDH->fMagic) != 0xb1a0 || in ubrk_swap()
Drbbirb.cpp193 data->fMagic = 0xb1a0; in flattenData()
/external/icu/libicu/cts_headers/
Dcapi_helper.h46 int32_t fMagic = kMagic;
61 if (static_cast<const IcuCApiHelper<CType, CPPType, kMagic>*>(impl)->fMagic != kMagic) { in validate()
91 fMagic = 0; in ~IcuCApiHelper()
Drbbidata.h68 … uint32_t fMagic; /* == 0xbla0 */ member
Duspoof_impl.h301 int32_t fMagic; // (0x3845fdef) member
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRBBIDataWrapper.java245 int fMagic; // == 0xbla0 field in RBBIDataWrapper.RBBIDataHeader
271 fMagic = 0; in RBBIDataHeader()
299 This.fHeader.fMagic = bytes.getInt(); in get()
319 …if (This.fHeader.fMagic != 0xb1a0 || !IS_ACCEPTABLE.isDataVersionAcceptable(This.fHeader.fFormatVe… in get()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRBBIDataWrapper.java249 int fMagic; // == 0xbla0 field in RBBIDataWrapper.RBBIDataHeader
275 fMagic = 0; in RBBIDataHeader()
303 This.fHeader.fMagic = bytes.getInt(); in get()
323 …if (This.fHeader.fMagic != 0xb1a0 || !IS_ACCEPTABLE.isDataVersionAcceptable(This.fHeader.fFormatVe… in get()
/external/icu/icu4c/source/i18n/
Duspoof_impl.cpp492 fRawData->fMagic != USPOOF_MAGIC || in validateDataVersion()
645 fRawData->fMagic = USPOOF_MAGIC; in SpoofData()
877 if (ds->readUInt32(spoofDH->fMagic) != USPOOF_MAGIC || in uspoof_swap()
945 uint32_t magic = ds->readUInt32(spoofDH->fMagic); in uspoof_swap()
946 ds->writeUInt32((uint32_t *)&outputDH->fMagic, magic); in uspoof_swap()
Duspoof_impl.h301 int32_t fMagic; // (0x3845fdef) member
Duregex.cpp38 int32_t fMagic; member
53 fMagic = REXP_MAGIC; in RegularExpression()
75 fMagic = 0; in ~RegularExpression()
91 if (re == NULL || re->fMagic != REXP_MAGIC) { in validateRE()
/external/dng_sdk/source/
Ddng_info.cpp36 , fMagic (0) in dng_info()
61 switch (fMagic) in ValidateMagic()
122 if (fMagic == 85 && parentCode == 0 && (tagCode < tcNewSubFileType || in ParseTag()
1948 fMagic = stream.Get_uint16 (); in Parse()
1954 printf ("Magic number = %u\n\n", (unsigned) fMagic); in Parse()
2264 if (fMagic == magicExtendedProfile) in Parse()
2451 if (fMagic != 42) in IsValidDNG()
Ddng_info.h50 uint32 fMagic; variable