Lines Matching refs:path
78 static int LoadDirectory(HashTable *directories, HKEY key, char *path, int path_len, HashTable *par… in LoadDirectory() argument
125 zend_hash_str_update_mem(directories, path, path_len, ht, sizeof(HashTable)); in LoadDirectory()
150 memcpy(new_path, path, path_len); in LoadDirectory()
182 void UpdateIniFromRegistry(char *path) in UpdateIniFromRegistry() argument
187 if(!path) { in UpdateIniFromRegistry()
218 orig_path = path = estrdup(path); in UpdateIniFromRegistry()
221 p = strchr(path, ':'); in UpdateIniFromRegistry()
223 *p = path[0]; /* replace the colon with the drive letter */ in UpdateIniFromRegistry()
224 path = p; /* make path point to the drive letter */ in UpdateIniFromRegistry()
226 if (path[0] != '\\' && path[0] != '/') { in UpdateIniFromRegistry()
246 spprintf(&path, 0, "%c\\%s\\%s", drive_letter, cwd, orig_path); in UpdateIniFromRegistry()
248 orig_path = path; in UpdateIniFromRegistry()
253 while (path[path_len] != 0) { in UpdateIniFromRegistry()
254 if (path[path_len] == '\\') { in UpdateIniFromRegistry()
255 path[path_len] = '/'; in UpdateIniFromRegistry()
259 zend_str_tolower(path, path_len); in UpdateIniFromRegistry()
262 HashTable *ht = (HashTable *)zend_hash_str_find_ptr(PW32G(registry_directories), path, path_len); in UpdateIniFromRegistry()
275 } while (path_len > 0 && path[path_len] != '/'); in UpdateIniFromRegistry()
276 path[path_len] = 0; in UpdateIniFromRegistry()