name string | code string | asm string | file string |
|---|---|---|---|
KDIS::UTILS::IndentString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned short, char) | static inline KString IndentString( const KString & S, KUINT16 Tabs = 1, KCHAR8 Tab = '\t' )
{
KStringStream NewS;
// Add tab to first item and then check all new lines
AddTabsToStringStream( NewS, Tabs, Tab );
for( KUINT16 i = 0; i < S.size(); ++i )
{
if( S.c_str()[i] == '\n' && i != ( S.... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x190, %rsp # imm = 0x190
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x25250
leaq 0x18(%rsp), %r15
leaq 0x7(%rsp), %rsi
movb $0x9, (%rsi)
movl $0x1, %edx
movq %r15, %rdi
callq 0x253e0
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x5f992... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management/./././.././././.././Extras/KUtils.h |
KDIS::PDU::Stop_Freeze_PDU::SetRealWorldTime(KDIS::DATA_TYPE::ClockTime const&) | class KDIS_EXPORT ClockTime : public DataTypeBase
{
protected:
KINT32 m_i32Hour;
KUINT32 m_ui32TimePastHour;
public:
static const KUINT16 CLOCK_TIME_SIZE = 8;
ClockTime();
ClockTime( KINT32 Hour, KUINT32 TimePastHour );
explicit ClockTime(KDataStream &stream) noexcept(false);
~ClockT... | movq 0x8(%rsi), %rax
movq %rax, 0x50(%rdi)
retq
nop
| /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management/././../../DataTypes/ClockTime.h |
KDIS::PDU::Stop_Freeze_PDU::operator==(KDIS::PDU::Stop_Freeze_PDU const&) const | KBOOL Stop_Freeze_PDU::operator == ( const Stop_Freeze_PDU & Value ) const
{
if( Simulation_Management_Header::operator !=( Value ) ) return false;
if( m_RealWorldTime != Value.m_RealWorldTime ) return false;
if( m_ui8Reason != Value.m... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x5f28a
testb %al, %al
jne 0x604b6
leaq 0x48(%r14), %rdi
leaq 0x48(%rbx), %rsi
callq 0x7ac04
testb %al, %al
jne 0x604b6
movb 0x58(%r14), %al
cmpb 0x58(%rbx), %al
jne 0x604b6
movb 0x59(%r14), %al
cmpb 0x59(%rbx), %al
jne 0x604b6
movl 0x5c(%r14), %eax... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management/Stop_Freeze_PDU.cpp |
KDIS::PDU::Acknowledge_R_PDU::GetAsString[abi:cxx11]() const | KString Acknowledge_R_PDU::GetAsString() const
{
KStringStream ss;
ss << Header::GetAsString()
<< "-Acknowledge-R PDU-\n"
<< Simulation_Management_Header::GetAsString()
<< "\tAcknowledge Flag: " << GetEnumAsStringAcknowledgeFlag( m_ui16AcknowledgeFlag )
<< "\n\tResponse Flag: ... | pushq %r15
pushq %r14
pushq %rbx
subq $0x210, %rsp # imm = 0x210
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x88(%rsp), %rdi
callq 0x25250
leaq 0x68(%rsp), %rdi
movq %r14, %rsi
callq 0x2b662
leaq 0x98(%rsp), %rdi
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
callq 0x253e0
movq %rax, %r15
leaq 0x5e47a(%rip), %rsi ... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Acknowledge_R_PDU.cpp |
KDIS::PDU::Action_Request_R_PDU::Encode(KDIS::KDataStream&) const | void Action_Request_R_PDU::Encode( KDataStream & stream ) const
{
Simulation_Management_Header::Encode( stream );
Reliability_Header::Encode( stream );
stream << m_ui32RequestID
<< m_ui32ActionID
<< m_ui32NumFixedDatum
<< m_ui32NumVariableDatum;
vector<FixDtmPtr>::con... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x5f20c
leaq 0x90(%r14), %rdi
movq %rbx, %rsi
callq 0x658cc
movl 0x80(%r14), %esi
movq %rbx, %rdi
callq 0x2b2fa
movl 0x88(%r14), %esi
movq %rbx, %rdi
callq 0x2b2fa
movl 0x48(%r14), %esi
movq %rbx, %rdi
callq 0x2b2fa
movl 0x4c(%... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Action_Request_R_PDU.cpp |
KDIS::UTILS::IndentString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned short, char) | static inline KString IndentString( const KString & S, KUINT16 Tabs = 1, KCHAR8 Tab = '\t' )
{
KStringStream NewS;
// Add tab to first item and then check all new lines
AddTabsToStringStream( NewS, Tabs, Tab );
for( KUINT16 i = 0; i < S.size(); ++i )
{
if( S.c_str()[i] == '\n' && i != ( S.... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x190, %rsp # imm = 0x190
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x25250
leaq 0x18(%rsp), %r15
leaq 0x7(%rsp), %rsi
movb $0x9, (%rsi)
movl $0x1, %edx
movq %r15, %rdi
callq 0x253e0
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x61c24... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/././../Simulation_Management/././././.././././.././Extras/KUtils.h |
KDIS::PDU::Comment_R_PDU::GetAsString[abi:cxx11]() const | KString Comment_R_PDU::GetAsString() const
{
KStringStream ss;
ss << Header::GetAsString()
<< "-Comment PDU-R -\n"
<< Simulation_Management_Header::GetAsString()
<< "\nNumber Fixed Datum: " << m_ui32NumFixedDatum
<< "\nNumber Variable Datum: " << m_ui32NumVariableDatum
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp # imm = 0x1D8
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x50(%rsp), %rdi
callq 0x25250
movq %rsp, %rdi
movq %r14, %rsi
callq 0x2b662
leaq 0x60(%rsp), %rdi
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x253e0
movq %rax, %r12
leaq 0... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Comment_R_PDU.cpp |
non-virtual thunk to KDIS::PDU::Create_Entity_R_PDU::GetAsString[abi:cxx11]() const | KString Create_Entity_R_PDU::GetAsString() const
{
KStringStream ss;
ss << Header::GetAsString()
<< "-Create Entity-R PDU-\n"
<< Simulation_Management_Header::GetAsString()
<< Reliability_Header::GetAsString()
<< "Request ID: " << m_ui32RequestID
<< "\n";
return ss.str()... | pushq %rbx
movq %rdi, %rbx
addq $-0x50, %rsi
callq 0x62444
movq %rbx, %rax
popq %rbx
retq
| /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Create_Entity_R_PDU.cpp |
KDIS::PDU::Data_Query_R_PDU::GetAsString[abi:cxx11]() const | KString Data_Query_R_PDU::GetAsString() const
{
KStringStream ss;
ss << Header::GetAsString()
<< "-Data Query PDU-R-\n"
<< Simulation_Management_Header::GetAsString()
<< Reliability_Header::GetAsString()
<< "Request ID: " << m_ui32RequestID
<< "\nTime Interv... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3c8, %rsp # imm = 0x3C8
movq %rsi, %r15
movq %rdi, 0x10(%rsp)
leaq 0xb8(%rsp), %rdi
callq 0x25250
leaq 0x98(%rsp), %rdi
movq %r15, %rsi
callq 0x2b662
leaq 0xc8(%rsp), %r14
movq 0x98(%rsp), %rsi
movq 0xa0(%rsp), %rdx
movq %r14, %rdi
cal... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Data_Query_R_PDU.cpp |
non-virtual thunk to KDIS::PDU::Data_Query_R_PDU::Encode(KDIS::KDataStream&) const | void Data_Query_R_PDU::Encode( KDataStream & stream ) const
{
Simulation_Management_Header::Encode( stream );
Reliability_Header::Encode( stream );
stream << m_ui32RequestID
<< KDIS_STREAM m_TimeInterval
<< m_ui32NumFixedDatum
<< m_ui32NumVariableDatum;
vector<KUINT32>... | addq $-0x98, %rdi
jmp 0x630c8
| /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Data_Query_R_PDU.cpp |
KDIS::PDU::Data_R_PDU::GetAsString[abi:cxx11]() const | KString Data_R_PDU::GetAsString() const
{
KStringStream ss;
ss << Header::GetAsString()
<< "-Data PDU-\n"
<< Simulation_Management_Header::GetAsString()
<< "\tRequest ID: " << m_ui32RequestID
<< Reliability_Header::GetAsString()
<< "\n\tNumber Fixed Datum: ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1f8, %rsp # imm = 0x1F8
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x70(%rsp), %rdi
callq 0x25250
movq %rsp, %rdi
movq %r14, %rsi
callq 0x2b662
leaq 0x80(%rsp), %rdi
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x253e0
movq %rax, %r12
leaq 0... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Data_R_PDU.cpp |
KDIS::PDU::Data_R_PDU::Encode(KDIS::KDataStream&) const | void Data_R_PDU::Encode( KDataStream & stream ) const
{
Simulation_Management_Header::Encode( stream );
stream << m_ui32RequestID;
Reliability_Header::Encode( stream );
stream << m_ui32NumFixedDatum
<< m_ui32NumVariableDatum;
vector<FixDtmPtr>::const_iterator citrFixed = m_vFixedDatum... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x5f20c
movl 0x80(%r14), %esi
movq %rbx, %rdi
callq 0x2b2fa
leaq 0x88(%r14), %rdi
movq %rbx, %rsi
callq 0x658cc
movl 0x48(%r14), %esi
movq %rbx, %rdi
callq 0x2b2fa
movl 0x4c(%r14), %esi
movq %rbx, %rdi
callq 0x2b2fa
movq 0x50(%... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Data_R_PDU.cpp |
non-virtual thunk to KDIS::PDU::Data_R_PDU::Encode(KDIS::KDataStream&) const | void Data_R_PDU::Encode( KDataStream & stream ) const
{
Simulation_Management_Header::Encode( stream );
stream << m_ui32RequestID;
Reliability_Header::Encode( stream );
stream << m_ui32NumFixedDatum
<< m_ui32NumVariableDatum;
vector<FixDtmPtr>::const_iterator citrFixed = m_vFixedDatum... | addq $-0x88, %rdi
jmp 0x63c8c
| /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Data_R_PDU.cpp |
KDIS::PDU::Event_Report_R_PDU::GetAsString[abi:cxx11]() const | KString Event_Report_R_PDU::GetAsString() const
{
KStringStream ss;
ss << Header::GetAsString()
<< "-Event Report-R PDU-\n"
<< Simulation_Management_Header::GetAsString()
<< "Event Type: " << GetEnumAsStringEventType( m_ui32EventType )
<< "\nNumber Fixed Datum: ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1f8, %rsp # imm = 0x1F8
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x70(%rsp), %rdi
callq 0x25250
movq %rsp, %rdi
movq %r14, %rsi
callq 0x2b662
leaq 0x80(%rsp), %rdi
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x253e0
movq %rax, %r12
leaq 0... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Event_Report_R_PDU.cpp |
KDIS::UTILS::IndentString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned short, char) | static inline KString IndentString( const KString & S, KUINT16 Tabs = 1, KCHAR8 Tab = '\t' )
{
KStringStream NewS;
// Add tab to first item and then check all new lines
AddTabsToStringStream( NewS, Tabs, Tab );
for( KUINT16 i = 0; i < S.size(); ++i )
{
if( S.c_str()[i] == '\n' && i != ( S.... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x190, %rsp # imm = 0x190
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x25250
leaq 0x18(%rsp), %r15
leaq 0x7(%rsp), %rsi
movb $0x9, (%rsi)
movl $0x1, %edx
movq %r15, %rdi
callq 0x253e0
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x642d4... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/././../Simulation_Management/./././.././././.././Extras/KUtils.h |
KDIS::PDU::Record_Query_R_PDU::Record_Query_R_PDU(KDIS::KDataStream&) | Record_Query_R_PDU::Record_Query_R_PDU(KDataStream &stream) noexcept(false)
{
Decode( stream, false );
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
callq 0x5e9b0
leaq 0x48(%rbx), %r14
movq %r14, %rdi
callq 0x65648
leaq 0xc08f0(%rip), %rax # 0x124cd0
movq %rax, (%rbx)
leaq 0xc0926(%rip), %rax # 0x124d10
movq %rax, 0x48(%rbx)
leaq 0x68(%rbx), %r12
xorps %xmm0, %xmm0
movups... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Record_Query_R_PDU.cpp |
KDIS::PDU::Record_Query_R_PDU::SetRecordIDs(std::vector<unsigned int, std::allocator<unsigned int>> const&) | void Record_Query_R_PDU::SetRecordIDs( const vector<KUINT32> & ID )
{
m_vui32RecID.clear();
m_vui32RecID = ID;
m_ui32NumRecs = m_vui32RecID.size();
m_ui16PDULength = RECORD_QUERY_R_PDU_SIZE + ( m_ui32NumRecs * 4 );
} | pushq %rbx
movq %rdi, %rbx
addq $0x68, %rdi
movq 0x68(%rbx), %rax
cmpq %rax, 0x70(%rbx)
je 0x64676
movq %rax, 0x70(%rbx)
callq 0x5d514
movq 0x70(%rbx), %rax
subq 0x68(%rbx), %rax
shrq $0x2, %rax
movl %eax, 0x64(%rbx)
leal 0x28(,%rax,4), %eax
movw %ax, 0x20(%rbx)
popq %rbx
retq
nop
| /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Record_Query_R_PDU.cpp |
KDIS::PDU::Record_Query_R_PDU::GetAsString[abi:cxx11]() const | KString Record_Query_R_PDU::GetAsString() const
{
KStringStream ss;
ss << Header::GetAsString()
<< "-Record Query-R PDU-\n"
<< Simulation_Management_Header::GetAsString()
<< "\tRequest ID: " << m_ui32RqId
<< Reliability_Header::GetAsString()
<< "\tEvent Type:... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp # imm = 0x208
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x80(%rsp), %rdi
callq 0x25250
leaq 0x60(%rsp), %rdi
movq %r15, %rsi
callq 0x2b662
leaq 0x90(%rsp), %r14
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
movq %r14, %rdi
callq 0x2... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Record_Query_R_PDU.cpp |
KDIS::PDU::Record_Query_R_PDU::Encode(KDIS::KDataStream&) const | void Record_Query_R_PDU::Encode( KDataStream & stream ) const
{
Simulation_Management_Header::Encode( stream );
stream << m_ui32RqId
<< m_ui8ReqRelSrv
<< m_ui8Padding
<< m_ui16EvntTyp
<< m_ui32Time
<< m_ui32NumRecs;
vector<KUINT32>::const_iterator cit... | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x5f20c
movl 0x58(%r14), %esi
movq %rbx, %rdi
callq 0x2b2fa
movzbl 0x50(%r14), %esi
movq %rbx, %rdi
callq 0x26a4c
movzbl 0x54(%r14), %esi
movq %rbx, %rdi
callq 0x26a4c
movzwl 0x5c(%r14), %esi
movq %rbx, %rdi
callq 0x29f54
movl 0x60(%r14), %esi
movq ... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Record_Query_R_PDU.cpp |
non-virtual thunk to KDIS::PDU::Record_Query_R_PDU::Encode(KDIS::KDataStream&) const | void Record_Query_R_PDU::Encode( KDataStream & stream ) const
{
Simulation_Management_Header::Encode( stream );
stream << m_ui32RqId
<< m_ui8ReqRelSrv
<< m_ui8Padding
<< m_ui16EvntTyp
<< m_ui32Time
<< m_ui32NumRecs;
vector<KUINT32>::const_iterator cit... | addq $-0x48, %rdi
jmp 0x64bb0
nop
| /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Record_Query_R_PDU.cpp |
non-virtual thunk to KDIS::PDU::Record_R_PDU::Encode(KDIS::KDataStream&) const | void Record_R_PDU::Encode( KDataStream & stream ) const
{
Simulation_Management_Header::Encode( stream );
stream << m_ui32RqId
<< m_ui8ReqRelSrv
<< m_ui8Padding2
<< m_ui16EvntTyp
<< m_ui32SrlNm
<< m_ui32NumRecSets;
vector<RecordSet>::const_iterator ci... | addq $-0x48, %rdi
jmp 0x654ec
nop
| /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Record_R_PDU.cpp |
KDIS::PDU::Reliability_Header::Decode(KDIS::KDataStream&) | void Reliability_Header::Decode(KDataStream &stream) noexcept(false)
{
if( stream.GetBufferSize() < RELIABILITY_SIZE )throw KException( __FUNCTION__, NOT_ENOUGH_DATA_IN_BUFFER );
stream >> m_ui8ReqRelSrv
>> m_ui16Padding1
>> m_ui8Padding;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x26758
cmpw $0x3, %ax
jbe 0x657ff
leaq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0x26a8e
leaq 0xa(%r14), %rsi
movq %rbx, %rdi
callq 0x29ef0
addq $0xc, %r14
movq %rbx, %rdi
movq %r14, %rsi
addq $0x28, %rsp
pop... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Reliability_Header.cpp |
KDIS::PDU::Remove_Entity_R_PDU::GetAsString[abi:cxx11]() const | KString Remove_Entity_R_PDU::GetAsString() const
{
KStringStream ss;
ss << Header::GetAsString()
<< "-Remove Entity-R PDU-\n"
<< Simulation_Management_Header::GetAsString()
<< Reliability_Header::GetAsString()
<< "Request ID: " << m_ui32RequestID
<< "\n";
return ss.str()... | pushq %r15
pushq %r14
pushq %rbx
subq $0x1f0, %rsp # imm = 0x1F0
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x68(%rsp), %rdi
callq 0x25250
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
callq 0x2b662
leaq 0x78(%rsp), %rdi
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
callq 0x253e0
movq %rax, %r15
leaq 0x5954f(%rip), %rsi ... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Remove_Entity_R_PDU.cpp |
non-virtual thunk to KDIS::PDU::Remove_Entity_R_PDU::GetAsString[abi:cxx11]() const | KString Remove_Entity_R_PDU::GetAsString() const
{
KStringStream ss;
ss << Header::GetAsString()
<< "-Remove Entity-R PDU-\n"
<< Simulation_Management_Header::GetAsString()
<< Reliability_Header::GetAsString()
<< "Request ID: " << m_ui32RequestID
<< "\n";
return ss.str()... | pushq %rbx
movq %rdi, %rbx
addq $-0x50, %rsi
callq 0x65a84
movq %rbx, %rax
popq %rbx
retq
| /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Remove_Entity_R_PDU.cpp |
non-virtual thunk to KDIS::PDU::Set_Data_R_PDU::GetAsString[abi:cxx11]() const | KString Set_Data_R_PDU::GetAsString() const
{
KStringStream ss;
ss << Header::GetAsString()
<< "-Set Data-R PDU-\n"
<< Simulation_Management_Header::GetAsString()
<< Reliability_Header::GetAsString()
<< "Request ID: " << m_ui32RequestID
<< "\nNumber Fixed Da... | pushq %rbx
movq %rdi, %rbx
addq $-0x88, %rsi
callq 0x65dde
movq %rbx, %rax
popq %rbx
retq
nop
| /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Set_Data_R_PDU.cpp |
KDIS::PDU::Start_Resume_R_PDU::Decode(KDIS::KDataStream&, bool) | void Start_Resume_R_PDU::Decode(KDataStream &stream, bool ignoreHeader /*= true*/ ) noexcept(false)
{
if( ( stream.GetBufferSize() + ( ignoreHeader ? Header::HEADER6_PDU_SIZE : 0 ) ) < START_RESUME_R_PDU_SIZE )throw KException( __FUNCTION__, NOT_ENOUGH_DATA_IN_BUFFER );
Simulation_Management_Header::Decode( st... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x26758
movzwl %ax, %eax
testl %ebp, %ebp
movl $0xc, %ecx
cmovel %ebp, %ecx
addl %eax, %ecx
cmpl $0x2f, %ecx
jbe 0x67978
movzbl %bpl, %edx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5f0b8
leaq... | /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Start_Resume_R_PDU.cpp |
non-virtual thunk to KDIS::PDU::Stop_Freeze_R_PDU::GetAsString[abi:cxx11]() const | KString Stop_Freeze_R_PDU::GetAsString() const
{
KStringStream ss;
ss << Header::GetAsString()
<< "-Stop/Freeze-R PDU-\n"
<< Simulation_Management_Header::GetAsString()
<< "Real World Time:\n"
<< IndentString( m_RealWorldTime.GetAsString(), 1 )
<< "\tReason: " << Ge... | pushq %rbx
movq %rdi, %rbx
addq $-0x60, %rsi
callq 0x67d26
movq %rbx, %rax
popq %rbx
retq
| /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Stop_Freeze_R_PDU.cpp |
non-virtual thunk to KDIS::PDU::Stop_Freeze_R_PDU::Encode(KDIS::KDataStream&) const | void Stop_Freeze_R_PDU::Encode( KDataStream & stream ) const
{
Simulation_Management_Header::Encode( stream );
stream << KDIS_STREAM m_RealWorldTime
<< m_ui8Reason
<< m_ui8FrozenBehaviour
<< m_ui8ReqRelSrv
<< m_ui8Padding2
<< m_ui32RequestID;
} | addq $-0x60, %rdi
jmp 0x6838c
nop
| /jarvisfriends[P]KDIS/KDIS/PDU/Simulation_Management_With_Reliability/Stop_Freeze_R_PDU.cpp |
KDIS::PDU::Areal_Object_State_PDU::SetObjectType(KDIS::DATA_TYPE::ObjectType const&) | class KDIS_EXPORT ObjectType : public DataTypeBase
{
protected:
KUINT8 m_ui8Domain;
KUINT8 m_ui8EntityKind;
KUINT8 m_ui8Category;
KUINT8 m_ui8SubCategory;
public:
static const KUINT16 OBJECT_TYPE_SIZE = 4;
ObjectType();
ObjectType( KUINT8 Domain, KUINT8 Kind, KUINT8 Categoy, KUINT8 ... | movl 0x8(%rsi), %eax
movl %eax, 0x58(%rdi)
retq
nop
| /jarvisfriends[P]KDIS/KDIS/PDU/Synthetic_Environment/././../../DataTypes/ObjectType.h |
KDIS::PDU::Areal_Object_State_PDU::AddPoint(KDIS::DATA_TYPE::WorldCoordinates const&) | void Areal_Object_State_PDU::AddPoint( const WorldCoordinates & P )
{
m_ui16PDULength += WorldCoordinates::WORLD_COORDINATES_SIZE;
m_vPoints.push_back( P );
++m_ui16NumPoints;
} | pushq %rbx
movq %rdi, %rbx
addw $0x18, 0x20(%rdi)
movq %rsi, %rdx
movq 0xa0(%rdi), %rsi
cmpq 0xa8(%rdi), %rsi
je 0x68a22
leaq 0xbd817(%rip), %rax # 0x126218
addq $0x10, %rax
movq %rax, (%rsi)
movups 0x8(%rdx), %xmm0
movups %xmm0, 0x8(%rsi)
movq 0x18(%rdx), %rax
movq %rax, 0x18(%rsi)
addq $0x20, 0xa0(%rbx)
jmp 0x68a... | /jarvisfriends[P]KDIS/KDIS/PDU/Synthetic_Environment/Areal_Object_State_PDU.cpp |
KDIS::PDU::Environmental_Process_PDU::~Environmental_Process_PDU() | Environmental_Process_PDU::~Environmental_Process_PDU()
{
m_vEnvRecords.clear();
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
leaq 0xbb519(%rip), %rax # 0x125228
movq %rax, (%rdi)
leaq 0x50(%rdi), %r14
movq 0x50(%rdi), %r12
movq 0x58(%rdi), %r13
cmpq %r12, %r13
je 0x69d3b
movq %r12, %r15
movq (%r15), %rax
movq %r15, %rdi
callq *(%rax)
addq $0x18, %r15
cmpq %r13, %r15
j... | /jarvisfriends[P]KDIS/KDIS/PDU/Synthetic_Environment/Environmental_Process_PDU.cpp |
KDIS::DATA_TYPE::EmitterBeam::operator==(KDIS::DATA_TYPE::EmitterBeam const&) const | KBOOL EmitterBeam::operator == ( const EmitterBeam & Value ) const
{
if( m_ui8BeamDataLength != Value.m_ui8BeamDataLength ) return false;
if( m_ui8EmitterBeamIDNumber != Value.m_ui8EmitterBeamIDNumber ) return false;
if( m_ui16BeamParamIndex != Value.m_ui16BeamPa... | movb 0x8(%rdi), %al
cmpb 0x8(%rsi), %al
jne 0x7d8f7
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movb 0x9(%rdi), %al
cmpb 0x9(%rsi), %al
jne 0x7d8ed
movzwl 0xa(%r14), %eax
cmpw 0xa(%rbx), %ax
jne 0x7d8ed
leaq 0x10(%r14), %rdi
leaq 0x10(%rbx), %rsi
callq 0x81902
testb %al, %al
jne 0x7d8ed
movb 0x40(%... | /jarvisfriends[P]KDIS/KDIS/DataTypes/EmitterBeam.cpp |
KDIS::DATA_TYPE::EntityCapabilities::EntityCapabilities(bool, bool, bool, bool) | EntityCapabilities::EntityCapabilities( KBOOL AmunitionSupply, KBOOL FuelSupply, KBOOL RecoveryService, KBOOL RepairService )
{
m_Unused = 0;
m_AmmunitionSupply = AmunitionSupply;
m_FuelSupply = FuelSupply;
m_RecoveryService = RecoveryService;
m_RepairService = RepairService;
m_ADSB = 0;
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %r8d, %ebx
movl %ecx, %r14d
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %r13
callq 0x7b160
leaq 0xa6e48(%rip), %rax # 0x125ba8
movq %rax, (%r13)
leal (%r12,%r15,2), %eax
leal (%rax,%r14,4), %eax
leal (%rax,%rbx,8), %eax
movl %eax, 0x8(%r13)
popq %rbx
popq... | /jarvisfriends[P]KDIS/KDIS/DataTypes/EntityCapabilities.cpp |
KDIS::DATA_TYPE::EntityCapabilities::GetAsString[abi:cxx11]() const | KString EntityCapabilities::GetAsString() const
{
KStringStream ss;
ss << "Entity Capabilities"
<< "\n\tAmmunition Supply: " << m_AmmunitionSupply
<< "\n\tFuel Supply: " << m_FuelSupply
<< "\n\tRecovery Service: " << m_RecoveryService
<< "\n\tRepair Service: " ... | pushq %r15
pushq %r14
pushq %rbx
subq $0x190, %rsp # imm = 0x190
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x25250
leaq 0x18(%rsp), %r15
leaq 0x412bd(%rip), %rsi # 0xc014d
movl $0x13, %edx
movq %r15, %rdi
callq 0x253e0
leaq 0x412bd(%rip), %rsi # 0xc0161
movl $0x18, %edx
movq %r15, %r... | /jarvisfriends[P]KDIS/KDIS/DataTypes/EntityCapabilities.cpp |
KDIS::DATA_TYPE::EntityIdentifier::Decode(KDIS::KDataStream&) | void EntityIdentifier::Decode(KDataStream &stream) noexcept(false)
{
if( stream.GetBufferSize() < EntityIdentifier::ENTITY_IDENTIFER_SIZE )throw KException( __FUNCTION__, NOT_ENOUGH_DATA_IN_BUFFER );
SimulationIdentifier::Decode( stream );
stream >> m_ui16EntityID;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x26758
cmpw $0x5, %ax
jbe 0x7f32c
movq %r14, %rdi
movq %rbx, %rsi
callq 0x84a1a
addq $0xc, %r14
movq %rbx, %rdi
movq %r14, %rsi
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x29ef0
movl $0... | /jarvisfriends[P]KDIS/KDIS/DataTypes/EntityIdentifier.cpp |
KDIS::DATA_TYPE::EntityMarking::GetAsString[abi:cxx11]() const | KString EntityMarking::GetAsString() const
{
KStringStream ss;
ss << "Entity Marking:"
<< "\n\tMaring Char Set: " << GetEnumAsStringEntityMarkingCharacterSet( m_ui8EntityMarkingCharacterSet )
<< "\n\tMarking String: " << GetEntityMarkingString()
<< "\n";
return ss.str();
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d0, %rsp # imm = 0x1D0
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x48(%rsp), %rdi
callq 0x25250
leaq 0x58(%rsp), %r15
leaq 0x40961(%rip), %rsi # 0xc025b
movl $0xf, %edx
movq %r15, %rdi
callq 0x253e0
leaq 0x4095d(%rip), %rsi # 0xc026b
movl $0x... | /jarvisfriends[P]KDIS/KDIS/DataTypes/EntityMarking.cpp |
KDIS::DATA_TYPE::MunitionDescriptor::operator==(KDIS::DATA_TYPE::MunitionDescriptor const&) const | KBOOL MunitionDescriptor::operator == ( const MunitionDescriptor & Value ) const
{
if( Descriptor::operator != ( Value ) ) return false;
if( m_ui16Warhead != Value.m_ui16Warhead ) return false;
if( m_ui16Fuse != Value.m_ui16Fuse ) return false;
if( m_ui16Quantity != V... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x7bb00
testb %al, %al
jne 0x83986
movzwl 0x18(%r14), %eax
cmpw 0x18(%rbx), %ax
jne 0x83986
movzwl 0x1a(%r14), %eax
cmpw 0x1a(%rbx), %ax
jne 0x83986
movzwl 0x1c(%r14), %eax
cmpw 0x1c(%rbx), %ax
jne 0x83986
movzwl 0x1e(%r14), %eax
cmpw 0x1e(%rbx), %a... | /jarvisfriends[P]KDIS/KDIS/DataTypes/MunitionDescriptor.cpp |
KDIS::DATA_TYPE::NonHumanLifeFormAppearance::operator!=(KDIS::DATA_TYPE::NonHumanLifeFormAppearance const&) const | KBOOL NonHumanLifeFormAppearance::operator == ( const NonHumanLifeFormAppearance & Value ) const
{
// Lets do a single comparison instead of checking every field.
// This struct is basically a KUINT32 so lets cast it to one and compare.
KUINT32 a = *( KUINT32 * )this;
KUINT32 b = *( KUINT32 * )&Value;
... | movl (%rdi), %eax
cmpl (%rsi), %eax
setne %al
retq
| /jarvisfriends[P]KDIS/KDIS/DataTypes/NonHumanLifeFormAppearance.cpp |
KDIS::DATA_TYPE::RadioAppearance::operator==(KDIS::DATA_TYPE::RadioAppearance const&) const | KBOOL RadioAppearance::operator == ( const RadioAppearance & Value ) const
{
// Lets do a single comparison instead of checking every field.
// This struct is basically a KUINT32 so lets cast it to one and compare.
KUINT32 a = *( KUINT32 * )this;
KUINT32 b = *( KUINT32 * )&Value;
if( a != b )return false;... | movl (%rdi), %eax
cmpl (%rsi), %eax
sete %al
retq
| /jarvisfriends[P]KDIS/KDIS/DataTypes/RadioAppearance.cpp |
KDIS::DATA_TYPE::RadioEntityType::GetAsString[abi:cxx11]() const | KString RadioEntityType::GetAsString() const
{
KStringStream ss;
ss << ( KUINT16 )m_ui8EntityKind << " , "
<< ( KUINT16 )m_ui8Domain << " , "
<< ( KUINT16 )m_ui16Country << " , "
<< ( KUINT16 )m_ui8Category << " , "
<< ( KUINT16 )m_ui8Nome... | pushq %r15
pushq %r14
pushq %rbx
subq $0x190, %rsp # imm = 0x190
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %rdi
callq 0x25250
leaq 0x18(%rsp), %rdi
movzbl 0x8(%r14), %esi
callq 0x25220
movq %rax, %r15
leaq 0x3922d(%rip), %rsi # 0xbd0ea
movl $0x3, %edx
movq %rax, %rdi
callq 0x253e0
movzbl 0x9(%r14),... | /jarvisfriends[P]KDIS/KDIS/DataTypes/RadioEntityType.cpp |
KDIS::DATA_TYPE::RadioEntityType::Decode(KDIS::KDataStream&) | void RadioEntityType::Decode(KDataStream &stream) noexcept(false)
{
if( stream.GetBufferSize() < RADIO_ENTITY_TYPE_SIZE )throw KException( __FUNCTION__, NOT_ENOUGH_DATA_IN_BUFFER );
stream >> m_ui8EntityKind
>> m_ui8Domain
>> m_ui16Country
>> m_ui8Category
>> m_ui8No... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x26758
cmpw $0x7, %ax
jbe 0x84069
leaq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0x26a8e
leaq 0x9(%r14), %rsi
movq %rbx, %rdi
callq 0x26a8e
leaq 0xa(%r14), %rsi
movq %rbx, %rdi
callq 0x29ef0
leaq 0xc(%r14), %... | /jarvisfriends[P]KDIS/KDIS/DataTypes/RadioEntityType.cpp |
KDIS::DATA_TYPE::RadioEntityType::operator==(KDIS::DATA_TYPE::RadioEntityType const&) const | KBOOL RadioEntityType::operator == ( const RadioEntityType & Value ) const
{
if( m_ui8EntityKind != Value.m_ui8EntityKind ) return false;
if( m_ui8Domain != Value.m_ui8Domain ) return false;
if( m_ui16Country != Value.m_ui16Country ) retur... | movq 0x8(%rdi), %rax
cmpq 0x8(%rsi), %rax
sete %al
retq
| /jarvisfriends[P]KDIS/KDIS/DataTypes/RadioEntityType.cpp |
KDIS::DATA_TYPE::ConeRecord1::GetAsString[abi:cxx11]() const | KString ConeRecord1::GetAsString() const
{
KStringStream ss;
ss << EnvironmentRecord::GetAsString()
<< "\tVertex Location: " << m_Loc.GetAsString()
<< "\tOrientation: " << m_Ori.GetAsString()
<< "\tHeight: " << m_f32Height << "\n"
<< "\tPeak Angle: " << m_f... | pushq %r15
pushq %r14
pushq %rbx
subq $0x1f0, %rsp # imm = 0x1F0
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x68(%rsp), %rdi
callq 0x25250
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
callq 0x8af16
leaq 0x78(%rsp), %rdi
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
callq 0x253e0
movq %rax, %r15
leaq 0x1a5f4(%rip), %rsi ... | /jarvisfriends[P]KDIS/KDIS/DataTypes/ConeRecord1.cpp |
KDIS::DATA_TYPE::ConeRecord2::ConeRecord2(unsigned char, KDIS::DATA_TYPE::WorldCoordinates const&, KDIS::DATA_TYPE::EulerAngles const&, KDIS::DATA_TYPE::Vector const&, KDIS::DATA_TYPE::Vector const&, float, float, float, float) | ConeRecord2::ConeRecord2( KUINT8 Index, const WorldCoordinates & VertexLocation, const EulerAngles & Orientation,
const Vector & Velocity, const Vector & AngularVelocity, KFLOAT32 Height,
KFLOAT32 PeakAngle, KFLOAT32 DHeightOverDt, KFLOAT32 DPeakAngleOverDt ) :
Co... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movss %xmm3, 0xc(%rsp)
movss %xmm2, 0x8(%rsp)
movq %r9, %rbx
movq %r8, %r14
movq %rdi, %r15
callq 0xb5004
leaq 0x7f236(%rip), %rax # 0x134920
movq %rax, (%r15)
leaq 0x70acc(%rip), %rax # 0x1261c0
addq $0x10, %rax
movq %rax, 0x58(%r15)
movq 0x8(%r14), %rcx
movq %... | /jarvisfriends[P]KDIS/KDIS/DataTypes/ConeRecord2.cpp |
main | int main()
{
Ticket obj({{1975, 1, 2},"Vietnam"},{{1955,1,1},"Sweet home Alabama"},500);
Ticket obj1({{2014, 3, 10},"Minsk"},{{2014,2,2},"London"},1999);
Ticket obj2({{2014, 4, 10},"Moscow"},{{2014,4,2},"Amsterdam"},1999);
Ticket obj3({{2014, 5, 10},"Minsk"},{{2014,5,3},"London"},1999);
Airport airport;
airport.set... | pushq %r15
pushq %r14
pushq %rbx
subq $0x3c0, %rsp # imm = 0x3C0
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
movl $0x7b7, %esi # imm = 0x7B7
movl $0x1, %edx
movl $0x2, %ecx
callq 0x8a62
movl (%rbx), %eax
leaq 0x1c8(%rsp), %rdi
movl %eax, -0x8(%rdi)
leaq 0x1d8(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x17... | /EgorWK4[P]Flights-booking-/main.cpp |
Airport::Airport(std::map<unsigned int, Ticket, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, Ticket>>>, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | Airport::Airport(std::map<unsigned,Ticket> tickets, unsigned runway_strips, string name)
: tickets(tickets), runway_strips(runway_strips), name(name){} | pushq %rbp
pushq %r14
pushq %rbx
movq %rcx, %r14
movl %edx, %ebp
movq %rdi, %rbx
callq 0x1bfbc
movl %ebp, 0x30(%rbx)
leaq 0x38(%rbx), %rdi
leaq 0x48(%rbx), %rax
movq %rax, 0x38(%rbx)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
callq 0xf82e
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
ca... | /EgorWK4[P]Flights-booking-/airport.cpp |
Airport::push_ticket(Ticket const&) | void Airport::push_ticket(const Ticket &obj)
{
tickets.insert({obj.id,obj});
} | pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rsi, %rdx
movq %rdi, %rbx
addq $0x58, %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0x1bec2
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1c4d0
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1bac8
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6320
leaq 0x20(%rsp), %rax
m... | /EgorWK4[P]Flights-booking-/airport.cpp |
User::User() | User::User()
{
tickets = std::list<Ticket>();
first_name = std::string();
second_name = std::string();
string passport_id();
age = int();
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq %rdi, 0x8(%rdi)
movq %rdi, (%rdi)
xorl %r13d, %r13d
movq %r13, 0x10(%rdi)
leaq 0x18(%rdi), %r15
leaq 0x28(%rdi), %rax
movq %rax, 0x18(%rdi)
movq %r13, 0x20(%rdi)
movb %r13b, 0x28(%rdi)
leaq 0x38(%rdi), %r14
leaq 0x48... | /EgorWK4[P]Flights-booking-/customer.cpp |
process_ctl | static void
process_ctl(ps_decoder_t *ps, cmd_ln_t *config, FILE *ctlfh)
{
int32 ctloffset, ctlcount, ctlincr;
int32 i;
char *line;
size_t len;
FILE *hypfh = NULL, *hypsegfh = NULL, *ctmfh = NULL;
FILE *mllrfh = NULL, *lmfh = NULL, *fsgfh = NULL, *alignfh = NULL;
double n_speech, n_cpu, n_wa... | pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp # imm = 0x170
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq $0x0, -0x40(%rbp)
movq $0x0, -0x48(%rbp)
movq $0x0, -0x50(%rbp)
movq $0x0, -0x58(%rbp)
movq $0x0, -0x60(%rbp)
movq $0x0, -0x68(%rbp)
movq $0x0, -0x70(%rbp)
movq -0x10(%rbp), %rd... | /cmusphinx[P]pocketsphinx/programs/pocketsphinx_batch.c |
process_lmnamectl_line | static int
process_lmnamectl_line(ps_decoder_t *ps, cmd_ln_t *config, char const *lmname)
{
(void)config;
if (!lmname)
return 0;
E_INFO("Using language model: %s\n", lmname);
if (ps_activate_search(ps, lmname)) {
E_ERROR("No such language model: %s\n", lmname);
return -1;
}
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x84d4
movl $0x0, -0x4(%rbp)
jmp 0x853c
movq -0x20(%rbp), %r8
movl $0x1, %edi
leaq 0x6cb28(%rip), %rsi # 0x7500c
movl $0x14f, %edx # imm = 0x14F
leaq 0x6ee3f(%rip), ... | /cmusphinx[P]pocketsphinx/programs/pocketsphinx_batch.c |
write_ctm | static int
write_ctm(FILE *fh, ps_decoder_t *ps, ps_seg_t *itor, char const *uttid, int32 frate)
{
logmath_t *lmath = ps_get_logmath(ps);
char *dupid, *show, *channel, *c;
double ustart = 0.0;
/* We have semi-standardized on comma-separated uttids which
* correspond to the fields of the STM file. ... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq -0x10(%rbp), %rdi
callq 0xece0
movq %rax, -0x30(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -0x58(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x90a5
movq -0x20(%rbp), %rax
mov... | /cmusphinx[P]pocketsphinx/programs/pocketsphinx_batch.c |
build_outdirs | static int
build_outdirs(cmd_ln_t *config, char const *uttid)
{
char *uttpath = ckd_salloc(uttid);
path2dirname(uttid, uttpath);
build_outdir_one(config, "outlatdir", uttpath);
build_outdir_one(config, "mfclogdir", uttpath);
build_outdir_one(config, "rawlogdir", uttpath);
build_outdir_one(confi... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
leaq 0x6b9e1(%rip), %rsi # 0x7500c
movl $0x19b, %edx # imm = 0x19B
callq 0x23d20
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x20cb0
movq -0x8(%rbp), %rdi
movq -0... | /cmusphinx[P]pocketsphinx/programs/pocketsphinx_batch.c |
dict_word2basestr | int32
dict_word2basestr(char *word)
{
int32 i, len;
len = strlen(word);
if (word[len - 1] == ')') {
for (i = len - 2; (i > 0) && (word[i] != '('); --i);
if (i > 0) {
/* The word is of the form <baseword>(...); strip from left-paren */
word[i] = '\0';
ret... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
callq 0x7130
movl %eax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movl -0x18(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0x29, %eax
jne 0x9e79
movl -0x18(%rbp), %eax
subl $0x2, %eax
movl %eax, -0x14(%rbp)... | /cmusphinx[P]pocketsphinx/src/dict.c |
dict_free | int
dict_free(dict_t * d)
{
int i;
dictword_t *word;
if (d == NULL)
return 0;
if (--d->refcnt > 0)
return d->refcnt;
/* First Step, free all memory allocated for each word */
for (i = 0; i < d->n_word; i++) {
word = (dictword_t *) & (d->word[i]);
if (word->word)... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0xac8f
movl $0x0, -0x4(%rbp)
jmp 0xad6a
movq -0x10(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jle 0xacad
movq -0x10(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0xad6a
movl $0x0... | /cmusphinx[P]pocketsphinx/src/dict.c |
fsg_model_trans | glist_t
fsg_model_trans(fsg_model_t * fsg, int32 i, int32 j)
{
void *val;
if (fsg->trans[i].trans == NULL)
return NULL;
if (hash_table_lookup_bkey(fsg->trans[i].trans, (char const *) &j,
sizeof(j), &val) < 0)
return NULL;
return (glist_t) val;
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x48(%rax), %rax
movslq -0x14(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
cmpq $0x0, 0x8(%rax)
jne 0xb0e6
movq $0x0, -0x8(%rbp)
jmp 0xb126
movq -0x10(%rbp), %rax
movq 0x48(%rax), ... | /cmusphinx[P]pocketsphinx/src/lm/fsg_model.c |
fsg_model_null_trans | fsg_link_t *
fsg_model_null_trans(fsg_model_t * fsg, int32 i, int32 j)
{
void *val;
if (fsg->trans[i].null_trans == NULL)
return NULL;
if (hash_table_lookup_bkey(fsg->trans[i].null_trans, (char const *) &j,
sizeof(j), &val) < 0)
return NULL;
return (fsg_li... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x48(%rax), %rax
movslq -0x14(%rbp), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
cmpq $0x0, (%rax)
jne 0xb305
movq $0x0, -0x8(%rbp)
jmp 0xb344
movq -0x10(%rbp), %rax
movq 0x48(%rax), %ra... | /cmusphinx[P]pocketsphinx/src/lm/fsg_model.c |
fsg_model_null_trans_closure | glist_t
fsg_model_null_trans_closure(fsg_model_t * fsg, glist_t nulls)
{
gnode_t *gn1;
int updated;
fsg_link_t *tl1, *tl2;
int32 k, n;
E_INFO("Computing transitive closure for null transitions\n");
/* If our caller didn't give us a list of null-transitions,
make such a list. Just loop t... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x1, %edi
leaq 0x6c774(%rip), %rsi # 0x77b20
movl $0xbe, %edx
leaq 0x6c853(%rip), %rcx # 0x77c0b
movb $0x0, %al
callq 0x23450
cmpq $0x0, -0x10(%rbp)
jne 0xb44b
movl $0x0, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
movq -0x8(%... | /cmusphinx[P]pocketsphinx/src/lm/fsg_model.c |
nextline_str2words | static int32
nextline_str2words(FILE * fp, int32 * lineno,
char **lineptr, char ***wordptr)
{
for (;;) {
size_t len;
int32 n;
ckd_free(*lineptr);
if ((*lineptr = fread_line(fp, &len)) == NULL)
return -1;
(*lineno)++;
if ((*lineptr)[0]... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq -0x20(%rbp), %rax
movq (%rax), %rdi
callq 0x23e40
movq -0x10(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x276a0
movq -0x20(%rbp), %rcx
movq %rax, (%rcx)
cmpq $0x0, %rax
jne 0xc87a
m... | /cmusphinx[P]pocketsphinx/src/lm/fsg_model.c |
fsg_model_writefile | void
fsg_model_writefile(fsg_model_t * fsg, char const *file)
{
FILE *fp;
assert(fsg);
E_INFO("Writing FSG file '%s'\n", file);
if ((fp = fopen(file, "w")) == NULL) {
E_ERROR_SYSTEM("Failed to open FSG file '%s' for reading", file);
return;
}
fsg_model_write(fsg, fp);
fc... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0xcdc9
jmp 0xcde8
leaq 0x6988c(%rip), %rdi # 0x7665c
leaq 0x6ad49(%rip), %rsi # 0x77b20
movl $0x33b, %edx # imm = 0x33B
leaq 0x6b1ea(%rip), %rcx # 0x77fcd
callq 0x71c0
movq -0x10(%rbp... | /cmusphinx[P]pocketsphinx/src/lm/fsg_model.c |
fsg_model_write_fsm | void
fsg_model_write_fsm(fsg_model_t * fsg, FILE * fp)
{
int i;
/* Write transitions from initial state first. */
fsg_model_write_fsm_trans(fsg, fsg_model_start_state(fsg), fp);
/* Other states. */
for (i = 0; i < fsg->n_state; i++) {
if (i == fsg_model_start_state(fsg))
contin... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x3c(%rax), %esi
movq -0x10(%rbp), %rdx
callq 0xcf00
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x38(%rcx), %eax
jge 0xced0
movl -0x14(%rbp), %eax
movq ... | /cmusphinx[P]pocketsphinx/src/lm/fsg_model.c |
apply_closure | static void
apply_closure(fsg_model_t *fsg, bitvec_t *active)
{
int state;
/* This is a bit slow, sorry. */
for (state = 0; state < fsg_model_n_state(fsg); ++state) {
hash_table_t *null_trans;
hash_iter_t *itor;
if (!bitvec_is_set(active, state))
continue;
null_... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x38(%rcx), %eax
jge 0xd721
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movl -0x14(%rbp), %eax
movl $0x20, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq -0x38(%... | /cmusphinx[P]pocketsphinx/src/lm/fsg_model.c |
ps_expand_file_config | static void
ps_expand_file_config(ps_config_t *config, const char *arg,
const char *hmmdir, const char *file)
{
const char *val;
if ((val = ps_config_str(config, arg)) == NULL) {
char *tmp = string_join(hmmdir, "/", file, NULL);
if (file_exists(tmp))
ps_config_set_str(config,... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x13700
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
jne 0xd958
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rdx
leaq 0x69a0f(%rip), %rsi #... | /cmusphinx[P]pocketsphinx/src/pocketsphinx.c |
hmmdir_exists | static int
hmmdir_exists(const char *path)
{
FILE *tmp;
char *mdef = string_join(path, "/means", NULL);
tmp = fopen(mdef, "rb");
if (tmp) fclose(tmp);
ckd_free(mdef);
return (tmp != NULL);
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x6ab78(%rip), %rsi # 0x7881f
xorl %eax, %eax
movl %eax, %edx
movb $0x0, %al
callq 0x1b790
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
leaq 0x6976b(%rip), %rsi # 0x7742c
callq 0x7380
movq %rax, -0x10(%rbp)
cmpq $0x0, ... | /cmusphinx[P]pocketsphinx/src/pocketsphinx.c |
ps_reinit | int
ps_reinit(ps_decoder_t *ps, ps_config_t *config)
{
const char *path;
const char *keyphrase;
int32 lw;
/* Enforce only one of keyphrase, kws, fsg, jsgf, allphone, lm */
if (config) {
if (ps_config_validate(config) < 0)
return -1;
}
else if (ps->config) {
if (p... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0xdde6
movq -0x18(%rbp), %rdi
callq 0x13580
cmpl $0x0, %eax
jge 0xdde4
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0xe58c
jmp 0xde11
movq -0x10(%rbp), %rax
cmpq $0x0, (%rax)
je 0xde0f
movq -0x10(%... | /cmusphinx[P]pocketsphinx/src/pocketsphinx.c |
ps_activate_search | int
ps_activate_search(ps_decoder_t *ps, const char *name)
{
ps_search_t *search;
if (ps->acmod->state != ACMOD_ENDED && ps->acmod->state != ACMOD_IDLE) {
E_ERROR("Cannot change search while decoding, end utterance first\n");
return -1;
}
if (name == NULL)
name = PS_DEFAULT_SEA... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movzbl 0xa8(%rax), %eax
cmpl $0x3, %eax
je 0xe6f3
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movzbl 0xa8(%rax), %eax
cmpl $0x0, %eax
je 0xe6f3
movl $0x3, %edi
leaq 0x69b00(%rip), %rsi... | /cmusphinx[P]pocketsphinx/src/pocketsphinx.c |
ps_free | int
ps_free(ps_decoder_t *ps)
{
if (ps == NULL)
return 0;
if (--ps->refcount > 0)
return ps->refcount;
ps_free_searches(ps);
dict_free(ps->dict);
dict2pid_free(ps->d2p);
acmod_free(ps->acmod);
logmath_free(ps->lmath);
ps_config_free(ps->config);
ckd_free(ps);
retu... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0xec1c
movl $0x0, -0x4(%rbp)
jmp 0xec93
movq -0x10(%rbp), %rcx
movl 0x8(%rcx), %eax
addl $-0x1, %eax
movl %eax, 0x8(%rcx)
cmpl $0x0, %eax
jle 0xec3a
movq -0x10(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0xec93
... | /cmusphinx[P]pocketsphinx/src/pocketsphinx.c |
ps_set_alignment | int
ps_set_alignment(ps_decoder_t *ps, ps_alignment_t *al)
{
ps_search_t *search;
int new_alignment = FALSE;
if (al == NULL) {
ps_seg_t *seg;
seg = ps_seg_iter(ps);
if (seg == NULL)
return -1;
al = ps_alignment_init(ps->d2p);
new_alignment = TRUE;
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl $0x0, -0x24(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0xf510
movq -0x10(%rbp), %rdi
callq 0xf5a0
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
jne 0xf472
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0xf597
movq -0x10(%rbp), %ra... | /cmusphinx[P]pocketsphinx/src/pocketsphinx.c |
ps_add_jsgf_string | int
ps_add_jsgf_string(ps_decoder_t *ps, const char *name, const char *jsgf_string)
{
fsg_model_t *fsg;
jsgf_rule_t *rule;
char const *toprule;
jsgf_t *jsgf = jsgf_parse_string(jsgf_string, NULL);
float lw;
int result;
if (!jsgf)
return -1;
rule = NULL;
/* Take the -toprule if specified. */
... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x20(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x426b0
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
jne 0xf698
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0xf7bc
movq $0x0, -0x30(%rbp)... | /cmusphinx[P]pocketsphinx/src/pocketsphinx.c |
ps_process_raw | int
ps_process_raw(ps_decoder_t *ps,
int16 const *data,
size_t n_samples,
int no_search,
int full_utt)
{
int n_searchfr = 0;
if (ps->acmod->state == ACMOD_IDLE) {
E_ERROR("Failed to process data, utterance is not started. Use start_utt to start it\n"... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movl %r8d, -0x28(%rbp)
movl $0x0, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movq 0x10(%rax), %rax
movzbl 0xa8(%rax), %eax
cmpl $0x0, %eax
jne 0x103de
movl $0x3, %edi
leaq 0x67e12(%rip), %rsi ... | /cmusphinx[P]pocketsphinx/src/pocketsphinx.c |
ps_end_utt | int
ps_end_utt(ps_decoder_t *ps)
{
int rv, i;
if (ps->search == NULL) {
E_ERROR("No search module is selected, did you forget to "
"specify a language model or grammar?\n");
return -1;
}
if (ps->acmod->state == ACMOD_ENDED || ps->acmod->state == ACMOD_IDLE) {
E_ERROR("U... | pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x90, %rsp
movq %rdi, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpq $0x0, 0x38(%rax)
jne 0x104b8
movl $0x3, %edi
leaq 0x67d3b(%rip), %rsi # 0x781d4
movl $0x51b, %edx # imm = 0x51B
leaq 0x68145(%rip), %rcx # 0x785ea
movb $0x0, %al
callq 0x23450
movl $0x... | /cmusphinx[P]pocketsphinx/src/pocketsphinx.c |
ps_get_hyp | char const *
ps_get_hyp(ps_decoder_t *ps, int32 *out_best_score)
{
char const *hyp;
if (ps->search == NULL) {
E_ERROR("No search module is selected, did you forget to "
"specify a language model or grammar?\n");
return NULL;
}
ptmr_start(&ps->perf);
hyp = ps_search_h... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x38(%rax)
jne 0x10b84
movl $0x3, %edi
leaq 0x6766d(%rip), %rsi # 0x781d4
movl $0x562, %edx # imm = 0x562
leaq 0x67a77(%rip), %rcx # 0x785ea
movb $0x0, %al
callq 0x23450
movq $0... | /cmusphinx[P]pocketsphinx/src/pocketsphinx.c |
ps_get_prob | int32
ps_get_prob(ps_decoder_t *ps)
{
int32 prob;
if (ps->search == NULL) {
E_ERROR("No search module is selected, did you forget to "
"specify a language model or grammar?\n");
return -1;
}
ptmr_start(&ps->perf);
prob = ps_search_prob(ps->search);
ptmr_stop(&ps-... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x38(%rax)
jne 0x10cdf
movl $0x3, %edi
leaq 0x67511(%rip), %rsi # 0x781d4
movl $0x572, %edx # imm = 0x572
leaq 0x6791b(%rip), %rcx # 0x785ea
movb $0x0, %al
callq 0x23450
movl $0xffffffff, -0x4(%rbp) #... | /cmusphinx[P]pocketsphinx/src/pocketsphinx.c |
ps_alignment_free | int
ps_alignment_free(ps_alignment_t *al)
{
if (al == NULL)
return 0;
if (--al->refcount > 0)
return al->refcount;
dict2pid_free(al->d2p);
ckd_free(al->word.seq);
ckd_free(al->sseq.seq);
ckd_free(al->state.seq);
ckd_free(al);
return 0;
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x1148c
movl $0x0, -0x4(%rbp)
jmp 0x114eb
movq -0x10(%rbp), %rcx
movl (%rcx), %eax
addl $-0x1, %eax
movl %eax, (%rcx)
cmpl $0x0, %eax
jle 0x114a7
movq -0x10(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x4(%rbp)
jmp 0x114eb
movq ... | /cmusphinx[P]pocketsphinx/src/ps_alignment.c |
ps_alignment_add_word | int
ps_alignment_add_word(ps_alignment_t *al,
int32 wid, int start, int duration)
{
ps_alignment_entry_t *ent;
if ((ent = ps_alignment_vector_grow_one(&al->word)) == NULL)
return 0;
ent->id.wid = wid;
ent->start = start;
ent->duration = duration;
ent->score = 0;
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x10(%rbp), %rdi
addq $0x10, %rdi
callq 0x11590
movq %rax, -0x28(%rbp)
cmpq $0x0, %rax
jne 0x11535
movl $0x0, -0x4(%rbp)
jmp 0x1157e
movl -0x14(%rbp), %ecx
movq -0x28(%rbp), %rax... | /cmusphinx[P]pocketsphinx/src/ps_alignment.c |
ps_alignment_populate | int
ps_alignment_populate(ps_alignment_t *al)
{
dict2pid_t *d2p;
dict_t *dict;
bin_mdef_t *mdef;
int i, lc;
/* Clear phone and state sequences. */
ps_alignment_vector_empty(&al->sseq);
ps_alignment_vector_empty(&al->state);
/* For each word, expand to phones/senone sequences. */
d2... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
addq $0x20, %rdi
callq 0x11d20
movq -0x10(%rbp), %rdi
addq $0x30, %rdi
callq 0x11d20
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x18... | /cmusphinx[P]pocketsphinx/src/ps_alignment.c |
ps_alignment_propagate | int
ps_alignment_propagate(ps_alignment_t *al)
{
ps_alignment_entry_t *last_ent = NULL;
int i;
/* Propagate duration up from states to phones. */
for (i = 0; i < al->state.n_ent; ++i) {
ps_alignment_entry_t *sent = al->state.seq + i;
ps_alignment_entry_t *pent = al->sseq.seq + sent->par... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq $0x0, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x8(%rbp), %rcx
movzwl 0x38(%rcx), %ecx
cmpl %ecx, %eax
jge 0x12150
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0x14(%rbp), %rcx
imulq $0x1c, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x20(%r... | /cmusphinx[P]pocketsphinx/src/ps_alignment.c |
ps_alignment_phones | ps_alignment_iter_t *
ps_alignment_phones(ps_alignment_t *al)
{
ps_alignment_iter_t *itor;
if (al->sseq.n_ent == 0)
return NULL;
itor = ckd_calloc(1, sizeof(*itor));
itor->al = al;
itor->vec = &al->sseq;
itor->pos = 0;
/* Iterate over *all* phones */
itor->parent = PS_ALIGNMENT_... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movzwl 0x28(%rax), %eax
cmpl $0x0, %eax
jne 0x122c3
movq $0x0, -0x8(%rbp)
jmp 0x1231b
movl $0x1, %edi
movl $0x20, %esi
leaq 0x66552(%rip), %rdx # 0x78826
movl $0x176, %ecx # imm = 0x176
callq 0x23c10
movq %rax, -0x1... | /cmusphinx[P]pocketsphinx/src/ps_alignment.c |
ps_alignment_iter_name | const char *
ps_alignment_iter_name(ps_alignment_iter_t *itor)
{
ps_alignment_entry_t *ent;
if (itor == NULL)
return NULL;
ent = ps_alignment_iter_get(itor);
if (itor->vec == &itor->al->word) {
return dict_wordstr(itor->al->d2p->dict,
ent->id.wid);
}
e... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x12410
movq $0x0, -0x8(%rbp)
jmp 0x125d0
movq -0x10(%rbp), %rdi
callq 0x123c0
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x10(%rbp), %rcx
movq (%rcx), %rcx
addq $0x10, %rcx
cmpq %rcx, %rax
jne 0x... | /cmusphinx[P]pocketsphinx/src/ps_alignment.c |
ps_alignment_iter_children | ps_alignment_iter_t *
ps_alignment_iter_children(ps_alignment_iter_t *itor)
{
ps_alignment_iter_t *itor2;
if (itor == NULL)
return NULL;
if (itor->vec == &itor->al->state)
return NULL;
if (itor->vec->seq[itor->pos].child == PS_ALIGNMENT_NONE)
return NULL;
itor2 = ckd_calloc(1... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x127f0
movq $0x0, -0x8(%rbp)
jmp 0x128e9
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x10(%rbp), %rcx
movq (%rcx), %rcx
addq $0x30, %rcx
cmpq %rcx, %rax
jne 0x12815
movq $0x0, -0x8(%rbp)
jmp 0x128e9
movq -0x10(%rbp), %r... | /cmusphinx[P]pocketsphinx/src/ps_alignment.c |
jsmn_parse | JSMN_API int jsmn_parse(jsmn_parser *parser, const char *js, const size_t len,
jsmntok_t *tokens, const unsigned int num_tokens) {
int r;
int i;
jsmntok_t *token;
int count = parser->toknext;
for (; parser->pos < len && js[parser->pos] != '\0'; parser->pos++) {
char c;
jsmntyp... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movl %r8d, -0x2c(%rbp)
movq -0x10(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0x44(%rbp)
movq -0x10(%rbp), %rax
movl (%rax), %eax
movl %eax, %ecx
xorl %eax, %eax
cmpq -0x20(%rbp), %rc... | /cmusphinx[P]pocketsphinx/src/jsmn.h |
ps_config_init | ps_config_t *
ps_config_init(const ps_arg_t *defn)
{
ps_config_t *config = ckd_calloc(1, sizeof(*config));
int i, ndef;
config->refcount = 1;
if (defn)
config->defn = defn;
else
config->defn = ps_args_def;
for (ndef = 0; config->defn[ndef].name; ndef++)
;
config-... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl $0x1, %edi
movl $0x30, %esi
leaq 0x65797(%rip), %rdx # 0x78a44
movl $0x37, %ecx
callq 0x23c10
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movl $0x1, (%rax)
cmpq $0x0, -0x8(%rbp)
je 0x132da
movq -0x8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx... | /cmusphinx[P]pocketsphinx/src/ps_config.c |
ps_config_validate | int
ps_config_validate(ps_config_t *config)
{
int i, found = 0;
for (i = 0; i < nsearches; ++i) {
if (ps_config_str(config, searches[i]) != NULL)
if (++found > 1)
break;
}
if (found > 1) {
int len = strlen("Only one of ");
char *msg;
for (i = 0... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl $0x0, -0x18(%rbp)
movl $0x0, -0x14(%rbp)
cmpl $0x7, -0x14(%rbp)
jge 0x135dd
movq -0x10(%rbp), %rdi
movslq -0x14(%rbp), %rcx
leaq 0x80cb1(%rip), %rax # 0x94260
movq (%rax,%rcx,8), %rsi
callq 0x13700
cmpq $0x0, %rax
je 0x135d0
movl -0x18(%rbp), %... | /cmusphinx[P]pocketsphinx/src/ps_config.c |
ps_config_str | char const *
ps_config_str(cmd_ln_t *config, char const *name)
{
cmd_ln_val_t *val;
val = cmd_ln_access_r(config, name);
if (val == NULL)
return NULL;
if (!(val->type & ARG_STRING)) {
E_ERROR("Argument %s does not have string type\n", name);
return NULL;
}
return (char co... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x20e00
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x13732
movq $0x0, -0x8(%rbp)
jmp 0x13779
movq -0x20(%rbp), %rax
movl 0x8(%rax), %eax
andl $0x8, %eax
cmpl $0x0, %eax
jn... | /cmusphinx[P]pocketsphinx/src/ps_config.c |
ps_config_set_str | const anytype_t *
ps_config_set_str(ps_config_t *config, char const *name, char const *val)
{
cmd_ln_val_t *cval = cmd_ln_access_r(config, name);
if (cval == NULL) {
E_ERROR("Unknown parameter %s\n", name);
return NULL;
}
if (anytype_from_str(&cval->val, cval->type, val) == NULL) {
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x20e00
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x28(%rbp)
jne 0x13e69
movq -0x18(%rbp), %r8
movl $0x3, %edi
leaq 0x64bf8(%rip), %rsi # 0x78a44
movl $0x2c9,... | /cmusphinx[P]pocketsphinx/src/ps_config.c |
build_json | static int
build_json(ps_config_t *config, char *json, int len)
{
hash_iter_t *itor;
char *ptr = json;
int l, rv = 0;
if ((l = snprintf(ptr, len, "{\n")) < 0)
return -1;
rv += l;
if (ptr) {
len -= l;
ptr += l;
}
for (itor = hash_table_iter(config->ht); itor;
... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movl $0x0, -0x38(%rbp)
movq -0x30(%rbp), %rdi
movslq -0x1c(%rbp), %rsi
leaq 0x64dd7(%rip), %rdx # 0x78d68
movb $0x0, %al
callq 0x7190
movl %eax, -0x34(%rbp)
... | /cmusphinx[P]pocketsphinx/src/ps_config.c |
ps_config_float | double
ps_config_float(ps_config_t *config, char const *name)
{
cmd_ln_val_t *val;
val = cmd_ln_access_r(config, name);
if (val == NULL)
return 0.0;
if (!(val->type & ARG_FLOATING)) {
E_ERROR("Argument %s does not have floating-point type\n", name);
return 0.0;
}
return v... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x20e00
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x14462
xorps %xmm0, %xmm0
movsd %xmm0, -0x8(%rbp)
jmp 0x144ab
movq -0x20(%rbp), %rax
movl 0x8(%rax), %eax
andl $0x4, %e... | /cmusphinx[P]pocketsphinx/src/ps_config.c |
anytype_from_float | anytype_t *
anytype_from_float(anytype_t *val, int t, double f)
{
if (val == NULL)
return NULL;
switch (t) {
case ARG_INTEGER:
case REQARG_INTEGER:
val->i = (long)f;
break;
case ARG_FLOATING:
case REQARG_FLOATING:
val->fl = f;
break;
case ARG_BOOLEAN:
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movsd %xmm0, -0x20(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x14bc8
movq $0x0, -0x8(%rbp)
jmp 0x14d38
movl -0x14(%rbp), %eax
addl $-0x2, %eax
movl %eax, %ecx
movq %rcx, -0x30(%rbp)
subl $0xf, %eax
ja 0x14d03
movq -0x30(%rbp), %rax
leaq 0x... | /cmusphinx[P]pocketsphinx/src/ps_config.c |
remove_dangling_links | static void
remove_dangling_links(ps_lattice_t *dag, ps_latnode_t *node)
{
latlink_list_t *x, *prev_x, *next_x;
prev_x = NULL;
for (x = node->exits; x; x = next_x) {
next_x = x->next;
if (x->link->to == NULL) {
if (prev_x)
prev_x->next = next_x;
else
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq $0x0, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x15860
movq -0x18(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %ra... | /cmusphinx[P]pocketsphinx/src/ps_lattice.c |
ps_lattice_read | ps_lattice_t *
ps_lattice_read(ps_decoder_t *ps,
char const *file)
{
FILE *fp;
int32 ispipe;
lineiter_t *line;
float64 lb;
float32 logratio;
ps_latnode_t **darray;
ps_lattice_t *dag;
int i, k, n_nodes;
int32 pip, silpen, fillpen;
ps_latnode_t **pnodes;
dag = ... | pushq %rbp
movq %rsp, %rbp
subq $0x200, %rsp # imm = 0x200
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl $0x1, %edi
movl $0x80, %esi
leaq 0x62c8c(%rip), %rdx # 0x78e50
movl $0x192, %ecx # imm = 0x192
callq 0x23c10
movq %rax, -0x50(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x1623c
movq -0x10(%rbp), ... | /cmusphinx[P]pocketsphinx/src/ps_lattice.c |
ps_lattice_init_search | ps_lattice_t *
ps_lattice_init_search(ps_search_t *search, int n_frame)
{
ps_lattice_t *dag;
dag = ckd_calloc(1, sizeof(*dag));
dag->search = search;
dag->dict = dict_retain(search->dict);
dag->lmath = logmath_retain(search->acmod->lmath);
dag->frate = ps_config_int(dag->search->config, "frate"... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl $0x1, %edi
movl $0x80, %esi
leaq 0x61f10(%rip), %rdx # 0x78e50
movl $0x281, %ecx # imm = 0x281
callq 0x23c10
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rcx
movq -0x18(%rbp), %rax
movq %rcx, 0x10(%rax)
movq -0x8(%rb... | /cmusphinx[P]pocketsphinx/src/ps_lattice.c |
ps_lattice_link2itor | static void
ps_lattice_link2itor(ps_seg_t *seg, ps_latlink_t *link, int to)
{
dag_seg_t *itor = (dag_seg_t *)seg;
ps_latnode_t *node;
if (to) {
node = link->to;
seg->ef = node->lef;
seg->prob = 0; /* norm + beta - norm */
}
else {
latlink_list_t *x;
ps_latnod... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpl $0x0, -0x14(%rbp)
je 0x17a4b
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movl 0x10(%rax), %ecx
movq -0x8(%rbp), ... | /cmusphinx[P]pocketsphinx/src/ps_lattice.c |
ps_lattice_joint | static int32
ps_lattice_joint(ps_lattice_t *dag, ps_latlink_t *link, float32 ascale)
{
ngram_model_t *lmset;
int32 jprob;
/* Sort of a hack... */
if (dag->search && 0 == strcmp(ps_search_type(dag->search), PS_SEARCH_TYPE_NGRAM))
lmset = ((ngram_search_t *)dag->search)->lmset;
else
l... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movss %xmm0, -0x14(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x10(%rax)
je 0x18c22
movq -0x8(%rbp), %rax
movq 0x10(%rax), %rax
movq 0x8(%rax), %rdi
leaq 0x5f8f8(%rip), %rsi # 0x784fb
callq 0x7260
movl %eax, %ecx
xorl %eax, %eax
cm... | /cmusphinx[P]pocketsphinx/src/ps_lattice.c |
ps_astar_start | ps_astar_t *
ps_astar_start(ps_lattice_t *dag,
ngram_model_t *lmset,
float32 lwf,
int sf, int ef,
int w1, int w2)
{
ps_astar_t *nbest;
ps_latnode_t *node;
nbest = ckd_calloc(1, sizeof(*nbest));
nbest->dag = dag;
nbest->lmset = ... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movss %xmm0, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl %r8d, -0x20(%rbp)
movl %r9d, -0x24(%rbp)
movl $0x1, %edi
movl $0x60, %esi
leaq 0x5fe3c(%rip), %rdx # 0x78e50
movl $0x6bb, %ecx # imm = 0x6BB... | /cmusphinx[P]pocketsphinx/src/ps_lattice.c |
evaluate_hmms | static int32
evaluate_hmms(state_align_search_t *sas, int16 const *senscr, int frame_idx)
{
int32 bs = WORST_SCORE;
int i;
hmm_context_set_senscore(sas->hmmctx, senscr);
for (i = 0; i < sas->n_phones; ++i) {
hmm_t *hmm = sas->hmms + i;
int32 score;
if (hmm_frame(hmm) < frame_i... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movl $0xe0000000, -0x18(%rbp) # imm = 0xE0000000
movq -0x10(%rbp), %rcx
movq -0x8(%rbp), %rax
movq 0x70(%rax), %rax
movq %rcx, 0x10(%rax)
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x8(%rbp), %rcx
cm... | /cmusphinx[P]pocketsphinx/src/state_align_search.c |
s2b | static Bigint *
s2b(const char *s, int nd0, int nd, ULong y9)
{
Bigint *b;
int i, k;
Long x, y;
x = (nd + 8) / 9;
for(k = 0, y = 1; x > y; y <<= 1, k++) ;
b = Balloc(k);
if (b == NULL)
return NULL;
b->x[0] = y9;
b->wds = 1;
if (nd <= 9)
return b;
s += 9;
... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl -0x18(%rbp), %eax
addl $0x8, %eax
movl $0x9, %ecx
cltd
idivl %ecx
movl %eax, -0x34(%rbp)
movl $0x0, -0x30(%rbp)
movl $0x1, -0x38(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x38(%rbp), %ea... | /cmusphinx[P]pocketsphinx/src/util/dtoa.c |
pow5mult | static Bigint *
pow5mult(Bigint *b, int k)
{
Bigint *b1, *p5, *p51;
int i;
static int p05[3] = { 5, 25, 125 };
if ((i = k & 3)) {
b = multadd(b, p05[i-1], 0);
if (b == NULL)
return NULL;
}
if (!(k >>= 2))
return b;
p5 = i2b(625);
if (p5 == NULL) {
... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl -0x14(%rbp), %eax
andl $0x3, %eax
movl %eax, -0x34(%rbp)
cmpl $0x0, %eax
je 0x1dd25
movq -0x10(%rbp), %rdi
movl -0x34(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rcx
leaq 0x7660f(%rip), %rax # 0x94310
movl (%rax,%rcx,4), %e... | /cmusphinx[P]pocketsphinx/src/util/dtoa.c |
cmp | static int
cmp(Bigint *a, Bigint *b)
{
ULong *xa, *xa0, *xb, *xb0;
int i, j;
i = a->wds;
j = b->wds;
#ifdef DEBUG
if (i > 1 && !a->x[i-1])
Bug("cmp called with a->x[a->wds-1] == 0");
if (j > 1 && !b->x[j-1])
Bug("cmp called with b->x[b->wds-1] == 0");
#endif
if (i -= j)
... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movl 0x14(%rax), %eax
movl %eax, -0x3c(%rbp)
movq -0x18(%rbp), %rax
movl 0x14(%rax), %eax
movl %eax, -0x40(%rbp)
movl -0x40(%rbp), %ecx
movl -0x3c(%rbp), %eax
subl %ecx, %eax
movl %eax, -0x3c(%rbp)
cmpl $0x0, %eax
je 0x1e56b... | /cmusphinx[P]pocketsphinx/src/util/dtoa.c |
ratio | static double
ratio(Bigint *a, Bigint *b)
{
U da, db;
int k, ka, kb;
dval(&da) = b2d(a, &ka);
dval(&db) = b2d(b, &kb);
k = ka - kb + 32*(a->wds - b->wds);
if (k > 0)
word0(&da) += k*Exp_msk1;
else {
k = -k;
word0(&db) += k*Exp_msk1;
}
return dval(&da) / dval(... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x28(%rbp), %rsi
callq 0x208c0
movsd %xmm0, -0x18(%rbp)
movq -0x10(%rbp), %rdi
leaq -0x2c(%rbp), %rsi
callq 0x208c0
movsd %xmm0, -0x20(%rbp)
movl -0x28(%rbp), %eax
subl -0x2c(%rbp), %eax
movq -0x8(%rbp),... | /cmusphinx[P]pocketsphinx/src/util/dtoa.c |
quorem | static int
quorem(Bigint *b, Bigint *S)
{
int n;
ULong *bx, *bxe, q, *sx, *sxe;
#ifdef ULLong
ULLong borrow, carry, y, ys;
#else
ULong borrow, carry, y, ys;
ULong si, z, zs;
#endif
n = S->wds;
#ifdef DEBUG
/*debug*/ if (b->wds > n)
/*debug*/ Bug("oversize b in quorem");
#endif... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x18(%rbp), %rax
movl 0x14(%rax), %eax
movl %eax, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movl 0x14(%rax), %eax
cmpl -0x1c(%rbp), %eax
jge 0x20612
movl $0x0, -0x4(%rbp)
jmp 0x208a9
movq -0x18(%rbp), %rax
addq $0x18, %rax
movq %ra... | /cmusphinx[P]pocketsphinx/src/util/dtoa.c |
hi0bits | static int
hi0bits(ULong x)
{
int k = 0;
if (!(x & 0xffff0000)) {
k = 16;
x <<= 16;
}
if (!(x & 0xff000000)) {
k += 8;
x <<= 8;
}
if (!(x & 0xf0000000)) {
k += 4;
x <<= 4;
}
if (!(x & 0xc0000000)) {
k += 2;
x <<= 2;
}
... | pushq %rbp
movq %rsp, %rbp
movl %edi, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
movl -0x8(%rbp), %eax
andl $0xffff0000, %eax # imm = 0xFFFF0000
cmpl $0x0, %eax
jne 0x20a8b
movl $0x10, -0xc(%rbp)
movl -0x8(%rbp), %eax
shll $0x10, %eax
movl %eax, -0x8(%rbp)
movl -0x8(%rbp), %eax
andl $0xff000000, %eax # imm = 0xFF0000... | /cmusphinx[P]pocketsphinx/src/util/dtoa.c |
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.