Lines Matching refs:udm
322 U_CFUNC void udata_checkCommonData(UDataMemory *udm, UErrorCode *err) { in udata_checkCommonData() argument
327 if(udm==NULL || udm->pHeader==NULL) { in udata_checkCommonData()
329 } else if(!(udm->pHeader->dataHeader.magic1==0xda && in udata_checkCommonData()
330 udm->pHeader->dataHeader.magic2==0x27 && in udata_checkCommonData()
331 udm->pHeader->info.isBigEndian==U_IS_BIG_ENDIAN && in udata_checkCommonData()
332 udm->pHeader->info.charsetFamily==U_CHARSET_FAMILY) in udata_checkCommonData()
337 else if (udm->pHeader->info.dataFormat[0]==0x43 && in udata_checkCommonData()
338 udm->pHeader->info.dataFormat[1]==0x6d && in udata_checkCommonData()
339 udm->pHeader->info.dataFormat[2]==0x6e && in udata_checkCommonData()
340 udm->pHeader->info.dataFormat[3]==0x44 && in udata_checkCommonData()
341 udm->pHeader->info.formatVersion[0]==1 in udata_checkCommonData()
344 udm->vFuncs = &CmnDFuncs; in udata_checkCommonData()
345 udm->toc=(const char *)udm->pHeader+udata_getHeaderSize(udm->pHeader); in udata_checkCommonData()
347 else if(udm->pHeader->info.dataFormat[0]==0x54 && in udata_checkCommonData()
348 udm->pHeader->info.dataFormat[1]==0x6f && in udata_checkCommonData()
349 udm->pHeader->info.dataFormat[2]==0x43 && in udata_checkCommonData()
350 udm->pHeader->info.dataFormat[3]==0x50 && in udata_checkCommonData()
351 udm->pHeader->info.formatVersion[0]==1 in udata_checkCommonData()
354 udm->vFuncs = &ToCPFuncs; in udata_checkCommonData()
355 udm->toc=(const char *)udm->pHeader+udata_getHeaderSize(udm->pHeader); in udata_checkCommonData()
367 udata_close(udm); in udata_checkCommonData()