Home | History | Annotate | Download | only in coregrind

Lines Matching defs:n_ips

84    /* Variable-length array.  The size is 'n_ips'; at
87 UInt n_ips;
122 static ExeContext* record_ExeContext_wrk2 ( const Addr* ips, UInt n_ips );
170 VG_(message)(Vg_DebugMsg, " exectx: stacktrace ecu %u n_ips %u\n",
171 ec->ecu, ec->n_ips);
172 VG_(pp_StackTrace)( ec->ips, ec->n_ips );
183 total_n_ips += ec->n_ips;
208 VG_(pp_StackTrace)( ec->ips, ec->n_ips );
222 vg_assert(e1->n_ips >= 1 && e2->n_ips >= 1);
229 if ( (e1->n_ips <= i) && (e2->n_ips <= i)) return True;
230 if ( (e1->n_ips <= i) && !(e2->n_ips <= i)) return False;
231 if (!(e1->n_ips <= i) && (e2->n_ips <= i)) return False;
240 if ( (e1->n_ips <= i) && (e2->n_ips <= i)) return True;
241 if ( (e1->n_ips <= i) && !(e2->n_ips <= i)) return False;
242 if (!(e1->n_ips <= i) && (e2->n_ips <= i)) return False;
277 static UWord calc_hash ( const Addr* ips, UInt n_ips, UWord htab_sz )
282 for (i = 0; i < n_ips; i++) {
315 UWord hash = calc_hash(cur->ips, cur->n_ips, new_size);
336 UInt n_ips;
346 n_ips = 1;
349 n_ips = VG_(get_StackTrace)( tid, ips, VG_(clo_backtrace_size),
355 return record_ExeContext_wrk2 ( ips, n_ips );
358 /* Do the second part of getting a stack trace: ips[0 .. n_ips-1]
362 static ExeContext* record_ExeContext_wrk2 ( const Addr* ips, UInt n_ips )
373 vg_assert(n_ips >= 1 && n_ips <= VG_(clo_backtrace_size));
377 hash = calc_hash( ips, n_ips, ec_htab_size );
390 same = list->n_ips == n_ips;
391 for (i = 0; i < n_ips && same ; i++) {
429 + n_ips * sizeof(Addr),
432 for (i = 0; i < n_ips; i++)
444 new_ec->n_ips = n_ips;
484 vg_assert(e->n_ips >= 1);
485 return e->n_ips;
503 ExeContext* VG_(make_ExeContext_from_StackTrace)( const Addr* ips, UInt n_ips )
506 return record_ExeContext_wrk2(ips, n_ips);