name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
testing::internal::FilePath::RemoveExtension(char const*) const
FilePath FilePath::RemoveExtension(const char* extension) const { const std::string dot_extension = std::string(".") + extension; if (String::EndsWithCaseInsensitive(pathname_, dot_extension)) { return FilePath(pathname_.substr( 0, pathname_.length() - dot_extension.length())); } return *this; }
pushq %r15 pushq %r14 pushq %rbx subq $0x50, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx leaq 0xf109(%rip), %rsi # 0x2a866 leaq 0x10(%rsp), %rdi leaq 0xf(%rsp), %rdx callq 0x859e leaq 0x30(%rsp), %rdi leaq 0x10(%rsp), %rsi movq %r15, %rdx callq 0x1e737 leaq 0x10(%rsp), %rdi callq 0x7ad8 leaq 0x30(%rsp), %...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-filepath.cc
testing::internal::FilePath::RemoveFileName() const
FilePath FilePath::RemoveFileName() const { const char* const last_sep = FindLastPathSeparator(); std::string dir; if (last_sep) { dir = std::string(c_str(), static_cast<size_t>(last_sep + 1 - c_str())); } else { dir = kCurrentDirectoryString; } return FilePath(dir); }
pushq %r14 pushq %rbx subq $0x48, %rsp movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi callq 0x1b822 leaq 0x18(%rsp), %rcx movq %rcx, -0x10(%rcx) andq $0x0, -0x8(%rcx) movb $0x0, (%rcx) testq %rax, %rax je 0x1b891 movq (%r14), %rsi incq %rax leaq 0x38(%rsp), %rcx movq %rcx, -0x10(%rcx) leaq 0x28(%rsp), %rdi movq %rax, ...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-filepath.cc
testing::internal::FilePath::RemoveTrailingPathSeparator() const
FilePath FilePath::RemoveTrailingPathSeparator() const { return IsDirectory() ? FilePath(pathname_.substr(0, pathname_.length() - 1)) : *this; }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movq 0x8(%rsi), %rcx testq %rcx, %rcx je 0x1b922 movq (%rsi), %rax cmpb $0x2f, -0x1(%rax,%rcx) jne 0x1b922 decq %rcx leaq 0x8(%rsp), %r14 movq %r14, %rdi xorl %edx, %edx callq 0x7520 movq %rbx, %rdi movq %r14, %rsi callq 0x1e8ee leaq 0x8(%rsp), %rdi callq 0x7ad8 jm...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-filepath.cc
testing::internal::FilePath::CreateFolder() const
bool FilePath::CreateFolder() const { #if GTEST_OS_WINDOWS_MOBILE FilePath removed_sep(this->RemoveTrailingPathSeparator()); LPCWSTR unicode = String::AnsiToUtf16(removed_sep.c_str()); int result = CreateDirectory(unicode, nullptr) ? 0 : -1; delete [] unicode; #elif GTEST_OS_WINDOWS int result = _mkdir(pathna...
pushq %rbx movq %rdi, %rbx movq (%rdi), %rdi movl $0x1ff, %esi # imm = 0x1FF callq 0x7210 cmpl $-0x1, %eax je 0x1baa0 movb $0x1, %al popq %rbx retq movq %rbx, %rdi popq %rbx jmp 0x1b986 nop
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-filepath.cc
testing::Matcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>::Matcher(char const*)
Matcher<const std::string&>::Matcher(const char* s) { *this = Eq(std::string(s)); }
pushq %r14 pushq %rbx subq $0x68, %rsp movq %rdi, %rbx andq $0x0, 0x8(%rdi) leaq 0x23bec(%rip), %rax # 0x3f798 movq %rax, (%rdi) leaq 0x28(%rsp), %rdi leaq 0xf(%rsp), %rdx callq 0x859e leaq 0x48(%rsp), %rdi leaq 0x28(%rsp), %rsi callq 0x77b0 leaq 0x10(%rsp), %rdi leaq 0x48(%rsp), %rsi callq 0x21a10 leaq 0x10(%rsp),...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-matchers.cc
testing::Matcher<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::Matcher(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Matcher<std::string>::Matcher(const std::string& s) { *this = Eq(s); }
pushq %r14 pushq %rbx subq $0x58, %rsp movq %rdi, %rbx andq $0x0, 0x8(%rdi) leaq 0x23b62(%rip), %rax # 0x3f7c8 movq %rax, (%rdi) leaq 0x18(%rsp), %rdi callq 0x77b0 leaq 0x38(%rsp), %rdi leaq 0x18(%rsp), %rsi callq 0x77b0 movq %rsp, %rdi leaq 0x38(%rsp), %rsi callq 0x21a26 movq %rsp, %rsi movq %rbx, %rdi callq 0x242...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-matchers.cc
testing::Matcher<std::basic_string_view<char, std::char_traits<char>> const&>::Matcher(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
Matcher<const internal::StringView&>::Matcher(const std::string& s) { *this = Eq(s); }
pushq %r14 pushq %rbx subq $0x58, %rsp movq %rdi, %rbx andq $0x0, 0x8(%rdi) leaq 0x23a2c(%rip), %rax # 0x3f7f8 movq %rax, (%rdi) leaq 0x18(%rsp), %rdi callq 0x77b0 leaq 0x38(%rsp), %rdi leaq 0x18(%rsp), %rsi callq 0x77b0 movq %rsp, %rdi leaq 0x38(%rsp), %rsi callq 0x21a3c movq %rsp, %rsi movq %rbx, %rdi callq 0x242...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-matchers.cc
testing::Matcher<std::basic_string_view<char, std::char_traits<char>>>::Matcher(char const*)
Matcher<internal::StringView>::Matcher(const char* s) { *this = Eq(std::string(s)); }
pushq %r14 pushq %rbx subq $0x68, %rsp movq %rdi, %rbx andq $0x0, 0x8(%rdi) leaq 0x23782(%rip), %rax # 0x3f828 movq %rax, (%rdi) leaq 0x28(%rsp), %rdi leaq 0xf(%rsp), %rdx callq 0x859e leaq 0x48(%rsp), %rdi leaq 0x28(%rsp), %rsi callq 0x77b0 leaq 0x10(%rsp), %rdi leaq 0x48(%rsp), %rsi callq 0x21a6c leaq 0x10(%rsp),...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-matchers.cc
testing::Matcher<std::basic_string_view<char, std::char_traits<char>>>::Matcher(std::basic_string_view<char, std::char_traits<char>>)
Matcher<internal::StringView>::Matcher(internal::StringView s) { *this = Eq(std::string(s)); }
pushq %r14 pushq %rbx subq $0x78, %rsp movq %rdi, %rbx leaq 0x68(%rsp), %rax movq %rsi, (%rax) movq %rdx, 0x8(%rax) andq $0x0, 0x8(%rdi) leaq 0x236bc(%rip), %rcx # 0x3f828 movq %rcx, (%rdi) leaq 0x28(%rsp), %rdi leaq 0xf(%rsp), %rdx movq %rax, %rsi callq 0x21a52 leaq 0x48(%rsp), %rdi leaq 0x28(%rsp), %rsi callq 0x7...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-matchers.cc
testing::internal::GTestLog::GTestLog(testing::internal::GTestLogSeverity, char const*, int)
GTestLog::GTestLog(GTestLogSeverity severity, const char* file, int line) : severity_(severity) { const char* const marker = severity == GTEST_INFO ? "[ INFO ]" : severity == GTEST_WARNING ? "[WARNING]" : severity == GTEST_ERROR ? "[ ERROR ]" : "[ FATAL ]"; GetStream() << ::std::endl << ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movl %ecx, %ebx movq %rdx, %r14 movl %esi, (%rdi) cmpl $0x2, %esi leaq 0xed5e(%rip), %rax # 0x2b1d8 leaq 0xed61(%rip), %rcx # 0x2b1e2 cmoveq %rax, %rcx cmpl $0x1, %esi leaq 0xed3f(%rip), %rax # 0x2b1ce cmovneq %rcx, %rax testl %esi, %esi leaq 0...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-port.cc
testing::internal::CaptureStream(int, char const*, testing::internal::CapturedStream**)
static void CaptureStream(int fd, const char* stream_name, CapturedStream** stream) { if (*stream != nullptr) { GTEST_LOG_(FATAL) << "Only one " << stream_name << " capturer can exist at a time."; } *stream = new CapturedStream(fd); }
pushq %rbp pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdx, %rbx movl %edi, %ebp cmpq $0x0, (%rdx) je 0x1c5ce movq %rsi, %r14 leaq 0xebb7(%rip), %rdx # 0x2b13c leaq 0xc(%rsp), %rdi pushq $0x3 popq %rsi movl $0x4b0, %ecx # imm = 0x4B0 callq 0x1c45e movq 0x23a4a(%rip), %rdi # 0x3ffe8 leaq 0xf7c9(%rip...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-port.cc
testing::internal::ReadEntireFile[abi:cxx11](_IO_FILE*)
std::string ReadEntireFile(FILE* file) { const size_t file_size = GetFileSize(file); char* const buffer = new char[file_size]; size_t bytes_last_read = 0; // # of bytes read in the last fread() size_t bytes_read = 0; // # of bytes read so far fseek(file, 0, SEEK_SET); // Keeps reading the file unt...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r15 movq %rdi, %rbx movq %rsi, %rdi callq 0x1c664 movq %rax, %r12 movq %rax, %rdi callq 0x7040 movq %rax, %r14 xorl %ebp, %ebp movq %r15, %rdi xorl %esi, %esi xorl %edx, %edx callq 0x75a0 pushq $0x1 popq %r13 leaq (%r14,%rbp), %rdi...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-port.cc
testing::internal::FlagToEnvVar[abi:cxx11](char const*)
static std::string FlagToEnvVar(const char* flag) { const std::string full_flag = (Message() << GTEST_FLAG_PREFIX_ << flag).GetString(); Message env_var; for (size_t i = 0; i != full_flag.length(); i++) { env_var << ToUpper(full_flag.c_str()[i]); } return env_var.GetString(); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx movq %rsi, 0x10(%rsp) leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0xb954 movq (%r14), %rdi addq $0x10, %rdi leaq 0xe821(%rip), %rsi # 0x2b028 callq 0x74b0 leaq 0x8(%rsp), %rdi leaq 0x10(%rsp), %rsi callq 0x1ec7e leaq 0x18(%rsp), %rdi movq ...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-port.cc
testing::internal::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*)
void PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count, ostream* os) { PrintBytesInObjectToImpl(obj_bytes, count, os); }
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq %rdx, %rdi callq 0x7320 leaq 0xf539(%rip), %rsi # 0x2be3b movq %rax, %rdi callq 0x74b0 cmpq $0x83, %r14 ja 0x1c91a movq %r15, %rdi xorl %esi, %esi jmp 0x1c947 pushq $0x40 popq %rdx movq %r15, %rdi xorl %esi, %esi movq %rbx, %rcx ...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-printers.cc
testing::internal::PrintTo(char32_t, std::ostream*)
void PrintTo(char32_t c, ::std::ostream* os) { *os << std::hex << "U+" << std::uppercase << std::setfill('0') << std::setw(4) << static_cast<uint32_t>(c); }
pushq %rbx movq %rsi, %rax movl %edi, %ebx movq (%rsi), %rcx movq -0x18(%rcx), %rcx movl 0x18(%rsi,%rcx), %edx andl $-0x4b, %edx orl $0x8, %edx movl %edx, 0x18(%rsi,%rcx) leaq 0xe91a(%rip), %rsi # 0x2b2b1 movq %rax, %rdi callq 0x74b0 movq (%rax), %rcx movq -0x18(%rcx), %rcx orl $0x4000, 0x18(%rax,%rcx) # imm = 0x4...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-printers.cc
testing::internal::PrintTo(char16_t const*, std::ostream*)
void PrintTo(const char16_t* s, ostream* os) { PrintCStringTo(s, os); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx testq %rdi, %rdi je 0x1cb47 movq %rdi, %r14 movq %rbx, %rdi movq %r14, %rsi callq 0x73c0 leaq 0xf64b(%rip), %rsi # 0x2c16d movq %rax, %rdi callq 0x74b0 movq %r14, %rdi callq 0x27bde movq %r14, %rdi movq %rax, %rsi movq %rbx, %rdx addq $0x8, %rsp popq %rbx popq %r14 ...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-printers.cc
testing::internal::PrintTo(char32_t const*, std::ostream*)
void PrintTo(const char32_t* s, ostream* os) { PrintCStringTo(s, os); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx testq %rdi, %rdi je 0x1cba3 movq %rdi, %r14 movq %rbx, %rdi movq %r14, %rsi callq 0x73c0 leaq 0xf5ef(%rip), %rsi # 0x2c16d movq %rax, %rdi callq 0x74b0 movq %r14, %rdi callq 0x27bee movq %r14, %rdi movq %rax, %rsi movq %rbx, %rdx addq $0x8, %rsp popq %rbx popq %r14 ...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-printers.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_[static_cast<size_t>(index)]; }
testl %esi, %esi js 0x1d1e5 movq (%rdi), %rcx movq 0x8(%rdi), %rax subq %rcx, %rax pushq $0x70 popq %rdi cqto idivq %rdi cmpl %esi, %eax jle 0x1d1e5 movl %esi, %eax imulq $0x70, %rax, %rax addq %rax, %rcx movq %rcx, %rax retq pushq %rax leaq 0xe0f7(%rip), %rdi # 0x2b2e4 xorl %eax, %eax callq 0x7070 callq 0x1fab9 n...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-test-part.cc
testing::TestInfo* testing::RegisterTest<testing::internal::InsertSyntheticTestCase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, testing::internal::CodeLocation, bool)::$_0>(char const*, char const*, char const*, char const*, char const*, int, testing::internal::InsertSynthetic...
Test* CreateTest() override { return factory_(); }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %r14 leaq 0x8(%rdi), %r15 pushq $0x60 popq %rdi callq 0x74d0 movq %rax, %rbx movq %rsp, %rdi movq %r15, %rsi callq 0x77b0 addq $0x28, %r14 movq %rsp, %rdx movq %rbx, %rdi movq %r14, %rsi callq 0x1db2e movq %rsp, %rdi callq 0x7ad8 movq %rbx, %rax addq $0x20, %...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest.h
testing::internal::(anonymous namespace)::FailureTest::TestBody()
void TestBody() override { if (as_error_) { AssertHelper(TestPartResult::kNonFatalFailure, loc_.file.c_str(), loc_.line, "") = Message() << error_message_; } else { std::cout << error_message_ << std::endl; } }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %r14 cmpb $0x1, 0x58(%rdi) jne 0x1dc37 leaq 0x10(%rsp), %rbx movq %rbx, %rdi callq 0xb954 leaq 0x38(%r14), %rsi movq (%rbx), %rbx leaq 0x10(%rbx), %rdi callq 0x7440 movq 0x10(%r14), %rdx movl 0x30(%r14), %ecx leaq 0xc8cd(%rip), %r8 # 0x2a4c9 leaq 0x8(%rsp), %rdi p...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest.cc
testing::TestInfo* testing::RegisterTest<testing::internal::TypeParameterizedTestSuiteRegistry::CheckForInstantiations()::$_0>(char const*, char const*, char const*, char const*, char const*, int, testing::internal::TypeParameterizedTestSuiteRegistry::CheckForInstantiations()::$_0)::FactoryImpl::CreateTest()
Test* CreateTest() override { return factory_(); }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %r14 leaq 0x8(%rdi), %r15 pushq $0x60 popq %rdi callq 0x74d0 movq %rax, %rbx movq %rsp, %rdi movq %r15, %rsi callq 0x77b0 addq $0x48, %r14 movq %rsp, %rdx movq %rbx, %rdi movq %r14, %rsi callq 0x1db2e movq %rsp, %rdi callq 0x7ad8 movq %rbx, %rax addq $0x20, %...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest.h
testing::internal::ParseFlag(char const*, char const*, bool*)
static bool ParseFlag(const char* str, const char* flag_name, bool* value) { // Gets the value of the flag as a string. const char* const value_str = ParseFlagValue(str, flag_name, true); // Aborts if the parsing failed. if (value_str == nullptr) return false; // Converts the string value to a bool. *valu...
pushq %rbx movq %rdx, %rbx pushq $0x1 popq %rdx callq 0x1876c testq %rax, %rax je 0x1e5f3 movzbl (%rax), %edx xorl %ecx, %ecx cmpl $0x30, %edx je 0x1e5f1 cmpl $0x66, %edx je 0x1e5f1 cmpb $0x46, %dl setne %cl movb %cl, (%rbx) testq %rax, %rax setne %al popq %rbx retq
/mlutken[P]nestle/testing/googletest/googletest/src/gtest.cc
testing::AssertionResult& testing::AssertionResult::operator<<<char [5]>(char const (&) [5])
AssertionResult& operator<<(const T& value) { AppendMessage(Message() << value); return *this; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0xb954 movq (%r15), %rdi addq $0x10, %rdi movq %r14, %rsi callq 0x74b0 leaq 0x8(%rsp), %rsi movq %rbx, %rdi callq 0x2275c movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x1eeae movq (%rdi), %rax callq ...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest.h
testing::AssertionResult testing::internal::FloatingPointLE<float>(char const*, char const*, float, float)
AssertionResult FloatingPointLE(const char* expr1, const char* expr2, RawType val1, RawType val2) { // Returns success if val1 is less than val2, if (val1 < val2) { return AssertionSuccess(); } // or if val1 is ...
pushq %r15 pushq %r14 pushq %rbx subq $0x380, %rsp # imm = 0x380 movq %rdi, %rbx movq %rsi, 0x10(%rsp) movq %rdx, 0x8(%rsp) ucomiss %xmm0, %xmm1 ja 0x1f374 leaq 0x1c(%rsp), %rdi movss %xmm0, 0x4(%rsp) movss %xmm0, (%rdi) leaq 0x18(%rsp), %rsi movss %xmm1, (%rsp) movss %xmm1, (%rsi) callq 0x259ee testb %al, %...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest.cc
testing::AssertionResult testing::internal::FloatingPointLE<double>(char const*, char const*, double, double)
AssertionResult FloatingPointLE(const char* expr1, const char* expr2, RawType val1, RawType val2) { // Returns success if val1 is less than val2, if (val1 < val2) { return AssertionSuccess(); } // or if val1 is ...
pushq %r15 pushq %r14 pushq %rbx subq $0x390, %rsp # imm = 0x390 movq %rdi, %rbx movq %rsi, 0x18(%rsp) movq %rdx, 0x10(%rsp) ucomisd %xmm0, %xmm1 ja 0x1f584 leaq 0x78(%rsp), %rdi movsd %xmm0, 0x8(%rsp) movsd %xmm0, (%rdi) leaq 0x70(%rsp), %rsi movsd %xmm1, (%rsp) movsd %xmm1, (%rsi) callq 0x25a66 testb %al, ...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest.cc
testing::AssertionResult& testing::AssertionResult::operator<<<char [13]>(char const (&) [13])
AssertionResult& operator<<(const T& value) { AppendMessage(Message() << value); return *this; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0xb954 movq (%r15), %rdi addq $0x10, %rdi movq %r14, %rsi callq 0x74b0 leaq 0x8(%rsp), %rsi movq %rbx, %rdi callq 0x2275c movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x1f86e movq (%rdi), %rax callq ...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest.h
testing::AssertionResult& testing::AssertionResult::operator<<<char [29]>(char const (&) [29])
AssertionResult& operator<<(const T& value) { AppendMessage(Message() << value); return *this; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0xb954 movq (%r15), %rdi addq $0x10, %rdi movq %r14, %rsi callq 0x74b0 leaq 0x8(%rsp), %rsi movq %rbx, %rdi callq 0x2275c movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x1f8de movq (%rdi), %rax callq ...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest.h
testing::Message& testing::Message::operator<<<int>(int 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 movl (%rsi), %esi callq 0x7990 movq %rbx, %rax popq %rbx retq nop
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [65]>(char const (&) [65])
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 0x74b0 movq %rbx, %rax popq %rbx retq nop
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [6]>(char const (&) [6])
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 0x74b0 movq %rbx, %rax popq %rbx retq nop
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [30]>(char const (&) [30])
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 0x74b0 movq %rbx, %rax popq %rbx retq nop
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [39]>(char const (&) [39])
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 0x74b0 movq %rbx, %rax popq %rbx retq nop
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [62]>(char const (&) [62])
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 0x74b0 movq %rbx, %rax popq %rbx retq nop
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [32]>(char const (&) [32])
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 0x74b0 movq %rbx, %rax popq %rbx retq nop
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [18]>(char const (&) [18])
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 0x74b0 movq %rbx, %rax popq %rbx retq nop
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-message.h
testing::Message& testing::Message::operator<<<char [68]>(char const (&) [68])
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 0x74b0 movq %rbx, %rax popq %rbx retq nop
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-message.h
testing::Matcher<std::basic_string_view<char, std::char_traits<char>>>::~Matcher()
class GTEST_API_ Matcher<internal::StringView> : public internal::MatcherBase<internal::StringView> { public: Matcher() {} explicit Matcher(const MatcherInterface<const internal::StringView&>* impl) : internal::MatcherBase<internal::StringView>(impl) {} explicit Matcher(const MatcherInterface<internal...
pushq %rbx movq %rdi, %rbx callq 0x24884 pushq $0x18 popq %rsi movq %rbx, %rdi popq %rbx jmp 0x7500 nop
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-matchers.h
testing::AssertionResult& testing::AssertionResult::operator<<<char [11]>(char const (&) [11])
AssertionResult& operator<<(const T& value) { AppendMessage(Message() << value); return *this; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0xb954 movq (%r15), %rdi addq $0x10, %rdi movq %r14, %rsi callq 0x74b0 leaq 0x8(%rsp), %rsi movq %rbx, %rdi callq 0x2275c movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x22654 movq (%rdi), %rax callq ...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest.h
testing::AssertionResult& testing::AssertionResult::operator<<<char [14]>(char const (&) [14])
AssertionResult& operator<<(const T& value) { AppendMessage(Message() << value); return *this; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0xb954 movq (%r15), %rdi addq $0x10, %rdi movq %r14, %rsi callq 0x74b0 leaq 0x8(%rsp), %rsi movq %rbx, %rdi callq 0x2275c movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x22734 movq (%rdi), %rax callq ...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest.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 != nullptr) { return CheckedDowncastToActualType<ValueHolder>(holder)->pointer(); } ValueHolder* const new_holder = default_factory_->Ma...
pushq %rbp pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdi, %r14 movl (%rdi), %edi callq 0x7890 testq %rax, %rax je 0x23124 movq %rax, %rdi callq 0x231b6 movq %rax, %rbx jmp 0x23191 movq 0x8(%r14), %rdi movq (%rdi), %rax callq *0x10(%rax) movq %rax, %rbx movl (%r14), %edi movq %rax, %rsi callq 0x70e0 testl %eax, %eax ...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/internal/gtest-port.h
testing::internal::StreamingListener::OnTestProgramEnd(testing::UnitTest const&)
void OnTestProgramEnd(const UnitTest& unit_test) override { // Note that Google Test current only report elapsed time for each // test iteration, not for the entire test program. SendLn("event=TestProgramEnd&passed=" + FormatBool(unit_test.Passed())); // Notify the streaming server to stop. socket_...
pushq %r14 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx movq %rsi, %rdi callq 0x10cd4 movzbl %al, %edx leaq 0x28(%rsp), %r14 movq %r14, %rdi movq %rbx, %rsi callq 0x23f12 leaq 0x7d02(%rip), %rsi # 0x2b998 leaq 0x8(%rsp), %rdi movq %r14, %rdx callq 0x1f906 leaq 0x8(%rsp), %rsi movq %rbx, %rdi callq 0x23eb6 leaq 0x8(...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-internal-inl.h
testing::internal::StreamingListener::SocketWriter::Send(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Send(const std::string& message) override { GTEST_CHECK_(sockfd_ != -1) << "Send() can be called only when there is a connection."; const auto len = static_cast<size_t>(message.length()); if (write(sockfd_, message.c_str(), len) != static_cast<ssize_t>(len)) { GTEST_LOG_(WARNIN...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movl 0x8(%rdi), %edi cmpl $-0x1, %edi jne 0x23da4 leaq 0x786e(%rip), %rdx # 0x2b5d1 leaq 0x4(%rsp), %rdi pushq $0x3 popq %rsi movl $0x439, %ecx # imm = 0x439 callq 0x1c45e movq 0x1c26c(%rip), %rdi # 0x3ffe8 leaq 0x7a39(%rip), %rsi ...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-internal-inl.h
testing::internal::StreamingListener::SocketWriter::CloseConnection()
void CloseConnection() override { GTEST_CHECK_(sockfd_ != -1) << "CloseConnection() can be called only when there is a connection."; close(sockfd_); sockfd_ = -1; }
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movl 0x8(%rdi), %edi cmpl $-0x1, %edi jne 0x23e92 leaq 0x7780(%rip), %rdx # 0x2b5d1 leaq 0xc(%rsp), %rdi pushq $0x3 popq %rsi movl $0x44a, %ecx # imm = 0x44A callq 0x1c45e movq 0x1c17e(%rip), %rdi # 0x3ffe8 leaq 0x794b(%rip), %rsi # 0x2b7bc callq 0x74...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-internal-inl.h
testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>::operator=(testing::internal::MatcherBase<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>&&)
MatcherBase& operator=(MatcherBase&& other) { if (this == &other) return *this; Destroy(); vtable_ = other.vtable_; buffer_ = other.buffer_; other.vtable_ = nullptr; return *this; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx cmpq %rsi, %rdi je 0x2422e movq %rsi, %r14 movq %rbx, %rdi callq 0x2423a movq 0x8(%r14), %rax movq %rax, 0x8(%rbx) movq 0x10(%r14), %rax movq %rax, 0x10(%rbx) andq $0x0, 0x8(%r14) movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq nop
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-matchers.h
testing::internal::CapturedStream::GetCapturedString[abi:cxx11]()
std::string GetCapturedString() { if (uncaptured_fd_ != -1) { // Restores the original stream. fflush(nullptr); dup2(uncaptured_fd_, fd_); close(uncaptured_fd_); uncaptured_fd_ = -1; } FILE* const file = posix::FOpen(filename_.c_str(), "r"); if (file == nullptr) { GT...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx cmpl $-0x1, 0x4(%rsi) je 0x244dc xorl %edi, %edi callq 0x7620 movl (%r14), %esi movl 0x4(%r14), %edi callq 0x7480 movl 0x4(%r14), %edi callq 0x7ab0 orl $-0x1, 0x4(%r14) movq 0x8(%r14), %rdi leaq 0x6354(%rip), %rsi # 0x2a83b callq 0x7...
/mlutken[P]nestle/testing/googletest/googletest/src/gtest-port.cc
testing::internal::GetPrefixUntilComma[abi:cxx11](char const*)
inline std::string GetPrefixUntilComma(const char* str) { const char* comma = strchr(str, ','); return comma == nullptr ? str : std::string(str, comma); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx pushq $0x2c popq %rsi movq %r14, %rdi callq 0x71d0 testq %rax, %rax je 0x24627 leaq 0x10(%rbx), %rcx movq %rcx, (%rbx) movq %rbx, %rdi movq %r14, %rsi movq %rax, %rdx callq 0x87c0 jmp 0x24637 leaq 0x7(%rsp), %rdx movq %rbx, %rdi movq %r14, %rsi callq 0x85...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/internal/gtest-internal.h
testing::internal::UniversalTersePrinter<wchar_t const*>::Print(wchar_t const*, std::ostream*)
static void Print(const wchar_t* str, ::std::ostream* os) { if (str == nullptr) { *os << "NULL"; } else { UniversalPrint(::std::wstring(str), os); } }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx testq %rdi, %rdi je 0x24735 movq %rdi, %rsi leaq 0x8(%rsp), %r14 leaq 0x7(%rsp), %rdx movq %r14, %rdi callq 0x24760 movq %r14, %rdi movq %rbx, %rsi callq 0x1cfe4 leaq 0x8(%rsp), %rdi callq 0x70c0 addq $0x28, %rsp popq %rbx popq %r14 retq leaq 0x3b73(%rip), %rsi ...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-printers.h
testing::internal::ThreadLocal<testing::TestPartResultReporterInterface*>::GetOrCreateValue() const
T* GetOrCreateValue() const { ThreadLocalValueHolderBase* const holder = static_cast<ThreadLocalValueHolderBase*>(pthread_getspecific(key_)); if (holder != nullptr) { return CheckedDowncastToActualType<ValueHolder>(holder)->pointer(); } ValueHolder* const new_holder = default_factory_->Ma...
pushq %rbp pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdi, %r14 movl (%rdi), %edi callq 0x7890 testq %rax, %rax je 0x24eca movq %rax, %rdi callq 0x24f5c movq %rax, %rbx jmp 0x24f37 movq 0x8(%r14), %rdi movq (%rdi), %rax callq *0x10(%rax) movq %rax, %rbx movl (%r14), %edi movq %rax, %rsi callq 0x70e0 testl %eax, %eax ...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/internal/gtest-port.h
testing::internal::ThreadLocal<testing::TestPartResultReporterInterface*>::ValueHolder* testing::internal::CheckedDowncastToActualType<testing::internal::ThreadLocal<testing::TestPartResultReporterInterface*>::ValueHolder, testing::internal::ThreadLocalValueHolderBase>(testing::internal::ThreadLocalValueHolderBase*)
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 0x24fd3 movq %rdi, %rbx movq (%rdi), %rax movq -0x8(%rax), %rdi leaq 0x1ac39(%rip), %rsi # 0x3fbb0 callq 0x23248 testb %al, %al jne 0x24fb6 leaq 0x647c(%rip), %rdx # 0x2b403 leaq 0xc(%rsp), %rdi pushq $0x3 popq %rsi movl $0x45d, %ecx # imm = 0x45D call...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/internal/gtest-port.h
testing::Message& testing::Message::operator<<<double>(double 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 movsd (%rsi), %xmm0 callq 0x7940 movq %rbx, %rax popq %rbx retq nop
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-message.h
testing::internal::FloatingPoint<float>::AlmostEquals(testing::internal::FloatingPoint<float> const&) const
Bits exponent_bits() const { return kExponentBitMask & u_.bits_; }
movl (%rdi), %eax movl %eax, %ecx notl %ecx testl $0x7f800000, %ecx # imm = 0x7F800000 sete %cl testl $0x7fffff, %eax # imm = 0x7FFFFF setne %al testb %al, %cl jne 0x25a24 movl (%rsi), %eax movl %eax, %ecx notl %ecx testl $0x7f800000, %ecx # imm = 0x7F800000 sete %cl testl $0x7fffff, %eax # ...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/internal/gtest-internal.h
testing::internal::FloatingPoint<float>::DistanceBetweenSignAndMagnitudeNumbers(unsigned int const&, unsigned int const&)
static Bits SignAndMagnitudeToBiased(const Bits &sam) { if (kSignBitMask & sam) { // sam represents a negative number. return ~sam + 1; } else { // sam represents a positive number. return kSignBitMask | sam; } }
movl (%rdi), %ecx movl %ecx, %edx negl %edx movl $0x80000000, %edi # imm = 0x80000000 movl %ecx, %eax orl %edi, %eax testl %ecx, %ecx cmovsl %edx, %eax movl (%rsi), %ecx movl %ecx, %edx negl %edx orl %ecx, %edi testl %ecx, %ecx cmovsl %edx, %edi movl %eax, %ecx subl %edi, %ecx negl %ecx subl %edi, %eax cmovbl %ec...
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/internal/gtest-internal.h
testing::Message& testing::Message::operator<<<char>(char* const&)
inline Message& operator <<(T* const& pointer) { // NOLINT if (pointer == nullptr) { *ss_ << "(null)"; } else { *ss_ << pointer; } return *this; }
pushq %rbx movq %rdi, %rbx movq (%rsi), %rax movq (%rdi), %rdi addq $0x10, %rdi testq %rax, %rax leaq 0x2805(%rip), %rsi # 0x29ec5 cmovneq %rax, %rsi callq 0x74b0 movq %rbx, %rax popq %rbx retq
/mlutken[P]nestle/testing/googletest/googletest/include/gtest/gtest-message.h
GLOBAL__sub_I_main.cxx
int main() { auto s = clask::server(); s.log.default_level = clask::log_level::INFO; s.static_dir("/", "./public"); s.GET("/api", [](clask::response_writer& resp, clask::request&) { resp.set_header("content-type", "application/json"); time_t t; struct tm* tm; std::time(&t); tm = std::gmtime(...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x928, %rsp # imm = 0x928 leaq 0x13beb(%rip), %rbx # 0x19420 movq %rbx, %rdi callq 0x5620 movq 0x137b4(%rip), %rdi # 0x18ff8 leaq 0x13b9d(%rip), %rdx # 0x193e8 movq %rbx, %rsi callq 0x5460 leaq 0x30(%rsp), %rax movl $0x64, -0...
/mattn[P]clask/example/static/main.cxx
GLOBAL__sub_I_main.cxx.cold.1
int main() { auto s = clask::server(); s.log.default_level = clask::log_level::INFO; s.static_dir("/", "./public"); s.GET("/api", [](clask::response_writer& resp, clask::request&) { resp.set_header("content-type", "application/json"); time_t t; struct tm* tm; std::time(&t); tm = std::gmtime(...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 addq $-0x10, %r14 movq -0x10(%r14), %rdi cmpq %rdi, %r14 je 0x6b8d movq (%r14), %rsi incq %rsi callq 0x54c0 leaq -0x28(%r14), %rax addq $-0x18, %r14 cmpq %rbx, %r14 movq %rax, %r14 jne 0x6b79 addq $0x8, %rsp popq %rbx popq %r14 retq nopw %cs:(%rax,%rax) n...
/mattn[P]clask/example/static/main.cxx
phr_parse_response
int phr_parse_response(const char *buf_start, size_t len, int *minor_version, int *status, const char **msg, size_t *msg_len, struct phr_header *headers, size_t *num_headers, size_t last_len) { const char *buf = buf_start, *buf_end = buf + len; size_t max_headers = *num_headers; int r...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %r9, %r12 movq %r8, %r13 movq %rcx, %rbp movq %rsi, %r14 movq %rdi, %rbx movq 0x60(%rsp), %rax movq 0x58(%rsp), %r15 addq %rdi, %r14 movq (%r15), %r10 movl $0xffffffff, (%rdx) # imm = 0xFFFFFFFF movl $0x0, (%rcx) xorl %ecx, %ecx...
/mattn[P]clask/clask/../clask/picohttpparser.c
phr_parse_headers
int phr_parse_headers(const char *buf_start, size_t len, struct phr_header *headers, size_t *num_headers, size_t last_len) { const char *buf = buf_start, *buf_end = buf + len; size_t max_headers = *num_headers; int r; *num_headers = 0; /* if last_len != 0, check if the response is complete (a fast...
pushq %rbp pushq %rbx pushq %rax movq %r8, %rax movq %rdi, %rbx addq %rdi, %rsi movq (%rcx), %r8 movq $0x0, (%rcx) testq %rax, %rax je 0x710c cmpq $0x3, %rax leaq -0x3(%rbx,%rax), %r9 cmovbq %rbx, %r9 xorl %edi, %edi movl $0xfffffffe, %eax # imm = 0xFFFFFFFE cmpq %rsi, %r9 je 0x712d movzbl (%r9), %ebp leaq 0x1(%r...
/mattn[P]clask/clask/../clask/picohttpparser.c
parse_headers(char const*, char const*, phr_header*, unsigned long*, unsigned long, int*)
static const char *parse_headers(const char *buf, const char *buf_end, struct phr_header *headers, size_t *num_headers, size_t max_headers, int *ret) { for (;; ++*num_headers) { CHECK_EOF(); if (*buf == '\015') { ++buf; EXPECT_CHAR('\012'); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp cmpq %rsi, %rdi je 0x72e8 movq %rdx, %r13 movq %rsi, %r15 movq %rdi, %rax leaq 0xbec1(%rip), %rbp # 0x1301c leaq 0x20(%rsp), %rdx leaq 0x18(%rsp), %r12 xorps %xmm0, %xmm0 movzbl (%rax), %esi cmpl $0xa, %esi je 0x72ce cmpl $0xd, %esi...
/mattn[P]clask/clask/../clask/picohttpparser.c
phr_decode_chunked
ssize_t phr_decode_chunked(struct phr_chunked_decoder *decoder, char *buf, size_t *_bufsz) { size_t dst = 0, src = 0, bufsz = *_bufsz; ssize_t ret = -2; /* incomplete */ while (1) { switch (decoder->_state) { case CHUNKED_IN_CHUNK_SIZE: for (;; ++src) { int v; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r8 movq %rsi, %r14 movq %rdi, %r13 movq (%rdx), %rbx movb 0xa(%rdi), %al movq %rbx, %r15 negq %r15 xorl %r12d, %r12d leaq 0xbcd1(%rip), %rdi # 0x13004 xorl %esi, %esi cmpb $0x5, %al ja 0x759a movzbl %al, %eax movslq (%rdi,%rax...
/mattn[P]clask/clask/../clask/picohttpparser.c
main
int main() { auto s = clask::server(); s.log.default_level = clask::log_level::INFO; s.static_dir("/", "./public"); s.GET("/api", [](clask::response_writer& resp, clask::request&) { resp.set_header("content-type", "application/json"); time_t t; struct tm* tm; std::time(&t); tm = std::gmtime(...
pushq %r15 pushq %r14 pushq %rbx subq $0x390, %rsp # imm = 0x390 leaq 0xa8(%rsp), %rdi callq 0x89a6 movl $0x2, 0x11e0a(%rip) # 0x193f0 leaq 0x30(%rsp), %r14 movq %r14, -0x10(%r14) leaq 0xc050(%rip), %rsi # 0x13646 leaq 0xc04a(%rip), %rdx # 0x13647 leaq 0x20(%rsp), %rdi callq 0x93e0 leaq 0x10(%r...
/mattn[P]clask/example/static/main.cxx
parse_http_version(char const*, char const*, int*, int*)
static const char *parse_http_version(const char *buf, const char *buf_end, int *minor_version, int *ret) { /* we want at least [HTTP/1.<two chars>] to try to parse */ if (buf_end - buf < 9) { *ret = -2; return NULL; } EXPECT_CHAR_NO_CHECK('H'); EXPECT_CHAR_NO_CHECK('T'); EXPECT_...
subq %rdi, %rsi cmpq $0x8, %rsi jg 0x7865 movl $0xfffffffe, (%rcx) # imm = 0xFFFFFFFE jmp 0x78a4 movq %rdi, %rax cmpb $0x48, (%rdi) jne 0x789e cmpb $0x54, 0x1(%rax) jne 0x789e cmpb $0x54, 0x2(%rax) jne 0x789e cmpb $0x50, 0x3(%rax) jne 0x789e cmpb $0x2f, 0x4(%rax) jne 0x789e cmpb $0x31, 0x5(%rax) jne 0x789e cmpb $0x...
/mattn[P]clask/clask/../clask/picohttpparser.c
clask::response_writer::write(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
inline void response_writer::write(const std::string& content) { if (!header_out) { write_headers(); } send(s, content.data(), (int) content.size(), MSG_NOSIGNAL); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 cmpb $0x0, 0x24(%rdi) jne 0x8181 movq (%r14), %rax movq %r14, %rdi callq *0x10(%rax) movl 0x20(%r14), %edi movq (%rbx), %rsi movslq 0x8(%rbx), %rdx movl $0x4000, %ecx # imm = 0x4000 addq $0x8, %rsp popq %rbx popq %r14 jmp 0x5250 nop
/mattn[P]clask/clask/../clask/core.hpp
clask::response_writer::write(char*, unsigned long)
inline void response_writer::write(char* buf, size_t n) { write(std::string(buf, n)); }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx leaq 0x10(%rsp), %r15 movq %r15, -0x10(%r15) addq %rsi, %rdx movq %rsp, %r14 movq %r14, %rdi callq 0x93e0 movq (%rbx), %rax movq %rbx, %rdi movq %r14, %rsi callq *(%rax) movq (%rsp), %rdi cmpq %r15, %rdi je 0x84c8 movq 0x10(%rsp), %rsi incq %rsi callq 0x...
/mattn[P]clask/clask/../clask/core.hpp
clask::response_writer::write_headers()
inline void response_writer::write_headers() { header_out = true; std::ostringstream os; os << "HTTP/1.1 " << code << " " << status_codes[code] << "\r\n"; auto res_headers = os.str(); send(s, res_headers.data(), (int) res_headers.size(), MSG_NOSIGNAL); for (auto& h : headers) { auto hh = h.first + ": " ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1f8, %rsp # imm = 0x1F8 movq %rdi, %rbx movb $0x1, 0x24(%rdi) leaq 0x80(%rsp), %r14 movq %r14, %rdi callq 0x5590 leaq 0xb48a(%rip), %rsi # 0x139ad movl $0x9, %edx movq %r14, %rdi callq 0x5520 movl 0x28(%rbx), %esi leaq 0x80(%rsp),...
/mattn[P]clask/clask/../clask/core.hpp
clask::server_t::server_t()
server_t() : treeGET{}, treePOST{} {}
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdi, %rbx leaq 0x10(%rdi), %r13 movq %r13, (%rdi) xorl %eax, %eax movq %rax, 0x8(%rdi) movb %al, 0x10(%rdi) leaq 0x20(%rdi), %r14 leaq 0x48(%rdi), %rcx xorps %xmm0, %xmm0 movups %xmm0, 0x20(%rdi) movq %rax, 0x30(%rdi) movq %rcx, 0x38(%rdi) movq %rax, 0x40(%rd...
/mattn[P]clask/clask/../clask/core.hpp
clask::serve_dir(clask::response_writer&, clask::request&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
inline void serve_dir(response_writer& resp, request& req, const std::string& path) { auto wpath = to_wstring(path); resp.code = 200; resp.set_header("content-type", "text/html; charset=utf-8"); std::ostringstream os; os << "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<title>"; os << html_en...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x248, %rsp # imm = 0x248 movq %rsi, %r14 movq %rdi, %rbx leaq 0xb0(%rsp), %rdi movq %rdx, %rsi callq 0xbe59 movq %rbx, 0x28(%rsp) movl $0xc8, 0x28(%rbx) leaq 0xa0(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0x8fb0(%rip), %rsi # 0x1369d...
/mattn[P]clask/clask/../clask/core.hpp
clask::to_wstring(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
inline std::wstring to_wstring(const std::string& input) { try { std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> converter; return converter.from_bytes(input); } catch (std::range_error&) { size_t length = input.length(); std::wstring result; result.reserve(length); for (size_t i = 0;...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x60, %rsp movq %rsi, %r14 movq %rdi, %rbx movq %rsp, %rdi callq 0xc1c8 movq (%r14), %rdx movq 0x8(%r14), %rcx addq %rdx, %rcx movq %rsp, %rsi movq %rbx, %rdi callq 0xc2b6 movq %rsp, %rdi callq 0xc24e movq %rbx, %rax addq $0x60, %rsp popq %rbx popq %r12 popq ...
/mattn[P]clask/clask/../clask/core.hpp
test_CECoordinates::test_copy()
bool test_CECoordinates::test_copy() { // Make sure the equals and not-equals operators work properly test_bool((base_icrs_ == base_icrs_), true, __func__, __LINE__); test_bool((base_icrs_ != base_icrs_), false, __func__, __LINE__); test_bool((base_icrs_ == base_gal_), false, __func__, __LINE__); te...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xe8, %rsp movq %rdi, %rbx leaq 0x250(%rdi), %r14 movq %r14, %rdi movq %r14, %rsi callq 0x29ab3 movl %eax, %ebp leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x1c690 leaq 0x19068(%rip), %rsi # 0x37078 leaq 0x38(%rsp), %rdi movq %r15, %rdx callq 0x...
/Jvinniec[P]CppEphem/cppephem/test/test_CECoordinates.cpp
test_CECoordinates::test_Convert2Observed()
bool test_CECoordinates::test_Convert2Observed() { // preliminary variables for observer based conversion double az(0.0); double zen(0.0); CECoordinates testobs; // CIRS -> Observed CECoordinates cirs2obs = base_cirs_.ConvertToObserved( base_date_, // date ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x198, %rsp # imm = 0x198 movq %rdi, %rbx xorl %eax, %eax movq %rax, 0x70(%rsp) movq %rax, 0x68(%rsp) leaq 0x138(%rsp), %rdi callq 0x261d0 leaq 0x2e0(%rbx), %r14 movq %r14, %rdi callq 0x2ecb8 movsd %xmm0, 0x30(%rsp) leaq 0x320(%rbx), %r1...
/Jvinniec[P]CppEphem/cppephem/test/test_CECoordinates.cpp
double benchmark<remora::triangular_tag<false, false>, remora::matrix<double, remora::column_major, remora::cpu_tag>, remora::matrix<double, remora::row_major, remora::cpu_tag>, remora::matrix<double, remora::row_major, remora::cpu_tag>>(remora::matrix_expression<remora::matrix<double, remora::column_major, remora::cpu...
double benchmark( matrix_expression<AMat, cpu_tag> const& A, matrix_expression<BMat, cpu_tag> const& B, matrix_expression<CMat, cpu_tag> & C ){ double minTime = std::numeric_limits<double>::max(); for(std::size_t i = 0; i != 10; ++i){ Timer time; noalias(C) += triangular_prod<Triangular>(A,B); minTi...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movsd 0x5395(%rip), %xmm1 # 0xb0a8 movl $0xa, %ebp leaq 0x30(%rsp), %r12 leaq 0x10(%rsp), %r13 movsd %xmm1, 0x8(%rsp) movl $0x1, %edi callq 0x7594 movsd %xmm0, (%rsp) movq 0x10(%r14), %...
/Shark-ML[P]Remora/examples/Benchmarks/trmm.cpp
double benchmark<remora::triangular_tag<false, false>, remora::matrix<double, remora::column_major, remora::cpu_tag>, remora::matrix<double, remora::row_major, remora::cpu_tag>, remora::matrix<double, remora::column_major, remora::cpu_tag>>(remora::matrix_expression<remora::matrix<double, remora::column_major, remora::...
double benchmark( matrix_expression<AMat, cpu_tag> const& A, matrix_expression<BMat, cpu_tag> const& B, matrix_expression<CMat, cpu_tag> & C ){ double minTime = std::numeric_limits<double>::max(); for(std::size_t i = 0; i != 10; ++i){ Timer time; noalias(C) += triangular_prod<Triangular>(A,B); minTi...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movsd 0x486c(%rip), %xmm1 # 0xb0a8 movl $0xa, %ebp leaq 0x30(%rsp), %r12 leaq 0x10(%rsp), %r13 movsd %xmm1, 0x8(%rsp) movl $0x1, %edi callq 0x7594 movsd %xmm0, (%rsp) movq 0x10(%r14), %...
/Shark-ML[P]Remora/examples/Benchmarks/trmm.cpp
double benchmark<remora::triangular_tag<false, false>, remora::matrix<double, remora::column_major, remora::cpu_tag>, remora::matrix<double, remora::column_major, remora::cpu_tag>, remora::matrix<double, remora::column_major, remora::cpu_tag>>(remora::matrix_expression<remora::matrix<double, remora::column_major, remor...
double benchmark( matrix_expression<AMat, cpu_tag> const& A, matrix_expression<BMat, cpu_tag> const& B, matrix_expression<CMat, cpu_tag> & C ){ double minTime = std::numeric_limits<double>::max(); for(std::size_t i = 0; i != 10; ++i){ Timer time; noalias(C) += triangular_prod<Triangular>(A,B); minTi...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movsd 0x45af(%rip), %xmm1 # 0xb0a8 movl $0xa, %ebp leaq 0x30(%rsp), %r12 leaq 0x10(%rsp), %r13 movsd %xmm1, 0x8(%rsp) movl $0x1, %edi callq 0x7594 movsd %xmm0, (%rsp) movq 0x10(%r14), %...
/Shark-ML[P]Remora/examples/Benchmarks/trmm.cpp
void remora::bindings::trmm_impl<remora::dense_matrix_adaptor<double const, remora::column_major, remora::dense_tag, remora::cpu_tag>, remora::matrix<double, remora::column_major, remora::cpu_tag>, remora::triangular_tag<false, false>>(remora::matrix_expression<remora::dense_matrix_adaptor<double const, remora::column_...
void trmm_impl( matrix_expression<E1, cpu_tag> const& e1, matrix_expression<E2, cpu_tag> & e2, Triangular t ){ typedef typename std::common_type<typename E1::value_type, typename E2::value_type>::type value_type; typedef trmm_block_size<value_type> block_size; static const std::size_t AC = block_size::lhs_block_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movq %rsi, %r14 movq %rdi, 0x48(%rsp) leaq 0xf(%rsp), %rbx movl $0x4000, %esi # imm = 0x4000 movq %rbx, %rdi xorl %edx, %edx callq 0x7b0c movq %rax, 0x50(%rsp) movl $0x1fe00, %esi # imm = 0x1F...
/Shark-ML[P]Remora/include/remora/detail/../kernels/default/trmm.hpp
void remora::matrix_matrix_prod<remora::dense_triangular_proxy<double const, remora::column_major, remora::triangular_tag<true, false>, remora::cpu_tag>, remora::matrix<double, remora::column_major, remora::cpu_tag>>::plus_assign_to<remora::dense_matrix_adaptor<double, remora::column_major, remora::continuous_dense_tag...
void plus_assign_to(matrix_expression<MatX, device_type>& X, triangular_structure, dense_tag )const{ //computation of trmm is in-place so we need a temporary for plus-assign. typename matrix_temporary<MatX>::type temp = m_rhs; kernels::trmm<MatA::orientation::is_upper, MatA::orientation::is_unit>(m_lhs.to_dense()...
pushq %r15 pushq %r14 pushq %rbx subq $0x50, %rsp movq %rsi, %rbx movq %rdi, %r14 leaq 0x20(%rdi), %rsi leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0xa0be movq (%r14), %rax movq 0x18(%r14), %rcx leaq 0x30(%rsp), %rdi movq %rax, (%rdi) movups 0x8(%r14), %xmm0 movups %xmm0, 0x8(%rdi) movq %rcx, 0x18(%rdi) movq %r15, %rsi ...
/Shark-ML[P]Remora/include/remora/detail/matrix_expression_classes.hpp
glfwJoystickPresent
GLFWAPI int glfwJoystickPresent(int jid) { _GLFWjoystick* js; assert(jid >= GLFW_JOYSTICK_1); assert(jid <= GLFW_JOYSTICK_LAST); _GLFW_REQUIRE_INIT_OR_RETURN(GLFW_FALSE); if (jid < 0 || jid > GLFW_JOYSTICK_LAST) { _glfwInputError(GLFW_INVALID_ENUM, "Invalid joystick ID %i", jid); ...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movl %edi, -0x8(%rbp) cmpl $0x0, -0x8(%rbp) jl 0xbc73 jmp 0xbc92 leaq 0x33443(%rip), %rdi # 0x3f0bd leaq 0x32f65(%rip), %rsi # 0x3ebe6 movl $0x3a0, %edx # imm = 0x3A0 leaq 0x33447(%rip), %rcx # 0x3f0d4 callq 0x7350 cmpl $0xf, -0x8(%rbp) jg 0xbc9a jmp 0x...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/input.c
glfwSetJoystickUserPointer
GLFWAPI void glfwSetJoystickUserPointer(int jid, void* pointer) { _GLFWjoystick* js; assert(jid >= GLFW_JOYSTICK_1); assert(jid <= GLFW_JOYSTICK_LAST); _GLFW_REQUIRE_INIT(); js = _glfw.joysticks + jid; if (!js->present) return; js->userPointer = pointer; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movl %edi, -0x4(%rbp) movq %rsi, -0x10(%rbp) cmpl $0x0, -0x4(%rbp) jl 0xc3f7 jmp 0xc416 leaq 0x32cbf(%rip), %rdi # 0x3f0bd leaq 0x327e1(%rip), %rsi # 0x3ebe6 movl $0x443, %edx # imm = 0x443 leaq 0x32e03(%rip), %rcx # 0x3f214 callq 0x7350 cmpl $0xf, -0x4...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/input.c
glfwGetMonitorPhysicalSize
GLFWAPI void glfwGetMonitorPhysicalSize(GLFWmonitor* handle, int* widthMM, int* heightMM) { _GLFWmonitor* monitor = (_GLFWmonitor*) handle; assert(monitor != NULL); if (widthMM) *widthMM = 0; if (heightMM) *heightMM = 0; _GLFW_REQUIRE_INIT(); if (widthMM) *widthMM = mo...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) cmpq $0x0, -0x20(%rbp) je 0xde95 jmp 0xdeb4 leaq 0x3160f(%rip), %rdi # 0x3f4ab leaq 0x31579(%rip), %rsi # 0x3f41c movl $0x169, %edx # imm = 0x16...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/monitor.c
glfwInitVulkan
GLFWbool _glfwInitVulkan(int mode) { VkResult err; VkExtensionProperties* ep; uint32_t i, count; if (_glfw.vk.available) return GLFW_TRUE; #if !defined(_GLFW_VULKAN_STATIC) #if defined(_GLFW_VULKAN_LIBRARY) _glfw.vk.handle = _glfw_dlopen(_GLFW_VULKAN_LIBRARY); #elif defined(_GLFW_WIN32) ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movl %edi, -0x8(%rbp) leaq 0x3ca26(%rip), %rax # 0x4b1c8 cmpl $0x0, 0x205f0(%rax) je 0xe7b7 movl $0x1, -0x4(%rbp) jmp 0xea8f leaq 0x31043(%rip), %rdi # 0x3f801 movl $0x1, %esi callq 0x76e0 movq %rax, %rcx leaq 0x3c9f6(%rip), %rax # 0x4b1c8 movq %rcx, 0x205f8(%rax)...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/vulkan.c
glfwGetRequiredInstanceExtensions
GLFWAPI const char** glfwGetRequiredInstanceExtensions(uint32_t* count) { assert(count != NULL); *count = 0; _GLFW_REQUIRE_INIT_OR_RETURN(NULL); if (!_glfwInitVulkan(_GLFW_REQUIRE_LOADER)) return NULL; if (!_glfw.vk.extensions[0]) return NULL; *count = 2; return (const c...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x10(%rbp) cmpq $0x0, -0x10(%rbp) je 0xede5 jmp 0xee04 leaq 0x30363(%rip), %rdi # 0x3f14f leaq 0x30ffc(%rip), %rsi # 0x3fdef movl $0xeb, %edx leaq 0x31059(%rip), %rcx # 0x3fe58 callq 0x7350 movq -0x10(%rbp), %rax movl $0x0, (%rax) leaq 0x3c3b3(%rip), %...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/vulkan.c
glfwGetInstanceProcAddress
GLFWAPI GLFWvkproc glfwGetInstanceProcAddress(VkInstance instance, const char* procname) { GLFWvkproc proc; assert(procname != NULL); _GLFW_REQUIRE_INIT_OR_RETURN(NULL); if (!_glfwInitVulkan(_GLFW_REQUIRE_LOADER)) return NULL; proc = (GLFWvkpr...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) je 0xeeb9 jmp 0xeed8 leaq 0x156eb(%rip), %rdi # 0x245ab leaq 0x30f28(%rip), %rsi # 0x3fdef movl $0xff, %edx leaq 0x30fc0(%rip), %rcx # 0x3fe93 callq 0x7350 leaq 0x3c2e9(%rip), %rax # 0x4b1c8 ...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/vulkan.c
glfwInputWindowFocus
void _glfwInputWindowFocus(_GLFWwindow* window, GLFWbool focused) { if (window->callbacks.focus) window->callbacks.focus((GLFWwindow*) window, focused); if (!focused) { int key, button; for (key = 0; key <= GLFW_KEY_LAST; key++) { if (window->keys[key] == GLFW...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq -0x8(%rbp), %rax cmpq $0x0, 0x2e0(%rax) je 0xf1f1 movq -0x8(%rbp), %rax movq 0x2e0(%rax), %rax movq -0x8(%rbp), %rdi movl -0xc(%rbp), %esi callq *%rax cmpl $0x0, -0xc(%rbp) jne 0xf28e movl $0x0, -0x10(%rbp) cmpl $0x15c, -0x10(%...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/window.c
glfwCreateWindow
GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height, const char* title, GLFWmonitor* monitor, GLFWwindow* share) { _GLFWfbconfig fbconfig; _GLFWctxconfig ctxconfig; _GLFWwndconfig wndconfig;...
pushq %rbp movq %rsp, %rbp subq $0x3f0, %rsp # imm = 0x3F0 movl %edi, -0xc(%rbp) movl %esi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) cmpq $0x0, -0x18(%rbp) je 0xf4f6 jmp 0xf515 leaq 0x30b6c(%rip), %rdi # 0x40069 leaq 0x30b73(%rip), %rsi # 0x40077 movl $0xa2, %ed...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/window.c
glfwWindowHintString
GLFWAPI void glfwWindowHintString(int hint, const char* value) { assert(value != NULL); _GLFW_REQUIRE_INIT(); switch (hint) { case GLFW_COCOA_FRAME_NAME: strncpy(_glfw.hints.window.ns.frameName, value, sizeof(_glfw.hints.window.ns.frameName) - 1); re...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movl %edi, -0x4(%rbp) movq %rsi, -0x10(%rbp) cmpq $0x0, -0x10(%rbp) je 0x101f8 jmp 0x10217 leaq 0x2ff7f(%rip), %rdi # 0x4017e leaq 0x2fe71(%rip), %rsi # 0x40077 movl $0x1a4, %edx # imm = 0x1A4 leaq 0x2ff7a(%rip), %rcx # 0x4018c callq 0x7350 leaq 0x3afaa...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/window.c
glfwSetWindowIcon
GLFWAPI void glfwSetWindowIcon(GLFWwindow* handle, int count, const GLFWimage* images) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); assert(count >= 0); assert(count == 0 || images != NULL); _GLFW_REQUIRE_INIT(); _glfwPlatformSetWindowIcon...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) cmpq $0x0, -0x20(%rbp) je 0x104b4 jmp 0x104d3 leaq 0x13ef7(%rip), %rdi # 0x243b2 leaq 0x2fbb5(%rip), %rsi # 0x40077 movl $0x1fc, %edx # imm = 0x1...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/window.c
glfwSetWindowPos
GLFWAPI void glfwSetWindowPos(GLFWwindow* handle, int xpos, int ypos) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); _GLFW_REQUIRE_INIT(); if (window->monitor) return; _glfwPlatformSetWindowPos(window, xpos, ypos); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) je 0x10623 jmp 0x10642 leaq 0x13d88(%rip), %rdi # 0x243b2 leaq 0x2fa46(%rip), %rsi # 0x40077 movl $0x215, %edx # imm = 0x2...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/window.c
glfwGetWindowSize
GLFWAPI void glfwGetWindowSize(GLFWwindow* handle, int* width, int* height) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); if (width) *width = 0; if (height) *height = 0; _GLFW_REQUIRE_INIT(); _glfwPlatformGetWindowSize(window, width, height); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) cmpq $0x0, -0x20(%rbp) je 0x106b5 jmp 0x106d4 leaq 0x13cf6(%rip), %rdi # 0x243b2 leaq 0x2f9b4(%rip), %rsi # 0x40077 movl $0x222, %edx # imm = 0x...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/window.c
glfwSetWindowSizeLimits
GLFWAPI void glfwSetWindowSizeLimits(GLFWwindow* handle, int minwidth, int minheight, int maxwidth, int maxheight) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); _GLFW_REQUIRE_INIT(); if (minwidth != GLFW...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movl %ecx, -0x14(%rbp) movl %r8d, -0x18(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) cmpq $0x0, -0x20(%rbp) je 0x1083a jmp 0x10859 leaq 0x13b71(%rip), %rdi # 0x243b2 leaq 0x2f82f(%rip), %rsi # 0x...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/window.c
glfwGetWindowFrameSize
GLFWAPI void glfwGetWindowFrameSize(GLFWwindow* handle, int* left, int* top, int* right, int* bottom) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); if (left) *left = 0; if (top) *top = 0; ...
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 %r8, -0x28(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x30(%rbp) cmpq $0x0, -0x30(%rbp) je 0x10b5d jmp 0x10b7c leaq 0x1384e(%rip), %rdi # 0x243b2 leaq 0x2f50c(%rip), %rsi # 0x...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/window.c
glfwSetWindowOpacity
GLFWAPI void glfwSetWindowOpacity(GLFWwindow* handle, float opacity) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); assert(opacity == opacity); assert(opacity >= 0.f); assert(opacity <= 1.f); _GLFW_REQUIRE_INIT(); if (opacity != opacity || opacity < 0.f || opacity >...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movss %xmm0, -0xc(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) je 0x10d42 jmp 0x10d61 leaq 0x13669(%rip), %rdi # 0x243b2 leaq 0x2f327(%rip), %rsi # 0x40077 movl $0x2c3, %edx # imm = 0x2C3 leaq 0x2f80a(%rip)...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/window.c
glfwMaximizeWindow
GLFWAPI void glfwMaximizeWindow(GLFWwindow* handle) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); _GLFW_REQUIRE_INIT(); if (window->monitor) return; _glfwPlatformMaximizeWindow(window); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x10(%rbp) cmpq $0x0, -0x10(%rbp) je 0x10f6d jmp 0x10f8c leaq 0x1343e(%rip), %rdi # 0x243b2 leaq 0x2f0fc(%rip), %rsi # 0x40077 movl $0x2e8, %edx # imm = 0x2E8 leaq 0x2f6a3(%rip), %rcx # 0x4062a cal...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/window.c
glfwHideWindow
GLFWAPI void glfwHideWindow(GLFWwindow* handle) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); _GLFW_REQUIRE_INIT(); if (window->monitor) return; _glfwPlatformHideWindow(window); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x10(%rbp) cmpq $0x0, -0x10(%rbp) je 0x110ed jmp 0x1110c leaq 0x132be(%rip), %rdi # 0x243b2 leaq 0x2ef7c(%rip), %rsi # 0x40077 movl $0x30f, %edx # imm = 0x30F leaq 0x2f599(%rip), %rcx # 0x406a0 cal...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/window.c
glfwSetWindowAttrib
GLFWAPI void glfwSetWindowAttrib(GLFWwindow* handle, int attrib, int value) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); _GLFW_REQUIRE_INIT(); value = value ? GLFW_TRUE : GLFW_FALSE; if (attrib == GLFW_AUTO_ICONIFY) window->autoIconify = value; else if (attri...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) je 0x11543 jmp 0x11562 leaq 0x12e68(%rip), %rdi # 0x243b2 leaq 0x2eb26(%rip), %rsi # 0x40077 movl $0x361, %edx # imm = 0x3...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/window.c
glfwSetWindowMonitor
GLFWAPI void glfwSetWindowMonitor(GLFWwindow* wh, GLFWmonitor* mh, int xpos, int ypos, int width, int height, int refreshRate) { _GLFWwindow* window = (_GLFWwindow*) wh; _GLFWm...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movl 0x10(%rbp), %eax movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movl %ecx, -0x18(%rbp) movl %r8d, -0x1c(%rbp) movl %r9d, -0x20(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x30(%rbp) cmpq $0x0, -0x28(%rbp) je ...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/window.c
glfwCreateCursorX11
Cursor _glfwCreateCursorX11(const GLFWimage* image, int xhot, int yhot) { int i; Cursor cursor; if (!_glfw.x11.xcursor.handle) return None; XcursorImage* native = XcursorImageCreate(image->width, image->height); if (native == NULL) return None; native->xhot = xhot; native-...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movl %edx, -0x18(%rbp) leaq 0x38fcf(%rip), %rax # 0x4b1c8 cmpq $0x0, 0x214d8(%rax) jne 0x12210 movq $0x0, -0x8(%rbp) jmp 0x12366 leaq 0x38fb1(%rip), %rax # 0x4b1c8 movq 0x214e0(%rax), %rax movq -0x10(%rbp), %rcx movl (%rcx...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/x11_init.c
getSystemContentScale
static void getSystemContentScale(float* xscale, float* yscale) { // Start by assuming the default X11 DPI // NOTE: Some desktop environments (KDE) may remove the Xft.dpi field when it // would be set to 96, so assume that is the case if we cannot find it float xdpi = 96.f, ydpi = 96.f; // NO...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movss 0x2e5c8(%rip), %xmm0 # 0x40bb0 movss %xmm0, -0x14(%rbp) movss 0x2e5bb(%rip), %xmm0 # 0x40bb0 movss %xmm0, -0x18(%rbp) leaq 0x38bc7(%rip), %rax # 0x4b1c8 movq 0x20640(%rax), %rdi callq 0x70f0 movq %rax, -0x20(%rbp) c...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/x11_init.c
initExtensions
static GLFWbool initExtensions(void) { #if defined(__OpenBSD__) || defined(__NetBSD__) _glfw.x11.vidmode.handle = _glfw_dlopen("libXxf86vm.so"); #else _glfw.x11.vidmode.handle = _glfw_dlopen("libXxf86vm.so.1"); #endif if (_glfw.x11.vidmode.handle) { _glfw.x11.vidmode.QueryExtension = (PFN_XF86Vi...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp leaq 0x2e522(%rip), %rdi # 0x40d71 movl $0x1, %esi callq 0x76e0 movq %rax, %rcx leaq 0x38965(%rip), %rax # 0x4b1c8 movq %rcx, 0x21540(%rax) leaq 0x38957(%rip), %rax # 0x4b1c8 cmpq $0x0, 0x21540(%rax) je 0x12978 leaq 0x38942(%rip), %rax # 0x4b1c8 movq 0x21540(%...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/x11_init.c
hasUsableInputMethodStyle
static GLFWbool hasUsableInputMethodStyle(void) { GLFWbool found = GLFW_FALSE; XIMStyles* styles = NULL; if (XGetIMValues(_glfw.x11.im, XNQueryInputStyle, &styles, NULL) != NULL) return GLFW_FALSE; for (unsigned int i = 0; i < styles->count_styles; i++) { if (styles->supported_st...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movl $0x0, -0x8(%rbp) movq $0x0, -0x10(%rbp) leaq 0x3759a(%rip), %rax # 0x4b1c8 movq 0x20678(%rax), %rdi leaq 0x2d99f(%rip), %rsi # 0x415db leaq -0x10(%rbp), %rdx xorl %eax, %eax movl %eax, %ecx movb $0x0, %al callq 0x7120 cmpq $0x0, %rax je 0x13c5a movl $0x0, -0x4(%r...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/x11_init.c
glfwPlatformGetVersionString
const char* _glfwPlatformGetVersionString(void) { return _GLFW_VERSION_NUMBER " X11 GLX EGL OSMesa" #if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK) " clock_gettime" #else " gettimeofday" #endif #if defined(__linux__) " evdev" #endif #if defined(_GLFW_BUILD_DLL) " shared...
pushq %rbp movq %rsp, %rbp leaq 0x2ccdc(%rip), %rax # 0x40cd7 popq %rbp retq nopl (%rax)
/apitrace[P]apitrace-tests/thirdparty/glfw/src/x11_init.c
createKeyTables
static void createKeyTables(void) { int scancode, scancodeMin, scancodeMax; memset(_glfw.x11.keycodes, -1, sizeof(_glfw.x11.keycodes)); memset(_glfw.x11.scancodes, -1, sizeof(_glfw.x11.scancodes)); if (_glfw.x11.xkb.available) { // Use XKB to determine physical key locations independently ...
pushq %rbp movq %rsp, %rbp subq $0x7e0, %rsp # imm = 0x7E0 leaq 0x371b6(%rip), %rdi # 0x4b1c8 addq $0x20640, %rdi # imm = 0x20640 addq $0x72a, %rdi # imm = 0x72A movl $0xff, %esi movl $0x200, %edx # imm = 0x200 callq 0x72c0 leaq 0x37192(%rip), %rdi # 0x4b1c8 addq $0x206...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/x11_init.c
detectEWMH
static void detectEWMH(void) { // First we read the _NET_SUPPORTING_WM_CHECK property on the root window Window* windowFromRoot = NULL; if (!_glfwGetWindowPropertyX11(_glfw.x11.root, _glfw.x11.NET_SUPPORTING_WM_CHECK, XA_WINDOW, ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq $0x0, -0x8(%rbp) leaq 0x36d91(%rip), %rax # 0x4b1c8 movq 0x20650(%rax), %rdi leaq 0x36d83(%rip), %rax # 0x4b1c8 movq 0x21250(%rax), %rsi movl $0x21, %edx leaq -0x8(%rbp), %rcx callq 0x16f50 cmpq $0x0, %rax jne 0x14465 jmp 0x14733 callq 0x120c0 movq $0x0, -0x10(%r...
/apitrace[P]apitrace-tests/thirdparty/glfw/src/x11_init.c