Home
last modified time | relevance | path

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

/PHP-8.2/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.2/ext/phar/
H A Dzip.c843 phar_zip_unix3 perms; in phar_zip_changed_apply_int() local
868 memset(&perms, 0, sizeof(perms)); in phar_zip_changed_apply_int()
872 PHAR_SET_16(local.extra_len, sizeof(perms)); in phar_zip_changed_apply_int()
873 perms.tag[0] = 'n'; in phar_zip_changed_apply_int()
874 perms.tag[1] = 'u'; in phar_zip_changed_apply_int()
875 PHAR_SET_16(perms.size, sizeof(perms) - 4); in phar_zip_changed_apply_int()
876 PHAR_SET_16(perms.perms, entry->flags & PHAR_ENT_PERM_MASK); in phar_zip_changed_apply_int()
879 CRC32(crc, perms.perms[0]); in phar_zip_changed_apply_int()
880 CRC32(crc, perms.perms[1]); in phar_zip_changed_apply_int()
1069 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.php570 public function chmod(int $perms): void {} argument
H A Dphar_object_arginfo.h355 ZEND_ARG_TYPE_INFO(0, perms, IS_LONG, 0)
H A Dphar_object.c4597 zend_long perms; in PHP_METHOD() local
4599 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &perms) == FAILURE) { in PHP_METHOD()
4628 perms &= 0777; in PHP_METHOD()
4629 entry_obj->entry->flags |= perms; in PHP_METHOD()
/PHP-8.2/ext/sysvmsg/
H A Dsysvmsg.c219 zend_long perms = 0666; in PHP_FUNCTION() local
222 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &key, &perms) == FAILURE) { in PHP_FUNCTION()
233 mq->id = msgget(key, IPC_CREAT | IPC_EXCL | perms); in PHP_FUNCTION()
/PHP-8.2/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_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 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.2/ext/oci8/tests/
H A Dlob_029.phpt23 $realdirname = "/tmp"; // Use /tmp because a local dir can give ORA-22288 depending on perms
/PHP-8.2/ext/mysqli/tests/
H A Dlocal_infile_tools.inc82 …printf("[%03d + 4] Cannot change the file perms of '%s' from 0600 to 0644, MySQL might not be able…
/PHP-8.2/ext/fileinfo/
H A Dlibmagic.patch1860 - * Fstat is cheaper but fails for files you don't have read perms on.

Completed in 48 milliseconds