Searched refs:gmode (Results 1 – 6 of 6) sorted by relevance
/PHP-5.3/ext/dba/ |
H A D | dba_ndbm.c | 40 int gmode = 0; in DBA_OPEN_FUNC() local 46 gmode = O_RDONLY; in DBA_OPEN_FUNC() 49 gmode = O_RDWR; in DBA_OPEN_FUNC() 52 gmode = O_RDWR | O_CREAT; in DBA_OPEN_FUNC() 55 gmode = O_RDWR | O_CREAT | O_TRUNC; in DBA_OPEN_FUNC() 66 dbf = dbm_open(info->path, gmode, filemode); in DBA_OPEN_FUNC()
|
H A D | dba_db1.c | 50 int gmode; in DBA_OPEN_FUNC() local 58 gmode = 0; in DBA_OPEN_FUNC() 61 gmode = O_RDONLY; in DBA_OPEN_FUNC() 64 gmode = O_RDWR; in DBA_OPEN_FUNC() 67 gmode = O_RDWR | O_CREAT; in DBA_OPEN_FUNC() 70 gmode = O_RDWR | O_CREAT | O_TRUNC; in DBA_OPEN_FUNC() 76 db = dbopen((char *)info->path, gmode, filemode, DB_HASH, NULL); in DBA_OPEN_FUNC()
|
H A D | dba_db4.c | 78 int gmode = 0, err; local 92 gmode = info->mode == DBA_READER ? DB_RDONLY : 106 gmode = info->mode == DBA_READER ? DB_RDONLY : 112 if (gmode == -1) { 117 gmode |= DB_THREAD; 129 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) { 131 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
|
H A D | dba_db3.c | 60 int gmode = 0, err; in DBA_OPEN_FUNC() local 73 gmode = info->mode == DBA_READER ? DB_RDONLY : in DBA_OPEN_FUNC() 79 if (gmode == -1) { in DBA_OPEN_FUNC() 89 gmode |= DB_FCNTL_LOCKING; in DBA_OPEN_FUNC() 94 if ((err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) { in DBA_OPEN_FUNC()
|
H A D | dba_db2.c | 51 int gmode = 0; in DBA_OPEN_FUNC() local 64 gmode = info->mode == DBA_READER ? DB_RDONLY : in DBA_OPEN_FUNC() 70 if (gmode == -1) { in DBA_OPEN_FUNC() 79 if (db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) { in DBA_OPEN_FUNC()
|
H A D | dba_gdbm.c | 45 int gmode = 0; in DBA_OPEN_FUNC() local 48 gmode = info->mode == DBA_READER ? GDBM_READER : in DBA_OPEN_FUNC() 53 if(gmode == -1) in DBA_OPEN_FUNC() 61 dbf = gdbm_open(info->path, 0, gmode, filemode, NULL); in DBA_OPEN_FUNC()
|
Completed in 8 milliseconds