/macosx-10.10.1/BerkeleyDB-21/db/docs_src/historic/ |
H A D | Makefile | 1 C= dbm.html \
|
/macosx-10.10.1/ksh-23/ksh/src/cmd/INIT/ |
H A D | db.c | 21 * small test for sleepycat dbm compatibility 33 DBM* dbm = 0; local 35 dbm_close(dbm);
|
H A D | gdbm.c | 33 DBM* dbm = 0; local 35 dbm_close(dbm);
|
H A D | gdbm1.c | 33 DBM* dbm = 0; local 35 dbm_close(dbm);
|
H A D | gdbm2.c | 33 DBM* dbm = 0; local 35 dbm_close(dbm);
|
/macosx-10.10.1/ruby-106/ruby/test/dbm/ |
H A D | test_dbm.rb | 5 require 'dbm' 36 DBM.open("#{@tmpdir}/#{@prefix}_rdonly") {|dbm| 37 dbm['foo'] = 'FOO' 68 assert_instance_of(DBM, @dbm = DBM.new(@path)) 71 assert_nil(@dbm.close) unless @dbm.closed? 78 def check_size(expect, dbm=@dbm) 79 assert_equal(expect, dbm.size) 81 dbm [all...] |
/macosx-10.10.1/Heimdal-398.1.2/lib/otp/ |
H A D | otp_challenge.c | 44 void *dbm; local 54 dbm = otp_db_open (); 55 if (dbm == NULL) { 59 ret = otp_get (dbm, ctx); 60 otp_db_close (dbm);
|
H A D | otp_verify.c | 63 void *dbm; local 69 dbm = otp_db_open (); 70 if (dbm == NULL) { 74 otp_put (dbm, ctx); 76 otp_db_close (dbm);
|
H A D | otp_db.c | 78 otp_db_close (void *dbm) argument 80 dbm_close ((DBM *)dbm); 92 DBM *dbm = (DBM *)v; local 98 return dbm_delete(dbm, key); 108 DBM *dbm = (DBM *)v; local 116 dat = dbm_fetch (dbm, key); 149 return dbm_store (dbm, key, dat, DBM_REPLACE); 181 DBM *dbm = (DBM *)v; local 232 return dbm_store (dbm, key, dat, DBM_REPLACE);
|
/macosx-10.10.1/apr-32/apr-util/apr-util/include/ |
H A D | apr_dbm.h | 40 * Structure for referencing a dbm 45 * Structure for referencing the datum record within a dbm 62 * Open a dbm file by file name and type of DBM 63 * @param dbm The newly opened database 72 * @param name The dbm file name to open 81 * @param cntxt The pool to use when creating the dbm 82 * @remark The dbm name may not be a true file name, as many dbm packages 85 * was highly inefficient, and as of 2.x the dbm name must be provided in 89 APU_DECLARE(apr_status_t) apr_dbm_open_ex(apr_dbm_t **dbm, cons 119 APU_DECLARE(void) apr_dbm_close(apr_dbm_t *dbm); variable [all...] |
/macosx-10.10.1/apr-32/apr-util/apr-util/dbm/ |
H A D | apr_dbm_ndbm.c | 50 static apr_status_t set_error(apr_dbm_t *dbm, apr_status_t dbm_said) argument 56 dbm->errmsg = NULL; 57 if (dbm_error((DBM*)dbm->file)) { 58 dbm->errmsg = NULL; 63 dbm_clearerr((DBM*)dbm->file); 116 static void vt_ndbm_close(apr_dbm_t *dbm) argument 118 dbm_close(dbm->file); 121 static apr_status_t vt_ndbm_fetch(apr_dbm_t *dbm, apr_datum_t key, argument 129 rd = dbm_fetch(dbm->file, kd); 136 return set_error(dbm, APR_SUCCES 139 vt_ndbm_store(apr_dbm_t *dbm, apr_datum_t key, apr_datum_t value) argument 157 vt_ndbm_del(apr_dbm_t *dbm, apr_datum_t key) argument 171 vt_ndbm_exists(apr_dbm_t *dbm, apr_datum_t key) argument 183 vt_ndbm_firstkey(apr_dbm_t *dbm, apr_datum_t *pkey) argument 196 vt_ndbm_nextkey(apr_dbm_t *dbm, apr_datum_t *pkey) argument 212 vt_ndbm_freedatum(apr_dbm_t *dbm, apr_datum_t data) argument [all...] |
H A D | apr_dbm_sdbm.c | 36 static apr_status_t set_error(apr_dbm_t *dbm, apr_status_t dbm_said) argument 38 dbm->errcode = dbm_said; 41 dbm->errmsg = apr_psprintf(dbm->pool, "%pm", &dbm_said); 43 dbm->errmsg = NULL; 99 static void vt_sdbm_close(apr_dbm_t *dbm) argument 101 apr_sdbm_close(dbm->file); 104 static apr_status_t vt_sdbm_fetch(apr_dbm_t *dbm, apr_datum_t key, argument 113 rv = apr_sdbm_fetch(dbm->file, &rd, kd); 120 return set_error(dbm, r 123 vt_sdbm_store(apr_dbm_t *dbm, apr_datum_t key, apr_datum_t value) argument 141 vt_sdbm_del(apr_dbm_t *dbm, apr_datum_t key) argument 155 vt_sdbm_exists(apr_dbm_t *dbm, apr_datum_t key) argument 171 vt_sdbm_firstkey(apr_dbm_t *dbm, apr_datum_t *pkey) argument 185 vt_sdbm_nextkey(apr_dbm_t *dbm, apr_datum_t *pkey) argument 198 vt_sdbm_freedatum(apr_dbm_t *dbm, apr_datum_t data) argument [all...] |
H A D | apr_dbm.c | 89 else if (*type && !strcasecmp(type + 1, "dbm")) { 115 else if (*type && !strcasecmp(type + 1, "dbm")) { 164 apr_snprintf(modname, sizeof(modname), "dbm%s.nlm", type); 213 APU_DECLARE(void) apr_dbm_close(apr_dbm_t *dbm) argument 215 (*dbm->type->close)(dbm); 218 APU_DECLARE(apr_status_t) apr_dbm_fetch(apr_dbm_t *dbm, apr_datum_t key, 221 return (*dbm->type->fetch)(dbm, key, pvalue); 224 APU_DECLARE(apr_status_t) apr_dbm_store(apr_dbm_t *dbm, apr_datum_ 235 apr_dbm_exists(apr_dbm_t *dbm, apr_datum_t key) argument 250 apr_dbm_freedatum(apr_dbm_t *dbm, apr_datum_t data) argument 255 apr_dbm_geterror(apr_dbm_t *dbm, int *errcode, char *errbuf, apr_size_t errbufsize) argument [all...] |
H A D | apr_dbm_gdbm.c | 54 static apr_status_t set_error(apr_dbm_t *dbm, apr_status_t dbm_said) argument 60 if ((dbm->errcode = gdbm_errno) == GDBM_NO_ERROR) { 61 dbm->errmsg = NULL; 64 dbm->errmsg = gdbm_strerror(gdbm_errno); 123 static void vt_gdbm_close(apr_dbm_t *dbm) argument 125 gdbm_close(dbm->file); 128 static apr_status_t vt_gdbm_fetch(apr_dbm_t *dbm, apr_datum_t key, argument 136 rd = gdbm_fetch(dbm->file, kd); 142 apr_pool_cleanup_register(dbm->pool, pvalue->dptr, datum_cleanup, 147 return set_error(dbm, APR_SUCCES 150 vt_gdbm_store(apr_dbm_t *dbm, apr_datum_t key, apr_datum_t value) argument 168 vt_gdbm_del(apr_dbm_t *dbm, apr_datum_t key) argument 182 vt_gdbm_exists(apr_dbm_t *dbm, apr_datum_t key) argument 192 vt_gdbm_firstkey(apr_dbm_t *dbm, apr_datum_t *pkey) argument 209 vt_gdbm_nextkey(apr_dbm_t *dbm, apr_datum_t *pkey) argument 229 vt_gdbm_freedatum(apr_dbm_t *dbm, apr_datum_t data) argument [all...] |
H A D | apr_dbm_berkeleydb.c | 105 static apr_status_t set_error(apr_dbm_t *dbm, apr_status_t dbm_said) argument 112 dbm->errcode = 0; 113 dbm->errmsg = NULL; 118 dbm->errcode = dbm_said; 120 dbm->errmsg = NULL; 122 dbm->errmsg = db_strerror(dbm_said - APR_OS_START_USEERR); 206 static void vt_db_close(apr_dbm_t *dbm) argument 208 (*GET_BDB(dbm->file)->close)(GET_BDB(dbm->file) 215 static apr_status_t vt_db_fetch(apr_dbm_t *dbm, apr_datum_ argument 247 vt_db_store(apr_dbm_t *dbm, apr_datum_t key, apr_datum_t value) argument 270 vt_db_del(apr_dbm_t *dbm, apr_datum_t key) argument 287 vt_db_exists(apr_dbm_t *dbm, apr_datum_t key) argument 305 vt_db_firstkey(apr_dbm_t *dbm, apr_datum_t * pkey) argument 337 vt_db_nextkey(apr_dbm_t *dbm, apr_datum_t * pkey) argument 376 vt_db_freedatum(apr_dbm_t *dbm, apr_datum_t data) argument [all...] |
/macosx-10.10.1/ruby-106/ruby/ext/gdbm/ |
H A D | gdbm.c | 23 * Ruby extension for GNU dbm (gdbm) -- a simple database engine for storing 28 * GNU dbm is a library for simple databases. A database is a file that stores 109 #define GetDBM2(obj, data, dbm) {\ 111 (dbm) = dbmp->di_dbm;\ 194 GDBM_FILE dbm; local 220 dbm = gdbm_open(RSTRING_PTR(file), MY_BLOCK_SIZE, 224 dbm = 0; 226 dbm = gdbm_open(RSTRING_PTR(file), MY_BLOCK_SIZE, 228 if (!dbm) 229 dbm 296 rb_gdbm_fetch(GDBM_FILE dbm, datum key) argument 312 rb_gdbm_fetch2(GDBM_FILE dbm, VALUE keystr) argument 330 GDBM_FILE dbm; local 337 rb_gdbm_firstkey(GDBM_FILE dbm) argument 353 rb_gdbm_nextkey(GDBM_FILE dbm, VALUE keystr) argument 430 GDBM_FILE dbm; local 468 GDBM_FILE dbm; local 518 GDBM_FILE dbm; local 571 GDBM_FILE dbm; local 595 GDBM_FILE dbm; local 636 GDBM_FILE dbm; local 679 GDBM_FILE dbm; local 705 GDBM_FILE dbm; local 728 update_i(VALUE pair, VALUE dbm) argument 780 GDBM_FILE dbm; local 807 GDBM_FILE dbm; local 836 GDBM_FILE dbm; local 862 GDBM_FILE dbm; local 887 GDBM_FILE dbm; local 914 GDBM_FILE dbm; local 939 GDBM_FILE dbm; local 967 GDBM_FILE dbm; local 994 GDBM_FILE dbm; local 1024 GDBM_FILE dbm; local 1050 GDBM_FILE dbm; local 1073 GDBM_FILE dbm; local 1091 GDBM_FILE dbm; local 1116 GDBM_FILE dbm; local 1176 GDBM_FILE dbm; local [all...] |
/macosx-10.10.1/apr-32/apr-util/apr-util/include/private/ |
H A D | apr_dbm_private.h | 57 void (*close)(apr_dbm_t *dbm); 59 /** Fetch a dbm record value by key */ 60 apr_status_t (*fetch)(apr_dbm_t *dbm, apr_datum_t key, 63 /** Store a dbm record value by key */ 64 apr_status_t (*store)(apr_dbm_t *dbm, apr_datum_t key, apr_datum_t value); 66 /** Delete a dbm record value by key */ 67 apr_status_t (*del)(apr_dbm_t *dbm, apr_datum_t key); 69 /** Search for a key within the dbm */ 70 int (*exists)(apr_dbm_t *dbm, apr_datum_t key); 72 /** Retrieve the first record key from a dbm */ [all...] |
/macosx-10.10.1/ruby-106/ruby/ext/dbm/ |
H A D | dbm.c | 3 dbm.c - 54 #define GetDBM2(obj, data, dbm) {\ 56 (dbm) = dbmp->di_dbm;\ 70 * dbm.close 88 * dbm.closed? -> true or false 114 * DBM.new(filename[, mode[, flags]]) -> dbm 116 * Open a dbm database with the specified name, which can include a directory 117 * path. Any file extensions needed will be supplied automatically by the dbm 130 DBM *dbm; local 159 dbm 249 DBM *dbm; local 314 DBM *dbm; local 354 DBM *dbm; local 410 DBM *dbm; local 456 DBM *dbm; local 486 DBM *dbm; local 534 DBM *dbm; local 561 DBM *dbm; local 578 update_i(VALUE pair, VALUE dbm) argument 632 DBM *dbm; local 666 DBM *dbm; local 691 DBM *dbm; local 719 DBM *dbm; local 743 DBM *dbm; local 766 DBM *dbm; local 796 DBM *dbm; local 820 DBM *dbm; local 844 DBM *dbm; local 871 DBM *dbm; local 902 DBM *dbm; local 928 DBM *dbm; local [all...] |
/macosx-10.10.1/ruby-106/ruby/ext/sdbm/ |
H A D | init.c | 86 #define GetDBM2(obj, data, dbm) {\ 88 (dbm) = dbmp->di_dbm;\ 164 DBM *dbm; local 179 dbm = 0; 181 dbm = sdbm_open(RSTRING_PTR(file), O_RDWR|O_CREAT, mode); 182 if (!dbm) 183 dbm = sdbm_open(RSTRING_PTR(file), O_RDWR, 0); 184 if (!dbm) 185 dbm = sdbm_open(RSTRING_PTR(file), O_RDONLY, 0); 187 if (!dbm) { 239 DBM *dbm; local 309 DBM *dbm; local 359 DBM *dbm; local 420 DBM *dbm; local 462 DBM *dbm; local 493 DBM *dbm; local 538 DBM *dbm; local 574 DBM *dbm; local 605 DBM *dbm; local 636 update_i(VALUE pair, VALUE dbm) argument 691 DBM *dbm; local 716 DBM *dbm; local 747 DBM *dbm; local 774 DBM *dbm; local 801 DBM *dbm; local 830 DBM *dbm; local 853 DBM *dbm; local 880 DBM *dbm; local 904 DBM *dbm; local 941 DBM *dbm; local 966 DBM *dbm; local [all...] |
/macosx-10.10.1/BerkeleyDB-21/db/dbm/ |
H A D | dbm.c | 41 * $Id: dbm.c,v 12.14 2008/01/11 20:49:58 bostic Exp $ 51 * This package provides dbm and ndbm compatible interfaces to DB. 180 (void)fprintf(stderr, "dbm: no open database.\n"); 184 * This package provides dbm and ndbm compatible interfaces to DB. 252 __db_ndbm_close(dbm) 253 DBM *dbm; 257 dbc = (DBC *)dbm; 268 __db_ndbm_fetch(dbm, key) 269 DBM *dbm; 277 dbc = (DBC *)dbm; [all...] |
/macosx-10.10.1/apr-32/apr-util/apr-util/ |
H A D | build.conf | 18 dbm/apr_dbm_sdbm.c 19 dbm/apr_dbm.c 20 dbm/sdbm/*.c 86 paths = dbm/apr_dbm_berkeleydb.c 87 target = dbm/apr_dbm_db.la 90 paths = dbm/apr_dbm_gdbm.c 91 target = dbm/apr_dbm_gdbm.la 94 paths = dbm/apr_dbm_ndbm.c 95 target = dbm/apr_dbm_ndbm.la
|
H A D | build-outputs.mk | 25 dbm/apr_dbm.lo: dbm/apr_dbm.c .make.dirs include/apr_dbm.h include/apu_version.h include/private/apr_dbm_private.h include/private/apu_internal.h 26 dbm/apr_dbm_sdbm.lo: dbm/apr_dbm_sdbm.c .make.dirs include/apr_dbm.h include/apr_sdbm.h include/private/apr_dbm_private.h 27 dbm/sdbm/sdbm.lo: dbm/sdbm/sdbm.c .make.dirs include/apr_sdbm.h 28 dbm/sdbm/sdbm_hash.lo: dbm/sdbm/sdbm_hash.c .make.dirs include/apr_sdbm.h 29 dbm/sdbm/sdbm_lock.lo: dbm/sdb [all...] |
/macosx-10.10.1/apache-793/httpd/modules/cache/ |
H A D | mod_socache_dbm.c | 56 #define DEFAULT_DBM_PREFIX "socache-dbm-" 122 apr_dbm_t *dbm; local 143 if ((rv = apr_dbm_open(&dbm, ctx->data_file, 150 apr_dbm_close(dbm); 196 apr_dbm_t *dbm; local 231 if ((rv = apr_dbm_open(&dbm, ctx->data_file, 240 if ((rv = apr_dbm_store(dbm, dbmkey, dbmval)) != APR_SUCCESS) { 244 apr_dbm_close(dbm); 248 apr_dbm_close(dbm); 264 apr_dbm_t *dbm; local 329 apr_dbm_t *dbm; local 356 apr_dbm_t *dbm; local 464 apr_dbm_t *dbm; local 511 apr_dbm_t *dbm; local [all...] |
/macosx-10.10.1/postfix-255/postfix/src/util/ |
H A D | dict_sdbm.c | 63 SDBM *dbm; /* open database */ member in struct:__anon11652 112 dbm_value = sdbm_fetch(dict_sdbm->dbm, dbm_key); 126 dbm_value = sdbm_fetch(dict_sdbm->dbm, dbm_key); 205 if ((status = sdbm_store(dict_sdbm->dbm, dbm_key, dbm_value, 267 sdbm_clearerr(dict_sdbm->dbm); 268 if ((status = sdbm_delete(dict_sdbm->dbm, dbm_key)) < 0) { 269 if (sdbm_error(dict_sdbm->dbm) != 0)/* fatal error */ 284 sdbm_clearerr(dict_sdbm->dbm); 285 if ((status = sdbm_delete(dict_sdbm->dbm, dbm_key)) < 0) { 286 if (sdbm_error(dict_sdbm->dbm) ! 411 SDBM *dbm; local [all...] |
H A D | dict_dbm.c | 69 DBM *dbm; /* open database */ member in struct:__anon11630 118 dbm_value = dbm_fetch(dict_dbm->dbm, dbm_key); 132 dbm_value = dbm_fetch(dict_dbm->dbm, dbm_key); 211 if ((status = dbm_store(dict_dbm->dbm, dbm_key, dbm_value, 273 dbm_clearerr(dict_dbm->dbm); 274 if ((status = dbm_delete(dict_dbm->dbm, dbm_key)) < 0) { 275 if (dbm_error(dict_dbm->dbm) != 0) /* fatal error */ 290 dbm_clearerr(dict_dbm->dbm); 291 if ((status = dbm_delete(dict_dbm->dbm, dbm_key)) < 0) { 292 if (dbm_error(dict_dbm->dbm) ! 416 DBM *dbm; local [all...] |