Home
last modified time | relevance | path

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

/external/skia/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/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/i18n/
Duspoof_impl.cpp55 fMagic = USPOOF_MAGIC; in construct()
77 fMagic(0), fChecks(USPOOF_ALL_CHECKS), fSpoofData(NULL), fAllowedCharsSet(NULL) , in SpoofImpl()
82 fMagic = src.fMagic; in SpoofImpl()
96 fMagic = 0; // head off application errors by preventing use of in ~SpoofImpl()
123 if (This->fMagic != USPOOF_MAGIC) { in validateThis()
457 CheckResult::CheckResult() : fMagic(USPOOF_CHECK_MAGIC) { in CheckResult()
476 if (This->fMagic != USPOOF_CHECK_MAGIC) { in validateThis()
515 fRawData->fMagic != USPOOF_MAGIC || in validateDataVersion()
668 fRawData->fMagic = USPOOF_MAGIC; in SpoofData()
902 if (ds->readUInt32(spoofDH->fMagic) != USPOOF_MAGIC || in uspoof_swap()
[all …]
Dnumber_utypes.h30 int32_t fMagic = kMagic; member
59 int32_t fMagic = kMagic; member
Duspoof_impl.h99 int32_t fMagic; // Internal sanity check. variable
130 int32_t fMagic; // Internal sanity check. variable
299 int32_t fMagic; // (0x3845fdef) member
Dnumber_capi.cpp43 if (impl->fMagic != UNumberFormatterData::kMagic) { in validate()
70 if (impl->fMagic != UFormattedNumberData::kMagic) { in validate()
Dnumrange_impl.h34 int32_t fMagic = kMagic; 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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRBBIDataWrapper.java209 int fMagic; // == 0xbla0 field in RBBIDataWrapper.RBBIDataHeader
235 fMagic = 0; in RBBIDataHeader()
263 This.fHeader.fMagic = bytes.getInt(); in get()
283 …if (This.fHeader.fMagic != 0xb1a0 || !IS_ACCEPTABLE.isDataVersionAcceptable(This.fHeader.fFormatVe… in get()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRBBIDataWrapper.java213 int fMagic; // == 0xbla0 field in RBBIDataWrapper.RBBIDataHeader
239 fMagic = 0; in RBBIDataHeader()
267 This.fHeader.fMagic = bytes.getInt(); in get()
287 …if (This.fHeader.fMagic != 0xb1a0 || !IS_ACCEPTABLE.isDataVersionAcceptable(This.fHeader.fFormatVe… in get()
/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
/external/icu/icu4c/source/common/
Drbbidata.h67 … uint32_t fMagic; /* == 0xbla0 */ member
Drbbidata.cpp97 if (fHeader->fMagic != 0xb1a0 || !isDataVersionAcceptable(fHeader->fFormatVersion)) { in init()
326 if (ds->readUInt32(rbbiDH->fMagic) != 0xb1a0 || in ubrk_swap()
Drbbirb.cpp172 data->fMagic = 0xb1a0; in flattenData()