name string | code string | asm string | file string |
|---|---|---|---|
char fmt::v7::detail::write_padded<(fmt::v7::align::type)2, std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, std::back_insert_iterator<fmt::v7::detail::buffer<char>> fmt::v7::detail::write_int<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, fmt::v7::detail::int_writer<std::back_insert_ite... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x18(%rbp), %rax
movl (%rax), %edi
callq 0x11e1d0
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpq -0x28(%rbp), %rax
jbe 0x264f56
movl -0x34(%rbp), %eax
s... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
std::back_insert_iterator<fmt::v7::detail::buffer<char>> fmt::v7::detail::format_uint<3u, char, std::back_insert_iterator<fmt::v7::detail::buffer<char>>, unsigned long>(std::back_insert_iterator<fmt::v7::detail::buffer<char>>, unsigned long, int, bool) | inline It format_uint(It out, UInt value, int num_digits, bool upper = false) {
if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
format_uint<BASE_BITS>(ptr, value, num_digits, upper);
return out;
}
// Buffer should be large enough to hold all digits (digits / BASE_BITS + 1).
char buffer[... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movb %cl, %al
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
andb $0x1, %al
movb %al, -0x1d(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movl -0x1c(%rbp), %edi
callq 0x11e1d0
movl %eax, %eax
movl %eax, %esi
movq -0x30(%rbp), %rdi
callq 0x11d390
mo... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
char* fmt::v7::detail::format_uint<3u, char, unsigned long>(char*, unsigned long, int, bool) | inline Char* format_uint(Char* buffer, UInt value, int num_digits,
bool upper = false) {
buffer += num_digits;
Char* end = buffer;
do {
const char* digits = upper ? "0123456789ABCDEF" : data::hex_digits;
unsigned digit = (value & ((1 << BASE_BITS) - 1));
*--buffer = static_cas... | pushq %rbp
movq %rsp, %rbp
movb %cl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
andb $0x1, %al
movb %al, -0x15(%rbp)
movl -0x14(%rbp), %ecx
movq -0x8(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movb -0x15(%rbp), %dl
movq 0... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, unsigned long>::int_writer<unsigned long long>(std::back_insert_iterator<fmt::v7::detail::buffer<char>>, fmt::v7::detail::locale_ref, unsigned long long, fmt::v7::basic_format_specs<char> const&) | int_writer(OutputIt output, locale_ref loc, Int value,
const basic_format_specs<Char>& s)
: out(output),
locale(loc),
specs(s),
abs_value(static_cast<UInt>(value)),
prefix_size(0) {
static_assert(std::is_same<uint32_or_64_or_128_t<Int>, UInt>::value, "");
if (i... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rsi, -0x8(%rbp)
movq %rdx, -0x10(%rbp)
movq %rdi, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x28(%rbp), %rcx
movq %rcx,... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, unsigned __int128>::int_writer<__int128>(std::back_insert_iterator<fmt::v7::detail::buffer<char>>, fmt::v7::detail::locale_ref, __int128, fmt::v7::basic_format_specs<char> const&) | int_writer(OutputIt output, locale_ref loc, Int value,
const basic_format_specs<Char>& s)
: out(output),
locale(loc),
specs(s),
abs_value(static_cast<UInt>(value)),
prefix_size(0) {
static_assert(std::is_same<uint32_or_64_or_128_t<Int>, UInt>::value, "");
if (i... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rsi, -0x8(%rbp)
movq %rdx, -0x10(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x18(%rbp)
movq -0x20(%rbp), %rax
movq -0x18(%rbp), %rcx
movq %rdi, -0x28(%rbp)
movq %rcx, -0x38(%rbp)
movq %rax, -0x40(%rbp)
movq %r9, -0x48(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x68(%rbp)
mov... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, unsigned __int128>::on_bin() | void on_bin() {
if (specs.alt) {
prefix[prefix_size++] = '0';
prefix[prefix_size++] = static_cast<char>(specs.type);
}
int num_digits = count_digits<1>(abs_value);
out = write_int(out, num_digits, get_prefix(), specs,
[this, num_digits](iterator it) {
... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x58(%rbp)
movq 0x10(%rax), %rax
movb 0x9(%rax), %al
shrb $0x7, %al
testb $0x1, %al
je 0x265aa0
movq -0x58(%rbp), %rax
movl 0x34(%rax), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, 0x34(%rax)
movl %ecx, %ecx
movb $0x3... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, unsigned __int128>::on_oct() | void on_oct() {
int num_digits = count_digits<3>(abs_value);
if (specs.alt && specs.precision <= num_digits && abs_value != 0) {
// Octal prefix '0' is counted as a digit, so only add it if precision
// is not greater than the number of digits.
prefix[prefix_size++] = '0';
}
out = writ... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, -0x58(%rbp)
movq 0x20(%rcx), %rax
movq 0x28(%rcx), %rcx
movq %rcx, -0x18(%rbp)
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x12a850
movl %eax, %ecx
movq -0x58(%rbp), %rax
movl %ecx, -0xc(%rb... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, unsigned __int128>::on_num() | void on_num() {
std::string groups = grouping<Char>(locale);
if (groups.empty()) return on_dec();
auto sep = thousands_sep<Char>(locale);
if (!sep) return on_dec();
int num_digits = count_digits(abs_value);
int size = num_digits, n = num_digits;
std::string::const_iterator group = groups.cbe... | pushq %rbp
movq %rsp, %rbp
subq $0x3d0, %rsp # imm = 0x3D0
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x370(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rsi
leaq -0x28(%rbp), %rdi
callq 0x1245d0
leaq -0x28(%rbp), %rdi
callq 0x132830
testb $0x1, %al
jne 0x265c7e
jmp 0x265c... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
std::back_insert_iterator<fmt::v7::detail::buffer<char>> fmt::v7::detail::write_int<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, fmt::v7::detail::int_writer<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, unsigned __int128>::on_dec()::'lambda'(std::back_insert_iterator<fmt::v7::detail... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x90(%rbp)
movq %rdi, -0x10(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movl %esi, -0x24(%rbp)
movq %r8, -0x30(%rbp)
movl -0x24(%rbp), %esi
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
mo... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
char fmt::v7::detail::write_padded<(fmt::v7::align::type)2, std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, std::back_insert_iterator<fmt::v7::detail::buffer<char>> fmt::v7::detail::write_int<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, fmt::v7::detail::int_writer<std::back_insert_ite... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x18(%rbp), %rax
movl (%rax), %edi
callq 0x11e1d0
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpq -0x28(%rbp), %rax
jbe 0x2664b6
movl -0x34(%rbp), %eax
s... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
std::back_insert_iterator<fmt::v7::detail::buffer<char>> fmt::v7::detail::write_int<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, fmt::v7::detail::int_writer<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, unsigned __int128>::on_hex()::'lambda'(std::back_insert_iterator<fmt::v7::detail... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x90(%rbp)
movq %rdi, -0x10(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movl %esi, -0x24(%rbp)
movq %r8, -0x30(%rbp)
movl -0x24(%rbp), %esi
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
mo... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
char fmt::v7::detail::write_padded<(fmt::v7::align::type)2, std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, std::back_insert_iterator<fmt::v7::detail::buffer<char>> fmt::v7::detail::write_int<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, fmt::v7::detail::int_writer<std::back_insert_ite... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x18(%rbp), %rax
movl (%rax), %edi
callq 0x11e1d0
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpq -0x28(%rbp), %rax
jbe 0x2668d6
movl -0x34(%rbp), %eax
s... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
std::back_insert_iterator<fmt::v7::detail::buffer<char>> fmt::v7::detail::format_uint<4u, char, std::back_insert_iterator<fmt::v7::detail::buffer<char>>, unsigned __int128>(std::back_insert_iterator<fmt::v7::detail::buffer<char>>, unsigned __int128, int, bool) | inline It format_uint(It out, UInt value, int num_digits, bool upper = false) {
if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
format_uint<BASE_BITS>(ptr, value, num_digits, upper);
return out;
}
// Buffer should be large enough to hold all digits (digits / BASE_BITS + 1).
char buffer[... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movb %r8b, %al
movq %rdi, -0x10(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x20(%rbp), %rdx
movq -0x18(%rbp), %rsi
movq %rsi, -0x28(%rbp)
movq %rdx, -0x30(%rbp)
movl %ecx, -0x34(%rbp)
andb $0x1, %al
movb %al, -0x35(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x48(... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
char* fmt::v7::detail::format_uint<4u, char, unsigned __int128>(char*, unsigned __int128, int, bool) | inline Char* format_uint(Char* buffer, UInt value, int num_digits,
bool upper = false) {
buffer += num_digits;
Char* end = buffer;
do {
const char* digits = upper ? "0123456789ABCDEF" : data::hex_digits;
unsigned digit = (value & ((1 << BASE_BITS) - 1));
*--buffer = static_cas... | pushq %rbp
movq %rsp, %rbp
movb %r8b, %al
movq %rsi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq -0x10(%rbp), %rdx
movq -0x8(%rbp), %rsi
movq %rdi, -0x18(%rbp)
movq %rsi, -0x28(%rbp)
movq %rdx, -0x30(%rbp)
movl %ecx, -0x34(%rbp)
andb $0x1, %al
movb %al, -0x35(%rbp)
movl -0x34(%rbp), %ecx
movq -0x18(%rbp), %rax
movslq %ecx, ... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
std::back_insert_iterator<fmt::v7::detail::buffer<char>> fmt::v7::detail::write_int<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, fmt::v7::detail::int_writer<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, unsigned __int128>::on_bin()::'lambda'(std::back_insert_iterator<fmt::v7::detail... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x90(%rbp)
movq %rdi, -0x10(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movl %esi, -0x24(%rbp)
movq %r8, -0x30(%rbp)
movl -0x24(%rbp), %esi
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
mo... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
char fmt::v7::detail::write_padded<(fmt::v7::align::type)2, std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, std::back_insert_iterator<fmt::v7::detail::buffer<char>> fmt::v7::detail::write_int<std::back_insert_iterator<fmt::v7::detail::buffer<char>>, char, fmt::v7::detail::int_writer<std::back_insert_ite... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x18(%rbp), %rax
movl (%rax), %edi
callq 0x11e1d0
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpq -0x28(%rbp), %rax
jbe 0x266ec6
movl -0x34(%rbp), %eax
s... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
char* fmt::v7::detail::format_uint<1u, char, unsigned __int128>(char*, unsigned __int128, int, bool) | inline Char* format_uint(Char* buffer, UInt value, int num_digits,
bool upper = false) {
buffer += num_digits;
Char* end = buffer;
do {
const char* digits = upper ? "0123456789ABCDEF" : data::hex_digits;
unsigned digit = (value & ((1 << BASE_BITS) - 1));
*--buffer = static_cas... | pushq %rbp
movq %rsp, %rbp
movb %r8b, %al
movq %rsi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq -0x10(%rbp), %rdx
movq -0x8(%rbp), %rsi
movq %rdi, -0x18(%rbp)
movq %rsi, -0x28(%rbp)
movq %rdx, -0x30(%rbp)
movl %ecx, -0x34(%rbp)
andb $0x1, %al
movb %al, -0x35(%rbp)
movl -0x34(%rbp), %ecx
movq -0x18(%rbp), %rax
movslq %ecx, ... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::format_uint<4u, char, fmt::v7::detail::buffer_appender<char>, unsigned long>(fmt::v7::detail::buffer_appender<char>, unsigned long, int, bool) | inline It format_uint(It out, UInt value, int num_digits, bool upper = false) {
if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
format_uint<BASE_BITS>(ptr, value, num_digits, upper);
return out;
}
// Buffer should be large enough to hold all digits (digits / BASE_BITS + 1).
char buffer[... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movb %cl, %al
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
andb $0x1, %al
movb %al, -0x1d(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movl -0x1c(%rbp), %edi
callq 0x11e1d0
movl %eax, %eax
movl %eax, %esi
movq -0x30(%rbp), %rdi
callq 0x1292d0
mo... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
void fmt::v7::detail::parse_format_string<false, char, fmt::v7::detail::format_handler<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>&>(fmt::v7::basic_string_view<char>, fmt::v7::detail::format_handler<fmt::v7::detail::buffer_appender<char>, ch... | FMT_CONSTEXPR void operator()(const Char* pbegin, const Char* pend) {
if (pbegin == pend) return;
for (;;) {
const Char* p = nullptr;
if (!find<IS_CONSTEXPR>(pbegin, pend, '}', p))
return handler_.on_text(pbegin, pend);
++p;
if (p == pend || *p != '}')
ret... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
cmpq -0x18(%rbp), %rax
jne 0x2708fb
jmp 0x27098f
jmp 0x2708fd
movq $0x0, -0x20(%rbp)
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl $0x7... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::format_handler<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>::on_format_specs(int, char const*, char const*) | const Char* on_format_specs(int id, const Char* begin, const Char* end) {
auto arg = get_arg(context, id);
if (arg.type() == type::custom_type) {
advance_to(parse_context, begin);
visit_format_arg(custom_formatter<Context>(parse_context, context), arg);
return parse_context.begin();
}
... | pushq %rbp
movq %rsp, %rbp
subq $0x3d0, %rsp # imm = 0x3D0
movq %rdi, -0x260(%rbp)
movl %esi, -0x264(%rbp)
movq %rdx, -0x270(%rbp)
movq %rcx, -0x278(%rbp)
movq -0x260(%rbp), %rsi
movq %rsi, -0x340(%rbp)
addq $0x20, %rsi
movl -0x264(%rbp), %edx
leaq -0x2a0(%rbp), %rdi
callq 0x131630
leaq -0x2a0(%rbp), %rdi
ca... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
int fmt::v7::basic_format_args<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>::get_id<char>(fmt::v7::basic_string_view<char>) const | int get_id(basic_string_view<Char> name) const {
if (!has_named_args()) return -1;
const auto& named_args =
(is_packed() ? values_[-1] : args_[-1].value_).named_args;
for (size_t i = 0; i < named_args.size; ++i) {
if (named_args.data[i].name == name) return named_args.data[i].id;
}
ret... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rsi, -0x18(%rbp)
movq %rdx, -0x10(%rbp)
movq %rdi, -0x20(%rbp)
movq -0x20(%rbp), %rdi
movq %rdi, -0x58(%rbp)
callq 0x135230
testb $0x1, %al
jne 0x271ba1
movl $0xffffffff, -0x4(%rbp) # imm = 0xFFFFFFFF
jmp 0x271c6d
movq -0x58(%rbp), %rdi
callq 0x128580
testb $0x1, %al
jn... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/core.h |
fmt::v7::detail::numeric_specs_checker<fmt::v7::detail::specs_handler<fmt::v7::basic_format_parse_context<char, fmt::v7::detail::error_handler>, fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>>::check_sign() | FMT_CONSTEXPR void check_sign() {
require_numeric_argument();
if (is_integral_type(arg_type_) && arg_type_ != type::int_type &&
arg_type_ != type::long_long_type && arg_type_ != type::char_type) {
error_handler_.on_error("format specifier requires signed argument");
}
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0x124410
movq -0x10(%rbp), %rax
movl 0x8(%rax), %edi
callq 0x11dc70
testb $0x1, %al
jne 0x2727eb
jmp 0x27281c
movq -0x10(%rbp), %rax
cmpl $0x1, 0x8(%rax)
je 0x27281c
movq -0x10(%rbp), %rax
cmpl $0x3, 0x8... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
int fmt::v7::detail::parse_nonnegative_int<char, fmt::v7::detail::specs_checker<fmt::v7::detail::specs_handler<fmt::v7::basic_format_parse_context<char, fmt::v7::detail::error_handler>, fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>>&>(char const*&, char const*, fmt::v7::detail::specs_chec... | FMT_CONSTEXPR int parse_nonnegative_int(const Char*& begin, const Char* end,
ErrorHandler&& eh) {
FMT_ASSERT(begin != end && '0' <= *begin && *begin <= '9', "");
unsigned value = 0;
// Convert to unsigned to prevent a warning.
constexpr unsigned max_int = max_value<int>()... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
cmpq -0x10(%rbp), %rax
je 0x272875
movq -0x8(%rbp), %rax
movq (%rax), %rax
movsbl (%rax), %ecx
movl $0x30, %eax
cmpl %ecx, %eax
jg 0x272875
movq -0x8(%rbp), %rax
movq (... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
char const* fmt::v7::detail::parse_arg_id<char, fmt::v7::detail::width_adapter<fmt::v7::detail::specs_checker<fmt::v7::detail::specs_handler<fmt::v7::basic_format_parse_context<char, fmt::v7::detail::error_handler>, fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>>&, char>>(char const*, char... | FMT_CONSTEXPR const Char* parse_arg_id(const Char* begin, const Char* end,
IDHandler&& handler) {
FMT_ASSERT(begin != end, "");
Char c = *begin;
if (c == '}' || c == ':') {
handler();
return begin;
}
if (c >= '0' && c <= '9') {
int index = 0;
if (c != '0'... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
cmpq -0x18(%rbp), %rax
je 0x272960
jmp 0x272978
leaq 0x178ce(%rip), %rdi # 0x28a235
movl $0xa8e, %esi # imm = 0xA8E
leaq 0xff41(%rip), %rdx # 0x2828b4
callq 0x133e3... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
int fmt::v7::detail::parse_nonnegative_int<char, fmt::v7::detail::width_adapter<fmt::v7::detail::specs_checker<fmt::v7::detail::specs_handler<fmt::v7::basic_format_parse_context<char, fmt::v7::detail::error_handler>, fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>>&, char>&>(char const*&, c... | FMT_CONSTEXPR int parse_nonnegative_int(const Char*& begin, const Char* end,
ErrorHandler&& eh) {
FMT_ASSERT(begin != end && '0' <= *begin && *begin <= '9', "");
unsigned value = 0;
// Convert to unsigned to prevent a warning.
constexpr unsigned max_int = max_value<int>()... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
cmpq -0x10(%rbp), %rax
je 0x272bb5
movq -0x8(%rbp), %rax
movq (%rax), %rax
movsbl (%rax), %ecx
movl $0x30, %eax
cmpl %ecx, %eax
jg 0x272bb5
movq -0x8(%rbp), %rax
movq (... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
int fmt::v7::detail::get_dynamic_spec<fmt::v7::detail::width_checker, fmt::v7::basic_format_arg<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>, fmt::v7::detail::error_handler>(fmt::v7::basic_format_arg<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>, fmt::v7::d... | FMT_CONSTEXPR int get_dynamic_spec(FormatArg arg, ErrorHandler eh) {
unsigned long long value = visit_format_arg(Handler<ErrorHandler>(eh), arg);
if (value > to_unsigned(max_value<int>())) eh.on_error("number is too big");
return static_cast<int>(value);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq -0x88(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
leaq -0x71(%rbp), %rsi
callq 0x135640
movq -0xa0(%rbp), %rcx
movq -0x98(%rbp), %rax
movq %rcx, -0x10(%rbp)
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movl 0x10(%rax), %eax
movq %rax,... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
char const* fmt::v7::detail::parse_arg_id<char, fmt::v7::detail::precision_adapter<fmt::v7::detail::specs_checker<fmt::v7::detail::specs_handler<fmt::v7::basic_format_parse_context<char, fmt::v7::detail::error_handler>, fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>>&, char>>(char const*, ... | FMT_CONSTEXPR const Char* parse_arg_id(const Char* begin, const Char* end,
IDHandler&& handler) {
FMT_ASSERT(begin != end, "");
Char c = *begin;
if (c == '}' || c == ':') {
handler();
return begin;
}
if (c >= '0' && c <= '9') {
int index = 0;
if (c != '0'... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq -0x10(%rbp), %rax
cmpq -0x18(%rbp), %rax
je 0x273400
jmp 0x273418
leaq 0x16e2e(%rip), %rdi # 0x28a235
movl $0xa8e, %esi # imm = 0xA8E
leaq 0xf4a1(%rip), %rdx # 0x2828b4
callq 0x133e3... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
int fmt::v7::detail::parse_nonnegative_int<char, fmt::v7::detail::precision_adapter<fmt::v7::detail::specs_checker<fmt::v7::detail::specs_handler<fmt::v7::basic_format_parse_context<char, fmt::v7::detail::error_handler>, fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>>&, char>&>(char const*... | FMT_CONSTEXPR int parse_nonnegative_int(const Char*& begin, const Char* end,
ErrorHandler&& eh) {
FMT_ASSERT(begin != end && '0' <= *begin && *begin <= '9', "");
unsigned value = 0;
// Convert to unsigned to prevent a warning.
constexpr unsigned max_int = max_value<int>()... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq (%rax), %rax
cmpq -0x10(%rbp), %rax
je 0x273675
movq -0x8(%rbp), %rax
movq (%rax), %rax
movsbl (%rax), %ecx
movl $0x30, %eax
cmpl %ecx, %eax
jg 0x273675
movq -0x8(%rbp), %rax
movq (... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
int fmt::v7::detail::get_dynamic_spec<fmt::v7::detail::precision_checker, fmt::v7::basic_format_arg<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>, fmt::v7::detail::error_handler>(fmt::v7::basic_format_arg<fmt::v7::basic_format_context<fmt::v7::detail::buffer_appender<char>, char>>, fmt::v... | FMT_CONSTEXPR int get_dynamic_spec(FormatArg arg, ErrorHandler eh) {
unsigned long long value = visit_format_arg(Handler<ErrorHandler>(eh), arg);
if (value > to_unsigned(max_value<int>())) eh.on_error("number is too big");
return static_cast<int>(value);
} | pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq -0x88(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
leaq -0x71(%rbp), %rsi
callq 0x12ba40
movq -0xa0(%rbp), %rcx
movq -0x98(%rbp), %rax
movq %rcx, -0x10(%rbp)
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movl 0x10(%rax), %eax
movq %rax,... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::arg_formatter_base<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::error_handler>::operator()(bool) | iterator operator()(bool value) {
if (specs_ && specs_->type) return (*this)(value ? 1 : 0);
write(value != 0);
return out_;
} | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movb %sil, %al
movq %rdi, -0x38(%rbp)
andb $0x1, %al
movb %al, -0x39(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
cmpq $0x0, 0x10(%rax)
je 0x273d51
movq -0x48(%rbp), %rax
movq 0x10(%rax), %rax
cmpb $0x0, 0x8(%rax)
je 0x273d51
movq -0x48(%rbp), %rcx
movb -0x39(%rbp), %s... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::arg_formatter_base<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::error_handler>::operator()<float, 0>(float) | iterator operator()(T value) {
auto specs = specs_ ? *specs_ : format_specs();
if (const_check(is_supported_floating_point(value)))
out_ = detail::write(out_, value, specs, locale_);
else
FMT_ASSERT(false, "unsupported float argument type");
return out_;
} | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movss %xmm0, -0x14(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x58(%rbp)
cmpq $0x0, 0x10(%rax)
je 0x273e29
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rcx
movq %rcx, -0x24(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x1c(%rbp)
jmp 0x273e32
leaq ... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::arg_formatter_base<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::error_handler>::operator()<double, 0>(double) | iterator operator()(T value) {
auto specs = specs_ ? *specs_ : format_specs();
if (const_check(is_supported_floating_point(value)))
out_ = detail::write(out_, value, specs, locale_);
else
FMT_ASSERT(false, "unsupported float argument type");
return out_;
} | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movsd %xmm0, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x58(%rbp)
cmpq $0x0, 0x10(%rax)
je 0x273f09
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rcx
movq %rcx, -0x28(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x20(%rbp)
jmp 0x273f12
leaq ... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::arg_formatter_base<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::error_handler>::operator()<long double, 0>(long double) | iterator operator()(T value) {
auto specs = specs_ ? *specs_ : format_specs();
if (const_check(is_supported_floating_point(value)))
out_ = detail::write(out_, value, specs, locale_);
else
FMT_ASSERT(false, "unsupported float argument type");
return out_;
} | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
fldt 0x10(%rbp)
movq %rdi, -0x10(%rbp)
fstpt -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x60(%rbp)
cmpq $0x0, 0x10(%rax)
je 0x273fea
movq -0x60(%rbp), %rax
movq 0x10(%rax), %rax
movq (%rax), %rcx
movq %rcx, -0x30(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x28(%rbp)
jmp 0x273... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::arg_formatter_base<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::error_handler>::operator()(fmt::v7::basic_string_view<char>) | iterator operator()(basic_string_view<Char> value) {
if (specs_) {
check_string_type_spec(specs_->type, error_handler());
write(value, *specs_);
} else {
write(value);
}
return out_;
} | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rsi, -0x18(%rbp)
movq %rdx, -0x10(%rbp)
movq %rdi, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
cmpq $0x0, 0x10(%rax)
je 0x27417f
movq -0x50(%rbp), %rax
movq 0x10(%rax), %rax
leaq -0x21(%rbp), %rsi
movsbl 0x8(%rax), %edi
callq 0x123310
movq -0x50(%rbp), %rd... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::int_writer<int>(fmt::v7::detail::buffer_appender<char>, fmt::v7::detail::locale_ref, int, fmt::v7::basic_format_specs<char> const&) | int_writer(OutputIt output, locale_ref loc, Int value,
const basic_format_specs<Char>& s)
: out(output),
locale(loc),
specs(s),
abs_value(static_cast<UInt>(value)),
prefix_size(0) {
static_assert(std::is_same<uint32_or_64_or_128_t<Int>, UInt>::value, "");
if (i... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rsi, -0x8(%rbp)
movq %rdx, -0x10(%rbp)
movq %rdi, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq %r8, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x28(%rbp), %rcx
movq %rcx,... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
void fmt::v7::detail::handle_int_type_spec<fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>&>(char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>&) | FMT_CONSTEXPR void handle_int_type_spec(char spec, Handler&& handler) {
switch (spec) {
case 0:
case 'd':
handler.on_dec();
break;
case 'x':
case 'X':
handler.on_hex();
break;
case 'b':
case 'B':
handler.on_bin();
break;
case 'o':
handler.on_oct();
break;
#ifdef FMT_DEPRE... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb %dil, %al
movb %al, -0x1(%rbp)
movq %rsi, -0x10(%rbp)
movsbl -0x1(%rbp), %eax
movl %eax, -0x14(%rbp)
testl %eax, %eax
je 0x27448f
jmp 0x27443f
movl -0x14(%rbp), %eax
subl $0x42, %eax
je 0x2744a5
jmp 0x274449
movl -0x14(%rbp), %eax
subl $0x4c, %eax
je 0x2744bb
jmp 0x27445... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_hex() | void on_hex() {
if (specs.alt) {
prefix[prefix_size++] = '0';
prefix[prefix_size++] = specs.type;
}
int num_digits = count_digits<4>(abs_value);
out = write_int(out, num_digits, get_prefix(), specs,
[this, num_digits](iterator it) {
return format_uin... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movq 0x10(%rax), %rax
movb 0x9(%rax), %al
shrb $0x7, %al
testb $0x1, %al
je 0x2745d0
movq -0x48(%rbp), %rax
movl 0x20(%rax), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, 0x20(%rax)
movl %ecx, %ecx
movb $0x3... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_oct() | void on_oct() {
int num_digits = count_digits<3>(abs_value);
if (specs.alt && specs.precision <= num_digits && abs_value != 0) {
// Octal prefix '0' is counted as a digit, so only add it if precision
// is not greater than the number of digits.
prefix[prefix_size++] = '0';
}
out = writ... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movl 0x18(%rax), %edi
callq 0x11b320
movl %eax, %ecx
movq -0x48(%rbp), %rax
movl %ecx, -0xc(%rbp)
movq 0x10(%rax), %rax
movb 0x9(%rax), %al
shrb $0x7, %al
testb $0x1, %al
je 0x2747a3
movq -0x48(%rbp), %rax
mov... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_num() | void on_num() {
std::string groups = grouping<Char>(locale);
if (groups.empty()) return on_dec();
auto sep = thousands_sep<Char>(locale);
if (!sep) return on_dec();
int num_digits = count_digits(abs_value);
int size = num_digits, n = num_digits;
std::string::const_iterator group = groups.cbe... | pushq %rbp
movq %rsp, %rbp
subq $0x3b0, %rsp # imm = 0x3B0
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x340(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rsi
leaq -0x28(%rbp), %rdi
callq 0x1245d0
leaq -0x28(%rbp), %rdi
callq 0x132830
testb $0x1, %al
jne 0x27485e
jmp 0x2748... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_dec()::'lambda'(fmt::v7::detail::buffer_appender<char>)>(fmt::v7::detail::buffer_appender<char>, int, fmt::v7::basic... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x90(%rbp)
movq %rdi, -0x10(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movl %esi, -0x24(%rbp)
movq %r8, -0x30(%rbp)
movl -0x24(%rbp), %esi
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
mo... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
char fmt::v7::detail::write_padded<(fmt::v7::align::type)2, fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_dec()::'la... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x18(%rbp), %rax
movl (%rax), %edi
callq 0x11e1d0
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpq -0x28(%rbp), %rax
jbe 0x275066
movl -0x34(%rbp), %eax
s... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_hex()::'lambda'(fmt::v7::detail::buffer_appender<char>)>(fmt::v7::detail::buffer_appender<char>, int, fmt::v7::basic... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x90(%rbp)
movq %rdi, -0x10(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movl %esi, -0x24(%rbp)
movq %r8, -0x30(%rbp)
movl -0x24(%rbp), %esi
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
mo... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
char fmt::v7::detail::write_padded<(fmt::v7::align::type)2, fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_hex()::'la... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x18(%rbp), %rax
movl (%rax), %edi
callq 0x11e1d0
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpq -0x28(%rbp), %rax
jbe 0x275426
movl -0x34(%rbp), %eax
s... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::format_uint<4u, char, fmt::v7::detail::buffer_appender<char>, unsigned int>(fmt::v7::detail::buffer_appender<char>, unsigned int, int, bool) | inline It format_uint(It out, UInt value, int num_digits, bool upper = false) {
if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
format_uint<BASE_BITS>(ptr, value, num_digits, upper);
return out;
}
// Buffer should be large enough to hold all digits (digits / BASE_BITS + 1).
char buffer[... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movb %cl, %al
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movl -0x18(%rbp), %edi
callq 0x11e1d0
movl %eax, %eax
movl %eax, %esi
movq -0x30(%rbp), %rdi
callq 0x1292d0
mo... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_bin()::'lambda'(fmt::v7::detail::buffer_appender<char>)>(fmt::v7::detail::buffer_appender<char>, int, fmt::v7::basic... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x90(%rbp)
movq %rdi, -0x10(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movl %esi, -0x24(%rbp)
movq %r8, -0x30(%rbp)
movl -0x24(%rbp), %esi
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
mo... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
char fmt::v7::detail::write_padded<(fmt::v7::align::type)2, fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_bin()::'la... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x18(%rbp), %rax
movl (%rax), %edi
callq 0x11e1d0
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpq -0x28(%rbp), %rax
jbe 0x275896
movl -0x34(%rbp), %eax
s... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::format_uint<1u, char, fmt::v7::detail::buffer_appender<char>, unsigned int>(fmt::v7::detail::buffer_appender<char>, unsigned int, int, bool) | inline It format_uint(It out, UInt value, int num_digits, bool upper = false) {
if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
format_uint<BASE_BITS>(ptr, value, num_digits, upper);
return out;
}
// Buffer should be large enough to hold all digits (digits / BASE_BITS + 1).
char buffer[... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movb %cl, %al
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movl -0x18(%rbp), %edi
callq 0x11e1d0
movl %eax, %eax
movl %eax, %esi
movq -0x30(%rbp), %rdi
callq 0x1292d0
mo... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_oct()::'lambda'(fmt::v7::detail::buffer_appender<char>)>(fmt::v7::detail::buffer_appender<char>, int, fmt::v7::basic... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x90(%rbp)
movq %rdi, -0x10(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movl %esi, -0x24(%rbp)
movq %r8, -0x30(%rbp)
movl -0x24(%rbp), %esi
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
mo... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::format_uint<3u, char, fmt::v7::detail::buffer_appender<char>, unsigned int>(fmt::v7::detail::buffer_appender<char>, unsigned int, int, bool) | inline It format_uint(It out, UInt value, int num_digits, bool upper = false) {
if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
format_uint<BASE_BITS>(ptr, value, num_digits, upper);
return out;
}
// Buffer should be large enough to hold all digits (digits / BASE_BITS + 1).
char buffer[... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movb %cl, %al
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movl %edx, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movl -0x18(%rbp), %edi
callq 0x11e1d0
movl %eax, %eax
movl %eax, %esi
movq -0x30(%rbp), %rdi
callq 0x1292d0
mo... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_padded<(fmt::v7::align::type)2, fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::on_num()::'lambda'(fmt::v7::detail::buffer_appender<char>)>(fmt::v7::detail::buffer_appende... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x18(%rbp), %rax
movl (%rax), %edi
callq 0x11e1d0
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpq -0x28(%rbp), %rax
jbe 0x276046
movl -0x34(%rbp), %eax
s... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned int>::int_writer<unsigned int>(fmt::v7::detail::buffer_appender<char>, fmt::v7::detail::locale_ref, unsigned int, fmt::v7::basic_format_specs<char> const&) | int_writer(OutputIt output, locale_ref loc, Int value,
const basic_format_specs<Char>& s)
: out(output),
locale(loc),
specs(s),
abs_value(static_cast<UInt>(value)),
prefix_size(0) {
static_assert(std::is_same<uint32_or_64_or_128_t<Int>, UInt>::value, "");
if (i... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rsi, -0x8(%rbp)
movq %rdx, -0x10(%rbp)
movq %rdi, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq %r8, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x28(%rbp), %rcx
movq %rcx,... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned long>::int_writer<long long>(fmt::v7::detail::buffer_appender<char>, fmt::v7::detail::locale_ref, long long, fmt::v7::basic_format_specs<char> const&) | int_writer(OutputIt output, locale_ref loc, Int value,
const basic_format_specs<Char>& s)
: out(output),
locale(loc),
specs(s),
abs_value(static_cast<UInt>(value)),
prefix_size(0) {
static_assert(std::is_same<uint32_or_64_or_128_t<Int>, UInt>::value, "");
if (i... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rsi, -0x8(%rbp)
movq %rdx, -0x10(%rbp)
movq %rdi, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, (%rax)
movq -0x10(%rbp), %rcx
movq %rcx, 0x8(%rax)
movq -0x28(%rbp), %rcx
movq %rcx,... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
void fmt::v7::detail::handle_int_type_spec<fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned long>&>(char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned long>&) | FMT_CONSTEXPR void handle_int_type_spec(char spec, Handler&& handler) {
switch (spec) {
case 0:
case 'd':
handler.on_dec();
break;
case 'x':
case 'X':
handler.on_hex();
break;
case 'b':
case 'B':
handler.on_bin();
break;
case 'o':
handler.on_oct();
break;
#ifdef FMT_DEPRE... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb %dil, %al
movb %al, -0x1(%rbp)
movq %rsi, -0x10(%rbp)
movsbl -0x1(%rbp), %eax
movl %eax, -0x14(%rbp)
testl %eax, %eax
je 0x27650f
jmp 0x2764bf
movl -0x14(%rbp), %eax
subl $0x42, %eax
je 0x276525
jmp 0x2764c9
movl -0x14(%rbp), %eax
subl $0x4c, %eax
je 0x27653b
jmp 0x2764d... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned long>::on_bin() | void on_bin() {
if (specs.alt) {
prefix[prefix_size++] = '0';
prefix[prefix_size++] = static_cast<char>(specs.type);
}
int num_digits = count_digits<1>(abs_value);
out = write_int(out, num_digits, get_prefix(), specs,
[this, num_digits](iterator it) {
... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movq 0x10(%rax), %rax
movb 0x9(%rax), %al
shrb $0x7, %al
testb $0x1, %al
je 0x276730
movq -0x48(%rbp), %rax
movl 0x24(%rax), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, 0x24(%rax)
movl %ecx, %ecx
movb $0x3... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned long>::on_oct() | void on_oct() {
int num_digits = count_digits<3>(abs_value);
if (specs.alt && specs.precision <= num_digits && abs_value != 0) {
// Octal prefix '0' is counted as a digit, so only add it if precision
// is not greater than the number of digits.
prefix[prefix_size++] = '0';
}
out = writ... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movq 0x18(%rax), %rdi
callq 0x12d570
movl %eax, %ecx
movq -0x48(%rbp), %rax
movl %ecx, -0xc(%rbp)
movq 0x10(%rax), %rax
movb 0x9(%rax), %al
shrb $0x7, %al
testb $0x1, %al
je 0x276825
movq -0x48(%rbp), %rax
mov... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned long>::on_num() | void on_num() {
std::string groups = grouping<Char>(locale);
if (groups.empty()) return on_dec();
auto sep = thousands_sep<Char>(locale);
if (!sep) return on_dec();
int num_digits = count_digits(abs_value);
int size = num_digits, n = num_digits;
std::string::const_iterator group = groups.cbe... | pushq %rbp
movq %rsp, %rbp
subq $0x390, %rsp # imm = 0x390
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x340(%rbp)
movq 0x8(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rsi
leaq -0x28(%rbp), %rdi
callq 0x1245d0
leaq -0x28(%rbp), %rdi
callq 0x132830
testb $0x1, %al
jne 0x2768de
jmp 0x2769... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned long>::on_bin()::'lambda'(fmt::v7::detail::buffer_appender<char>)>(fmt::v7::detail::buffer_appender<char>, int, fmt::v7::basi... | OutputIt write_int(OutputIt out, int num_digits, string_view prefix,
const basic_format_specs<Char>& specs, F f) {
auto data = write_int_data<Char>(num_digits, prefix, specs);
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
return write_padded<align::right>(out, specs, data.size... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
leaq 0x10(%rbp), %rax
movq %rax, -0x90(%rbp)
movq %rdi, -0x10(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x18(%rbp)
movl %esi, -0x24(%rbp)
movq %r8, -0x30(%rbp)
movl -0x24(%rbp), %esi
movq -0x20(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x48(%rbp)
mo... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
char fmt::v7::detail::write_padded<(fmt::v7::align::type)2, fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::buffer_appender<char> fmt::v7::detail::write_int<fmt::v7::detail::buffer_appender<char>, char, fmt::v7::detail::int_writer<fmt::v7::detail::buffer_appender<char>, char, unsigned long>::on_bin()::'l... | inline OutputIt write_padded(OutputIt out,
const basic_format_specs<Char>& specs, size_t size,
size_t width, F&& f) {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
size_t padding = spec_wi... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq -0x18(%rbp), %rax
movl (%rax), %edi
callq 0x11e1d0
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpq -0x28(%rbp), %rax
jbe 0x277856
movl -0x34(%rbp), %eax
s... | /p2pderivatives[P]cfd-js/external/cfd-core/src/include/fmt/format.h |
EccPoint_compute_public_key | static uECC_word_t EccPoint_compute_public_key(uECC_word_t *result,
uECC_word_t *private_key,
uECC_Curve curve) {
uECC_word_t tmp1[uECC_MAX_WORDS];
uECC_word_t tmp2[uECC_MAX_WORDS];
uECC_word_t *p2[2] = {tmp1, tmp2... | pushq %r14
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r14
movq %rsi, %rax
movq %rdi, %rbx
leaq 0x30(%rsp), %rsi
movq %rsi, (%rsp)
leaq 0x10(%rsp), %rdx
movq %rdx, 0x8(%rsp)
movq %rax, %rdi
movq %r14, %rcx
callq 0x3669
leaq 0x48(%r14), %rsi
xorq $0x1, %rax
movq (%rsp,%rax,8), %rdx
movzwl 0x2(%r14), %eax
incl %eax
movswl %a... | /mattcaswell[P]picotls/deps/micro-ecc/uECC.c |
uECC_shared_secret | int uECC_shared_secret(const uint8_t *public_key,
const uint8_t *private_key,
uint8_t *secret,
uECC_Curve curve) {
uECC_word_t _public[uECC_MAX_WORDS * 2];
uECC_word_t _private[uECC_MAX_WORDS];
uECC_word_t tmp[uECC_MAX_WORDS];
uECC_wo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rcx, %rbx
movq %rdx, 0x18(%rsp)
movq %rdi, %rbp
leaq 0x80(%rsp), %r12
movq %r12, (%rsp)
leaq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movsbq (%rcx), %r13
movsbq 0x1(%rcx), %r15
movswl 0x2(%rcx), %r14d
leal 0x7(%r14), %eax
pushq $0x8
p... | /mattcaswell[P]picotls/deps/micro-ecc/uECC.c |
uECC_vli_bytesToNative | uECC_VLI_API void uECC_vli_bytesToNative(uECC_word_t *native,
const uint8_t *bytes,
int num_bytes) {
wordcount_t i;
uECC_vli_clear(native, (num_bytes + (uECC_WORD_SIZE - 1)) / uECC_WORD_SIZE);
for (i = 0; i < num_bytes; ++i) {... | pushq %r15
pushq %r14
pushq %rbx
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
leal 0x7(%rbx), %eax
pushq $0x8
popq %rcx
cltd
idivl %ecx
movsbl %al, %esi
callq 0x4eb7
xorl %eax, %eax
movsbl %al, %eax
cmpl %ebx, %eax
jge 0x3663
movl %eax, %edx
notl %edx
addl %ebx, %edx
movslq %eax, %rcx
movzbl (%r14,%rcx), %esi
leal (... | /mattcaswell[P]picotls/deps/micro-ecc/uECC.c |
HMAC_init | static void HMAC_init(const uECC_HashContext *hash_context, const uint8_t *K) {
uint8_t *pad = hash_context->tmp + 2 * hash_context->result_size;
unsigned i;
for (i = 0; i < hash_context->result_size; ++i)
pad[i] = K[i] ^ 0x36;
for (; i < hash_context->block_size; ++i)
pad[i] = 0x36;
... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl 0x1c(%rdi), %ecx
leal (%rcx,%rcx), %r14d
addq 0x20(%rdi), %r14
xorl %eax, %eax
movl %ecx, %ecx
cmpq %rcx, %rax
jae 0x4272
movb (%rsi,%rax), %cl
xorb $0x36, %cl
movb %cl, (%r14,%rax)
incq %rax
movl 0x1c(%rbx), %ecx
jmp 0x4251
movb $0x36, (%r14,%rax)
incq %rax
movl 0x... | /mattcaswell[P]picotls/deps/micro-ecc/uECC.c |
HMAC_finish | static void HMAC_finish(const uECC_HashContext *hash_context,
const uint8_t *K,
uint8_t *result) {
uint8_t *pad = hash_context->tmp + 2 * hash_context->result_size;
unsigned i;
for (i = 0; i < hash_context->result_size; ++i)
pad[i] = K[i] ^ 0x5c;
f... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
movl 0x1c(%rdi), %ecx
leal (%rcx,%rcx), %r15d
addq 0x20(%rdi), %r15
xorl %eax, %eax
movl %ecx, %ecx
cmpq %rcx, %rax
jae 0x42cf
movb (%rsi,%rax), %cl
xorb $0x5c, %cl
movb %cl, (%r15,%rax)
incq %rax
movl 0x1c(%r14), %ecx
jmp 0x42ad
movb $0x5c, (%r15,%rax)
i... | /mattcaswell[P]picotls/deps/micro-ecc/uECC.c |
uECC_verify | int uECC_verify(const uint8_t *public_key,
const uint8_t *message_hash,
unsigned hash_size,
const uint8_t *signature,
uECC_Curve curve) {
uECC_word_t u1[uECC_MAX_WORDS], u2[uECC_MAX_WORDS];
uECC_word_t z[uECC_MAX_WORDS];
uECC_word_t sum[uECC_MA... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp # imm = 0x218
movq %r8, %rbp
movq %rcx, %r13
movl %edx, 0xc(%rsp)
movq %rsi, 0x20(%rsp)
movsbl (%r8), %r14d
movswl 0x2(%r8), %eax
addl $0x3f, %eax
pushq $0x40
popq %rcx
cltd
idivl %ecx
movq %rax, 0x10(%rsp)
movsbq %al, %r12
a... | /mattcaswell[P]picotls/deps/micro-ecc/uECC.c |
uECC_vli_modInv | uECC_VLI_API void uECC_vli_modInv(uECC_word_t *result,
const uECC_word_t *input,
const uECC_word_t *mod,
wordcount_t num_words) {
uECC_word_t a[uECC_MAX_WORDS], b[uECC_MAX_WORDS], u[uECC_MAX_WORDS], v[uECC_MAX_WORD... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
movq %rsi, %rdi
movl %ecx, %esi
callq 0x39a1
testq %rax, %rax
je 0x4887
movsbl %bl, %esi
movq %r15, %rdi
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
p... | /mattcaswell[P]picotls/deps/micro-ecc/uECC.c |
bits2int | static void bits2int(uECC_word_t *native,
const uint8_t *bits,
unsigned bits_size,
uECC_Curve curve) {
unsigned num_n_bytes = BITS_TO_BYTES(curve->num_n_bits);
unsigned num_n_words = BITS_TO_WORDS(curve->num_n_bits);
int shift;
uECC_word_t c... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %r15d
movq %rsi, (%rsp)
movq %rdi, %r14
movswl 0x2(%rcx), %ecx
leal 0x7(%rcx), %eax
pushq $0x8
popq %rsi
cltd
idivl %esi
movl %eax, %esi
addl $0x3f, %ecx
pushq $0x40
popq %r12
movl %ecx, %eax
cltd
idivl %r12d
movl %e... | /mattcaswell[P]picotls/deps/micro-ecc/uECC.c |
XYcZ_add | static void XYcZ_add(uECC_word_t * X1,
uECC_word_t * Y1,
uECC_word_t * X2,
uECC_word_t * Y2,
uECC_Curve curve) {
/* t1 = X1, t2 = Y1, t3 = X2, t4 = Y2 */
uECC_word_t t5[uECC_MAX_WORDS];
wordcount_t num_words = curve->num_wor... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r8, %r12
movq %rcx, (%rsp)
movq %rdx, %rbx
movq %rsi, 0x8(%rsp)
movq %rdi, %r14
movsbl (%r8), %ebp
leaq 0x8(%r8), %r13
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %rdx, %rsi
movq %r14, %rdx
movq %r13, %rcx
movl %ebp, %r8d
callq 0x4c... | /mattcaswell[P]picotls/deps/micro-ecc/uECC.c |
uECC_vli_rshift1 | uECC_VLI_API void uECC_vli_rshift1(uECC_word_t *vli, wordcount_t num_words) {
uECC_word_t *end = vli;
uECC_word_t carry = 0;
vli += num_words;
while (vli-- > end) {
uECC_word_t temp = *vli;
*vli = (temp >> 1) | carry;
carry = temp << (uECC_WORD_BITS - 1);
}
} | movslq %esi, %rax
leaq (%rdi,%rax,8), %rax
xorl %ecx, %ecx
cmpq %rdi, %rax
jbe 0x540b
movq -0x8(%rax), %rdx
movq %rdx, %rsi
shrq %rsi
orq %rcx, %rsi
movq %rsi, -0x8(%rax)
addq $-0x8, %rax
shlq $0x3f, %rdx
movq %rdx, %rcx
jmp 0x53e8
retq
| /mattcaswell[P]picotls/deps/micro-ecc/uECC.c |
uECC_vli_mult | uECC_VLI_API void uECC_vli_mult(uECC_word_t *result,
const uECC_word_t *left,
const uECC_word_t *right,
wordcount_t num_words) {
uECC_word_t r0 = 0;
uECC_word_t r1 = 0;
uECC_word_t r2 = 0;
wordcount_t i, k;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdx, %r14
movq %rsi, %r15
leaq 0x10(%rsp), %rax
andq $0x0, (%rax)
leaq 0x20(%rsp), %r13
andq $0x0, (%r13)
leaq 0x18(%rsp), %rbp
andq $0x0, (%rbp)
movq %rdi, 0x38(%rsp)
xorl %eax, %eax
testb %cl, %cl
movl %ecx, 0xc(%rsp)
cmovlel %ea... | /mattcaswell[P]picotls/deps/micro-ecc/uECC.c |
cf_aes_init | void cf_aes_init(cf_aes_context *ctx, const uint8_t *key, size_t nkey)
{
memset(ctx, 0, sizeof *ctx);
switch (nkey)
{
#if CF_AES_MAXROUNDS >= AES128_ROUNDS
case 16:
ctx->rounds = AES128_ROUNDS;
aes_schedule(ctx, key, nkey);
break;
#endif
#if CF_AES_MAXROUNDS >= AES192_ROUNDS
case 24:
... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movl $0xf4, %edx
xorl %esi, %esi
callq 0x30c0
cmpq $0x10, %rbx
je 0x645c
cmpq $0x20, %rbx
je 0x6458
cmpq $0x18, %rbx
jne 0x6472
pushq $0xc
jmp 0x645e
pushq $0xe
jmp 0x645e
pushq $0xa
popq %rax
movl %eax, (%r15)
movq %r15, %rdi
movq %r14, %... | /mattcaswell[P]picotls/deps/cifra/src/aes.c |
inv_shift_rows | static void inv_shift_rows(uint32_t state[4])
{
uint32_t u, v, x, y;
u = word4(byte(state[0], 0),
byte(state[3], 1),
byte(state[2], 2),
byte(state[1], 3));
v = word4(byte(state[1], 0),
byte(state[0], 1),
byte(state[3], 2),
byte(state[2], 3)... | movd 0xc(%rdi), %xmm0
pshufd $0x0, %xmm0, %xmm0 # xmm0 = xmm0[0,0,0,0]
pand 0xa771(%rip), %xmm0 # 0x11090
movd 0x8(%rdi), %xmm1
pshufd $0x0, %xmm1, %xmm1 # xmm1 = xmm1[0,0,0,0]
pand 0xa76f(%rip), %xmm1 # 0x110a0
movd 0x4(%rdi), %xmm2
pshufd $0x0, %xmm2, %xmm2 # xmm2 = xmm2[0,0,0,0]
pand 0xa76d(%r... | /mattcaswell[P]picotls/deps/cifra/src/aes.c |
cf_blockwise_acc_pad | void cf_blockwise_acc_pad(uint8_t *partial, size_t *npartial,
size_t nblock,
uint8_t fbyte, uint8_t mbyte, uint8_t lbyte,
size_t nbytes,
cf_blockwise_in_fn process,
void *ctx)
{
switch (n... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x50(%rsp), %r13
movb %cl, 0x17(%rsp)
movb %r9b, 0x16(%rsp)
testq %r13, %r13
je 0x6ee6
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r12
movq 0x60(%rsp), %r14
movq 0x58(%rsp), %rax
cmpq $0x2, %r13
je 0x6e17
cmpq $0x1, %r13
jne 0x6e58
... | /mattcaswell[P]picotls/deps/cifra/src/blockwise.c |
cf_hash_drbg_sha256_gen_additional | void cf_hash_drbg_sha256_gen_additional(cf_hash_drbg_sha256 *ctx,
const void *addnl, size_t naddnl,
void *out, size_t nout)
{
uint8_t *bout = out;
/* Generate output in requests of MAX_DRBG_GENERATE in size. */
while (nout != 0)
{
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x238, %rsp # imm = 0x238
movq %rcx, %rbx
movq %rsi, %rbp
movq %rdi, %r14
leaq 0x106bc(%rip), %rax # 0x17d48
movq (%rax), %r12
movq 0x10(%rax), %rcx
movq %rcx, 0x28(%rsp)
movq 0x18(%rax), %rcx
movq %rcx, 0x18(%rsp)
movq 0x20(%rax), %... | /mattcaswell[P]picotls/deps/cifra/src/drbg.c |
cf_hash_drbg_sha256_reseed | void cf_hash_drbg_sha256_reseed(cf_hash_drbg_sha256 *ctx,
const void *entropy, size_t nentropy,
const void *addnl, size_t naddnl)
{
/* 1. seed_material = 0x01 || V || entropy_input || additional_input
* 2. seed = Hash_df(seed_material, seedlen)
* 3... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r9
movq %rsi, %rax
movq %rdi, %rbx
leaq 0x27(%rsp), %rdi
movb $0x1, (%rdi)
leaq 0x37(%rbx), %r14
movq 0x2f(%rbx), %rdx
movq %rdx, 0x66(%rbx)
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movups %xmm2, 0x57(%rbx)
movups %xm... | /mattcaswell[P]picotls/deps/cifra/src/drbg.c |
cf_hmac_drbg_init | void cf_hmac_drbg_init(cf_hmac_drbg *ctx,
const cf_chash *hash,
const void *entropy, size_t nentropy,
const void *nonce, size_t nnonce,
const void *persn, size_t npersn)
{
mem_clean(ctx, sizeof *ctx);
assert(hash->hashsz <=... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r9, 0x18(%rsp)
movq %r8, 0x10(%rsp)
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, %r14
movl $0x320, %edx # imm = 0x320
xorl %esi, %esi
callq 0x30c0
movb (%r14), %al
movq (%rbp), %rbx
cmpq $0x41, %rbx
jae 0x7... | /mattcaswell[P]picotls/deps/cifra/src/drbg.c |
hmac_drbg_update | static void hmac_drbg_update(cf_hmac_drbg *ctx,
const void *in1, size_t nin1,
const void *in2, size_t nin2,
const void *in3, size_t nin3)
{
cf_hmac_ctx local;
const cf_chash *H = ctx->hmac.hash;
uint8_t new_key[CF_MAXHASH];
u... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x358, %rsp # imm = 0x358
movq %r9, 0x20(%rsp)
movq %r8, 0x18(%rsp)
movq %rcx, %rbp
movq %rdx, 0x10(%rsp)
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x40(%rdi), %r15
movq 0x40(%rdi), %r14
leaq 0xe(%rsp), %rax
movb $0x0, (%rax)
leaq 0x80(%rsp),... | /mattcaswell[P]picotls/deps/cifra/src/drbg.c |
cf_hmac_drbg_gen_additional | void cf_hmac_drbg_gen_additional(cf_hmac_drbg *ctx,
const void *addnl, size_t naddnl,
void *out, size_t nout)
{
uint8_t *bout = out;
while (nout != 0)
{
size_t take = MIN(MAX_DRBG_GENERATE, nout);
hmac_drbg_generate(ctx, addnl, naddnl, bou... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x308, %rsp # imm = 0x308
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, 0x8(%rsp)
movq %rdi, %r15
leaq 0x40(%rdi), %r12
leaq 0x30(%rsp), %r13
testq %r8, %r8
je 0x7d7a
movl $0x10000, %eax # imm = 0x10000
cmpq %rax, %r8
cmovbq %r8, %... | /mattcaswell[P]picotls/deps/cifra/src/drbg.c |
add | static void add(uint8_t *out, size_t nout, const uint8_t *in, size_t nin)
{
assert(nout >= nin);
uint16_t carry = 0;
for (int oi = nout - 1, ii = nin - 1;
oi >= 0;
ii--, oi--)
{
carry += out[oi];
if (ii >= 0)
carry += in[ii];
out[oi] = carry & 0xff;
carry >>= 8;
}
} | cmpq $0x38, %rdx
jae 0x7e0e
pushq $0x36
popq %rax
xorl %ecx, %ecx
testl %eax, %eax
js 0x7e0d
leal (%rdx,%rax), %r9d
addl $-0x36, %r9d
movl %eax, %r8d
movzbl (%rdi,%r8), %r10d
addl %r10d, %ecx
testl %r9d, %r9d
jle 0x7dff
leal (%rdx,%rax), %r9d
addl $-0x37, %r9d
movl %r9d, %r9d
movzbl (%rsi,%r9), %r9d
addl %r9d, %ecx
mov... | /mattcaswell[P]picotls/deps/cifra/src/drbg.c |
cf_hmac_init | void cf_hmac_init(cf_hmac_ctx *ctx,
const cf_chash *hash,
const uint8_t *key, size_t nkey)
{
assert(ctx);
assert(hash);
mem_clean(ctx, sizeof *ctx);
ctx->hash = hash;
/* Prepare key: */
uint8_t k[CF_CHASH_MAXBLK];
/* Shorten long keys. */
if (nkey > hash->blocksz)
... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x100, %rsp # imm = 0x100
testq %rdi, %rdi
je 0x7f4a
movq %rsi, %rbx
testq %rsi, %rsi
je 0x7f4a
movq %rcx, %r15
movq %rdx, %r13
movq %rdi, %r14
movl $0x2d8, %edx # imm = 0x2D8
xorl %esi, %esi
callq 0x30c0
movb (%r14), %al
movq %rbx, (%r1... | /mattcaswell[P]picotls/deps/cifra/src/hmac.c |
cf_hmac | void cf_hmac(const uint8_t *key, size_t nkey,
const uint8_t *msg, size_t nmsg,
uint8_t *out,
const cf_chash *hash)
{
cf_hmac_ctx ctx;
assert(out);
assert(hash);
cf_hmac_init(&ctx, hash, key, nkey);
cf_hmac_update(&ctx, msg, nmsg);
cf_hmac_finish(&ctx, out);
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x2d8, %rsp # imm = 0x2D8
testq %r8, %r8
je 0x8055
testq %r9, %r9
je 0x8055
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %rcx
movq %rdi, %rdx
movq %rsp, %r12
movq %r12, %rdi
movq %r9, %rsi
callq 0x7e14
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %... | /mattcaswell[P]picotls/deps/cifra/src/hmac.c |
cf_gcm_decrypt | int cf_gcm_decrypt(const cf_prp *prp, void *prpctx,
const uint8_t *cipher, size_t ncipher,
const uint8_t *header, size_t nheader,
const uint8_t *nonce, size_t nnonce,
const uint8_t *tag, size_t ntag,
uint8_t *plain)
{
uint8... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movq %r9, %rbx
movq %r8, 0x48(%rsp)
movq %rcx, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq %rsi, %r12
movq %rdi, %r13
movq 0x158(%rsp), %r15
movq 0x148(%rsp), %rbp
movq 0x140(%rsp), %r14
xorps %xmm0, %xmm0
leaq 0x20(%... | /mattcaswell[P]picotls/deps/cifra/src/gcm.c |
lookup_certificate | static int lookup_certificate(ptls_lookup_certificate_t *_self, ptls_t *tls, uint16_t *sign_algorithm,
int (**signer)(void *sign_ctx, ptls_buffer_t *outbuf, ptls_iovec_t input), void **signer_data,
ptls_iovec_t **certs, size_t *num_certs, const char *server_na... | movl $0x28, %eax
cmpq $0x0, 0x10(%rdi)
je 0xfd4b
pushq %rbx
movq 0x28(%rsp), %r10
movq 0x20(%rsp), %r11
movq 0x10(%rsp), %rsi
xorl %ebx, %ebx
cmpq %rbx, %r10
je 0xfd4a
cmpw $0x403, (%r11,%rbx,2) # imm = 0x403
leaq 0x1(%rbx), %rbx
jne 0xfd0b
movq 0x8(%rdi), %rax
movq (%rax), %rax
movw $0x403, (%rdx) # imm = 0... | /mattcaswell[P]picotls/t/../lib/uecc.c |
ptls_minicrypto_lookup_certificate_add_identity | int ptls_minicrypto_lookup_certificate_add_identity(ptls_minicrypto_lookup_certificate_t *self, const char *server_name,
uint16_t signature_algorithm, ptls_iovec_t key, ptls_iovec_t *certs,
size_t num_certs)
{
st... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r12
cmpl $0x403, %edx # imm = 0x403
sete %al
cmpq $0x20, %r8
sete %cl
andb %al, %cl
movl $0x204, %eax # imm = 0x204
cmpb $0x1, %cl
jne 0xff09
movq %r9, %r14
movq %rsi, %r13
movq %rdi, %rbp
movq 0x40(%rsp), %rb... | /mattcaswell[P]picotls/t/../lib/uecc.c |
secp256r1_create_key_exchange | static int secp256r1_create_key_exchange(ptls_key_exchange_context_t **_ctx, ptls_iovec_t *pubkey)
{
struct st_secp256r1_key_exhchange_t *ctx;
if ((ctx = (struct st_secp256r1_key_exhchange_t *)malloc(sizeof(*ctx))) == NULL)
return PTLS_ERROR_NO_MEMORY;
ctx->super = (ptls_key_exchange_context_t){sec... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
pushq $0x70
popq %rdi
callq 0x3110
testq %rax, %rax
je 0xff7c
movq %rax, %r15
leaq 0x73d(%rip), %rax # 0x1067d
movq %rax, (%r15)
leaq 0x28(%r15), %rbp
movb $0x4, 0x28(%r15)
leaq 0x29(%r15), %r12
movq %r15,... | /mattcaswell[P]picotls/t/../lib/uecc.c |
secp256r1_key_exchange | static int secp256r1_key_exchange(ptls_iovec_t *pubkey, ptls_iovec_t *secret, ptls_iovec_t peerkey)
{
uint8_t priv[SECP256R1_PRIVATE_KEY_SIZE], *pub = NULL, *secbytes = NULL;
int ret;
if (peerkey.len != SECP256R1_PUBLIC_KEY_SIZE || peerkey.base[0] != TYPE_UNCOMPRESSED_PUBLIC_KEY) {
ret = PTLS_ALERT... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
pushq $0x33
popq %rbx
cmpq $0x41, %rcx
jne 0x1004c
movq %rdx, %rbp
cmpb $0x4, (%rdx)
jne 0x1004c
movq %rsi, %r12
movq %rdi, %r13
pushq $0x41
popq %rdi
callq 0x3110
testq %rax, %rax
je 0x1008e
movq %rax, %r14
pushq $0x20
popq %rdi
callq 0... | /mattcaswell[P]picotls/t/../lib/uecc.c |
main | int main(int argc, char **argv)
{
subtest("secp256r1", test_secp256r1_key_exchange);
subtest("x25519", test_x25519_key_exchange);
subtest("secp256r1-sign", test_secp256r1_sign);
ptls_minicrypto_lookup_certificate_t lookup_certificate;
ptls_iovec_t key = ptls_iovec_init(SECP256R1_PRIVATE_KEY, sizeof... | pushq %rbx
subq $0x80, %rsp
leaq 0x1ffa(%rip), %rdi # 0x120ac
leaq 0xf1(%rip), %rsi # 0x101aa
callq 0x9072
leaq 0x1ff1(%rip), %rdi # 0x120b6
leaq 0xea(%rip), %rsi # 0x101b6
callq 0x9072
leaq 0x1fe5(%rip), %rdi # 0x120bd
leaq 0xe3(%rip), %rsi # 0x101c2
callq 0x9072
leaq 0x219c(%rip), ... | /mattcaswell[P]picotls/t/minicrypto.c |
test_secp256r1_sign | static void test_secp256r1_sign(void)
{
const char *msg = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef";
uint8_t pub[SECP256R1_PUBLIC_KEY_SIZE], priv[SECP256R1_PRIVATE_KEY_SIZE];
ptls_buffer_t sigbuf;
uint32_t sigbuf_small[128];
uECC_make_key(pub, priv, uECC_secp256r1());
ptls_buffer_init(&sigbuf, sigbuf_... | pushq %r14
pushq %rbx
subq $0x298, %rsp # imm = 0x298
callq 0x32d9
leaq 0x40(%rsp), %rdi
movq %rsp, %r14
movq %r14, %rsi
movq %rax, %rdx
callq 0x32e9
leaq 0x90(%rsp), %rax
leaq 0x20(%rsp), %rbx
movq %rax, (%rbx)
andq $0x0, 0x10(%rbx)
movq $0x200, 0x8(%rbx) # imm = 0x200
andl $0x0, 0x18(%rbx)
leaq 0x1ff... | /mattcaswell[P]picotls/t/minicrypto.c |
x25519_on_exchange | static int x25519_on_exchange(ptls_key_exchange_context_t *_ctx, ptls_iovec_t *secret, ptls_iovec_t peerkey)
{
struct st_x25519_key_exchange_t *ctx = (struct st_x25519_key_exchange_t *)_ctx;
int ret;
if (secret == NULL) {
ret = 0;
goto Exit;
}
if (peerkey.len != X25519_KEY_SIZE) {
... | pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x1027a
cmpq $0x20, %rcx
jne 0x1027e
movq %rdx, %r8
leaq 0x8(%rbx), %rax
leaq 0x28(%rbx), %rdx
movq %rsi, %rdi
movq %rax, %rsi
xorl %ecx, %ecx
callq 0x102c9
movl %eax, %ebp
jmp 0x10281
xorl %ebp, %ebp
jmp 0x10281
pushq $0x33
popq %rbp
leaq 0x7e68(%rip... | /mattcaswell[P]picotls/t/../lib/cifra.c |
x25519_derive_secret | static int x25519_derive_secret(ptls_iovec_t *secret, const uint8_t *clientpriv, const uint8_t *clientpub,
const uint8_t *serverpriv, const uint8_t *serverpub)
{
uint8_t q[X25519_KEY_SIZE];
cf_sha256_context h;
int ret;
cf_curve25519_mul(q, clientpriv != NULL ? clientpri... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %r8, %rbx
movq %rdx, %r15
testq %rsi, %rsi
cmoveq %rcx, %rsi
movq %rdi, %r14
movq %r8, %rdx
cmoveq %r15, %rdx
movq %rsp, %rdi
callq 0x6f68
pushq $0x20
popq %rdi
callq 0x3110
movq %rax, (%r14)
testq %rax, %rax
je 0x1035a
movq $0x20, 0x8(%r14)
l... | /mattcaswell[P]picotls/t/../lib/cifra.c |
aes128gcm_encrypt | static int aes128gcm_encrypt(ptls_aead_context_t *_ctx, void *_output, size_t *outlen, const void *input, size_t inlen,
const void *iv, uint8_t enc_content_type)
{
struct aes128gcm_context_t *ctx = (struct aes128gcm_context_t *)_ctx;
uint8_t *output = (uint8_t *)_output;
cf_gcm_... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc0, %rsp
movq %r8, %rbx
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %r15
leaq 0x30(%rdi), %rsi
movq $0xc, (%rsp)
leaq 0x7940(%rip), %rdi # 0x17d08
leaq 0x8(%rsp), %r13
movq %r13, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x805c
movq %r13, %rdi
movq %r1... | /mattcaswell[P]picotls/t/../lib/cifra.c |
aes128gcm_decrypt | static int aes128gcm_decrypt(ptls_aead_context_t *_ctx, void *output, size_t *outlen, const void *input, size_t inlen,
const void *iv, uint8_t unused)
{
struct aes128gcm_context_t *ctx = (struct aes128gcm_context_t *)_ctx;
if (inlen < AES128GCM_TAG_SIZE)
return PTLS_ALERT_B... | pushq %rbp
pushq %r14
pushq %rbx
pushq $0x14
popq %rbp
cmpq $0x10, %r8
jb 0x1048c
movq %r9, %rax
movq %r8, %rbx
movq %rdx, %r14
movq %rsi, %r10
movq %rdi, %rsi
addq $0x30, %rsi
leaq (%rcx,%r8), %r11
addq $-0x10, %r11
addq $-0x10, %rbx
subq $0x8, %rsp
leaq 0x78a3(%rip), %rdi # 0x17d08
movq %rcx, %rdx
movq %rbx, %rc... | /mattcaswell[P]picotls/t/../lib/cifra.c |
sha256_final | static void sha256_final(ptls_hash_context_t *_ctx, void *md, ptls_hash_final_mode_t mode)
{
struct sha256_context_t *ctx = (struct sha256_context_t *)_ctx;
if (mode == PTLS_HASH_FINAL_MODE_SNAPSHOT) {
cf_sha256_context copy = ctx->ctx;
cf_sha256_digest_final(©, md);
ptls_clear_memo... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x70, %rsp
movq %rsi, %rax
movq %rdi, %rbx
cmpl $0x2, %edx
jne 0x104e8
addq $0x10, %rbx
pushq $0xe
popq %rcx
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
rep movsq (%rsi), %es:(%rdi)
movq %r14, %rdi
movq %rax, %rsi
callq 0x8d0a
leaq 0x7c1c(%rip), %rax # 0x180f0
movq (%rax... | /mattcaswell[P]picotls/t/../lib/cifra.c |
secp256r1sha256_sign | static int secp256r1sha256_sign(void *data, ptls_buffer_t *outbuf, ptls_iovec_t input)
{
uint8_t hash[32], sig[64];
int ret;
{ /* calc hash */
cf_sha256_context ctx;
cf_sha256_init(&ctx);
cf_sha256_update(&ctx, input.base, input.len);
cf_sha256_digest_final(&ctx, hash);
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x30(%rsp), %r13
movq %r13, %rdi
callq 0x8aa4
movq %r13, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x8afe
leaq 0x10(%rsp), %r15
movq %r13, %rdi
movq %r15, %rsi
callq 0... | /mattcaswell[P]picotls/t/../lib/uecc.c |
secp256r1_on_exchange | static int secp256r1_on_exchange(ptls_key_exchange_context_t *_ctx, ptls_iovec_t *secret, ptls_iovec_t peerkey)
{
struct st_secp256r1_key_exhchange_t *ctx = (struct st_secp256r1_key_exhchange_t *)_ctx;
uint8_t *secbytes = NULL;
int ret;
if (secret == NULL) {
ret = 0;
goto Exit;
}
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rsi, %rsi
je 0x106e0
pushq $0x33
popq %rbp
cmpq $0x41, %rcx
jne 0x106e9
movq %rdx, %r12
cmpb $0x4, (%rdx)
jne 0x106e9
movq %rsi, %r15
pushq $0x20
popq %rdi
callq 0x3110
testq %rax, %rax
je 0x106e4
movq %rax, %r14
incq %r... | /mattcaswell[P]picotls/t/../lib/uecc.c |
main | int main( void )
{
char * endptr;
/* this, to base 36, overflows even a 256 bit integer */
char overflow[] = "-ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ_";
/* tricky border case */
char tricky[] = "+0xz";
errno = 0;
/* basic functionality */
TESTCASE( strtoumax( "123", NULL, 1... | pushq %r14
pushq %rbx
subq $0x48, %rsp
movaps 0xec6(%rip), %xmm0 # 0x2030
movaps %xmm0, 0x30(%rsp)
movaps 0xeaa(%rip), %xmm0 # 0x2020
movaps %xmm0, 0x20(%rsp)
movaps 0xe8e(%rip), %xmm0 # 0x2010
movaps %xmm0, 0x10(%rsp)
movabsq $0x5f5a5a5a5a5a5a, %rax # imm = 0x5F5A5A5A5A5A5A
movq %rax, 0x3f(%rsp)
movb $0... | /DevSolar[P]pdclib/functions/inttypes/strtoumax.c |
cleanuptypeinfo | static void cleanuptypeinfo(struct rnntypeinfo *ti) {
int i;
for (i = 0; i < ti->bitfieldsnum; i++)
freebitfield(ti->bitfields[i]);
free(ti->bitfields);
for (i = 0; i < ti->valsnum; i++)
freevalue(ti->vals[i]);
free(ti->vals);
free(ti->name);
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x0, 0x30(%rdi)
jle 0x6bb8
xorl %r14d, %r14d
movq 0x28(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x6b5c
incq %r14
movslq 0x30(%rbx), %rax
cmpq %rax, %r14
jl 0x6b9f
movq 0x28(%rbx), %rdi
callq 0x20e0
cmpl $0x0, 0x40(%rbx)
jle 0x6be3
xorl %r14d, %r14d
movq 0x38(%rbx... | /grate-driver[P]envytools/rnn/rnn.c |
des3_set2key | static void des3_set2key( uint32_t esk[96],
uint32_t dsk[96],
const unsigned char key[MBEDTLS_DES_KEY_SIZE*2] )
{
int i;
mbedtls_des_setkey( esk, key );
mbedtls_des_setkey( dsk + 32, key + 8 );
for( i = 0; i < 32; i += 2 )
{
dsk[i ] =... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rsi
callq 0x4720
leaq 0x80(%rbx), %rdi
addq $0x8, %r15
movq %r15, %rsi
callq 0x4720
pushq $0x40
popq %rax
pushq $0x1f
popq %rcx
leaq -0x40(%rax), %rdx
cmpq $0x1f, %rdx
ja 0x4c84
movl -0x4(%r14,%rcx,4), %edx
movl %edx, -0x100(%r... | /project-everest[P]mbedtls/library/des.c |
des3_set3key | static void des3_set3key( uint32_t esk[96],
uint32_t dsk[96],
const unsigned char key[24] )
{
int i;
mbedtls_des_setkey( esk, key );
mbedtls_des_setkey( dsk + 32, key + 8 );
mbedtls_des_setkey( esk + 64, key + 16 );
for( i = 0; i < 32; i += 2 )
... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rsi
callq 0x4720
leaq 0x80(%rbx), %rdi
leaq 0x8(%r15), %rsi
callq 0x4720
leaq 0x100(%r14), %rdi
addq $0x10, %r15
movq %r15, %rsi
callq 0x4720
xorl %eax, %eax
xorl %ecx, %ecx
cmpq $0x1f, %rcx
ja 0x4d83
movl 0x178(%r14,%rax), %ed... | /project-everest[P]mbedtls/library/des.c |
mbedtls_des_crypt_ecb | int mbedtls_des_crypt_ecb( mbedtls_des_context *ctx,
const unsigned char input[8],
unsigned char output[8] )
{
int i;
uint32_t X, Y, T, *SK;
SK = ctx->sk;
GET_UINT32_BE( X, input, 0 );
GET_UINT32_BE( Y, input, 4 );
DES_IP( X, Y );
for( i = 0; i < 8... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, -0x8(%rsp)
movl (%rsi), %ecx
movl 0x4(%rsi), %eax
bswapl %ecx
bswapl %eax
movl %ecx, %esi
shrl $0x4, %esi
xorl %eax, %esi
andl $0xf0f0f0f, %esi # imm = 0xF0F0F0F
xorl %esi, %eax
shll $0x4, %esi
xorl %ecx, %esi
movl %esi, %ecx
shrl $0x10... | /project-everest[P]mbedtls/library/des.c |
mbedtls_des3_crypt_ecb | int mbedtls_des3_crypt_ecb( mbedtls_des3_context *ctx,
const unsigned char input[8],
unsigned char output[8] )
{
int i;
uint32_t X, Y, T, *SK;
SK = ctx->sk;
GET_UINT32_BE( X, input, 0 );
GET_UINT32_BE( Y, input, 4 );
DES_IP( X, Y );
for( i = 0; i... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, -0x8(%rsp)
movl (%rsi), %ecx
movl 0x4(%rsi), %eax
bswapl %ecx
bswapl %eax
movl %ecx, %esi
shrl $0x4, %esi
xorl %eax, %esi
andl $0xf0f0f0f, %esi # imm = 0xF0F0F0F
xorl %esi, %eax
shll $0x4, %esi
xorl %ecx, %esi
movl %esi, %ecx
shrl $0x10... | /project-everest[P]mbedtls/library/des.c |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.