def METHOD_NAME(self, a_name, va_ptr, num):
    inum = int(num)
    for i in range(0, inum):
        value = va_ptr[i].dereference()
        bv = value['bv']['bv_val']
        if bv == 0:
            print("%s: X 0" % a_name)
        else:
            print("%s: %s" % (a_name, bv.string()))