Home
last modified time | relevance | path

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

/PHP-7.0/ext/standard/
H A Dlink.c121 char *topath, *frompath; in PHP_FUNCTION() local
129 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp", &topath, &topath_len, &frompath, &frompath_len) =… in PHP_FUNCTION()
141 if (!expand_filepath_ex(topath, dest_p, dirname, len)) { 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(), "pp", &topath, &topath_len, &frompath, &frompath_len) =… in PHP_FUNCTION()
189 if (!expand_filepath(frompath, source_p) || !expand_filepath(topath, dest_p)) { in PHP_FUNCTION()
210 ret = link(topath, frompath); in PHP_FUNCTION()
H A Dlink_win32.c123 char *topath, *frompath; in PHP_FUNCTION() local
148 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp", &topath, &topath_len, &frompath, &frompath_len) =… in PHP_FUNCTION()
160 if (!expand_filepath_ex(topath, dest_p, dirname, len)) { in PHP_FUNCTION()
180 if ((attr = GetFileAttributes(topath)) == INVALID_FILE_ATTRIBUTES) { in PHP_FUNCTION()
188 ret = pCreateSymbolicLinkA(source_p, topath, (attr & FILE_ATTRIBUTE_DIRECTORY ? 1 : 0)); in PHP_FUNCTION()
203 char *topath, *frompath; in PHP_FUNCTION() local
211 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &frompath, &frompath_len, &topath, &topath_len) =… in PHP_FUNCTION()
215 if (!expand_filepath(frompath, source_p) || !expand_filepath(topath, dest_p)) { in PHP_FUNCTION()
236 ret = CreateHardLinkA(topath, frompath, NULL); in PHP_FUNCTION()

Completed in 6 milliseconds