Home
last modified time | relevance | path

Searched refs:perms (Results 1 – 23 of 23) sorted by relevance

/PHP-7.2/ext/standard/tests/file/windows_acls/
H A Dbug44859.phpt23 foreach ($iteration as $perms => $exp) {
24 create_file($path, $perms);
39 foreach ($iteration as $perms => $exp) {
40 create_dir($path, $perms);
H A Dbug44859_2.phpt23 foreach ($iteration as $perms => $exp) {
24 create_file($path, $perms);
39 foreach ($iteration as $perms => $exp) {
40 create_dir($path, $perms);
H A Dbug44859_4.phpt25 foreach ($iteration as $perms => $exp) {
26 create_file($path, $perms);
41 foreach ($iteration as $perms => $exp) {
42 create_dir($path, $perms);
H A Dcommon.inc131 function create_dir($name, $perms) {
139 icacls_set($name, PHPT_ACL_GRANT, $perms);
142 function create_file($name, $perms) {
149 icacls_set($name, PHPT_ACL_GRANT, $perms);
/PHP-7.2/ext/phar/
H A Dzip.c790 phar_zip_unix3 perms; in phar_zip_changed_apply_int() local
814 memset(&perms, 0, sizeof(perms)); in phar_zip_changed_apply_int()
819 perms.tag[0] = 'n'; in phar_zip_changed_apply_int()
820 perms.tag[1] = 'u'; in phar_zip_changed_apply_int()
821 PHAR_SET_16(perms.size, sizeof(perms) - 4); in phar_zip_changed_apply_int()
822 PHAR_SET_16(perms.perms, entry->flags & PHAR_ENT_PERM_MASK); in phar_zip_changed_apply_int()
825 CRC32(crc, perms.perms[0]); in phar_zip_changed_apply_int()
826 CRC32(crc, perms.perms[1]); in phar_zip_changed_apply_int()
827 PHAR_SET_32(perms.crc32, ~crc); in phar_zip_changed_apply_int()
1021 if (sizeof(perms) != php_stream_write(p->filefp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int()
[all …]
H A Dpharzip.h144 char perms[2]; /* Mode Short file permissions */ member
H A Dphar_object.c4723 zend_long perms; in PHP_METHOD() local
4737 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &perms) == FAILURE) { in PHP_METHOD()
4753 perms &= 0777; in PHP_METHOD()
4754 entry_obj->entry->flags |= perms; in PHP_METHOD()
5472 ZEND_ARG_INFO(0, perms)
/PHP-7.2/ext/sysvmsg/
H A Dsysvmsg.c45 ZEND_ARG_INFO(0, perms)
256 zend_long perms = 0666; in PHP_FUNCTION() local
259 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &key, &perms) == FAILURE) { in PHP_FUNCTION()
269 mq->id = msgget(key, IPC_CREAT | IPC_EXCL | perms); in PHP_FUNCTION()
/PHP-7.2/ext/standard/tests/file/
H A Dcopy_variation9.phpt2 Test copy() function: usage variations - destination file access perms
H A Dcopy_variation15.phpt2 Test copy() function: usage variations - destination dir access perms
H A Dis_executable_variation2.phpt2 Test is_executable() function: usage variations - file/dir with diff. perms
H A Dis_readable_variation2.phpt2 Test is_readable() function: usage variations - file/dir with diff. perms
H A Dsymlink_link_linkinfo_is_link_variation6.phpt2 Test symlink(), linkinfo(), link() and is_link() functions : usage variations - link & dir perms.
H A Dis_writable_variation2.phpt2 …t is_writable() and its alias is_writeable() function: usage variations - file/dir with diff. perms
H A Dfile.inc151 Function: int change_file_perms(string $file_path, int $count = 1, int $perms = 0755,
157 $perms = new permission of the file, similar to $mode args of chmod() call
167 $perms = 0755,
182 if( chmod($filename, $perms) )
H A D006_variation2.phpt2 Test fileperms() & chmod() functions: usage variation - misc. perms
H A Dumask_variation1.phpt2 Test umask() function: usage variations - perms from 0000 to 0350
H A Dumask_variation2.phpt2 Test umask() function: usage variations - perms from 0351 to 0777
H A D006_variation1.phpt2 Test fileperms() & chmod() functions: usage variation - perms(0000-0777)
H A Dmkdir_rmdir_variation1.phpt2 Test mkdir() and rmdir() functions: usage variations - perms(0000-0777)
/PHP-7.2/ext/oci8/tests/
H A Dlob_029.phpt21 $realdirname = "/tmp"; // Use /tmp because a local dir can give ORA-22288 depending on perms
/PHP-7.2/ext/mysqli/tests/
H A Dlocal_infile_tools.inc74 …printf("[%03d + 4] Cannot change the file perms of '%s' from 0600 to 0644, MySQL might not be able…
/PHP-7.2/ext/fileinfo/
H A Dlibmagic.patch1705 - * Fstat is cheaper but fails for files you don't have read perms on.

Completed in 74 milliseconds