Home
last modified time | relevance | path

Searched refs:filemode (Results 1 – 8 of 8) sorted by relevance

/PHP-7.1/ext/dba/
H A Ddba_ndbm.c41 int filemode = 0644; in DBA_OPEN_FUNC() local
63 filemode = Z_LVAL(info->argv[0]); in DBA_OPEN_FUNC()
66 dbf = dbm_open(info->path, gmode, filemode); in DBA_OPEN_FUNC()
H A Ddba_dbm.c48 if((fd = VCWD_OPEN_MODE(buf, O_CREAT | mode | O_WRONLY, filemode)) == -1) \
60 int filemode = 0644; in DBA_OPEN_FUNC() local
64 filemode = Z_LVAL(info->argv[0]); in DBA_OPEN_FUNC()
H A Ddba_db3.c64 int filemode = 0644; local
88 filemode = Z_LVAL(info->argv[0]);
99 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
101 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
H A Ddba_db1.c51 int filemode = 0644; in DBA_OPEN_FUNC() local
55 filemode = Z_LVAL(info->argv[0]); in DBA_OPEN_FUNC()
76 db = dbopen((char *)info->path, gmode, filemode, DB_HASH, NULL); in DBA_OPEN_FUNC()
H A Ddba_db2.c52 int filemode = 0644; in DBA_OPEN_FUNC() local
76 filemode = Z_LVAL(info->argv[0]); in DBA_OPEN_FUNC()
79 if (db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) { in DBA_OPEN_FUNC()
H A Ddba_gdbm.c46 int filemode = 0644; in DBA_OPEN_FUNC() local
58 filemode = Z_LVAL(info->argv[0]); in DBA_OPEN_FUNC()
61 dbf = gdbm_open(info->path, 0, gmode, filemode, NULL); in DBA_OPEN_FUNC()
H A Ddba_db4.c78 int filemode = 0644; local
121 filemode = Z_LVAL(info->argv[0]);
128 (err=dbp->open(dbp, 0, info->path, NULL, type, gmode, filemode)) == 0) {
130 (err=dbp->open(dbp, info->path, NULL, type, gmode, filemode)) == 0) {
/PHP-7.1/ext/session/
H A Dmod_files.c99 int filemode; member
186 data->fd = VCWD_OPEN_MODE(buf, O_CREAT | O_RDWR | O_BINARY | O_NOFOLLOW, data->filemode); in ps_files_open()
193 data->fd = VCWD_OPEN_MODE(buf, O_CREAT | O_RDWR | O_BINARY, data->filemode); in ps_files_open()
379 int filemode = 0600; in PS_OPEN_FUNC() local
412 filemode = (int)ZEND_STRTOL(argv[1], NULL, 8); in PS_OPEN_FUNC()
413 if (errno == ERANGE || filemode < 0 || filemode > 07777) { in PS_OPEN_FUNC()
424 data->filemode = filemode; in PS_OPEN_FUNC()

Completed in 21 milliseconds