/external/valgrind/main/include/ |
H A D | pub_tool_oset.h | 85 typedef void* (*OSetAlloc_t) ( const HChar* cc, SizeT szB );
|
/external/valgrind/main/coregrind/m_initimg/ |
H A D | initimg-linux.c | 907 SizeT szB = (SizeT)VG_(client_rlimit_stack).rlim_cur; local 908 if (szB < m1) szB = m1; 909 if (szB > m16) szB = m16; 910 if (VG_(clo_main_stacksize) > 0) szB = VG_(clo_main_stacksize); 911 if (szB < m1) szB = m1; 912 szB = VG_PGROUNDUP(szB); [all...] |
/external/valgrind/main/memcheck/ |
H A D | mc_include.h | 68 SizeT szB : (sizeof(SizeT)*8)-2; // Size requested; 30 or 62 bits. member in struct:_MC_Chunk 166 Int MC_(get_otrack_shadow_offset) ( Int offset, Int szB ); 331 SizeT szB; // Sum of all MC_Chunk.szB values. member in struct:_LossRecord 367 // the given range [address, address+szB[ is found. 368 void MC_(who_points_at) ( Addr address, SizeT szB); 418 void MC_(record_address_error) ( ThreadId tid, Addr a, Int szB, 421 void MC_(record_value_error) ( ThreadId tid, Int szB, UInt otag ); 429 Addr src, Addr dst, SizeT szB );
|
H A D | mc_machine.c | 104 /* Let (offset,szB) describe a reference to the guest state section 105 [offset, offset+szB). 136 static Int get_otrack_shadow_offset_wrk ( Int offset, Int szB ); /*fwds*/ 138 Int MC_(get_otrack_shadow_offset) ( Int offset, Int szB ) 140 Int cand = get_otrack_shadow_offset_wrk( offset, szB ); 149 static Int get_otrack_shadow_offset_wrk ( Int offset, Int szB ) 160 Int sz = szB; 355 offset,szB); 369 Int sz = szB; 556 offset,szB); [all...] |
H A D | mc_main.c | 1204 SSizeT szB = nBits / 8; local 1205 SSizeT szL = szB / 8; /* Size in Longs (64-bit units) */ 1214 tl_assert((szB & (szB-1)) == 0 && szL > 0); 1259 MC_(record_address_error)( VG_(get_running_tid)(), a, szB, False ); 1292 if (0 == (a & (szB - 1)) && n_addrs_bad < szB) { 1308 MC_(record_address_error)( VG_(get_running_tid)(), a, szB, False ); 1352 SSizeT szB = nBits / 8; local 1369 for (i = szB 1462 SizeT szB = nBits / 8; local 4939 mc_get_or_set_vbits_for_client( Addr a, Addr vbits, SizeT szB, Bool setting, Bool is_client_request ) argument 5538 SizeT szB = 1; local 5669 SizeT szB = 1; local 5690 SizeT szB = 1; local 5775 SizeT szB = 1; local [all...] |
/external/valgrind/main/coregrind/m_gdbserver/ |
H A D | m_gdbserver.c | 410 Bool VG_(is_watched)(PointKind kind, Addr addr, Int szB) argument 423 Addr to = addr + szB; // semi-open interval [addr, to[ 428 dlog(1, "tid %d VG_(is_watched) %s addr %p szB %d\n", 429 tid, VG_(ppPointKind) (kind), C2v(addr), szB); 1408 SizeT* szB, 1421 *szB = 0; 1426 /* Do nothing, i.e. keep current value of szB. */ ; 1428 *szB = VG_(strtoull16) (ws, &endptr); 1433 *szB = 0; 1437 else if ('1' == parsews[j+2]) *szB | 1407 strtok_get_address_and_size(Addr* address, SizeT* szB, HChar **ssaveptr) argument [all...] |
/external/valgrind/main/helgrind/ |
H A D | hg_main.c | 3974 SizeT szB; /* size requested */ member in struct:__anon32837 4002 SizeT szB, SizeT alignB, Bool is_zeroed ) 4007 tl_assert( ((SSizeT)szB) >= 0 ); 4008 p = (Addr)VG_(cli_malloc)(alignB, szB); 4013 VG_(memset)((void*)p, 0, szB); 4020 md->szB = szB; 4027 evh__new_mem_heap( p, szB, is_zeroed ); 4070 SizeT szB; local 4078 szB 4001 handle_alloc( ThreadId tid, SizeT szB, SizeT alignB, Bool is_zeroed ) argument 4208 mm_find_containing_block( ExeContext** where, Addr* payload, SizeT* szB, Addr data_addr ) argument 4282 instrument_mem_access( IRSB* sbOut, IRExpr* addr, Int szB, Bool isStore, Int hWordTy_szB, Int goff_sp, IRExpr* guard ) argument [all...] |
H A D | libhb.h | 153 Thr* thr, Addr a, SizeT szB, Bool isW );
|
H A D | libhb_core.c | 4145 static void event_map_bind ( Addr a, SizeT szB, Bool isW, Thr* thr ) argument 4163 switch (szB) { 4284 Thr* thr, Addr a, SizeT szB, Bool isW ) 4302 tl_assert(szB == 8 || szB == 4 || szB == 2 || szB == 1); 4307 for (i = -7; i < (Word)szB; i++) { 4357 if (cmp_nonempty_intervals(a, szB, cand_a, cand_szB) != 0) 4827 Addr acc_addr, SizeT szB, Boo 4279 libhb_event_map_lookup( ExeContext** resEC, Thr** resThr, SizeT* resSzB, Bool* resIsW, WordSetID* locksHeldW, Thr* thr, Addr a, SizeT szB, Bool isW ) argument 4826 record_race_info( Thr* acc_thr, Addr acc_addr, SizeT szB, Bool isWrite, VtsID Cfailed, VtsID Kfailed, VtsID Cw ) argument 6487 TRACEME(Addr a, SizeT szB) argument 6492 trace( Thr* thr, Addr a, SizeT szB, const HChar* s ) argument [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
H A D | priv_image.h | 164 struct { DiImage* img; DiOffT ioff; DiOffT szB; } member in struct:__anon32415 171 static inline DiSlice mk_DiSlice ( DiImage* img, DiOffT ioff, DiOffT szB ) { 172 return (DiSlice){img, ioff, szB};
|
H A D | readelf.c | 708 tab_name, escn_symtab->szB/sizeof(ElfXX_Sym) ); 713 for (i = 1; i < (Word)(escn_symtab->szB/sizeof(ElfXX_Sym)); i++) { 834 tab_name, escn_symtab->szB/sizeof(ElfXX_Sym) ); 844 for (i = 1; i < (Word)(escn_symtab->szB/sizeof(ElfXX_Sym)); i++) { 1399 szB size in bytes 2272 _sec_escn.szB = a_shdr.sh_size; \ 2278 ((ULong)_sec_escn.ioff) + _sec_escn.szB - 1); \ 2281 + (nobits ? 0 : _sec_escn.szB) > ML_(img_size)(mimg) ) { \ 2359 vg_assert(crc_offset + sizeof(UInt) <= debuglink_escn.szB); 2570 _sec_escn.szB [all...] |
H A D | readpdb.c | 2465 Int szB = (Int)stat_buf.size; local 2466 if (szB == 0) { 2471 if (szB < 6 || szB > 1024/*let's say*/) { 2473 tmpname, szB); 2477 HChar* pdbname = ML_(dinfo_zalloc)("di.readpe.fnopf.pdbname", szB + 1); 2479 pdbname[szB] = 0; 2481 Int nread = VG_(read)(fd, pdbname, szB); 2482 if (nread != szB) { 2486 vg_assert(pdbname[szB] [all...] |
/external/valgrind/main/coregrind/ |
H A D | m_machine.c | 1585 void VG_(machine_ppc32_set_clszB)( Int szB ) 1593 || vai.ppc_icache_line_szB == szB); 1595 vg_assert(szB == 16 || szB == 32 || szB == 64 || szB == 128); 1596 vai.ppc_icache_line_szB = szB; 1603 void VG_(machine_ppc64_set_clszB)( Int szB ) 1611 || vai.ppc_icache_line_szB == szB); 1613 vg_assert(szB [all...] |
H A D | m_libcfile.c | 442 const Int szB = sizeof(startup_wd); local 444 vg_assert(szB >= 512 && szB <= 16384/*let's say*/); /* stay sane */ 445 VG_(memset)(startup_wd, 0, szB); 449 = VG_(do_syscall2)(__NR_getcwd, (UWord)startup_wd, szB-1); 450 vg_assert(startup_wd[szB-1] == 0); 469 if (wd == NULL || (1+VG_(strlen)(wd) >= szB)) 471 VG_(strncpy_safely)(startup_wd, wd, szB); 472 vg_assert(startup_wd[szB-1] == 0);
|
H A D | fixup_macho_loadcmds.c | 157 Bool is_macho_object_file( const void* buf, SizeT szB ) 176 if (szB < sizeof(struct fat_header)) 181 if (szB < sizeof(struct mach_header_64))
|
/external/valgrind/main/cachegrind/ |
H A D | cg_main.c | 532 Int szB; member in struct:__anon32356::__anon32357::__anon32360 536 Int szB; member in struct:__anon32356::__anon32357::__anon32361 540 Int szB; member in struct:__anon32356::__anon32357::__anon32362 567 case Ev_Dr: return ev->Ev.Dr.szB; 568 case Ev_Dw: return ev->Ev.Dw.szB; 569 case Ev_Dm: return ev->Ev.Dm.szB; 651 VG_(printf)("Dr %p %d EA=", ev->inode, ev->Ev.Dr.szB); 656 VG_(printf)("Dw %p %d EA=", ev->inode, ev->Ev.Dw.szB); 661 VG_(printf)("Dm %p %d EA=", ev->inode, ev->Ev.Dm.szB); 917 evt->Ev.Dr.szB [all...] |
/external/valgrind/main/VEX/priv/ |
H A D | host_arm64_defs.c | 239 ARM64AMode* ARM64AMode_RI12 ( HReg reg, Int uimm12, UChar szB ) { 244 am->ARM64am.RI12.szB = szB; 246 switch (szB) { 269 vex_printf("%u(", (UInt)am->ARM64am.RI12.szB 1492 ARM64Instr* ARM64Instr_LdrEX ( Int szB ) { 1495 i->ARM64in.LdrEX.szB = szB; 1496 vassert(szB == 8 || szB 1828 ARM64Instr_VMov( UInt szB, HReg dst, HReg src ) argument [all...] |
H A D | host_arm_defs.h | 749 Int szB; /* 1, 2, 4 or 8 */ member in struct:__anon31854::__anon31855::__anon31872 757 Int szB; /* 1, 2, 4 or 8 */ member in struct:__anon31854::__anon31855::__anon31873 982 extern ARMInstr* ARMInstr_LdrEX ( Int szB ); 983 extern ARMInstr* ARMInstr_StrEX ( Int szB );
|
H A D | host_arm64_isel.c | 862 && isValidScale(am->ARM64am.RI12.szB) ); 923 ULong szB = 1 << szBbits; local 924 if (0 == (uimm & (szB-1)) /* "uimm is szB-aligned" */ 927 return ARM64AMode_RI12(reg, (UInt)(uimm >> szBbits), (UChar)szB); 6737 Int szB = 0; local 6741 case Ity_I8: szB = 1; break; 6742 case Ity_I16: szB = 2; break; 6743 case Ity_I32: szB = 4; break; 6744 case Ity_I64: szB 6758 Int szB = 0; local [all...] |
H A D | guest_arm64_toIR.c | 948 static IRType preferredVectorSubTypeFromSize ( UInt szB ) 950 switch (szB) { 3092 static void gen_narrowing_store ( UInt szB, IRTemp addr, IRExpr* dataE ) argument 3095 switch (szB) { 3116 static IRTemp gen_zwidening_load ( UInt szB, IRTemp addr ) argument 3120 switch (szB) { 3164 UInt szB = 1 << szLg2; local 3166 UInt offs = INSN(21,10) * szB; 3174 putIReg64orZR(tt, mkexpr(gen_zwidening_load(szB, ta))); 3176 gen_narrowing_store(szB, t 3215 UInt szB = 1 << szLg2; local 3534 UInt szB = 1 << szLg2; local 3768 UInt szB = 4 << szSlg2; /* szB is the per-register size */ local 4124 UInt szB = 4 << INSN(31,30); local 4459 UInt szB = 1 << szBlg2; /* 1, 2, 4 or 8 */ local 4511 UInt szB = 1 << szBlg2; /* 1, 2, 4 or 8 */ local [all...] |
H A D | host_amd64_defs.h | 568 UChar szB; /* 4 or 8 */ member in struct:__anon31681::__anon31682::__anon31708 724 extern AMD64Instr* AMD64Instr_A87PushPop ( AMD64AMode* addr, Bool isPush, UChar szB );
|
H A D | host_arm_defs.c | 1249 ARMInstr* ARMInstr_LdrEX ( Int szB ) { 1252 i->ARMin.LdrEX.szB = szB; 1253 vassert(szB == 8 || szB == 4 || szB == 2 || szB == 1); 1256 ARMInstr* ARMInstr_StrEX ( Int szB ) { 1259 i->ARMin.StrEX.szB = szB; [all...] |
/external/valgrind/main/callgrind/ |
H A D | main.c | 253 Int szB; member in struct:__anon32375::__anon32376::__anon32378 257 Int szB; member in struct:__anon32375::__anon32376::__anon32379 261 Int szB; member in struct:__anon32375::__anon32376::__anon32380 290 case Ev_Dr: return ev->Ev.Dr.szB; 291 case Ev_Dw: return ev->Ev.Dw.szB; 292 case Ev_Dm: return ev->Ev.Dm.szB; 338 ev->inode, ev->inode->instr_offset, ev->Ev.Dr.szB); 344 ev->inode, ev->inode->instr_offset, ev->Ev.Dw.szB); 350 ev->inode, ev->inode->instr_offset, ev->Ev.Dm.szB); 631 evt->Ev.Dr.szB [all...] |
/external/valgrind/main/memcheck/tests/ |
H A D | unit_oset.c | 57 static void* allocate_node(const HChar* cc, SizeT szB) argument 58 { return malloc(szB); }
|
/external/valgrind/main/mpi/ |
H A D | libmpiwrap.c | 1811 int err, szB = 0; local 1822 err = PMPI_Pack_size( incount, datatype, comm, &szB ); 1823 if (err == MPI_SUCCESS && szB > 0) { 1825 ((char*)outbuf) + position_ORIG, szB 1860 int err, szB = 0; local 1871 err = PMPI_Pack_size( outcount, datatype, comm, &szB ); 1872 if (err == MPI_SUCCESS && szB > 0) { 1874 ((char*)inbuf) + position_ORIG, szB
|