• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/Security-55471.14.18/libsecurity_manifest/lib/

Lines Matching defs:namespace

24 	CFDictionaryRef namespaces; // array of dictionaries of namespace declarations
284 // attributes. check to see if any are xml namespace attributes.
292 // default namespace
298 // if the attribute is in the "xmlns" namespace, then it's
299 // really a declaration of a new namespace. record it in our dictionary.
318 // returns the current node's element name and namespace URI
320 static void copyNodeNamespaceAndName(CFDictionaryRef namespaces, CFXMLNodeRef node, CFStringRef* namespace, CFStringRef* name) {
322 *namespace = NULL;
329 // default namespace
330 *namespace = CFRetain(CFDictionaryGetValue(namespaces, CFSTR("")));
335 *namespace = ns ? CFRetain(ns) : NULL;
371 // name and namespace URI
372 static CFArrayRef copyChildrenWithName(CFXMLTreeRef tree, CFDictionaryRef inNamespaces, CFStringRef namespace, CFStringRef name) {
384 if (ns && n && CFEqual(ns, namespace) && CFEqual(n, name)) {
399 // with the given element name and namespace URI
400 static CFXMLTreeRef getChildWithName(CFXMLTreeRef tree, CFDictionaryRef inNamespaces, CFStringRef namespace, CFStringRef name) {
402 CFArrayRef array = copyChildrenWithName(tree, inNamespaces, namespace, name);
411 static CFStringRef copyChildWithNameAsString(CFXMLTreeRef tree, CFDictionaryRef inNamespaces, CFStringRef namespace, CFStringRef name) {
413 CFXMLTreeRef child = getChildWithName(tree, inNamespaces, namespace, name);
419 static CFNumberRef copyChildWithNameAsInteger(CFXMLTreeRef tree, CFDictionaryRef inNamespaces, CFStringRef namespace, CFStringRef name) {
421 CFXMLTreeRef child = getChildWithName(tree, inNamespaces, namespace, name);
434 // nodes matching the given name and namespace URI.
435 static CFArrayRef copyChildrenWithNameAsURLs(CFXMLTreeRef tree, CFDictionaryRef inNamespaces, CFStringRef namespace, CFStringRef name) {
437 CFArrayRef children = copyChildrenWithName(tree, inNamespaces, namespace, name);
458 static CFDataRef copyChildWithNameAsData(CFXMLTreeRef tree, CFDictionaryRef inNamespaces, CFStringRef namespace, CFStringRef name) {
460 CFXMLTreeRef child = getChildWithName(tree, inNamespaces, namespace, name);
483 static CFDateRef copyChildWithNameAsDate(CFXMLTreeRef tree, CFDictionaryRef inNamespaces, CFStringRef namespace, CFStringRef name) {
485 CFXMLTreeRef child = getChildWithName(tree, inNamespaces, namespace, name);