Home
last modified time | relevance | path

Searched refs:UniChar (Results 1 – 25 of 39) sorted by relevance

12

/external/webkit/JavaScriptCore/API/
DJSStringRefCF.cpp45 OwnArrayPtr<UniChar> buffer(new UniChar[length]); in JSStringCreateWithCFString()
47 COMPILE_ASSERT(sizeof(UniChar) == sizeof(UChar), unichar_and_uchar_must_be_same_size); in JSStringCreateWithCFString()
56 …return CFStringCreateWithCharacters(alloc, reinterpret_cast<const UniChar*>(string->characters()),… in JSStringCopyCFString()
/external/webkit/JavaScriptGlue/
DJSUtils.cpp58 UniChar* buffer = (UniChar*)malloc(sizeof(UniChar) * len); in CFStringToUString()
76 return CFStringCreateWithCharacters(0, (const UniChar*)inUString.data(), inUString.size()); in UStringToCFString()
286 const UniChar* uniChars = (const UniChar*)ustr.data(); in KJSValueToCFTypeInternal()
/external/webkit/WebKit/win/
DMarshallingHelpers.cpp56 …CFStringRef cfPath = CFStringCreateWithCharactersNoCopy(0, (const UniChar*)string.characters(), st… in PathStringToFileCFURLRef()
84 … return CFStringCreateWithCharacters(0, (const UniChar*)(str ? str : TEXT("")), SysStringLen(str)); in BSTRToCFStringRef()
89 …return CFStringCreateWithCharacters(0, (const UniChar*)(str ? str : TEXT("")), (CFIndex)(str ? wcs… in LPCOLESTRToCFStringRef()
97 const UniChar* uniChars = CFStringGetCharactersPtr(str); in CFStringRefToBSTR()
104 CFStringGetCharacters(str, CFRangeMake(0, length), (UniChar*)bstr); in CFStringRefToBSTR()
DWebTextRenderer.cpp94 …> string(AdoptCF, CFStringCreateWithCharacters(0, reinterpret_cast<const UniChar*>(fontFilePath), … in registerPrivateFont()
DWebPreferences.cpp295 const UniChar* uniChars = CFStringGetCharactersPtr(str); in stringValueForKey()
340 …CFStringCreateWithCharactersNoCopy(0, (UniChar*)_wcsdup(value), (CFIndex)_tcslen(value), kCFAlloca… in setStringValue()
1368 …Ref> keyString(AdoptCF, CFStringCreateWithCharacters(0, reinterpret_cast<UniChar*>(key), SysString… in setPreferenceForTest()
1369 …f> valueString(AdoptCF, CFStringCreateWithCharacters(0, reinterpret_cast<UniChar*>(value), SysStri… in setPreferenceForTest()
/external/grub/stage2/
Djfs.h106 typedef u16 UniChar; typedef
285 UniChar name[15]; /* 30: */
298 UniChar name[11]; /* 22: 2-byte aligned */
310 UniChar name[11]; /* 22: 2-byte aligned */
Dfsys_jfs.c200 uni2ansi (UniChar *uni, char *ansi, int len) in uni2ansi()
/external/webkit/WebCore/platform/mac/
DWebCoreSystemInterface.h107 extern NSFont* (*wkGetFontInLanguageForCharacter)(NSFont*, UniChar);
151 extern void (*wkGetGlyphsForCharacters)(CGFontRef, const UniChar[], CGGlyph[], size_t);
156 extern OSStatus (*wkConvertCharToGlyphs)(void* styleGroup, const UniChar*, unsigned numCharacters, …
DWebCoreSystemInterface.mm40 NSFont* (*wkGetFontInLanguageForCharacter)(NSFont*, UniChar);
93 void (*wkGetGlyphsForCharacters)(CGFontRef, const UniChar[], CGGlyph[], size_t);
96 OSStatus (*wkConvertCharToGlyphs)(void* styleGroup, const UniChar*, unsigned numCharacters, void* g…
/external/webkit/WebCore/platform/text/cf/
DStringImplCF.cpp138 return CFStringCreateWithCharacters(0, reinterpret_cast<const UniChar*>(m_data), m_length); in createCFString()
144 …g = CFStringCreateWithCharactersNoCopy(allocator, reinterpret_cast<const UniChar*>(m_data), m_leng… in createCFString()
DStringCF.cpp40 CFStringGetCharacters(str, CFRangeMake(0, size), (UniChar*)buffer.data()); in String()
/external/webkit/WebCore/platform/win/
DBString.cpp103 const UniChar* uniChars = CFStringGetCharactersPtr(cfstr); in BString()
111 CFStringGetCharacters(cfstr, CFRangeMake(0, length), (UniChar*)m_bstr); in BString()
/external/webkit/WebKitLibraries/
DWebKitSystemInterface.h116 NSFont *WKGetFontInLanguageForCharacter(NSFont *font, UniChar ch);
136 void WKGetGlyphsForCharacters(CGFontRef, const UniChar[], CGGlyph[], size_t);
139 OSStatus WKConvertCharToGlyphs(void *styleGroup, const UniChar *characters, unsigned numCharacters,…
/external/webkit/JavaScriptCore/API/tests/
Dtestapi.c104 UniChar* cfBuffer = (UniChar*)malloc(cfLength * sizeof(UniChar)); in assertEqualsAsCharactersPtr()
108 if (memcmp(jsBuffer, cfBuffer, cfLength * sizeof(UniChar)) != 0) { in assertEqualsAsCharactersPtr()
816 UniChar singleUniChar = 65; // Capital A in main()
833 UniChar* buffer = (UniChar*)malloc(cfStringLength * sizeof(UniChar)); in main()
928 ASSERT(sizeof(JSChar) == sizeof(UniChar)); in main()
/external/webkit/WebCore/platform/text/mac/
DTextCodecMac.cpp208 UniChar buffer[ConversionBufferSize]; in decode()
307UniChar low = CFStringGetCharacterAtIndex(cfs.get(), startPos + charactersConverted); in encode()
/external/webkit/WebKit/mac/Misc/
DWebKitNSStringExtras.mm52 static BOOL canUseFastRenderer(const UniChar *buffer, unsigned length)
67 Vector<UniChar, 2048> buffer(length);
135 Vector<UniChar, 2048> buffer(length);
DWebNSDataExtras.m48 UniChar *uniCharPtr = NULL;
54 UniChar ch = CFStringGetCharacterAtIndex(name, i);
75 uniCharPtr = CFAllocatorAllocate(NULL, len * sizeof(UniChar), 0);
/external/webkit/WebCore/platform/wx/wxcode/mac/carbon/
Dnon-kerned-drawing.cpp47 typedef void (*CGFontGetGlyphsForUnicharsPtr)(CGFontRef, const UniChar[], const CGGlyph[], size_t);
/external/webkit/WebCore/platform/graphics/win/
DFontPlatformDataCGWin.cpp121 …RetainPtr<CFStringRef> fullName(AdoptCF, CFStringCreateWithCharacters(NULL, (const UniChar*)faceNa… in platformDataInit()
DQTMovieWin.cpp661 …ef = CFStringCreateWithCharacters(kCFAllocatorDefault, reinterpret_cast<const UniChar*>(url), len); in load()
1058 static UniChar* staticBuffer = 0; in getSupportedType()
1060 staticBuffer = new UniChar[32]; in getSupportedType()
/external/webkit/WebKit/mac/Plugins/
DWebNetscapePluginEventHandlerCocoa.mm281 unsigned length = size / sizeof(UniChar);
282 Vector<UniChar, 16> characters(length);
/external/icu4c/test/perf/ubrkperf/
Dubrkperf.cpp88 UniChar* filePtr = text;
/external/chromium/third_party/icu/source/test/perf/ubrkperf/
Dubrkperf.cpp88 UniChar* filePtr = text;
/external/qemu/distrib/sdl-1.2.12/src/video/os2fslib/
DSDL_os2fslib.c177 static UniChar NativeCharToUniChar(int chcode) in NativeCharToUniChar()
179 UniChar ucResult = (UniChar) chcode; in NativeCharToUniChar()
185 UniChar aucTo[10]; in NativeCharToUniChar()
186 UniChar *pucTo; in NativeCharToUniChar()
202 iToCount = sizeof(UniChar) * 2; in NativeCharToUniChar()
/external/webkit/WebKitTools/DumpRenderTree/win/
DDumpRenderTree.cpp779 …angeMake(0, CFStringGetLength(persistentUserStyleSheetLocation.get())), (UniChar *)urlCharacters.d… in resetDefaultsToConsistentValues()
881 UniChar* buffer = new UniChar[length]; in runTest()

12