Searched refs:gmode (Results 1 – 6 of 6) sorted by relevance
/PHP-8.4/ext/dba/ |
H A D | dba_ndbm.c | 34 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(ZSTR_VAL(info->path), gmode, filemode); in DBA_OPEN_FUNC()
|
H A D | dba_db1.c | 43 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 *)ZSTR_VAL(info->path), gmode, filemode, DB_HASH, NULL); in DBA_OPEN_FUNC()
|
H A D | dba_db3.c | 53 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, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { 86 (err=dbp->open(dbp, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) {
|
H A D | dba_db4.c | 67 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, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) { 115 (err=dbp->open(dbp, ZSTR_VAL(info->path), NULL, type, gmode, filemode)) == 0) {
|
H A D | dba_db2.c | 41 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(ZSTR_VAL(info->path), type, gmode, filemode, NULL, NULL, &dbp)) { in DBA_OPEN_FUNC()
|
H A D | dba_gdbm.c | 38 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(ZSTR_VAL(info->path), /* int block_size */ 0, gmode, filemode, NULL); in DBA_OPEN_FUNC()
|
Completed in 12 milliseconds