Lines Matching defs:nsRegistry

44 #include "nsRegistry.h"
79 /*-------------------------------- nsRegistry ----------------------------------
93 #include "nsRegistry.h"
95 struct nsRegistry : public nsIRegistry {
103 nsRegistry();
106 ~nsRegistry();
117 }; // nsRegistry
122 | Class factory for nsRegistry objects. |
139 | the nsRegistry EnumerateSubtrees and EnumerateAllSubtrees functions. |
367 NS_IMPL_THREADSAFE_ISUPPORTS2(nsRegistry, nsIRegistry, nsIRegistryGetter)
373 /*-------------------------- nsRegistry::nsRegistry ----------------------------
374 | Vanilla nsRegistry constructor. |
376 nsRegistry::nsRegistry()
385 /*------------------------- nsRegistry::~nsRegistry ----------------------------
388 nsRegistry::~nsRegistry() {
401 /*----------------------------- nsRegistry::Open -------------------------------
406 NS_IMETHODIMP nsRegistry::Open( nsIFile *regFile ) {
419 printf("nsRegistry: Opening registry %s\n", regPath.get());
512 /*----------------------------- nsRegistry::OpenWellKnownRegistry --------------
516 NS_IMETHODIMP nsRegistry::OpenWellKnownRegistry( nsWellKnownRegistry regid )
571 printf("nsRegistry: Opening std registry %s\n", regFile.get());
586 /*-------------------------- nsRegistry::OpenDefault ---------------------------
590 NS_IMETHODIMP nsRegistry::OpenDefault() {
595 /*----------------------------- nsRegistry::Close ------------------------------
598 NS_IMETHODIMP nsRegistry::Close() {
611 /*----------------------------- nsRegistry::Flush ------------------------------
614 NS_IMETHODIMP nsRegistry::Flush() {
624 /*----------------------------- nsRegistry::IsOpen -----------------------------
627 NS_IMETHODIMP nsRegistry::IsOpen( PRBool *result ) {
633 /*--------------------------- nsRegistry::AddKey -------------------------------
637 NS_IMETHODIMP nsRegistry::AddKey( nsRegistryKey baseKey, const PRUnichar *keyname, nsRegistryKey *_retval)
645 /*--------------------------- nsRegistry::GetKey -------------------------------
648 NS_IMETHODIMP nsRegistry::GetKey(nsRegistryKey baseKey, const PRUnichar *keyname, nsRegistryKey *_retval)
656 /*--------------------------- nsRegistry::RemoveKey ----------------------------
659 NS_IMETHODIMP nsRegistry::RemoveKey(nsRegistryKey baseKey, const PRUnichar *keyname)
667 NS_IMETHODIMP nsRegistry::GetString(nsRegistryKey baseKey, const PRUnichar *valname, PRUnichar **_retval)
689 NS_IMETHODIMP nsRegistry::SetString(nsRegistryKey baseKey, const PRUnichar *valname, const PRUnichar *value)
699 /*--------------------------- nsRegistry::GetString ----------------------------
703 NS_IMETHODIMP nsRegistry::GetStringUTF8( nsRegistryKey baseKey, const char *path, char **result ) {
770 nsRegistry::GetStringUTF8IntoBuffer( nsRegistryKey baseKey, const char *path,
793 /*--------------------------- nsRegistry::SetString ----------------------------
796 NS_IMETHODIMP nsRegistry::SetStringUTF8( nsRegistryKey baseKey, const char *path, const char *value ) {
806 /*---------------------------- nsRegistry::GetBytesUTF8 ------------------------------
810 NS_IMETHODIMP nsRegistry::GetBytesUTF8( nsRegistryKey baseKey, const char *path, PRUint32* length, PRUint8** result) {
895 nsRegistry::GetBytesUTF8IntoBuffer( nsRegistryKey baseKey, const char *path,
929 /*---------------------------- nsRegistry::GetInt ------------------------------
933 NS_IMETHODIMP nsRegistry::GetInt( nsRegistryKey baseKey, const char *path, PRInt32 *result ) {
965 /*---------------------------- nsRegistry::GetLongLong--------------------------
969 NS_IMETHODIMP nsRegistry::GetLongLong( nsRegistryKey baseKey, const char *path, PRInt64 *result ) {
982 /*---------------------------- nsRegistry::SetBytesUTF8 ------------------------------
985 NS_IMETHODIMP nsRegistry::SetBytesUTF8( nsRegistryKey baseKey, const char *path, PRUint32 length, PRUint8* value) {
1000 /*---------------------------- nsRegistry::SetInt ------------------------------
1003 NS_IMETHODIMP nsRegistry::SetInt( nsRegistryKey baseKey, const char *path, PRInt32 value ) {
1020 /*---------------------------- nsRegistry::SetLongLong---------------------------
1023 NS_IMETHODIMP nsRegistry::SetLongLong( nsRegistryKey baseKey, const char *path, PRInt64* value ) {
1040 /*-------------------------- nsRegistry::AddSubtree ----------------------------
1043 NS_IMETHODIMP nsRegistry::AddSubtree( nsRegistryKey baseKey, const char *path, nsRegistryKey *result ) {
1053 /*-------------------------- nsRegistry::AddSubtreeRaw--------------------------
1056 NS_IMETHODIMP nsRegistry::AddSubtreeRaw( nsRegistryKey baseKey, const char *path, nsRegistryKey *result ) {
1067 /*------------------------- nsRegistry::RemoveSubtree --------------------------
1070 NS_IMETHODIMP nsRegistry::RemoveSubtree( nsRegistryKey baseKey, const char *path ) {
1124 /*------------------------- nsRegistry::RemoveSubtreeRaw -----------------------
1127 NS_IMETHODIMP nsRegistry::RemoveSubtreeRaw( nsRegistryKey baseKey, const char *keyname ) {
1175 /*-------------------------- nsRegistry::GetSubtree ----------------------------
1179 NS_IMETHODIMP nsRegistry::GetSubtree( nsRegistryKey baseKey, const char *path, nsRegistryKey *result ) {
1196 /*-------------------------- nsRegistry::GetSubtreeRaw--------------------------
1200 NS_IMETHODIMP nsRegistry::GetSubtreeRaw( nsRegistryKey baseKey, const char *path, nsRegistryKey *result ) {
1218 /*----------------------- nsRegistry::EnumerateSubtrees ------------------------
1225 NS_IMETHODIMP nsRegistry::EnumerateSubtrees( nsRegistryKey baseKey, nsIEnumerator **result ) {
1244 /*--------------------- nsRegistry::EnumerateAllSubtrees -----------------------
1248 NS_IMETHODIMP nsRegistry::EnumerateAllSubtrees( nsRegistryKey baseKey, nsIEnumerator **result ) {
1267 /*------------------------- nsRegistry::GetValueType ---------------------------
1272 NS_IMETHODIMP nsRegistry::GetValueType( nsRegistryKey baseKey, const char *path, PRUint32 *result ) {
1294 /*------------------------ nsRegistry::GetValueLength --------------------------
1298 NS_IMETHODIMP nsRegistry::GetValueLength( nsRegistryKey baseKey, const char *path, PRUint32 *result ) {
1320 /*-------------------------- nsRegistry::DeleteValue ---------------------------
1323 NS_IMETHODIMP nsRegistry::DeleteValue( nsRegistryKey baseKey, const char *path)
1334 /*------------------------ nsRegistry::EnumerateValues -------------------------
1339 NS_IMETHODIMP nsRegistry::EnumerateValues( nsRegistryKey baseKey, nsIEnumerator **result ) {
1358 /*---------------------- nsRegistry::GetCurrentUserName ------------------------
1361 NS_IMETHODIMP nsRegistry::GetCurrentUserName( char **result ) {
1378 /*---------------------- nsRegistry::SetCurrentUserName ------------------------
1381 NS_IMETHODIMP nsRegistry::SetCurrentUserName( const char *name ) {
1393 /*----------------------------- nsRegistry::Pack -------------------------------
1396 NS_IMETHODIMP nsRegistry::Pack() {
1408 /*----------------------------- nsRegistry::EscapeKey -------------------------------
1415 NS_IMETHODIMP nsRegistry::EscapeKey(PRUint8* key, PRUint32 termination, PRUint32* length, PRUint8** escaped)
1476 /*----------------------------- nsRegistry::UnescapeKey -------------------------------
1482 NS_IMETHODIMP nsRegistry::UnescapeKey(PRUint8* escaped, PRUint32 termination, PRUint32* length, PRUint8** key)
1560 /*-------------- nsRegistry::SetBufferSize-------------------------------------
1563 int nsRegistry::SetBufferSize( int bufsize )
1966 nsRegistry* newRegistry;
1978 NS_NEWXPCOM(newRegistry, nsRegistry);