Lines Matching refs:nerr_raise
97 return nerr_raise (NERR_NOMEM, in wdb_encode_str_alloc()
137 return nerr_raise (NERR_NOMEM, in wdb_decode_str_alloc()
188 return nerr_raise (NERR_NOMEM, "Unable to allocate memory for WDB"); in wdb_alloc()
246 return nerr_raise (NERR_PARSE, "Error parsing %s", line); in wdb_load_defn_v1()
248 return nerr_raise (NERR_PARSE, "Error parsing %s", line); in wdb_load_defn_v1()
276 return nerr_raise (NERR_PARSE, "Error parsing %s", line); in wdb_load_defn_v1()
293 return nerr_raise (NERR_PARSE, "Error parsing %s", line); in wdb_load_defn_v1()
295 return nerr_raise (NERR_PARSE, "Error parsing %s", line); in wdb_load_defn_v1()
308 return nerr_raise (NERR_PARSE, "Error parsing %s", line); in wdb_load_defn_v1()
314 return nerr_raise (NERR_ASSERT, "Invalid ondisk mapping for %s", k); in wdb_load_defn_v1()
322 return nerr_raise (NERR_ASSERT, "Invalid state %d", state); in wdb_load_defn_v1()
402 return nerr_raise (r, "Unable to save defn"); in wdb_save_defn_v1()
417 return nerr_raise (NERR_NOT_FOUND, "Unable to open defn %s", name); in wdb_load_defn()
438 return nerr_raise (NERR_ASSERT, "Unknown defn version %s: %s", line, name); in wdb_load_defn()
513 return nerr_raise (NERR_DB, "Unable to open database %s: %d", name, r); in wdb_open()
694 return nerr_raise (NERR_NOMEM, "Unable to allocate memory to pack row"); in pack_row()
730 return nerr_raise (NERR_ASSERT, "Unknown type %d", col->type); in pack_row()
742 return nerr_raise(NERR_NOMEM, "Unable to allocate memory for pack_row"); in pack_row()
780 return nerr_raise (NERR_ASSERT, "Unknown type %d for col %d", type, ondisk_index); in unpack_row()
785 return nerr_raise (NERR_ASSERT, "Unknown version %d", version); in unpack_row()
790 return nerr_raise(NERR_PARSE, "Unable to unpack row %s", row->key_value); in unpack_row()
802 return nerr_raise (NERR_DUPLICATE, in wdb_column_insert()
808 return nerr_raise (NERR_NOMEM, in wdb_column_insert()
816 return nerr_raise (NERR_NOMEM, in wdb_column_insert()
885 return nerr_raise (NERR_NOT_FOUND, in wdb_column_update()
891 return nerr_raise (NERR_NOMEM, in wdb_column_update()
900 return nerr_raise (NERR_NOMEM, in wdb_column_update()
917 return nerr_raise (NERR_ASSERT, "Unable to find cols_l for key %s", oldkey); in wdb_column_update()
958 return nerr_raise (NERR_NOT_FOUND, in wdb_column_delete()
969 return nerr_raise (NERR_ASSERT, in wdb_column_exchange()
982 return nerr_raise (NERR_NOMEM, in wdb_update()
995 return nerr_raise (NERR_NOMEM, in wdb_update()
1024 return nerr_raise (NERR_NOMEM, in wdb_create()
1060 return nerr_raise (NERR_DB, "Unable to create db file %s: %d", d_path, r); in wdb_create()
1082 return nerr_raise (NERR_NOT_FOUND, "Unable to find attr %s", key); in wdb_attr_get()
1096 return nerr_raise (NERR_NOMEM, "No memory for new attr"); in wdb_attr_set()
1115 return nerr_raise (NERR_NOT_FOUND, "Unable to find key %s", key); in wdbr_get()
1118 …return nerr_raise (NERR_ASSERT, "Index for key %s is greater than row data, was table altered?", k… in wdbr_get()
1134 return nerr_raise (NERR_NOT_FOUND, "Unable to find key %s", key); in wdbr_set()
1137 …return nerr_raise (NERR_ASSERT, "Index for key %s is greater than row data, was table altered?", k… in wdbr_set()
1159 return nerr_raise (NERR_NOMEM, "No memory for new row"); in alloc_row()
1186 return nerr_raise (NERR_ASSERT, "Row %s doesn't match current table", my_row->key_value); in wdbr_destroy()
1207 return nerr_raise (NERR_ASSERT, "Unknown type %d", col->type); in wdbr_destroy()
1238 return nerr_raise (NERR_NOT_FOUND, "Unable to find key %s", key); in wdbr_lookup()
1240 return nerr_raise (NERR_DB, "Error retrieving key %s: %d", key, r); in wdbr_lookup()
1255 return nerr_raise (NERR_NOMEM, "No memory for new row"); in wdbr_lookup()
1287 return nerr_raise (NERR_NOMEM, "No memory for new row"); in wdbr_create()
1319 return nerr_raise (NERR_DUPLICATE, "Key %s already exists", row->key_value); in wdbr_save()
1321 return nerr_raise (NERR_DB, "Error saving key %s: %d", in wdbr_save()
1341 return nerr_raise (NERR_NOT_FOUND, "Key %s not found", key); in wdbr_delete()
1343 return nerr_raise (NERR_DB, "Error deleting key %s: %d", key, r); in wdbr_delete()
1376 return nerr_raise (NERR_DB, "Unable to create cursor: %d", r); in wdbc_create()
1382 return nerr_raise (NERR_NOMEM, "Unable to create cursor"); in wdbc_create()
1415 return nerr_raise (NERR_ASSERT, "Cursor doesn't match database"); in wdbr_next()
1428 return nerr_raise (NERR_NOT_FOUND, "Cursor empty"); in wdbr_next()
1430 return nerr_raise (NERR_DB, "Unable to get first item from cursor: %d", in wdbr_next()
1439 return nerr_raise (NERR_DB, "Unable to get next item from cursor: %d", r); in wdbr_next()
1455 return nerr_raise (NERR_NOMEM, "No memory for new row"); in wdbr_next()
1487 return nerr_raise (NERR_ASSERT, "Cursor doesn't match database"); in wdbr_find()
1502 return nerr_raise (r, "Unable to get find item for key %s", key); in wdbr_find()
1517 return nerr_raise (NERR_NOMEM, "No memory for new row"); in wdbr_find()
1550 return nerr_raise (NERR_NOMEM, "Unable to allocate memory for keys"); in wdb_keys()
1567 err = nerr_raise (NERR_NOMEM, "Unable to allocate memory for keys"); in wdb_keys()