Lines Matching refs:path
60 static int LoadDirectory(HashTable *directories, HKEY key, char *path, int path_len, HashTable *par… in LoadDirectory() argument
116 zend_hash_update(directories, path, path_len+1, &ht, sizeof(HashTable*), NULL); in LoadDirectory()
141 memcpy(new_path, path, path_len); in LoadDirectory()
172 void UpdateIniFromRegistry(char *path TSRMLS_DC) in UpdateIniFromRegistry()
178 if(!path) { in UpdateIniFromRegistry()
209 orig_path = path = estrdup(path); in UpdateIniFromRegistry()
212 p = strchr(path, ':'); in UpdateIniFromRegistry()
214 *p = path[0]; /* replace the colon with the drive letter */ in UpdateIniFromRegistry()
215 path = p; /* make path point to the drive letter */ in UpdateIniFromRegistry()
217 if (path[0] != '\\' && path[0] != '/') { in UpdateIniFromRegistry()
237 spprintf(&path, 0, "%c\\%s\\%s", drive_letter, cwd, orig_path); in UpdateIniFromRegistry()
239 orig_path = path; in UpdateIniFromRegistry()
244 while (path[path_len] != 0) { in UpdateIniFromRegistry()
245 if (path[path_len] == '\\') { in UpdateIniFromRegistry()
246 path[path_len] = '/'; in UpdateIniFromRegistry()
250 zend_str_tolower(path, path_len); in UpdateIniFromRegistry()
252 if (zend_hash_find(PW32G(registry_directories), path, path_len+1, (void**)&pht) == SUCCESS) { in UpdateIniFromRegistry()
269 while (path_len > 0 && path[path_len] != '/') { in UpdateIniFromRegistry()
273 path[path_len] = 0; in UpdateIniFromRegistry()