Searched defs:szB (Results 1 - 25 of 41) sorted by relevance

12

/external/valgrind/memcheck/tests/
H A Dcalloc-overflow.c13 size_t szB = 0x1000000010000001ULL; local
15 size_t szB = 0x10000001UL; local
17 x = calloc(szB, 0x10);
H A Dunit_oset.c57 static void* allocate_node(const HChar* cc, SizeT szB) argument
58 { return malloc(szB); }
/external/valgrind/tests/
H A Dmalloc.h14 static void* memalign16(size_t szB) argument
19 x = malloc(szB);
21 x = memalign(16, szB);
/external/valgrind/include/
H A Dpub_tool_debuginfo.h174 SizeT szB; /* size in bytes */ member in struct:__anon16371
195 SizeT szB; member in struct:__anon16372
/external/valgrind/none/tests/arm64/
H A Dmemory.c24 static void* memalign16(size_t szB) argument
27 x = memalign(16, szB);
H A Dfp_and_simd.c96 static void* memalign16(size_t szB) argument
99 x = memalign(16, szB);
/external/valgrind/coregrind/m_aspacemgr/
H A Daspacemgr-common.c377 Int szB; local
384 szB = VG_STACK_GUARD_SZB
387 sres = VG_(am_mmap_anon_float_valgrind)( szB );
393 aspacem_assert(VG_IS_PAGE_ALIGNED(szB));
430 (ULong)(Addr)stack, szB);
437 (void)ML_(am_do_munmap_NO_NOTIFY)( (Addr)stack, szB );
/external/valgrind/coregrind/m_debuginfo/
H A Dpriv_image.h164 struct { DiImage* img; DiOffT ioff; DiOffT szB; } member in struct:__anon15872
171 static inline DiSlice mk_DiSlice ( DiImage* img, DiOffT ioff, DiOffT szB ) {
172 return (DiSlice){img, ioff, szB};
H A Dpriv_tytypes.h105 Int szB; member in struct:__anon15903::__anon15904::__anon15912
109 Int szB; member in struct:__anon15903::__anon15904::__anon15913
118 UWord szB; member in struct:__anon15903::__anon15904::__anon15915
126 Int szB; member in struct:__anon15903::__anon15904::__anon15916
/external/valgrind/coregrind/m_initimg/
H A Dinitimg-linux.c953 SizeT szB = (SizeT)VG_(client_rlimit_stack).rlim_cur; local
954 if (szB < m1) szB = m1;
955 if (szB > m16) szB = m16;
956 if (VG_(clo_main_stacksize) > 0) szB = VG_(clo_main_stacksize);
957 if (szB < m1) szB = m1;
958 szB = VG_PGROUNDUP(szB);
[all...]
/external/valgrind/exp-sgcheck/
H A Dh_main.c95 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 Dmc_include.h68 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 );
330 SizeT szB; // Sum of all MC_Chunk.szB values. member in struct:_LossRecord
366 // the given range [address, address+szB[ is found.
367 void MC_(who_points_at) ( Addr address, SizeT szB);
417 void MC_(record_address_error) ( ThreadId tid, Addr a, Int szB,
420 void MC_(record_value_error) ( ThreadId tid, Int szB, UInt otag );
428 Addr src, Addr dst, SizeT szB );
H A Dmc_malloc_wrappers.c78 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 Dmc_errors.c95 SizeT szB; // size of value in bytes member in struct:_MC_Error::__anon16528::__anon16529
117 SizeT szB; // not used for exec (jump) errors member in struct:_MC_Error::__anon16528::__anon16532
168 SizeT szB; // Size in bytes; 0 if unused. member in struct:_MC_Error::__anon16528::__anon16539
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>%ld</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 Dmc_leakcheck.c272 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);
709 if (3 * sizeof(SizeT) + capacity + 1 == ch->szB
737 if (size > 0 && (ch->szB
971 lc_scan_memory(Addr start, SizeT len, Bool is_prior_definite, Int clique, Int cur_clique, Addr searched, SizeT szB) argument
1611 scan_memory_root_set(Addr searched, SizeT szB) argument
1888 who_points_at( Addr address, SizeT szB) argument
[all...]
/external/valgrind/coregrind/m_gdbserver/
H A Dm_gdbserver.c410 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);
1437 SizeT* szB,
1450 *szB = 0;
1455 /* Do nothing, i.e. keep current value of szB. */ ;
1457 *szB = VG_(strtoull16) (ws, &endptr);
1462 *szB = 0;
1466 else if ('1' == parsews[j+2]) *szB |
1436 strtok_get_address_and_size(Addr* address, SizeT* szB, HChar **ssaveptr) argument
[all...]
/external/valgrind/coregrind/
H A Dm_libcfile.c476 SizeT szB = 0; local
478 szB += 500;
479 startup_wd = VG_(realloc)("startup_wd", startup_wd, szB);
480 VG_(memset)(startup_wd, 0, szB);
481 res = VG_(do_syscall2)(__NR_getcwd, (UWord)startup_wd, szB-1);
484 vg_assert(startup_wd[szB-1] == 0);
/external/valgrind/helgrind/
H A Dhg_errors.c309 Int szB; member in struct:__anon16306::__anon16307::__anon16308
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 Dhost_amd64_defs.c729 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 Dhost_arm64_isel.c831 && 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 Dhost_arm_isel.c6067 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...]
/external/valgrind/cachegrind/
H A Dcg_main.c524 Int szB; member in struct:__anon15813::__anon15814::__anon15817
528 Int szB; member in struct:__anon15813::__anon15814::__anon15818
532 Int szB; member in struct:__anon15813::__anon15814::__anon15819
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 Dmain.c254 Int szB; member in struct:__anon15832::__anon15833::__anon15835
258 Int szB; member in struct:__anon15832::__anon15833::__anon15836
262 Int szB; member in struct:__anon15832::__anon15833::__anon15837
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 Ddh_main.c620 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 Dlibmpiwrap.c1811 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

Completed in 821 milliseconds

12