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

/PHP_5_4/ext/xmlreader/
H A Dphp_xmlreader.c297 /* If loading from memory, we need to set the base directory for the document
1053 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1078 /* Get the URI of the current script so that we can set the base directory in libxml */
1080 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN);
1082 directory = VCWD_GETWD(resolved_path);
1084 if (directory) {
/PHP_5_4/TSRM/
H A Dtsrm_virtual_cwd.c753 int directory = 0; local
785 /* remove '..' and previous directory */
837 /* not a directory */
1007 j = tsrm_realpath_r(path, 0, j, ll, t, 0, is_dir, &directory TSRMLS_CC);
1023 j = tsrm_realpath_r(path, start, i + j, ll, t, use_realpath, is_dir, &directory TSRMLS_CC);
1029 directory = (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY);
1032 *link_is_dir = directory;
1037 directory = (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) != 0;
1038 if (is_dir && !directory) {
1039 /* not a directory */
[all...]
/PHP_5_4/ext/dom/
H A Ddocument.c1562 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1596 /* If loading from memory, we need to set the base directory for the document */
1599 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN);
1601 directory = VCWD_GETWD(resolved_path);
1603 if (directory) {
1604 if(ctxt->directory != NULL) {
1605 xmlFree((char *) ctxt->directory);
1612 ctxt->directory = (char *) xmlCanonicPath((const xmlChar *) resolved_path);
1653 if (ret && ret->URL == NULL && ctxt->directory != NULL) {
1654 ret->URL = xmlStrdup(ctxt->directory);
[all...]
/PHP_5_4/win32/build/
H A Dmkdist.php380 function copy_test_dir($directory, $dest)
382 if(substr($directory,-1) == '/') {
383 $directory = substr($directory,0,-1); variable
386 if ($directory == 'tests' || $directory == 'examples') {
390 copy_dir($directory, $dest . '/tests/');
395 if(!file_exists($directory) || !is_dir($directory)) {
396 echo "failed... $directory\
[all...]

Completed in 36 milliseconds