Home
last modified time | relevance | path

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

12

/third_party/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()
108 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic)); in BufferIsSKP()
109 if (!buffer->readByteArray(&info.fMagic, sizeof(kMagic))) { in BufferIsSKP()
302 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];
/third_party/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/node/deps/icu-small/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/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()
/third_party/skia/third_party/externals/icu/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
/third_party/node/deps/icu-small/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.h302 int32_t fMagic; // (0x3845fdef) member
/third_party/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.h302 int32_t fMagic; // (0x3845fdef) member
/third_party/skia/third_party/externals/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

12