Searched defs:pathname (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dftok.c30 /* {{{ proto int ftok(string pathname, string proj)
31 Convert a pathname and a project identifier to a System V IPC key */
34 char *pathname, *proj; local
38 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ps", &pathname, &pathname_len, &proj, &proj_len) == FAILURE) {
52 if (php_check_open_basedir(pathname TSRMLS_CC)) {
56 k = ftok(pathname, proj[0]);
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.c106 char * tsrm_win32_get_path_sid_key(const char *pathname TSRMLS_DC)
114 bucket_key = (char *)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, strlen(pathname) + 1);
118 memcpy(bucket_key, pathname, strlen(pathname));
126 bucket_key = (char *)HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, strlen(pathname) + strlen(ptcSid) + 1);
133 memcpy(bucket_key + strlen(ptcSid), pathname, strlen(pathname) + 1);
193 TSRM_API int tsrm_win32_access(const char *pathname, int mode TSRMLS_DC) argument
213 return GetBinaryType(pathname, &type) ? 0 : -1;
215 if(!IS_ABSOLUTE_PATH(pathname, strle
[all...]
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.c1519 CWD_API int virtual_access(const char *pathname, int mode TSRMLS_DC) /* {{{ */ argument
1525 if (virtual_file_ex(&new_state, pathname, NULL, CWD_REALPATH TSRMLS_CC)) {
1798 CWD_API int virtual_mkdir(const char *pathname, mode_t mode TSRMLS_DC) /* {{{ */ argument
1804 if (virtual_file_ex(&new_state, pathname, NULL, CWD_FILEPATH TSRMLS_CC)) {
1819 CWD_API int virtual_rmdir(const char *pathname TSRMLS_DC) /* {{{ */
1825 if (virtual_file_ex(&new_state, pathname, NULL, CWD_EXPAND TSRMLS_CC)) {
1841 CWD_API DIR *virtual_opendir(const char *pathname TSRMLS_DC) /* {{{ */
1847 if (virtual_file_ex(&new_state, pathname, NULL, CWD_REALPATH TSRMLS_CC)) {

Completed in 21 milliseconds