Lines Matching refs:path
76 static int LoadDirectory(HashTable *directories, HKEY key, char *path, int path_len, HashTable *par… in LoadDirectory() argument
123 zend_hash_str_update_mem(directories, path, path_len, ht, sizeof(HashTable)); in LoadDirectory()
148 memcpy(new_path, path, path_len); in LoadDirectory()
180 void UpdateIniFromRegistry(char *path) in UpdateIniFromRegistry() argument
185 if(!path) { in UpdateIniFromRegistry()
216 orig_path = path = estrdup(path); in UpdateIniFromRegistry()
219 p = strchr(path, ':'); in UpdateIniFromRegistry()
221 *p = path[0]; /* replace the colon with the drive letter */ in UpdateIniFromRegistry()
222 path = p; /* make path point to the drive letter */ in UpdateIniFromRegistry()
224 if (path[0] != '\\' && path[0] != '/') { in UpdateIniFromRegistry()
244 spprintf(&path, 0, "%c\\%s\\%s", drive_letter, cwd, orig_path); in UpdateIniFromRegistry()
246 orig_path = path; in UpdateIniFromRegistry()
251 while (path[path_len] != 0) { in UpdateIniFromRegistry()
252 if (path[path_len] == '\\') { in UpdateIniFromRegistry()
253 path[path_len] = '/'; in UpdateIniFromRegistry()
257 zend_str_tolower(path, path_len); in UpdateIniFromRegistry()
260 HashTable *ht = (HashTable *)zend_hash_str_find_ptr(PW32G(registry_directories), path, path_len); in UpdateIniFromRegistry()
273 } while (path_len > 0 && path[path_len] != '/'); in UpdateIniFromRegistry()
274 path[path_len] = 0; in UpdateIniFromRegistry()