Searched refs:szB (Results 26 - 50 of 63) sorted by relevance

123

/external/valgrind/main/include/
H A Dpub_tool_oset.h85 typedef void* (*OSetAlloc_t) ( const HChar* cc, SizeT 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/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_machine.c104 /* 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 Dmc_main.c1204 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 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/helgrind/
H A Dhg_main.c3974 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 Dlibhb.h153 Thr* thr, Addr a, SizeT szB, Bool isW );
H A Dlibhb_core.c4145 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 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 Dreadelf.c708 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 Dreadpdb.c2465 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 Dm_machine.c1585 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 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);
H A Dfixup_macho_loadcmds.c157 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 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/VEX/priv/
H A Dhost_arm64_defs.c239 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 Dhost_arm_defs.h749 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 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 Dguest_arm64_toIR.c948 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 Dhost_amd64_defs.h568 UChar szB; /* 4 or 8 */ member in struct:__anon31681::__anon31682::__anon31708
724 extern AMD64Instr* AMD64Instr_A87PushPop ( AMD64AMode* addr, Bool isPush, UChar szB );
H A Dhost_arm_defs.c1249 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 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/memcheck/tests/
H A Dunit_oset.c57 static void* allocate_node(const HChar* cc, SizeT szB) argument
58 { return malloc(szB); }
/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

Completed in 612 milliseconds

123