/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_quarantine_test.cpp | 77 Cache cache; in TEST() local 86 Cache cache; in TEST() local 99 DeallocateCache(&cache); in TEST() 106 Cache cache; in TEST() local 109 cache.Transfer(&from); in TEST() 119 DeallocateCache(&cache); in TEST() 128 Cache cache; in TEST() local 133 cache.Transfer(&from); in TEST() 145 DeallocateCache(&cache); in TEST() 154 Cache cache; in TEST() local [all …]
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | sparc64obsd-tdep.c | 144 struct sparc_frame_cache *cache; in sparc64obsd_frame_cache() local 155 if (cache->pc == 0) in sparc64obsd_frame_cache() 162 cache->frameless_p = 0; in sparc64obsd_frame_cache() 164 cache->base = addr; in sparc64obsd_frame_cache() 172 return cache; in sparc64obsd_frame_cache() 179 struct sparc_frame_cache *cache = in sparc64obsd_frame_this_id() local 182 (*this_id) = frame_id_build (cache->base, cache->pc); in sparc64obsd_frame_this_id() 192 struct sparc_frame_cache *cache = in sparc64obsd_frame_prev_register() local 224 struct sparc_frame_cache *cache; in sparc64obsd_trapframe_cache() local 247 return cache; in sparc64obsd_trapframe_cache() [all …]
|
H A D | sparc64-sol2-tdep.c | 55 struct sparc_frame_cache *cache; in sparc64_sol2_sigtramp_frame_cache() local 62 cache = sparc_frame_cache (next_frame, this_cache); in sparc64_sol2_sigtramp_frame_cache() 63 gdb_assert (cache == *this_cache); in sparc64_sol2_sigtramp_frame_cache() 83 cache->saved_regs[regnum].addr = addr; in sparc64_sol2_sigtramp_frame_cache() 89 trad_frame_set_unknown (cache->saved_regs, regnum); in sparc64_sol2_sigtramp_frame_cache() 95 addr = cache->saved_regs[SPARC_SP_REGNUM].addr; in sparc64_sol2_sigtramp_frame_cache() 99 cache->saved_regs[regnum].addr = addr; in sparc64_sol2_sigtramp_frame_cache() 102 return cache; in sparc64_sol2_sigtramp_frame_cache() 110 struct sparc_frame_cache *cache = in sparc64_sol2_sigtramp_frame_this_id() local 113 (*this_id) = frame_id_build (cache->base, cache->pc); in sparc64_sol2_sigtramp_frame_this_id() [all …]
|
H A D | sparc-sol2-tdep.c | 80 struct sparc_frame_cache *cache; in sparc32_sol2_sigtramp_frame_cache() local 87 cache = sparc_frame_cache (next_frame, this_cache); in sparc32_sol2_sigtramp_frame_cache() 88 gdb_assert (cache == *this_cache); in sparc32_sol2_sigtramp_frame_cache() 106 cache->saved_regs[regnum].addr = addr; in sparc32_sol2_sigtramp_frame_cache() 112 trad_frame_set_unknown (cache->saved_regs, regnum); in sparc32_sol2_sigtramp_frame_cache() 116 addr = cache->saved_regs[SPARC_SP_REGNUM].addr; in sparc32_sol2_sigtramp_frame_cache() 120 cache->saved_regs[regnum].addr = addr; in sparc32_sol2_sigtramp_frame_cache() 123 return cache; in sparc32_sol2_sigtramp_frame_cache() 131 struct sparc_frame_cache *cache = in sparc32_sol2_sigtramp_frame_this_id() local 134 (*this_id) = frame_id_build (cache->base, cache->pc); in sparc32_sol2_sigtramp_frame_this_id() [all …]
|
H A D | m88k-tdep.c | 535 if (cache == NULL) in m88k_analyze_prologue() 663 if (cache->pc != 0) in m88k_frame_cache() 666 m88k_analyze_prologue (cache->pc, addr_in_block, cache); in m88k_frame_cache() 682 cache->fp_offset = cache->saved_regs[M88K_R1_REGNUM].addr - 4; in m88k_frame_cache() 697 cache->base = frame_sp - cache->sp_offset; in m88k_frame_cache() 698 trad_frame_set_value (cache->saved_regs, M88K_R31_REGNUM, cache->base); in m88k_frame_cache() 701 cache->saved_regs[M88K_SXIP_REGNUM] = cache->saved_regs[M88K_R1_REGNUM]; in m88k_frame_cache() 703 *this_cache = cache; in m88k_frame_cache() 704 return cache; in m88k_frame_cache() 717 (*this_id) = frame_id_build (cache->base, cache->pc); in m88k_frame_this_id() [all …]
|
H A D | sparc64fbsd-tdep.c | 81 struct sparc_frame_cache *cache; in sparc64fbsd_sigtramp_frame_cache() local 90 gdb_assert (cache == *this_cache); in sparc64fbsd_sigtramp_frame_cache() 119 cache->saved_regs[regnum].addr = addr; in sparc64fbsd_sigtramp_frame_cache() 123 addr = cache->saved_regs[SPARC_SP_REGNUM].addr; in sparc64fbsd_sigtramp_frame_cache() 127 cache->saved_regs[regnum].addr = addr; in sparc64fbsd_sigtramp_frame_cache() 140 cache->saved_regs[regnum].addr = addr; in sparc64fbsd_sigtramp_frame_cache() 144 cache->saved_regs[regnum].addr = addr; in sparc64fbsd_sigtramp_frame_cache() 147 return cache; in sparc64fbsd_sigtramp_frame_cache() 155 struct sparc_frame_cache *cache = in sparc64fbsd_sigtramp_frame_this_id() local 158 (*this_id) = frame_id_build (cache->base, cache->pc); in sparc64fbsd_sigtramp_frame_this_id() [all …]
|
H A D | xstormy16-tdep.c | 337 cache->saved_regs[regnum] = cache->framesize; in xstormy16_analyze_prologue() 384 cache->saved_regs[regnum] = cache->framesize + offset; in xstormy16_analyze_prologue() 631 cache->base = 0; in xstormy16_alloc_frame_cache() 633 cache->pc = 0; in xstormy16_alloc_frame_cache() 639 return cache; in xstormy16_alloc_frame_cache() 657 return cache; in xstormy16_frame_cache() 661 if (cache->pc) in xstormy16_frame_cache() 667 cache->saved_sp = cache->base - cache->framesize; in xstormy16_frame_cache() 671 cache->saved_regs[i] += cache->saved_sp; in xstormy16_frame_cache() 673 return cache; in xstormy16_frame_cache() [all …]
|
H A D | m68k-tdep.c | 488 cache->base = 0; in m68k_alloc_frame_cache() 490 cache->pc = 0; in m68k_alloc_frame_cache() 498 cache->locals = -1; in m68k_alloc_frame_cache() 500 return cache; in m68k_alloc_frame_cache() 551 cache->locals = 0; in m68k_analyze_frame_setup() 733 cache.locals = -1; in m68k_skip_prologue() 776 return cache; in m68k_frame_cache() 801 cache->saved_sp = cache->base + 8; in m68k_frame_cache() 807 cache->saved_regs[i] += cache->base; in m68k_frame_cache() 809 return cache; in m68k_frame_cache() [all …]
|
H A D | sparcobsd-tdep.c | 73 struct sparc_frame_cache *cache; in sparc32obsd_frame_cache() local 80 gdb_assert (cache == *this_cache); in sparc32obsd_frame_cache() 84 if (cache->pc == 0) in sparc32obsd_frame_cache() 86 cache->pc = frame_pc_unwind (next_frame); in sparc32obsd_frame_cache() 87 cache->pc &= ~(sparc32obsd_page_size - 1); in sparc32obsd_frame_cache() 91 cache->frameless_p = 0; in sparc32obsd_frame_cache() 93 cache->base = addr; in sparc32obsd_frame_cache() 98 return cache; in sparc32obsd_frame_cache() 105 struct sparc_frame_cache *cache = in sparc32obsd_frame_this_id() local 108 (*this_id) = frame_id_build (cache->base, cache->pc); in sparc32obsd_frame_this_id() [all …]
|
H A D | sparc-linux-tdep.c | 163 struct sparc_frame_cache *cache; in sparc32_linux_sigtramp_frame_cache() local 170 cache = sparc32_frame_cache (next_frame, this_cache); in sparc32_linux_sigtramp_frame_cache() 171 gdb_assert (cache == *this_cache); in sparc32_linux_sigtramp_frame_cache() 191 cache->pc = addr; in sparc32_linux_sigtramp_frame_cache() 203 cache->saved_regs[regnum].addr = addr; in sparc32_linux_sigtramp_frame_cache() 205 for (regnum = SPARC_L0_REGNUM, addr = cache->base; in sparc32_linux_sigtramp_frame_cache() 207 cache->saved_regs[regnum].addr = addr; in sparc32_linux_sigtramp_frame_cache() 209 return cache; in sparc32_linux_sigtramp_frame_cache() 217 struct sparc_frame_cache *cache = in sparc32_linux_sigtramp_frame_this_id() local 220 (*this_id) = frame_id_build (cache->base, cache->pc); in sparc32_linux_sigtramp_frame_this_id() [all …]
|
H A D | m32r-linux-tdep.c | 228 struct m32r_frame_cache *cache; in m32r_linux_sigtramp_frame_cache() local 234 cache = FRAME_OBSTACK_ZALLOC (struct m32r_frame_cache); in m32r_linux_sigtramp_frame_cache() 235 (*this_cache) = cache; in m32r_linux_sigtramp_frame_cache() 239 sigcontext_addr = cache->base + 4; in m32r_linux_sigtramp_frame_cache() 241 cache->pc = frame_pc_unwind (next_frame); in m32r_linux_sigtramp_frame_cache() 253 cache->pc = addr; in m32r_linux_sigtramp_frame_cache() 260 cache->saved_regs[regnum].addr = in m32r_linux_sigtramp_frame_cache() 264 return cache; in m32r_linux_sigtramp_frame_cache() 272 struct m32r_frame_cache *cache = in m32r_linux_sigtramp_frame_this_id() local 275 (*this_id) = frame_id_build (cache->base, cache->pc); in m32r_linux_sigtramp_frame_this_id() [all …]
|
H A D | amd64-tdep.c | 708 cache->base = 0; in amd64_init_frame_cache() 710 cache->pc = 0; in amd64_init_frame_cache() 732 return cache; in amd64_alloc_frame_cache() 838 if (cache->pc != 0) in amd64_frame_cache() 851 cache->base = extract_unsigned_integer (buf, 8) + cache->sp_offset; in amd64_frame_cache() 861 cache->saved_sp = cache->base + 16; in amd64_frame_cache() 872 cache->saved_regs[i] += cache->base; in amd64_frame_cache() 874 return cache; in amd64_frame_cache() 888 (*this_id) = frame_id_build (cache->base + 16, cache->pc); in amd64_frame_this_id() 980 return cache; in amd64_sigtramp_frame_cache() [all …]
|
H A D | vax-tdep.c | 317 struct vax_frame_cache *cache; in vax_frame_cache() local 331 if (cache->base == 0) in vax_frame_cache() 332 return cache; in vax_frame_cache() 339 cache->saved_regs[VAX_PC_REGNUM].addr = cache->base + 16; in vax_frame_cache() 340 cache->saved_regs[VAX_FP_REGNUM].addr = cache->base + 12; in vax_frame_cache() 341 cache->saved_regs[VAX_AP_REGNUM].addr = cache->base + 8; in vax_frame_cache() 342 cache->saved_regs[VAX_PS_REGNUM].addr = cache->base + 4; in vax_frame_cache() 346 addr = cache->base + 20; in vax_frame_cache() 373 return cache; in vax_frame_cache() 383 if (cache->base == 0) in vax_frame_this_id() [all …]
|
H A D | i386-tdep.c | 315 cache->base = 0; in i386_alloc_frame_cache() 317 cache->pc = 0; in i386_alloc_frame_cache() 327 cache->locals = -1; in i386_alloc_frame_cache() 329 return cache; in i386_alloc_frame_cache() 784 cache.locals = -1; in i386_skip_prologue() 886 return cache; in i386_frame_cache() 911 cache->saved_sp = cache->base + 8; in i386_frame_cache() 917 cache->saved_regs[i] += cache->base; in i386_frame_cache() 919 return cache; in i386_frame_cache() 933 (*this_id) = frame_id_build (cache->base + 8, cache->pc); in i386_frame_this_id() [all …]
|
H A D | ia64-tdep.c | 1002 cache->pc = 0; in ia64_alloc_frame_cache() 1003 cache->cfm = 0; in ia64_alloc_frame_cache() 1015 return cache; in ia64_alloc_frame_cache() 1484 cache.cfm = 0; in ia64_skip_prologue() 1485 cache.bsp = 0; in ia64_skip_prologue() 1534 cache->base = cache->saved_sp + cache->mem_stack_frame_size; in ia64_frame_cache() 1536 return cache; in ia64_frame_cache() 1550 (*this_id) = frame_id_build_special (cache->base, cache->pc, cache->bsp); in ia64_frame_this_id() 1612 bsp = rse_address_add (cache->bsp, -(cache->sof)); in ia64_frame_prev_register() 1934 cache->sof = cache->cfm & 0x7f; in ia64_sigtramp_frame_cache() [all …]
|
H A D | ppcobsd-tdep.c | 194 struct trad_frame_cache *cache; in ppcobsd_sigtramp_frame_cache() local 203 cache = trad_frame_cache_zalloc (next_frame); in ppcobsd_sigtramp_frame_cache() 204 *this_cache = cache; in ppcobsd_sigtramp_frame_cache() 209 return cache; in ppcobsd_sigtramp_frame_cache() 222 trad_frame_set_reg_addr (cache, regnum, addr); in ppcobsd_sigtramp_frame_cache() 236 trad_frame_set_id (cache, frame_id_build (base, func)); in ppcobsd_sigtramp_frame_cache() 238 return cache; in ppcobsd_sigtramp_frame_cache() 245 struct trad_frame_cache *cache = in ppcobsd_sigtramp_frame_this_id() local 248 trad_frame_get_id (cache, this_id); in ppcobsd_sigtramp_frame_this_id() 258 struct trad_frame_cache *cache = in ppcobsd_sigtramp_frame_prev_register() local [all …]
|
H A D | sparc64nbsd-tdep.c | 159 struct sparc_frame_cache *cache; in sparc64nbsd_sigcontext_frame_cache() local 166 gdb_assert (cache == *this_cache); in sparc64nbsd_sigcontext_frame_cache() 170 if (cache->pc == 0) in sparc64nbsd_sigcontext_frame_cache() 172 cache->pc = sparc64nbsd_sigtramp_start; in sparc64nbsd_sigcontext_frame_cache() 176 cache->frameless_p = 0; in sparc64nbsd_sigcontext_frame_cache() 178 cache->base = addr; in sparc64nbsd_sigcontext_frame_cache() 183 addr = cache->base + BIAS + 128 + 8; in sparc64nbsd_sigcontext_frame_cache() 186 return cache; in sparc64nbsd_sigcontext_frame_cache() 194 struct sparc_frame_cache *cache = in sparc64nbsd_sigcontext_frame_this_id() local 197 (*this_id) = frame_id_build (cache->base, cache->pc); in sparc64nbsd_sigcontext_frame_this_id() [all …]
|
H A D | libunwind-frame.c | 131 struct libunwind_frame_cache *cache; in libunwind_frame_cache() local 141 cache->func_addr = frame_func_unwind (next_frame); in libunwind_frame_cache() 159 unw_step_p (&cache->cursor); in libunwind_frame_cache() 167 cache->base = (CORE_ADDR)fp; in libunwind_frame_cache() 169 *this_cache = cache; in libunwind_frame_cache() 170 return cache; in libunwind_frame_cache() 224 struct libunwind_frame_cache *cache = in libunwind_frame_this_id() local 227 (*this_id) = frame_id_build (cache->base, cache->func_addr); in libunwind_frame_this_id() 236 struct libunwind_frame_cache *cache = in libunwind_frame_prev_register() local 312 struct libunwind_frame_cache *cache = in libunwind_frame_base_address() local [all …]
|
/openbsd/gnu/usr.bin/perl/ext/Pod-Html/t/ |
H A D | cache.t | 26 my $infile = catfile('t', 'cache.pod'); 43 open(my $cache, '<', $cachefile) or die "Cannot open cache file: $!"; 44 chomp(my $podpath = <$cache>); 45 chomp(my $podroot = <$cache>); 46 close $cache; 50 # test cache contents 59 open($cache, '<', $tcachefile) or die "Cannot open cache file: $!"; 60 chomp($podpath = <$cache>); 61 chomp($podroot = <$cache>); 64 while (<$cache>) { [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator.cpp | 52 if (cache == 0) { in RawInternalAlloc() 63 if (cache == 0) { in RawInternalRealloc() 72 if (!cache) { in RawInternalFree() 76 internal_allocator()->Deallocate(cache, ptr); in RawInternalFree() 87 void *p = RawInternalAlloc(size, cache, alignment); in InternalAlloc() 94 void *p = RawInternalRealloc(addr, size, cache); in InternalRealloc() 101 InternalAllocatorCache *cache) { in InternalReallocArray() argument 109 return InternalRealloc(addr, count * size, cache); in InternalReallocArray() 119 void *p = InternalAlloc(count * size, cache); in InternalCalloc() 125 void InternalFree(void *addr, InternalAllocatorCache *cache) { in InternalFree() argument [all …]
|
H A D | sanitizer_allocator_combined.h | 89 void Deallocate(AllocatorCache *cache, void *p) { in Deallocate() argument 100 return Allocate(cache, new_size, alignment); in Reallocate() 102 Deallocate(cache, p); in Reallocate() 108 void *new_p = Allocate(cache, new_size, alignment); in Reallocate() 111 Deallocate(cache, p); in Reallocate() 155 void InitCache(AllocatorCache *cache) { in InitCache() argument 156 cache->Init(&stats_); in InitCache() 159 void DestroyCache(AllocatorCache *cache) { in DestroyCache() argument 160 cache->Destroy(&primary_, &stats_); in DestroyCache() 163 void SwallowCache(AllocatorCache *cache) { in SwallowCache() argument [all …]
|
/openbsd/sys/arch/mips64/mips64/ |
H A D | cache_loongson2.c | 57 #define cache(op,set,addr) \ macro 123 cache(IndexInvalidate_I, 0, sva); in Loongson2_SyncCache() 166 cache(IndexInvalidate_I, 0, sva); in Loongson2_InvalidateICache() 223 cache(HitWBInvalidate_D, 0, va); in Loongson2_SyncDCachePage() 225 cache(HitWBInvalidate_S, 0, va); in Loongson2_SyncDCachePage() 241 cache(HitWBInvalidate_D, 0, va); in ls2f_hitwbinv_primary() 253 cache(HitWBInvalidate_S, 0, va); in ls2f_hitwbinv_secondary() 287 cache(HitInvalidate_D, 0, va); in ls2f_hitinv_primary() 299 cache(HitInvalidate_S, 0, va); in ls2f_hitinv_secondary() 346 cache(HitWBInvalidate_D, 0, va); in Loongson2_IOSyncDCache() [all …]
|
/openbsd/sys/kern/ |
H A D | vfs_bio.c | 409 if (bp->cache > DMA_CACHE) { in buf_flip_dma() 412 bp->cache = DMA_CACHE; in buf_flip_dma() 1509 queue = &cache->hotqueue; in bufcache_getcleanbuf() 1516 bp->cache++; in bufcache_getcleanbuf() 1606 queue = &cache->hotqueue; in bufcache_recover_dmapages() 1613 bp->cache++; in bufcache_recover_dmapages() 1683 struct bufcache *cache = &cleancache[bp->cache]; in bufcache_take() local 1691 queue = &cache->hotqueue; in bufcache_take() 1744 struct bufcache *cache = &cleancache[bp->cache]; in bufcache_release() local 1754 bp->cache); in bufcache_release() [all …]
|
/openbsd/gnu/llvm/llvm/utils/Reviewing/ |
H A D | find_interesting_reviews.py | 228 cache.write_cache_to_disk() 259 cache.write_cache_to_disk() 265 cache.oldest_info = oldest_info 266 cache.write_cache_to_disk() 281 phabReview = cache.get(id) 320 phabUser = cache.get(id) 343 cache.get_name(), len(cache.get_ids_in_cache()))) 345 cache.get_name(), 358 cache.write_cache_to_disk() 478 self.cache = {} [all …]
|
/openbsd/gnu/usr.bin/binutils/gdb/testsuite/gdb.hp/gdb.objdbg/ |
H A D | configure | 19 cache_file=./config.cache 86 -cache-file | --cache-file | --cache-fil | --cache-fi \ 87 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 89 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 90 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 141 --cache-file=FILE cache test results in FILE 912 -cache-file | --cache-file | --cache-fil | --cache-fi \ 913 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 915 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 916 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) [all …]
|