Searched refs:rangeStorage (Results 1 - 1 of 1) sorted by last modified time

/macosx-10.9.5/CF-855.17/
H A DCFString.c3288 CFMutableDataRef rangeStorage = NULL; // Basically an array of CFRange, CFDataRef (packed) local
3291 CFIndex capacity = 0; // Number of CFRange, CFDataRef element slots in rangeStorage
3306 if (rangeStorage == NULL) rangeStorage = CFDataCreateMutable(alloc, 0);
3308 CFDataSetLength(rangeStorage, capacity * (sizeof(CFRange) + sizeof(CFDataRef)));
3309 rangeStorageBytes = (uint8_t *)CFDataGetMutableBytePtr(rangeStorage) + foundCount * (sizeof(CFRange) + sizeof(CFDataRef));
3312 memmove(rangeStorageBytes + sizeof(CFRange), &rangeStorage, sizeof(CFDataRef)); // The data
3322 CFDataSetLength(rangeStorage, foundCount * (sizeof(CFRange) + sizeof(CFDataRef))); // Tighten storage up
3323 rangeStorageBytes = (uint8_t *)CFDataGetMutableBytePtr(rangeStorage);
3330 CFRelease(rangeStorage); // W
[all...]

Completed in 223 milliseconds