Home
last modified time | relevance | path

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

/PHP-8.0/ext/dba/
H A Ddba_ndbm.c37 int filemode = 0644; in DBA_OPEN_FUNC() local
58 filemode = zval_get_long(&info->argv[0]); in DBA_OPEN_FUNC()
61 dbf = dbm_open(info->path, gmode, filemode); in DBA_OPEN_FUNC()
H A Ddba_db1.c47 int filemode = 0644; in DBA_OPEN_FUNC() local
50 filemode = zval_get_long(&info->argv[0]); in DBA_OPEN_FUNC()
71 db = dbopen((char *)info->path, gmode, filemode, DB_HASH, NULL); in DBA_OPEN_FUNC()
H A Ddba_dbm.c44 if((fd = VCWD_OPEN_MODE(buf, O_CREAT | mode | O_WRONLY, filemode)) == -1) \
56 int filemode = 0644; in DBA_OPEN_FUNC() local
59 filemode = zval_get_long(&info->argv[0]); in DBA_OPEN_FUNC()
H A Ddba_db3.c60 int filemode = 0644; local
83 filemode = zval_get_long(&info->argv[0]);
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 Ddba_db2.c48 int filemode = 0644; in DBA_OPEN_FUNC() local
71 filemode = zval_get_long(&info->argv[0]); in DBA_OPEN_FUNC()
74 if (db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) { in DBA_OPEN_FUNC()
H A Ddba_gdbm.c42 int filemode = 0644; in DBA_OPEN_FUNC() local
53 filemode = zval_get_long(&info->argv[0]); in DBA_OPEN_FUNC()
56 dbf = gdbm_open(info->path, 0, gmode, filemode, NULL); in DBA_OPEN_FUNC()
H A Ddba_db4.c74 int filemode = 0644; local
116 filemode = zval_get_long(&info->argv[0]);
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) {
/PHP-8.0/ext/session/
H A Dmod_files.c97 int filemode; member
184 data->fd = VCWD_OPEN_MODE(buf, O_CREAT | O_RDWR | O_BINARY | O_NOFOLLOW, data->filemode); in ps_files_open()
191 data->fd = VCWD_OPEN_MODE(buf, O_CREAT | O_RDWR | O_BINARY, data->filemode); in ps_files_open()
376 int filemode = 0600; in PS_OPEN_FUNC() local
409 filemode = (int)ZEND_STRTOL(argv[1], NULL, 8); in PS_OPEN_FUNC()
410 if (errno == ERANGE || filemode < 0 || filemode > 07777) { in PS_OPEN_FUNC()
421 data->filemode = filemode; in PS_OPEN_FUNC()

Completed in 12 milliseconds