Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/tests/file/windows_acls/
H A Dbug44859.phpt24 foreach ($iteration as $perms => $exp) {
25 create_file($path, $perms);
40 foreach ($iteration as $perms => $exp) {
41 create_dir($path, $perms);
H A Dbug44859_2.phpt24 foreach ($iteration as $perms => $exp) {
25 create_file($path, $perms);
40 foreach ($iteration as $perms => $exp) {
41 create_dir($path, $perms);
H A Dbug44859_4.phpt26 foreach ($iteration as $perms => $exp) {
27 create_file($path, $perms);
42 foreach ($iteration as $perms => $exp) {
43 create_dir($path, $perms);
H A Dcommon.inc136 function create_dir($name, $perms) {
144 icacls_set($name, PHPT_ACL_GRANT, $perms);
147 function create_file($name, $perms) {
154 icacls_set($name, PHPT_ACL_GRANT, $perms);
/PHP-8.0/ext/phar/
H A Dzip.c819 phar_zip_unix3 perms; in phar_zip_changed_apply_int() local
844 memset(&perms, 0, sizeof(perms)); in phar_zip_changed_apply_int()
849 perms.tag[0] = 'n'; in phar_zip_changed_apply_int()
850 perms.tag[1] = 'u'; in phar_zip_changed_apply_int()
851 PHAR_SET_16(perms.size, sizeof(perms) - 4); in phar_zip_changed_apply_int()
852 PHAR_SET_16(perms.perms, entry->flags & PHAR_ENT_PERM_MASK); in phar_zip_changed_apply_int()
855 CRC32(crc, perms.perms[0]); in phar_zip_changed_apply_int()
856 CRC32(crc, perms.perms[1]); in phar_zip_changed_apply_int()
857 PHAR_SET_32(perms.crc32, ~crc); in phar_zip_changed_apply_int()
1048 if (sizeof(perms) != php_stream_write(p->filefp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int()
[all …]
H A Dpharzip.h142 char perms[2]; /* Mode Short file permissions */ member
H A Dphar_object.stub.php486 public function chmod(int $perms) {} argument
H A Dphar_object_arginfo.h336 ZEND_ARG_TYPE_INFO(0, perms, IS_LONG, 0)
H A Dphar_object.c4608 zend_long perms; in PHP_METHOD() local
4610 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &perms) == FAILURE) { in PHP_METHOD()
4639 perms &= 0777; in PHP_METHOD()
4640 entry_obj->entry->flags |= perms; in PHP_METHOD()
/PHP-8.0/ext/sysvmsg/
H A Dsysvmsg.c235 zend_long perms = 0666; in PHP_FUNCTION() local
238 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &key, &perms) == FAILURE) { in PHP_FUNCTION()
249 mq->id = msgget(key, IPC_CREAT | IPC_EXCL | perms); in PHP_FUNCTION()
/PHP-8.0/ext/standard/tests/file/
H A Dcopy_variation15.phpt2 Test copy() function: usage variations - destination dir access perms
H A Dcopy_variation9.phpt2 Test copy() function: usage variations - destination file access 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_readable_variation2.phpt2 Test is_readable() function: usage variations - file/dir with diff. perms
H A Dis_executable_variation2.phpt2 Test is_executable() function: usage variations - file/dir with diff. 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 D006_variation2.phpt2 Test fileperms() & chmod() functions: usage variation - misc. 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 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-8.0/ext/oci8/tests/
H A Dlob_029.phpt21 $realdirname = "/tmp"; // Use /tmp because a local dir can give ORA-22288 depending on perms
/PHP-8.0/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-8.0/ext/fileinfo/
H A Dlibmagic.patch2053 - * Fstat is cheaper but fails for files you don't have read perms on.

Completed in 66 milliseconds