Searched refs:gmode (Results 1 – 6 of 6) sorted by relevance
/PHP-7.3/ext/dba/ |
H A D | dba_ndbm.c | 38 int gmode = 0; in DBA_OPEN_FUNC() local 44 gmode = O_RDONLY; in DBA_OPEN_FUNC() 47 gmode = O_RDWR; in DBA_OPEN_FUNC() 50 gmode = O_RDWR | O_CREAT; in DBA_OPEN_FUNC() 53 gmode = O_RDWR | O_CREAT | O_TRUNC; in DBA_OPEN_FUNC() 63 dbf = dbm_open(info->path, gmode, filemode); in DBA_OPEN_FUNC()
|
H A D | dba_db1.c | 48 int gmode; in DBA_OPEN_FUNC() local 55 gmode = 0; in DBA_OPEN_FUNC() 58 gmode = O_RDONLY; in DBA_OPEN_FUNC() 61 gmode = O_RDWR; in DBA_OPEN_FUNC() 64 gmode = O_RDWR | O_CREAT; in DBA_OPEN_FUNC() 67 gmode = O_RDWR | O_CREAT | O_TRUNC; in DBA_OPEN_FUNC() 73 db = dbopen((char *)info->path, gmode, filemode, DB_HASH, NULL); in DBA_OPEN_FUNC()
|
H A D | dba_db3.c | 61 int gmode = 0, err; local 74 gmode = info->mode == DBA_READER ? DB_RDONLY : 80 if (gmode == -1) { 89 gmode |= DB_FCNTL_LOCKING; 96 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) { 98 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
|
H A D | dba_db4.c | 75 int gmode = 0, err; local 89 gmode = info->mode == DBA_READER ? DB_RDONLY : 103 gmode = info->mode == DBA_READER ? DB_RDONLY : 109 if (gmode == -1) { 114 gmode |= DB_THREAD; 125 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) { 127 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
|
H A D | dba_db2.c | 49 int gmode = 0; in DBA_OPEN_FUNC() local 62 gmode = info->mode == DBA_READER ? DB_RDONLY : in DBA_OPEN_FUNC() 68 if (gmode == -1) { in DBA_OPEN_FUNC() 76 if (db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) { in DBA_OPEN_FUNC()
|
H A D | dba_gdbm.c | 43 int gmode = 0; in DBA_OPEN_FUNC() local 46 gmode = info->mode == DBA_READER ? GDBM_READER : in DBA_OPEN_FUNC() 51 if(gmode == -1) in DBA_OPEN_FUNC() 58 dbf = gdbm_open(info->path, 0, gmode, filemode, NULL); in DBA_OPEN_FUNC()
|
Completed in 11 milliseconds