Lines Matching refs:result

24 	status_t result = keyStore.AddKey(keyring, password);
25 if (result != B_OK) {
26 printf("failed to add password: %s\n", strerror(result));
41 status_t result = keyStore.GetKey(keyring, B_KEY_TYPE_PASSWORD, identifier,
43 if (result != B_OK) {
45 strerror(result));
49 result = keyStore.RemoveKey(keyring, password);
50 if (result != B_OK) {
51 printf("failed to remove password: %s\n", strerror(result));
64 status_t result = keyStore.AddKeyring(keyring);
65 if (result != B_OK) {
66 printf("failed to add keyring: %s\n", strerror(result));
79 status_t result = keyStore.RemoveKeyring(keyring);
80 if (result != B_OK) {
81 printf("failed to remove keyring: %s\n", strerror(result));
97 status_t result = keyStore.GetNextKey(keyring, B_KEY_TYPE_PASSWORD,
99 if (result == B_ENTRY_NOT_FOUND)
102 if (result != B_OK) {
103 printf("failed to get next key with: %s\n", strerror(result));
122 status_t result = keyStore.GetNextKeyring(cookie, keyring);
123 if (result == B_ENTRY_NOT_FOUND)
126 if (result != B_OK) {
127 printf("failed to get next key with: %s\n", strerror(result));
152 status_t result = keyStore.LockKeyring(keyring);
153 if (result != B_OK) {
155 strerror(result));
167 status_t result= keyStore.AddKeyringToMaster(keyring);
168 if (result != B_OK) {
170 strerror(result));
182 status_t result= keyStore.RemoveKeyringFromMaster(keyring);
183 if (result != B_OK) {
185 strerror(result));
201 status_t result = keyStore.GetNextApplication(keyring,
203 if (result == B_ENTRY_NOT_FOUND)
206 if (result != B_OK) {
207 printf("failed to get next application: %s\n", strerror(result));
223 status_t result = keyStore.RemoveApplication(keyring, signature);
224 if (result != B_OK) {
225 printf("failed to remove application: %s\n", strerror(result));
239 status_t result = keyStore.SetUnlockKey(keyring, password);
240 if (result != B_OK) {
241 printf("failed to set unlock key: %s\n", strerror(result));
254 status_t result = keyStore.RemoveUnlockKey(keyring);
255 if (result != B_OK) {
256 printf("failed to remove unlock key: %s\n", strerror(result));