Home
last modified time | relevance | path

Searched refs:gmode (Results 1 – 6 of 6) sorted by relevance

/PHP-7.0/ext/dba/
H A Ddba_ndbm.c40 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 Ddba_db1.c50 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 Ddba_db3.c63 int gmode = 0, err; local
76 gmode = info->mode == DBA_READER ? DB_RDONLY :
82 if (gmode == -1) {
92 gmode |= DB_FCNTL_LOCKING;
99 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
101 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
H A Ddba_db4.c77 int gmode = 0, err; local
91 gmode = info->mode == DBA_READER ? DB_RDONLY :
105 gmode = info->mode == DBA_READER ? DB_RDONLY :
111 if (gmode == -1) {
116 gmode |= DB_THREAD;
128 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
130 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
H A Ddba_db2.c51 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 Ddba_gdbm.c45 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 10 milliseconds