name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
Parser::localDecl(TokenType)
ptr<Statement> Parser::localDecl(TokenType tokenType) { bool constant = tokenType == TokenType::Const; consume(); Identifier identifier = token().lexeme; consume(TokenType::Identifier, "identifier"); consume(TokenType::Assign, "assignment operator '='"); ptr<Expression> expr = expression(); ...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rdi, -0xc0(%rbp) movq %rdi, %rax movq %rax, -0xb8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0xa8(%rbp) movl -0x14(%rbp), %eax subl $0x2b, %eax sete -0x15(%rbp) callq 0x11350 movq -0xa8(%rbp), %rsi leaq -...
/rfejzic1[P]katon/src/Parser.cpp
Parser::ifStatement()
ptr<Statement> Parser::ifStatement() { consume(); ptr<Expression> condition = expression(); ptr<StatementBlock> ifBlock = statementBlock(); ptr<StatementBlock> elseBlock; if(match(TokenType::Else)) { consume(); elseBlock = statementBlock(); } return make<IfStatement>(condit...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x88(%rbp) movq %rdi, %rax movq %rax, -0x80(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x78(%rbp) callq 0x11350 movq -0x78(%rbp), %rsi leaq -0x20(%rbp), %rdi callq 0x12890 movq -0x78(%rbp), %rsi leaq -0x30(%rbp), %rdi cal...
/rfejzic1[P]katon/src/Parser.cpp
Parser::tryCatchStatement()
ptr<Statement> Parser::tryCatchStatement() { consume(); ptr<StatementBlock> tryBlock = statementBlock(); consume(TokenType::Catch, "'catch'"); Identifier identifier; if(match(TokenType::Identifier)) { identifier = token().lexeme; consume(); } ptr<StatementBlock> catchBlock...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0xc0(%rbp) movq %rdi, %rax movq %rax, -0xb8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0xb0(%rbp) callq 0x11350 movq -0xb0(%rbp), %rsi leaq -0x20(%rbp), %rdi callq 0x12e50 movq -0xb0(%rbp), %rdi leaq 0x4a5e9(%rip), %rdx ...
/rfejzic1[P]katon/src/Parser.cpp
Parser::conjunction()
ptr<Expression> Parser::conjunction() { ptr<Expression> expr = equality(); if(match(TokenType::And)) { consume(); expr = make<BinaryOperator>(make<Conjunction>(), expr, conjunction()); } return expr; }
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x78(%rbp) movq %rdi, %rax movq %rax, -0x70(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rsi movq %rsi, -0x68(%rbp) movb $0x0, -0x11(%rbp) callq 0x14590 movq -0x68(%rbp), %rdi movl $0xf, %esi callq 0x114d0 movb %al, -0x59(%rbp) jmp 0x144a2...
/rfejzic1[P]katon/src/Parser.cpp
Parser::castable()
ptr<Expression> Parser::castable() { ptr<Expression> expr = unary(); if(match(TokenType::As)) { consume(); if(match(TokenType::StringType)) { consume(); expr = make<Cast>(expr, Type::String); } else if(match(TokenType::DoubleType)) { consume(); ...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0xa0(%rbp) movq %rdi, %rax movq %rax, -0x98(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rsi movq %rsi, -0x90(%rbp) movb $0x0, -0x11(%rbp) callq 0x155d0 movq -0x90(%rbp), %rdi movl $0x35, %esi callq 0x114d0 movb %al, -0x85(%rbp) jmp 0x1539...
/rfejzic1[P]katon/src/Parser.cpp
Parser::call(std::shared_ptr<Expression>)
ptr<Expression> Parser::call(ptr<Expression> callee) { consume(); ExpressionList exprList = expressionList(); consume(TokenType::RightParen, "')'"); ptr<Expression> expr = make<Call>(callee, exprList); return postfix(expr); }
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdx, -0x90(%rbp) movq %rdi, -0x88(%rbp) movq %rdi, %rax movq %rax, -0x80(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x78(%rbp) callq 0x11350 movq -0x78(%rbp), %rsi leaq -0x30(%rbp), %rdi callq 0x12320 mov...
/rfejzic1[P]katon/src/Parser.cpp
ThrowStatement::execute(Environment*)
void execute(Environment *env) override { ptr<Value> toThrow = expression ? expression->evaluate(env) : nullptr; throw ThrowPacket(toThrow); }
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x48(%rbp) addq $0x8, %rdi callq 0x27f70 testb $0x1, %al jne 0x28ad7 jmp 0x28af6 movq -0x48(%rbp), %rdi addq $0x8, %rdi callq 0x22090 movq %rax, %rsi movq -0x10(%rbp), %rdx movq (%rsi), %rax leaq -...
/rfejzic1[P]katon/src/../include/AbstractSyntaxTree/Statements/ThrowStatement.h
Environment::putValue(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Scope, std::shared_ptr<Value>, bool)
void Environment::putValue(const Identifier &ident, Scope scope, ptr<Value> value, bool constant) { Symbol symbol(ident, constant, scope); symbols[symbol] = std::dynamic_pointer_cast<Member>(value); }
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rcx, -0xb0(%rbp) movb %r8b, %al movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) andb $0x1, %al movb %al, -0x21(%rbp) movq -0x8(%rbp), %rax movq %rax, -0xa8(%rbp) movq -0x10(%rbp), %rsi leaq -0x78(%rbp), %rdi movq %rdi, -0xa0(%r...
/rfejzic1[P]katon/src/Environment.cpp
Environment::putFunction(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, Scope, std::shared_ptr<Function>)
void Environment::putFunction(const Identifier &ident, Scope scope, ptr<Function> function) { Symbol symbol(ident, true, scope); symbols[symbol] = std::dynamic_pointer_cast<Member>(function); }
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rcx, -0xa8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rax movq %rax, -0xa0(%rbp) movq -0x10(%rbp), %rsi leaq -0x70(%rbp), %rdi movq %rdi, -0x98(%rbp) callq 0xa110 movq -0x98(%rbp), %rsi movl -0x14(%...
/rfejzic1[P]katon/src/Environment.cpp
Environment::Environment(Environment const&)
Environment::Environment(const Environment &other) { for(const auto& it : other.symbols) { ptr<Member> member = it.second; ptr<Function> function = std::dynamic_pointer_cast<Function>(member); if(function) { symbols[it.first] = make<Function>(*function); } else { ...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x78(%rbp) callq 0x50c40 movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rdi callq 0x50c60 movq %rax, -0x20(%rbp) movq -0x18(%rbp), %rdi callq 0x50c90 movq %rax, -0x28(%rbp) leaq -...
/rfejzic1[P]katon/src/Environment.cpp
Array::asString[abi:cxx11]()
std::string Array::asString() { std::string result = "["; for(ptr<Value>& value : *values) { result += value -> asString() + ", "; } result.pop_back(); result.pop_back(); result += "]"; return result; }
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0x98(%rbp) movq %rdi, %rax movq %rax, -0xa8(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0xa0(%rbp) movb $0x0, -0x11(%rbp) leaq -0x12(%rbp), %rdi movq %rdi, -0x90(%rbp) callq 0xa500 movq -0x98(%rbp), %rdi movq -0x90(%rbp), ...
/rfejzic1[P]katon/src/Array.cpp
(anonymous namespace)::PrintUsage(std::ostream*)
void PrintUsage(std::ostream* stream) { // clang-format off *stream << std::endl; *stream << " huffman - Huffman coding" << std::endl; *stream << std::endl; *stream << " usage:" << std::endl; *stream << " huffman [ options ] [ infile ] > stdout" << std::endl; *stream << " options:" << std::endl; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdi, %rbx movq (%rdi), %rax movq -0x18(%rax), %rdi addq %rbx, %rdi movl $0xa, %esi callq 0x32a0 movsbl %al, %esi movq %rbx, %rdi callq 0x3030 movq %rax, %rdi callq 0x31e0 leaq 0x7db7(%rip), %rsi # 0xc134 movl $0x19, %edx movq %rbx, %rdi callq 0x32e0 movq...
/sp-nitech[P]SPTK/src/main/huffman.cc
ya_getopt_internal(int, char* const*, char const*, option const*, int*, int)
static int ya_getopt_internal(int argc, char * const argv[], const char *optstring, const struct option *longopts, int *longindex, int long_only) { static int start, end; if (ya_optopt == '?') { ya_optopt = 0; } if (posixly_correct == -1) { check_gnu_extension(optstring); } if...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r8, %r10 movq %rcx, %r8 movq %rdx, %rbx movq %rsi, %r14 movl %edi, 0x14(%rsp) cmpl $0x3f, 0xc7f9(%rip) # 0x11280 jne 0x4a93 movl $0x0, 0xc7ed(%rip) # 0x11280 movl 0xc7eb(%rip), %esi # 0x11284 movb (%rbx), %r12b cmpl $...
/sp-nitech[P]SPTK/third_party/GETOPT/ya_getopt.cc
ya_getopt_shortopts(int, char* const*, char const*, int)
static int ya_getopt_shortopts(int argc, char * const argv[], const char *optstring, int long_only) { int opt = *ya_optnext; const char *os = strchr(optstring, opt); if (os == NULL) { ya_optarg = NULL; if (long_only) { ya_getopt_error(optstring, "%s: unrecognized option '-%s'\n"...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %r13d movq %rdx, %r14 movq %rsi, %r15 movl %edi, %ebp movq 0xc2a2(%rip), %r12 # 0x112a0 movsbl (%r12), %ebx movq %rdx, %rdi movl %ebx, %esi callq 0x3110 testq %rax, %rax je 0x5033 cmpb $0x3a, 0x1(%rax) jne 0x5075 cmpb $0x0, 0x1...
/sp-nitech[P]SPTK/third_party/GETOPT/ya_getopt.cc
sptk::HuffmanCoding::Run(std::vector<double, std::allocator<double>> const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>*) const
bool HuffmanCoding::Run(const std::vector<double>& probabilities, std::vector<std::string>* codewords) const { // Check inputs. if (!is_valid_ || probabilities.size() != static_cast<std::size_t>(num_element_) || NULL == codewords) { return false; } // Prepare memories. ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp cmpb $0x1, 0xc(%rdi) jne 0x52bf movq %rdx, %rbx xorl %ebp, %ebp testq %rdx, %rdx je 0x52c1 movq %rsi, %r14 movq %rdi, %r15 movq 0x8(%rsi), %rsi subq (%r14), %rsi sarq $0x3, %rsi movl 0x8(%rdi), %eax movslq %eax, %rcx cmpq %rcx, %rsi jne ...
/sp-nitech[P]SPTK/src/compression/huffman_coding.cc
(anonymous namespace)::Encode((anonymous namespace)::Node const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std...
void Encode(const Node* node, const std::string& code, std::vector<std::string>* codewords) { if (NULL == node) return; const int symbol(node->GetSymbol()); if (0 <= symbol) { (*codewords)[symbol] = code; } else { Encode(node->GetLeft(), code + "0", codewords); Encode(node->GetRight(), ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp testq %rdi, %rdi je 0x5832 movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movslq 0x8(%rdi), %rdi testq %rdi, %rdi js 0x5793 shlq $0x5, %rdi addq (%rbx), %rdi movq %r14, %rsi addq $0x28, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq ...
/sp-nitech[P]SPTK/src/compression/huffman_coding.cc
sptk::ReadStream(sptk::Matrix*, std::istream*)
bool ReadStream(sptk::Matrix* matrix_to_read, std::istream* input_stream) { if (NULL == matrix_to_read || 0 == matrix_to_read->GetNumRow() || 0 == matrix_to_read->GetNumColumn() || NULL == input_stream || input_stream->eof()) { return false; } const int type_byte(sizeof((*matrix_to_read)[0][0]));...
testq %rdi, %rdi je 0x5ba3 movl 0x8(%rdi), %eax testl %eax, %eax je 0x5ba3 pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movl 0xc(%rdi), %ecx testl %ecx, %ecx sete %dl testq %rsi, %rsi sete %sil orb %dl, %sil jne 0x5ba6 movq (%rbx), %rdx movq -0x18(%rdx), %rdx testb $0x2, 0x20(%rbx,%rdx) jne 0x5ba6 imull %ecx, %eax ...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
sptk::ReadStream(sptk::SymmetricMatrix*, std::istream*)
bool ReadStream(sptk::SymmetricMatrix* matrix_to_read, std::istream* input_stream) { if (NULL == matrix_to_read) { return false; } const int dim(matrix_to_read->GetNumDimension()); sptk::Matrix matrix(dim, dim); if (!sptk::ReadStream(&matrix, input_stream)) { return false; } for ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp testq %rdi, %rdi je 0x5c7b movq %rsi, %r15 movq %rdi, %rbx movl 0x8(%rdi), %r14d leaq 0x38(%rsp), %r12 movq %r12, %rdi movl %r14d, %esi movl %r14d, %edx callq 0xa364 movq %r12, %rdi movq %r15, %rsi callq 0x5b3c movq %r14, 0x10(%rsp) test...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::SnPrintf<sptk::int24_t>(sptk::int24_t, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long, char*)
bool SnPrintf(int24_t data, const std::string& print_format, std::size_t buffer_size, char* buffer) { if (print_format.empty() || 0 == buffer_size || NULL == buffer) { return false; } return (std::snprintf(buffer, buffer_size, print_format.c_str(), static_cast<int>(data)...
xorl %eax, %eax testq %rcx, %rcx je 0x5ec2 testq %rdx, %rdx je 0x5ec2 cmpq $0x0, 0x8(%rsi) je 0x5ec2 pushq %rax movq (%rsi), %rax movzbl 0x2(%rdi), %esi movl %esi, %r8d shll $0x10, %r8d movzbl 0x1(%rdi), %r9d shll $0x8, %r9d movzbl (%rdi), %edi orl %r8d, %edi leal (%rdi,%r9), %r10d leal (%r9,%rdi), %r8d addl $0xff00000...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::SnPrintf<sptk::uint24_t>(sptk::uint24_t, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned long, char*)
bool SnPrintf(uint24_t data, const std::string& print_format, std::size_t buffer_size, char* buffer) { if (print_format.empty() || 0 == buffer_size || NULL == buffer) { return false; } return (std::snprintf(buffer, buffer_size, print_format.c_str(), static_cast<int>(data...
xorl %eax, %eax testq %rcx, %rcx je 0x5f04 testq %rdx, %rdx je 0x5f04 cmpq $0x0, 0x8(%rsi) je 0x5f04 pushq %rax movq (%rsi), %rax movzwl 0x1(%rdi), %esi shll $0x8, %esi movzbl (%rdi), %r8d orl %esi, %r8d movq %rcx, %rdi movq %rdx, %rsi movq %rax, %rdx movl %r8d, %ecx xorl %eax, %eax callq 0x33e0 testl %eax, %eax setns ...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
sptk::NextPowTwo(int)
int NextPowTwo(int num) { num--; num |= num >> 1; num |= num >> 2; num |= num >> 4; num |= num >> 8; num |= num >> 16; num++; return num; }
leal -0x1(%rdi), %eax movl %eax, %ecx sarl %ecx orl %eax, %ecx movl %ecx, %eax sarl $0x2, %eax orl %ecx, %eax movl %eax, %ecx sarl $0x4, %ecx orl %eax, %ecx movl %ecx, %edx sarl $0x8, %edx orl %ecx, %edx movl %edx, %eax sarl $0x10, %eax orl %edx, %eax incl %eax retq
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
sptk::AddInLogSpace(double, double)
double AddInLogSpace(double log_x, double log_y) { if (log_x == log_y) return log_x + kLogTwo; const double smaller((log_x < log_y) ? log_x : log_y); const double greater((log_x < log_y) ? log_y : log_x); const double diff(smaller - greater); if (diff < kThresholdOfInformationLossInLogSpace) return greater; ...
ucomisd %xmm1, %xmm0 jne 0x6414 jp 0x6414 addsd 0x60e2(%rip), %xmm0 # 0xc4f0 movapd %xmm0, %xmm2 jmp 0x6457 movapd %xmm1, %xmm2 movapd %xmm0, %xmm1 minsd %xmm2, %xmm1 maxsd %xmm0, %xmm2 subsd %xmm2, %xmm1 movsd 0x60b8(%rip), %xmm0 # 0xc4e8 ucomisd %xmm1, %xmm0 ja 0x6457 pushq %rax movapd %xmm1, %xmm0 movsd %xmm...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
sptk::Warp(double, double, double)
double Warp(double omega, double alpha, double theta) { if (0.0 == alpha && 0.0 == theta) return omega; const double x(omega - theta); const double y(omega + theta); return (omega + std::atan2(alpha * std::sin(x), 1.0 - alpha * std::cos(x)) + std::atan2(alpha * std::sin(y), 1.0 - alpha * std::cos(y)))...
movapd %xmm0, %xmm3 xorpd %xmm0, %xmm0 ucomisd %xmm0, %xmm1 jne 0x64da jp 0x64da ucomisd %xmm0, %xmm2 jne 0x64da jnp 0x658f subq $0x28, %rsp movapd %xmm3, %xmm0 subsd %xmm2, %xmm0 movsd %xmm0, 0x20(%rsp) addsd %xmm3, %xmm2 movsd %xmm2, 0x18(%rsp) movsd %xmm1, (%rsp) movsd %xmm3, 0x10(%rsp) callq 0x30a0 mulsd (%rsp), %x...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
sptk::PrintDataType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::ostream*)
void PrintDataType(const std::string& symbol, std::ostream* stream) { std::string data_type(""); std::size_t data_size(0); if ("c" == symbol) { data_type = "char"; data_size = sizeof(std::int8_t); } else if ("s" == symbol) { data_type = "short"; data_size = sizeof(std::int16_t); } else if ("h...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1c0, %rsp # imm = 0x1C0 movq %rsi, %rbx movq %rdi, %r14 leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0x5e63(%rip), %rdx # 0xc41e leaq 0x8(%rsp), %rdi movq %rdx, %rsi callq 0x486e leaq 0x5f73(%rip), %rsi # 0xc542 movq %r14, %rdi cal...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
sptk::PrintErrorMessage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char>> const&)
void PrintErrorMessage(const std::string& program_name, const std::ostringstream& message) { std::ostringstream stream; stream << program_name << ": " << message.str() << "!" << std::endl; std::cerr << stream.str(); }
pushq %r15 pushq %r14 pushq %rbx subq $0x1a0, %rsp # imm = 0x1A0 movq %rsi, %rbx movq %rdi, %r14 leaq 0x28(%rsp), %r15 movq %r15, %rdi callq 0x3340 movq (%r14), %rsi movq 0x8(%r14), %rdx movq %r15, %rdi callq 0x32e0 movq %rax, %r14 leaq 0x5b23(%rip), %rsi # 0xc5af movl $0x2, %edx movq %rax, %rdi callq 0...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
sptk::SetBinaryMode()
bool SetBinaryMode() { #ifdef _WIN32 if (-1 == _setmode(_fileno(stdin), _O_BINARY) || -1 == _setmode(_fileno(stdout), _O_BINARY)) { return false; } #endif return true; }
movb $0x1, %al retq
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<bool>(bool*, std::istream*)
bool ReadStream(T* data_to_read, std::istream* input_stream) { if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) { return false; } const int type_byte(sizeof(*data_to_read)); input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte); return (type_byte == input_stream->g...
pushq %rbx movq %rsi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x6c0d movq (%rbx), %rax movq -0x18(%rax), %rax testb $0x2, 0x20(%rbx,%rax) jne 0x6c0d movq %rdi, %rsi movl $0x1, %edx movq %rbx, %rdi callq 0x3310 cmpq $0x1, 0x8(%rbx) jne 0x6c0d movq (%rbx), %rax movq -0x18(%rax), %rax tes...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<signed char>(signed char*, std::istream*)
bool ReadStream(T* data_to_read, std::istream* input_stream) { if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) { return false; } const int type_byte(sizeof(*data_to_read)); input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte); return (type_byte == input_stream->g...
pushq %rbx movq %rsi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x6c5b movq (%rbx), %rax movq -0x18(%rax), %rax testb $0x2, 0x20(%rbx,%rax) jne 0x6c5b movq %rdi, %rsi movl $0x1, %edx movq %rbx, %rdi callq 0x3310 cmpq $0x1, 0x8(%rbx) jne 0x6c5b movq (%rbx), %rax movq -0x18(%rax), %rax tes...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<short>(short*, std::istream*)
bool ReadStream(T* data_to_read, std::istream* input_stream) { if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) { return false; } const int type_byte(sizeof(*data_to_read)); input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte); return (type_byte == input_stream->g...
pushq %rbx movq %rsi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x6ca9 movq (%rbx), %rax movq -0x18(%rax), %rax testb $0x2, 0x20(%rbx,%rax) jne 0x6ca9 movq %rdi, %rsi movl $0x2, %edx movq %rbx, %rdi callq 0x3310 cmpq $0x2, 0x8(%rbx) jne 0x6ca9 movq (%rbx), %rax movq -0x18(%rax), %rax tes...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<sptk::int24_t>(sptk::int24_t*, std::istream*)
bool ReadStream(T* data_to_read, std::istream* input_stream) { if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) { return false; } const int type_byte(sizeof(*data_to_read)); input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte); return (type_byte == input_stream->g...
pushq %rbx movq %rsi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x6cf7 movq (%rbx), %rax movq -0x18(%rax), %rax testb $0x2, 0x20(%rbx,%rax) jne 0x6cf7 movq %rdi, %rsi movl $0x3, %edx movq %rbx, %rdi callq 0x3310 cmpq $0x3, 0x8(%rbx) jne 0x6cf7 movq (%rbx), %rax movq -0x18(%rax), %rax tes...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<long>(long*, std::istream*)
bool ReadStream(T* data_to_read, std::istream* input_stream) { if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) { return false; } const int type_byte(sizeof(*data_to_read)); input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte); return (type_byte == input_stream->g...
pushq %rbx movq %rsi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x6d93 movq (%rbx), %rax movq -0x18(%rax), %rax testb $0x2, 0x20(%rbx,%rax) jne 0x6d93 movq %rdi, %rsi movl $0x8, %edx movq %rbx, %rdi callq 0x3310 cmpq $0x8, 0x8(%rbx) jne 0x6d93 movq (%rbx), %rax movq -0x18(%rax), %rax tes...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<unsigned char>(unsigned char*, std::istream*)
bool ReadStream(T* data_to_read, std::istream* input_stream) { if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) { return false; } const int type_byte(sizeof(*data_to_read)); input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte); return (type_byte == input_stream->g...
pushq %rbx movq %rsi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x6de1 movq (%rbx), %rax movq -0x18(%rax), %rax testb $0x2, 0x20(%rbx,%rax) jne 0x6de1 movq %rdi, %rsi movl $0x1, %edx movq %rbx, %rdi callq 0x3310 cmpq $0x1, 0x8(%rbx) jne 0x6de1 movq (%rbx), %rax movq -0x18(%rax), %rax tes...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<unsigned short>(unsigned short*, std::istream*)
bool ReadStream(T* data_to_read, std::istream* input_stream) { if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) { return false; } const int type_byte(sizeof(*data_to_read)); input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte); return (type_byte == input_stream->g...
pushq %rbx movq %rsi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x6e2f movq (%rbx), %rax movq -0x18(%rax), %rax testb $0x2, 0x20(%rbx,%rax) jne 0x6e2f movq %rdi, %rsi movl $0x2, %edx movq %rbx, %rdi callq 0x3310 cmpq $0x2, 0x8(%rbx) jne 0x6e2f movq (%rbx), %rax movq -0x18(%rax), %rax tes...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<sptk::uint24_t>(sptk::uint24_t*, std::istream*)
bool ReadStream(T* data_to_read, std::istream* input_stream) { if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) { return false; } const int type_byte(sizeof(*data_to_read)); input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte); return (type_byte == input_stream->g...
pushq %rbx movq %rsi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x6e7d movq (%rbx), %rax movq -0x18(%rax), %rax testb $0x2, 0x20(%rbx,%rax) jne 0x6e7d movq %rdi, %rsi movl $0x3, %edx movq %rbx, %rdi callq 0x3310 cmpq $0x3, 0x8(%rbx) jne 0x6e7d movq (%rbx), %rax movq -0x18(%rax), %rax tes...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<unsigned int>(unsigned int*, std::istream*)
bool ReadStream(T* data_to_read, std::istream* input_stream) { if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) { return false; } const int type_byte(sizeof(*data_to_read)); input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte); return (type_byte == input_stream->g...
pushq %rbx movq %rsi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x6ecb movq (%rbx), %rax movq -0x18(%rax), %rax testb $0x2, 0x20(%rbx,%rax) jne 0x6ecb movq %rdi, %rsi movl $0x4, %edx movq %rbx, %rdi callq 0x3310 cmpq $0x4, 0x8(%rbx) jne 0x6ecb movq (%rbx), %rax movq -0x18(%rax), %rax tes...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<unsigned long>(unsigned long*, std::istream*)
bool ReadStream(T* data_to_read, std::istream* input_stream) { if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) { return false; } const int type_byte(sizeof(*data_to_read)); input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte); return (type_byte == input_stream->g...
pushq %rbx movq %rsi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x6f19 movq (%rbx), %rax movq -0x18(%rax), %rax testb $0x2, 0x20(%rbx,%rax) jne 0x6f19 movq %rdi, %rsi movl $0x8, %edx movq %rbx, %rdi callq 0x3310 cmpq $0x8, 0x8(%rbx) jne 0x6f19 movq (%rbx), %rax movq -0x18(%rax), %rax tes...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<double>(double*, std::istream*)
bool ReadStream(T* data_to_read, std::istream* input_stream) { if (NULL == data_to_read || NULL == input_stream || input_stream->eof()) { return false; } const int type_byte(sizeof(*data_to_read)); input_stream->read(reinterpret_cast<char*>(data_to_read), type_byte); return (type_byte == input_stream->g...
pushq %rbx movq %rsi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x6fb5 movq (%rbx), %rax movq -0x18(%rax), %rax testb $0x2, 0x20(%rbx,%rax) jne 0x6fb5 movq %rdi, %rsi movl $0x8, %edx movq %rbx, %rdi callq 0x3310 cmpq $0x8, 0x8(%rbx) jne 0x6fb5 movq (%rbx), %rax movq -0x18(%rax), %rax tes...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<short>(bool, int, int, int, std::vector<short, std::allocator<short>>*, std::istream*, int*)
bool ReadStream(bool zero_padding, int stream_skip, int read_point, int read_size, std::vector<T>* sequence_to_read, std::istream* input_stream, int* actual_read_size) { if (stream_skip < 0 || read_point < 0 || read_size <= 0 || NULL == sequence_to_read || NULL == input_stream ||...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %r15d movl %edx, %r13d movl %edx, %eax orl %esi, %eax sets %al testl %ecx, %ecx setle %cl orb %al, %cl testq %r8, %r8 sete %al testq %r9, %r9 sete %dl orb %al, %dl orb %cl, %dl jne 0x7261 movq %r9, %rbx movq (%r9), %rax movq -0x18(%...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<sptk::int24_t>(bool, int, int, int, std::vector<sptk::int24_t, std::allocator<sptk::int24_t>>*, std::istream*, int*)
bool ReadStream(bool zero_padding, int stream_skip, int read_point, int read_size, std::vector<T>* sequence_to_read, std::istream* input_stream, int* actual_read_size) { if (stream_skip < 0 || read_point < 0 || read_size <= 0 || NULL == sequence_to_read || NULL == input_stream ||...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %r12d movl %edx, %r13d movl %edx, %eax orl %esi, %eax sets %al testl %ecx, %ecx setle %cl orb %al, %cl testq %r8, %r8 sete %al testq %r9, %r9 sete %dl orb %al, %dl orb %cl, %dl jne 0x7409 movq %r9, %rbx movq (%r9), %rax movq -0x18(%...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<int>(bool, int, int, int, std::vector<int, std::allocator<int>>*, std::istream*, int*)
bool ReadStream(bool zero_padding, int stream_skip, int read_point, int read_size, std::vector<T>* sequence_to_read, std::istream* input_stream, int* actual_read_size) { if (stream_skip < 0 || read_point < 0 || read_size <= 0 || NULL == sequence_to_read || NULL == input_stream ||...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %r15d movl %edx, %r13d movl %edx, %eax orl %esi, %eax sets %al testl %ecx, %ecx setle %cl orb %al, %cl testq %r8, %r8 sete %al testq %r9, %r9 sete %dl orb %al, %dl orb %cl, %dl jne 0x7586 movq %r9, %rbx movq (%r9), %rax movq -0x18(%...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<unsigned char>(bool, int, int, int, std::vector<unsigned char, std::allocator<unsigned char>>*, std::istream*, int*)
bool ReadStream(bool zero_padding, int stream_skip, int read_point, int read_size, std::vector<T>* sequence_to_read, std::istream* input_stream, int* actual_read_size) { if (stream_skip < 0 || read_point < 0 || read_size <= 0 || NULL == sequence_to_read || NULL == input_stream ||...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %r15d movl %edx, %r13d movl %edx, %eax orl %esi, %eax sets %al testl %ecx, %ecx setle %cl orb %al, %cl testq %r8, %r8 sete %al testq %r9, %r9 sete %dl orb %al, %dl orb %cl, %dl jne 0x782f movq %r9, %rbx movq (%r9), %rax movq -0x18(%...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<unsigned short>(bool, int, int, int, std::vector<unsigned short, std::allocator<unsigned short>>*, std::istream*, int*)
bool ReadStream(bool zero_padding, int stream_skip, int read_point, int read_size, std::vector<T>* sequence_to_read, std::istream* input_stream, int* actual_read_size) { if (stream_skip < 0 || read_point < 0 || read_size <= 0 || NULL == sequence_to_read || NULL == input_stream ||...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %r15d movl %edx, %r13d movl %edx, %eax orl %esi, %eax sets %al testl %ecx, %ecx setle %cl orb %al, %cl testq %r8, %r8 sete %al testq %r9, %r9 sete %dl orb %al, %dl orb %cl, %dl jne 0x7993 movq %r9, %rbx movq (%r9), %rax movq -0x18(%...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<sptk::uint24_t>(bool, int, int, int, std::vector<sptk::uint24_t, std::allocator<sptk::uint24_t>>*, std::istream*, int*)
bool ReadStream(bool zero_padding, int stream_skip, int read_point, int read_size, std::vector<T>* sequence_to_read, std::istream* input_stream, int* actual_read_size) { if (stream_skip < 0 || read_point < 0 || read_size <= 0 || NULL == sequence_to_read || NULL == input_stream ||...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %r12d movl %edx, %r13d movl %edx, %eax orl %esi, %eax sets %al testl %ecx, %ecx setle %cl orb %al, %cl testq %r8, %r8 sete %al testq %r9, %r9 sete %dl orb %al, %dl orb %cl, %dl jne 0x7b3b movq %r9, %rbx movq (%r9), %rax movq -0x18(%...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<unsigned int>(bool, int, int, int, std::vector<unsigned int, std::allocator<unsigned int>>*, std::istream*, int*)
bool ReadStream(bool zero_padding, int stream_skip, int read_point, int read_size, std::vector<T>* sequence_to_read, std::istream* input_stream, int* actual_read_size) { if (stream_skip < 0 || read_point < 0 || read_size <= 0 || NULL == sequence_to_read || NULL == input_stream ||...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %r15d movl %edx, %r13d movl %edx, %eax orl %esi, %eax sets %al testl %ecx, %ecx setle %cl orb %al, %cl testq %r8, %r8 sete %al testq %r9, %r9 sete %dl orb %al, %dl orb %cl, %dl jne 0x7cb8 movq %r9, %rbx movq (%r9), %rax movq -0x18(%...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::ReadStream<unsigned long>(bool, int, int, int, std::vector<unsigned long, std::allocator<unsigned long>>*, std::istream*, int*)
bool ReadStream(bool zero_padding, int stream_skip, int read_point, int read_size, std::vector<T>* sequence_to_read, std::istream* input_stream, int* actual_read_size) { if (stream_skip < 0 || read_point < 0 || read_size <= 0 || NULL == sequence_to_read || NULL == input_stream ||...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %r15d movl %edx, %r13d movl %edx, %eax orl %esi, %eax sets %al testl %ecx, %ecx setle %cl orb %al, %cl testq %r8, %r8 sete %al testq %r9, %r9 sete %dl orb %al, %dl orb %cl, %dl jne 0x7e29 movq %r9, %rbx movq (%r9), %rax movq -0x18(%...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
bool sptk::WriteStream<unsigned short>(int, int, std::vector<unsigned short, std::allocator<unsigned short>> const&, std::ostream*, int*)
bool WriteStream(int write_point, int write_size, const std::vector<T>& sequence_to_write, std::ostream* output_stream, int* actual_write_size) { if (write_point < 0 || write_size <= 0 || NULL == output_stream) { return false; } const int end(write_point + write_size); if ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rcx, %rbx testl %edi, %edi sets %al testl %esi, %esi setle %cl orb %al, %cl testq %rbx, %rbx sete %al orb %cl, %al jne 0x8aa2 movq %rdx, %r12 movl %esi, %r15d movl %edi, %r13d leal (%r15,%r13), %ecx movq (%rdx), %rax movq 0x8(%rdx), %rdx...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
sptk::SymmetricMatrix::CholeskyDecomposition(sptk::SymmetricMatrix*, std::vector<double, std::allocator<double>>*) const
bool SymmetricMatrix::CholeskyDecomposition( SymmetricMatrix* lower_triangular_matrix, std::vector<double>* diagonal_elements) const { if (NULL == lower_triangular_matrix || NULL == diagonal_elements || this == lower_triangular_matrix || 0.0 == index_[0][0]) { return false; } if (lower_triangul...
xorl %eax, %eax cmpq %rsi, %rdi je 0xb7b9 pushq %r15 pushq %r14 pushq %rbx movq %rsi, %rbx testq %rsi, %rsi je 0xb7b4 movq %rdx, %r15 testq %rdx, %rdx je 0xb7b4 movq %rdi, %r14 movq 0x28(%rdi), %rax movq (%rax), %rax movsd (%rax), %xmm0 xorpd %xmm1, %xmm1 ucomisd %xmm1, %xmm0 jne 0xb693 jp 0xb693 xorl %eax, %eax jmp 0x...
/sp-nitech[P]SPTK/src/math/symmetric_matrix.cc
sptk::SymmetricMatrix::Invert(sptk::SymmetricMatrix*) const
bool SymmetricMatrix::Invert(SymmetricMatrix* inverse_matrix) const { if (NULL == inverse_matrix || this == inverse_matrix) { return false; } if (inverse_matrix->num_dimension_ != num_dimension_) { inverse_matrix->Resize(num_dimension_); } SymmetricMatrix lower_triangular_matrix(num_dimension_); s...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp testq %rsi, %rsi sete %al cmpq %rsi, %rdi sete %cl orb %al, %cl je 0xb7e2 xorl %ebp, %ebp jmp 0xb9fb movq %rsi, %rbx movq %rdi, %r15 movl 0x8(%rsi), %esi movl 0x8(%rdi), %eax cmpl %eax, %esi je 0xb800 movq %rbx, %rdi movl %eax, %esi call...
/sp-nitech[P]SPTK/src/math/symmetric_matrix.cc
sptk::SymmetricMatrix::~SymmetricMatrix()
virtual ~SymmetricMatrix() { }
pushq %rbx movq %rdi, %rbx leaq 0x527d(%rip), %rax # 0x10d50 movq %rax, (%rdi) movq 0x28(%rdi), %rdi testq %rdi, %rdi je 0xbae4 callq 0x3290 movq 0x10(%rbx), %rdi testq %rdi, %rdi je 0xbaf3 popq %rbx jmp 0x3290 popq %rbx retq nop
/sp-nitech[P]SPTK/include/SPTK/math/symmetric_matrix.h
stbi_write_bmp
STBIWDEF int stbi_write_bmp(char const *filename, int x, int y, int comp, const void *data) { stbi__write_context s; if (stbi__start_write_file(&s,filename)) { int r = stbi_write_bmp_core(&s, x, y, comp, data); stbi__end_write_file(&s); return r; } else return 0; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %r8, %rbx movl %ecx, %ebp movl %edx, %r14d movl %esi, %r12d leaq 0x1ab7b(%rip), %rsi # 0x307c1 callq 0x15280 movq %rax, %r15 leaq 0x20e0(%rip), %rax # 0x17d35 movq %rax, (%rsp) movq %r15, 0x8(%rsp) testq %r15, %r15 je 0x15c82 movq %rs...
/devkitPro[P]glfw/deps/stb_image_write.h
stbi_write_hdr
int stbi_write_hdr(char const *filename, int x, int y, int comp, const float *data) { stbi__write_context s; if (stbi__start_write_file(&s,filename)) { int r = stbi_write_hdr_core(&s, x, y, comp, (float *) data); stbi__end_write_file(&s); return r; } else return 0; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %r8, %rbx movl %ecx, %ebp movl %edx, %r14d movl %esi, %r12d leaq 0x1a1ba(%rip), %rsi # 0x307c1 callq 0x15280 movq %rax, %r15 leaq 0x171f(%rip), %rax # 0x17d35 movq %rax, (%rsp) movq %r15, 0x8(%rsp) testq %r15, %r15 je 0x16643 movq %rs...
/devkitPro[P]glfw/deps/stb_image_write.h
stbiw__outfile
static int stbiw__outfile(stbi__write_context *s, int rgb_dir, int vdir, int x, int y, int comp, int expand_mono, void *data, int alpha, int pad, const char *fmt, ...) { if (y < 0 || x < 0) { return 0; } else { va_list v; va_start(v, fmt); stbiw__writefv(s, fmt, v); va_end(v); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 testb %al, %al je 0x179c9 movaps %xmm0, 0x80(%rsp) movaps %xmm1, 0x90(%rsp) movaps %xmm2, 0xa0(%rsp) movaps %xmm3, 0xb0(%rsp) movaps %xmm4, 0xc0(%rsp) movaps %xmm5, 0xd0(%rsp) movaps %xmm6, 0xe0(%rsp) movaps %xm...
/devkitPro[P]glfw/deps/stb_image_write.h
stbiw__write_pixel
static void stbiw__write_pixel(stbi__write_context *s, int rgb_dir, int comp, int write_alpha, int expand_mono, unsigned char *d) { unsigned char bg[3] = { 255, 0, 255}, px[3]; int k; if (write_alpha < 0) s->func(s->context, &d[comp - 1], 1); switch (comp) { case 1: s->func(s->context...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x18, %rsp movq %r8, %r14 movl %edx, %ebp movl %esi, %r15d movq %rdi, %rbx leal -0x1(%r15), %eax cmpl $0x3, %eax ja 0x17ca9 leaq 0x18417(%rip), %rdx # 0x30058 movslq (%rdx,%rax,4), %rax addq %rdx, %rax jmpq *%rax testl %ecx, %ecx je 0x17c6e movb (%r14), %al movq (%r...
/devkitPro[P]glfw/deps/stb_image_write.h
glad_gl_has_extension
static int glad_gl_has_extension(int version, const char *exts, unsigned int num_exts_i, char **exts_i, const char *ext) { if(GLAD_VERSION_MAJOR(version) < 3 || !GLAD_GL_IS_SOME_NEW_VERSION) { const char *extensions; const char *loc; const char *terminator; extensions = exts; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %r8, %rbx cmpl $0x7530, %edi # imm = 0x7530 jge 0x1eea7 movq %rsi, %r14 testq %rsi, %rsi sete %al testq %rbx, %rbx sete %cl xorl %ebp, %ebp orb %al, %cl jne 0x1eef8 movq %r14, %rdi movq %rbx, %rsi callq 0x15520 testq %rax, %rax je 0x1eef8 movq %rax, ...
/devkitPro[P]glfw/deps/glad_gl.c
glfwRefreshContextAttribs
GLFWbool _glfwRefreshContextAttribs(_GLFWwindow* window, const _GLFWctxconfig* ctxconfig) { int i; _GLFWwindow* previous; const char* version; const char* prefixes[] = { "OpenGL ES-CM ", "OpenGL ES-CL ", "OpenGL ES ", NULL }; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rsi, %r12 movq %rdi, %r14 movl 0x4(%rsi), %eax movl %eax, 0x1fc(%rdi) movl $0x30001, 0x1f8(%rdi) # imm = 0x30001 movl $0x1fe1c, %edi # imm = 0x1FE1C addq 0x3bcec(%rip), %rdi # 0x5afe8 callq 0x2c7f1 movq %rax, %r15 mo...
/devkitPro[P]glfw/src/context.c
glfwGetVersion
GLFWAPI void glfwGetVersion(int* major, int* minor, int* rev) { if (major != NULL) *major = GLFW_VERSION_MAJOR; if (minor != NULL) *minor = GLFW_VERSION_MINOR; if (rev != NULL) *rev = GLFW_VERSION_REVISION; }
testq %rdi, %rdi je 0x20011 movl $0x3, (%rdi) testq %rsi, %rsi je 0x2001c movl $0x3, (%rsi) testq %rdx, %rdx je 0x20027 movl $0x4, (%rdx) retq
/devkitPro[P]glfw/src/init.c
glfwGetError
GLFWAPI int glfwGetError(const char** description) { _GLFWerror* error; int code = GLFW_NO_ERROR; if (description) *description = NULL; if (_glfw.initialized) error = _glfwPlatformGetTls(&_glfw.errorSlot); else error = &_glfwMainThreadError; if (error) { co...
pushq %rbx movq %rdi, %rbx testq %rdi, %rdi je 0x2003d movq $0x0, (%rbx) leaq 0x3d9fc(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x20063 movl $0x1fe14, %edi # imm = 0x1FE14 addq 0x3af93(%rip), %rdi # 0x5afe8 callq 0x2c7f1 testq %rax, %rax jne 0x2006a xorl %ecx, %ecx jmp 0x20090 leaq 0x5ea4e(%rip), %rax...
/devkitPro[P]glfw/src/init.c
glfwInputKey
void _glfwInputKey(_GLFWwindow* window, int key, int scancode, int action, int mods) { if (key >= 0 && key <= GLFW_KEY_LAST) { GLFWbool repeated = GLFW_FALSE; if (action == GLFW_RELEASE && window->keys[key] == GLFW_RELEASE) return; if (action == GLFW_PRESS && window->keys[k...
cmpl $0x15c, %esi # imm = 0x15C ja 0x200f1 movl %esi, %eax cmpl $0x1, %ecx je 0x200d1 testl %ecx, %ecx jne 0x200ea cmpb $0x0, 0x80(%rdi,%rax) je 0x20116 cmpl $0x0, 0x68(%rdi) je 0x20117 movb $0x3, 0x80(%rdi,%rax) jmp 0x200f1 cmpb $0x1, 0x80(%rdi,%rax) movb $0x1, 0x80(%rdi,%rax) movl $0x2, %eax jne 0x200f1 jm...
/devkitPro[P]glfw/src/input.c
glfwInputChar
void _glfwInputChar(_GLFWwindow* window, unsigned int codepoint, int mods, GLFWbool plain) { if (codepoint < 32 || (codepoint > 126 && codepoint < 160)) return; if (!window->lockKeyMods) mods &= ~(GLFW_MOD_CAPS_LOCK | GLFW_MOD_NUM_LOCK); if (window->callbacks.charmods) window->call...
pushq %rbp pushq %r14 pushq %rbx movl %ecx, %ebp movl %esi, %ebx cmpl $0x20, %esi setb %al leal -0x7f(%rbx), %ecx cmpl $0x21, %ecx setb %cl orb %al, %cl jne 0x2017c movq %rdi, %r14 movq 0x330(%rdi), %rcx testq %rcx, %rcx je 0x20161 movl %edx, %eax andl $-0x31, %eax cmpl $0x0, 0x70(%r14) cmovnel %edx, %eax movq %r14, %r...
/devkitPro[P]glfw/src/input.c
glfwInputMouseClick
void _glfwInputMouseClick(_GLFWwindow* window, int button, int action, int mods) { if (button < 0 || button > GLFW_MOUSE_BUTTON_LAST) return; if (!window->lockKeyMods) mods &= ~(GLFW_MOD_CAPS_LOCK | GLFW_MOD_NUM_LOCK); if (action == GLFW_RELEASE && window->stickyMouseButtons) windo...
cmpl $0x7, %esi ja 0x201c7 movl %ecx, %eax andl $-0x31, %ecx cmpl $0x0, 0x70(%rdi) cmovnel %eax, %ecx testl %edx, %edx je 0x201a9 movl %edx, %eax jmp 0x201b1 movb $0x3, %al cmpl $0x0, 0x6c(%rdi) je 0x201a5 movl %esi, %r8d movb %al, 0x78(%rdi,%r8) movq 0x300(%rdi), %rax testq %rax, %rax je 0x201c7 jmpq *%rax retq
/devkitPro[P]glfw/src/input.c
glfwInputCursorPos
void _glfwInputCursorPos(_GLFWwindow* window, double xpos, double ypos) { if (window->virtualCursorPosX == xpos && window->virtualCursorPosY == ypos) return; window->virtualCursorPosX = xpos; window->virtualCursorPosY = ypos; if (window->callbacks.cursorPos) window->callbacks.cursorPos...
movsd 0x1e0(%rdi), %xmm2 ucomisd %xmm0, %xmm2 jne 0x201e8 jp 0x201e8 movsd 0x1e8(%rdi), %xmm2 ucomisd %xmm1, %xmm2 jne 0x201e8 jnp 0x20206 movsd %xmm0, 0x1e0(%rdi) movsd %xmm1, 0x1e8(%rdi) movq 0x308(%rdi), %rax testq %rax, %rax je 0x20206 jmpq *%rax retq
/devkitPro[P]glfw/src/input.c
glfwAllocJoystick
_GLFWjoystick* _glfwAllocJoystick(const char* name, const char* guid, int axisCount, int buttonCount, int hatCount) { int jid; _GLFWjoystick* js; for (jid = 0; jid <= GLF...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r8d, %ebp movl %ecx, %r15d movl %edx, %r12d movq %rsi, %r14 movl $0x408, %ebx # imm = 0x408 addq 0x3ad01(%rip), %rbx # 0x5afe8 movl $0x10, %eax cmpl $0x0, (%rbx) je 0x20301 addq $0x1fa0, %rbx # imm = 0x1FA0 decq ...
/devkitPro[P]glfw/src/input.c
findValidMapping
static _GLFWmapping* findValidMapping(const _GLFWjoystick* js) { _GLFWmapping* mapping = findMapping(js->guid); if (mapping) { int i; for (i = 0; i <= GLFW_GAMEPAD_BUTTON_LAST; i++) { if (!isValidElementForJoystick(mapping->buttons + i, js)) { ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdi, %r14 addq $0x48, %rdi callq 0x21eb7 testq %rax, %rax je 0x2041a movq %rax, %rbx movl $0xa1, %r12d leaq 0x2f4aa(%rip), %r15 # 0x4f862 leaq (%rbx,%r12), %rdi movq %r14, %rsi callq 0x22504 testl %eax, %eax je 0x20401 addq $0x4, %r12 cmpq $0xdd, %r12 jne...
/devkitPro[P]glfw/src/input.c
glfwGetInputMode
GLFWAPI int glfwGetInputMode(GLFWwindow* handle, int mode) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); _GLFW_REQUIRE_INIT_OR_RETURN(0); switch (mode) { case GLFW_CURSOR: return window->cursorMode; case GLFW_STICKY_KEYS: return wind...
pushq %rbx testq %rdi, %rdi je 0x20526 leaq 0x3d583(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x204e4 movl %esi, %edx leal -0x33001(%rdx), %eax cmpl $0x4, %eax ja 0x2050d leaq 0x2eb42(%rip), %rcx # 0x4f018 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movl 0x74(%rdi), %ebx jmp 0x20522 xorl %ebx, %ebx m...
/devkitPro[P]glfw/src/input.c
glfwSetInputMode
GLFWAPI void glfwSetInputMode(GLFWwindow* handle, int mode, int value) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); _GLFW_REQUIRE_INIT(); if (mode == GLFW_CURSOR) { if (value != GLFW_CURSOR_NORMAL && value != GLFW_CURSOR_HIDDEN && value != ...
pushq %r14 pushq %rbx pushq %rax testq %rdi, %rdi je 0x207dd leaq 0x3d4e7(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x205a9 movl %edx, %r14d movl %esi, %edx leal -0x33001(%rdx), %eax cmpl $0x4, %eax ja 0x20778 movq %rdi, %rbx leaq 0x2eab0(%rip), %rcx # 0x4f02c movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%...
/devkitPro[P]glfw/src/input.c
glfwGetKeyName
GLFWAPI const char* glfwGetKeyName(int key, int scancode) { _GLFW_REQUIRE_INIT_OR_RETURN(NULL); if (key != GLFW_KEY_UNKNOWN) { if (key != GLFW_KEY_KP_EQUAL && (key < GLFW_KEY_KP_0 || key > GLFW_KEY_KP_ADD) && (key < GLFW_KEY_APOSTROPHE || key > GLFW_KEY_WORLD_2)) { ...
pushq %rax leaq 0x3d219(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x20864 cmpl $-0x1, %edi je 0x2085c cmpl $0x150, %edi # imm = 0x150 je 0x20855 leal -0x14f(%rdi), %eax cmpl $-0xf, %eax setb %al leal -0xa3(%rdi), %ecx cmpl $-0x7c, %ecx setb %cl testb %cl, %al jne 0x20872 callq 0x2bc52 movl %eax, %esi mo...
/devkitPro[P]glfw/src/input.c
glfwGetKey
GLFWAPI int glfwGetKey(GLFWwindow* handle, int key) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); _GLFW_REQUIRE_INIT_OR_RETURN(GLFW_RELEASE); if (key < GLFW_KEY_SPACE || key > GLFW_KEY_LAST) { _glfwInputError(GLFW_INVALID_ENUM, "Invalid key %i", key); retur...
pushq %rbx testq %rdi, %rdi je 0x20932 leaq 0x3d16b(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x20900 movl %esi, %edx leal -0x15d(%rdx), %eax cmpl $0xfffffec2, %eax # imm = 0xFFFFFEC2 ja 0x20912 leaq 0x2e924(%rip), %rsi # 0x4f214 xorl %ebx, %ebx movl $0x10003, %edi # imm = 0x10003 xorl %eax, %ea...
/devkitPro[P]glfw/src/input.c
glfwGetMouseButton
GLFWAPI int glfwGetMouseButton(GLFWwindow* handle, int button) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); _GLFW_REQUIRE_INIT_OR_RETURN(GLFW_RELEASE); if (button < GLFW_MOUSE_BUTTON_1 || button > GLFW_MOUSE_BUTTON_LAST) { _glfwInputError(GLFW_INVALID_ENUM, "Inval...
pushq %rbx testq %rdi, %rdi je 0x209ad leaq 0x3d0e2(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x20981 movl %esi, %edx cmpl $0x8, %esi jb 0x20993 leaq 0x2e8fe(%rip), %rsi # 0x4f26f xorl %ebx, %ebx movl $0x10003, %edi # imm = 0x10003 xorl %eax, %eax callq 0x1fa59 jmp 0x209a9 xorl %ebx, %ebx movl $0x1000...
/devkitPro[P]glfw/src/input.c
glfwDestroyCursor
GLFWAPI void glfwDestroyCursor(GLFWcursor* handle) { _GLFWcursor* cursor = (_GLFWcursor*) handle; _GLFW_REQUIRE_INIT(); if (cursor == NULL) return; // Make sure the cursor is not being used by any window { _GLFWwindow* window; for (window = _glfw.windowListHead; window; ...
pushq %r14 pushq %rbx pushq %rax leaq 0x3ce4a(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x20c58 movq %rdi, %rbx testq %rdi, %rdi je 0x20c6d movq 0x3f0(%rax), %r14 testq %r14, %r14 je 0x20c24 cmpq %rbx, 0x48(%r14) jne 0x20c1f movq %r14, %rdi xorl %esi, %esi callq 0x20d07 movq (%r14), %r14 jmp 0x20c0a movq %rbx, %rd...
/devkitPro[P]glfw/src/input.c
glfwCreateStandardCursor
GLFWAPI GLFWcursor* glfwCreateStandardCursor(int shape) { _GLFWcursor* cursor; _GLFW_REQUIRE_INIT_OR_RETURN(NULL); if (shape != GLFW_ARROW_CURSOR && shape != GLFW_IBEAM_CURSOR && shape != GLFW_CROSSHAIR_CURSOR && shape != GLFW_HAND_CURSOR && shape != GLFW_HRESIZE_CURSOR && ...
pushq %r15 pushq %r14 pushq %rbx leaq 0x3cdbf(%rip), %r15 # 0x5da40 cmpl $0x0, (%r15) je 0x20cb0 movl %edi, %r14d leal -0x36007(%r14), %eax cmpl $-0x7, %eax ja 0x20cc2 leaq 0x2e6bc(%rip), %rsi # 0x4f359 xorl %ebx, %ebx movl $0x10003, %edi # imm = 0x10003 movl %r14d, %edx xorl %eax, %eax callq 0x1fa59 j...
/devkitPro[P]glfw/src/input.c
glfwSetCursor
GLFWAPI void glfwSetCursor(GLFWwindow* windowHandle, GLFWcursor* cursorHandle) { _GLFWwindow* window = (_GLFWwindow*) windowHandle; _GLFWcursor* cursor = (_GLFWcursor*) cursorHandle; assert(window != NULL); _GLFW_REQUIRE_INIT(); window->cursor = cursor; _glfwPlatformSetCursor(window, cursor);...
testq %rdi, %rdi je 0x20d2f leaq 0x3cd2d(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x20d21 movq %rsi, 0x48(%rdi) jmp 0x2bd00 movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax jmp 0x1fa59 pushq %rax leaq 0x12f4e(%rip), %rdi # 0x33c85 leaq 0x2e3c6(%rip), %rsi # 0x4f104 leaq 0x2e633...
/devkitPro[P]glfw/src/input.c
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 %rax testl %edi, %edi js 0x2104d cmpl $0x10, %edi jae 0x2106c leaq 0x3ca30(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x2103b movl %edi, %ecx imulq $0x1fa0, %rcx, %rcx # imm = 0x1FA0 cmpl $0x0, 0x408(%rax,%rcx) je 0x21049 leaq (%rax,%rcx), %rdi addq $0x408, %rdi # imm = 0x408 xorl %esi, %esi po...
/devkitPro[P]glfw/src/input.c
glfwGetJoystickAxes
GLFWAPI const float* glfwGetJoystickAxes(int jid, int* count) { _GLFWjoystick* js; assert(jid >= GLFW_JOYSTICK_1); assert(jid <= GLFW_JOYSTICK_LAST); assert(count != NULL); *count = 0; _GLFW_REQUIRE_INIT_OR_RETURN(NULL); if (jid < 0 || jid > GLFW_JOYSTICK_LAST) { _glfwInputEr...
pushq %r14 pushq %rbx pushq %rax testl %edi, %edi js 0x21118 cmpl $0x10, %edi jae 0x21137 movq %rsi, %rbx testq %rsi, %rsi je 0x21156 movl $0x0, (%rbx) leaq 0x3c987(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x210fd movl %edi, %ecx imulq $0x1fa0, %rcx, %rcx # imm = 0x1FA0 cmpl $0x0, 0x408(%rax,%rcx) je 0x210f9 ...
/devkitPro[P]glfw/src/input.c
glfwGetJoystickButtons
char* glfwGetJoystickButtons(int jid, int* count) { _GLFWjoystick* js; assert(jid >= GLFW_JOYSTICK_1); assert(jid <= GLFW_JOYSTICK_LAST); assert(count != NULL); *count = 0; _GLFW_REQUIRE_INIT_OR_RETURN(NULL); if (jid < 0 || jid > GLFW_JOYSTICK_LAST) { _glfwInputError(GLFW_INV...
pushq %r15 pushq %r14 pushq %rbx testl %edi, %edi js 0x21211 cmpl $0x10, %edi jae 0x21230 movq %rsi, %rbx testq %rsi, %rsi je 0x2124f movl $0x0, (%rbx) leaq 0x3c89c(%rip), %r15 # 0x5da40 cmpl $0x0, (%r15) je 0x211f8 movl %edi, %eax imulq $0x1fa0, %rax, %rax # imm = 0x1FA0 cmpl $0x0, 0x408(%r15,%rax) je 0x211f4 ...
/devkitPro[P]glfw/src/input.c
glfwGetJoystickGUID
GLFWAPI const char* glfwGetJoystickGUID(int jid) { _GLFWjoystick* js; assert(jid >= GLFW_JOYSTICK_1); assert(jid <= GLFW_JOYSTICK_LAST); _GLFW_REQUIRE_INIT_OR_RETURN(NULL); if (jid < 0 || jid > GLFW_JOYSTICK_LAST) { _glfwInputError(GLFW_INVALID_ENUM, "Invalid joystick ID %i", jid); ...
pushq %r14 pushq %rbx pushq %rax testl %edi, %edi js 0x21474 cmpl $0x10, %edi jae 0x21493 leaq 0x3c626(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x21455 movl %edi, %ecx imulq $0x1fa0, %rcx, %rcx # imm = 0x1FA0 cmpl $0x0, 0x408(%rax,%rcx) je 0x21467 leaq (%rax,%rcx), %r14 addq $0x408, %r14 # imm = 0x...
/devkitPro[P]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 %rax testl %edi, %edi js 0x214f9 cmpl $0x10, %edi jae 0x21518 leaq 0x3c57d(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x214ea movl %edi, %ecx imulq $0x1fa0, %rcx, %rcx # imm = 0x1FA0 cmpl $0x0, 0x408(%rax,%rcx) je 0x214e8 addq %rcx, %rax addq $0x408, %rax # imm = 0x408 movq %rsi, 0x40(%rax) pop...
/devkitPro[P]glfw/src/input.c
glfwGetJoystickUserPointer
GLFWAPI void* glfwGetJoystickUserPointer(int jid) { _GLFWjoystick* js; assert(jid >= GLFW_JOYSTICK_1); assert(jid <= GLFW_JOYSTICK_LAST); _GLFW_REQUIRE_INIT_OR_RETURN(NULL); js = _glfw.joysticks + jid; if (!js->present) return NULL; return js->userPointer; }
pushq %rbx testl %edi, %edi js 0x21588 cmpl $0x10, %edi jae 0x215a7 leaq 0x3c4f8(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x2156f movl %edi, %ecx imulq $0x1fa0, %rcx, %rcx # imm = 0x1FA0 cmpl $0x0, 0x408(%rax,%rcx) je 0x21581 addq %rcx, %rax addq $0x408, %rax # imm = 0x408 movq 0x40(%rax), %rbx jmp...
/devkitPro[P]glfw/src/input.c
glfwGetGammaRamp
GLFWAPI const GLFWgammaramp* glfwGetGammaRamp(GLFWmonitor* handle) { _GLFWmonitor* monitor = (_GLFWmonitor*) handle; assert(monitor != NULL); _GLFW_REQUIRE_INIT_OR_RETURN(NULL); _glfwFreeGammaArrays(&monitor->currentRamp); if (!_glfwPlatformGetGammaRamp(monitor, &monitor->currentRamp)) ret...
pushq %r14 pushq %rbx pushq %rax testq %rdi, %rdi je 0x23029 leaq 0x3aa5b(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x2300e movq %rdi, %rbx leaq 0x68(%rdi), %r14 movq %r14, %rdi callq 0x22781 movq %rbx, %rdi movq %r14, %rsi callq 0x27a65 xorl %ebx, %ebx testl %eax, %eax cmovneq %r14, %rbx jmp 0x2301e xorl %ebx, %e...
/devkitPro[P]glfw/src/monitor.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 pushq %r14 pushq %rbx movl %esi, %ebp movq %rdi, %rbx movq 0x2d8(%rdi), %rax testq %rax, %rax je 0x23844 movq %rbx, %rdi movl %ebp, %esi callq *%rax testl %ebp, %ebp jne 0x2389f xorl %r14d, %r14d cmpb $0x1, 0x80(%rbx,%r14) jne 0x23870 movl %r14d, %edi callq 0x2bc52 movq %rbx, %rdi movl %r14d, %esi movl %eax,...
/devkitPro[P]glfw/src/window.c
glfwWindowHint
GLFWAPI void glfwWindowHint(int hint, int value) { _GLFW_REQUIRE_INIT(); switch (hint) { case GLFW_RED_BITS: _glfw.hints.framebuffer.redBits = value; return; case GLFW_GREEN_BITS: _glfw.hints.framebuffer.greenBits = value; return; case...
leaq 0x39d50(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x23d1e movl %edi, %edx cmpl $0x22000, %edi # imm = 0x22000 jg 0x23d2c leal -0x21001(%rdx), %ecx cmpl $0xf, %ecx ja 0x23d4e leaq 0x2c8ff(%rip), %rdx # 0x50610 movslq (%rdx,%rcx,4), %rcx addq %rdx, %rcx jmpq *%rcx movl %esi, 0x18(%rax) retq movl $0...
/devkitPro[P]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...
testq %rsi, %rsi je 0x23f57 leaq 0x39b4d(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x23f19 movl %edi, %edx cmpl $0x24002, %edi # imm = 0x24002 je 0x23f2e cmpl $0x24001, %edx # imm = 0x24001 je 0x23f27 cmpl $0x23002, %edx # imm = 0x23002 jne 0x23f44 movl $0x9c, %edi jmp 0x23f33 movl $0x10...
/devkitPro[P]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); }
testq %rdi, %rdi je 0x241e2 testq %rsi, %rsi je 0x241b8 movl $0x0, (%rsi) testq %rdx, %rdx je 0x241c3 movl $0x0, (%rdx) leaq 0x39876(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x241d4 jmp 0x293a7 movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax jmp 0x1fa59 pushq %rax leaq 0xfa9b(%rip), %...
/devkitPro[P]glfw/src/window.c
glfwGetFramebufferSize
GLFWAPI void glfwGetFramebufferSize(GLFWwindow* handle, int* width, int* height) { _GLFWwindow* window = (_GLFWwindow*) handle; assert(window != NULL); if (width) *width = 0; if (height) *height = 0; _GLFW_REQUIRE_INIT(); _glfwPlatformGetFramebufferSize(window, width, height); ...
testq %rdi, %rdi je 0x2448f testq %rsi, %rsi je 0x24465 movl $0x0, (%rsi) testq %rdx, %rdx je 0x24470 movl $0x0, (%rdx) leaq 0x395c9(%rip), %rax # 0x5da40 cmpl $0x0, (%rax) je 0x24481 jmp 0x2960a movl $0x10001, %edi # imm = 0x10001 xorl %esi, %esi xorl %eax, %eax jmp 0x1fa59 pushq %rax leaq 0xf7ee(%rip), %...
/devkitPro[P]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...
testq %rdi, %rdi je 0x24a9e leaq 0x39036(%rip), %rcx # 0x5da40 cmpl $0x0, (%rcx) je 0x24a4a movl %esi, %eax xorl %esi, %esi testl %edx, %edx setne %dl leal -0x20003(%rax), %ecx cmpl $0x9, %ecx ja 0x24a58 movb %dl, %sil leaq 0x2bcaf(%rip), %rdx # 0x506dc movslq (%rdx,%rcx,4), %rcx addq %rdx, %rcx jmpq *%rcx cmpl...
/devkitPro[P]glfw/src/window.c
handleSelectionRequest
static void handleSelectionRequest(XEvent* event) { const XSelectionRequestEvent* request = &event->xselectionrequest; XEvent reply = { SelectionNotify }; reply.xselection.property = writeTargetToProperty(request); reply.xselection.display = request->display; reply.xselection.requestor = request->r...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x128, %rsp # imm = 0x128 movq %rdi, %rbp leaq 0x68(%rsp), %r14 xorl %r12d, %r12d movl $0xc0, %edx movq %r14, %rdi xorl %esi, %esi callq 0x150f0 movl $0x1f, (%r14) leaq 0x35b51(%rip), %r13 # 0x5da40 movq 0x30(%rbp), %rcx movq 0x40(%r...
/devkitPro[P]glfw/src/x11_window.c
glfwPlatformSetWindowSize
void _glfwPlatformSetWindowSize(_GLFWwindow* window, int width, int height) { if (window->monitor) { if (window->monitor->window == window) acquireMonitor(window); } else { if (!window->resizable) updateNormalHints(window, width, height); XResizeWindo...
pushq %rbp pushq %r14 pushq %rbx movq %rdi, %r14 movq 0x40(%rdi), %rax testq %rax, %rax je 0x29419 cmpq %r14, 0x18(%rax) jne 0x2944e movq %r14, %rdi callq 0x28da0 jmp 0x2944e movl %edx, %ebx movl %esi, %ebp cmpl $0x0, 0x8(%r14) jne 0x29430 movq %r14, %rdi movl %ebp, %esi movl %ebx, %edx callq 0x29465 leaq 0x34609(%rip)...
/devkitPro[P]glfw/src/x11_window.c
glfwPlatformSetWindowSizeLimits
void _glfwPlatformSetWindowSizeLimits(_GLFWwindow* window, int minwidth, int minheight, int maxwidth, int maxheight) { int width, height; _glfwPlatformGetWindowSize(window, &width, &height); updateNormalHints(window, width, height);...
pushq %r15 pushq %r14 pushq %rbx subq $0x90, %rsp movq %rdi, %rbx leaq 0x344d4(%rip), %r15 # 0x5da40 movq 0x1fec0(%r15), %rdi movq 0x348(%rbx), %rsi leaq 0x8(%rsp), %r14 movq %r14, %rdx callq 0x15890 movl 0x8(%r14), %esi movl 0xc(%r14), %edx movq %rbx, %rdi callq 0x29465 movq 0x1fec0(%r15), %rdi callq 0x15660 addq ...
/devkitPro[P]glfw/src/x11_window.c
glfwPlatformGetWindowFrameSize
void _glfwPlatformGetWindowFrameSize(_GLFWwindow* window, int* left, int* top, int* right, int* bottom) { long* extents = NULL; if (window->monitor || !window->decorated) return; if (_glfw.x11.NET_FRAME_EXTENTS == None) ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1b8, %rsp # imm = 0x1B8 movq $0x0, (%rsp) cmpq $0x0, 0x40(%rdi) je 0x29641 addq $0x1b8, %rsp # imm = 0x1B8 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq movq %rdi, %rbp cmpl $0x0, 0xc(%rdi) je 0x2962f leaq...
/devkitPro[P]glfw/src/x11_window.c
glfwPlatformSetWindowMonitor
void _glfwPlatformSetWindowMonitor(_GLFWwindow* window, _GLFWmonitor* monitor, int xpos, int ypos, int width, int height, int refreshRate) { if (window->monitor == monitor) ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movl %r9d, %ebp movl %r8d, %r14d movl %ecx, %r15d movl %edx, %r12d movq %rsi, %r13 movq %rdi, %rbx movq 0x40(%rdi), %rax cmpq %rsi, %rax je 0x29efc testq %rax, %rax je 0x29e89 movl 0xc(%rbx), %esi movq %rbx, %rdi callq 0x29fc8 movl 0x14(...
/devkitPro[P]glfw/src/x11_window.c
glfwPlatformWindowMaximized
int _glfwPlatformWindowMaximized(_GLFWwindow* window) { Atom* states; unsigned long i; GLFWbool maximized = GLFW_FALSE; if (!_glfw.x11.NET_WM_STATE || !_glfw.x11.NET_WM_STATE_MAXIMIZED_VERT || !_glfw.x11.NET_WM_STATE_MAXIMIZED_HORZ) { return maximized; } const unsig...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp leaq 0x3371d(%rip), %r14 # 0x5da40 movq 0x20b20(%r14), %rdx xorl %ebx, %ebx testq %rdx, %rdx je 0x2a3e2 cmpq $0x0, 0x20b38(%r14) je 0x2a3e2 cmpq $0x0, 0x20b40(%r14) je 0x2a3e2 movq 0x348(%rdi), %rsi movq 0x1fec0(%r14), %rdi leaq 0x8(%rsp), %r15 leaq 0x10(...
/devkitPro[P]glfw/src/x11_window.c
parseUriList
static char** parseUriList(char* text, int* count) { const char* prefix = "file://"; char** paths = NULL; char* line; *count = 0; while ((line = strtok(text, "\r\n"))) { text = NULL; if (line[0] == '#') continue; if (strncmp(line, prefix, strlen(prefix)) =...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rsi, %r12 movl $0x0, (%rsi) xorl %r15d, %r15d leaq 0x232fd(%rip), %r14 # 0x4f795 leaq 0x26084(%rip), %rbx # 0x52523 leaq 0xd(%rsp), %r13 movq %r14, %rsi callq 0x15780 testq %rax, %rax je 0x2c58d movq %rax, %rbp cmpb $0x23, ...
/devkitPro[P]glfw/src/x11_window.c
extensionSupportedGLX
static int extensionSupportedGLX(const char* extension) { const char* extensions = glXQueryExtensionsString(_glfw.x11.display, _glfw.x11.screen); if (extensions) { if (_glfwStringInExtensionString(extension, extensions)) return GLFW_TRUE; } return GLFW_FALSE; }
pushq %rbx movq %rdi, %rbx leaq 0x30c0c(%rip), %rax # 0x5da40 movq 0x1fec0(%rax), %rdi movl 0x1fec8(%rax), %esi callq *0x20eb0(%rax) testq %rax, %rax je 0x2ce62 movq %rbx, %rdi movq %rax, %rsi callq 0x1f851 movl %eax, %ecx movl $0x1, %eax testl %ecx, %ecx jne 0x2ce64 xorl %eax, %eax popq %rbx retq
/devkitPro[P]glfw/src/glx_context.c
main
extern int main(int argc, char *argv[]) { const char *pname, *sourcePath, *destPath, *inFilename, *outFilename, *outComment; char outType; UBool isHelp, isModified, isPackage; int result = 0; Package *pkg, *listPkg, *addListPkg; U_MAIN_INIT_ARGS(argc, argv); /* get the program basename */...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x438, %rsp # imm = 0x438 movq %rsi, %rbp movl %edi, %ebx movq (%rsi), %rdi callq 0xf106e movq %rax, %r15 leaq 0x1fdbcc(%rip), %rcx # 0x2ea330 pushq $0x11 popq %rdx movl %ebx, %edi movq %rbp, %rsi callq 0xf12c8 movl %eax, %r13d movb 0...
/hunter-packages[P]icu/source/tools/icupkg/icupkg.cpp
T_FileStream_size
U_CAPI int32_t U_EXPORT2 T_FileStream_size(FileStream* fileStream) { int32_t savedPos = ftell((FILE*)fileStream); int32_t size = 0; /*Changes by Bertrand A. D. doesn't affect the current position goes to the end of the file before ftell*/ fseek((FILE*)fileStream, 0, SEEK_END); size = (int32_t)f...
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx callq 0xec030 movq %rax, %r14 pushq $0x2 popq %rdx movq %rbx, %rdi xorl %esi, %esi callq 0xec360 movq %rbx, %rdi callq 0xec030 movq %rax, %r15 movslq %r14d, %rsi movq %rbx, %rdi xorl %edx, %edx callq 0xec360 movl %r15d, %eax popq %rbx popq %r14 popq %r15 retq
/hunter-packages[P]icu/source/tools/toolutil/filestrm.cpp
icu_63::Package::~Package()
Package::~Package() { int32_t idx; uprv_free(inData); for(idx=0; idx<itemCount; ++idx) { if(items[idx].isDataOwned) { uprv_free(items[idx].data); } } uprv_free((void*)items); }
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movq 0x80(%rdi), %rdi callq 0x180359 pushq $0x14 popq %r14 xorl %r15d, %r15d movslq 0x494(%rbx), %rax movq 0x4a0(%rbx), %rdi cmpq %rax, %r15 jge 0xed28a cmpb $0x0, (%rdi,%r14) je 0xed281 movq -0xc(%rdi,%r14), %rdi callq 0x180359 incq %r15 addq $0x18, %r14 jmp 0xed25d cal...
/hunter-packages[P]icu/source/tools/toolutil/package.cpp
extractPackageName(char const*, char*, int)
static void extractPackageName(const char *filename, char pkg[], int32_t capacity) { const char *basename; int32_t len; basename=findBasename(filename); len=(int32_t)strlen(basename)-4; /* -4: subtract the length of ".dat" */ if(len<=0 || 0!=strcmp(basename+len, ".dat")) { ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 callq 0xf106e movq %rax, %rbx movq %rax, %rdi callq 0xec160 movq %rax, %r12 cmpl $0x5, %r12d jl 0xeda78 movl %r12d, %r15d addl $-0x4, %r15d movq %rbx, %rdi addq %r15, %rdi leaq 0x115708(%rip), %rsi # 0x203152 callq 0xec460 testl %eax, %eax jne 0x...
/hunter-packages[P]icu/source/tools/toolutil/package.cpp
icu_63::Package::setItemCapacity(int)
void Package::setItemCapacity(int32_t max) { if(max<=itemMax) { return; } Item *newItems = (Item*)uprv_malloc(max * sizeof(items[0])); Item *oldItems = items; if(newItems == NULL) { fprintf(stderr, "icupkg: Out of memory trying to allocate %lu bytes for %d items\n", (unsigned long)(max*sizeof(...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax cmpl %esi, 0x498(%rdi) jge 0xedd3e movl %esi, %ebx movq %rdi, %r14 movslq %esi, %rax imulq $0x18, %rax, %r12 movq %r12, %rdi callq 0x1802c4 testq %rax, %rax je 0xedd4a movq %rax, %r15 movq 0x4a0(%r14), %r12 testq %r12, %r12 je 0xedd1d movslq 0x494(%r14), %rax testq...
/hunter-packages[P]icu/source/tools/toolutil/package.cpp
decShiftToLeast(unsigned char*, int, int)
static Int decShiftToLeast(Unit *uar, Int units, Int shift) { Unit *target, *up; /* work */ Int cut, count; /* work */ Int quot, rem; /* for division */ if (shift==0) return units; /* [fastpath] nothing to do */ if (shift==units*DECDPUN) { /* [fa...
movl %esi, %eax testl %edx, %edx je 0x14dfed movl %edx, %ecx movl %eax, %edx subl %ecx, %edx jne 0x14dfee movb $0x0, (%rdi) movl $0x1, %eax retq pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx cmpl $0x31, %ecx jg 0x14e018 movslq %ecx, %r8 leaq 0xbf93b(%rip), %rsi # 0x20d940 movzbl (%r8,%rsi), %ebx leaq -0x1(...
/hunter-packages[P]icu/source/i18n/decNumber.cpp
decApplyRound(decNumber*, decContext*, int, unsigned int*)
static void decApplyRound(decNumber *dn, decContext *set, Int residue, uInt *status) { Int bump; /* 1 if coefficient needs to be incremented */ /* -1 if coefficient needs to be decremented */ if (residue==0) return; /* nothing to apply...
testl %edx, %edx je 0x14f21e movl 0xc(%rsi), %eax cmpq $0x7, %rax ja 0x14f311 leaq 0xbe6c1(%rip), %r8 # 0x20d8c8 movslq (%r8,%rax,4), %rax addq %r8, %rax jmpq *%rax cmpb $0x0, 0x8(%rdi) js 0x14f2e5 testl %edx, %edx jg 0x14f26c retq cmpl $0x5, %edx jg 0x14f26c jne 0x14f21e testb $0x1, 0x9(%rdi) je 0x14f21e jmp 0x14...
/hunter-packages[P]icu/source/i18n/decNumber.cpp
icu_63::StringPiece::StringPiece(char const*)
StringPiece::StringPiece(const StringPiece& x, int32_t pos) { if (pos < 0) { pos = 0; } else if (pos > x.length_) { pos = x.length_; } ptr_ = x.ptr_ + pos; length_ = x.length_ - pos; }
pushq %rbx movq %rdi, %rbx movq %rsi, (%rdi) testq %rsi, %rsi je 0x19e812 movq %rsi, %rdi callq 0xec160 jmp 0x19e814 xorl %eax, %eax movl %eax, 0x8(%rbx) popq %rbx retq nop
/hunter-packages[P]icu/source/common/stringpiece.cpp