Lines Matching defs:root
51 static void display( nsIRegistry *reg, nsRegistryKey root, const char *name );
52 static void displayValues( nsIRegistry *reg, nsRegistryKey root );
159 void display( nsIRegistry *reg, nsRegistryKey root, const char *rootName ) {
163 // Make sure it isn't a "root" key.
164 if ( root != nsIRegistry::Common
166 root != nsIRegistry::Users
168 root != nsIRegistry::CurrentUser ) {
170 displayValues( reg, root );
175 nsresult rv = reg->EnumerateSubtrees( root, &keys );
205 rv = reg->GetSubtreeRaw( root, name, &key );
238 printf( "Error creating enumerator for %s, root=0x%08X, rv=0x%08X\n",
239 rootName, (int)root, (int)rv );
244 static void displayValues( nsIRegistry *reg, nsRegistryKey root ) {
247 nsresult rv = reg->EnumerateValues( root, &values );
275 rv = reg->GetValueType( root, name, &type );
281 rv = reg->GetStringUTF8( root, name, &strValue );
294 rv = reg->GetInt( root, name, &val );