Home
last modified time | relevance | path

Searched refs:CFNumberRef (Results 1 – 25 of 54) sorted by relevance

123

/external/webkit/Source/WebCore/platform/graphics/cg/
DImageSourceCG.cpp177CFNumberRef widthNumber = (CFNumberRef)CFDictionaryGetValue(image0Properties.get(), kCGImageProper… in isSizeAvailable()
178CFNumberRef heightNumber = (CFNumberRef)CFDictionaryGetValue(image0Properties.get(), kCGImagePrope… in isSizeAvailable()
192CFNumberRef num = (CFNumberRef)CFDictionaryGetValue(properties.get(), kCGImagePropertyPixelWidth); in frameSizeAtIndex()
195 num = (CFNumberRef)CFDictionaryGetValue(properties.get(), kCGImagePropertyPixelHeight); in frameSizeAtIndex()
215 CFNumberRef num = (CFNumberRef)CFDictionaryGetValue(properties.get(), CFSTR("hotspotX")); in getHotSpot()
219 num = (CFNumberRef)CFDictionaryGetValue(properties.get(), CFSTR("hotspotY")); in getHotSpot()
251CFNumberRef num = (CFNumberRef)CFDictionaryGetValue(gifProperties, kCGImagePropertyGIFLoopCount); in repetitionCount()
320 …if (CFNumberRef num = (CFNumberRef)CFDictionaryGetValue(typeProperties, WebCoreCGImagePropertyGIFU… in frameDurationAtIndex()
323 …} else if (CFNumberRef num = (CFNumberRef)CFDictionaryGetValue(typeProperties, kCGImagePropertyGIF… in frameDurationAtIndex()
/external/clang/test/Analysis/
DCFNumber.c15 typedef const struct __CFNumber * CFNumberRef; typedef
16 extern CFNumberRef CFNumberCreate(CFAllocatorRef allocator, CFNumberType theType, const void *value…
18 CFNumberRef f1(unsigned char x) { in f1()
22 __attribute__((cf_returns_retained)) CFNumberRef f2(unsigned short x) { in f2()
27 __attribute__((cf_returns_not_retained)) CFNumberRef CreateNum(unsigned char x) { in CreateNum()
31 CFNumberRef f3(unsigned i) { in f3()
Dcfref_PR2519.c22 typedef const struct __CFNumber * CFNumberRef; typedef
23 extern CFNumberRef CFNumberCreate(CFAllocatorRef allocator, CFNumberType theType, const void *value…
35 CFNumberRef _value = CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &pid); in main()
Duninit-vals-ps.c68 typedef const struct __CFNumber * CFNumberRef; typedef
74 extern Boolean CFNumberGetValue(CFNumberRef number, CFNumberType theType, void *valuePtr);
77 CFStringRef rdar_6451816(CFNumberRef nr) { in rdar_6451816()
/external/webkit/Source/WebCore/platform/graphics/mac/
DSimpleFontDataCoreText.cpp55 …static CFNumberRef ligaturesNotAllowed = CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &li… in getCFStringAttributes()
58 …static CFNumberRef ligaturesAllowed = CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType, &ligat… in getCFStringAttributes()
62 …static CFNumberRef kerningAdjustment = CFNumberCreate(kCFAllocatorDefault, kCFNumberFloatType, &ke… in getCFStringAttributes()
/external/webkit/Source/WebKit2/UIProcess/cf/
DWebPreferencesCF.cpp76 if (!CFNumberGetValue((CFNumberRef)value.get(), kCFNumberSInt32Type, &intValue)) in setUInt32ValueIfInUserDefaults()
90 if (!CFNumberGetValue((CFNumberRef)value.get(), kCFNumberDoubleType, &doubleValue)) in setDoubleValueIfInUserDefaults()
131 RetainPtr<CFNumberRef> number(AdoptCF, CFNumberCreate(0, kCFNumberSInt32Type, &value)); in platformUpdateUInt32ValueForKey()
140 RetainPtr<CFNumberRef> number(AdoptCF, CFNumberCreate(0, kCFNumberDoubleType, &value)); in platformUpdateDoubleValueForKey()
DWebBackForwardListCF.cpp81 …RetainPtr<CFNumberRef> currentIndexNumber(AdoptCF, CFNumberCreate(0, kCFNumberIntType, &currentInd… in createCFDictionaryRepresentation()
91CFNumberRef cfIndex = (CFNumberRef)CFDictionaryGetValue(dictionary, SessionHistoryCurrentIndexKey(… in restoreFromCFDictionaryRepresentation()
/external/chromium/third_party/libjingle/source/talk/base/
Dmacconversion.h49 bool p_convertCFNumberToInt(CFNumberRef cfn, int* i);
52 bool p_isCFNumberTrue(CFNumberRef cfn);
Dmacconversion.cc63 bool p_convertCFNumberToInt(CFNumberRef cfn, int* i) { in p_convertCFNumberToInt()
163 bool p_isCFNumberTrue(CFNumberRef cfn) { in p_isCFNumberTrue()
/external/webkit/Source/JavaScriptGlue/
DUserObjectImp.cpp187 CFNumberGetValue((CFNumberRef)cfValue, kCFNumberDoubleType, &d); in toPrimitive()
235 if (CFNumberGetValue((CFNumberRef)cfValue, kCFNumberDoubleType, &d)) in toBoolean()
310 CFNumberGetValue((CFNumberRef)cfValue, kCFNumberDoubleType, &result); in toNumber()
351 else if (CFNumberCompare(kCFNumberPositiveInfinity, (CFNumberRef)cfValue, 0) == 0) in toString()
355 else if (CFNumberCompare(kCFNumberNegativeInfinity, (CFNumberRef)cfValue, 0) == 0) in toString()
363 CFNumberGetValue((CFNumberRef)cfValue, kCFNumberDoubleType, &d); in toString()
364 if (CFNumberIsFloatType((CFNumberRef)cfValue)) in toString()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
DCDPlayer.c246 CFNumberRef leadoutBlock; in ReadTOCData()
253 …leadoutBlock = (CFNumberRef) CFDictionaryGetValue (theSessionDict, CFSTR(kLeadoutBlockStrin… in ReadTOCData()
262 CFNumberRef trackNumber; in ReadTOCData()
263 CFNumberRef sessionNumber; in ReadTOCData()
264 CFNumberRef startBlock; in ReadTOCData()
270 … trackNumber = (CFNumberRef) CFDictionaryGetValue (theTrackDict, CFSTR(kPointKeyString)); in ReadTOCData()
271 …sessionNumber = (CFNumberRef) CFDictionaryGetValue (theTrackDict, CFSTR(kSessionNumberKeyString)); in ReadTOCData()
272 … startBlock = (CFNumberRef) CFDictionaryGetValue (theTrackDict, CFSTR(kStartBlockKeyString)); in ReadTOCData()
/external/webkit/Source/WebKit/win/
DMarshallingHelpers.cpp108 int MarshallingHelpers::CFNumberRefToInt(CFNumberRef num) in CFNumberRefToInt()
115 CFNumberRef MarshallingHelpers::intToCFNumberRef(int num) in intToCFNumberRef()
177 CFNumberRef item = (CFNumberRef) CFArrayGetValueAtIndex(inArray, i); in intArrayToSafeArray()
254 CFNumberRef* items = 0; in safeArrayToIntArray()
256 items = new CFNumberRef[len]; in safeArrayToIntArray()
DMarshallingHelpers.h48 static int CFNumberRefToInt(CFNumberRef);
49 static CFNumberRef intToCFNumberRef(int);
DWebHistoryItem.cpp120 CFNumberRef visitCountRef = (CFNumberRef) CFDictionaryGetValue(dictionaryRef, visitCountKey); in initFromDictionaryRepresentation()
167CFNumberRef dailyCount = static_cast<CFNumberRef>(CFArrayGetValueAtIndex(dailyCounts, i)); in initFromDictionaryRepresentation()
174CFNumberRef weeklyCount = static_cast<CFNumberRef>(CFArrayGetValueAtIndex(weeklyCounts, i)); … in initFromDictionaryRepresentation()
260 Vector<CFNumberRef, 13> numbers(size); in dictionaryRepresentation()
275 Vector<CFNumberRef, 5> numbers(size); in dictionaryRepresentation()
/external/chromium/net/proxy/
Dproxy_server_mac.cc38 CFNumberRef port_ref = in FromDictionary()
39 (CFNumberRef)base::mac::GetValueFromDictionary(dict, port_key, in FromDictionary()
Dproxy_config_service_mac.cc30 CFNumberRef number = (CFNumberRef)base::mac::GetValueFromDictionary( in GetBoolFromDictionary()
/external/webkit/Source/WebKit2/Shared/cf/
DArgumentCodersCF.h57 void encode(ArgumentEncoder*, CFNumberRef);
58 bool decode(ArgumentDecoder*, RetainPtr<CFNumberRef>& result);
DArgumentCodersCF.cpp112 encode(encoder, static_cast<CFNumberRef>(typeRef)); in encode()
173 RetainPtr<CFNumberRef> number; in decode()
329 void encode(ArgumentEncoder* encoder, CFNumberRef number) in encode()
389 bool decode(ArgumentDecoder* decoder, RetainPtr<CFNumberRef>& result) in decode()
404 CFNumberRef number = CFNumberCreate(0, numberType, dataReference.data()); in decode()
/external/webkit/Source/WebCore/platform/network/cf/
DProxyServerCFNet.cpp78CFNumberRef port = static_cast<CFNumberRef>(CFDictionaryGetValue(proxyDictionary, kCFProxyPortNumb… in addProxyServersForURL()
DSocketStreamHandleCFNet.cpp245 m_proxyPort = static_cast<CFNumberRef>(proxyPort); in chooseProxyFromArray()
275 …(socksEnableCF) == CFNumberGetTypeID() && CFNumberGetValue(static_cast<CFNumberRef>(socksEnableCF)… in chooseProxy()
280 m_proxyPort = static_cast<CFNumberRef>(proxyPort); in chooseProxy()
288 …(httpsEnableCF) == CFNumberGetTypeID() && CFNumberGetValue(static_cast<CFNumberRef>(httpsEnableCF)… in chooseProxy()
294 m_proxyPort = static_cast<CFNumberRef>(proxyPort); in chooseProxy()
DSocketStreamHandle.h107 RetainPtr<CFNumberRef> m_proxyPort;
/external/webkit/Source/WebCore/platform/graphics/ca/win/
DPlatformCAAnimationWin.cpp335 RetainPtr<CFNumberRef> v(AdoptCF, CFNumberCreate(0, kCFNumberFloatType, &value)); in setFromValue()
381 RetainPtr<CFNumberRef> v(AdoptCF, CFNumberCreate(0, kCFNumberFloatType, &value)); in setToValue()
431 RetainPtr<CFNumberRef> v(AdoptCF, CFNumberCreate(0, kCFNumberFloatType, &value[i])); in setValues()
497 RetainPtr<CFNumberRef> v(AdoptCF, CFNumberCreate(0, kCFNumberFloatType, &value[i])); in setKeyTimes()
519 RetainPtr<CFNumberRef> v(AdoptCF, CFNumberCreate(0, kCFNumberFloatType, &value[i])); in setTimingFunctions()
/external/webkit/WebKitLibraries/win/include/WebKitSystemInterface/
DWebKitSystemInterface.h54 typedef const struct __CFNumber* CFNumberRef; typedef
112 void wkSetCONNECTProxyForStream(CFReadStreamRef, CFStringRef proxyHost, CFNumberRef proxyPort);
/external/webkit/Source/WebCore/plugins/mac/
DPluginPackageMac.cpp178 …WTF::RetainPtr<CFNumberRef> enabled = (CFNumberRef)CFDictionaryGetValue(extensionsDict.get(), CFST… in fetchInfo()
/external/webkit/Tools/DumpRenderTree/cf/
DWebArchiveDumpSupport.cpp131 …RetainPtr<CFNumberRef> expectedContentLengthNumber(AdoptCF, CFNumberCreate(kCFAllocatorDefault, kC… in convertWebResourceResponseToDictionary()
141 …RetainPtr<CFNumberRef> statusCodeNumber(AdoptCF, CFNumberCreate(kCFAllocatorDefault, kCFNumberCFIn… in convertWebResourceResponseToDictionary()

123