Home
last modified time | relevance | path

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

/PHP-7.3/ext/dba/
H A Ddba_ndbm.c39 int filemode = 0644; in DBA_OPEN_FUNC() local
60 filemode = zval_get_long(&info->argv[0]); in DBA_OPEN_FUNC()
63 dbf = dbm_open(info->path, gmode, filemode); in DBA_OPEN_FUNC()
H A Ddba_db1.c49 int filemode = 0644; in DBA_OPEN_FUNC() local
52 filemode = zval_get_long(&info->argv[0]); in DBA_OPEN_FUNC()
73 db = dbopen((char *)info->path, gmode, filemode, DB_HASH, NULL); in DBA_OPEN_FUNC()
H A Ddba_dbm.c46 if((fd = VCWD_OPEN_MODE(buf, O_CREAT | mode | O_WRONLY, filemode)) == -1) \
58 int filemode = 0644; in DBA_OPEN_FUNC() local
61 filemode = zval_get_long(&info->argv[0]); in DBA_OPEN_FUNC()
H A Ddba_db3.c62 int filemode = 0644; local
85 filemode = zval_get_long(&info->argv[0]);
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 Ddba_db2.c50 int filemode = 0644; in DBA_OPEN_FUNC() local
73 filemode = zval_get_long(&info->argv[0]); in DBA_OPEN_FUNC()
76 if (db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) { in DBA_OPEN_FUNC()
H A Ddba_gdbm.c44 int filemode = 0644; in DBA_OPEN_FUNC() local
55 filemode = zval_get_long(&info->argv[0]); in DBA_OPEN_FUNC()
58 dbf = gdbm_open(info->path, 0, gmode, filemode, NULL); in DBA_OPEN_FUNC()
H A Ddba_db4.c76 int filemode = 0644; local
118 filemode = zval_get_long(&info->argv[0]);
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) {
/PHP-7.3/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 20 milliseconds