Lines Matching refs:opts

70 PW32IO BOOL php_win32_ioutil_posix_to_open_opts(int flags, mode_t mode, php_ioutil_open_opts *opts)  in php_win32_ioutil_posix_to_open_opts()  argument
74 opts->attributes = 0; in php_win32_ioutil_posix_to_open_opts()
84 opts->access = FILE_GENERIC_READ; in php_win32_ioutil_posix_to_open_opts()
89 opts->access = FILE_GENERIC_WRITE; in php_win32_ioutil_posix_to_open_opts()
92 opts->access = FILE_GENERIC_READ | FILE_GENERIC_WRITE; in php_win32_ioutil_posix_to_open_opts()
101 opts->access |= FILE_APPEND_DATA; in php_win32_ioutil_posix_to_open_opts()
102 opts->attributes &= ~FILE_FLAG_BACKUP_SEMANTICS; in php_win32_ioutil_posix_to_open_opts()
111 opts->share = PHP_WIN32_IOUTIL_DEFAULT_SHARE_MODE; in php_win32_ioutil_posix_to_open_opts()
116 opts->disposition = OPEN_EXISTING; in php_win32_ioutil_posix_to_open_opts()
119 opts->disposition = OPEN_ALWAYS; in php_win32_ioutil_posix_to_open_opts()
123 opts->disposition = CREATE_NEW; in php_win32_ioutil_posix_to_open_opts()
127 opts->disposition = TRUNCATE_EXISTING; in php_win32_ioutil_posix_to_open_opts()
130 opts->disposition = CREATE_ALWAYS; in php_win32_ioutil_posix_to_open_opts()
136 opts->attributes |= FILE_ATTRIBUTE_NORMAL; in php_win32_ioutil_posix_to_open_opts()
139 opts->attributes |= FILE_ATTRIBUTE_READONLY; in php_win32_ioutil_posix_to_open_opts()
144 opts->attributes |= FILE_FLAG_DELETE_ON_CLOSE | FILE_ATTRIBUTE_TEMPORARY; in php_win32_ioutil_posix_to_open_opts()
145 opts->access |= DELETE; in php_win32_ioutil_posix_to_open_opts()
149 opts->attributes |= FILE_ATTRIBUTE_TEMPORARY; in php_win32_ioutil_posix_to_open_opts()
156 opts->attributes |= FILE_FLAG_SEQUENTIAL_SCAN; in php_win32_ioutil_posix_to_open_opts()
159 opts->attributes |= FILE_FLAG_RANDOM_ACCESS; in php_win32_ioutil_posix_to_open_opts()