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

12

/external/valgrind/main/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/main/tests/
H A Dmalloc.h14 static void* memalign16(size_t szB) argument
19 x = malloc(szB);
21 x = memalign(16, szB);
/external/valgrind/main/include/
H A Dpub_tool_debuginfo.h141 SizeT szB; /* size in bytes */ member in struct:__anon32881
162 SizeT szB; member in struct:__anon32882
/external/valgrind/main/coregrind/m_aspacemgr/
H A Daspacemgr-common.c371 Int szB; local
378 szB = VG_STACK_GUARD_SZB
381 sres = VG_(am_mmap_anon_float_valgrind)( szB );
387 aspacem_assert(VG_IS_PAGE_ALIGNED(szB));
423 (ULong)(Addr)stack, szB);
430 (void)ML_(am_do_munmap_NO_NOTIFY)( (Addr)stack, szB );
/external/valgrind/main/coregrind/m_debuginfo/
H A Dpriv_image.h164 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 Dpriv_tytypes.h105 Int szB; member in struct:__anon32441::__anon32442::__anon32450
109 Int szB; member in struct:__anon32441::__anon32442::__anon32451
118 UWord szB; member in struct:__anon32441::__anon32442::__anon32453
126 Int szB; member in struct:__anon32441::__anon32442::__anon32454
/external/valgrind/main/none/tests/arm64/
H A Dfp_and_simd.c82 static void* memalign16(size_t szB) argument
85 x = memalign(16, szB);
H A Dinteger.c30 static void* memalign16(size_t szB) argument
33 x = memalign(16, szB);
/external/valgrind/main/coregrind/m_initimg/
H A Dinitimg-linux.c907 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/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/main/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 );
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 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 !
366 new_block( ThreadId tid, Addr p, SizeT szB, SizeT alignB, Bool is_zeroed, MC_AllocKind kind, VgHashTable table) argument
854 mempool_alloc(ThreadId tid, Addr pool, Addr addr, SizeT szB) argument
918 mempool_trim(Addr pool, Addr addr, SizeT szB) argument
1054 mempool_change(Addr pool, Addr addrA, Addr addrB, SizeT szB) argument
[all...]
H A Dmc_errors.c93 SizeT szB; // size of value in bytes member in struct:_MC_Error::__anon33008::__anon33009
115 SizeT szB; // not used for exec (jump) errors member in struct:_MC_Error::__anon33008::__anon33012
166 SizeT szB; // Size in bytes; 0 if unused. member in struct:_MC_Error::__anon33008::__anon33019
306 lr->szB + lr->indirect_szB,
310 lr->szB,
329 lr->szB + lr->indirect_szB, d_bytes,
330 lr->szB, d_direct_bytes,
337 lr->szB + lr->indirect_szB );
344 lr->szB, d_direct_bytes,
348 emit( " <leakedbytes>%ld</leakedbytes>\n", lr->szB);
686 record_address_error( ThreadId tid, Addr a, Int szB, Bool isWrite ) argument
712 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);
698 if (3 * sizeof(SizeT) + capacity + 1 == ch->szB
734 if (nr_elts > 0 && (ch->szB
943 lc_scan_memory(Addr start, SizeT len, Bool is_prior_definite, Int clique, Int cur_clique, Addr searched, SizeT szB) argument
1581 scan_memory_root_set(Addr searched, SizeT szB) argument
1856 who_points_at( Addr address, SizeT szB) argument
[all...]
/external/valgrind/main/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);
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/coregrind/
H A Dm_libcfile.c442 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);
/external/valgrind/main/helgrind/
H A Dhg_errors.c295 Int szB; member in struct:__anon32822::__anon32823::__anon32824
419 Int acc_szB = xe->XE.Race.szB;
456 Addr data_addr, Int szB, Bool isWrite,
484 xe.XE.Race.szB = szB;
488 tl_assert(szB == 8 || szB == 4 || szB == 2 || szB == 1);
651 return xe1->XE.Race.szB
455 record_error_Race( Thread* thr, Addr data_addr, Int szB, Bool isWrite, Thread* h1_ct, ExeContext* h1_ct_segstart, ExeContext* h1_ct_mbsegendEC ) argument
1135 Int szB; local
[all...]
/external/valgrind/main/VEX/priv/
H A Dhost_arm64_isel.c862 && 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 Dhost_arm_isel.c6051 Int szB = 0; local
6055 case Ity_I8: szB = 1; break;
6056 case Ity_I16: szB = 2; break;
6057 case Ity_I32: szB = 4; break;
6061 addInstr(env, ARMInstr_LdrEX(szB));
6091 Int szB = 0; local
6095 case Ity_I8: szB = 1; break;
6096 case Ity_I16: szB = 2; break;
6097 case Ity_I32: szB = 4; break;
6102 addInstr(env, ARMInstr_StrEX(szB));
[all...]
/external/valgrind/main/cachegrind/
H A Dcg_main.c532 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/callgrind/
H A Dmain.c253 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/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
800 addMemEvent(IRSB* sbOut, Bool isWrite, Int szB, IRExpr* addr, Int goff_sp) argument
[all...]
/external/valgrind/main/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
/external/valgrind/main/none/tests/amd64/
H A Dsse4-64.c28 static void* memalign16(size_t szB) argument
33 x = malloc(szB);
35 x = memalign(16, szB);

Completed in 6252 milliseconds

12