Lines Matching refs:attributes
62 SecCode *GenericCode::locateGuest(CFDictionaryRef attributes)
67 if (attributes) {
68 attrData.take(CFPropertyListCreateXMLData(NULL, attributes));
96 CFDictionary attributes(errSecCSHostProtocolInvalidAttribute);
97 identifyGuest(iguest->guestRef(), path, cdhash.aref(), attributes.aref());
99 if (CFNumberRef architecture = attributes.get<CFNumberRef>(kSecGuestAttributeArchitecture)) {
101 if (CFNumberRef subarchitecture = attributes.get<CFNumberRef>(kSecGuestAttributeSubarchitecture))
118 void GenericCode::identifyGuest(SecGuestRef guest, char *path, CFDataRef &cdhash, CFDictionaryRef &attributes)
130 attributes = makeCFDictionaryFrom(attrData);
132 CFMutableDictionaryRef hattr = makeCFMutableDictionary(attributes);
134 CFRelease(attributes);
135 attributes = hattr;