Searched defs:szB (Results 1 - 25 of 32) 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(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.h139 SizeT szB; /* size in bytes */ member in struct:__anon28485
160 SizeT szB; member in struct:__anon28486
/external/valgrind/main/coregrind/m_aspacemgr/
H A Daspacemgr-common.c355 Int szB; local
362 szB = VG_STACK_GUARD_SZB
365 sres = VG_(am_mmap_anon_float_valgrind)( szB );
371 aspacem_assert(VG_IS_PAGE_ALIGNED(szB));
407 (ULong)(Addr)stack, szB);
414 (void)ML_(am_do_munmap_NO_NOTIFY)( (Addr)stack, szB );
/external/valgrind/main/coregrind/m_debuginfo/
H A Dpriv_tytypes.h101 Int szB; member in struct:__anon28062::__anon28063::__anon28071
105 Int szB; member in struct:__anon28062::__anon28063::__anon28072
114 UWord szB; member in struct:__anon28062::__anon28063::__anon28074
121 Int szB; member in struct:__anon28062::__anon28063::__anon28075
/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
151 Int MC_(get_otrack_shadow_offset) ( Int offset, Int szB );
309 SizeT szB; // Sum of all MC_Chunk.szB values. member in struct:_LossRecord
340 // the given range [address, address+szB[ is found.
341 void MC_(who_points_at) ( Addr address, SizeT szB);
388 void MC_(record_address_error) ( ThreadId tid, Addr a, Int szB,
391 void MC_(record_value_error) ( ThreadId tid, Int szB, UInt otag );
399 Addr src, Addr dst, SizeT szB );
H A Dmc_malloc_wrappers.c78 MC_Chunk* create_MC_Chunk ( ExeContext* ec, 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 ( ExeContext* ec, Addr p, SizeT szB, argument
195 mc->szB = szB;
253 Addr p, SizeT szB, Size
252 new_block( ThreadId tid, Addr p, SizeT szB, SizeT alignB, Bool is_zeroed, MC_AllocKind kind, VgHashTable table) argument
755 mempool_alloc(ThreadId tid, Addr pool, Addr addr, SizeT szB) argument
819 mempool_trim(Addr pool, Addr addr, SizeT szB) argument
955 mempool_change(Addr pool, Addr addrA, Addr addrB, SizeT szB) argument
[all...]
H A Dmc_leakcheck.c270 a_hi = ((Addr)chunks[i]->data) + chunks[i]->szB;
298 a_mid_hi = chunks[mid]->data + chunks[mid]->szB;
305 if (chunks[mid]->szB == 0)
377 if (mc->szB > 1) {
378 m = find_chunk_for(mc->data + (mc->szB - 1), mallocs, n_mallocs);
524 tl_assert(ptr < ch->data + ch->szB + (ch->szB==0 ? 1 : 0));
543 VG_(printf)("pushing %#lx-%#lx\n", ch->data, ch->data + ch->szB);
643 ch_no, clique, (unsigned long)ch->szB,
647 ch_no, clique, (unsigned long)ch->szB);
708 lc_scan_memory(Addr start, SizeT len, Bool is_prior_definite, Int clique, Int cur_clique, Addr searched, SizeT szB) argument
1272 scan_memory_root_set(Addr searched, SizeT szB) argument
1541 who_points_at( Addr address, SizeT szB) argument
[all...]
H A Dmc_errors.c167 SizeT szB; // size of value in bytes member in struct:_MC_Error::__anon28595::__anon28596
189 SizeT szB; // not used for exec (jump) errors member in struct:_MC_Error::__anon28595::__anon28599
240 Int szB; // Size in bytes; 0 if unused. member in struct:_MC_Error::__anon28595::__anon28606
461 lr->szB + lr->indirect_szB,
465 lr->szB,
484 lr->szB + lr->indirect_szB, d_bytes,
485 lr->szB, d_direct_bytes,
492 lr->szB + lr->indirect_szB );
499 lr->szB, d_direct_bytes,
503 emit( " <leakedbytes>%ld</leakedbytes>\n", lr->szB);
841 record_address_error( ThreadId tid, Addr a, Int szB, Bool isWrite ) argument
867 record_value_error( ThreadId tid, Int szB, UInt otag ) argument
[all...]
/external/valgrind/main/coregrind/m_initimg/
H A Dinitimg-linux.c918 SizeT szB = (SizeT)VG_(client_rlimit_stack).rlim_cur; local
919 if (szB < m1) szB = m1;
920 if (szB > m16) szB = m16;
921 if (VG_(clo_main_stacksize) > 0) szB = VG_(clo_main_stacksize);
922 if (szB < m1) szB = m1;
923 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 );
H A Dsg_main.c175 if (fb1->szB < fb2->szB) return -1;
176 if (fb1->szB > fb2->szB) return 1;
188 /* Returns True if all fields except .szB are the same. szBs may or
230 " StackBlock{ off %ld szB %lu spRel:%c isVec:%c \"%s\" }\n",
231 sb->base, sb->szB, sb->spRel ? 'Y' : 'N',
300 /* StackBlock{ off 16 szB 66 spRel:Y isVec:Y "sz" }
301 StackBlock{ off 16 szB 130 spRel:Y isVec:Y "sz" }
302 StackBlock{ off 208 szB 1
474 SizeT szB; /* copied from .descr->szB */ member in struct:__anon28415
628 SizeT szB; /* copied from .descr->szB */ member in struct:__anon28416
824 SizeT szB; member in struct:__anon28418::__anon28419::__anon28422
903 SizeT szB = 0; local
1002 SizeT szB; member in struct:__anon28425
1508 classify_address( Invar* inv, ThreadId tid, Addr ea, Addr sp, Addr fp, UWord szB, XArray* thisInstrBlocks ) argument
1768 UWord szB; local
2117 instrument_mem_access( struct _SGEnv* sge, IRSB* bbOut, IRExpr* addr, Int szB, Bool isStore, Int hWordTy_szB, Addr curr_IP, VexGuestLayout* layout ) argument
[all...]
/external/valgrind/main/coregrind/m_gdbserver/
H A Dm_gdbserver.c393 Bool VG_(is_watched)(PointKind kind, Addr addr, Int szB) argument
406 Addr to = addr + szB; // semi-open interval [addr, to[
411 dlog(1, "tid %d VG_(is_watched) %s addr %p szB %d\n",
412 tid, VG_(ppPointKind) (kind), C2v(addr), szB);
1339 SizeT* szB,
1352 *szB = 0;
1357 /* Do nothing, i.e. keep current value of szB. */ ;
1359 *szB = VG_(strtoull16) (ws, &endptr);
1364 *szB = 0;
1368 else if ('1' == parsews[j+2]) *szB |
1338 strtok_get_address_and_size(Addr* address, SizeT* szB, Char **ssaveptr) argument
[all...]
/external/valgrind/main/coregrind/
H A Dm_libcfile.c408 const Int szB = sizeof(startup_wd); local
410 vg_assert(szB >= 512 && szB <= 16384/*let's say*/); /* stay sane */
411 VG_(memset)(startup_wd, 0, szB);
415 = VG_(do_syscall2)(__NR_getcwd, (UWord)startup_wd, szB-1);
416 vg_assert(startup_wd[szB-1] == 0);
435 if (wd == NULL || (1+VG_(strlen)(wd) >= szB))
437 VG_(strncpy_safely)(startup_wd, wd, szB);
438 vg_assert(startup_wd[szB-1] == 0);
/external/valgrind/main/helgrind/
H A Dhg_errors.c293 Int szB; member in struct:__anon28436::__anon28437::__anon28438
468 Int acc_szB = xe->XE.Race.szB;
505 Addr data_addr, Int szB, Bool isWrite,
533 xe.XE.Race.szB = szB;
537 tl_assert(szB == 8 || szB == 4 || szB == 2 || szB == 1);
701 return xe1->XE.Race.szB
504 record_error_Race( Thread* thr, Addr data_addr, Int szB, Bool isWrite, Thread* h1_ct, ExeContext* h1_ct_segstart, ExeContext* h1_ct_mbsegendEC ) argument
1186 Int szB; local
[all...]
/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);
/external/valgrind/main/VEX/priv/
H A Dhost_arm_isel.c5899 Int szB = 0; local
5903 case Ity_I8: szB = 1; break;
5904 case Ity_I16: szB = 2; break;
5905 case Ity_I32: szB = 4; break;
5909 addInstr(env, ARMInstr_LdrEX(szB));
5939 Int szB = 0; local
5943 case Ity_I8: szB = 1; break;
5944 case Ity_I16: szB = 2; break;
5945 case Ity_I32: szB = 4; break;
5950 addInstr(env, ARMInstr_StrEX(szB));
[all...]
H A Dhost_amd64_defs.h564 UChar szB; /* 4 or 8 */ member in struct:__anon27441::__anon27442::__anon27468
720 extern AMD64Instr* AMD64Instr_A87PushPop ( AMD64AMode* addr, Bool isPush, UChar szB );
H A Dhost_arm_defs.h749 Int szB; /* 1, 2, 4 or 8 */ member in struct:__anon27532::__anon27533::__anon27551
757 Int szB; /* 1, 2, 4 or 8 */ member in struct:__anon27532::__anon27533::__anon27552
975 extern ARMInstr* ARMInstr_LdrEX ( Int szB );
976 extern ARMInstr* ARMInstr_StrEX ( Int szB );
/external/valgrind/main/cachegrind/
H A Dcg_main.c500 Int szB; member in struct:__anon27991::__anon27992::__anon27994
504 Int szB; member in struct:__anon27991::__anon27992::__anon27995
508 Int szB; member in struct:__anon27991::__anon27992::__anon27996
535 case Ev_Dr: return ev->Ev.Dr.szB;
536 case Ev_Dw: return ev->Ev.Dw.szB;
537 case Ev_Dm: return ev->Ev.Dm.szB;
617 VG_(printf)("Dr %p %d EA=", ev->inode, ev->Ev.Dr.szB);
622 VG_(printf)("Dw %p %d EA=", ev->inode, ev->Ev.Dw.szB);
627 VG_(printf)("Dm %p %d EA=", ev->inode, ev->Ev.Dm.szB);
865 evt->Ev.Dr.szB
[all...]
/external/valgrind/main/callgrind/
H A Dmain.c253 Int szB; member in struct:__anon28009::__anon28010::__anon28012
257 Int szB; member in struct:__anon28009::__anon28010::__anon28013
261 Int szB; member in struct:__anon28009::__anon28010::__anon28014
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.c1807 int err, szB = 0; local
1818 err = PMPI_Pack_size( incount, datatype, comm, &szB );
1819 if (err == MPI_SUCCESS && szB > 0) {
1821 ((char*)outbuf) + position_ORIG, szB
1856 int err, szB = 0; local
1867 err = PMPI_Pack_size( outcount, datatype, comm, &szB );
1868 if (err == MPI_SUCCESS && szB > 0) {
1870 ((char*)inbuf) + position_ORIG, szB
/external/valgrind/main/massif/
H A Dms_main.c547 SizeT szB; member in struct:_XPt
570 SizeT szB; // memory size for the node, be it Sig or Insig member in struct:_SXPt
623 xpt->szB = 0;
667 return ( sxpt1->szB < sxpt2->szB ? 1
668 : sxpt1->szB > sxpt2->szB ? -1
707 if (xpt->children[i]->szB >= sig_child_threshold_szB) {
718 sxpt->szB = xpt->szB;
2010 SizeT szB = argv[2]; local
[all...]

Completed in 3169 milliseconds

12