Lines Matching refs:result
172 int result;
176 result = db->close(db);
183 return result;
232 int result;
241 result = db->get(db, &dbkey, &dbdata, flags);
242 if (result != 0)
244 if (result == 1)
282 int result;
289 result = fchown(fd, uid, gid);
290 if (result < 0)
343 int result;
353 result = db->seq(db, &dbkey, &dbdata, db1_flags);
354 if (result == -1)
356 if (result == 1)
462 int result;
478 result = smdb_add_extension(db_file_name, sizeof db_file_name,
480 if (result != SMDBE_OK)
481 return result;
483 result = smdb_setup_file(db_name, SMDB1_FILE_EXTENSION, mode_mask,
485 if (result != SMDBE_OK)
486 return result;
493 result = smdb_lock_file(&lock_fd, db_name, mode, sff,
495 if (result != SMDBE_OK)
496 return result;
542 result = smdb_filechanged(db_name, SMDB1_FILE_EXTENSION, db_fd,
548 result = SMDBE_BAD_OPEN;
550 result = errno;
553 if (result == SMDBE_OK)
581 return result;