Lines Matching refs:path_len
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()
138 char *new_path = (char*)emalloc(path_len+max_key+2); in LoadDirectory()
147 if (path_len) { in LoadDirectory()
148 memcpy(new_path, path, path_len); in LoadDirectory()
149 new_path[path_len] = '/'; in LoadDirectory()
150 memcpy(new_path+path_len+1, name, name_len+1); in LoadDirectory()
151 zend_str_tolower(new_path, path_len+name_len+1); in LoadDirectory()
152 name_len += path_len+1; in LoadDirectory()
183 int path_len; in UpdateIniFromRegistry() local
250 path_len = 0; in UpdateIniFromRegistry()
251 while (path[path_len] != 0) { in UpdateIniFromRegistry()
252 if (path[path_len] == '\\') { in UpdateIniFromRegistry()
253 path[path_len] = '/'; in UpdateIniFromRegistry()
255 path_len++; in UpdateIniFromRegistry()
257 zend_str_tolower(path, path_len); in UpdateIniFromRegistry()
259 while (path_len > 0) { in UpdateIniFromRegistry()
260 HashTable *ht = (HashTable *)zend_hash_str_find_ptr(PW32G(registry_directories), path, path_len); in UpdateIniFromRegistry()
272 path_len--; in UpdateIniFromRegistry()
273 } while (path_len > 0 && path[path_len] != '/'); in UpdateIniFromRegistry()
274 path[path_len] = 0; in UpdateIniFromRegistry()