Lines Matching defs:rv
63 nsresult rv;
71 rv = NS_InitXPCOM2(getter_AddRefs(servMan), nsnull, nsnull);
72 if (NS_FAILED(rv))
74 printf("ERROR: XPCOM intialization error [%x].\n", rv);
87 rv = manager->CreateInstanceByContractID(NS_SAMPLE_CONTRACTID,
91 if (NS_FAILED(rv))
99 rv);
104 rv = mysample->WriteValue("Inital print:");
105 if (NS_FAILED(rv))
107 printf("ERROR: Calling nsISample::WriteValue() [%x]\n", rv);
112 rv = mysample->SetValue(testValue);
113 if (NS_FAILED(rv))
115 printf("ERROR: Calling nsISample::SetValue() [%x]\n", rv);
121 rv = mysample->GetValue(getter_Copies(str));
124 rv = mysample->GetValue(&str);
127 if (NS_FAILED(rv))
129 printf("ERROR: Calling nsISample::GetValue() [%x]\n", rv);
141 rv = mysample->WriteValue("Final print :");