Home
last modified time | relevance | path

Searched refs:CFIndex (Results 1 – 25 of 112) sorted by relevance

12345

/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/sets/
DANTLRBitSetTest.m20 CFIndex actual = (CFIndex)[bitSet numBits];
21 CFIndex expected = 3;
43 CFIndex actual = (CFIndex)[bitSet numBits];
44 CFIndex expected = 4;
56 CFIndex actual = (CFIndex)[bitSet numBits];
57 CFIndex expected = 3;
66 CFIndex actual = (CFIndex)[bitSet numBits];
67 CFIndex expected = 1;
82 CFIndex actual = (CFIndex)[copy numBits];
83 …STAssertEquals(actual, (CFIndex)[bitSet numBits], @"There should be three bits set in bitvector. B…
/external/clang/test/Analysis/
DCFContainers.mm6 typedef signed long CFIndex; typedef
14 CFIndex version;
21 CFArrayRef CFArrayCreate(CFAllocatorRef allocator, const void **values, CFIndex numValues, const CF…
42 typedef CFIndex CFNumberType;
44 typedef CFIndex CFComparisonResult;
56 CFIndex version;
63 CFIndex version;
70 CFIndex version;
76 …Create(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const …
85 const void *CFArrayGetValueAtIndex(CFArrayRef theArray, CFIndex idx);
[all …]
Dcfref_PR2519.c4 typedef signed long CFIndex; typedef
18 …Create(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const …
20 typedef CFIndex CFNumberType;
DCFNumber.c3 typedef signed long CFIndex; typedef
14 typedef CFIndex CFNumberType;
Dsystem-header-simulator-objc.h6 typedef signed long CFIndex; typedef
112 extern CFMutableDictionaryRef CFDictionaryCreateMutable(CFAllocatorRef allocator, CFIndex capacity,…
118 …hExternalCharactersNoCopy(CFAllocatorRef alloc, UniChar *chars, CFIndex numChars, CFIndex capacity…
Dretain-release-inline.m21 typedef signed long CFIndex; typedef
22 typedef CFIndex CFByteOrder;
24 CFIndex location;
25 CFIndex length;
27 static __inline__ __attribute__((always_inline)) CFRange CFRangeMake(CFIndex loc, CFIndex len) {
45 extern CFMutableArrayRef CFArrayCreateMutable(CFAllocatorRef allocator, CFIndex capacity, const CFA…
46 extern const void *CFArrayGetValueAtIndex(CFArrayRef theArray, CFIndex idx);
58 extern CFMutableDictionaryRef CFDictionaryCreateMutable(CFAllocatorRef allocator, CFIndex capacity,…
76 typedef CFIndex CFNumberType;
82 …butedStringRef CFAttributedStringCreateMutableCopy(CFAllocatorRef alloc, CFIndex maxLength, CFAttr…
/external/webkit/Source/WebCore/platform/graphics/mac/
DComplexTextController.h93 ALWAYS_INLINE CFIndex indexAt(size_t i) const;
94 CFIndex indexEnd() const { return m_indexEnd; } in indexEnd()
95 CFIndex endOffsetAt(size_t i) const { ASSERT(!m_isMonotonic); return m_glyphEndOffsets[i]; } in endOffsetAt()
125 Vector<CFIndex, 64> m_coreTextIndicesVector;
126 const CFIndex* m_coreTextIndices;
129 Vector<CFIndex, 64> m_atsuiIndices;
131 CFIndex m_indexEnd;
132 Vector<CFIndex, 64> m_glyphEndOffsets;
DGlyphPageTreeNodeMac.cpp77 CFIndex runCount = CFArrayGetCount(runArray); in fill()
84 Vector<CFIndex, 512> indexVector; in fill()
91 for (CFIndex r = 0; r < runCount && !done ; ++r) { in fill()
103 CFIndex glyphCount = CTRunGetGlyphCount(ctRun); in fill()
110 const CFIndex* stringIndices = CTRunGetStringIndicesPtr(ctRun); in fill()
117 for (CFIndex i = 0; i < glyphCount; ++i) { in fill()
118 if (stringIndices[i] >= static_cast<CFIndex>(length)) { in fill()
DComplexTextController.cpp113 CFIndex hitGlyphStart = complexTextRun.indexAt(j); in offsetForPosition()
114 CFIndex hitGlyphEnd; in offsetForPosition()
116 …hitGlyphEnd = max<CFIndex>(hitGlyphStart, j + 1 < complexTextRun.glyphCount() ? complexTextRun.ind… in offsetForPosition()
118 …hitGlyphEnd = max<CFIndex>(hitGlyphStart, j > 0 ? complexTextRun.indexAt(j - 1) : static_cast<CFIn… in offsetForPosition()
123CFIndex hitIndex = hitGlyphStart + (hitGlyphEnd - hitGlyphStart) * (m_run.ltr() ? x / adjustedAdva… in offsetForPosition()
280 CFIndex ComplexTextController::ComplexTextRun::indexAt(size_t i) const in indexAt()
328 ASSERT(indexAt(i) < static_cast<CFIndex>(m_stringLength)); in setIsNonMonotonic()
334 CFIndex nextMappedIndex = m_indexEnd; in setIsNonMonotonic()
431CFIndex lastCharacterIndex = m_run.ltr() ? numeric_limits<CFIndex>::min() : numeric_limits<CFIndex in adjustGlyphsAndAdvances()
435 CFIndex characterIndex = complexTextRun.indexAt(i); in adjustGlyphsAndAdvances()
DComplexTextControllerCoreText.cpp112 static const UniChar* provideStringAndAttributes(CFIndex stringIndex, CFIndex* charCount, CFDiction… in provideStringAndAttributes()
165 CFIndex runCount = CFArrayGetCount(runArray); in collectComplexTextRunsForCharactersCoreText()
167 for (CFIndex r = 0; r < runCount; r++) { in collectComplexTextRunsForCharactersCoreText()
/external/webkit/Source/WebCore/platform/network/cf/
DCookieJarCFNet.cpp97 CFIndex count = CFArrayGetCount(unfilteredCookies); in filterCookies()
99 for (CFIndex i = 0; i < count; ++i) { in filterCookies()
193 CFIndex count = CFArrayGetCount(cookiesCF.get()); in getRawCookies()
196 for (CFIndex i = 0; i < count; i++) { in getRawCookies()
226 CFIndex count = CFArrayGetCount(cookiesCF.get()); in deleteCookie()
227 for (CFIndex i = 0; i < count; i++) { in deleteCookie()
246 CFIndex count = CFArrayGetCount(cookiesCF.get()); in getHostnamesWithCookies()
247 for (CFIndex i = 0; i < count; ++i) { in getHostnamesWithCookies()
264 CFIndex count = CFArrayGetCount(cookiesCF.get()); in deleteCookiesForHostname()
265 for (CFIndex i = count - 1; i >=0; i--) { in deleteCookiesForHostname()
DResourceRequestCFNet.cpp96 CFIndex oldHeaderFieldCount = CFDictionaryGetCount(oldHeaderFields.get()); in setHeaderFields()
100 for (CFIndex i = 0; i < oldHeaderFieldCount; ++i) in setHeaderFields()
178 CFIndex headerCount = CFDictionaryGetCount(headers); in doUpdateResourceRequest()
190 CFIndex count = CFArrayGetCount(encodingFallbacks.get()); in doUpdateResourceRequest()
191 for (CFIndex i = 0; i < count; ++i) { in doUpdateResourceRequest()
192 …CFStringEncoding encoding = reinterpret_cast<CFIndex>(CFArrayGetValueAtIndex(encodingFallbacks.get… in doUpdateResourceRequest()
/external/webkit/Source/WebKit/win/
DMarshallingHelpers.cpp87 …return CFStringCreateWithCharacters(0, (const UniChar*)(str ? str : TEXT("")), (CFIndex)(str ? wcs… in LPCOLESTRToCFStringRef()
99 CFIndex length = CFStringGetLength(str); in CFStringRefToBSTR()
157 CFIndex size = CFArrayGetCount(inArray); in stringArrayToSafeArray()
160 for (CFIndex i=0; i<size; i++) { in stringArrayToSafeArray()
173 CFIndex size = CFArrayGetCount(inArray); in intArrayToSafeArray()
176 for (CFIndex i=0; i<size; i++) { in intArrayToSafeArray()
213 CFIndex size = CFArrayGetCount(inArray); in iunknownArrayToSafeArray()
216 for (CFIndex i=0; i<size; i++) { in iunknownArrayToSafeArray()
/external/webkit/Source/WebCore/platform/text/cf/
DStringImplCF.cpp56 static void* allocate(CFIndex size, CFOptionFlags, void*) in allocate()
71 static void* reallocate(void* pointer, CFIndex newSize, CFOptionFlags, void*) in reallocate()
105 static CFIndex preferredSize(CFIndex size, CFOptionFlags, void*) in preferredSize()
/external/webkit/Source/JavaScriptGlue/
DJavaScriptGlue.cpp134 CFIndex JSGetRetainCount(JSTypeRef ref) in JSGetRetainCount()
136 CFIndex result = -1; in JSGetRetainCount()
454 CFIndex arrayCount = CFArrayGetCount((CFArrayRef)data); in CFJSObjectCopyProperty()
497 CFIndex arrayCount = CFArrayGetCount((CFArrayRef)data); in CFJSObjectSetProperty()
518 CFIndex arrayCount = CFArrayGetCount((CFArrayRef)data); in CFJSObjectSetProperty()
571 CFIndex count = CFDictionaryGetCount((CFDictionaryRef)data); in CFJSObjectCopyPropertyNames()
602 CFIndex count = array ? CFArrayGetCount(array) : 0; in JSCreateCFArrayFromJSArray()
604 CFIndex i; in JSCreateCFArrayFromJSArray()
627 CFIndex count = array ? CFArrayGetCount(array) : 0; in JSCreateJSArrayFromCFArray()
630 CFIndex i; in JSCreateJSArrayFromCFArray()
DJSBase.h41 CFIndex RetainCount() const;
49 CFIndex fRetainCount;
/external/webkit/Source/WebCore/platform/mac/
DWebCoreSystemInterface.h100 CFIndex (*formRead)(CFReadStreamRef, UInt8 *, CFIndex, CFStreamError *, Boolean *, void *),
190 extern CFIndex (*wkGetHyphenationLocationBeforeIndex)(CFStringRef string, CFIndex index);
202 …*wkCreateCTLineWithUniCharProvider)(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCo…
204 …etterWithUniCharProviderAndOptions)(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCo…
DWebCoreSystemInterface.mm83 CFIndex (*formRead)(CFReadStreamRef, UInt8 *, CFIndex, CFStreamError *, Boolean *, void *),
123 CFIndex (*wkGetHyphenationLocationBeforeIndex)(CFStringRef string, CFIndex index); function
127 …*wkCreateCTLineWithUniCharProvider)(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCo…
129 …etterWithUniCharProviderAndOptions)(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCo…
/external/webkit/Source/WebKit2/Shared/cf/
DArgumentCodersCF.cpp215 CFIndex size = CFArrayGetCount(array); in encode()
221 for (CFIndex i = 0; i < size; ++i) { in encode()
265 CFIndex length = CFDataGetLength(data); in encode()
283 CFIndex size = CFDictionaryGetCount(dictionary); in encode()
291 for (CFIndex i = 0; i < size; ++i) { in encode()
371 return sizeof(CFIndex); in sizeForNumberType()
412 CFIndex length = CFStringGetLength(string); in encode()
416 CFIndex bufferLength = 0; in encode()
418CFIndex numConvertedBytes = CFStringGetBytes(string, range, encoding, 0, false, 0, 0, &bufferLengt… in encode()
/external/webkit/Source/WebKit2/UIProcess/cf/
DWebBackForwardListCF.cpp97 CFIndex currentIndex; in restoreFromCFDictionaryRepresentation()
109 CFIndex size = CFArrayGetCount(cfEntries); in restoreFromCFDictionaryRepresentation()
110 if (currentIndex != static_cast<CFIndex>(NoCurrentItemIndex) && currentIndex >= size) { in restoreFromCFDictionaryRepresentation()
115 if (currentIndex == static_cast<CFIndex>(NoCurrentItemIndex) && size) { in restoreFromCFDictionaryRepresentation()
122 for (CFIndex i = 0; i < size; ++i) { in restoreFromCFDictionaryRepresentation()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRBitSet.m116 if ((CFIndex)type >= CFBitVectorGetCount(bitVector))
146 CFIndex bitIdx;
151 for (bitIdx = 0; bitIdx < (CFIndex)sizeof(unsigned long long)*8; bitIdx++) {
203 CFIndex selfCnt = CFBitVectorGetCount(bitVector);
205 CFIndex otherCnt = CFBitVectorGetCount(otherBitVector);
206 CFIndex maxBitCnt = selfCnt > otherCnt ? selfCnt : otherCnt;
209 CFIndex currIdx;
220 if ((CFIndex)bit >= CFBitVectorGetCount(bitVector))
278 CFIndex length = CFBitVectorGetCount(bitVector);
279 CFIndex currBit;
/external/webkit/Source/WebCore/loader/cf/
DSubresourceLoaderCF.cpp44 CFIndex arrayCount = CFArrayGetCount(dataArray); in didReceiveDataArray()
45 for (CFIndex i = 0; i < arrayCount; ++i) { in didReceiveDataArray()
/external/webkit/WebKitLibraries/
DWebKitSystemInterface.h110 CFIndex (*formRead)(CFReadStreamRef, UInt8 *, CFIndex, CFStreamError *, Boolean *, void *),
174 CTLineRef WKCreateCTLineWithUniCharProvider(const UniChar* (*provide)(CFIndex stringIndex, CFIndex*…
176 …setterWithUniCharProviderAndOptions(const UniChar* (*provide)(CFIndex stringIndex, CFIndex* charCo…
397 CFIndex WKGetHyphenationLocationBeforeIndex(CFStringRef string, CFIndex index);
/external/webkit/Tools/DumpRenderTree/cf/
DWebArchiveDumpSupport.cpp98 static CFIndex fileUrlLength = CFStringGetLength(CFSTR("file://")); in normalizeWebResourceURL()
140 CFIndex statusCode = CFHTTPMessageGetResponseStatusCode(httpMessage); in convertWebResourceResponseToDictionary()
162 CFIndex bytesCount = CFDataGetLength(webArchiveData); in createXMLStringFromWebArchiveData()
197 CFIndex subresourcesCount = CFArrayGetCount(subresources); in createXMLStringFromWebArchiveData()
198 for (CFIndex i = 0; i < subresourcesCount; ++i) { in createXMLStringFromWebArchiveData()
/external/webkit/Source/WebCore/platform/cf/
DSharedBufferCF.cpp107 CFIndex bytesLeft = bytesToCopy; in copyDataArrayAndClear()
110 CFIndex dataLen = CFDataGetLength(it->get()); in copyDataArrayAndClear()

12345