name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
void test_chain_boundary_insertion<Gudhi::persistence_matrix::Matrix<Chain_barcode_options_with_row_access<true, (Gudhi::persistence_matrix::Column_types)7, false, false, true, false, true>>>(Gudhi::persistence_matrix::Matrix<Chain_barcode_options_with_row_access<true, (Gudhi::persistence_matrix::Column_types)7, false,... | void test_chain_boundary_insertion(Matrix& m1, Matrix& m2) {
auto test = [](Matrix& m) {
BOOST_CHECK(m.is_zero_entry(1, 2));
BOOST_CHECK(!m.is_zero_entry(1, 1));
BOOST_CHECK(!m.is_zero_entry(3, 3));
BOOST_CHECK(!m.is_zero_column(0));
BOOST_CHECK(!m.is_zero_column(1));
BOOST_CHECK(!m.is_zero_co... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x618, %rsp # imm = 0x618
movq %rsi, %rbx
movq 0xbcc85(%rip), %rdi # 0xf2278
leaq 0x69d1a(%rip), %r13 # 0x9f314
leaq 0x608(%rsp), %rsi
movq %r13, (%rsi)
leaq 0x69d7b(%rip), %r12 # 0x9f387
movq %r12, 0x8(%rsi)
leaq 0x72005(%ri... | /GUDHI[P]gudhi-devel/src/Persistence_matrix/test/pm_matrix_tests.h |
std::set<std::conditional<is_z2<Gudhi::persistence_matrix::Matrix<Chain_barcode_options_with_row_access<true, (Gudhi::persistence_matrix::Column_types)7, false, true, false, false, true>>::Column>(), unsigned int, std::pair<unsigned int, Gudhi::persistence_matrix::Matrix<Chain_barcode_options_with_row_access<true, (Gud... | column_content<typename Matrix::Column> get_ordered_row(Matrix& m, unsigned int rowIndex) {
column_content<typename Matrix::Column> orderedRows;
for (const auto& entry : m.get_row(rowIndex)) {
if constexpr (is_z2<typename Matrix::Column>()) {
orderedRows.insert(entry.get_column_index());
} else {
... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x8(%rdi), %rax
andl $0x0, 0x8(%rdi)
andq $0x0, 0x10(%rdi)
movq %rax, 0x18(%rdi)
movq %rax, 0x20(%rdi)
andq $0x0, 0x28(%rdi)
movq 0x80(%rsi), %rax
movl %edx, %r15d
shlq $0x4, %r15
addq (%rax), %r15
leaq 0x4(%rsp), %r14
movq %r15, %r12
movq (%r1... | /GUDHI[P]gudhi-devel/src/Persistence_matrix/test/pm_test_utilities.h |
void test_shifted_barcode2<Gudhi::persistence_matrix::Matrix<Chain_barcode_options_with_row_access<true, (Gudhi::persistence_matrix::Column_types)7, true, true, false, false, true>>>() | void test_shifted_barcode2() {
using C = typename Matrix::Column;
struct BarComp {
bool operator()(const std::tuple<int, int, int>& c1, const std::tuple<int, int, int>& c2) const {
if (std::get<0>(c1) != std::get<0>(c2)) return std::get<0>(c1) < std::get<0>(c2);
if (std::get<1>(c1) != std::get<1>(c2... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x5f8, %rsp # imm = 0x5F8
leaq 0x530(%rsp), %rdi
pushq $0x9
popq %rsi
pushq $0x5
popq %rdx
callq 0x1dc64
xorps %xmm0, %xmm0
movq %rsp, %rcx
movaps %xmm0, (%rcx)
leaq 0x538(%rsp), %rbx
leaq 0x1b8(%rsp), %rdi
pushq $0x2
popq %rdx
movq %rbx... | /GUDHI[P]gudhi-devel/src/Persistence_matrix/test/pm_matrix_tests.h |
(anonymous namespace)::RingBufferTest_Simple_Test::~RingBufferTest_Simple_Test() | TEST( RingBufferTest, Simple )
{
constexpr unsigned TEST_SIZE = 256;
RingBuffer<uint16_t> rb(TEST_SIZE);
for( int i=0; i<TEST_SIZE ; ++i )
EXPECT_EQ( rb.push(i), true );
EXPECT_EQ( rb.length(), TEST_SIZE);
EXPECT_EQ( rb.push(0), false ); // buffer overflow. failed to push
for( int i=0; i<TEST_SIZE ; +... | pushq %rbx
movq %rdi, %rbx
callq 0x25726
movq %rbx, %rdi
popq %rbx
jmp 0x1f440
| /qywx[P]RingBuffer/test/gtest-RingBuffer.cpp |
(anonymous namespace)::RingBufferTest_Simple_Test::TestBody() | TEST( RingBufferTest, Simple )
{
constexpr unsigned TEST_SIZE = 256;
RingBuffer<uint16_t> rb(TEST_SIZE);
for( int i=0; i<TEST_SIZE ; ++i )
EXPECT_EQ( rb.push(i), true );
EXPECT_EQ( rb.length(), TEST_SIZE);
EXPECT_EQ( rb.push(0), false ); // buffer overflow. failed to push
for( int i=0; i<TEST_SIZE ; +... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl $0x100, 0x84(%rsp) # imm = 0x100
leaq 0x50(%rsp), %rdi
movl $0x100, %esi # imm = 0x100
callq 0x2051a
leaq 0x180c7(%rip), %rbx # 0x3807d
leaq 0x180cb(%rip), %r15 # 0x38088
leaq 0x30(%rsp), %r12
leaq 0x18(%rsp), %r1... | /qywx[P]RingBuffer/test/gtest-RingBuffer.cpp |
testing::AssertionResult testing::internal::CmpHelperEQFailure<bool, bool>(char const*, char const*, bool const&, bool 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 0x2064d
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x2064d
leaq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
xor... | /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/gtest.h |
testing::internal::UniversalPrinter<bool>::Print(bool const&, std::ostream*) | static void Print(const T& value, ::std::ostream* os) {
// By default, ::testing::internal::PrintTo() is used for printing
// the value.
//
// Thanks to Koenig look-up, if T is a class and has its own
// PrintTo() function defined in its namespace, that function will
// be visible here. Since i... | movzbl (%rdi), %edi
jmp 0x206b0
| /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/gtest-printers.h |
testing::AssertionResult testing::internal::CmpHelperEQFailure<int, unsigned int>(char const*, char const*, int const&, unsigned int 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 0x2081a
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x20882
leaq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
xor... | /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/gtest.h |
void testing_internal::DefaultPrintNonContainerTo<int>(int const&, std::ostream*) | void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
// With the following statement, during unqualified name lookup,
// testing::internal2::operator<< appears as if it was declared in
// the nearest enclosing namespace that contains both
// ::testing_internal and ::testing::internal2, i.e. the... | movq %rsi, %rax
movl (%rdi), %esi
movq %rax, %rdi
jmp 0x1f900
| /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/gtest-printers.h |
void testing_internal::DefaultPrintNonContainerTo<unsigned int>(unsigned int const&, std::ostream*) | void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
// With the following statement, during unqualified name lookup,
// testing::internal2::operator<< appears as if it was declared in
// the nearest enclosing namespace that contains both
// ::testing_internal and ::testing::internal2, i.e. the... | movq %rsi, %rax
movl (%rdi), %esi
movq %rax, %rdi
jmp 0x1f300
| /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/gtest-printers.h |
testing::AssertionResult testing::internal::CmpHelperEQFailure<unsigned short, int>(char const*, char const*, unsigned short const&, int 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 0x209a0
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x2081a
leaq 0x28(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
xor... | /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/gtest.h |
void testing_internal::DefaultPrintNonContainerTo<unsigned short>(unsigned short const&, std::ostream*) | void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
// With the following statement, during unqualified name lookup,
// testing::internal2::operator<< appears as if it was declared in
// the nearest enclosing namespace that contains both
// ::testing_internal and ::testing::internal2, i.e. the... | movq %rsi, %rax
movzwl (%rdi), %esi
movq %rax, %rdi
jmp 0x1f8d0
nopl (%rax)
| /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/gtest-printers.h |
testing::internal::BoolFromGTestEnv(char const*, bool) | bool BoolFromGTestEnv(const char* flag, bool default_value) {
#if defined(GTEST_GET_BOOL_FROM_ENV_)
return GTEST_GET_BOOL_FROM_ENV_(flag, default_value);
#endif // defined(GTEST_GET_BOOL_FROM_ENV_)
const std::string env_var = FlagToEnvVar(flag);
const char* const string_value = posix::GetEnv(env_var.c_str());
... | pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %esi, %ebx
movq %rdi, %rsi
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x2ea7b
movq (%r14), %rdi
callq 0x1f5f0
testq %rax, %rax
je 0x20a40
movb $0x1, %bl
cmpb $0x30, (%rax)
jne 0x20a40
cmpb $0x0, 0x1(%rax)
setne %bl
leaq 0x8(%rsp), %rdi
callq 0x1fa68
movl %ebx, %eax
addq $0x28... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-port.cc |
testing::internal::StringFromGTestEnv[abi:cxx11](char const*, char const*) | std::string StringFromGTestEnv(const char* flag, const char* default_value) {
#if defined(GTEST_GET_STRING_FROM_ENV_)
return GTEST_GET_STRING_FROM_ENV_(flag, default_value);
#endif // defined(GTEST_GET_STRING_FROM_ENV_)
const std::string env_var = FlagToEnvVar(flag);
const char* value = posix::GetEnv(env_var.c_s... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x28(%rsp), %r12
movq %r12, %rdi
callq 0x2ea7b
movq (%r12), %rdi
callq 0x1f5f0
testq %rax, %rax
je 0x20a95
leaq 0x8(%rsp), %rdx
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1f1c0
jmp 0x20afe
leaq 0x17822(%rip), ... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-port.cc |
testing::internal::Int32FromGTestEnv(char const*, int) | Int32 Int32FromGTestEnv(const char* flag, Int32 default_value) {
#if defined(GTEST_GET_INT32_FROM_ENV_)
return GTEST_GET_INT32_FROM_ENV_(flag, default_value);
#endif // defined(GTEST_GET_INT32_FROM_ENV_)
const std::string env_var = FlagToEnvVar(flag);
const char* const string_value = posix::GetEnv(env_var.c_str(... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movl %esi, %ebx
movq %rdi, %rsi
leaq 0x38(%rsp), %r14
movq %r14, %rdi
callq 0x2ea7b
movq (%r14), %rdi
callq 0x1f5f0
testq %rax, %rax
je 0x20c29
movq %rax, %r14
movl %ebx, 0xc(%rsp)
leaq 0x18(%rsp), %rdi
callq 0x22524
movq 0x18(%rsp), %r15
addq $0x10, %r15
lea... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-port.cc |
testing::internal::Random::Generate(unsigned int) | UInt32 Random::Generate(UInt32 range) {
// These constants are the same as are used in glibc's rand(3).
state_ = (1103515245U*state_ + 12345U) % kMaxRange;
GTEST_CHECK_(range > 0)
<< "Cannot generate a number in the range [0, 0).";
GTEST_CHECK_(range <= kMaxRange)
<< "Generation of a number in [0, ... | pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
imull $0x41c64e6d, (%rdi), %eax # imm = 0x41C64E6D
addl $0x3039, %eax # imm = 0x3039
andl $0x7fffffff, %eax # imm = 0x7FFFFFFF
movl %eax, (%rdi)
testl %esi, %esi
je 0x20d21
cmpl $0x80000001, %ebx # imm = 0x80000001
jb 0x20d66
leaq 0x... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::AssertHelper::operator=(testing::Message const&) const | void AssertHelper::operator=(const Message& message) const {
UnitTest::GetInstance()->
AddTestPartResult(data_->type, data_->file, data_->line,
AppendUserMessage(data_->message, message),
UnitTest::GetInstance()->impl()
->CurrentOsStackTraceExceptT... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r15
movq %rdi, %rbx
callq 0x20ebc
movq (%rbx), %rsi
movl (%rsi), %ebx
movq 0x8(%rsi), %r14
movl 0x10(%rsi), %ebp
addq $0x18, %rsi
leaq 0x28(%rsp), %rdi
movq %r15, %rdx
callq 0x21215
callq 0x20ebc
movq 0x2a89a(%rip), %rsi # 0x4b6e8
leaq 0x8(%rs... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::UnitTest::GetInstance() | UnitTest* UnitTest::GetInstance() {
// When compiled with MSVC 7.1 in optimized mode, destroying the
// UnitTest object upon exiting the program messes up the exit code,
// causing successful tests to appear failed. We have to use a
// different implementation in this case to bypass the compiler bug.
// This... | pushq %rbx
movb 0x2a82d(%rip), %al # 0x4b6f0
testb %al, %al
je 0x20ed0
leaq 0x2a7da(%rip), %rax # 0x4b6a8
popq %rbx
retq
leaq 0x2a819(%rip), %rdi # 0x4b6f0
callq 0x1f970
testl %eax, %eax
je 0x20ec7
leaq 0x2a7c1(%rip), %rdi # 0x4b6a8
callq 0x2a072
leaq 0x91df(%rip), %rdi # 0x2a0d2
leaq 0x2a7ae(%rip... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::AppendUserMessage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::Message const&) | std::string AppendUserMessage(const std::string& gtest_msg,
const Message& user_msg) {
// Appends the user message if it's non-empty.
const std::string user_msg_string = user_msg.GetString();
if (user_msg_string.empty()) {
return gtest_msg;
}
return gtest_msg + "\n" + user_m... | pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %rdx, %rsi
callq 0x226e4
cmpq $0x0, 0x8(%r15)
je 0x21267
leaq 0x18813(%rip), %rdx # 0x39a55
movq %rsp, %rdi
movq %r14, %rsi
callq 0x2fb84
movq %rsp, %rsi
leaq 0x20(%rsp), %rdx
movq %rbx, %rdi... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop[abi:cxx11](int) | std::string UnitTestImpl::CurrentOsStackTraceExceptTop(int skip_count) {
return os_stack_trace_getter()->CurrentStackTrace(
static_cast<int>(GTEST_FLAG(stack_trace_depth)),
skip_count + 1
// Skips the user-specified number of frames plus this function
// itself.
); // NOLINT
} | pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x22394
movl 0x2a32b(%rip), %edx # 0x4b5f0
incl %ebx
movq (%rax), %r8
movq %r14, %rdi
movq %rax, %rsi
movl %ebx, %ecx
callq *0x10(%r8)
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::GetCurrentExecutableName() | FilePath GetCurrentExecutableName() {
FilePath result;
#if GTEST_OS_WINDOWS
result.Set(FilePath(GetArgvs()[0]).RemoveExtension("exe"));
#else
result.Set(FilePath(GetArgvs()[0]));
#endif // GTEST_OS_WINDOWS
return result.RemoveDirectoryName();
} | pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x2fb22
movq 0x2a378(%rip), %rsi # 0x4b678
leaq 0x20(%rsp), %rdi
callq 0x2fb36
movq %rsp, %rdi
leaq 0x20(%rsp), %rsi
callq 0x1f280
leaq 0x20(%rsp), %rdi
callq 0x1fa68
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x21362
movq %rsp, %rdi
callq 0x1fa68
movq %r... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::FilePath::RemoveDirectoryName() const | FilePath FilePath::RemoveDirectoryName() const {
const char* const last_sep = FindLastPathSeparator();
return last_sep ? FilePath(last_sep + 1) : *this;
} | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x2e25e
testq %rax, %rax
je 0x213ab
incq %rax
leaq 0x8(%rsp), %r14
leaq 0x7(%rsp), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0x1f1c0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2fb36
leaq 0x8(%rsp), %rdi
callq 0x1fa68
jmp 0x213b6
... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-filepath.cc |
testing::internal::UnitTestOptions::GetOutputFormat[abi:cxx11]() | std::string UnitTestOptions::GetOutputFormat() {
const char* const gtest_output_flag = GTEST_FLAG(output).c_str();
if (gtest_output_flag == NULL) return std::string("");
const char* const colon = strchr(gtest_output_flag, ':');
return (colon == NULL) ?
std::string(gtest_output_flag) :
std::string(g... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x2a1dc(%rip), %r14 # 0x4b5c0
testq %r14, %r14
je 0x21410
pushq $0x3a
popq %rsi
movq %r14, %rdi
callq 0x1f1b0
testq %rax, %rax
je 0x21421
leaq 0x10(%rbx), %rcx
movq %rcx, (%rbx)
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x34a38
jmp 0x21431
leaq 0x186... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::UnitTestOptions::GetAbsolutePathToOutputFile[abi:cxx11]() | std::string UnitTestOptions::GetAbsolutePathToOutputFile() {
const char* const gtest_output_flag = GTEST_FLAG(output).c_str();
if (gtest_output_flag == NULL)
return "";
const char* const colon = strchr(gtest_output_flag, ':');
if (colon == NULL)
return internal::FilePath::ConcatPaths(
internal:... | pushq %r14
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
movq 0x2a170(%rip), %rdi # 0x4b5c0
testq %rdi, %rdi
je 0x215cf
pushq $0x3a
popq %rsi
callq 0x1f1b0
testq %rax, %rax
je 0x215ff
movq %rax, %r14
incq %r14
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r14, %rsi
callq 0x1f1c0
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::FilePath::ConcatPaths(testing::internal::FilePath const&, testing::internal::FilePath const&) | FilePath FilePath::ConcatPaths(const FilePath& directory,
const FilePath& relative_path) {
if (directory.IsEmpty())
return relative_path;
const FilePath dir(directory.RemoveTrailingPathSeparator());
return FilePath(dir.string() + kPathSeparator + relative_path.string());
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x60, %rsp
movq %rdx, %r14
movq %rdi, %rbx
cmpq $0x0, 0x8(%rsi)
je 0x21818
leaq 0x40(%rsp), %r15
movq %r15, %rdi
callq 0x2e44e
movq %rsp, %rdi
pushq $0x2f
popq %rdx
movq %r15, %rsi
callq 0x327f9
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
movq %r14, %rdx
callq 0x30b0f
leaq 0x20(%rsp), %... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-filepath.cc |
testing::internal::FilePath::GenerateUniqueFileName(testing::internal::FilePath const&, testing::internal::FilePath const&, char const*) | FilePath FilePath::GenerateUniqueFileName(const FilePath& directory,
const FilePath& base_name,
const char* extension) {
FilePath full_pathname;
int number = 0;
do {
full_pathname.Set(MakeFileName(directory, base_name, number+... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
callq 0x2fb22
xorl %ebp, %ebp
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
movl %ebp, %ecx
movq %r14, %r8
callq 0x2e26a
movq %rbx, %rdi
movq %r13, %r... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-filepath.cc |
testing::internal::UnitTestOptions::PatternMatchesString(char const*, char const*) | bool UnitTestOptions::PatternMatchesString(const char *pattern,
const char *str) {
switch (*pattern) {
case '\0':
case ':': // Either ':' or '\0' marks the end of the pattern.
return *str == '\0';
case '?': // Matches any single character.
return *s... | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x1(%r14), %r15
movzbl (%rbx), %eax
cmpl $0x2a, %eax
jne 0x2194d
cmpb $0x0, (%r14)
je 0x21948
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2191c
testb %al, %al
jne 0x21979
incq %rbx
jmp 0x2192b
testl %eax, %eax
je 0x21970
cmpl $0x3f, %eax
je 0x21962
cmpl ... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::ScopedFakeTestPartResultReporter::Init() | void ScopedFakeTestPartResultReporter::Init() {
internal::UnitTestImpl* const impl = internal::GetUnitTestImpl();
if (intercept_mode_ == INTERCEPT_ALL_THREADS) {
old_reporter_ = impl->GetGlobalTestPartResultReporter();
impl->SetGlobalTestPartResultReporter(this);
} else {
old_reporter_ = impl->GetTest... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x2fbbc
movq %rax, %r14
cmpl $0x1, 0x8(%rbx)
jne 0x21bb7
movq %r14, %rdi
callq 0x21bf4
movq %rax, 0x10(%rbx)
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x21c22
movq %r14, %rdi
callq 0x21c58
movq %rax, 0x10(%rbx)
addq $0x90, %r14
movq %r... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::ScopedFakeTestPartResultReporter::~ScopedFakeTestPartResultReporter() | ScopedFakeTestPartResultReporter::~ScopedFakeTestPartResultReporter() {
internal::UnitTestImpl* const impl = internal::GetUnitTestImpl();
if (intercept_mode_ == INTERCEPT_ALL_THREADS) {
impl->SetGlobalTestPartResultReporter(old_reporter_);
} else {
impl->SetTestPartResultReporterForCurrentThread(old_repor... | pushq %rbx
movq %rdi, %rbx
leaq 0x287a5(%rip), %rax # 0x4a430
movq %rax, (%rdi)
callq 0x2fbbc
cmpl $0x1, 0x8(%rbx)
movq 0x10(%rbx), %rbx
jne 0x21caa
movq %rax, %rdi
movq %rbx, %rsi
callq 0x21c22
jmp 0x21cbb
addq $0x90, %rax
movq %rax, %rdi
callq 0x34c98
movq %rbx, (%rax)
popq %rbx
retq
movq %rax, %rdi
callq 0x20509... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::HasOneFailure(char const*, char const*, char const*, testing::TestPartResultArray const&, testing::TestPartResult::Type, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | AssertionResult HasOneFailure(const char* /* results_expr */,
const char* /* type_expr */,
const char* /* substr_expr */,
const TestPartResultArray& results,
TestPartResult::Type type,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movl %r9d, %ebp
movq %r8, %r14
movq %rdi, %rbx
cmpl $0x2, %r9d
leaq 0x17580(%rip), %rax # 0x3928f
leaq 0x17589(%rip), %rsi # 0x3929f
cmoveq %rax, %rsi
leaq 0x20(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x1f1c0
leaq 0x8(%rsp), %rdi
callq 0x22... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::TestPartResultArray::GetTestPartResult(int) const | const TestPartResult& TestPartResultArray::GetTestPartResult(int index) const {
if (index < 0 || index >= size()) {
printf("\nInvalid index (%d) into TestPartResultArray.\n", index);
internal::posix::Abort();
}
return array_[index];
} | testl %esi, %esi
js 0x21fff
movq (%rdi), %rcx
movq 0x8(%rdi), %rax
subq %rcx, %rax
pushq $0x70
popq %rdi
cqto
idivq %rdi
cmpl %esi, %eax
jle 0x21fff
movl %esi, %eax
imulq $0x70, %rax, %rax
addq %rax, %rcx
movq %rcx, %rax
retq
pushq %rax
leaq 0x185b9(%rip), %rdi # 0x3a5c0
xorl %eax, %eax
callq 0x1f070
callq 0x1f2a0
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-test-part.cc |
testing::internal::SingleFailureChecker::~SingleFailureChecker() | SingleFailureChecker::~SingleFailureChecker() {
EXPECT_PRED_FORMAT3(HasOneFailure, *results_, type_, substr_);
} | pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq (%rdi), %r8
movl 0x8(%rdi), %r9d
addq $0x10, %rbx
movq %rbx, (%rsp)
leaq 0x20(%rsp), %rdi
callq 0x21cef
cmpb $0x0, 0x20(%rsp)
jne 0x220c2
leaq 0x18(%rsp), %rdi
callq 0x22524
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x2207f
movq (%rax), %r8
jmp 0x22086
leaq 0x179d0(%rip)... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::DefaultGlobalTestPartResultReporter::ReportTestPartResult(testing::TestPartResult const&) | void DefaultGlobalTestPartResultReporter::ReportTestPartResult(
const TestPartResult& result) {
unit_test_->current_test_result()->AddTestPartResult(result);
unit_test_->listeners()->repeater()->OnTestPartResult(result);
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rdi
movq 0x110(%rdi), %rax
leaq 0x90(%rax), %rcx
addq $0x118, %rdi # imm = 0x118
testq %rax, %rax
cmovneq %rcx, %rdi
addq $0x38, %rdi
callq 0x30caa
movq 0x8(%r14), %rax
movq 0x190(%rax), %rdi
movq (%rdi), %rax
movq 0x40(%rax), ... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::UnitTestImpl::os_stack_trace_getter() | OsStackTraceGetterInterface* UnitTestImpl::os_stack_trace_getter() {
if (os_stack_trace_getter_ == NULL) {
#ifdef GTEST_OS_STACK_TRACE_GETTER_
os_stack_trace_getter_ = new GTEST_OS_STACK_TRACE_GETTER_;
#else
os_stack_trace_getter_ = new OsStackTraceGetter;
#endif // GTEST_OS_STACK_TRACE_GETTER_
}
return... | movq 0x1a8(%rdi), %rax
testq %rax, %rax
je 0x223a1
retq
pushq %rbx
movq %rdi, %rbx
pushq $0x8
popq %rdi
callq 0x1f470
leaq 0x28314(%rip), %rcx # 0x4a6c8
movq %rcx, (%rax)
movq %rax, 0x1a8(%rbx)
popq %rbx
retq
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::GetTimeInMillis() | TimeInMillis GetTimeInMillis() {
#if GTEST_OS_WINDOWS_MOBILE || defined(__BORLANDC__)
// Difference between 1970-01-01 and 1601-01-01 in milliseconds.
// http://analogous.blogspot.com/2005/04/epoch.html
const TimeInMillis kJavaEpochToWinFileTimeDelta =
static_cast<TimeInMillis>(116444736UL) * 100000UL;
cons... | pushq %rbx
subq $0x10, %rsp
movq %rsp, %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x1f890
imulq $0x3e8, (%rbx), %rcx # imm = 0x3E8
movq 0x8(%rbx), %rax
movl $0x3e8, %esi # imm = 0x3E8
cqto
idivq %rsi
addq %rcx, %rax
addq $0x10, %rsp
popq %rbx
retq
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::SplitString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, char, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>*) | void SplitString(const ::std::string& str, char delimiter,
::std::vector< ::std::string>* dest) {
::std::vector< ::std::string> parsed;
::std::string::size_type pos = 0;
while (::testing::internal::AlwaysTrue()) {
const ::std::string::size_type colon = str.find(delimiter, pos);
if (colon ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, 0x8(%rsp)
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x30(%rsp), %r15
andq $0x0, 0x10(%r15)
movaps %xmm0, (%r15)
xorl %ebx, %ebx
movsbl %sil, %ebp
leaq 0x10(%rsp), %r12
movq %r14, %rdi
movl %ebp, %esi
movq %rbx, %rdx
callq 0x1f6c... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::AlwaysTrue() | bool AlwaysTrue() {
#if GTEST_HAS_EXCEPTIONS
// This condition is always false so AlwaysTrue() never actually throws,
// but it makes the compiler think that it may throw.
if (IsTrue(false))
throw ClassUniqueToAlwaysTrue();
#endif // GTEST_HAS_EXCEPTIONS
return true;
} | movb $0x1, %al
retq
nop
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::Message::operator<<(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>> const&) | Message& Message::operator <<(const ::std::wstring& wstr) {
internal::StreamWideCharsToMessage(wstr.c_str(), wstr.length(), this);
return *this;
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq (%rsi), %r15
movq 0x8(%rsi), %r12
xorl %r13d, %r13d
movq %rsp, %r14
cmpq %r13, %r12
je 0x226c0
cmpl $0x0, (%r15,%r13,4)
je 0x226a7
leaq (%r15,%r13,4), %rsi
movl %r12d, %edx
subl %r13d, %edx
movq %r14, %rdi
callq 0x24c5a
movq %r... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::StringStreamToString(std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char>>*) | std::string StringStreamToString(::std::stringstream* ss) {
const ::std::string& str = ss->str();
const char* const start = str.c_str();
const char* const end = start + str.length();
std::string result;
result.reserve(2 * (end - start));
for (const char* ch = start; ch != end; ++ch) {
if (*ch == '\0') ... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
addq $0x18, %rsi
movq %rsp, %r14
movq %r14, %rdi
callq 0x1f850
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
andq $0x0, 0x8(%rbx)
movq (%r14), %r15
movq 0x8(%r14), %r12
movb $0x0, 0x10(%rbx)
leaq (%r12,%r12), %rsi
movq %rbx, %rdi
callq 0x... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::AssertionResult::AssertionResult(testing::AssertionResult const&) | AssertionResult::AssertionResult(const AssertionResult& other)
: success_(other.success_),
message_(other.message_.get() != NULL ?
new ::std::string(*other.message_) :
static_cast< ::std::string*>(NULL)) {
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movb (%rsi), %al
movb %al, (%rdi)
movq 0x8(%rsi), %r15
testq %r15, %r15
je 0x227cf
pushq $0x20
popq %rdi
callq 0x1f470
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
callq 0x1f700
jmp 0x227d2
xorl %r14d, %r14d
movq %r14, 0x8(%rbx)
popq %rbx
popq %r14
popq %r15
retq
movq... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::AssertionResult::operator!() const | AssertionResult AssertionResult::operator!() const {
AssertionResult negation(!success_);
if (message_.get() != NULL)
negation << *message_;
return negation;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movb (%rsi), %al
xorb $0x1, %al
movb %al, (%rdi)
andq $0x0, 0x8(%rdi)
movq 0x8(%rsi), %rsi
testq %rsi, %rsi
je 0x22831
leaq 0x8(%rbx), %r14
movq %rbx, %rdi
callq 0x2fcee
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %r14, %rdi
callq 0x2071... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::AssertionFailure(testing::Message const&) | AssertionResult AssertionFailure(const Message& message) {
return AssertionFailure() << message;
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r14
leaq 0x10(%rsp), %rbx
movb $0x0, -0x8(%rbx)
andq $0x0, (%rbx)
leaq 0x8(%rsp), %rdi
callq 0x2fc26
movq %r14, %rdi
movq %rax, %rsi
callq 0x227a2
movq %rbx, %rdi
callq 0x20716
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %r14
movq %rbx, %rdi
ca... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::edit_distance::CalculateOptimalEdits(std::vector<unsigned long, std::allocator<unsigned long>> const&, std::vector<unsigned long, std::allocator<unsigned long>> const&) | std::vector<EditType> CalculateOptimalEdits(const std::vector<size_t>& left,
const std::vector<size_t>& right) {
std::vector<std::vector<double> > costs(
left.size() + 1, std::vector<double>(right.size() + 1));
std::vector<std::vector<EditType> > best_move(
le... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r15
movq %rdi, %r13
movq (%rsi), %rbx
movq 0x8(%rsi), %r12
movq 0x8(%rdx), %rsi
movq %rdx, 0x8(%rsp)
subq (%rdx), %rsi
sarq $0x3, %rsi
incq %rsi
leaq 0x10(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x2ff2a
subq %rbx, %r12
sarq $... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::edit_distance::CalculateOptimalEdits(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,... | std::vector<EditType> CalculateOptimalEdits(
const std::vector<std::string>& left,
const std::vector<std::string>& right) {
std::vector<size_t> left_ids, right_ids;
{
InternalStrings intern_table;
for (size_t i = 0; i < left.size(); ++i) {
left_ids.push_back(intern_table.GetId(left[i]));
}... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, 0x28(%rsp)
xorps %xmm0, %xmm0
leaq 0x30(%rsp), %rax
movaps %xmm0, (%rax)
andq $0x0, 0x10(%rax)
movaps %xmm0, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
leaq 0x50(%rsp), %rax
andl $0x0, (%rax)
andq $0x0, 0... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::edit_distance::(anonymous namespace)::InternalStrings::GetId(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | size_t GetId(const std::string& str) {
IdMap::iterator it = ids_.find(str);
if (it != ids_.end()) return it->second;
size_t id = ids_.size();
return ids_[str] = id;
} | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x330f4
leaq 0x8(%r14), %rcx
cmpq %rcx, %rax
je 0x22d83
movq 0x40(%rax), %r15
jmp 0x22d95
movq 0x28(%r14), %r15
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3308e
movq %r15, (%rax)
movq %r15, %rax
popq %rbx
popq %r14
popq %r15
retq
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::edit_distance::(anonymous namespace)::Hunk::PushLine(char, char const*) | void PushLine(char edit, const char* line) {
switch (edit) {
case ' ':
++common_;
FlushEdits();
hunk_.push_back(std::make_pair(' ', line));
break;
case '-':
++removes_;
hunk_removes_.push_back(std::make_pair('-', line));
break;
case '+':
... | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rdi, %rbx
cmpl $0x2d, %esi
je 0x23244
cmpl $0x2b, %esi
je 0x23232
cmpl $0x20, %esi
jne 0x23260
incq 0x20(%rbx)
movq %rbx, %rdi
callq 0x2f316
addq $0x28, %rbx
leaq 0x8(%rsp), %rsi
movb $0x20, (%rsi)
jmp 0x23254
incq 0x10(%rbx)
addq $0x40, %rbx
leaq 0x8(%rsp), ... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::EqFailure(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool) | AssertionResult EqFailure(const char* lhs_expression,
const char* rhs_expression,
const std::string& lhs_value,
const std::string& rhs_value,
bool ignoring_case) {
Message msg;
msg << " Expected: " << lhs_ex... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x70, %rsp
movl %r9d, %ebp
movq %r8, %r14
movq %rcx, %r15
movq %rdi, %rbx
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x22524
movq (%r12), %rdi
addq $0x10, %rdi
leaq 0x1600d(%rip), %rsi # 0x392d6
callq 0x1f450
le... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::(anonymous namespace)::SplitEscapedString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | std::vector<std::string> SplitEscapedString(const std::string& str) {
std::vector<std::string> lines;
size_t start = 0, end = str.size();
if (end > 2 && str[0] == '"' && str[end - 1] == '"') {
++start;
--end;
}
bool escaped = false;
for (size_t i = start; i + 1 < end; ++i) {
if (escaped) {
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
andq $0x0, 0x10(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq 0x8(%rsi), %r15
cmpq $0x3, %r15
jb 0x23519
movq (%r14), %rax
cmpb $0x22, (%rax)
jne 0x23519
xorl %edx, %edx
cmpb $0x22, -0x1(%rax,%r15)
le... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::GetBoolAssertionFailureMessage[abi:cxx11](testing::AssertionResult const&, char const*, char const*, char const*) | std::string GetBoolAssertionFailureMessage(
const AssertionResult& assertion_result,
const char* expression_text,
const char* actual_predicate_value,
const char* expected_predicate_value) {
const char* actual_message = assertion_result.message();
Message msg;
msg << "Value of: " << expression_text... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq %rdx, 0x28(%rsp)
movq %rcx, 0x20(%rsp)
movq %r8, 0x18(%rsp)
movq 0x8(%rsi), %rax
testq %rax, %rax
je 0x2360c
movq (%rax), %r15
jmp 0x23613
leaq 0x16443(%rip), %r15 # 0x39a56
movq %r15, 0x10(%rsp)
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x2252... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::DoubleNearPredFormat(char const*, char const*, char const*, double, double, double) | AssertionResult DoubleNearPredFormat(const char* expr1,
const char* expr2,
const char* abs_error_expr,
double val1,
double val2,
double... | pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq %rsi, 0x10(%rsp)
movq %rdx, 0x8(%rsp)
movq %rcx, (%rsp)
movsd %xmm0, 0x30(%rsp)
movsd %xmm1, 0x28(%rsp)
subsd %xmm1, %xmm0
andpd 0x14a97(%rip), %xmm0 # 0x381c0
movsd %xmm2, 0x20(%rsp)
movlpd %xmm0, 0x18(%rsp)
ucomisd %xmm0, %xmm2
jae 0x23887
leaq 0x40(%rsp)... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::CmpHelperEQ(char const*, char const*, long long, long long) | AssertionResult CmpHelperEQ(const char* lhs_expression,
const char* rhs_expression,
BiggestInt lhs,
BiggestInt rhs) {
if (lhs == rhs) {
return AssertionSuccess();
}
return EqFailure(lhs_expression,
rhs_expr... | pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdi, %rbx
movq %rcx, 0x8(%rsp)
movq %r8, (%rsp)
cmpq %r8, %rcx
jne 0x238ed
movb $0x1, (%rbx)
andq $0x0, 0x8(%rbx)
jmp 0x2393e
movq %rdx, %r14
movq %rsi, %r15
leaq 0x30(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x357f7
leaq 0x10(%rsp), %rdi
movq %rsp, %rsi
callq 0x357... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::AssertionResult testing::(anonymous namespace)::IsSubstringImpl<char const*>(bool, char const*, char const*, char const* const&, char const* const&) | AssertionResult IsSubstringImpl(
bool expected_to_be_substring,
const char* needle_expr, const char* haystack_expr,
const StringType& needle, const StringType& haystack) {
if (IsSubstringPred(needle, haystack) == expected_to_be_substring)
return AssertionSuccess();
const bool is_wide_string = sizeo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %r9, %r15
movq %r8, %r12
movl %esi, %ebp
movq %rdi, %rbx
movq %rdx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq (%r8), %rsi
movq (%r9), %rdi
testq %rsi, %rsi
setne %al
testq %rdi, %rdi
setne %cl
testb %cl, %al
jne 0x24393
cmpq %rdi, %rsi
sete %al
jmp... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::AssertionResult testing::(anonymous namespace)::IsSubstringImpl<wchar_t const*>(bool, char const*, char const*, wchar_t const* const&, wchar_t const* const&) | AssertionResult IsSubstringImpl(
bool expected_to_be_substring,
const char* needle_expr, const char* haystack_expr,
const StringType& needle, const StringType& haystack) {
if (IsSubstringPred(needle, haystack) == expected_to_be_substring)
return AssertionSuccess();
const bool is_wide_string = sizeo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %r9, %r15
movq %r8, %r12
movl %esi, %ebp
movq %rdi, %rbx
movq %rdx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq (%r8), %rsi
movq (%r9), %rdi
testq %rsi, %rsi
setne %al
testq %rdi, %rdi
setne %cl
testb %cl, %al
jne 0x24568
cmpq %rdi, %rsi
sete %al
jmp... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::AssertionResult testing::(anonymous namespace)::IsSubstringImpl<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(bool, char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_trait... | AssertionResult IsSubstringImpl(
bool expected_to_be_substring,
const char* needle_expr, const char* haystack_expr,
const StringType& needle, const StringType& haystack) {
if (IsSubstringPred(needle, haystack) == expected_to_be_substring)
return AssertionSuccess();
const bool is_wide_string = sizeo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %r9, %r15
movq %r8, %r12
movl %esi, %ebp
movq %rdi, %rbx
movq %rdx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq %r9, %rdi
movq %r8, %rsi
xorl %edx, %edx
callq 0x1fa50
cmpq $-0x1, %rax
setne %al
xorb %bpl, %al
je 0x248ac
leaq 0x14c6f(%rip), %rax #... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::AssertionResult testing::(anonymous namespace)::IsSubstringImpl<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>>>(bool, char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>> const&, std::__cxx11::basic_string<wch... | AssertionResult IsSubstringImpl(
bool expected_to_be_substring,
const char* needle_expr, const char* haystack_expr,
const StringType& needle, const StringType& haystack) {
if (IsSubstringPred(needle, haystack) == expected_to_be_substring)
return AssertionSuccess();
const bool is_wide_string = sizeo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %r9, %r15
movq %r8, %r12
movl %esi, %ebp
movq %rdi, %rbx
movq %rdx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq %r9, %rdi
movq %r8, %rsi
xorl %edx, %edx
callq 0x1fa10
cmpq $-0x1, %rax
setne %al
xorb %bpl, %al
je 0x24a72
leaq 0x1652b(%rip), %rax #... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::CodePointToUtf8[abi:cxx11](unsigned int) | std::string CodePointToUtf8(UInt32 code_point) {
if (code_point > kMaxCodePoint4) {
return "(Invalid Unicode 0x" + String::FormatHexInt(code_point) + ")";
}
char str[5]; // Big enough for the largest valid code point.
if (code_point <= kMaxCodePoint1) {
str[1] = '\0';
str[0] = static_cast<char>(co... | pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
cmpl $0x200000, %esi # imm = 0x200000
jb 0x24b18
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x24be2
leaq 0x14921(%rip), %rsi # 0x39402
leaq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x30a90
leaq 0x14d7d(%rip), %rdx # 0x39872
leaq 0x8(%rsp), %rsi
movq %... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::String::FormatHexInt[abi:cxx11](int) | std::string String::FormatHexInt(int value) {
std::stringstream ss;
ss << std::hex << std::uppercase << value;
return ss.str();
} | pushq %rbp
pushq %rbx
subq $0x188, %rsp # imm = 0x188
movl %esi, %ebp
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x1f320
leaq 0x10(%rsp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rcx
movl 0x28(%rsp,%rcx), %edx
andl $-0x4b, %edx
orl $0x8, %edx
movl %edx, 0x28(%rsp,%rcx)
movq -0x18(%rax), %rax
orl $0x4000, 0x28(%r... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::WideStringToUtf8[abi:cxx11](wchar_t const*, int) | std::string WideStringToUtf8(const wchar_t* str, int num_chars) {
if (num_chars == -1)
num_chars = static_cast<int>(wcslen(str));
::std::stringstream stream;
for (int i = 0; i < num_chars; ++i) {
UInt32 unicode_code_point;
if (str[i] == L'\0') {
break;
} else if (i + 1 < num_chars && IsUtf... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp # imm = 0x1A8
movl %edx, %r15d
movq %rsi, %r14
movq %rdi, %rbx
cmpl $-0x1, %edx
jne 0x24c84
movq %r14, %rdi
callq 0x1f3d0
movq %rax, %r15
leaq 0x20(%rsp), %rdi
callq 0x1f320
leaq 0x30(%rsp), %r12
xorl %ebp, %ebp
testl %r15d, ... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::CmpHelperSTREQ(char const*, char const*, wchar_t const*, wchar_t const*) | AssertionResult CmpHelperSTREQ(const char* lhs_expression,
const char* rhs_expression,
const wchar_t* lhs,
const wchar_t* rhs) {
if (String::WideCStringEquals(lhs, rhs)) {
return AssertionSuccess();
}
return EqFailur... | pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rcx, 0x8(%rsp)
movq %r8, (%rsp)
movq %rcx, %rdi
movq %r8, %rsi
callq 0x24d1c
testb %al, %al
je 0x24d7b
movb $0x1, (%rbx)
andq $0x0, 0x8(%rbx)
jmp 0x24dc6
leaq 0x30(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x30ab4
leaq ... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::CmpHelperSTRNE(char const*, char const*, wchar_t const*, wchar_t const*) | AssertionResult CmpHelperSTRNE(const char* s1_expression,
const char* s2_expression,
const wchar_t* s1,
const wchar_t* s2) {
if (!String::WideCStringEquals(s1, s2)) {
return AssertionSuccess();
}
return AssertionFail... | pushq %r15
pushq %r14
pushq %rbx
subq $0x70, %rsp
movq %rdi, %r14
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq %r8, (%rsp)
movq %rcx, %rdi
movq %r8, %rsi
callq 0x24d1c
testb %al, %al
je 0x24ef3
leaq 0x68(%rsp), %rbx
movb $0x0, -0x8(%rbx)
andq $0x0, (%rbx)
leaq 0x14563(%rip), %rsi # 0x393a0
... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::String::CaseInsensitiveWideCStringEquals(wchar_t const*, wchar_t const*) | bool String::CaseInsensitiveWideCStringEquals(const wchar_t* lhs,
const wchar_t* rhs) {
if (lhs == NULL) return rhs == NULL;
if (rhs == NULL) return false;
#if GTEST_OS_WINDOWS
return _wcsicmp(lhs, rhs) == 0;
#elif GTEST_OS_LINUX && !GTEST_OS_LINUX_ANDROID
return ... | testq %rdi, %rdi
sete %al
testq %rsi, %rsi
sete %cl
orb %al, %cl
movq %rdi, %rax
orq %rsi, %rax
sete %al
testb %cl, %cl
jne 0x24f68
pushq %rax
callq 0x1f9d0
testl %eax, %eax
sete %al
addq $0x8, %rsp
retq
nop
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::String::FormatIntWidth2[abi:cxx11](int) | std::string String::FormatIntWidth2(int value) {
std::stringstream ss;
ss << std::setfill('0') << std::setw(2) << value;
return ss.str();
} | pushq %rbp
pushq %rbx
subq $0x188, %rsp # imm = 0x188
movl %esi, %ebp
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x1f320
leaq 0x10(%rsp), %rdi
pushq $0x30
popq %rsi
callq 0x1f830
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
movq $0x2, 0x10(%rax,%rcx)
movq %rax, %rdi
movl %ebp, %esi
callq 0x1f900
leaq 0x18(%rsp), %rsi... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::String::FormatByte[abi:cxx11](unsigned char) | std::string String::FormatByte(unsigned char value) {
std::stringstream ss;
ss << std::setfill('0') << std::setw(2) << std::hex << std::uppercase
<< static_cast<unsigned int>(value);
return ss.str();
} | pushq %rbp
pushq %rbx
subq $0x188, %rsp # imm = 0x188
movl %esi, %ebp
movq %rdi, %rbx
movq %rsp, %rdi
callq 0x1f320
leaq 0x10(%rsp), %rdi
pushq $0x30
popq %rsi
callq 0x1f830
movq (%rax), %rcx
movq -0x18(%rcx), %rdx
movq $0x2, 0x10(%rax,%rdx)
movq -0x18(%rcx), %rdx
movl 0x18(%rax,%rdx), %esi
andl $-0x4b, %esi... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::TestResult::RecordProperty(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::TestProperty const&) | void TestResult::RecordProperty(const std::string& xml_element,
const TestProperty& test_property) {
if (!ValidateTestProperty(xml_element, test_property)) {
return;
}
internal::MutexLock lock(&test_properites_mutex_);
const std::vector<TestProperty>::iterator property_with_m... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %rbx
movq %rdi, %r14
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x25264
testb %al, %al
je 0x2521e
movq %r14, 0x10(%rsp)
movq %r14, %rdi
callq 0x32f6e
movq 0x50(%r14), %r15
movq 0x58(%r14), %r12
movq (%rbx), %rsi
leaq 0x18(%rsp), %rdi
leaq 0xf(%rsp), %rd... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::TestResult::ValidateTestProperty(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::TestProperty const&) | bool TestResult::ValidateTestProperty(const std::string& xml_element,
const TestProperty& test_property) {
return ValidateTestPropertyName(test_property.key(),
GetReservedAttributesForElement(xml_element));
} | pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
movq (%rsi), %rsi
leaq 0x20(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x1f1c0
leaq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x25535
leaq 0x20(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x252dc
movl %eax, %ebx
leaq 0x8(%rsp), %rdi
callq 0x2fb00
leaq 0x20(%rsp), %rdi
callq 0x1fa68
movl %... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::TestCase::TestCase(char const*, char const*, void (*)(), void (*)()) | TestCase::TestCase(const char* a_name, const char* a_type_param,
Test::SetUpTestCaseFunc set_up_tc,
Test::TearDownTestCaseFunc tear_down_tc)
: name_(a_name),
type_param_(a_type_param ? new std::string(a_type_param) : NULL),
set_up_tc_(set_up_tc),
tear_down_tc_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbp
movq %rdi, %r14
leaq 0x2408f(%rip), %rax # 0x4a4e8
movq %rax, (%rdi)
addq $0x8, %rdi
leaq 0xf(%rsp), %rdx
movq %rdi, 0x10(%rsp)
callq 0x1f1c0
leaq 0x28(%r14), %r15
testq %rbp, %rbp
je 0x... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::TestCase::GetTestInfo(int) const | inline E GetElementOr(const std::vector<E>& v, int i, E default_value) {
return (i < 0 || i >= static_cast<int>(v.size())) ? default_value : v[i];
} | testl %esi, %esi
js 0x265df
movq 0x48(%rdi), %rax
movq 0x50(%rdi), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
cmpl %esi, %ecx
jle 0x265df
movl %esi, %ecx
movslq (%rax,%rcx,4), %rax
testq %rax, %rax
js 0x265df
movq 0x30(%rdi), %rcx
movq (%rcx,%rax,8), %rax
retq
xorl %eax, %eax
retq
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-internal-inl.h |
testing::TestCase::GetMutableTestInfo(int) | inline E GetElementOr(const std::vector<E>& v, int i, E default_value) {
return (i < 0 || i >= static_cast<int>(v.size())) ? default_value : v[i];
} | testl %esi, %esi
js 0x2660d
movq 0x48(%rdi), %rax
movq 0x50(%rdi), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
cmpl %esi, %ecx
jle 0x2660d
movl %esi, %ecx
movslq (%rax,%rcx,4), %rax
testq %rax, %rax
js 0x2660d
movq 0x30(%rdi), %rcx
movq (%rcx,%rax,8), %rax
retq
xorl %eax, %eax
retq
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-internal-inl.h |
testing::TestCase::AddTestInfo(testing::TestInfo*) | void TestCase::AddTestInfo(TestInfo * test_info) {
test_info_list_.push_back(test_info);
test_indices_.push_back(static_cast<int>(test_indices_.size()));
} | pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %rax
movq %rsi, (%rax)
addq $0x30, %rdi
movq %rax, %rsi
callq 0x3145a
movq 0x50(%rbx), %rax
subq 0x48(%rbx), %rax
leaq 0x48(%rbx), %rdi
shrq $0x2, %rax
leaq 0x4(%rsp), %rsi
movl %eax, (%rsi)
callq 0x36528
addq $0x10, %rsp
popq %rbx
retq
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::TestCase::Run() | void TestCase::Run() {
if (!should_run_) return;
internal::UnitTestImpl* const impl = internal::GetUnitTestImpl();
impl->set_current_test_case(this);
TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater();
repeater->OnTestCaseStart(*this);
impl->os_stack_trace_getter()->UponLeaving... | cmpb $0x1, 0x70(%rdi)
jne 0x26741
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
callq 0x2fbbc
movq %rax, %r14
movq %rbx, 0x108(%rax)
callq 0x20ebc
movq 0x25069(%rip), %rax # 0x4b6e8
movq 0x190(%rax), %r15
movq (%r15), %rax
movq %r15, %rdi
movq %rbx, %rsi
callq *0x30(%rax)
movq %r14, %rdi
ca... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::ShouldUseColor(bool) | bool ShouldUseColor(bool stdout_is_tty) {
const char* const gtest_color = GTEST_FLAG(color).c_str();
if (String::CaseInsensitiveCStringEquals(gtest_color, "auto")) {
#if GTEST_OS_WINDOWS
// On Windows the TERM variable is usually not set, but the
// console there does support colors.
return stdout_is_t... | pushq %rbp
pushq %r14
pushq %rbx
movl %edi, %ebp
movq 0x24dbe(%rip), %r14 # 0x4b578
leaq 0x1298b(%rip), %rsi # 0x3914c
movq %r14, %rdi
callq 0x24100
testb %al, %al
je 0x268c6
leaq 0x130a0(%rip), %rdi # 0x39878
callq 0x1f5f0
movq %rax, %r14
leaq 0x13096(%rip), %rsi # 0x3987d
movq %rax, %rdi
callq 0x223f0... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::ColoredPrintf(testing::internal::GTestColor, char const*, ...) | void ColoredPrintf(GTestColor color, const char* fmt, ...) {
va_list args;
va_start(args, fmt);
#if GTEST_OS_WINDOWS_MOBILE || GTEST_OS_SYMBIAN || GTEST_OS_ZOS || \
GTEST_OS_IOS || GTEST_OS_WINDOWS_PHONE || GTEST_OS_WINDOWS_RT
const bool use_color = AlwaysFalse();
#else
static const bool in_color_mode =
... | pushq %rbp
pushq %rbx
subq $0xd8, %rsp
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x20(%rsp), %rsi
movq %rdx, 0x10(%rsi)
movq %rcx, 0x18(%rsi)
movq %r8, 0x20(%rsi)
movq %r9, 0x28(%rsi)
testb %al, %al
je 0x26979
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::PrintFullTestCommentIfPresent(testing::TestInfo const&) | void PushLine(char edit, const char* line) {
switch (edit) {
case ' ':
++common_;
FlushEdits();
hunk_.push_back(std::make_pair(' ', line));
break;
case '-':
++removes_;
hunk_removes_.push_back(std::make_pair('-', line));
break;
case '+':
... | pushq %r14
pushq %rbx
pushq %rax
movq 0x40(%rdi), %rax
testq %rax, %rax
je 0x26a62
movq (%rax), %r14
jmp 0x26a65
xorl %r14d, %r14d
movq 0x48(%rdi), %rax
testq %rax, %rax
je 0x26a73
movq (%rax), %rbx
jmp 0x26a75
xorl %ebx, %ebx
movq %r14, %rax
orq %rbx, %rax
je 0x26ae1
leaq 0x12e85(%rip), %rdi # 0x39909
xorl %eax, %... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::PrettyUnitTestResultPrinter::OnTestIterationStart(testing::UnitTest const&, int) | void PrettyUnitTestResultPrinter::OnTestIterationStart(
const UnitTest& unit_test, int iteration) {
if (GTEST_FLAG(repeat) != 1)
printf("\nRepeating all tests (iteration %d) . . .\n\n", iteration + 1);
const char* const filter = GTEST_FLAG(filter).c_str();
// Prints the filter if it's not *. This remin... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rsi, %rbx
cmpl $0x1, 0x24aec(%rip) # 0x4b5e8
je 0x26b10
incl %edx
leaq 0x12e13(%rip), %rdi # 0x3991a
movl %edx, %esi
xorl %eax, %eax
callq 0x1f070
movq 0x24a81(%rip), %r14 # 0x4b598
leaq 0x11842(%rip), %rsi # 0x38360
movq %r14, %rdi
callq 0x223f0
t... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
int testing::internal::CountIf<std::vector<testing::TestInfo*, std::allocator<testing::TestInfo*>>, bool (*)(testing::TestInfo const*)>(std::vector<testing::TestInfo*, std::allocator<testing::TestInfo*>> const&, bool (*)(testing::TestInfo const*)) | inline int CountIf(const Container& c, Predicate predicate) {
// Implemented as an explicit loop since std::count_if() in libCstd on
// Solaris has a non-standard signature.
int count = 0;
for (typename Container::const_iterator it = c.begin(); it != c.end(); ++it) {
if (predicate(*it))
++count;
}
... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %r15
xorl %ebp, %ebp
cmpq 0x8(%r14), %r15
je 0x313f6
movq (%r15), %rdi
callq *%rbx
movzbl %al, %eax
addl %eax, %ebp
addq $0x8, %r15
jmp 0x313e0
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-internal-inl.h |
void testing::internal::HandleExceptionsInMethodIfSupported<testing::TestCase, void>(testing::TestCase*, void (testing::TestCase::*)(), char const*) | Result HandleExceptionsInMethodIfSupported(
T* object, Result (T::*method)(), const char* location) {
// NOTE: The user code can affect the way in which Google Test handles
// exceptions by setting GTEST_FLAG(catch_exceptions), but only before
// RUN_ALL_TESTS() starts. It is technically possible to check the... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
callq 0x2fbbc
addq %r15, %r14
cmpb $0x1, 0x1f0(%rax)
jne 0x314bf
testb $0x1, %r12b
je 0x314ad
movq (%r14), %rax
movq -0x1(%rax,%r12), %r12
movq %r14, %rdi
callq *%r12
addq $0x28, %rsp
popq %rbx
p... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::Message& testing::Message::operator<<<char>(char const&) | inline Message& operator <<(const T& val) {
// Some libraries overload << for STL containers. These
// overloads are defined in the global namespace instead of ::std.
//
// C++'s symbol lookup rule (i.e. Koenig lookup) says that these
// overloads are visible in either the std namespace or the glob... | pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
addq $0x10, %rdi
movsbl (%rsi), %esi
callq 0x1f570
movq %rbx, %rax
popq %rbx
retq
| /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/gtest-message.h |
testing::Message& testing::Message::operator<<<char [4]>(char const (&) [4]) | inline Message& operator <<(const T& val) {
// Some libraries overload << for STL containers. These
// overloads are defined in the global namespace instead of ::std.
//
// C++'s symbol lookup rule (i.e. Koenig lookup) says that these
// overloads are visible in either the std namespace or the glob... | pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
addq $0x10, %rdi
callq 0x1f450
movq %rbx, %rax
popq %rbx
retq
| /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/gtest-message.h |
testing::internal::UnitTestImpl::GetTestCase(int) const | inline E GetElementOr(const std::vector<E>& v, int i, E default_value) {
return (i < 0 || i >= static_cast<int>(v.size())) ? default_value : v[i];
} | testl %esi, %esi
js 0x31815
movq 0xd0(%rdi), %rax
movq 0xd8(%rdi), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
cmpl %esi, %ecx
jle 0x31815
movl %esi, %ecx
cmpl $0x0, (%rax,%rcx,4)
js 0x31815
movq 0xb8(%rdi), %rax
movq (%rax,%rcx,8), %rax
retq
xorl %eax, %eax
retq
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-internal-inl.h |
testing::TestPartResult::~TestPartResult() | class GTEST_API_ TestPartResult {
public:
// The possible outcomes of a test part (i.e. an assertion or an
// explicit SUCCEED(), FAIL(), or ADD_FAILURE()).
enum Type {
kSuccess, // Succeeded.
kNonFatalFailure, // Failed but the test can continue.
kFatalFailure // Failed and the test s... | pushq %rbx
movq %rdi, %rbx
addq $0x50, %rdi
callq 0x1fa68
leaq 0x30(%rbx), %rdi
callq 0x1fa68
addq $0x8, %rbx
movq %rbx, %rdi
popq %rbx
jmp 0x1fa68
nop
| /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/gtest-test-part.h |
testing::internal::ScopedPrematureExitFile::ScopedPrematureExitFile(char const*) | explicit ScopedPrematureExitFile(const char* premature_exit_filepath)
: premature_exit_filepath_(premature_exit_filepath) {
// If a path to the premature-exit file is specified...
if (premature_exit_filepath != NULL && *premature_exit_filepath != '\0') {
// create the file with a single "0" characte... | movq %rsi, (%rdi)
testq %rsi, %rsi
je 0x3199f
cmpb $0x0, (%rsi)
je 0x3199f
pushq %rbx
leaq 0x8178(%rip), %rax # 0x39af5
movq %rsi, %rdi
movq %rax, %rsi
callq 0x1f5a0
movq %rax, %rbx
pushq $0x30
popq %rdi
movq %rax, %rsi
callq 0x1f630
movq %rbx, %rdi
popq %rbx
jmp 0x1f460
retq
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::internal::GetRandomSeedFromFlag(int) | inline int GetRandomSeedFromFlag(Int32 random_seed_flag) {
const unsigned int raw_seed = (random_seed_flag == 0) ?
static_cast<unsigned int>(GetTimeInMillis()) :
static_cast<unsigned int>(random_seed_flag);
// Normalizes the actual seed to range [1, kMaxRandomSeed] such that
// it's easy to type.
c... | movl %edi, %eax
testl %edi, %edi
jne 0x31eb9
pushq %rax
callq 0x223c0
addq $0x8, %rsp
decl %eax
movl $0x1869f, %ecx # imm = 0x1869F
xorl %edx, %edx
divl %ecx
leal 0x1(%rdx), %eax
retq
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-internal-inl.h |
testing::Message::Message(testing::Message const&) | Message(const Message& msg) : ss_(new ::std::stringstream) { // NOLINT
*ss_ << msg.GetString();
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movl $0x188, %edi # imm = 0x188
callq 0x1f470
movq %rax, %r14
movq %rax, %rdi
callq 0x1f320
movq %r14, (%rbx)
movq %rsp, %rdi
movq %r15, %rsi
callq 0x226e4
addq $0x10, %r14
movq %rsp, %rsi
movq %r14, %rdi
callq 0x1f400
movq %rs... | /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/gtest-message.h |
void testing::internal::ShuffleRange<int>(testing::internal::Random*, int, int, std::vector<int, std::allocator<int>>*) | void ShuffleRange(internal::Random* random, int begin, int end,
std::vector<E>* v) {
const int size = static_cast<int>(v->size());
GTEST_CHECK_(0 <= begin && begin <= size)
<< "Invalid shuffle range start " << begin << ": must be in range [0, "
<< size << "].";
GTEST_CHECK_(begin <= ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %r12d
movl %esi, %ebp
movq %rdi, %r14
movq 0x8(%rcx), %r15
subq (%rcx), %r15
shrq $0x2, %r15
testl %esi, %esi
js 0x3203a
cmpl %ebp, %r15d
jge 0x320b2
leaq 0x87ab(%rip), %rdx # 0x3a7ec
leaq 0x4(%rsp), %rdi
pushq ... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-internal-inl.h |
void testing::internal::ParseGoogleTestFlagsOnlyImpl<wchar_t>(int*, wchar_t**) | void ParseGoogleTestFlagsOnlyImpl(int* argc, CharType** argv) {
for (int i = 1; i < *argc; i++) {
const std::string arg_string = StreamableToString(argv[i]);
const char* const arg = arg_string.c_str();
using internal::ParseBoolFlag;
using internal::ParseInt32Flag;
using internal::ParseStringFlag;... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
pushq $0x1
popq %r12
leaq 0x8(%rsp), %r15
cmpl (%r14), %r12d
jge 0x323e2
movslq %r12d, %r13
leaq (%rbx,%r13,8), %rsi
movq %r15, %rdi
callq 0x371fc
movq 0x8(%rsp), %rbp
movq %rbp, %rdi
callq 0x2b15d
testb %... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest.cc |
testing::Message& testing::Message::operator<<<char [52]>(char const (&) [52]) | inline Message& operator <<(const T& val) {
// Some libraries overload << for STL containers. These
// overloads are defined in the global namespace instead of ::std.
//
// C++'s symbol lookup rule (i.e. Koenig lookup) says that these
// overloads are visible in either the std namespace or the glob... | pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rdi
addq $0x10, %rdi
callq 0x1f450
movq %rbx, %rax
popq %rbx
retq
nop
| /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/gtest-message.h |
testing::internal::CapturedStream::CapturedStream(int) | explicit CapturedStream(int fd) : fd_(fd), uncaptured_fd_(dup(fd)) {
# if GTEST_OS_WINDOWS
char temp_dir_path[MAX_PATH + 1] = { '\0' }; // NOLINT
char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT
::GetTempPathA(sizeof(temp_dir_path), temp_dir_path);
const UINT success = ::GetTempFileNameA(temp_... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %r14
movl %esi, (%rdi)
movl %esi, %edi
callq 0x1f7f0
movl %eax, 0x4(%r14)
leaq 0x18(%r14), %rax
movq %rax, 0x8(%r14)
andq $0x0, 0x10(%r14)
leaq 0x8(%r14), %rbx
movb $0x0, 0x18(%r14)
movups 0x8b01(%rip), %xmm0 # 0x3b37c
movq %rsp, %rdi
movups %xmm0, 0xc(%r... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-port.cc |
void testing::internal::PrintCharAndCodeTo<unsigned char, unsigned char>(unsigned char, std::ostream*) | void PrintCharAndCodeTo(Char c, ostream* os) {
// First, print c as a literal in the most readable form we can find.
*os << ((sizeof(c) > 1) ? "L'" : "'");
const CharFormat format = PrintAsCharLiteralTo<UnsignedChar>(c, os);
*os << "'";
// To aid user debugging, we also print c's code in decimal, unless
//... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x86f4(%rip), %rsi # 0x3b06d
movq %rbx, %rdi
callq 0x1f450
cmpl $0xd, %ebp
ja 0x329a1
movl %ebp, %eax
leaq 0x674d(%rip), %rcx # 0x390dc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x6a7e(%rip), %rs... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-printers.cc |
void testing::internal::PrintCharAndCodeTo<unsigned char, signed char>(signed char, std::ostream*) | void PrintCharAndCodeTo(Char c, ostream* os) {
// First, print c as a literal in the most readable form we can find.
*os << ((sizeof(c) > 1) ? "L'" : "'");
const CharFormat format = PrintAsCharLiteralTo<UnsignedChar>(c, os);
*os << "'";
// To aid user debugging, we also print c's code in decimal, unless
//... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rsi, %rbx
movl %edi, %r14d
leaq 0x8530(%rip), %rsi # 0x3b06d
movq %rbx, %rdi
callq 0x1f450
movsbl %r14b, %r15d
movzbl %r14b, %ebp
cmpl $0xd, %r14d
ja 0x32b6f
movl %r14d, %eax
leaq 0x65b7(%rip), %rcx # 0x39114
movslq (%rcx,%rax,4), %... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-printers.cc |
void testing::internal::PrintCharAndCodeTo<wchar_t, wchar_t>(wchar_t, std::ostream*) | void PrintCharAndCodeTo(Char c, ostream* os) {
// First, print c as a literal in the most readable form we can find.
*os << ((sizeof(c) > 1) ? "L'" : "'");
const CharFormat format = PrintAsCharLiteralTo<UnsignedChar>(c, os);
*os << "'";
// To aid user debugging, we also print c's code in decimal, unless
//... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movl %edi, %ebp
leaq 0x836f(%rip), %rsi # 0x3b06c
movq %rbx, %rdi
callq 0x1f450
movl %ebp, %edi
movq %rbx, %rsi
callq 0x2f98a
movl %eax, %r14d
leaq 0x8354(%rip), %rsi # 0x3b06d
movq %rbx, %rdi
callq 0x1f450
testl %ebp, %ebp
je 0x32d8... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-printers.cc |
testing::internal::MutexBase::Unlock() | void Unlock() {
// Since the lock is being released the owner_ field should no longer be
// considered valid. We don't protect writing to has_owner_ here, as it's
// the caller's responsibility to ensure that the current thread holds the
// mutex when this is called.
has_owner_ = false;
GTEST_CH... | pushq %rbx
subq $0x10, %rsp
movb $0x0, 0x28(%rdi)
callq 0x1f370
testl %eax, %eax
je 0x3305b
movl %eax, %ebx
leaq 0x7648(%rip), %rdx # 0x3a65b
leaq 0xc(%rsp), %rdi
pushq $0x3
popq %rsi
movl $0x79e, %ecx # imm = 0x79E
callq 0x2e7f2
movq 0x17fbc(%rip), %rdi # 0x4afe8
leaq 0x76df(%rip), %rsi # 0x3a... | /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/internal/gtest-port.h |
testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>>::GetOrCreateValue() const | T* GetOrCreateValue() const {
ThreadLocalValueHolderBase* const holder =
static_cast<ThreadLocalValueHolderBase*>(pthread_getspecific(key_));
if (holder != NULL) {
return CheckedDowncastToActualType<ValueHolder>(holder)->pointer();
}
ValueHolder* const new_holder = default_factory_->MakeN... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r14
movl (%rdi), %edi
callq 0x1f7d0
testq %rax, %rax
je 0x3385a
movq %rax, %rdi
callq 0x338ec
movq %rax, %rbx
jmp 0x338c7
movq 0x8(%r14), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq %rax, %rbx
movl (%r14), %edi
movq %rax, %rsi
callq 0x1f0d0
testl %eax, %ea... | /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/internal/gtest-port.h |
testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>>::ValueHolder* testing::internal::CheckedDowncastToActualType<testing::internal::ThreadLocal<std::vector<testing::internal::TraceInfo, std::allocator<testing::internal::TraceInfo>>>::ValueHolder, testi... | Derived* CheckedDowncastToActualType(Base* base) {
#if GTEST_HAS_RTTI
GTEST_CHECK_(typeid(*base) == typeid(Derived));
#endif
#if GTEST_HAS_DOWNCAST_
return ::down_cast<Derived*>(base);
#elif GTEST_HAS_RTTI
return dynamic_cast<Derived*>(base); // NOLINT
#else
return static_cast<Derived*>(base); // Poor man's ... | pushq %rbx
subq $0x10, %rsp
testq %rdi, %rdi
je 0x33963
movq %rdi, %rbx
movq (%rdi), %rax
movq -0x8(%rax), %rdi
leaq 0x17279(%rip), %rsi # 0x4ab80
callq 0x3397e
testb %al, %al
jne 0x33946
leaq 0x6d44(%rip), %rdx # 0x3a65b
leaq 0xc(%rsp), %rdi
pushq $0x3
popq %rsi
movl $0x57c, %ecx # imm = 0x57C
call... | /qywx[P]RingBuffer/test/googletest/googletest/include/gtest/internal/gtest-port.h |
testing::internal::StreamingListener::~StreamingListener() | class GTEST_API_ StreamingListener : public EmptyTestEventListener {
public:
// Abstract base class for writing strings to a socket.
class AbstractSocketWriter {
public:
virtual ~AbstractSocketWriter() {}
// Sends a string to the socket.
virtual void Send(const string& message) = 0;
// Closes ... | leaq 0x17123(%rip), %rax # 0x4aba8
movq %rax, (%rdi)
addq $0x8, %rdi
jmp 0x33a76
nop
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-internal-inl.h |
testing::internal::StreamingListener::~StreamingListener() | class GTEST_API_ StreamingListener : public EmptyTestEventListener {
public:
// Abstract base class for writing strings to a socket.
class AbstractSocketWriter {
public:
virtual ~AbstractSocketWriter() {}
// Sends a string to the socket.
virtual void Send(const string& message) = 0;
// Closes ... | pushq %rbx
movq %rdi, %rbx
callq 0x33a7e
movq %rbx, %rdi
popq %rbx
jmp 0x1f440
| /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-internal-inl.h |
testing::internal::StreamingListener::OnTestIterationStart(testing::UnitTest const&, int) | void OnTestIterationStart(const UnitTest& /* unit_test */, int iteration) {
SendLn("event=TestIterationStart&iteration=" +
StreamableToString(iteration));
} | pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x4(%rsp), %rsi
movl %edx, (%rsi)
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x31748
leaq 0x6f33(%rip), %rsi # 0x3aa52
leaq 0x8(%rsp), %rdi
movq %r14, %rdx
callq 0x30a90
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x344ee
leaq 0x8(%rsp), %rdi
callq 0x1fa6... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-internal-inl.h |
testing::internal::StreamingListener::OnTestCaseStart(testing::TestCase const&) | void OnTestCaseStart(const TestCase& test_case) {
SendLn(std::string("event=TestCaseStart&name=") + test_case.name());
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x6ee6(%rip), %rsi # 0x3aa76
leaq 0x30(%rsp), %r15
leaq 0xf(%rsp), %rdx
movq %r15, %rdi
callq 0x1f1c0
movq 0x8(%r14), %rdx
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x2fb65
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x344ee
l... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-internal-inl.h |
testing::internal::StreamingListener::OnTestEnd(testing::TestInfo const&) | void OnTestEnd(const TestInfo& test_info) {
SendLn("event=TestEnd&passed=" +
FormatBool((test_info.result())->Passed()) +
"&elapsed_time=" +
StreamableToString((test_info.result())->elapsed_time()) + "ms");
} | pushq %r15
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x90(%rsi), %rdi
callq 0x315e2
movzbl %al, %edx
leaq 0xb0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x34572
leaq 0x6c33(%rip), %rsi # 0x3aad2
leaq 0x30(%rsp), %rdi
movq %r15, %rdx
callq 0x30a90
leaq 0x6c35(%rip), %rdx ... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-internal-inl.h |
testing::internal::StreamingListener::OnTestCaseEnd(testing::TestCase const&) | void OnTestCaseEnd(const TestCase& test_case) {
SendLn("event=TestCaseEnd&passed=" + FormatBool(test_case.Passed())
+ "&elapsed_time=" + StreamableToString(test_case.elapsed_time())
+ "ms");
} | pushq %r15
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x33076
movzbl %al, %edx
leaq 0xb0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x34572
leaq 0x6af5(%rip), %rsi # 0x3aafa
leaq 0x30(%rsp), %rdi
movq %r15, %rdx
callq 0x30a90
leaq 0x6acf(%rip), %rdx # 0... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-internal-inl.h |
testing::internal::StreamingListener::OnTestIterationEnd(testing::UnitTest const&, int) | void OnTestIterationEnd(const UnitTest& unit_test, int /* iteration */) {
SendLn("event=TestIterationEnd&passed=" +
FormatBool(unit_test.Passed()) + "&elapsed_time=" +
StreamableToString(unit_test.elapsed_time()) + "ms");
} | pushq %r15
pushq %r14
pushq %rbx
subq $0xd0, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x2779a
movzbl %al, %edx
leaq 0xb0(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x34572
leaq 0x69ad(%rip), %rsi # 0x3ab14
leaq 0x30(%rsp), %rdi
movq %r15, %rdx
callq 0x30a90
leaq 0x696d(%rip), %rdx # 0... | /qywx[P]RingBuffer/test/googletest/googletest/src/gtest-internal-inl.h |
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.