Home
last modified time | relevance | path

Searched refs:cfType (Results 1 – 5 of 5) sorted by relevance

/external/webkit/Source/JavaScriptGlue/
DUserObjectImp.cpp173 CFTypeID cfType = CFGetTypeID(cfValue); // toPrimitive in toPrimitive() local
177 else if (cfType == CFBooleanGetTypeID()) { in toPrimitive()
183 } else if (cfType == CFStringGetTypeID()) { in toPrimitive()
185 } else if (cfType == CFNumberGetTypeID()) { in toPrimitive()
189 } else if (cfType == CFURLGetTypeID()) { in toPrimitive()
211 CFTypeID cfType = CFGetTypeID(cfValue); // toPrimitive in toBoolean() local
216 else if (cfType == CFBooleanGetTypeID()) in toBoolean()
223 else if (cfType == CFStringGetTypeID()) in toBoolean()
230 else if (cfType == CFNumberGetTypeID()) in toBoolean()
244 else if (cfType == CFArrayGetTypeID()) in toBoolean()
[all …]
DJSUtils.cpp154 CFTypeRef cfType = (CFTypeRef*)ptr->GetData(); in JSObjectKJSValue() local
155 if (cfType) in JSObjectKJSValue()
157 CFTypeID typeID = CFGetTypeID(cfType); in JSObjectKJSValue()
160 … result = jsString(getThreadGlobalExecState(), CFStringToUString((CFStringRef)cfType)); in JSObjectKJSValue()
166 CFNumberGetValue((CFNumberRef)cfType, kCFNumberDoubleType, &num); in JSObjectKJSValue()
172 result = jsBoolean(CFBooleanGetValue((CFBooleanRef)cfType)); in JSObjectKJSValue()
DJavaScriptGlue.cpp568 CFTypeID cfType = CFGetTypeID(data); in CFJSObjectCopyPropertyNames() local
569 if (cfType == CFDictionaryGetTypeID()) in CFJSObjectCopyPropertyNames()
/external/webkit/Source/WebCore/platform/graphics/win/
DQTMovie.cpp794 …CFStringRef cfType = CFStringCreateWithCString(kCFAllocatorDefault, type, kCFStringEncodingMacRoma… in getMIMETypeCallBack() local
795 if (!cfType) in getMIMETypeCallBack()
799 if (CFStringHasPrefix(cfType, CFSTR("audio/")) || CFStringHasPrefix(cfType, CFSTR("video/"))) { in getMIMETypeCallBack()
801 if (!CFArrayContainsValue(gSupportedTypes, range, cfType)) in getMIMETypeCallBack()
802 CFArrayAppendValue(gSupportedTypes, cfType); in getMIMETypeCallBack()
805 CFRelease(cfType); in getMIMETypeCallBack()
/external/webkit/Source/WebKit/win/
DWebPreferences.cpp74 CFTypeID cfType = CFGetTypeID(value); in numberValueForPreferencesValue() local
75 if (cfType == CFStringGetTypeID()) in numberValueForPreferencesValue()
77 else if (cfType == CFBooleanGetTypeID()) { in numberValueForPreferencesValue()
80 } else if (cfType == CFNumberGetTypeID()) { in numberValueForPreferencesValue()