Home
last modified time | relevance | path

Searched refs:mlu (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmsnamed.c35 cmsMLU* mlu; in cmsMLUalloc() local
41 mlu = (cmsMLU*) _cmsMallocZero(ContextID, sizeof(cmsMLU)); in cmsMLUalloc()
42 if (mlu == NULL) return NULL; in cmsMLUalloc()
44 mlu ->ContextID = ContextID; in cmsMLUalloc()
47 mlu ->Entries = (_cmsMLUentry*) _cmsCalloc(ContextID, nItems, sizeof(_cmsMLUentry)); in cmsMLUalloc()
48 if (mlu ->Entries == NULL) { in cmsMLUalloc()
49 _cmsFree(ContextID, mlu); in cmsMLUalloc()
54 mlu ->AllocatedEntries = nItems; in cmsMLUalloc()
55 mlu ->UsedEntries = 0; in cmsMLUalloc()
57 return mlu; in cmsMLUalloc()
[all …]
Dcmstypes.c697 cmsMLU* mlu = NULL; in Type_Text_Read() local
700 mlu = cmsMLUalloc(self ->ContextID, 1); in Type_Text_Read()
701 if (mlu == NULL) return NULL; in Type_Text_Read()
718 if (!cmsMLUsetASCII(mlu, cmsNoLanguage, cmsNoCountry, Text)) goto Error; in Type_Text_Read()
721 return (void*) mlu; in Type_Text_Read()
724 if (mlu != NULL) in Type_Text_Read()
725 cmsMLUfree(mlu); in Type_Text_Read()
736 cmsMLU* mlu = (cmsMLU*) Ptr; in Type_Text_Write() local
742 size = cmsMLUgetASCII(mlu, cmsNoLanguage, cmsNoCountry, NULL, 0); in Type_Text_Write()
749 cmsMLUgetASCII(mlu, cmsNoLanguage, cmsNoCountry, Text, size); in Type_Text_Write()
[all …]
Dcmsio1.c926 cmsMLU* mlu = (cmsMLU*) cmsReadTag(h, sig); in GetMLUFromProfile() local
927 if (mlu == NULL) return NULL; in GetMLUFromProfile()
929 return cmsMLUdup(mlu); in GetMLUFromProfile()
1005 const cmsMLU* mlu = GetInfo(hProfile, Info); in cmsGetProfileInfo() local
1006 if (mlu == NULL) return 0; in cmsGetProfileInfo()
1008 return cmsMLUgetWide(mlu, LanguageCode, CountryCode, Buffer, BufferSize); in cmsGetProfileInfo()
1016 const cmsMLU* mlu = GetInfo(hProfile, Info); in cmsGetProfileInfoASCII() local
1017 if (mlu == NULL) return 0; in cmsGetProfileInfoASCII()
1019 return cmsMLUgetASCII(mlu, LanguageCode, CountryCode, Buffer, BufferSize); in cmsGetProfileInfoASCII()
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/include/
Dlcms2.h1267 CMSAPI void CMSEXPORT cmsMLUfree(cmsMLU* mlu);
1268 CMSAPI cmsMLU* CMSEXPORT cmsMLUdup(const cmsMLU* mlu);
1270 CMSAPI cmsBool CMSEXPORT cmsMLUsetASCII(cmsMLU* mlu,
1273 CMSAPI cmsBool CMSEXPORT cmsMLUsetWide(cmsMLU* mlu,
1277 CMSAPI cmsUInt32Number CMSEXPORT cmsMLUgetASCII(const cmsMLU* mlu,
1281 CMSAPI cmsUInt32Number CMSEXPORT cmsMLUgetWide(const cmsMLU* mlu,
1285 CMSAPI cmsBool CMSEXPORT cmsMLUgetTranslation(const cmsMLU* mlu,
1289 CMSAPI cmsUInt32Number CMSEXPORT cmsMLUtranslationsCount(const cmsMLU* mlu);
1291 CMSAPI cmsBool CMSEXPORT cmsMLUtranslationsCodes(const cmsMLU* mlu,