Home
last modified time | relevance | path

Searched refs:stat (Results 26 – 50 of 201) sorted by relevance

123456789

/PHP-5.5/ext/sysvmsg/
H A Dsysvmsg.c159 struct msqid_ds stat; in PHP_FUNCTION() local
169 if (msgctl(mq->id, IPC_STAT, &stat) == 0) { in PHP_FUNCTION()
175 stat.msg_perm.uid = Z_LVAL_PP(item); in PHP_FUNCTION()
179 stat.msg_perm.gid = Z_LVAL_PP(item); in PHP_FUNCTION()
183 stat.msg_perm.mode = Z_LVAL_PP(item); in PHP_FUNCTION()
187 stat.msg_qbytes = Z_LVAL_PP(item); in PHP_FUNCTION()
189 if (msgctl(mq->id, IPC_SET, &stat) == 0) { in PHP_FUNCTION()
202 struct msqid_ds stat; in PHP_FUNCTION() local
212 if (msgctl(mq->id, IPC_STAT, &stat) == 0) { in PHP_FUNCTION()
218 add_assoc_long(return_value, "msg_stime", stat.msg_stime); in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/standard/tests/file/
H A Dlstat_stat_variation18.phpt2 Test lstat() and stat() functions: usage variations - dir/file name stored in object
14 Prototype: array stat ( string $filename );
44 echo "\n-- Testing stat() on filename stored inside an object --\n";
45 // dump the stat returned value
46 var_dump( stat($file_name->var_name) );
48 echo "\n-- Testing stat() on directory name stored inside an object --\n";
49 // dump the stat returned value
50 var_dump( stat($dir_name->var_name) );
62 *** Testing stat() with filename & directory name stored inside an object ***
64 -- Testing stat() on filename stored inside an object --
[all …]
H A Dlstat_stat_variation16.phpt2 Test lstat() and stat() functions: usage variations - effects changing permissions of file
15 Prototype: array stat ( string $filename );
28 // checking stat() on file after changing its permission
30 $old_stat = stat($filename);
33 // clear the stat
35 $new_stat = stat($filename);
39 // compare the stat
H A Dcopy_variation18.phpt2 Test copy() function: usage variations - stat after copy
10 /* Test copy(): checking stat of file before and after after copy operation */
16 echo "*** Test copy() function: stat of file before and after copy ***\n";
26 $stat_before_copy = stat($src_file_name);
32 $stat_after_copy = stat($src_file_name);
35 // compare all stat fields except access time
53 *** Test copy() function: stat of file before and after copy ***
H A Dlstat_stat_variation14.phpt2 Test lstat() and stat() functions: usage variations - hardlink
14 Prototype: array stat ( string $filename );
29 echo "*** Checking lstat() and stat() on hard link ***\n";
36 $file_stat = stat($filename);
41 // compare the stat
43 // clear the stat
56 *** Checking lstat() and stat() on hard link ***
H A Dlstat_stat_variation2.phpt2 Test lstat() and stat() functions: usage variations - effects of rename() on dir
14 Prototype: array stat ( string $filename );
26 // renaming a directory and check stat
27 echo "*** Testing stat() for directory after being renamed ***\n";
30 $old_stat = stat($old_dirname);
33 $new_stat = stat($new_dirname);
56 *** Testing stat() for directory after being renamed ***
H A Dlstat_stat_variation9.phpt2 Test lstat() and stat() functions: usage variations - deleting file/subdir
14 Prototype: array stat ( string $filename );
24 echo "*** Testing stat() for comparing stats after the deletion of subdir and file ***\n";
26 /* first create the dir/subdir and files, record the stat */
37 $old_stat = stat($dirname);
39 /* now delete the surdir and file and record the stat */
44 $new_stat = stat($dirname);
63 *** Testing stat() for comparing stats after the deletion of subdir and file ***
H A Dlstat_stat_variation12.phpt2 Test lstat() and stat() functions: usage variations - effects of is_link()
15 Prototype: array stat ( string $filename );
34 echo "*** Testing stat() on a link after using is_link() on it ***\n";
37 // clear the stat
45 // compare the stat
47 // clear the stat
60 *** Testing stat() on a link after using is_link() on it ***
H A Dlstat_stat_variation7.phpt2 Test lstat() and stat() functions: usage variations - writing data into file
14 Prototype: array stat ( string $filename );
28 echo "*** Testing stat() on file after data is written in it ***\n";
30 $old_stat = stat($file_name);
33 $new_stat = stat($file_name);
52 *** Testing stat() on file after data is written in it ***
H A Dfilestat.phpt2 various file stat func tests
49 Warning: fileinode(): stat failed for /no/such/file/or/dir in %s on line %d
52 Warning: fileowner(): stat failed for /no/such/file/or/dir in %s on line %d
55 Warning: filegroup(): stat failed for /no/such/file/or/dir in %s on line %d
58 Warning: fileatime(): stat failed for /no/such/file/or/dir in %s on line %d
61 Warning: filectime(): stat failed for /no/such/file/or/dir in %s on line %d
H A Dlstat_stat_variation8.phpt2 Test lstat() and stat() functions: usage variations - creating file/subdir
15 Prototype: array stat ( string $filename );
29 echo "*** Testing stat() on dir after subdir and file is created in it ***\n";
31 $old_stat = stat($dirname);
37 $new_stat = stat($dirname);
57 *** Testing stat() on dir after subdir and file is created in it ***
H A Dlstat_stat_variation19.phpt2 Test lstat() and stat() functions: usage variations - dir/file names in array
14 Prototype: array stat ( string $filename );
45 echo "\n-- Testing stat() on filename stored inside an array --\n";
46 var_dump( stat($names[0]) ); // values stored with numeric index
47 var_dump( stat($names_with_key['file']) ); // value stored with string key
49 echo "\n-- Testing stat() on dir name stored inside an array --\n";
50 var_dump( stat($names[1]) ); // values stored with numeric index
51 var_dump( stat($names_with_key["dir"]) ); // value stored with string key
63 *** Testing stat() with filename & directory name stored inside an array ***
65 -- Testing stat() on filename stored inside an array --
[all …]
H A Dstat_variation7-win32.phpt2 Test stat() functions: usage variations - names of dir/file stored in objects
13 * Prototype: array stat ( string $filename );
30 echo "\n*** Testing stat(): with filename
49 echo "\n-- Testing stat() on filename stored inside an object --\n";
50 var_dump( stat($obj3->var_name) );
54 var_dump( stat($obj4->var_name) );
57 var_dump( stat($obj1->var_name) );
60 var_dump( stat($obj2->var_name) );
74 *** Testing stat(): with filename
77 -- Testing stat() on filename stored inside an object --
[all …]
H A Dlstat_stat_variation6.phpt2 Test lstat() and stat() functions: usage variations - effects of touch() on link
23 Prototype: array stat ( string $filename );
41 // touch a link, check stat, there should be difference in atime
51 $new_stat = stat($file_name);
57 // compare the stat
60 // clear the stat
H A Dtouch_basic.phpt45 $init_meta = stat($filename);
49 $next_meta = stat($filename);
56 echo "stat data differs at $type[$i]\n";
69 $init_meta = stat($filename);
88 stat data differs at atime
89 stat data differs at mtime
90 stat data differs at ctime
H A Dfilegroup_variation2.phpt49 Warning: filegroup(): stat failed for -2.34555 in %s on line %d
52 Warning: filegroup(): stat failed for in %s on line %d
56 Warning: filegroup(): stat failed for 1 in %s on line %d
64 Warning: filegroup(): stat failed for 1234 in %s on line %d
67 Warning: filegroup(): stat failed for 0 in %s on line %d
H A Dfileinode_variation2.phpt50 Warning: fileinode(): stat failed for -2.34555 in %s on line %d
53 Warning: fileinode(): stat failed for in %s on line %d
57 Warning: fileinode(): stat failed for 1 in %s on line %d
65 Warning: fileinode(): stat failed for 1234 in %s on line %d
68 Warning: fileinode(): stat failed for 0 in %s on line %d
H A Dfileowner_variation2.phpt50 Warning: fileowner(): stat failed for -2.34555 in %s on line %d
53 Warning: fileowner(): stat failed for in %s on line %d
57 Warning: fileowner(): stat failed for 1 in %s on line %d
65 Warning: fileowner(): stat failed for 1234 in %s on line %d
68 Warning: fileowner(): stat failed for 0 in %s on line %d
H A Dfileperms_variation2.phpt49 Warning: fileperms(): stat failed for -2.34555 in %s on line %d
52 Warning: fileperms(): stat failed for in %s on line %d
56 Warning: fileperms(): stat failed for 1 in %s on line %d
64 Warning: fileperms(): stat failed for 1234 in %s on line %d
67 Warning: fileperms(): stat failed for 0 in %s on line %d
H A Dlstat_stat_variation15.phpt2 Test lstat() and stat() functions: usage variations - effects changing permissions of link
15 Prototype: array stat ( string $filename );
33 // checking lstat() and stat() on links
38 // clear the stat
45 // compare the stat
/PHP-5.5/ext/mysql/tests/
H A Dmysql_stat.phpt24 if ((!is_string($stat = mysql_stat($link))) || ('' === $stat))
26 gettype($stat), $stat, mysql_errno($link), mysql_error($link));
28 if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1) && !is_unicode($stat)) {
30 var_inspect($stat);
37 assert(soundex($stat) === soundex($stat_def));
/PHP-5.5/ext/phar/tests/tar/files/
H A Dmake.dangerous.tar.php.inc42 function addFile($path, $fileOrStream, $stat = null)
45 if ($stat === null) {
47 $stat = fstat($fileOrStream);
49 $stat = array(
60 if ($stat['mode'] & 0x4000) {
62 } else if ($stat['mode'] & 0x8000) {
64 } else if ($stat['mode'] & 0xA000) {
84 sprintf('%6s ',decoct($stat['uid'])),
85 sprintf('%6s ',decoct($stat['gid'])),
86 sprintf('%11s ',decoct($stat['size'])),
[all …]
/PHP-5.5/win32/
H A Dglob.h50 struct stat;
68 int (*gl_lstat)(const char *, struct stat *);
69 int (*gl_stat)(const char *, struct stat *);
/PHP-5.5/ext/zlib/tests/
H A Dzlib_scheme_stat_basic.phpt13 stat($srcFile);
19 Warning: stat(): stat failed for compress.zlib://%s/004.txt.gz in %s on line %d
/PHP-5.5/ext/reflection/tests/
H A DReflectionProperty_basic1.phpt39 static public $stat = "static property";
45 reflectProperty("TestClass", "stat");
81 Reflecting on property TestClass::stat
84 string(33) "Property [ public static $stat ]
87 string(33) "Property [ public static $stat ]
90 Property [ public static $stat ]
94 string(4) "stat"

Completed in 36 milliseconds

123456789