Lines Matching refs:dataRef
118 CFDataRef dataRef;
121 dataRef = IORegistryEntryCreateCFProperty(options,
125 if(dataRef == NULL) {
130 if(CFGetTypeID(dataRef) != CFDataGetTypeID() || CFDataGetLength(dataRef) < sizeof(uint16_t)) {
131 if(dataRef) CFRelease(dataRef);
136 orderBuffer = (const uint16_t *)CFDataGetBytePtr(dataRef);
139 CFRelease(dataRef);
148 CFDataRef dataRef;
159 dataRef = IORegistryEntryCreateCFProperty(options,
163 if(dataRef == NULL) {
171 if(CFGetTypeID(dataRef) != CFDataGetTypeID()) {
172 if(dataRef) CFRelease(dataRef);
177 *bootOptionSize = CFDataGetLength(dataRef);
182 memcpy(buffer, CFDataGetBytePtr(dataRef), *bootOptionSize);
184 CFRelease(dataRef);
191 CFDataRef dataRef;
194 dataRef = IORegistryEntryCreateCFProperty(options,
198 if(dataRef == NULL) {
203 if(CFGetTypeID(dataRef) != CFDataGetTypeID()) {
204 if(dataRef) CFRelease(dataRef);
209 *devicePathSize = CFDataGetLength(dataRef);
214 memcpy(buffer, CFDataGetBytePtr(dataRef), *devicePathSize);
216 CFRelease(dataRef);