Lines Matching refs:models_cached

563 unsigned int        models_cached		= 0;  variable
941 var->lVal = (LONG)models_cached; in getsyspropertybyindex()
3685 for(i=0; i<models_cached; i++){ in nextplayermodel()
3693 for(i=curindex+1, loops=0; loops<models_cached; i++, loops++){ in nextplayermodel()
3694 if(i >= models_cached) i = 0; in nextplayermodel()
3711 for(i=0; i<models_cached; i++){ in prevplayermodel()
3719 for(i=curindex-1, loops=0; loops<models_cached; i--, loops++){ in prevplayermodel()
3720 if(i < 0) i = models_cached-1; in prevplayermodel()
3734 for(i=0;i<models_cached;i++) in reset_playable_list()
4144 prepare_cache_map(models_cached+1); in cache_model()
4145 memset(&model_cache[models_cached], 0, sizeof(s_modelcache)); in cache_model()
4148 model_cache[models_cached].name = malloc(len + 1); in cache_model()
4149 strcpy(model_cache[models_cached].name, name); in cache_model()
4150 model_cache[models_cached].name[len] = 0; in cache_model()
4153 model_cache[models_cached].path = malloc(len + 1); in cache_model()
4154 strcpy(model_cache[models_cached].path, path); in cache_model()
4155 model_cache[models_cached].path[len] = 0; in cache_model()
4157 model_cache[models_cached].loadflag = flag; in cache_model()
4159 _peek_model_name(models_cached); in cache_model()
4160 ++models_cached; in cache_model()
4168 while(models_cached) in free_modelcache()
4170 --models_cached; in free_modelcache()
4171 free(model_cache[models_cached].name); in free_modelcache()
4172 model_cache[models_cached].name = NULL; in free_modelcache()
4173 free(model_cache[models_cached].path); in free_modelcache()
4174 model_cache[models_cached].path = NULL; in free_modelcache()
4185 for(i=0; i<models_cached; i++) in get_cached_model_index()
4195 for(i=0; i<models_cached; i++) in get_cached_model_path()
7695 for(i=0,pos=0; i<models_cached; i++) { in load_models()