/dports/net/rdesktop/rdesktop-1.9.0/ |
H A D | pstcache.c | 39 pstcache_touch_bitmap(uint8 cache_id, uint16 cache_idx, uint32 stamp) in pstcache_touch_bitmap() argument 43 if (!IS_PERSISTENT(cache_id) || cache_idx >= BMPCACHE2_NUM_PSTCELLS) in pstcache_touch_bitmap() 47 rd_lseek_file(fd, 12 + cache_idx * (g_pstcache_Bpp * MAX_CELL_SIZE + sizeof(CELLHEADER))); in pstcache_touch_bitmap() 53 pstcache_load_bitmap(uint8 cache_id, uint16 cache_idx) in pstcache_load_bitmap() argument 63 if (!IS_PERSISTENT(cache_id) || cache_idx >= BMPCACHE2_NUM_PSTCELLS) in pstcache_load_bitmap() 67 rd_lseek_file(fd, cache_idx * (g_pstcache_Bpp * MAX_CELL_SIZE + sizeof(CELLHEADER))); in pstcache_load_bitmap() 74 cache_id, cache_idx, bitmap); in pstcache_load_bitmap() 75 cache_put_bitmap(cache_id, cache_idx, bitmap); in pstcache_load_bitmap() 83 pstcache_save_bitmap(uint8 cache_id, uint16 cache_idx, uint8 * key, in pstcache_save_bitmap() argument 89 if (!IS_PERSISTENT(cache_id) || cache_idx >= BMPCACHE2_NUM_PSTCELLS) in pstcache_save_bitmap() [all …]
|
H A D | orders.c | 150 uint8 cache_idx; in setup_brush() local 441 in_uint16_le(s, os->cache_idx); in process_memblt() 902 uint16 cache_idx, bufsize; in process_raw_bmpcache() local 914 in_uint16_le(s, cache_idx); in process_raw_bmpcache() 936 uint16 cache_idx, size; in process_bmpcache() local 951 in_uint16_le(s, cache_idx); in process_bmpcache() 996 uint16 cache_idx, bufsize; in process_bmpcache2() local 1021 in_uint8(s, cache_idx); in process_bmpcache2() 1023 if (cache_idx & LONG_FORMAT) in process_bmpcache2() 1026 cache_idx = ((cache_idx ^ LONG_FORMAT) << 8) + cache_idx_low; in process_bmpcache2() [all …]
|
H A D | cache.c | 404 cache_get_cursor(uint16 cache_idx) in cache_get_cursor() argument 408 if (cache_idx < NUM_ELEMENTS(g_cursorcache)) in cache_get_cursor() 410 cursor = g_cursorcache[cache_idx]; in cache_get_cursor() 415 logger(Core, Debug, "cache_get_cursor(), idx=%d", cache_idx); in cache_get_cursor() 421 cache_put_cursor(uint16 cache_idx, RD_HCURSOR cursor) in cache_put_cursor() argument 425 if (cache_idx < NUM_ELEMENTS(g_cursorcache)) in cache_put_cursor() 427 old = g_cursorcache[cache_idx]; in cache_put_cursor() 431 g_cursorcache[cache_idx] = cursor; in cache_put_cursor() 435 logger(Core, Error, "cache_put_cursor(), failed, idx=%d", cache_idx); in cache_put_cursor()
|
/dports/databases/namazu2/namazu-2.0.21/nmz/ |
H A D | field.c | 59 static int cache_idx = 0, cache_num = 0; variable 223 fc[cache_idx].idxid = idxid; in nmz_get_field_data() 224 fc[cache_idx].docid = docid; in nmz_get_field_data() 225 strncpy(fc[cache_idx].field, tmpfield, BUFSIZE - 1); in nmz_get_field_data() 226 fc[cache_idx].field[BUFSIZE - 1] = '\0'; in nmz_get_field_data() 227 strncpy(fc[cache_idx].data, data, BUFSIZE - 1); in nmz_get_field_data() 228 fc[cache_idx].data[BUFSIZE - 1] = '\0'; in nmz_get_field_data() 229 cache_idx = (cache_idx + 1) % FIELD_CACHE_SIZE; in nmz_get_field_data()
|
/dports/emulators/qemu/qemu-6.2.0/contrib/plugins/ |
H A D | cache.c | 393 int cache_idx; in vcpu_mem_access() local 403 cache_idx = vcpu_index % cores; in vcpu_mem_access() 410 l1_dcaches[cache_idx]->misses++; in vcpu_mem_access() 412 l1_dcaches[cache_idx]->accesses++; in vcpu_mem_access() 424 l2_ucaches[cache_idx]->misses++; in vcpu_mem_access() 426 l2_ucaches[cache_idx]->accesses++; in vcpu_mem_access() 434 int cache_idx; in vcpu_insn_exec() local 439 cache_idx = vcpu_index % cores; in vcpu_insn_exec() 445 l1_icaches[cache_idx]->misses++; in vcpu_insn_exec() 447 l1_icaches[cache_idx]->accesses++; in vcpu_insn_exec() [all …]
|
/dports/net/xrdp-devel/xrdp-0.9.16/xrdp/ |
H A D | xrdp_cache.c | 307 int cache_idx; in xrdp_cache_add_bitmap() local 360 cache_idx = list16_get_item(ll, jndex); in xrdp_cache_add_bitmap() 378 return MAKELONG(cache_idx, cache_id); in xrdp_cache_add_bitmap() 397 cache_idx = lru_index; in xrdp_cache_add_bitmap() 405 cache_id, cache_idx, in xrdp_cache_add_bitmap() 410 lbm = self->bitmap_items[cache_id][cache_idx].bitmap; in xrdp_cache_add_bitmap() 415 iig = list16_index_of(ll, cache_idx); in xrdp_cache_add_bitmap() 428 self->bitmap_items[cache_id][cache_idx].bitmap = bitmap; in xrdp_cache_add_bitmap() 435 list16_add_item(ll, cache_idx); in xrdp_cache_add_bitmap() 450 return MAKELONG(cache_idx, cache_id); in xrdp_cache_add_bitmap() [all …]
|
/dports/x11-drivers/xorgxrdp/xrdp-0.9.17/xrdp/ |
H A D | xrdp_cache.c | 307 int cache_idx; in xrdp_cache_add_bitmap() local 360 cache_idx = list16_get_item(ll, jndex); in xrdp_cache_add_bitmap() 378 return MAKELONG(cache_idx, cache_id); in xrdp_cache_add_bitmap() 397 cache_idx = lru_index; in xrdp_cache_add_bitmap() 405 cache_id, cache_idx, in xrdp_cache_add_bitmap() 410 lbm = self->bitmap_items[cache_id][cache_idx].bitmap; in xrdp_cache_add_bitmap() 415 iig = list16_index_of(ll, cache_idx); in xrdp_cache_add_bitmap() 428 self->bitmap_items[cache_id][cache_idx].bitmap = bitmap; in xrdp_cache_add_bitmap() 435 list16_add_item(ll, cache_idx); in xrdp_cache_add_bitmap() 450 return MAKELONG(cache_idx, cache_id); in xrdp_cache_add_bitmap() [all …]
|
/dports/net/rdesktop/rdesktop-1.9.0/tests/ |
H A D | cache_mock.c | 5 cache_get_cursor(uint16 cache_idx) in cache_get_cursor() argument 7 return (RD_HCURSOR)mock(cache_idx); in cache_get_cursor() 11 cache_put_cursor(uint16 cache_idx, RD_HCURSOR cursor) in cache_put_cursor() argument 13 mock(cache_idx, cursor); in cache_put_cursor()
|
/dports/games/el/Eternal-Lands-1.9.5.9-1/ |
H A D | optimizer.cpp | 85 std::vector<Uint32> cache_idx(cache_size + 3, 0xFFFFFFFF); in optimize_vertex_cache_order() local 185 if ((cache_idx[i] != a) && (cache_idx[i] != b) && in optimize_vertex_cache_order() 186 (cache_idx[i] != c)) in optimize_vertex_cache_order() 188 grow_cache_idx[j++] = cache_idx[i]; in optimize_vertex_cache_order() 191 cache_idx.swap(grow_cache_idx); in optimize_vertex_cache_order() 194 if (cache_idx[i] < 0xFFFFFFFF) in optimize_vertex_cache_order() 196 index = cache_idx[i]; in optimize_vertex_cache_order()
|
/dports/net/xrdp-devel/xrdp-0.9.16/libxrdp/ |
H A D | libxrdpinc.h | 119 libxrdp_send_pointer(struct xrdp_session *session, int cache_idx, 122 libxrdp_set_pointer(struct xrdp_session *session, int cache_idx); 155 int cache_idx, struct xrdp_rect *rect); 182 int cache_id, int cache_idx); 186 int cache_id, int cache_idx); 197 int cache_id, int cache_idx); 201 int cache_id, int cache_idx, int hints); 205 int cache_id, int cache_idx, int hints);
|
/dports/x11-drivers/xorgxrdp/xrdp-0.9.17/libxrdp/ |
H A D | libxrdpinc.h | 119 libxrdp_send_pointer(struct xrdp_session *session, int cache_idx, 122 libxrdp_set_pointer(struct xrdp_session *session, int cache_idx); 155 int cache_idx, struct xrdp_rect *rect); 182 int cache_id, int cache_idx); 186 int cache_id, int cache_idx); 197 int cache_id, int cache_idx); 201 int cache_id, int cache_idx, int hints); 205 int cache_id, int cache_idx, int hints);
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/contrib/plugins/ |
H A D | cache.c | 383 int cache_idx; in vcpu_mem_access() local 392 cache_idx = vcpu_index % cores; in vcpu_mem_access() 394 g_mutex_lock(&dcache_locks[cache_idx]); in vcpu_mem_access() 398 dcaches[cache_idx]->misses++; in vcpu_mem_access() 400 dcaches[cache_idx]->accesses++; in vcpu_mem_access() 401 g_mutex_unlock(&dcache_locks[cache_idx]); in vcpu_mem_access() 408 int cache_idx; in vcpu_insn_exec() local 412 cache_idx = vcpu_index % cores; in vcpu_insn_exec() 413 g_mutex_lock(&icache_locks[cache_idx]); in vcpu_insn_exec() 417 icaches[cache_idx]->misses++; in vcpu_insn_exec() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/gc/g1/ |
H A D | g1RegionMarkStatsCache.inline.hpp | 32 uint const cache_idx = hash(region_idx); in find_for_add() local 34 G1RegionMarkStatsCacheEntry* cur = &_cache[cache_idx]; in find_for_add() 36 evict(cache_idx); in find_for_add()
|
H A D | g1RegionMarkStatsCache.hpp | 113 uint const cache_idx = hash(region_idx); in reset() local 114 G1RegionMarkStatsCacheEntry* cur = &_cache[cache_idx]; in reset() 116 _cache[cache_idx].clear(); in reset()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/gc/g1/ |
H A D | g1RegionMarkStatsCache.inline.hpp | 32 uint const cache_idx = hash(region_idx); in find_for_add() local 34 G1RegionMarkStatsCacheEntry* cur = &_cache[cache_idx]; in find_for_add() 36 evict(cache_idx); in find_for_add()
|
H A D | g1RegionMarkStatsCache.hpp | 113 uint const cache_idx = hash(region_idx); in reset() local 114 G1RegionMarkStatsCacheEntry* cur = &_cache[cache_idx]; in reset() 116 _cache[cache_idx].clear(); in reset()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/gc/g1/ |
H A D | g1RegionMarkStatsCache.inline.hpp | 32 uint const cache_idx = hash(region_idx); in find_for_add() local 34 G1RegionMarkStatsCacheEntry* cur = &_cache[cache_idx]; in find_for_add() 36 evict(cache_idx); in find_for_add()
|
H A D | g1RegionMarkStatsCache.hpp | 113 uint const cache_idx = hash(region_idx); in reset() local 114 G1RegionMarkStatsCacheEntry* cur = &_cache[cache_idx]; in reset() 116 _cache[cache_idx].clear(); in reset()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/gc/g1/ |
H A D | g1RegionMarkStatsCache.inline.hpp | 32 uint const cache_idx = hash(region_idx); in find_for_add() local 34 G1RegionMarkStatsCacheEntry* cur = &_cache[cache_idx]; in find_for_add() 36 evict(cache_idx); in find_for_add()
|
H A D | g1RegionMarkStatsCache.hpp | 111 uint const cache_idx = hash(region_idx); in reset() local 112 G1RegionMarkStatsCacheEntry* cur = &_cache[cache_idx]; in reset() 114 _cache[cache_idx].clear(); in reset()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/gc/g1/ |
H A D | g1RegionMarkStatsCache.inline.hpp | 33 uint const cache_idx = hash(region_idx); in find_for_add() local 35 G1RegionMarkStatsCacheEntry* cur = &_cache[cache_idx]; in find_for_add() 37 evict(cache_idx); in find_for_add()
|
H A D | g1RegionMarkStatsCache.hpp | 113 uint const cache_idx = hash(region_idx); in reset() local 114 G1RegionMarkStatsCacheEntry* cur = &_cache[cache_idx]; in reset() 116 _cache[cache_idx].clear(); in reset()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/share/gc/g1/ |
H A D | g1RegionMarkStatsCache.inline.hpp | 32 uint const cache_idx = hash(region_idx); in find_for_add() local 34 G1RegionMarkStatsCacheEntry* cur = &_cache[cache_idx]; in find_for_add() 36 evict(cache_idx); in find_for_add()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/gc/g1/ |
H A D | g1RegionMarkStatsCache.inline.hpp | 32 uint const cache_idx = hash(region_idx); in find_for_add() local 34 G1RegionMarkStatsCacheEntry* cur = &_cache[cache_idx]; in find_for_add() 36 evict(cache_idx); in find_for_add()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/share/gc/g1/ |
H A D | g1RegionMarkStatsCache.inline.hpp | 32 uint const cache_idx = hash(region_idx); in find_for_add() local 34 G1RegionMarkStatsCacheEntry* cur = &_cache[cache_idx]; in find_for_add() 36 evict(cache_idx); in find_for_add()
|