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

/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c293 /* If loading from memory, we need to set the base directory for the document
1043 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1068 /* Get the URI of the current script so that we can set the base directory in libxml */
1070 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN);
1072 directory = VCWD_GETWD(resolved_path);
1074 if (directory) {
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c775 int directory = 0; local
807 /* remove '..' and previous directory */
859 /* not a directory */
1030 j = tsrm_realpath_r(path, 0, j, ll, t, 0, is_dir, &directory);
1046 j = tsrm_realpath_r(path, start, i + j, ll, t, use_realpath, is_dir, &directory);
1052 directory = (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY);
1055 *link_is_dir = directory;
1060 directory = (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) != 0;
1061 if (is_dir && !directory) {
1062 /* not a directory */
[all...]
/PHP_TRUNK/win32/build/
H A Dmkdist.php405 function copy_test_dir($directory, $dest)
407 if(substr($directory,-1) == '/') {
408 $directory = substr($directory,0,-1); variable
411 if ($directory == 'tests' || $directory == 'examples') {
415 copy_dir($directory, $dest . '/tests/');
420 if(!file_exists($directory) || !is_dir($directory)) {
421 echo "failed... $directory\
[all...]
/PHP_TRUNK/ext/dom/
H A Ddocument.c1362 char *directory=NULL, resolved_path[MAXPATHLEN]; local
1400 /* If loading from memory, we need to set the base directory for the document */
1403 directory = VCWD_GETCWD(resolved_path, MAXPATHLEN);
1405 directory = VCWD_GETWD(resolved_path);
1407 if (directory) {
1408 if(ctxt->directory != NULL) {
1409 xmlFree((char *) ctxt->directory);
1416 ctxt->directory = (char *) xmlCanonicPath((const xmlChar *) resolved_path);
1457 if (ret && ret->URL == NULL && ctxt->directory != NULL) {
1458 ret->URL = xmlStrdup((xmlChar *) ctxt->directory);
[all...]

Completed in 36 milliseconds