/external/valgrind/memcheck/tests/ |
H A D | calloc-overflow.c | 13 size_t szB = 0x1000000010000001ULL; local 15 size_t szB = 0x10000001UL; local 17 x = calloc(szB, 0x10);
|
H A D | unit_oset.c | 57 static void* allocate_node(const HChar* cc, SizeT szB) argument 58 { return malloc(szB); }
|
/external/valgrind/tests/ |
H A D | malloc.h | 14 static void* memalign16(size_t szB) argument 19 posix_memalign((void **)&x, 16, szB); 21 x = memalign(16, szB); 30 static void* memalign32(size_t szB) argument 35 posix_memalign((void **)&x, 32, szB); 37 x = memalign(32, szB); 46 static void* memalign64(size_t szB) argument 51 posix_memalign((void **)&x, 64, szB); 53 x = memalign(64, szB);
|
/external/valgrind/include/ |
H A D | pub_tool_debuginfo.h | 175 SizeT szB; /* size in bytes */ member in struct:__anon20427 196 SizeT szB; member in struct:__anon20428
|
/external/valgrind/coregrind/m_aspacemgr/ |
H A D | aspacemgr-common.c | 430 Int szB; local 437 szB = VG_STACK_GUARD_SZB 440 sres = VG_(am_mmap_anon_float_valgrind)( szB ); 446 aspacem_assert(VG_IS_PAGE_ALIGNED(szB)); 483 (ULong)(Addr)stack, szB); 490 (void)ML_(am_do_munmap_NO_NOTIFY)( (Addr)stack, szB );
|
/external/valgrind/coregrind/m_debuginfo/ |
H A D | priv_image.h | 164 struct { DiImage* img; DiOffT ioff; DiOffT szB; } member in struct:__anon19912 171 static inline DiSlice mk_DiSlice ( DiImage* img, DiOffT ioff, DiOffT szB ) { 172 return (DiSlice){img, ioff, szB};
|
H A D | priv_tytypes.h | 105 Int szB; member in struct:__anon19943::__anon19944::__anon19952 109 Int szB; member in struct:__anon19943::__anon19944::__anon19953 118 UWord szB; member in struct:__anon19943::__anon19944::__anon19955 126 Int szB; member in struct:__anon19943::__anon19944::__anon19956
|
/external/valgrind/coregrind/m_initimg/ |
H A D | initimg-solaris.c | 910 SizeT szB = (SizeT)VG_(client_rlimit_stack).rlim_cur; local 911 if (szB < m1) 912 szB = m1; 913 if (szB > m16) 914 szB = m16; 917 szB = VG_(clo_main_stacksize); 918 if (szB < m1) 919 szB = m1; 921 szB = VG_PGROUNDUP(szB); [all...] |
H A D | initimg-linux.c | 959 SizeT szB = (SizeT)VG_(client_rlimit_stack).rlim_cur; local 960 if (szB < m1) szB = m1; 961 if (szB > m16) szB = m16; 962 if (VG_(clo_main_stacksize) > 0) szB = VG_(clo_main_stacksize); 963 if (szB < m1) szB = m1; 964 szB = VG_PGROUNDUP(szB); [all...] |
/external/valgrind/exp-sgcheck/ |
H A D | h_main.c | 95 SizeT szB; /* may be zero */ member in struct:_Seg 110 } else if (a < seg->addr + seg->szB && seg->szB > 0) { 115 *n = a - (seg->addr + seg->szB); 136 return seg->szB; 291 seg->szB = size; 419 if (new_size <= seg->szB) { 436 VG_(memcpy)((void*)p_new, p_old, seg->szB); 458 return ( seg ? seg->szB : 0 );
|
/external/valgrind/memcheck/ |
H A D | mc_malloc_wrappers.c | 78 MC_Chunk* create_MC_Chunk ( ThreadId tid, Addr p, SizeT szB, 102 const int l = (mc->szB >= MC_(clo_freelist_big_blocks) ? 0 : 1); 113 if (mc->szB >= MC_(clo_freelist_vol)) { 122 VG_(free_queue_volume) += (Long)mc->szB; 149 VG_(free_queue_volume) -= (Long)mc1->szB; 178 if (VG_(addr_is_in_block)( a, mc->data, mc->szB, 190 MC_Chunk* create_MC_Chunk ( ThreadId tid, Addr p, SizeT szB, argument 195 mc->szB = szB; 241 if (found_mc->szB ! 339 new_block( ThreadId tid, Addr p, SizeT szB, SizeT alignB, Bool is_zeroed, MC_AllocKind kind, VgHashTable *table) argument 832 mempool_alloc(ThreadId tid, Addr pool, Addr addr, SizeT szB) argument 896 mempool_trim(Addr pool, Addr addr, SizeT szB) argument 1032 mempool_change(Addr pool, Addr addrA, Addr addrB, SizeT szB) argument [all...] |
H A D | mc_errors.c | 95 SizeT szB; // size of value in bytes member in struct:_MC_Error::__anon20588::__anon20589 117 SizeT szB; // not used for exec (jump) errors member in struct:_MC_Error::__anon20588::__anon20592 168 SizeT szB; // Size in bytes; 0 if unused. member in struct:_MC_Error::__anon20588::__anon20599 336 lr->szB + lr->indirect_szB, 340 lr->szB, 359 lr->szB + lr->indirect_szB, d_bytes, 360 lr->szB, d_direct_bytes, 367 lr->szB + lr->indirect_szB ); 374 lr->szB, d_direct_bytes, 378 emit( " <leakedbytes>%lu</leakedbytes>\n", lr->szB); 737 record_address_error( ThreadId tid, Addr a, Int szB, Bool isWrite ) argument 763 record_value_error( ThreadId tid, Int szB, UInt otag ) argument [all...] |
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 ); 433 SizeT szB; // Sum of all MC_Chunk.szB values. member in struct:_LossRecord 475 // the given range [address, address+szB[ is found. 476 void MC_(who_points_at) ( Addr address, SizeT szB); 526 void MC_(record_address_error) ( ThreadId tid, Addr a, Int szB, 529 void MC_(record_value_error) ( ThreadId tid, Int szB, UInt otag ); 537 Addr src, Addr dst, SizeT szB );
|
H A D | mc_leakcheck.c | 272 a_hi = ((Addr)chunks[i]->data) + chunks[i]->szB; 300 a_mid_hi = chunks[mid]->data + chunks[mid]->szB; 307 if (chunks[mid]->szB == 0) 379 if (mc->szB > 1) { 380 m = find_chunk_for(mc->data + (mc->szB - 1), mallocs, n_mallocs); 547 tl_assert(ptr < ch->data + ch->szB + (ch->szB==0 ? 1 : 0)); 566 VG_(printf)("pushing %#lx-%#lx\n", ch->data, ch->data + ch->szB); 779 if (3 * sizeof(SizeT) + capacity + 1 == ch->szB 808 if (size > 0 && (ch->szB 1040 lc_scan_memory(Addr start, SizeT len, Bool is_prior_definite, Int clique, Int cur_clique, Addr searched, SizeT szB) argument 1705 scan_memory_root_set(Addr searched, SizeT szB) argument 1982 who_points_at( Addr address, SizeT szB) argument [all...] |
/external/valgrind/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 %u VG_(is_watched) %s addr %p szB %d\n", 429 tid, VG_(ppPointKind) (kind), C2v(addr), szB); 1447 SizeT* szB, 1460 *szB = 0; 1465 /* Do nothing, i.e. keep current value of szB. */ ; 1467 *szB = VG_(strtoull16) (ws, &endptr); 1472 *szB = 0; 1476 else if ('1' == parsews[j+2]) *szB | 1446 strtok_get_address_and_size(Addr* address, SizeT* szB, HChar **ssaveptr) argument [all...] |
/external/valgrind/coregrind/ |
H A D | m_libcfile.c | 555 SizeT szB = 0; local 557 szB += 500; 558 startup_wd = VG_(realloc)("startup_wd", startup_wd, szB); 559 VG_(memset)(startup_wd, 0, szB); 560 res = VG_(do_syscall2)(__NR_getcwd, (UWord)startup_wd, szB-1); 563 vg_assert(startup_wd[szB-1] == 0);
|
/external/valgrind/helgrind/ |
H A D | hg_errors.c | 309 Int szB; member in struct:__anon20360::__anon20361::__anon20362 433 Int acc_szB = xe->XE.Race.szB; 470 Addr data_addr, Int szB, Bool isWrite, 500 xe.XE.Race.szB = szB; 504 tl_assert(szB == 8 || szB == 4 || szB == 2 || szB == 1); 671 return xe1->XE.Race.szB 469 record_error_Race( Thread* thr, Addr data_addr, Int szB, Bool isWrite, Thread* h1_ct, ExeContext* h1_ct_segstart, ExeContext* h1_ct_mbsegendEC ) argument 1163 Int szB; local [all...] |
/external/valgrind/VEX/priv/ |
H A D | host_amd64_defs.c | 729 AMD64Instr* AMD64Instr_CLoad ( AMD64CondCode cond, UChar szB, argument 734 i->Ain.CLoad.szB = szB; 737 vassert(cond != Acc_ALWAYS && (szB == 4 || szB == 8)); 740 AMD64Instr* AMD64Instr_CStore ( AMD64CondCode cond, UChar szB, argument 745 i->Ain.CStore.szB = szB; 748 vassert(cond != Acc_ALWAYS && (szB == 4 || szB [all...] |
H A D | host_arm64_isel.c | 831 && isValidScale(am->ARM64am.RI12.szB) ); 892 ULong szB = 1 << szBbits; local 893 if (0 == (uimm & (szB-1)) /* "uimm is szB-aligned" */ 896 return ARM64AMode_RI12(reg, (UInt)(uimm >> szBbits), (UChar)szB); 3780 Int szB = 0; local 3784 case Ity_I8: szB = 1; break; 3785 case Ity_I16: szB = 2; break; 3786 case Ity_I32: szB = 4; break; 3787 case Ity_I64: szB 3801 Int szB = 0; local [all...] |
H A D | host_arm_isel.c | 6067 Int szB = 0; local 6071 case Ity_I8: szB = 1; break; 6072 case Ity_I16: szB = 2; break; 6073 case Ity_I32: szB = 4; break; 6077 addInstr(env, ARMInstr_LdrEX(szB)); 6107 Int szB = 0; local 6111 case Ity_I8: szB = 1; break; 6112 case Ity_I16: szB = 2; break; 6113 case Ity_I32: szB = 4; break; 6118 addInstr(env, ARMInstr_StrEX(szB)); [all...] |
H A D | host_amd64_defs.h | 514 UChar szB; /* 4 or 8 only */ member in struct:__anon19098::__anon19099::__anon19116 522 UChar szB; /* 4 or 8 only */ member in struct:__anon19098::__anon19099::__anon19117 586 UChar szB; /* 4 or 8 */ member in struct:__anon19098::__anon19099::__anon19127 741 extern AMD64Instr* AMD64Instr_CLoad ( AMD64CondCode cond, UChar szB, 743 extern AMD64Instr* AMD64Instr_CStore ( AMD64CondCode cond, UChar szB, 756 extern AMD64Instr* AMD64Instr_A87PushPop ( AMD64AMode* addr, Bool isPush, UChar szB );
|
/external/valgrind/cachegrind/ |
H A D | cg_main.c | 524 Int szB; member in struct:__anon19852::__anon19853::__anon19856 528 Int szB; member in struct:__anon19852::__anon19853::__anon19857 532 Int szB; member in struct:__anon19852::__anon19853::__anon19858 559 case Ev_Dr: return ev->Ev.Dr.szB; 560 case Ev_Dw: return ev->Ev.Dw.szB; 561 case Ev_Dm: return ev->Ev.Dm.szB; 643 VG_(printf)("Dr %p %d EA=", ev->inode, ev->Ev.Dr.szB); 648 VG_(printf)("Dw %p %d EA=", ev->inode, ev->Ev.Dw.szB); 653 VG_(printf)("Dm %p %d EA=", ev->inode, ev->Ev.Dm.szB); 909 evt->Ev.Dr.szB [all...] |
/external/valgrind/callgrind/ |
H A D | main.c | 254 Int szB; member in struct:__anon19871::__anon19872::__anon19874 258 Int szB; member in struct:__anon19871::__anon19872::__anon19875 262 Int szB; member in struct:__anon19871::__anon19872::__anon19876 291 case Ev_Dr: return ev->Ev.Dr.szB; 292 case Ev_Dw: return ev->Ev.Dw.szB; 293 case Ev_Dm: return ev->Ev.Dm.szB; 339 ev->inode, ev->inode->instr_offset, ev->Ev.Dr.szB); 345 ev->inode, ev->inode->instr_offset, ev->Ev.Dw.szB); 351 ev->inode, ev->inode->instr_offset, ev->Ev.Dm.szB); 632 evt->Ev.Dr.szB [all...] |
/external/valgrind/exp-dhat/ |
H A D | dh_main.c | 620 static void* dh_malloc ( ThreadId tid, SizeT szB ) 622 return new_block( tid, NULL, szB, VG_(clo_alignment), /*is_zeroed*/False ); 625 static void* dh___builtin_new ( ThreadId tid, SizeT szB ) 627 return new_block( tid, NULL, szB, VG_(clo_alignment), /*is_zeroed*/False ); 630 static void* dh___builtin_vec_new ( ThreadId tid, SizeT szB ) 632 return new_block( tid, NULL, szB, VG_(clo_alignment), /*is_zeroed*/False ); 635 static void* dh_calloc ( ThreadId tid, SizeT m, SizeT szB ) 637 return new_block( tid, NULL, m*szB, VG_(clo_alignment), /*is_zeroed*/True ); 640 static void *dh_memalign ( ThreadId tid, SizeT alignB, SizeT szB ) 642 return new_block( tid, NULL, szB, align 799 addMemEvent(IRSB* sbOut, Bool isWrite, Int szB, IRExpr* addr, Int goff_sp) argument [all...] |
/external/valgrind/mpi/ |
H A D | libmpiwrap.c | 1812 int err, szB = 0; local 1823 err = PMPI_Pack_size( incount, datatype, comm, &szB ); 1824 if (err == MPI_SUCCESS && szB > 0) { 1826 ((char*)outbuf) + position_ORIG, szB 1861 int err, szB = 0; local 1872 err = PMPI_Pack_size( outcount, datatype, comm, &szB ); 1873 if (err == MPI_SUCCESS && szB > 0) { 1875 ((char*)inbuf) + position_ORIG, szB
|