Lines Matching refs:path_len
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()
140 char *new_path = (char*)emalloc(path_len+max_key+2); in LoadDirectory()
149 if (path_len) { in LoadDirectory()
150 memcpy(new_path, path, path_len); in LoadDirectory()
151 new_path[path_len] = '/'; in LoadDirectory()
152 memcpy(new_path+path_len+1, name, name_len+1); in LoadDirectory()
153 zend_str_tolower(new_path, path_len+name_len+1); in LoadDirectory()
154 name_len += path_len+1; in LoadDirectory()
185 int path_len; in UpdateIniFromRegistry() local
252 path_len = 0; in UpdateIniFromRegistry()
253 while (path[path_len] != 0) { in UpdateIniFromRegistry()
254 if (path[path_len] == '\\') { in UpdateIniFromRegistry()
255 path[path_len] = '/'; in UpdateIniFromRegistry()
257 path_len++; in UpdateIniFromRegistry()
259 zend_str_tolower(path, path_len); in UpdateIniFromRegistry()
261 while (path_len > 0) { in UpdateIniFromRegistry()
262 HashTable *ht = (HashTable *)zend_hash_str_find_ptr(PW32G(registry_directories), path, path_len); in UpdateIniFromRegistry()
274 path_len--; in UpdateIniFromRegistry()
275 } while (path_len > 0 && path[path_len] != '/'); in UpdateIniFromRegistry()
276 path[path_len] = 0; in UpdateIniFromRegistry()