Lines Matching refs:fsm
182 di->fsm.filename = ML_(dinfo_strdup)("di.debuginfo.aDI.2", filename);
183 di->fsm.maps = VG_(newXA)(
212 if (di->fsm.maps) VG_(deleteXA)(di->fsm.maps);
213 if (di->fsm.filename) ML_(dinfo_free)(di->fsm.filename);
317 curr->fsm.filename ? curr->fsm.filename
400 for (i = 0; i < VG_(sizeXA)(di1->fsm.maps); i++) {
401 struct _DebugInfoMapping* map1 = VG_(indexXA)(di1->fsm.maps, i);
402 for (j = 0; j < VG_(sizeXA)(di2->fsm.maps); j++) {
403 struct _DebugInfoMapping* map2 = VG_(indexXA)(di2->fsm.maps, j);
465 vg_assert(di->fsm.filename);
466 if (0==VG_(strcmp)(di->fsm.filename, filename))
493 vg_assert(di->fsm.have_rx_map);
494 vg_assert(di->fsm.have_rw_map);
495 for (i = 0; i < VG_(sizeXA)(di->fsm.maps); i++) {
496 struct _DebugInfoMapping* map = VG_(indexXA)(di->fsm.maps, i);
514 for (j = 0; j < VG_(sizeXA)(di2->fsm.maps); j++) {
515 struct _DebugInfoMapping* map2 = VG_(indexXA)(di2->fsm.maps, j);
602 update the FSM and determine when an accept state has been reached.
615 vg_assert(di->fsm.filename);
619 TRACE_SYMTAB("------ name = %s\n", di->fsm.filename);
667 TRACE_SYMTAB("------ name = %s\n", di->fsm.filename);
760 fake_di.fsm.filename = filename;
864 fake_di.fsm.filename = filename;
883 fake_di.fsm.filename = filename;
915 VG_(addToXA)(di->fsm.maps, &map);
918 di->fsm.have_rx_map |= is_rx_map;
919 di->fsm.have_rw_map |= is_rw_map;
920 di->fsm.have_ro_map |= is_ro_map;
923 if (di->fsm.have_rx_map && di->fsm.have_rw_map && !di->have_dinfo) {
984 /* Find a DebugInfo containing a FSM that has [a, +len) previously
992 vg_assert(di->fsm.filename);
995 if (!di->fsm.have_ro_map)
997 if (di->fsm.have_rx_map)
999 if (!di->fsm.have_rw_map)
1002 for (i = 0; i < VG_(sizeXA)(di->fsm.maps); i++) {
1003 map = (struct _DebugInfoMapping*)VG_(indexXA)(di->fsm.maps, i);
1018 vg_assert(di->fsm.have_ro_map);
1021 di->fsm.have_rx_map = True;
1022 di->fsm.have_ro_map = False;
1024 for (i = 0; i < VG_(sizeXA)(di->fsm.maps); i++) {
1025 map = (struct _DebugInfoMapping*)VG_(indexXA)(di->fsm.maps, i);
1027 di->fsm.have_ro_map = True;
1033 if (di->fsm.have_rx_map && di->fsm.have_rw_map && !di->have_dinfo) {
1249 vg_assert(di && !di->fsm.have_rx_map && !di->fsm.have_rw_map);
1307 for (i = 0; i < VG_(sizeXA)(di->fsm.maps); i++) {
1308 struct _DebugInfoMapping* map = VG_(indexXA)(di->fsm.maps, i);
1346 inRange = di->fsm.have_rx_map
1655 VG_(strncpy_safely)(buf, di->fsm.filename, nbuf);
3848 return di->fsm.filename;
3920 a, di, di->fsm.filename,
3990 if (di && di->fsm.filename) {
3992 Int fnlen = VG_(strlen)(di->fsm.filename);
4000 name[j] = di->fsm.filename[i];
4001 if (di->fsm.filename[i] == 0) break;