Lines Matching refs:fail
338 if (write(tdb->fd, &b, 1) != 1) goto fail;
346 goto fail;
364 goto fail;
369 if (ofs_write(tdb, offset, &ptr) == -1) goto fail;
382 fail:
406 goto fail;
413 goto fail;
420 goto fail;
436 goto fail;
440 goto fail;
449 goto fail;
454 goto fail;
473 fail:
540 /* Returns 0 on fail. On success, return offset of record, and fills
745 goto fail;
751 goto fail;
758 goto fail;
786 fail:
818 goto fail;
830 goto fail;
839 fail:
924 goto fail;
932 goto fail;
940 goto fail;
948 goto fail;
953 goto fail;
988 fail:
1047 goto fail;
1050 if (rec.magic != TDB_FREE_MAGIC) goto fail;
1057 goto fail;
1068 goto fail;
1076 goto fail;
1082 if (ofs_write(tdb, offset, &rec_ptr) == -1) goto fail;
1087 fail:
1119 goto fail;
1129 goto fail;
1153 goto fail;
1155 if (tdb_new_database(&tdb, hash_size) == -1) goto fail;
1161 goto fail;
1175 goto fail;
1187 if (!ret) goto fail;
1199 fail: