Home
last modified time | relevance | path

Searched refs:topath (Results 1 – 2 of 2) sorted by relevance

/PHP-5.4/ext/standard/
H A Dlink_win32.c112 char *topath, *frompath; in PHP_FUNCTION() local
137 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp", &topath, &topath_len, &frompath, &fromp… in PHP_FUNCTION()
149 if (!expand_filepath_ex(topath, dest_p, dirname, len TSRMLS_CC)) { in PHP_FUNCTION()
169 if ((attr = GetFileAttributes(topath)) == INVALID_FILE_ATTRIBUTES) { in PHP_FUNCTION()
177 ret = pCreateSymbolicLinkA(source_p, topath, (attr & FILE_ATTRIBUTE_DIRECTORY ? 1 : 0)); in PHP_FUNCTION()
192 char *topath, *frompath; in PHP_FUNCTION() local
200 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &frompath, &frompath_len, &topath, &top… in PHP_FUNCTION()
204 if (!expand_filepath(frompath, source_p TSRMLS_CC) || !expand_filepath(topath, dest_p TSRMLS_CC)) { in PHP_FUNCTION()
225 ret = CreateHardLinkA(topath, frompath, NULL); in PHP_FUNCTION()
H A Dlink.c121 char *topath, *frompath; in PHP_FUNCTION() local
129 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp", &topath, &topath_len, &frompath, &fromp… in PHP_FUNCTION()
141 if (!expand_filepath_ex(topath, dest_p, dirname, len TSRMLS_CC)) { in PHP_FUNCTION()
164 ret = symlink(topath, source_p); in PHP_FUNCTION()
179 char *topath, *frompath; in PHP_FUNCTION() local
185 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp", &topath, &topath_len, &frompath, &fromp… in PHP_FUNCTION()
189 if (!expand_filepath(frompath, source_p TSRMLS_CC) || !expand_filepath(topath, dest_p TSRMLS_CC)) { in PHP_FUNCTION()
210 ret = link(topath, frompath); in PHP_FUNCTION()

Completed in 6 milliseconds