Searched defs:directory (Results 1 - 4 of 4) sorted by relevance

/PHP_5_6/Zend/
H A Dzend_virtual_cwd.c781 int directory = 0; local
813 /* remove '..' and previous directory */
865 /* not a directory */
1035 j = tsrm_realpath_r(path, 0, j, ll, t, 0, is_dir, &directory TSRMLS_CC);
1051 j = tsrm_realpath_r(path, start, i + j, ll, t, use_realpath, is_dir, &directory TSRMLS_CC);
1057 directory = (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY);
1060 *link_is_dir = directory;
1065 directory = (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) != 0;
1066 if (is_dir && !directory) {
1067 /* not a directory */
[all...]
/PHP_5_6/ext/xmlreader/
H A Dphp_xmlreader.c297 /* If loading from memory, we need to set the base directory for the document
1047 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1072 /* Get the URI of the current script so that we can set the base directory in libxml */
1074 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN);
1076 directory = VCWD_GETWD(resolved_path);
1078 if (directory) {
/PHP_5_6/win32/build/
H A Dmkdist.php378 function copy_test_dir($directory, $dest)
380 if(substr($directory,-1) == '/') {
381 $directory = substr($directory,0,-1); variable
384 if ($directory == 'tests' || $directory == 'examples') {
388 copy_dir($directory, $dest . '/tests/');
393 if(!file_exists($directory) || !is_dir($directory)) {
394 echo "failed... $directory\
[all...]
/PHP_5_6/ext/dom/
H A Ddocument.c1501 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1535 /* If loading from memory, we need to set the base directory for the document */
1538 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN);
1540 directory = VCWD_GETWD(resolved_path);
1542 if (directory) {
1543 if(ctxt->directory != NULL) {
1544 xmlFree((char *) ctxt->directory);
1551 ctxt->directory = (char *) xmlCanonicPath((const xmlChar *) resolved_path);
1592 if (ret && ret->URL == NULL && ctxt->directory != NULL) {
1593 ret->URL = xmlStrdup(ctxt->directory);
[all...]

Completed in 26 milliseconds