Home
last modified time | relevance | path

Searched refs:staticData (Results 1 – 12 of 12) sorted by relevance

/external/icu4c/tools/makeconv/
Dmakeconv.c45 UConverterStaticData staticData; member
52 data->staticData.structSize=sizeof(UConverterStaticData); in initConvData()
53 data->sharedData.staticData=&data->staticData; in initConvData()
147 udata_writeBlock(mem, &data->staticData, sizeof(UConverterStaticData)); in writeConverterData()
151 size += data->cnvData->write(data->cnvData, &data->staticData, mem, tableType); in writeConverterData()
154 size += data->extData->write(data->extData, &data->staticData, mem, tableType); in writeConverterData()
334 if( /*VERBOSE && */ uprv_stricmp(cnvName,data.staticData.name)) in main()
339 data.staticData.name); in main()
342 uprv_strcpy((char*)data.staticData.name, cnvName); in main()
344 if(!uprv_isInvariantString((char*)data.staticData.name, -1)) { in main()
[all …]
Dmakeconv.h51 (*addTable)(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData);
54 (*write)(NewConverter *cnvData, const UConverterStaticData *staticData,
Dgenmbcs.c94 MBCSPostprocess(MBCSData *mbcsData, const UConverterStaticData *staticData);
97 MBCSAddTable(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData);
100 MBCSWrite(NewConverter *cnvData, const UConverterStaticData *staticData,
936 MBCSAddTable(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData) { in MBCSAddTable() argument
944 staticData->unicodeMask=table->unicodeMask; in MBCSAddTable()
945 if(staticData->unicodeMask==3) { in MBCSAddTable()
950 staticData->conversionType=UCNV_MBCS; in MBCSAddTable()
978 staticData->hasFromUnicodeFallback=FALSE; in MBCSAddTable()
979 staticData->hasToUnicodeFallback=FALSE; in MBCSAddTable()
1030 staticData->hasFromUnicodeFallback=TRUE; in MBCSAddTable()
[all …]
Dgencnvex.c41 CnvExtAddTable(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData);
44 CnvExtWrite(NewConverter *cnvData, const UConverterStaticData *staticData,
114 CnvExtWrite(NewConverter *cnvData, const UConverterStaticData *staticData, in CnvExtWrite() argument
1054 CnvExtAddTable(NewConverter *cnvData, UCMTable *table, UConverterStaticData *staticData) { in CnvExtAddTable() argument
1062 staticData->conversionType=UCNV_MBCS; in CnvExtAddTable()
/external/webkit/WebCore/platform/
DThreadGlobalData.cpp59 static ThreadGlobalData* staticData; in threadGlobalData()
60 if (!staticData) { in threadGlobalData()
61 staticData = static_cast<ThreadGlobalData*>(fastMalloc(sizeof(ThreadGlobalData))); in threadGlobalData()
63 new (staticData) ThreadGlobalData; in threadGlobalData()
65 return *staticData; in threadGlobalData()
/external/icu4c/common/
Ducnvdisp.c60 name=ures_getStringByKey(rb, cnv->sharedData->staticData->name, &length, &localStatus); in ucnv_getDisplayName()
71 length=(int32_t)uprv_strlen(cnv->sharedData->staticData->name); in ucnv_getDisplayName()
72 …u_charsToUChars(cnv->sharedData->staticData->name, displayName, uprv_min(length, displayNameCapaci… in ucnv_getDisplayName()
Ducnv_bld.c273 data->staticData = source; in ucnv_data_unFlattenClone()
423 (void*) data->staticData->name, /* Okay to cast away const as long as in ucnv_shareConverterData()
427 UCNV_DEBUG_LOG("put", data->staticData->name,data); in ucnv_shareConverterData()
470 …RACE_OPEN_CLOSE, "unload converter %s shared data %p", deadSharedData->staticData->name, deadShare… in ucnv_deleteSharedConverterData()
497 uprv_free((void*)deadSharedData->staticData); in ucnv_deleteSharedConverterData()
930 myUConverter->maxBytesPerUChar = mySharedConverterData->staticData->maxBytesPerChar; in ucnv_createConverterFromSharedData()
931 myUConverter->subChar1 = mySharedConverterData->staticData->subChar1; in ucnv_createConverterFromSharedData()
932 myUConverter->subCharLen = mySharedConverterData->staticData->subCharLen; in ucnv_createConverterFromSharedData()
934 …uprv_memcpy(myUConverter->subChars, mySharedConverterData->staticData->subChar, myUConverter->subC… in ucnv_createConverterFromSharedData()
1013 UCNV_DEBUG_LOG("del",mySharedData->staticData->name,mySharedData); in ucnv_flushCache()
Ducnv.c449 if ((len > converter->sharedData->staticData->maxBytesPerChar) in ucnv_setSubstChars()
450 || (len < converter->sharedData->staticData->minBytesPerChar)) in ucnv_setSubstChars()
493 || (cnv->sharedData->staticData->conversionType == UCNV_MBCS && in ucnv_setSubstString()
650 return converter->sharedData->staticData->minBytesPerChar; in ucnv_getMinCharSize()
664 return converter->sharedData->staticData->name; in ucnv_getName()
675 ccsid = converter->sharedData->staticData->codepage; in ucnv_getCCSID()
698 return (UConverterPlatform)converter->sharedData->staticData->platform; in ucnv_getPlatform()
2135 if( sourceCnv->sharedData->staticData->conversionType==UCNV_UTF8 && in ucnv_convertEx()
2139 } else if( targetCnv->sharedData->staticData->conversionType==UCNV_UTF8 && in ucnv_convertEx()
2602 int8_t type = converter->sharedData->staticData->conversionType; in ucnv_getType()
Ducnv_bld.h99 const UConverterStaticData *staticData; /* pointer to the static (non changing) data. */ member
Ducnvmbcs.c1165 uprv_strcpy(name, sharedData->staticData->name); in _EBCDICSwapLFNL()
1394 if(0==uprv_strcmp(baseName, sharedData->staticData->name)) { in ucnv_MBCSLoad()
1411 if( baseSharedData->staticData->conversionType!=UCNV_MBCS || in ucnv_MBCSLoad()
1447 if( sharedData->staticData->conversionType==UCNV_DBCS || in ucnv_MBCSLoad()
1448 (sharedData->staticData->conversionType==UCNV_MBCS && in ucnv_MBCSLoad()
1449 sharedData->staticData->minBytesPerChar>=2) in ucnv_MBCSLoad()
1466 baseSharedData->staticData->conversionType==UCNV_MBCS && in ucnv_MBCSLoad()
1467 baseSharedData->staticData->minBytesPerChar==1 && in ucnv_MBCSLoad()
1468 baseSharedData->staticData->maxBytesPerChar==2 && in ucnv_MBCSLoad()
1551 mbcsTable->unicodeMask=(uint8_t)(sharedData->staticData->unicodeMask&3); in ucnv_MBCSLoad()
[all …]
Ducnv2022.c586 cnv->maxBytesPerUChar=cnv->sharedData->staticData->maxBytesPerChar; in _ISO2022Open()
/external/webkit/WebCore/xml/
DXMLHttpRequest.cpp305 static const XMLHttpRequestStaticData* staticData = 0; variable
309 staticData = new XMLHttpRequestStaticData; in createXMLHttpRequestStaticData()
310 return staticData; in createXMLHttpRequestStaticData()
1018 …return !staticData->m_forbiddenRequestHeaders.contains(name) && !name.startsWith(staticData->m_pro… in isSafeRequestHeader()
1019 && !name.startsWith(staticData->m_secHeaderPrefix, false); in isSafeRequestHeader()
1087 return staticData->m_allowedCrossSiteResponseHeaders.contains(name); in isOnAccessControlResponseHeaderWhitelist()