Home
last modified time | relevance | path

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

/PHP-8.2/ext/dba/
H A Ddba_ndbm.c34 int gmode = 0; in DBA_OPEN_FUNC() local
40 gmode = O_RDONLY; in DBA_OPEN_FUNC()
43 gmode = O_RDWR; in DBA_OPEN_FUNC()
46 gmode = O_RDWR | O_CREAT; in DBA_OPEN_FUNC()
49 gmode = O_RDWR | O_CREAT | O_TRUNC; in DBA_OPEN_FUNC()
55 dbf = dbm_open(info->path, gmode, filemode); in DBA_OPEN_FUNC()
H A Ddba_db1.c43 int gmode; in DBA_OPEN_FUNC() local
46 gmode = 0; in DBA_OPEN_FUNC()
49 gmode = O_RDONLY; in DBA_OPEN_FUNC()
52 gmode = O_RDWR; in DBA_OPEN_FUNC()
55 gmode = O_RDWR | O_CREAT; in DBA_OPEN_FUNC()
58 gmode = O_RDWR | O_CREAT | O_TRUNC; in DBA_OPEN_FUNC()
64 db = dbopen((char *)info->path, gmode, filemode, DB_HASH, NULL); in DBA_OPEN_FUNC()
H A Ddba_db3.c53 int gmode = 0, err; local
66 gmode = info->mode == DBA_READER ? DB_RDONLY :
72 if (gmode == -1) {
77 gmode |= DB_FCNTL_LOCKING;
84 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
86 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
H A Ddba_db4.c67 int gmode = 0, err; local
81 gmode = info->mode == DBA_READER ? DB_RDONLY :
95 gmode = info->mode == DBA_READER ? DB_RDONLY :
101 if (gmode == -1) {
106 gmode |= DB_THREAD;
113 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
115 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
H A Ddba_db2.c41 int gmode = 0; in DBA_OPEN_FUNC() local
54 gmode = info->mode == DBA_READER ? DB_RDONLY : in DBA_OPEN_FUNC()
60 if (gmode == -1) { in DBA_OPEN_FUNC()
64 if (db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) { in DBA_OPEN_FUNC()
H A Ddba_gdbm.c38 int gmode = 0; in DBA_OPEN_FUNC() local
41 gmode = info->mode == DBA_READER ? GDBM_READER : in DBA_OPEN_FUNC()
46 if(gmode == -1) in DBA_OPEN_FUNC()
49 dbf = gdbm_open(info->path, /* int block_size */ 0, gmode, filemode, NULL); in DBA_OPEN_FUNC()

Completed in 14 milliseconds