Home
last modified time | relevance | path

Searched refs:gdbm (Results 1 - 6 of 6) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_dbm_gnu.py3 gdbm = import_helper.import_module("dbm.gnu") #skip if not supported variable
20 print(f"gdbm version: {version}")
33 self.g = gdbm.open(filename, 'c')
37 self.g = gdbm.open(filename, 'c')
64 self.assertRaises(gdbm.error, gdbm.open, filename, 'r')
66 self.g = gdbm.open(filename, 'c')
68 self.assertRaises(gdbm.error, lambda: self.g['a'])
70 self.assertRaises(gdbm.error, lambda: gdbm
[all...]
/third_party/python/Tools/scripts/
H A Ddb2pickle.py12 -g - open as gdbm file
32 import dbm.gnu as gdbm namespace
34 gdbm = None variable
54 "gdbm", "anydbm"])
99 elif opt in ("-g", "--gdbm"):
101 dbopen = gdbm.open
H A Dpickle2db.py37 import dbm.gnu as gdbm namespace
39 gdbm = None variable
59 "gdbm"])
104 elif opt in ("-g", "--gdbm"):
106 dbopen = gdbm.open
/third_party/python/Modules/
H A D_dbmmodule.c12 /* Some Linux systems install gdbm/ndbm.h, but not ndbm.h. This supports
17 #include <gdbm/ndbm.h>
19 #include <gdbm-ndbm.h>
21 #error "No gdbm/ndbm.h or gdbm-ndbm.h available"
23 static const char which_dbm[] = "GNU gdbm";
26 static const char which_dbm[] = "GNU gdbm";
/third_party/pulseaudio/src/pulsecore/
H A Ddatabase-gdbm.c25 #include <gdbm.h>
58 free(d->data); /* gdbm uses raw malloc/free hence we should do that here, too */ in pa_datum_free()
63 return ".gdbm"; in pa_database_get_filename_suffix()
75 * gdbm takes the native block size of the underlying file system in pa_database_open_internal()
88 /* By default the cache of gdbm is rather large, let's reduce it a bit to save memory */ in pa_database_open_internal()
/third_party/python/
H A Dconfigure1852 names `ndbm', `gdbm' and `bdb'.
1927 GDBM_CFLAGS C compiler flags for gdbm
1928 GDBM_LIBS additional linker flags for gdbm
14965 for ac_header in gdbm.h
14967 ac_fn_c_check_header_compile "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
15133 # "gdbm-ndbm.h" and "gdbm/ndbm.h" are both normalized to "gdbm_ndbm_h"
15141 ac_fn_c_check_header_compile "$LINENO" "gdbm/ndbm.h" "ac_cv_header_gdbm_ndbm_h" "$ac_includes_default"
15168 ac_fn_c_check_header_compile "$LINENO" "gdbm-ndbm.h" "ac_cv_header_gdbm_ndbm_h" "$ac_includes_default"
15309 with_dbmliborder=gdbm
[all...]

Completed in 15 milliseconds