Home
last modified time | relevance | path

Searched refs:fMagic (Results 1 – 16 of 16) 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()
82 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic)); in StreamIsSKP()
83 if (!stream->read(&info.fMagic, sizeof(kMagic))) { in StreamIsSKP()
108 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic)); in BufferIsSKP()
109 if (!buffer->readByteArray(&info.fMagic, sizeof(kMagic))) { in BufferIsSKP()
300 buffer.writeByteArray(&info.fMagic, sizeof(info.fMagic)); in flatten()
DSkTextBlob.cpp132 SkDEBUGCODE(unsigned fMagic;)
145 SkDEBUGCODE(fMagic = kRunRecordMagic); in RunRecord()
225 SkASSERT(kRunRecordMagic == fMagic); in validate()
296 SkDEBUGCODE(unsigned fMagic;)
DSkPictureData.h43 char fMagic[8];
/external/skqp/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()
82 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic)); in StreamIsSKP()
83 if (!stream->read(&info.fMagic, sizeof(kMagic))) { in StreamIsSKP()
108 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic)); in BufferIsSKP()
109 if (!buffer->readByteArray(&info.fMagic, sizeof(kMagic))) { in BufferIsSKP()
300 buffer.writeByteArray(&info.fMagic, sizeof(info.fMagic)); in flatten()
DSkTextBlob.cpp132 SkDEBUGCODE(unsigned fMagic;)
145 SkDEBUGCODE(fMagic = kRunRecordMagic); in RunRecord()
225 SkASSERT(kRunRecordMagic == fMagic); in validate()
296 SkDEBUGCODE(unsigned fMagic;)
DSkPictureData.h43 char fMagic[8];
/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()
420 CheckResult::CheckResult() : fMagic(USPOOF_CHECK_MAGIC) { in CheckResult()
439 if (This->fMagic != USPOOF_CHECK_MAGIC) { in validateThis()
478 fRawData->fMagic != USPOOF_MAGIC || in validateDataVersion()
626 fRawData->fMagic = USPOOF_MAGIC; in SpoofData()
860 if (ds->readUInt32(spoofDH->fMagic) != USPOOF_MAGIC || in uspoof_swap()
[all …]
Duspoof_impl.h96 int32_t fMagic; // Internal sanity check. variable
127 int32_t fMagic; // Internal sanity check. variable
296 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/icu/android_icu4j/src/main/java/android/icu/text/
DRBBIDataWrapper.java107 int fMagic; // == 0xbla0 field in RBBIDataWrapper.RBBIDataHeader
134 fMagic = 0; in RBBIDataHeader()
164 This.fHeader.fMagic = bytes.getInt(); in get()
188 …if (This.fHeader.fMagic != 0xb1a0 || !IS_ACCEPTABLE.isDataVersionAcceptable(This.fHeader.fFormatVe… in get()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBIDataWrapper.java106 int fMagic; // == 0xbla0 field in RBBIDataWrapper.RBBIDataHeader
133 fMagic = 0; in RBBIDataHeader()
163 This.fHeader.fMagic = bytes.getInt(); in get()
187 …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.cpp99 if (fHeader->fMagic != 0xb1a0 || !isDataVersionAcceptable(fHeader->fFormatVersion)) { in init()
345 if (ds->readUInt32(rbbiDH->fMagic) != 0xb1a0 || in ubrk_swap()
Drbbirb.cpp184 data->fMagic = 0xb1a0; in flattenData()