Home
last modified time | relevance | path

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

12

/third_party/flutter/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()
75 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic)); in StreamIsSKP()
76 if (stream->read(&info.fMagic, sizeof(kMagic)) != sizeof(kMagic)) { in StreamIsSKP()
102 SkASSERT(sizeof(kMagic) == sizeof(info.fMagic)); in BufferIsSKP()
103 if (!buffer->readByteArray(&info.fMagic, sizeof(kMagic))) { in BufferIsSKP()
299 buffer.writeByteArray(&info.fMagic, sizeof(info.fMagic)); in Flatten()
DSkTextBlobPriv.h92 SkDEBUGCODE(fMagic = kRunRecordMagic); in RunRecord()
191 SkDEBUGCODE(unsigned fMagic;)
/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;)
/third_party/flutter/skia/third_party/externals/icu/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
/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
/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
/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()
/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/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()
/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()
/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()
/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
/third_party/flutter/skia/third_party/externals/icu/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()

12