/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/sets/ |
D | ANTLRBitSetTest.m | 20 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/ |
D | CFContainers.mm | 6 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 …]
|
D | cfref_PR2519.c | 4 typedef signed long CFIndex; typedef 18 …Create(CFAllocatorRef allocator, const void **keys, const void **values, CFIndex numValues, const … 20 typedef CFIndex CFNumberType;
|
D | CFNumber.c | 3 typedef signed long CFIndex; typedef 14 typedef CFIndex CFNumberType;
|
D | system-header-simulator-objc.h | 6 typedef signed long CFIndex; typedef 112 extern CFMutableDictionaryRef CFDictionaryCreateMutable(CFAllocatorRef allocator, CFIndex capacity,… 118 …hExternalCharactersNoCopy(CFAllocatorRef alloc, UniChar *chars, CFIndex numChars, CFIndex capacity…
|
D | retain-release-inline.m | 21 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/ |
D | ComplexTextController.h | 93 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;
|
D | GlyphPageTreeNodeMac.cpp | 77 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()
|
D | ComplexTextController.cpp | 113 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() 123 …CFIndex 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() 431 …CFIndex lastCharacterIndex = m_run.ltr() ? numeric_limits<CFIndex>::min() : numeric_limits<CFIndex… in adjustGlyphsAndAdvances() 435 CFIndex characterIndex = complexTextRun.indexAt(i); in adjustGlyphsAndAdvances()
|
D | ComplexTextControllerCoreText.cpp | 112 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/ |
D | CookieJarCFNet.cpp | 97 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()
|
D | ResourceRequestCFNet.cpp | 96 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/ |
D | MarshallingHelpers.cpp | 87 …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/ |
D | StringImplCF.cpp | 56 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/ |
D | JavaScriptGlue.cpp | 134 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()
|
D | JSBase.h | 41 CFIndex RetainCount() const; 49 CFIndex fRetainCount;
|
/external/webkit/Source/WebCore/platform/mac/ |
D | WebCoreSystemInterface.h | 100 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…
|
D | WebCoreSystemInterface.mm | 83 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/ |
D | ArgumentCodersCF.cpp | 215 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() 418 …CFIndex numConvertedBytes = CFStringGetBytes(string, range, encoding, 0, false, 0, 0, &bufferLengt… in encode()
|
/external/webkit/Source/WebKit2/UIProcess/cf/ |
D | WebBackForwardListCF.cpp | 97 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/ |
D | ANTLRBitSet.m | 116 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/ |
D | SubresourceLoaderCF.cpp | 44 CFIndex arrayCount = CFArrayGetCount(dataArray); in didReceiveDataArray() 45 for (CFIndex i = 0; i < arrayCount; ++i) { in didReceiveDataArray()
|
/external/webkit/WebKitLibraries/ |
D | WebKitSystemInterface.h | 110 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/ |
D | WebArchiveDumpSupport.cpp | 98 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/ |
D | SharedBufferCF.cpp | 107 CFIndex bytesLeft = bytesToCopy; in copyDataArrayAndClear() 110 CFIndex dataLen = CFDataGetLength(it->get()); in copyDataArrayAndClear()
|