Searched refs:gmode (Results 1 – 6 of 6) sorted by relevance
/PHP-8.1/ext/dba/ |
H A D | dba_ndbm.c | 36 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 D | dba_db1.c | 46 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 D | dba_db3.c | 59 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 D | dba_db4.c | 73 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 D | dba_db2.c | 47 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 D | dba_gdbm.c | 41 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 8 milliseconds