Searched refs:getPathComponent (Results 1 - 2 of 2) sorted by relevance

/xnu-2782.1.97/iokit/IOKit/
H A DIORegistryEntry.h712 @discussion The path for a registry entry is copied to the caller's buffer. The path describes the entry's attachment in a particular plane, which must be specified. The path begins with the plane name followed by a colon, and then followed by '/' separated path components for each of the entries between the root and the registry entry. Each component is constructed with the getPathComponent method called in each entry. An alias may also exist for the entry, which are described as properties in a registry entry found at /aliases in the plane. If a property value interpreted as a path in a call to IORegistryEntry::fromPath yields the entry, then the property name is used as the entry's path.
721 /*! @function getPathComponent
723 @discussion Each component of a path created with getPath is created with getPathComponent. The default implementation concatenates the entry's name in the the plane, with the "at" symbol and the location string of the entry in the plane if it has been set.
725 @param length An in/out parameter - the caller sets the length of the buffer available, and getPathComponent returns the total length of the path component copied to the buffer.
729 virtual bool getPathComponent( char * path, int * length,
/xnu-2782.1.97/iokit/Kernel/
H A DIORegistryEntry.cpp960 ok = entry->getPathComponent( nextComp + 1, &compLen, plane );
981 bool IORegistryEntry::getPathComponent( char * path, int * length, function in class:IORegistryEntry

Completed in 33 milliseconds