Home
last modified time | relevance | path

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

/PHP-8.0/ext/dba/
H A Ddba_ndbm.c36 int gmode = 0; in DBA_OPEN_FUNC() local
42 gmode = O_RDONLY; in DBA_OPEN_FUNC()
45 gmode = O_RDWR; in DBA_OPEN_FUNC()
48 gmode = O_RDWR | O_CREAT; in DBA_OPEN_FUNC()
51 gmode = O_RDWR | O_CREAT | O_TRUNC; in DBA_OPEN_FUNC()
61 dbf = dbm_open(info->path, gmode, filemode); in DBA_OPEN_FUNC()
H A Ddba_db1.c46 int gmode; in DBA_OPEN_FUNC() local
53 gmode = 0; in DBA_OPEN_FUNC()
56 gmode = O_RDONLY; in DBA_OPEN_FUNC()
59 gmode = O_RDWR; in DBA_OPEN_FUNC()
62 gmode = O_RDWR | O_CREAT; in DBA_OPEN_FUNC()
65 gmode = O_RDWR | O_CREAT | O_TRUNC; in DBA_OPEN_FUNC()
71 db = dbopen((char *)info->path, gmode, filemode, DB_HASH, NULL); in DBA_OPEN_FUNC()
H A Ddba_db3.c59 int gmode = 0, err; local
72 gmode = info->mode == DBA_READER ? DB_RDONLY :
78 if (gmode == -1) {
87 gmode |= DB_FCNTL_LOCKING;
94 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
96 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
H A Ddba_db4.c73 int gmode = 0, err; local
87 gmode = info->mode == DBA_READER ? DB_RDONLY :
101 gmode = info->mode == DBA_READER ? DB_RDONLY :
107 if (gmode == -1) {
112 gmode |= DB_THREAD;
123 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
125 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
H A Ddba_db2.c47 int gmode = 0; in DBA_OPEN_FUNC() local
60 gmode = info->mode == DBA_READER ? DB_RDONLY : in DBA_OPEN_FUNC()
66 if (gmode == -1) { in DBA_OPEN_FUNC()
74 if (db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) { in DBA_OPEN_FUNC()
H A Ddba_gdbm.c41 int gmode = 0; in DBA_OPEN_FUNC() local
44 gmode = info->mode == DBA_READER ? GDBM_READER : in DBA_OPEN_FUNC()
49 if(gmode == -1) in DBA_OPEN_FUNC()
56 dbf = gdbm_open(info->path, 0, gmode, filemode, NULL); in DBA_OPEN_FUNC()

Completed in 15 milliseconds