name string | code string | asm string | file string |
|---|---|---|---|
QtMWidgets::NavigationButtonPrivate::init() | void
NavigationButtonPrivate::init()
{
q->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed );
q->setAutoFillBackground( true );
q->setBackgroundRole( QPalette::Base );
baseColor = q->palette().color( QPalette::Highlight );
color = baseColor;
textColor = baseColor;
} | pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
movl $0x70000, %esi # imm = 0x70000
callq 0x5c1d0
movq (%rbx), %rdi
pushq $0x1
popq %rsi
callq 0x5d130
movq (%rbx), %rdi
pushq $0x9
popq %rsi
callq 0x5d330
movq (%rbx), %rdi
callq 0x5cec0
pushq $0xc
popq %rsi
movq %rax, %rdi
callq 0x5f828
movq (%rax), %rcx
movq 0x6(... | /igormironchik[P]qtmwidgets/src/navigationbutton.cpp |
QtMWidgets::DateTimePickerPrivate::setRange(QDateTime const&, QDateTime const&) | void
DateTimePickerPrivate::setRange( const QDateTime & min, const QDateTime & max )
{
if( minimum != min || maximum != max )
{
minimum = min;
maximum = max;
if( value < minimum )
value = minimum;
else if( value > maximum )
value = maximum;
fillValues();
q->updateGeometry();
q->... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x48(%rdi), %r14
movq %r14, %rdi
callq 0x6be43
testb %al, %al
jne 0x6958d
leaq 0x50(%rbx), %rdi
movq %r15, %rsi
callq 0x6be43
testb %al, %al
je 0x695ff
movq %r14, %rdi
movq %r12, %rsi
callq 0x5c370
leaq 0x50(%rbx... | /igormironchik[P]qtmwidgets/src/datetimepicker.cpp |
QtMWidgets::DateTimePickerPrivate::normalizeOffset(int) | void
DateTimePickerPrivate::normalizeOffset( int section )
{
const int sectionValuesSize = sections.at( section ).values.size();
const int totalItemHeight = itemHeight + itemTopMargin;
while( qAbs( sections.at( section ).offset ) > totalItemHeight / 2 )
{
if( sections.at( section ).offset > 0 )
{
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r15
leaq 0x8(%rdi), %rbx
movslq %esi, %r14
movq 0x10(%rdi), %rcx
imulq $0x30, %r14, %r13
movl 0x68(%rdi), %eax
addl 0x64(%rdi), %eax
movl 0x20(%rcx,%r13), %r12d
pushq $0x2
popq %rsi
movl %eax, 0xc(%rsp)
cltd
idivl %esi
movl %... | /igormironchik[P]qtmwidgets/src/datetimepicker.cpp |
QtMWidgets::ScrollerPrivate::ScrollerPrivate(QtMWidgets::Scroller*, QObject*) | ScrollerPrivate( Scroller * parent, QObject * t )
: q( parent )
, target( t )
, minVelocity( 0 )
, maxVelocity( 0 )
, startDragDistance( 0 )
, scrollingCurve( QEasingCurve::OutCirc )
, scrollTime( 3000 )
, xVelocity( 0.0 )
, yVelocity( 0.0 )
, mousePressed( false )
, maxPause( 300 )
... | pushq %rbx
movq %rdi, %rbx
movq %rsi, (%rdi)
movq %rdx, 0x8(%rdi)
andq $0x0, 0x10(%rdi)
andl $0x0, 0x18(%rdi)
addq $0x20, %rdi
pushq $0x1a
popq %rsi
callq 0x5dbb0
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x28(%rbx)
movq %rax, 0x30(%rbx)
andl $0x0, 0x38(%rbx)
andl $0x0, 0x3c(%rbx)
movl $0... | /igormironchik[P]qtmwidgets/src/scroller.cpp |
QtMWidgets::FingerGeometry::width() | int
FingerGeometry::width()
{
#ifdef Q_OS_ANDROID
static const int w =
qRound( qgetenv( "QT_ANDROID_THEME_DISPLAY_DPI" ).toDouble() *
fingerSize );
return w;
#else
static const int w =
qRound(
(qreal) qMax( QApplication::primaryScreen()->logicalDotsPerInchX(),
QApplication::primaryS... | pushq %rbx
subq $0x10, %rsp
movb 0x415bd(%rip), %al # 0xae6f8
testb %al, %al
je 0x6d14b
movl 0x415ab(%rip), %eax # 0xae6f0
addq $0x10, %rsp
popq %rbx
retq
leaq 0x415a6(%rip), %rdi # 0xae6f8
callq 0x5d290
testl %eax, %eax
je 0x6d13f
callq 0x5d250
movq %rax, %rdi
callq 0x5cd00
movsd %xmm0, 0x8(%rsp)
callq 0x... | /igormironchik[P]qtmwidgets/src/fingergeometry.cpp |
QtMWidgets::TextLabel::paintEvent(QPaintEvent*) | void
TextLabel::paintEvent( QPaintEvent * e )
{
QFrame::paintEvent( e );
QPainter p( this );
const QRect cr = contentsRect();
p.setClipRect( cr );
p.setPen( d->color );
int vAlign = d->staticText.textOption().alignment() & Qt::AlignVertical_Mask;
QPoint topLeft = cr.topLeft();
switch( vAlign... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
callq 0x5c980
leaq 0x10(%rbx), %rsi
movq %rsp, %rdi
callq 0x5da00
movq %rbx, %rdi
callq 0x5c970
leaq 0x20(%rsp), %rsi
movq %rax, (%rsi)
movq %rdx, 0x8(%rsi)
movq %rsp, %rdi
pushq $0x1
popq %rdx
callq 0x5dcd0
movq 0x28(%rbx), %rsi
ad... | /igormironchik[P]qtmwidgets/src/textlabel.cpp |
QtMWidgets::TableViewCellLayout::setGeometry(QRect const&) | void
TableViewCellLayout::setGeometry( const QRect & rect )
{
QLayout::setGeometry( rect );
const QMargins m = contentsMargins();
const QRect r = rect.adjusted( m.left(), m.top(), -m.right(), -m.bottom() );
int imageOffset = 0;
const QSize accessorySizeHint = accessoryWidget->sizeHint();
if( image... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x5db20
movq %rbx, %rdi
callq 0x5da80
movq %rdx, %r8
movq %rax, %rdx
shrq $0x20, %rdx
movl %r8d, %ecx
negl %ecx
shrq $0x20, %r8
negl %r8d
movq %r14, %rdi
movl %eax, %esi
callq 0x6fc3c
movq %rax, %r15... | /igormironchik[P]qtmwidgets/src/tableview.cpp |
non-virtual thunk to QtMWidgets::TableViewCellLayout::heightForWidth(int) const | int
TableViewCellLayout::heightForWidth( int w ) const
{
const QSize imageSize = imageLabel->sizeHint();
const QSize accessorySize = accessoryWidget->sizeHint();
const QMargins m = contentsMargins();
const int textWidth = qMax( 10,
w - imageSize.width() - accessorySize.width() );
int height = textLab... | addq $-0x10, %rdi
jmp 0x6e976
nop
| /igormironchik[P]qtmwidgets/src/tableview.cpp |
QtMWidgets::TableViewCellLayout::minimumSize() const | QSize
TableViewCellLayout::minimumSize() const
{
const QSize imageSize = imageLabel->minimumSizeHint();
int width = imageSize.width();
int height = imageSize.height();
const QSize textSize = textLabel->minimumSizeHint();
const QSize detailedTextSize = detailedTextLabel->minimumSizeHint();
width += q... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r15
movq 0x20(%rdi), %rdi
movq (%rdi), %rax
callq *0x78(%rax)
movq %rax, (%rsp)
movq %rax, %r13
shrq $0x20, %r13
movq 0x28(%r15), %rdi
movq (%rdi), %rax
callq *0x78(%rax)
movq %rax, %r12
movq %rax, %rbp
shrq $0x20, %rbp
movq 0x30(%... | /igormironchik[P]qtmwidgets/src/tableview.cpp |
QtMWidgets::MessageBoxPrivate::adjustSize() | void
MessageBoxPrivate::adjustSize()
{
QSize ws = QApplication::primaryScreen()->availableSize();
QSize s = q->size();
QRect wr = QApplication::primaryScreen()->availableGeometry();
if( window )
{
ws = window->size();
wr = window->rect();
}
{
int width = 0;
foreach( QAbstractButton * b... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
callq 0x5d250
movq %rax, %rdi
callq 0x5d420
movq %rax, %r12
movq (%rbx), %rdi
callq 0x6860a
movq %rax, %rbp
movq %rax, (%rsp)
callq 0x5d250
movq %rax, %rdi
callq 0x5c870
movq 0x88(%rbx), %rdi
movq %rbp, %r13
shrq $0x20, %... | /igormironchik[P]qtmwidgets/src/messagebox.cpp |
QtMWidgets::MessageBox::MessageBox(QString const&, QString const&, QWidget*) | MessageBox::MessageBox( const QString & title,
const QString & text, QWidget * parent )
: QDialog( parent, Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint )
, d( new MessageBoxPrivate( title, text, this, parent ) )
{
setAttribute( Qt::WA_MacAlwaysShowToolWindow, true );
connect( d->okButton, &MsgBoxButt... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq %rcx, %rsi
movl $0x40800, %edx # imm = 0x40800
callq 0x5cfb0
leaq 0x357fd(%rip), %rax # 0xa76d8
leaq 0x10(%rax), %rcx
movq %rcx, (%rbx)
addq $0x1e8, %rax #... | /igormironchik[P]qtmwidgets/src/messagebox.cpp |
QtMWidgets::MessageBox::_q_clicked() | void
MessageBox::_q_clicked()
{
d->clickedButton = qobject_cast< QAbstractButton* > ( sender() );
ButtonRole role = d->buttonsMap[ d->clickedButton ];
switch( role )
{
case AcceptRole :
accept();
break;
case RejectRole :
reject();
break;
default :
break;
}
emit butto... | pushq %rbx
movq %rdi, %rbx
callq 0x5cf40
movq %rax, %rdi
callq 0x727c2
movq 0x28(%rbx), %rdi
leaq 0x60(%rdi), %rsi
movq %rax, 0x60(%rdi)
addq $0x8, %rdi
callq 0x726ca
movl (%rax), %eax
testl %eax, %eax
je 0x71fea
cmpl $0x1, %eax
jne 0x71ff8
movl $0x1c0, %eax # imm = 0x1C0
jmp 0x71fef
movl $0x1b8, %eax ... | /igormironchik[P]qtmwidgets/src/messagebox.cpp |
QtMWidgets::MessageBox::addButton(QAbstractButton*, QtMWidgets::MessageBox::ButtonRole) | void
MessageBox::addButton( QAbstractButton * button, ButtonRole role )
{
if( !d->buttonsMap.contains( button ) )
{
QFrame * line = new QFrame( d->frame );
line->setFrameStyle( QFrame::VLine | QFrame::Sunken );
d->buttonSeparators.append( line );
d->buttonsMap.insert( button, role );
d->buttons.a... | pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
leaq 0x20(%rsp), %rax
movq %rsi, (%rax)
movl %edx, 0x1c(%rsp)
movq 0x28(%rdi), %rdi
addq $0x8, %rdi
movq %rax, %rsi
callq 0x72690
testb %al, %al
jne 0x72187
pushq $0x28
popq %rdi
callq 0x5d090
movq %rax, %r14
movq 0x28(%rbx), %rax
movq 0x10(%rax), %rsi
m... | /igormironchik[P]qtmwidgets/src/messagebox.cpp |
QtMWidgets::darkerColor(QColor const&, int) | QColor
darkerColor( const QColor & c, int b )
{
if( b <= 0 )
return c;
int h = 0;
int s = 0;
int v = 0;
int a = 0;
QColor hsv = c.toHsv();
hsv.getHsv( &h, &s, &v, &a );
v -= b;
if( v < 0 )
v = 0;
hsv.setHsv( h, s, v, a );
return hsv.convertTo( c.spec() );
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
testl %esi, %esi
jle 0x744ff
movl %esi, %ebp
leaq 0x8(%rsp), %rax
andl $0x0, (%rax)
leaq 0x14(%rsp), %r12
andl $0x0, (%r12)
leaq 0x10(%rsp), %r14
andl $0x0, (%r14)
leaq 0xc(%rsp), %r13
andl $0x0, (%r13)
movq %rbx, %rdi
ca... | /igormironchik[P]qtmwidgets/src/color.cpp |
QtMWidgets::NavigationBar::setMainWidget(QString const&, QWidget*) | int
NavigationBar::setMainWidget( const QString & title,
QWidget * widget )
{
const int index = d->stack->addWidget( widget );
d->rootItems.append(
QSharedPointer< NavigationItem > ( new NavigationItem ) );
d->itemsMap[ widget ] = d->rootItems.back();
d->rootItems.back()->title = title;
d->rootItem... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, 0x8(%rsp)
movq 0x28(%rdi), %rax
movq 0x8(%rax), %rdi
movq %rdx, %rsi
callq 0x5ce20
movl %eax, %ebp
movq 0x28(%r14), %r15
addq $0x10, %r15
pushq $0x40
popq %rdi
callq 0x5d090
xorps %xmm0, %xmm0
movups %xmm0... | /igormironchik[P]qtmwidgets/src/navigationbar.cpp |
QtMWidgets::NavigationBar::addWidget(QWidget*, QString const&, QWidget*) | int
NavigationBar::addWidget( QWidget * parent, const QString & title,
QWidget * widget )
{
int index = -1;
if( d->itemsMap.contains( parent ) )
{
index = d->stack->addWidget( widget );
QSharedPointer< NavigationItem > pp = d->itemsMap[ parent ];
QSharedPointer< NavigationItem > item( new Navig... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %rbx
movq %rdx, %r12
movq %rdi, %r15
leaq 0x20(%rsp), %rax
movq %rsi, (%rax)
movq %rcx, 0x8(%rsp)
movq 0x28(%rdi), %rdi
addq $0x28, %rdi
movq %rax, %rsi
callq 0x764aa
testb %al, %al
je 0x75f48
movq 0x28(%r15), %rax
movq 0x8(%r... | /igormironchik[P]qtmwidgets/src/navigationbar.cpp |
QtMWidgets::ToolButton::mouseReleaseEvent(QMouseEvent*) | void
ToolButton::mouseReleaseEvent( QMouseEvent * e )
{
if( e->button() == Qt::LeftButton )
{
if( d->leftButtonPressed )
{
d->leftButtonPressed = false;
d->action->trigger();
}
e->accept();
}
else
e->ignore();
} | pushq %rbp
pushq %rbx
pushq %rax
movq %rsi, %rbx
cmpl $0x1, 0x40(%rsi)
jne 0x79ecc
movq 0x28(%rdi), %rax
movb $0x1, %bpl
cmpb $0x1, 0x18(%rax)
jne 0x79ece
movb $0x0, 0x18(%rax)
movq 0x8(%rax), %rdi
callq 0x7b224
jmp 0x79ece
xorl %ebp, %ebp
movb %bpl, 0xc(%rbx)
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
| /igormironchik[P]qtmwidgets/src/toolbar.cpp |
QtMWidgets::ToolBarLayout::spaceNeeded() const | int
ToolBarLayout::spaceNeeded() const
{
QSize size( 0, 0 );
foreach( QLayoutItem * item, buttons )
{
size += item->sizeHint();
size += QSize( spacing(), spacing() );
}
if( orient == Qt::Horizontal )
return size.width();
else
return size.height();
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
leaq 0x30(%rdi), %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0x7b370
xorl %r12d, %r12d
movq 0x18(%r14), %rax
xorl %ebp, %ebp
cmpq 0x20(%rsp), %rax
je 0x79fe8
movq (%rax), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq %rax, %r14
movq ... | /igormironchik[P]qtmwidgets/src/toolbar.cpp |
QtMWidgets::ToolBarLayout::indexOf(QAction*) const | int
ToolBarLayout::indexOf( QAction * action ) const
{
for( int i = 0; i < buttons.count(); ++i )
{
ToolButton * b = qobject_cast< ToolButton* >
( buttons.at( i )->widget() );
if( b && b->action() == action )
return i + 1;
}
return -1;
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
xorl %r12d, %r12d
pushq $-0x1
popq %rbx
cmpq %r12, 0x40(%r15)
jle 0x7a068
movq 0x38(%r15), %rax
movq (%rax,%r12,8), %rdi
movq (%rdi), %rax
callq *0x68(%rax)
movq %rax, %rdi
callq 0x7b22b
testq %rax, %rax
je 0x7a060
movq 0x28(%rax), %... | /igormironchik[P]qtmwidgets/src/toolbar.cpp |
QtMWidgets::ToolBarLayout::setIconSize(QSize const&) | void
ToolBarLayout::setIconSize( const QSize & s )
{
foreach( QLayoutItem * item, buttons )
{
ToolButton * b = qobject_cast< ToolButton* >
( item->widget() );
if( b )
b->setIconSize( s );
}
update();
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rdi), %rsi
movq %rsp, %r15
movq %r15, %rdi
callq 0x7b370
movq 0x18(%r15), %rax
cmpq 0x20(%rsp), %rax
je 0x7a1d2
movq (%rax), %rdi
movq (%rdi), %rax
callq *0x68(%rax)
movq %rax, %rdi
callq 0x7b22b
testq %rax, %rax
je 0x7a1c2
mov... | /igormironchik[P]qtmwidgets/src/toolbar.cpp |
QtMWidgets::ToolBarLayout::setGeometry(QRect const&) | void
ToolBarLayout::setGeometry( const QRect & rect )
{
QLayout::setGeometry( rect );
const QMargins m = contentsMargins();
const QRect r = rect.adjusted( m.left(), m.top(), -m.right(), -m.bottom() );
int x = r.x();
int y = r.y();
if( !buttons.isEmpty() && left && right )
{
if( offset < 0 )
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rsi, %rbx
movq %rdi, %r15
callq 0x5db20
movq %r15, %rdi
callq 0x5da80
movq %rdx, %r8
movq %rax, %rdx
shrq $0x20, %rdx
movl %r8d, %ecx
negl %ecx
shrq $0x20, %r8
negl %r8d
movq %rbx, %rdi
movl %eax, %esi
callq 0x6fc3c
cmpq $0x0, 0x40... | /igormironchik[P]qtmwidgets/src/toolbar.cpp |
QtMWidgets::ToolBarLayout::takeAt(int) | QLayoutItem *
ToolBarLayout::takeAt( int index )
{
if( index >= 0 && index < buttons.size() + 2 )
{
if( index == 0 )
{
QLayoutItem * item = left;
left = 0;
return item;
}
else if( index == buttons.size() + 1 )
{
QLayoutItem * item = right;
right = 0;
return item;
}
els... | testl %esi, %esi
js 0x7a881
movl %esi, %eax
movq 0x40(%rdi), %rcx
leaq 0x2(%rcx), %rdx
cmpq %rax, %rdx
jle 0x7a881
testl %esi, %esi
je 0x7a884
incq %rcx
cmpq %rax, %rcx
jne 0x7a88e
movq 0x28(%rdi), %rax
andq $0x0, 0x28(%rdi)
retq
xorl %eax, %eax
retq
movq 0x20(%rdi), %rax
andq $0x0, 0x20(%rdi)
retq
addq $0x30, %rdi
dec... | /igormironchik[P]qtmwidgets/src/toolbar.cpp |
non-virtual thunk to QtMWidgets::ToolBarLayout::minimumSize() const | QSize
ToolBarLayout::minimumSize() const
{
int width = 0;
int height = 0;
const QSize arrowSize = left->sizeHint();
QSize buttonSize;
if( !buttons.isEmpty() )
buttonSize = buttons.at( 0 )->sizeHint();
else
buttonSize = QSize( FingerGeometry::width(),
FingerGeometry::height() );
const Q... | addq $-0x10, %rdi
jmp 0x7a8a2
nop
| /igormironchik[P]qtmwidgets/src/toolbar.cpp |
QtMWidgets::ToolBar::_q_rightArrowClicked() | void
ToolBar::_q_rightArrowClicked()
{
int delta = 0;
if( d->layout->orientation() == Qt::Horizontal )
delta = d->iconSize.width() + d->layout->spacing();
else
delta = d->iconSize.height() + d->layout->spacing();
d->layout->setOffset( delta );
update();
} | pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x28(%rdi), %rax
movq 0x10(%rax), %rdi
xorl %ecx, %ecx
cmpl $0x1, 0x48(%rdi)
setne %cl
movq (%rdi), %rdx
movl 0x8(%rax,%rcx,4), %ebp
callq *0x60(%rdx)
addl %eax, %ebp
movq 0x28(%rbx), %rax
movq 0x10(%rax), %rdi
movl %ebp, %esi
callq 0x7a170
movq %rbx, %rdi
addq $0x8... | /igormironchik[P]qtmwidgets/src/toolbar.cpp |
QtMWidgets::SwitchPrivate::drawText(QPainter*, QStyleOption const&, QColor const&, QColor const&) | void
SwitchPrivate::drawText( QPainter * p, const QStyleOption & opt,
const QColor & on, const QColor & off )
{
const QRect r( radius, 0, opt.rect.width() - radius * 2, radius * 2 );
switch( state )
{
case Switch::NotAcceptedCheck :
case Switch::AcceptedCheck :
{
if( !onText.isEmpty() )
{
... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl 0x50(%rdi), %eax
leal (%rax,%rax), %esi
movl 0x18(%rdx), %edi
addl %eax, %edi
addl 0x10(%rdx), %esi
subl %esi, %edi
movl %eax, (%rsp)
andl $0x0, 0x4(%rsp)
movl %edi, 0x8(%rsp)
leal -0x1(,%rax,2), %eax
movl %eax, 0xc(%rsp)
movl 0x8(%r... | /igormironchik[P]qtmwidgets/src/switch.cpp |
QtMWidgets::PickerPrivate::drawItem(QPainter*, QStyleOption const&, int, QModelIndex const&) | void
PickerPrivate::drawItem( QPainter * p, const QStyleOption & opt, int offset,
const QModelIndex & index )
{
if( index.flags() & Qt::ItemIsEnabled )
{
if( index != currentIndex )
p->setPen( opt.palette.color( QPalette::WindowText ) );
else
p->setPen( highlightColor );
}
else
p->setPen( l... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r8, %r13
movq %rcx, 0x10(%rsp)
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r15
movq %r8, %rdi
callq 0x7f0a8
testb $0x20, %al
movq %rbx, 0x8(%rsp)
jne 0x7d27e
leaq 0x28(%r12), %rdi
xorl %esi, %esi
callq 0x5f828
pushq $0x4b
popq %rsi... | /igormironchik[P]qtmwidgets/src/picker.cpp |
QtMWidgets::Picker::_q_rowsInserted(QModelIndex const&, int, int) | void
Picker::_q_rowsInserted( const QModelIndex & parent, int start, int end )
{
if( d->inserting || parent != d->root )
return;
// set current index if picker was previously empty
if( start == 0 && ( end - start + 1 ) == count() &&
!d->currentIndex.isValid() )
{
d->topItemIndex = d->model->index( ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r15
movq 0x28(%rdi), %rsi
cmpb $0x0, 0x38(%rsi)
jne 0x7df33
movl %ecx, %r14d
movl %edx, %ebp
movq %rdi, %rbx
addq $0x20, %rsi
movq %rsp, %r12
movq %r12, %rdi
callq 0x5d410
movq %r15, %rdi
movq %r12, %rsi
callq 0x7f09e
testb %al, %al
jne... | /igormironchik[P]qtmwidgets/src/picker.cpp |
QtMWidgets::Picker::insertItem(int, QString const&, QVariant const&) | void
Picker::insertItem( int index, const QString & text, const QVariant & userData )
{
int itemCount = count();
index = qBound( 0, index, itemCount );
if( index >= d->maxCount )
return;
// For the common case where we are using the built in QStandardItemModel
// construct a QStandardItem, reducing... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rcx, %r13
movq %rdx, %r12
movl %esi, %r15d
movq %rdi, %r14
callq 0x7d184
movl %eax, %ebx
cmpl %r15d, %eax
cmovll %eax, %r15d
xorl %ebp, %ebp
testl %r15d, %r15d
cmovgl %r15d, %ebp
movq 0x28(%r14), %rax
cmpl 0x3c(%rax), %ebp
jge 0x7e... | /igormironchik[P]qtmwidgets/src/picker.cpp |
QtMWidgets::Picker::mouseMoveEvent(QMouseEvent*) | void
Picker::mouseMoveEvent( QMouseEvent * event )
{
if( d->leftMouseButtonPressed )
{
d->mouseWasMoved = true;
const int delta = event->pos().y() - d->mousePos.y();
d->mouseMoveDelta += qAbs( delta );
d->drawItemOffset += delta;
d->mousePos = event->pos();
update();
event->accept();
}
... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x28(%rdi), %rax
cmpb $0x1, 0x64(%rax)
jne 0x7f04e
movq %rdi, %r14
movb $0x1, 0x65(%rax)
movq %rbx, %rdi
callq 0x5f868
shrq $0x20, %rax
movq 0x28(%r14), %rcx
subl 0x60(%rcx), %eax
movl %eax, %edx
negl %edx
cmovsl %eax, %edx
addl %edx, 0x68(%rcx)
addl %eax, 0x30(%rcx... | /igormironchik[P]qtmwidgets/src/picker.cpp |
QtMWidgets::PickerPrivate::PickerPrivate(QtMWidgets::Picker*) | PickerPrivate( Picker * parent )
: q( parent )
, model( 0 )
, modelColumn( 0 )
, drawItemOffset( 0 )
, indexBeforeChange( -1 )
, inserting( false )
, maxCount( INT_MAX )
, minStringLength( 6 )
, maxStringWidth( 25 )
, stringLength( minStringLength )
, itemsCount( 5 )
, itemTopMargin(... | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
movq %rsi, (%rdi)
andq $0x0, 0x8(%rdi)
andl $0x0, 0x10(%rdi)
leaq 0x18(%rdi), %rbx
movq %rbx, %rdi
callq 0x5cce0
leaq 0x20(%r14), %r15
movq %r15, %rdi
callq 0x5cce0
leaq 0x28(%r14), %rdi
callq 0x5cce0
movabsq $-0x100000000, %rax # imm = 0xFFFFFFFF00000000
movq %rax, ... | /igormironchik[P]qtmwidgets/src/picker.cpp |
QtMWidgets::ScrollArea::sizeHint() const | QSize
ScrollArea::sizeHint() const
{
const ScrollAreaPrivate * d = d_func();
QSize sz( 0, 0 );
const int h = fontMetrics().height();
if( d->widget )
sz += ( d->resizable ? d->widget->sizeHint() : d->widget->size() );
else
sz += QSize( 12 * h, 8 * h );
const QSize marginsSize = QSize( d->left +... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq 0x28(%rdi), %r12
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5f804
movq %r14, %rdi
callq 0x5dc70
movl %eax, %r14d
leaq 0x8(%rsp), %rdi
callq 0x5c8c0
movq 0xa8(%r12), %rax
testq %rax, %rax
je 0x82630
movl 0x4(%r... | /igormironchik[P]qtmwidgets/src/scrollarea.cpp |
ParserTransform_hodgkinHuxleyCellml10_Test::TestBody() | TEST(ParserTransform, hodgkinHuxleyCellml10)
{
libcellml::ParserPtr parser = libcellml::Parser::create(false);
auto model = parser->parseModel(fileContents("cellml1X/Hodgkin_Huxley_1952_modified.cellml"));
EXPECT_EQ(size_t(7), model->unitsCount());
EXPECT_EQ(size_t(5), model->componentCount());
EXP... | pushq %r14
pushq %rbx
subq $0x78, %rsp
leaq 0x68(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0xf560
movq (%rbx), %rbx
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x22a63(%rip), %rsi # 0x3b67e
leaq 0x22a88(%rip), %rdx # 0x3b6aa
leaq 0x10(%rsp), %rdi
callq 0x1aa4e
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp)... | /cellml[P]libcellml/tests/parser/cellml_1_0.cpp |
ParserTransform_annotatedCellMl10Model_Test::TestBody() | TEST(ParserTransform, annotatedCellMl10Model)
{
libcellml::ParserPtr parser = libcellml::Parser::create(false);
auto model = parser->parseModel(fileContents("cellml1X/annotated_model.cellml"));
EXPECT_EQ(size_t(5), model->unitsCount());
EXPECT_EQ(size_t(2), model->componentCount());
EXPECT_EQ(size_... | pushq %r14
pushq %rbx
subq $0x78, %rsp
leaq 0x68(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0xf560
movq (%rbx), %rbx
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x2261f(%rip), %rsi # 0x3b72e
leaq 0x22637(%rip), %rdx # 0x3b74d
leaq 0x10(%rsp), %rdi
callq 0x1aa4e
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp)... | /cellml[P]libcellml/tests/parser/cellml_1_0.cpp |
ParserTransform_renameNonSiUnits_Test::TestBody() | TEST(ParserTransform, renameNonSiUnits)
{
libcellml::ParserPtr parser = libcellml::Parser::create(false);
auto model = parser->parseModel(fileContents("cellml1X/non_si_units.cellml"));
EXPECT_EQ(size_t(11), model->unitsCount());
EXPECT_EQ(size_t(2), model->componentCount());
auto unitsMetre = mode... | pushq %r15
pushq %r14
pushq %rbx
subq $0xb0, %rsp
leaq 0xa0(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0xf560
movq (%rbx), %rbx
leaq 0x60(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x22169(%rip), %rsi # 0x3b774
leaq 0x2217e(%rip), %rdx # 0x3b790
leaq 0x50(%rsp), %rdi
callq 0x1aa4e
movq %rsp, %rdi
leaq 0x50(... | /cellml[P]libcellml/tests/parser/cellml_1_0.cpp |
ParserTransform_multipleMathInComponent_Test::TestBody() | TEST(ParserTransform, multipleMathInComponent)
{
libcellml::ParserPtr parser = libcellml::Parser::create(false);
auto model = parser->parseModel(fileContents("cellml1X/cardiac_constant_simplified.cellml"));
auto validator = libcellml::Validator::create();
validator->validateModel(model);
EXPECT_E... | pushq %r14
pushq %rbx
subq $0x78, %rsp
leaq 0x68(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0xf560
movq (%rbx), %rbx
leaq 0x28(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x21991(%rip), %rsi # 0x3b844
leaq 0x219b5(%rip), %rdx # 0x3b86f
leaq 0x18(%rsp), %rdi
callq 0x1aa4e
leaq 0x38(%rsp), %rdi
leaq 0x18(%rsp)... | /cellml[P]libcellml/tests/parser/cellml_1_0.cpp |
ParserTransform_multipleMathInComponentAlternativeFormulation_Test::TestBody() | TEST(ParserTransform, multipleMathInComponentAlternativeFormulation)
{
libcellml::ParserPtr parser = libcellml::Parser::create(false);
auto model = parser->parseModel(fileContents("cellml1X/cardiac_constant_simplified_alternative.cellml"));
auto validator = libcellml::Validator::create();
validator->v... | pushq %r14
pushq %rbx
subq $0x78, %rsp
leaq 0x68(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0xf560
movq (%rbx), %rbx
leaq 0x28(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x217af(%rip), %rsi # 0x3b8b6
leaq 0x217df(%rip), %rdx # 0x3b8ed
leaq 0x18(%rsp), %rdi
callq 0x1aa4e
leaq 0x38(%rsp), %rdi
leaq 0x18(%rsp)... | /cellml[P]libcellml/tests/parser/cellml_1_0.cpp |
testing::Message::~Message() | class GTEST_API_ Message {
private:
// The type of basic IO manipulators (endl, ends, and flush) for
// narrow streams.
typedef std::ostream& (*BasicNarrowIoManip)(std::ostream&);
public:
// Constructs an empty Message.
Message();
// Copy constructor.
Message(const Message& msg) : ss_(new ::std::strin... | pushq %rax
xorl %esi, %esi
callq 0x1a57a
popq %rax
retq
movq %rax, %rdi
callq 0x1a51f
| /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
testing::AssertionResult::~AssertionResult() | class GTEST_API_ AssertionResult {
public:
// Copy constructor.
// Used in EXPECT_TRUE/FALSE(assertion_result).
AssertionResult(const AssertionResult& other);
#if defined(_MSC_VER) && _MSC_VER < 1910
GTEST_DISABLE_MSC_WARNINGS_PUSH_(4800 /* forcing value to bool */)
#endif
// Used in the EXPECT_TRUE/FALSE(... | pushq %rax
addq $0x8, %rdi
xorl %esi, %esi
callq 0x1a5b0
popq %rax
retq
movq %rax, %rdi
callq 0x1a51f
| /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
ParserTransform_emptyCellml10_Test::~ParserTransform_emptyCellml10_Test() | TEST(ParserTransform, emptyCellml10)
{
const std::string e = "Given model is a CellML 1.0 model, the parser will try to represent this model in CellML 2.0.";
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/1.0#\"/>\n";
libce... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_0.cpp |
ParserTransform_attemptToParseUnknownXmlModelWithPermissiveParser_Test::~ParserTransform_attemptToParseUnknownXmlModelWithPermissiveParser_Test() | TEST(ParserTransform, attemptToParseUnknownXmlModelWithPermissiveParser)
{
const std::string e = "Model element is in an invalid namespace 'http://www.cellml.org/cellml/1.3#'.";
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/1.3... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_0.cpp |
ParserTransform_attemptToParseUnknownXmlModelWith20Parser_Test::~ParserTransform_attemptToParseUnknownXmlModelWith20Parser_Test() | TEST(ParserTransform, attemptToParseUnknownXmlModelWith20Parser)
{
const std::string e = "Model element is in an invalid namespace 'http://www.cellml.org/cellml/1.3#'. A valid CellML root node should be in the namespace 'http://www.cellml.org/cellml/2.0#'.";
const std::string in =
"<?xml version=\"1.0\"... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_0.cpp |
ParserTransform_attemptToParseCellml1XModelWith20Parser_Test::~ParserTransform_attemptToParseCellml1XModelWith20Parser_Test() | TEST(ParserTransform, attemptToParseCellml1XModelWith20Parser)
{
const std::string e = "Given model is a CellML 1.1 model but strict parsing mode is on.";
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/1.1#\" name=\"name\"/>\n";... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_0.cpp |
ParserTransform_parseNamedModelCellml10_Test::~ParserTransform_parseNamedModelCellml10_Test() | TEST(ParserTransform, parseNamedModelCellml10)
{
const std::string n = "name";
const std::string e =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/1.0#\" name=\"name\"/>\n";
libcellml::ParserPtr parser = libcellml::Parser::create(false);
lib... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_0.cpp |
ParserTransform_hodgkinHuxleyCellml10_Test::~ParserTransform_hodgkinHuxleyCellml10_Test() | TEST(ParserTransform, hodgkinHuxleyCellml10)
{
libcellml::ParserPtr parser = libcellml::Parser::create(false);
auto model = parser->parseModel(fileContents("cellml1X/Hodgkin_Huxley_1952_modified.cellml"));
EXPECT_EQ(size_t(7), model->unitsCount());
EXPECT_EQ(size_t(5), model->componentCount());
EXP... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_0.cpp |
ParserTransform_annotatedCellMl10Model_Test::~ParserTransform_annotatedCellMl10Model_Test() | TEST(ParserTransform, annotatedCellMl10Model)
{
libcellml::ParserPtr parser = libcellml::Parser::create(false);
auto model = parser->parseModel(fileContents("cellml1X/annotated_model.cellml"));
EXPECT_EQ(size_t(5), model->unitsCount());
EXPECT_EQ(size_t(2), model->componentCount());
EXPECT_EQ(size_... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_0.cpp |
ParserTransform_renameNonSiUnits_Test::~ParserTransform_renameNonSiUnits_Test() | TEST(ParserTransform, renameNonSiUnits)
{
libcellml::ParserPtr parser = libcellml::Parser::create(false);
auto model = parser->parseModel(fileContents("cellml1X/non_si_units.cellml"));
EXPECT_EQ(size_t(11), model->unitsCount());
EXPECT_EQ(size_t(2), model->componentCount());
auto unitsMetre = mode... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_0.cpp |
testing::internal::scoped_ptr<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::reset(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*) | void reset(T* p = NULL) {
if (p != ptr_) {
if (IsTrue(sizeof(T) > 0)) { // Makes sure T is a complete type.
delete ptr_;
}
ptr_ = p;
}
} | cmpq %rsi, (%rdi)
je 0x1a602
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl $0x1, %edi
callq 0xf200
testb %al, %al
je 0x1a5fa
movq (%r14), %r15
testq %r15, %r15
je 0x1a5ed
movq (%r15), %rdi
leaq 0x10(%r15), %rax
cmpq %rax, %rdi
je 0x1a5ed
movq (%rax), %rsi
incq %rsi
callq 0xf390
movl $0x20, %esi
... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
testing::AssertionResult testing::internal::CmpHelperEQFailure<unsigned long, unsigned long>(char const*, char const*, unsigned long const&, unsigned long const&) | AssertionResult CmpHelperEQFailure(const char* lhs_expression,
const char* rhs_expression,
const T1& lhs, const T2& rhs) {
return EqFailure(lhs_expression,
rhs_expression,
FormatForComparisonFailureMessage(lhs,... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsp), %rdi
movq %rcx, %rsi
callq 0x1abdd
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x1abdd
leaq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
xor... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> testing::PrintToString<unsigned long>(unsigned long const&) | ::std::string PrintToString(const T& value) {
::std::stringstream ss;
internal::UniversalTersePrinter<T>::Print(value, &ss);
return ss.str();
} | pushq %r14
pushq %rbx
subq $0x188, %rsp # imm = 0x188
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %rdi
callq 0xf220
leaq 0x10(%rsp), %rdi
movq (%r14), %rsi
callq 0xf210
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
callq 0xf580
movq 0x4639a(%rip), %rsi # 0x60fb0
movq %rsp, %rdi
callq 0xf250
leaq 0x80(%rsp), %rdi
... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
testing::AssertionResult testing::internal::CmpHelperEQFailure<libcellml::Issue::Level, libcellml::Issue::Level>(char const*, char const*, libcellml::Issue::Level const&, libcellml::Issue::Level const&) | AssertionResult CmpHelperEQFailure(const char* lhs_expression,
const char* rhs_expression,
const T1& lhs, const T2& rhs) {
return EqFailure(lhs_expression,
rhs_expression,
FormatForComparisonFailureMessage(lhs,... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsp), %rdi
movq %rcx, %rsi
callq 0x1ad59
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x1ad59
leaq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
xor... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
testing::AssertionResult testing::internal::CmpHelperEQ<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>... | AssertionResult CmpHelperEQ(const char* lhs_expression,
const char* rhs_expression,
const T1& lhs,
const T2& rhs) {
if (lhs == rhs) {
return AssertionSuccess();
}
return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs,... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movq 0x8(%rcx), %rdx
cmpq 0x8(%r8), %rdx
jne 0x1ae17
testq %rdx, %rdx
je 0x1ae2d
movq (%r14), %rsi
movq (%r15), %rdi
callq 0xf3b0
testl %eax, %eax
je 0x1ae2d
movq %rbx, %rdi
movq %r13, %... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
testing::AssertionResult testing::internal::CmpHelperEQFailure<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator... | AssertionResult CmpHelperEQFailure(const char* lhs_expression,
const char* rhs_expression,
const T1& lhs, const T2& rhs) {
return EqFailure(lhs_expression,
rhs_expression,
FormatForComparisonFailureMessage(lhs,... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsp), %rdi
movq %rcx, %rsi
callq 0x1af19
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x1af19
leaq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
xor... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
testing::AssertionResult testing::internal::CmpHelperEQ<char [1], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(char const*, char const*, char const (&) [1], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | AssertionResult CmpHelperEQ(const char* lhs_expression,
const char* rhs_expression,
const T1& lhs,
const T2& rhs) {
if (lhs == rhs) {
return AssertionSuccess();
}
return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs,... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movq %r8, %rdi
movq %rcx, %rsi
callq 0xf0d0
movq %rbx, %rdi
testl %eax, %eax
je 0x1afd9
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
callq 0x1afeb
jmp 0x1afde
callq 0xf... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
testing::AssertionResult testing::internal::CmpHelperEQFailure<char [1], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(char const*, char const*, char const (&) [1], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | AssertionResult CmpHelperEQFailure(const char* lhs_expression,
const char* rhs_expression,
const T1& lhs, const T2& rhs) {
return EqFailure(lhs_expression,
rhs_expression,
FormatForComparisonFailureMessage(lhs,... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsp), %rsi
movq %rcx, (%rsi)
leaq 0x28(%rsp), %rdi
callq 0x1b0c7
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x1af19
leaq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movq %r15, %... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
testing::internal::UniversalTersePrinter<char const*>::Print(char const*, std::ostream*) | static void Print(const char* str, ::std::ostream* os) {
if (str == NULL) {
*os << "NULL";
} else {
UniversalPrint(std::string(str), os);
}
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
testq %rdi, %rdi
je 0x1b1b1
movq %rdi, %r14
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
callq 0xf150
leaq (%rax,%r14), %rdx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x1aa4e
movq %r15, %rdi
movq %rbx, %rsi
callq 0xf3c0
movq 0... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
testing::AssertionResult testing::internal::CmpHelperEQ<char [6], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(char const*, char const*, char const (&) [6], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | AssertionResult CmpHelperEQ(const char* lhs_expression,
const char* rhs_expression,
const T1& lhs,
const T2& rhs) {
if (lhs == rhs) {
return AssertionSuccess();
}
return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs,... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movq %r8, %rdi
movq %rcx, %rsi
callq 0xf0d0
movq %rbx, %rdi
testl %eax, %eax
je 0x1b22f
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
callq 0x1b241
jmp 0x1b234
callq 0xf... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
testing::AssertionResult testing::internal::CmpHelperEQFailure<char [6], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(char const*, char const*, char const (&) [6], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | AssertionResult CmpHelperEQFailure(const char* lhs_expression,
const char* rhs_expression,
const T1& lhs, const T2& rhs) {
return EqFailure(lhs_expression,
rhs_expression,
FormatForComparisonFailureMessage(lhs,... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsp), %rsi
movq %rcx, (%rsi)
leaq 0x28(%rsp), %rdi
callq 0x1b0c7
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x1af19
leaq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movq %r15, %... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
ParserTransform_cellmlNsCn_Test::TestBody() | TEST(ParserTransform, cellmlNsCn)
{
libcellml::ParserPtr parser = libcellml::Parser::create(false);
auto model = parser->parseModel(fileContents("cellml1X/cellml_ns_cn.cellml"));
EXPECT_EQ(size_t(2), model->unitsCount());
EXPECT_EQ(size_t(3), model->componentCount());
EXPECT_EQ(size_t(1), parser->i... | pushq %r14
pushq %rbx
subq $0x78, %rsp
leaq 0x68(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0xf560
movq (%rbx), %rbx
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x201f9(%rip), %rsi # 0x3c69c
leaq 0x2020e(%rip), %rdx # 0x3c6b8
leaq 0x10(%rsp), %rdi
callq 0x1aa4e
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp)... | /cellml[P]libcellml/tests/parser/cellml_1_1.cpp |
ParserTransform_emptyCellml11_Test::~ParserTransform_emptyCellml11_Test() | TEST(ParserTransform, emptyCellml11)
{
const std::string e = "Given model is a CellML 1.1 model, the parser will try to represent this model in CellML 2.0.";
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/1.1#\"/>\n";
libce... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_1.cpp |
ParserTransform_parseNamedModelCellml11_Test::~ParserTransform_parseNamedModelCellml11_Test() | TEST(ParserTransform, parseNamedModelCellml11)
{
const std::string n = "name";
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/1.1#\" name=\"name\"/>\n";
libcellml::ParserPtr parser = libcellml::Parser::create(false);
li... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_1.cpp |
ParserTransform_parseModelWithCMeta10Id_Test::~ParserTransform_parseModelWithCMeta10Id_Test() | TEST(ParserTransform, parseModelWithCMeta10Id)
{
const std::string n = "name";
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/1.1#\" xmlns:cmeta=\"http://www.cellml.org/metadata/1.0#\" name=\"name\" cmeta:id=\"great_id\"/>\n";
... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_1.cpp |
ParserTransform_sineCellml11_Test::~ParserTransform_sineCellml11_Test() | TEST(ParserTransform, sineCellml11)
{
const std::string e =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\" name=\"sin\" id=\"sin\">\n"
" <component name=\"sin\" id=\"sin\">\n"
" <variable name=\"x\" units=\"dimensionless\" inter... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_1.cpp |
ParserTransform_derivedApproxSineCellml11_Test::~ParserTransform_derivedApproxSineCellml11_Test() | TEST(ParserTransform, derivedApproxSineCellml11)
{
const std::string e =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\" name=\"deriv_approx_sin\" id=\"deriv_approx_sin\">\n"
" <component name=\"sin\" id=\"sin\">\n"
" <variable n... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_1.cpp |
ParserTransform_cellmlNsCn_Test::~ParserTransform_cellmlNsCn_Test() | TEST(ParserTransform, cellmlNsCn)
{
libcellml::ParserPtr parser = libcellml::Parser::create(false);
auto model = parser->parseModel(fileContents("cellml1X/cellml_ns_cn.cellml"));
EXPECT_EQ(size_t(2), model->unitsCount());
EXPECT_EQ(size_t(3), model->componentCount());
EXPECT_EQ(size_t(1), parser->i... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/cellml_1_1.cpp |
Parser_parseSineModelFromFile_Test::TestBody() | TEST(Parser, parseSineModelFromFile)
{
libcellml::ParserPtr p = libcellml::Parser::create();
p->parseModel(fileContents("sine_approximations.xml"));
EXPECT_EQ(size_t(0), p->issueCount());
} | pushq %r14
pushq %rbx
subq $0x68, %rsp
leaq 0x48(%rsp), %rbx
movq %rbx, %rdi
movl $0x1, %esi
callq 0xf560
movq (%rbx), %rbx
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1fe08(%rip), %rsi # 0x3ca14
leaq 0x1fe18(%rip), %rdx # 0x3ca2b
leaq 0x8(%rsp), %rdi
callq 0x1aa4e
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), ... | /cellml[P]libcellml/tests/parser/file_parser.cpp |
Parser_parseSineImportsModelFromFile_Test::TestBody() | TEST(Parser, parseSineImportsModelFromFile)
{
libcellml::ParserPtr p = libcellml::Parser::create();
p->parseModel(fileContents("sine_approximations_import.xml"));
EXPECT_EQ(size_t(0), p->issueCount());
} | pushq %r14
pushq %rbx
subq $0x68, %rsp
leaq 0x48(%rsp), %rbx
movq %rbx, %rdi
movl $0x1, %esi
callq 0xf560
movq (%rbx), %rbx
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1fc4e(%rip), %rsi # 0x3ca5a
leaq 0x1fc65(%rip), %rdx # 0x3ca78
leaq 0x8(%rsp), %rdi
callq 0x1aa4e
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), ... | /cellml[P]libcellml/tests/parser/file_parser.cpp |
Parser_parseOrdModelFromFile_Test::TestBody() | TEST(Parser, parseOrdModelFromFile)
{
libcellml::ParserPtr p = libcellml::Parser::create();
libcellml::ModelPtr model = p->parseModel(fileContents("Ohara_Rudy_2011.cellml"));
EXPECT_EQ(size_t(0), p->issueCount());
// Test some random values.
std::string a = model->component("intracellular_ions")->... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc0, %rsp
leaq 0xb0(%rsp), %rbx
movq %rbx, %rdi
movl $0x1, %esi
callq 0xf560
movq (%rbx), %rbx
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1f8bc(%rip), %rsi # 0x3cb44
leaq 0x1f8cb(%rip), %rdx # 0x3cb5a
leaq 0x20(%rsp), %rdi
callq 0x1aa4e
leaq... | /cellml[P]libcellml/tests/parser/file_parser.cpp |
Parser_parseComplexEncapsulationModelFromFile_Test::TestBody() | TEST(Parser, parseComplexEncapsulationModelFromFile)
{
// This test resulted from https://github.com/cellml/libcellml/issues/170
libcellml::ParserPtr p = libcellml::Parser::create();
p->parseModel(fileContents("complex_encapsulation.xml"));
EXPECT_EQ(size_t(0), p->issueCount());
} | pushq %r14
pushq %rbx
subq $0x68, %rsp
leaq 0x48(%rsp), %rbx
movq %rbx, %rdi
movl $0x1, %esi
callq 0xf560
movq (%rbx), %rbx
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1ef3d(%rip), %rsi # 0x3cbf5
leaq 0x1ef4f(%rip), %rdx # 0x3cc0e
leaq 0x8(%rsp), %rdi
callq 0x1aa4e
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), ... | /cellml[P]libcellml/tests/parser/file_parser.cpp |
Parser_parseModelWithImportedEquivVariables_Test::TestBody() | TEST(Parser, parseModelWithImportedEquivVariables)
{
auto parser = libcellml::Parser::create();
auto modelContents = fileContents("importingModel.cellml");
auto model = parser->parseModel(modelContents);
auto printer = libcellml::Printer::create();
auto serialisedModel = printer->printModel(model);... | pushq %r14
pushq %rbx
subq $0x98, %rsp
leaq 0x58(%rsp), %rdi
movl $0x1, %esi
callq 0xf560
leaq 0x28(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1e7db(%rip), %rsi # 0x3d106
leaq 0x1e7e9(%rip), %rdx # 0x3d11b
leaq 0x18(%rsp), %rdi
callq 0x1aa4e
leaq 0x68(%rsp), %rdi
leaq 0x18(%rsp), %rsi
callq 0xf610
movq 0x18(%rsp... | /cellml[P]libcellml/tests/parser/file_parser.cpp |
Parser_unitsAreLinkedOnParse_Test::TestBody() | TEST(Parser, unitsAreLinkedOnParse)
{
libcellml::ParserPtr p = libcellml::Parser::create();
auto model = p->parseModel(fileContents("generator/hodgkin_huxley_squid_axon_model_1952/model.cellml"));
EXPECT_EQ(size_t(0), p->issueCount());
EXPECT_FALSE(model->hasUnlinkedUnits());
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x70, %rsp
leaq 0x60(%rsp), %rbx
movq %rbx, %rdi
movl $0x1, %esi
callq 0xf560
movq (%rbx), %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1e5a4(%rip), %rsi # 0x3d150
leaq 0x1e5d8(%rip), %rdx # 0x3d18b
leaq 0x8(%rsp), %rdi
callq 0x1aa4e
leaq 0x28(%rsp), %rdi
leaq ... | /cellml[P]libcellml/tests/parser/file_parser.cpp |
testing::ScopedTrace::ScopedTrace(char const*, int, char const*) | ScopedTrace(const char* file, int line, const char* message) {
PushTrace(file, line, message ? message : "(null)");
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
testq %rcx, %rcx
leaq 0x1e29f(%rip), %r12 # 0x3d1b1
cmovneq %rcx, %r12
leaq 0x18(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq %r12, %rdi
callq 0xf150
leaq (%rax,%r12), %rdx
leaq 0x8(%rsp), %... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
Parser_parseInvalidModelFromFile_Test::~Parser_parseInvalidModelFromFile_Test() | TEST(Parser, parseInvalidModelFromFile)
{
const std::vector<std::string> expectedIssues = {
"LibXml2 error: Start tag expected, '<' not found.",
"Could not get a valid XML root node from the provided input.",
};
libcellml::ParserPtr p = libcellml::Parser::create();
p->parseModel(fileCon... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/file_parser.cpp |
Parser_parseOrdModelFromFile_Test::~Parser_parseOrdModelFromFile_Test() | TEST(Parser, parseOrdModelFromFile)
{
libcellml::ParserPtr p = libcellml::Parser::create();
libcellml::ModelPtr model = p->parseModel(fileContents("Ohara_Rudy_2011.cellml"));
EXPECT_EQ(size_t(0), p->issueCount());
// Test some random values.
std::string a = model->component("intracellular_ions")->... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/file_parser.cpp |
Parser_parseModelWithComponentsWithMultipleMathElements_Test::~Parser_parseModelWithComponentsWithMultipleMathElements_Test() | TEST(Parser, parseModelWithComponentsWithMultipleMathElements)
{
// This test resulted from https://github.com/cellml/libcellml/issues/183
const std::string e1 =
"<math xmlns=\"http://www.w3.org/1998/Math/MathML\">\n"
"\t\t\t<apply><eq/>\n"
"\t\t\t\t<ci>a1</ci>\n"
"\t\t\t\t<apply... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/file_parser.cpp |
Parser_simpleGeneratorModel_Test::~Parser_simpleGeneratorModel_Test() | TEST(Parser, simpleGeneratorModel)
{
const std::string e =
"<math xmlns=\"http://www.w3.org/1998/Math/MathML\" xmlns:cellml=\"http://www.cellml.org/cellml/2.0#\">\n"
" <apply>\n"
" <eq/>\n"
" <apply>\n"
" <diff/>\n"
... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/file_parser.cpp |
Parser_parseModelWithImportedEquivVariables_Test::~Parser_parseModelWithImportedEquivVariables_Test() | TEST(Parser, parseModelWithImportedEquivVariables)
{
auto parser = libcellml::Parser::create();
auto modelContents = fileContents("importingModel.cellml");
auto model = parser->parseModel(modelContents);
auto printer = libcellml::Printer::create();
auto serialisedModel = printer->printModel(model);... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/file_parser.cpp |
testing::AssertionResult testing::internal::CmpHelperEQ<char [7], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(char const*, char const*, char const (&) [7], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | AssertionResult CmpHelperEQ(const char* lhs_expression,
const char* rhs_expression,
const T1& lhs,
const T2& rhs) {
if (lhs == rhs) {
return AssertionSuccess();
}
return CmpHelperEQFailure(lhs_expression, rhs_expression, lhs,... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movq %r8, %rdi
movq %rcx, %rsi
callq 0xf0d0
movq %rbx, %rdi
testl %eax, %eax
je 0x1f529
movq %r13, %rsi
movq %r12, %rdx
movq %r15, %rcx
movq %r14, %r8
callq 0x1f53b
jmp 0x1f52e
callq 0xf... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
testing::AssertionResult testing::internal::CmpHelperEQFailure<char [7], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(char const*, char const*, char const (&) [7], std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | AssertionResult CmpHelperEQFailure(const char* lhs_expression,
const char* rhs_expression,
const T1& lhs, const T2& rhs) {
return EqFailure(lhs_expression,
rhs_expression,
FormatForComparisonFailureMessage(lhs,... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rsp), %rsi
movq %rcx, (%rsi)
leaq 0x28(%rsp), %rdi
callq 0x1b0c7
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x1af19
leaq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movq %r15, %... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
Parser_parseValidXmlDirectlyUsingLibxml_Test::~Parser_parseValidXmlDirectlyUsingLibxml_Test() | TEST(Parser, parseValidXmlDirectlyUsingLibxml)
{
const std::string e =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\"/>\n";
// parse the string using libcellml
libcellml::ParserPtr parser = libcellml::Parser::create();
libcellml::Model... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/libxml_user.cpp |
testing::AssertionResult testing::internal::CmpHelperOpFailure<std::nullptr_t, _xmlDoc*>(char const*, char const*, std::nullptr_t const&, _xmlDoc* const&, char const*) | AssertionResult CmpHelperOpFailure(const char* expr1, const char* expr2,
const T1& val1, const T2& val2,
const char* op) {
return AssertionFailure()
<< "Expected: (" << expr1 << ") " << op << " (" << expr2
<< "), actual: " << Form... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r8, %r14
movq %rcx, %r15
movq %rdi, %rbx
movq %rsi, 0x10(%rsp)
movq %rdx, 0x8(%rsp)
movq %r9, (%rsp)
leaq 0x58(%rsp), %r12
movq %r12, %rdi
callq 0xf040
leaq 0x1da09(%rip), %rsi # 0x3d7d3
movq %r12, %rdi
callq 0x1ff2a
leaq 0x10(%rsp), %rsi
movq %rax,... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
testing::AssertionResult& testing::AssertionResult::operator<<<char [5]>(char const (&) [5]) | AssertionResult& operator<<(const T& value) {
AppendMessage(Message() << value);
return *this;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0xf2a0
movq (%r15), %r15
addq $0x10, %r15
movq %r14, %rdi
callq 0xf150
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xf410
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x2021e
cmpq $0x0, 0... | /cellml[P]libcellml/tests/gtest/include/gtest/gtest.h |
Parser_invalidXMLElements_Test::~Parser_invalidXMLElements_Test() | TEST(Parser, invalidXMLElements)
{
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<fellowship>\n"
" <Dwarf bearded>Gimli</ShortGuy>\n"
" <Hobbit>Frodo</EvenShorterGuy>\n"
" <Wizard>Gandalf</SomeGuyWithAStaff>\n"
" <Elf>\n"
"</fellow... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_parse_Test::~Parser_parse_Test() | TEST(Parser, parse)
{
const std::string e =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\"/>\n";
libcellml::ParserPtr parser = libcellml::Parser::create();
libcellml::ModelPtr model = parser->parseModel(e);
libcellml::PrinterPtr printe... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_nonXmlString_Test::~Parser_nonXmlString_Test() | TEST(Parser, nonXmlString)
{
const std::string in = "Not an xml string.";
const std::vector<std::string> expectedIssues = {
"LibXml2 error: Start tag expected, '<' not found.",
"Could not get a valid XML root node from the provided input.",
};
libcellml::ParserPtr p = libcellml::Parser:... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_noModelNamespace_Test::~Parser_noModelNamespace_Test() | TEST(Parser, noModelNamespace)
{
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model/>\n";
const std::vector<std::string> expectedIssues = {
"Model element is in an invalid namespace 'null'. A valid CellML root node should be in the namespace 'http://www.cellml.... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_invalidModelElement_Test::~Parser_invalidModelElement_Test() | TEST(Parser, invalidModelElement)
{
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\" name=\"model_name\">\n"
" <uknits/>\n"
"</model>\n";
const std::vector<std::string> expectedIssues = {
"Model 'mo... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_parseNamedModelWithNamedComponent_Test::~Parser_parseNamedModelWithNamedComponent_Test() | TEST(Parser, parseNamedModelWithNamedComponent)
{
const std::string mName = "modelName";
const std::string cName = "componentName";
const std::string e =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\" name=\"modelName\">\n"
" <comp... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_componentAttributeIssues_Test::~Parser_componentAttributeIssues_Test() | TEST(Parser, componentAttributeIssues)
{
const std::string in1 =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\" name=\"model_name\">\n"
" <component lame=\"randy\"/>\n"
"</model>\n";
const std::vector<std::string> expectedIssue... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_parseModelWithComponentHierarchyWaterfall_Test::~Parser_parseModelWithComponentHierarchyWaterfall_Test() | TEST(Parser, parseModelWithComponentHierarchyWaterfall)
{
const std::string e =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\">\n"
" <component name=\"dave\"/>\n"
" <component name=\"bob\"/>\n"
" <component name=\"angus\"... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_modelWithInvalidUnits_Test::~Parser_modelWithInvalidUnits_Test() | TEST(Parser, modelWithInvalidUnits)
{
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\" name=\"model_name\">\n"
" <units name=\"fahrenheitish\" temperature=\"451\">\n"
" <unit multiplier=\"Z\" exponent=\"35.0... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_encapsulationWithCycleDefined_Test::~Parser_encapsulationWithCycleDefined_Test() | TEST(Parser, encapsulationWithCycleDefined)
{
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\" name=\"model_name\">\n"
" <component name=\"bob\"/>\n"
" <component name=\"jim\"/>\n"
" <component name=\... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_encapsulationNoChildComponentRef_Test::~Parser_encapsulationNoChildComponentRef_Test() | TEST(Parser, encapsulationNoChildComponentRef)
{
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\" name=\"model_name\">\n"
" <component name=\"bob\"/>\n"
" <encapsulation>\n"
" <component_ref compone... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_invalidVariableAttributesAndGetVariableIssue_Test::~Parser_invalidVariableAttributesAndGetVariableIssue_Test() | TEST(Parser, invalidVariableAttributesAndGetVariableIssue)
{
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\" name=\"\">\n"
" <component name=\"componentA\">\n"
" <variable name=\"quixote\" don=\"true\"/>\n"... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_emptyConnectionWithId_Test::~Parser_emptyConnectionWithId_Test() | TEST(Parser, emptyConnectionWithId)
{
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\" name=\"model_name\">\n"
" <connection id=\"myId\"/>\n"
"</model>\n";
const std::vector<std::string> expectedIssues = {
... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_importedComponent2Connection_Test::~Parser_importedComponent2Connection_Test() | TEST(Parser, importedComponent2Connection)
{
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model name=\"\" xmlns=\"http://www.cellml.org/cellml/2.0#\">\n"
" <import xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"some-other-model.xml\">\n"
" <c... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_component2ConnectionVariableMissing_Test::~Parser_component2ConnectionVariableMissing_Test() | TEST(Parser, component2ConnectionVariableMissing)
{
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model name=\"\" xmlns=\"http://www.cellml.org/cellml/2.0#\">\n"
" <component name=\"component_bob\">\n"
" <variable name=\"variable_bob\" units=\"dimensionl... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_connectionVariable1Missing_Test::~Parser_connectionVariable1Missing_Test() | TEST(Parser, connectionVariable1Missing)
{
const std::string e =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model name=\"\" xmlns=\"http://www.cellml.org/cellml/2.0#\">\n"
" <component name=\"component_bob\">\n"
" <variable name=\"variable_bob\" units=\"scrat\"/>\n"
... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_parseIdsOnEntities_Test::~Parser_parseIdsOnEntities_Test() | TEST(Parser, parseIdsOnEntities)
{
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\" name=\"everything\" id=\"mid\">\n"
" <import xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"some-other-model.xml\" id=\"i1i... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_parseResetsWithIssues_Test::~Parser_parseResetsWithIssues_Test() | TEST(Parser, parseResetsWithIssues)
{
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model name=\"\" xmlns=\"http://www.cellml.org/cellml/2.0#\" id=\"mid\">\n"
" <component name=\"component1\">\n"
" <variable name=\"variable1\" id=\"vid\" units=\"dimensio... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Parser_unitsWithCellMLRealVariations_Test::~Parser_unitsWithCellMLRealVariations_Test() | TEST(Parser, unitsWithCellMLRealVariations)
{
const std::string in =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<model xmlns=\"http://www.cellml.org/cellml/2.0#\" name=\"model_name\">\n"
" <units name=\"fahrenheitish\">\n"
" <unit multiplier=\"1.8\" exponent=\"-0.23E-13\" un... | pushq %rbx
movq %rdi, %rbx
callq 0xf710
movl $0x10, %esi
movq %rbx, %rdi
popq %rbx
jmp 0xf390
nop
| /cellml[P]libcellml/tests/parser/parser.cpp |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.