name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
VPLGrammar::Parser::AdditiveExpressionNode::GetType() const
virtual void BuildProgram(vpl::Scope* scope, std::ostream& out) const override { children_[0]->BuildProgram(scope, out); for (size_t i = 2; i < children_.size(); i += 2) { children_[i]->BuildProgram(scope, out); out << " "; s...
pushq $0x27 popq %rax retq
/ogorodnikoff2012[P]ded2018-VPL/include/vpl_grammar.h
VPLGrammar::Parser::AdditiveExpressionNode::GetName() const
virtual void BuildProgram(vpl::Scope* scope, std::ostream& out) const override { children_[0]->BuildProgram(scope, out); for (size_t i = 2; i < children_.size(); i += 2) { children_[i]->BuildProgram(scope, out); out << " "; s...
leaq 0x819f(%rip), %rax # 0x27758 retq
/ogorodnikoff2012[P]ded2018-VPL/include/vpl_grammar.h
VPLGrammar::Parser::AdditiveExpressionNode::BuildProgram(vpl::Scope*, std::ostream&) const
virtual void BuildProgram(vpl::Scope* scope, std::ostream& out) const override { children_[0]->BuildProgram(scope, out); for (size_t i = 2; i < children_.size(); i += 2) { children_[i]->BuildProgram(scope, out); out << " "; s...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq 0x8(%rdi), %rax movq (%rax), %rdi movq (%rdi), %rax callq *0x28(%rax) pushq $0x2 popq %r13 leaq 0x7e26(%rip), %r12 # 0x2740c pushq $0xa popq %rbp movq 0x8(%r15), %rax movq 0x10(%r15), %...
/ogorodnikoff2012[P]ded2018-VPL/include/vpl_grammar.h
VPLGrammar::Parser::MultiplicativeExpressionNode::~MultiplicativeExpressionNode()
virtual void BuildProgram(vpl::Scope* scope, std::ostream& out) const override { children_[0]->BuildProgram(scope, out); for (size_t i = 2; i < children_.size(); i += 2) { children_[i]->BuildProgram(scope, out); out << " "; s...
pushq %rbx movq %rdi, %rbx callq 0x2591e pushq $0x38 popq %rsi movq %rbx, %rdi popq %rbx jmp 0x9310 nop
/ogorodnikoff2012[P]ded2018-VPL/include/vpl_grammar.h
VPLGrammar::Parser::MultiplicativeExpressionNode::GetType() const
virtual void BuildProgram(vpl::Scope* scope, std::ostream& out) const override { children_[0]->BuildProgram(scope, out); for (size_t i = 2; i < children_.size(); i += 2) { children_[i]->BuildProgram(scope, out); out << " "; s...
pushq $0x28 popq %rax retq
/ogorodnikoff2012[P]ded2018-VPL/include/vpl_grammar.h
VPLGrammar::Parser::MultiplicativeExpressionNode::GetName() const
virtual void BuildProgram(vpl::Scope* scope, std::ostream& out) const override { children_[0]->BuildProgram(scope, out); for (size_t i = 2; i < children_.size(); i += 2) { children_[i]->BuildProgram(scope, out); out << " "; s...
leaq 0x77ad(%rip), %rax # 0x277b0 retq
/ogorodnikoff2012[P]ded2018-VPL/include/vpl_grammar.h
ptls_new
ptls_t *ptls_new(ptls_context_t *ctx, int is_server) { ptls_t *tls; assert(ctx->get_time != NULL && "please set ctx->get_time to `&ptls_get_time`; see #92"); if ((tls = malloc(sizeof(*tls))) == NULL) return NULL; update_open_count(ctx, 1); *tls = (ptls_t){ctx}; tls->is_server = is_ser...
pushq %rbp pushq %r14 pushq %rbx cmpq $0x0, 0x8(%rdi) je 0x9911 movl %esi, %ebp movq %rdi, %r14 movl $0x1e8, %edi # imm = 0x1E8 callq 0x6560 testq %rax, %rax je 0x98db movq %rax, %rbx movq 0x80(%r14), %rdi testq %rdi, %rdi je 0x988b movl $0x1, %esi callq *(%rdi) leaq 0x8(%rbx), %rdi movl $0x1e0, %edx ...
/windrunner414[P]quicly/deps/picotls/lib/picotls.c
ptls_free
void ptls_free(ptls_t *tls) { ptls_buffer_dispose(&tls->recvbuf.rec); ptls_buffer_dispose(&tls->recvbuf.mess); free_exporter_master_secret(tls, 1); free_exporter_master_secret(tls, 0); if (tls->key_schedule != NULL) key_schedule_free(tls->key_schedule); if (tls->traffic_protection.dec.ae...
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx addq $0x10, %rdi callq 0x8e5c xorps %xmm0, %xmm0 movups %xmm0, 0x20(%rbx) movups %xmm0, 0x10(%rbx) leaq 0x30(%rbx), %rdi callq 0x8e5c xorps %xmm0, %xmm0 movups %xmm0, 0x40(%rbx) movups %xmm0, 0x30(%rbx) movq %rbx, %rdi movl $0x1, %esi callq 0x9ab7 movq %rbx, %rdi xorl %e...
/windrunner414[P]quicly/deps/picotls/lib/picotls.c
ptls_set_context
void ptls_set_context(ptls_t *tls, ptls_context_t *ctx) { update_open_count(ctx, 1); update_open_count(tls->ctx, -1); tls->ctx = ctx; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq 0x80(%rsi), %rdi testq %rdi, %rdi je 0x9bad movl $0x1, %esi callq *(%rdi) movq (%r14), %rax movq 0x80(%rax), %rdi testq %rdi, %rdi je 0x9bc5 movq $-0x1, %rsi callq *(%rdi) movq %rbx, (%r14) addq $0x8, %rsp popq %rbx popq %r14 retq
/windrunner414[P]quicly/deps/picotls/lib/picotls.c
ptls_set_server_name
int ptls_set_server_name(ptls_t *tls, const char *server_name, size_t server_name_len) { char *duped = NULL; if (server_name != NULL) { if (server_name_len == 0) server_name_len = strlen(server_name); if ((duped = malloc(server_name_len + 1)) == NULL) return PTLS_ERROR_N...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdi, %r14 xorl %ebx, %ebx testq %rsi, %rsi je 0x9c3e movq %rdx, %r12 movq %rsi, %r15 testq %rdx, %rdx jne 0x9c16 movq %r15, %rdi callq 0x6110 movq %rax, %r12 leaq 0x1(%r12), %rdi callq 0x6560 testq %rax, %rax je 0x9c56 movq %rax, %r13 movq %rax, %rdi movq %r1...
/windrunner414[P]quicly/deps/picotls/lib/picotls.c
ptls_set_negotiated_protocol
int ptls_set_negotiated_protocol(ptls_t *tls, const char *protocol, size_t protocol_len) { char *duped = NULL; if (protocol != NULL) { if (protocol_len == 0) protocol_len = strlen(protocol); if ((duped = malloc(protocol_len + 1)) == NULL) return PTLS_ERROR_NO_MEMORY; ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdi, %r14 xorl %ebx, %ebx testq %rsi, %rsi je 0x9cc0 movq %rdx, %r12 movq %rsi, %r15 testq %rdx, %rdx jne 0x9c98 movq %r15, %rdi callq 0x6110 movq %rax, %r12 leaq 0x1(%r12), %rdi callq 0x6560 testq %rax, %rax je 0x9cd8 movq %rax, %r13 movq %rax, %rdi movq %r1...
/windrunner414[P]quicly/deps/picotls/lib/picotls.c
perform_one_test_safe
static void perform_one_test_safe(FILE *fp, int argc, const char **argv, png_uint_32 *default_flags, display *d, const char *test) { if (setjmp(d->error_return) == 0) { d->test = test; /* allow use of d->error_return */ # ifdef PNG_SAVE_UNKNOWN_CHUNKS_SUPPORTED perform_one_test(fp, argc, arg...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r9, %r13 movq %r8, %rbx movq %rcx, %r14 movq %rdx, %r15 movl %esi, %ebp movq %rdi, %r12 movq %r8, %rdi callq 0x7150 testl %eax, %eax jne 0x821f movq %r13, 0x108(%rbx) movq %r12, %rdi movl %ebp, %esi movq %r15, %rdx movq %r14, %rcx movq %...
/hunter-packages[P]libpng/contrib/libtests/pngunknown.c
png_colorspace_set_gamma
void /* PRIVATE */ png_colorspace_set_gamma(png_const_structrp png_ptr, png_colorspacerp colorspace, png_fixed_point gAMA) { /* Changed in libpng-1.5.4 to limit the values to ensure overflow can't * occur. Since the fixed point representation is asymmetrical it is * possible for 1/gamma to overflow the ...
pushq %rbp pushq %r14 pushq %rbx movl %edx, %r14d movq %rsi, %rbx leal -0x2540be41(%r14), %eax cmpl $0xdabf41ce, %eax # imm = 0xDABF41CE ja 0x945c movzwl 0x4a(%rbx), %ebp leaq 0x240b9(%rip), %rsi # 0x2d513 jmp 0x94a7 testb $-0x80, 0x12d(%rdi) sete %al movzwl 0x4a(%rbx), %ebp testb $0x8, %bpl sete %cl orb %al,...
/hunter-packages[P]libpng/png.c
png_colorspace_set_ICC
int /* PRIVATE */ png_colorspace_set_ICC(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile, int color_type) { if ((colorspace->flags & PNG_COLORSPACE_INVALID) != 0) return 0; if (icc_check_length(png_ptr, colorspace, n...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax xorl %ebx, %ebx cmpw $0x0, 0x4a(%rsi) js 0xaef6 movl %ecx, %ebp movq %rdx, %r13 movq %rsi, %r14 movq %rdi, %r12 cmpl $0x83, %ecx ja 0xaeb3 movl %ebp, %ecx leaq 0x254bb(%rip), %r8 # 0x3035e movq %r12, %rdi movq %r14, %rsi movq %r13, %rdx c...
/hunter-packages[P]libpng/png.c
png_fixed
png_fixed_point png_fixed(png_const_structrp png_ptr, double fp, png_const_charp text) { double r = floor(100000 * fp + .5); if (r > 2147483647. || r < -2147483648.) png_fixed_error(png_ptr, text); # ifndef PNG_ERROR_TEXT_SUPPORTED PNG_UNUSED(text) # endif return (png_fixed_point)r; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 mulsd 0x20c89(%rip), %xmm0 # 0x2c730 addsd 0x20c89(%rip), %xmm0 # 0x2c738 callq 0x71f0 ucomisd 0x20c84(%rip), %xmm0 # 0x2c740 ja 0xbad8 movsd 0x20c82(%rip), %xmm1 # 0x2c748 ucomisd %xmm0, %xmm1 ja 0xbad8 cvttsd2si %xmm0, %eax addq $0x8, %rsp p...
/hunter-packages[P]libpng/png.c
png_muldiv_warn
png_fixed_point png_muldiv_warn(png_const_structrp png_ptr, png_fixed_point a, png_int_32 times, png_int_32 divisor) { png_fixed_point result; if (png_muldiv(&result, a, times, divisor) != 0) return result; png_warning(png_ptr, "fixed point overflow ignored"); return 0; }
pushq %rbx movq %rdi, %rbx testl %ecx, %ecx je 0xbb3d testl %esi, %esi sete %dil testl %edx, %edx sete %r8b xorl %eax, %eax orb %dil, %r8b jne 0xbb4e cvtsi2sd %esi, %xmm1 cvtsi2sd %edx, %xmm0 cvtsi2sd %ecx, %xmm2 mulsd %xmm1, %xmm0 divsd %xmm2, %xmm0 addsd 0x20c1e(%rip), %xmm0 # 0x2c738 callq 0x71f0 movsd 0x20c19(%r...
/hunter-packages[P]libpng/png.c
png_reciprocal2
png_fixed_point png_reciprocal2(png_fixed_point a, png_fixed_point b) { /* The required result is 1/a * 1/b; the following preserves accuracy. */ #ifdef PNG_FLOATING_ARITHMETIC_SUPPORTED if (a != 0 && b != 0) { double r = 1E15/a; r /= b; r = floor(r+.5); if (r <= 2147483647. && r >= -2...
pushq %rax testl %edi, %edi sete %al testl %esi, %esi sete %cl orb %al, %cl jne 0xbbf4 cvtsi2sd %edi, %xmm1 movsd 0x20bdb(%rip), %xmm0 # 0x2c798 cvtsi2sd %esi, %xmm2 divsd %xmm1, %xmm0 divsd %xmm2, %xmm0 addsd 0x20b67(%rip), %xmm0 # 0x2c738 callq 0x71f0 movsd 0x20b62(%rip), %xmm1 # 0x2c740 ucomisd %xmm0, %xmm1...
/hunter-packages[P]libpng/png.c
png_build_8bit_table
static void png_build_8bit_table(png_structrp png_ptr, png_bytepp ptable, png_fixed_point gamma_val) { unsigned int i; png_bytep table = *ptable = (png_bytep)png_malloc(png_ptr, 256); if (png_gamma_significant(gamma_val) != 0) for (i=0; i<256; i++) table[i] = png_gamma_8bit_correct(i, gamma...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movl %edx, %r14d movq %rsi, %r15 movl $0x100, %esi # imm = 0x100 callq 0xe4ec movq %rax, %rbx movq %rax, (%r15) leal -0x17318(%r14), %eax cmpl $0x2710, %eax # imm = 0x2710 ja 0xc451 movdqa 0x203f0(%rip), %xmm0 # 0x2c820 xorl %eax, %eax movdqa 0x2...
/hunter-packages[P]libpng/png.c
png_build_16bit_table
static void png_build_16bit_table(png_structrp png_ptr, png_uint_16pp *ptable, unsigned int shift, png_fixed_point gamma_val) { /* Various values derived from 'shift': */ unsigned int num = 1U << (8U - shift); #ifdef PNG_FLOATING_ARITHMETIC_SUPPORTED /* CSE the division and work round wacky GCC warnings (s...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movl %ecx, %ebx movl %edx, %ebp movq %rsi, %r13 movl $0x8, %r15d subl %edx, %r15d movl $0x1, %eax movl %r15d, %ecx shll %cl, %eax movl $0x1, %r14d movb $0x10, %cl subb %bpl, %cl movl $0xffffffff, %edx # imm = 0xFFFFFFFF shll %cl, %...
/hunter-packages[P]libpng/png.c
png_set_option
int PNGAPI png_set_option(png_structrp png_ptr, int option, int onoff) { if (png_ptr != NULL && option >= 0 && option < PNG_OPTION_NEXT && (option & 1) == 0) { png_uint_32 mask = 3U << option; png_uint_32 setting = (2U + (onoff != 0)) << option; png_uint_32 current = png_ptr->options; ...
movl %esi, %ecx testq %rdi, %rdi sete %al cmpl $0xc, %esi setae %sil orb %al, %sil movl $0x1, %eax movl %ecx, %r8d orb %sil, %r8b testb $0x1, %r8b jne 0xc683 movl $0x3, %esi shll %cl, %esi movl $0x3, %r8d cmpl $0x1, %edx sbbl $0x0, %r8d shll %cl, %r8d movl 0x390(%rdi), %eax notl %esi andl %eax, %esi orl %r8d, %esi movl...
/hunter-packages[P]libpng/png.c
png_format_number
png_charp png_format_number(png_const_charp start, png_charp end, int format, png_alloc_size_t number) { int count = 0; /* number of digits output */ int mincount = 1; /* minimum number required */ int output = 0; /* digit output (for the fixed point format) */ *--end = '\0'; /* This is writte...
movb $0x0, -0x1(%rsi) decq %rsi cmpq %rdi, %rsi jbe 0xccf2 pushq %rbp pushq %r15 pushq %r14 pushq %rbx movq %rcx, %r8 movl %edx, %ecx movl $0x1, %r15d xorl %r14d, %r14d leal -0x1(%rcx), %r9d leaq 0x20fef(%rip), %r10 # 0x2dbc0 leaq 0x21028(%rip), %r11 # 0x2dc00 movabsq $-0x3333333333333333, %rbx # imm = 0xCCCCCC...
/hunter-packages[P]libpng/pngerror.c
png_chunk_report
void /* PRIVATE */ png_chunk_report(png_const_structrp png_ptr, png_const_charp message, int error) { # ifndef PNG_WARNINGS_SUPPORTED PNG_UNUSED(message) # endif /* This is always supported, but for just read or just write it * unconditionally does the right thing. */ # if defined(PNG_READ_SUPPORTE...
testb $-0x80, 0x12d(%rdi) jne 0xd0e7 testl %edx, %edx jle 0xcfcc jmp 0xcfe0 cmpl $0x1, %edx jle 0xcf4b jmp 0xd0bd
/hunter-packages[P]libpng/pngerror.c
png_get_y_offset_microns
png_int_32 PNGAPI png_get_y_offset_microns(png_const_structrp png_ptr, png_const_inforp info_ptr) { #ifdef PNG_oFFs_SUPPORTED if (png_ptr != NULL && info_ptr != NULL && (info_ptr->valid & PNG_INFO_oFFs) != 0) { png_debug1(1, "in %s retrieval function", "png_get_y_offset_microns"); if (info_ptr...
testq %rdi, %rdi sete %cl testq %rsi, %rsi sete %dl xorl %eax, %eax orb %cl, %dl jne 0xd6bb testb $0x1, 0x9(%rsi) je 0xd6bb cmpb $0x1, 0xdc(%rsi) jne 0xd6bb movl 0xd8(%rsi), %eax retq
/hunter-packages[P]libpng/pngget.c
png_get_pixels_per_inch
png_uint_32 PNGAPI png_get_pixels_per_meter(png_const_structrp png_ptr, png_const_inforp info_ptr) { #ifdef PNG_pHYs_SUPPORTED if (png_ptr != NULL && info_ptr != NULL && (info_ptr->valid & PNG_INFO_pHYs) != 0) { png_debug1(1, "in %s retrieval function", "png_get_pixels_per_meter"); if (info_pt...
testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0xd742 testb $-0x80, 0x8(%rsi) je 0xd742 cmpb $0x1, 0xe8(%rsi) jne 0xd742 movl 0xe0(%rsi), %eax cmpl 0xe4(%rsi), %eax jne 0xd742 testl %eax, %eax jns 0xd744 xorl %eax, %eax retq xorl %eax, %eax pushq %rax leaq 0x4(%rsp), %rdi movl %eax, %esi movl $0x7...
/hunter-packages[P]libpng/pngget.c
png_get_x_pixels_per_inch
png_uint_32 PNGAPI png_get_x_pixels_per_meter(png_const_structrp png_ptr, png_const_inforp info_ptr) { #ifdef PNG_pHYs_SUPPORTED if (png_ptr != NULL && info_ptr != NULL && (info_ptr->valid & PNG_INFO_pHYs) != 0) { png_debug1(1, "in %s retrieval function", "png_get_x_pixels_per_m...
testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0xd794 testb $-0x80, 0x8(%rsi) je 0xd794 cmpb $0x1, 0xe8(%rsi) jne 0xd794 movl 0xe0(%rsi), %esi testl %esi, %esi jns 0xd796 xorl %eax, %eax retq xorl %esi, %esi pushq %rax leaq 0x4(%rsp), %rdi movl $0x7f, %edx movl $0x1388, %ecx # imm = 0x13...
/hunter-packages[P]libpng/pngget.c
png_get_cHRM
png_uint_32 PNGAPI png_get_cHRM(png_const_structrp png_ptr, png_const_inforp info_ptr, double *white_x, double *white_y, double *red_x, double *red_y, double *green_x, double *green_y, double *blue_x, double *blue_y) { /* Quiet API change: this code used to only return the end points if a cHRM * chunk wa...
testq %rdi, %rdi sete %dil testq %rsi, %rsi sete %r10b xorl %eax, %eax orb %dil, %r10b jne 0xdafa testb $0x2, 0x7e(%rsi) je 0xdafa testq %rdx, %rdx je 0xda30 cvtsi2sdl 0x50(%rsi), %xmm0 mulsd 0x1ed7c(%rip), %xmm0 # 0x2c7a8 movsd %xmm0, (%rdx) testq %rcx, %rcx je 0xda49 xorps %xmm0, %xmm0 cvtsi2sdl 0x54(%rsi), %xmm0 ...
/hunter-packages[P]libpng/pngget.c
png_get_sCAL
png_uint_32 PNGAPI png_get_sCAL(png_const_structrp png_ptr, png_const_inforp info_ptr, int *unit, double *width, double *height) { if (png_ptr != NULL && info_ptr != NULL && (info_ptr->valid & PNG_INFO_sCAL) != 0) { *unit = info_ptr->scal_unit; *width = atof(info_ptr->scal_s_width); *...
pushq %r15 pushq %r14 pushq %rbx movq %rcx, %r14 movq %rsi, %r15 testq %rdi, %rdi sete %cl testq %rsi, %rsi sete %sil xorl %eax, %eax orb %cl, %sil jne 0xe179 testb $0x40, 0x9(%r15) je 0xe179 movq %r8, %rbx movzbl 0x14c(%r15), %eax movl %eax, (%rdx) movq 0x150(%r15), %rdi callq 0x7090 movsd %xmm0, (%r14) movq 0x158(%r1...
/hunter-packages[P]libpng/pngget.c
png_destroy_png_struct
void /* PRIVATE */ png_destroy_png_struct(png_structrp png_ptr) { if (png_ptr != NULL) { /* png_free might call png_error and may certainly call * png_get_mem_ptr, so fake a temporary png_struct to support this. */ png_struct dummy_struct = *png_ptr; memset(png_ptr, 0, (sizeof *png...
testq %rdi, %rdi je 0xe4a6 pushq %r14 pushq %rbx subq $0x4f8, %rsp # imm = 0x4F8 movq %rdi, %rbx leaq 0x8(%rsp), %r14 movl $0x4f0, %edx # imm = 0x4F0 movq %r14, %rdi movq %rbx, %rsi callq 0x7180 movl $0x4f0, %edx # imm = 0x4F0 movq %rbx, %rdi xorl %esi, %esi callq 0x7110 movq 0x3f8(%r14...
/hunter-packages[P]libpng/pngmem.c
png_read_info
void PNGAPI png_read_info(png_structrp png_ptr, png_inforp info_ptr) { #ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED int keep; #endif png_debug(1, "in png_read_info"); if (png_ptr == NULL || info_ptr == NULL) return; /* Read and check the PNG file signature. */ png_read_sig(png_ptr, info_ptr); for ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0xeb30 movq %rsi, %r14 movq %rdi, %rbx callq 0x178a3 movq %rbx, %rdi callq 0x1794c movl %eax, %ebp movl 0x218(%rbx), %r15d cmpl $0x49444154, %r15d # imm = 0x49444154 je 0xeacf movl 0x12c(%rbx...
/hunter-packages[P]libpng/pngread.c
png_image_begin_read_from_memory
int PNGAPI png_image_begin_read_from_memory(png_imagep image, png_const_voidp memory, size_t size) { if (image != NULL && image->version == PNG_IMAGE_VERSION) { if (memory != NULL && size > 0) { if (png_image_read_init(image) != 0) { /* Now set the IO functions to rea...
pushq %r15 pushq %r14 pushq %rbx testq %rdi, %rdi je 0xfbec movq %rdi, %rbx cmpl $0x1, 0x8(%rdi) jne 0xfbf4 movq %rdx, %r14 movq %rsi, %r15 testq %rsi, %rsi sete %al testq %rdx, %rdx sete %cl orb %al, %cl jne 0xfbfd movq %rbx, %rdi callq 0xf92f testl %eax, %eax je 0xfbec movq (%rbx), %rax movq %r15, 0x18(%rax) movq %r1...
/hunter-packages[P]libpng/pngread.c
png_set_scale_16
static int png_rtran_ok(png_structrp png_ptr, int need_IHDR) { if (png_ptr != NULL) { if ((png_ptr->flags & PNG_FLAG_ROW_INIT) != 0) png_app_error(png_ptr, "invalid after png_start_read_image or png_read_update_info"); else if (need_IHDR && (png_ptr->mode & PNG_HAVE_IHDR) == 0) ...
testq %rdi, %rdi je 0x12cd1 movl 0x130(%rdi), %eax testb $0x40, %al jne 0x12cd2 orl $0x4000, %eax # imm = 0x4000 movl %eax, 0x130(%rdi) orb $0x4, 0x137(%rdi) retq leaq 0x1bd95(%rip), %rsi # 0x2ea6e jmp 0xcfe0
/hunter-packages[P]libpng/pngrtran.c
png_set_alpha_mode_fixed
void PNGFAPI png_set_alpha_mode_fixed(png_structrp png_ptr, int mode, png_fixed_point output_gamma) { int compose = 0; png_fixed_point file_gamma; png_debug(1, "in png_set_alpha_mode"); if (png_rtran_ok(png_ptr, 0) == 0) return; output_gamma = translate_gamma_flags(png_ptr, output_gamma, 1/*...
pushq %rbp pushq %r14 pushq %rbx testq %rdi, %rdi je 0x12ecc movq %rdi, %rbx movl 0x130(%rdi), %eax testb $0x40, %al jne 0x12d81 movl %esi, %r14d movl %eax, %ecx orl $0x4000, %ecx # imm = 0x4000 movl %ecx, 0x130(%rbx) movl $0x250ac, %ebp # imm = 0x250AC cmpl $-0x3, %edx jg 0x12d94 cmpl $0xfffe7960, %...
/hunter-packages[P]libpng/pngrtran.c
png_set_gamma_fixed
void PNGFAPI png_set_gamma_fixed(png_structrp png_ptr, png_fixed_point scrn_gamma, png_fixed_point file_gamma) { png_debug(1, "in png_set_gamma_fixed"); if (png_rtran_ok(png_ptr, 0) == 0) return; /* New in libpng-1.5.4 - reserve particular negative values as flags. */ scrn_gamma = translate_gamm...
pushq %rax testq %rdi, %rdi je 0x1396c movl 0x130(%rdi), %ecx testb $0x40, %cl jne 0x138e6 movl %ecx, %eax orl $0x4000, %eax # imm = 0x4000 movl %eax, 0x130(%rdi) cmpl $-0x3, %esi jg 0x138f3 cmpl $0xfffe7960, %esi # imm = 0xFFFE7960 je 0x138fd cmpl $0xffff3cb0, %esi # imm = 0xFFFF3CB0 je 0x13912 j...
/hunter-packages[P]libpng/pngrtran.c
png_handle_sPLT
void /* PRIVATE */ png_handle_sPLT(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length) /* Note: this does not properly handle chunks that are > 64K under DOS */ { png_bytep entry_start, buffer; png_sPLT_t new_palette; png_sPLT_entryp pp; png_uint_32 data_length; int entry_size, i; png_uint_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %edx, %r12d movq %rsi, %r14 movq %rdi, %rbx movl 0x42c(%rdi), %eax testl %eax, %eax je 0x18e73 cmpl $0x1, %eax je 0x18e5a decl %eax movl %eax, 0x42c(%rbx) cmpl $0x1, %eax jne 0x18e73 leaq 0x15df7(%rip), %rsi # 0x2ec49 movq %rbx,...
/hunter-packages[P]libpng/pngrutil.c
png_handle_iTXt
void /* PRIVATE */ png_handle_iTXt(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length) { png_const_charp errmsg = NULL; png_bytep buffer; png_uint_32 prefix_length; png_debug(1, "in png_handle_iTXt"); #ifdef PNG_USER_LIMITS_SUPPORTED if (png_ptr->user_chunk_cache_max != 0) { if (png...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movl %edx, %r15d movq %rsi, %r14 movq %rdi, %rbx movl 0x42c(%rdi), %eax testl %eax, %eax je 0x1a523 cmpl $0x1, %eax jne 0x1a4ff movq %rbx, %rdi movl %r15d, %esi addq $0x58, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp...
/hunter-packages[P]libpng/pngrutil.c
png_set_cHRM_XYZ
void PNGAPI png_set_cHRM_XYZ(png_const_structrp png_ptr, png_inforp info_ptr, double red_X, double red_Y, double red_Z, double green_X, double green_Y, double green_Z, double blue_X, double blue_Y, double blue_Z) { png_set_cHRM_XYZ_fixed(png_ptr, info_ptr, png_fixed(png_ptr, red_X, "cHRM Red X"), ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movsd %xmm7, 0x38(%rsp) movsd %xmm6, 0x30(%rsp) movsd %xmm5, 0x28(%rsp) movsd %xmm4, 0x20(%rsp) movsd %xmm3, 0x18(%rsp) movsd %xmm2, (%rsp) movsd %xmm1, 0x8(%rsp) movq %rsi, 0x40(%rsp) movq %rdi, %r14 leaq 0x13235(%rip), %rsi # 0x2f1...
/hunter-packages[P]libpng/pngset.c
png_set_sCAL_s
void PNGAPI png_set_sCAL_s(png_const_structrp png_ptr, png_inforp info_ptr, int unit, png_const_charp swidth, png_const_charp sheight) { size_t lengthw = 0, lengthh = 0; png_debug1(1, "in %s storage function", "sCAL"); if (png_ptr == NULL || info_ptr == NULL) return; /* Double check the unit (s...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rcx, %r12 testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x1c6e4 movq %rdi, %rbx leal -0x3(%rdx), %eax cmpl $-0x3, %eax jbe 0x1c73c movq %rdx, (%rsp) testq %r12, %r12 je 0x1c72a movq %r8, %r15 movq %rsi, %r14 movq %...
/hunter-packages[P]libpng/pngset.c
png_set_iCCP
void PNGAPI png_set_iCCP(png_const_structrp png_ptr, png_inforp info_ptr, png_const_charp name, int compression_type, png_const_bytep profile, png_uint_32 proflen) { png_charp new_iccp_name; png_bytep new_iccp_profile; size_t length; png_debug1(1, "in %s storage function", "iCCP"); if (png_ptr ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %xmm0 movq %rdi, %xmm1 punpcklqdq %xmm0, %xmm1 # xmm1 = xmm1[0],xmm0[0] movq %r8, %xmm0 movq %rdx, %xmm2 punpcklqdq %xmm0, %xmm2 # xmm2 = xmm2[0],xmm0[0] pxor %xmm0, %xmm0 pcmpeqd %xmm0, %xmm2 pcmpeqd %xmm0, %xmm1 movdqa %xmm1...
/hunter-packages[P]libpng/pngset.c
png_set_tRNS
void PNGAPI png_set_tRNS(png_structrp png_ptr, png_inforp info_ptr, png_const_bytep trans_alpha, int num_trans, png_const_color_16p trans_color) { png_debug1(1, "in %s storage function", "tRNS"); if (png_ptr == NULL || info_ptr == NULL) return; if (trans_alpha != NULL) { /* It may not ac...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %r14d testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x1d04f movq %r8, %r15 movq %rdx, %r13 movq %rsi, %rbx movq %rdi, %r12 testq %rdx, %rdx je 0x1cfc5 movq %r12, %rdi movq %rbx, %rsi movl $0x2000, %edx ...
/hunter-packages[P]libpng/pngset.c
png_set_benign_errors
void PNGAPI png_set_benign_errors(png_structrp png_ptr, int allowed) { png_debug(1, "in png_set_benign_errors"); /* If allowed is 1, png_benign_error() is treated as a warning. * * If allowed is 0, png_benign_error() is treated as an error (which * is the default behavior if png_set_benign_errors() i...
movl $0xff8fffff, %eax # imm = 0xFF8FFFFF andl 0x130(%rdi), %eax testl %esi, %esi movl $0x700000, %ecx # imm = 0x700000 cmovel %esi, %ecx orl %eax, %ecx movl %ecx, 0x130(%rdi) retq
/hunter-packages[P]libpng/pngset.c
png_set_packing
void PNGAPI png_set_packing(png_structrp png_ptr) { png_debug(1, "in png_set_packing"); if (png_ptr == NULL) return; if (png_ptr->bit_depth < 8) { png_ptr->transformations |= PNG_PACK; # ifdef PNG_WRITE_SUPPORTED png_ptr->usr_bit_depth = 8; # endif } }
testq %rdi, %rdi je 0x1d8c3 cmpb $0x7, 0x270(%rdi) ja 0x1d8c3 orb $0x4, 0x134(%rdi) movb $0x8, 0x271(%rdi) retq
/hunter-packages[P]libpng/pngtrans.c
png_set_filler
void PNGAPI png_set_filler(png_structrp png_ptr, png_uint_32 filler, int filler_loc) { png_debug(1, "in png_set_filler"); if (png_ptr == NULL) return; /* In libpng 1.6 it is possible to determine whether this is a read or write * operation and therefore to do more checking here for a valid call. ...
testq %rdi, %rdi je 0x1d96a testb $-0x80, 0x12d(%rdi) jne 0x1d93f movzbl 0x26f(%rdi), %eax testl %eax, %eax je 0x1d96b cmpl $0x2, %eax jne 0x1d97d movb $0x4, 0x274(%rdi) jmp 0x1d946 movw %si, 0x27a(%rdi) orb $-0x80, 0x135(%rdi) movl 0x130(%rdi), %eax cmpl $0x1, %edx jne 0x1d95f orl $0x80, %eax jmp 0x1d964 andl $0xfffff...
/hunter-packages[P]libpng/pngtrans.c
png_set_add_alpha
void PNGAPI png_set_add_alpha(png_structrp png_ptr, png_uint_32 filler, int filler_loc) { png_debug(1, "in png_set_add_alpha"); if (png_ptr == NULL) return; png_set_filler(png_ptr, filler, filler_loc); /* The above may fail to do anything. */ if ((png_ptr->transformations & PNG_FILLER) != 0) ...
testq %rdi, %rdi je 0x1d9ba pushq %rbx movq %rdi, %rbx callq 0x1d918 movl 0x134(%rbx), %eax testw %ax, %ax jns 0x1d9b9 orl $0x1000000, %eax # imm = 0x1000000 movl %eax, 0x134(%rbx) popq %rbx retq
/hunter-packages[P]libpng/pngtrans.c
png_do_packswap
void /* PRIVATE */ png_do_packswap(png_row_infop row_info, png_bytep row) { png_debug(1, "in png_do_packswap"); if (row_info->bit_depth < 8) { png_bytep rp; png_const_bytep end, table; end = row + row_info->rowbytes; if (row_info->bit_depth == 1) table = onebppswaptable; ...
movzbl 0x11(%rdi), %ecx cmpl $0x7, %ecx ja 0x1dab9 movq 0x8(%rdi), %rax cmpl $0x1, %ecx je 0x1da9a cmpl $0x4, %ecx je 0x1da91 cmpl $0x2, %ecx jne 0x1dab9 leaq 0x11ed1(%rip), %rcx # 0x2f960 jmp 0x1daa1 leaq 0x11fc8(%rip), %rcx # 0x2fa60 jmp 0x1daa1 leaq 0x11dbf(%rip), %rcx # 0x2f860 testq %rax, %rax jle 0x1d...
/hunter-packages[P]libpng/pngtrans.c
png_do_strip_channel
void /* PRIVATE */ png_do_strip_channel(png_row_infop row_info, png_bytep row, int at_start) { png_bytep sp = row; /* source pointer */ png_bytep dp = row; /* destination pointer */ png_bytep ep = row + row_info->rowbytes; /* One beyond end of row */ /* At the start sp will point to the first byte to copy ...
movq 0x8(%rdi), %r8 leaq (%rsi,%r8), %rcx movzbl 0x12(%rdi), %eax cmpl $0x4, %eax je 0x1db1a cmpl $0x2, %eax jne 0x1dc39 movzbl 0x11(%rdi), %r8d cmpl $0x10, %r8d je 0x1db7d cmpl $0x8, %r8d jne 0x1dc39 leaq 0x1(%rsi), %r9 testl %edx, %edx movq %rsi, %rax cmoveq %r9, %rax leaq 0x2(%rsi), %rdx cmovneq %r9, %rdx cmpq %rcx,...
/hunter-packages[P]libpng/pngtrans.c
png_write_info_before_PLTE
void PNGAPI png_write_info_before_PLTE(png_structrp png_ptr, png_const_inforp info_ptr) { png_debug(1, "in png_write_info_before_PLTE"); if (png_ptr == NULL || info_ptr == NULL) return; if ((png_ptr->mode & PNG_WROTE_INFO_BEFORE_PLTE) == 0) { /* Write PNG signature */ png_write_sig(png_p...
testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x1e037 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx testb $0x4, 0x12d(%rdi) jne 0x1e030 movq %rsi, %r14 movq %rbx, %rdi callq 0x206e1 testb $0x10, 0x12d(%rbx) je 0x1df32 cmpl $0x0, 0x3e0(%rbx) je 0x1df32 leaq 0xfacf(%rip), %rsi # 0x2d9ef mov...
/hunter-packages[P]libpng/pngwrite.c
write_unknown_chunks
static void write_unknown_chunks(png_structrp png_ptr, png_const_inforp info_ptr, unsigned int where) { if (info_ptr->unknown_chunks_num != 0) { png_const_unknown_chunkp up; png_debug(5, "writing extra chunks"); for (up = info_ptr->unknown_chunks; up < info_ptr->unknown_chunks +...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movslq 0x138(%rsi), %r13 testq %r13, %r13 je 0x1e0d5 testl %r13d, %r13d jle 0x1e0d5 movl %edx, %ebx movq %rdi, %r14 movq 0x130(%rsi), %r15 shlq $0x5, %r13 addq %r15, %r13 leaq 0x11f7c(%rip), %r12 # 0x2ffec movzbl 0x18(%r15), %eax testl %ebx, %eax je 0x1e0cc mov...
/hunter-packages[P]libpng/pngwrite.c
png_write_info
void PNGAPI png_write_info(png_structrp png_ptr, png_const_inforp info_ptr) { #if defined(PNG_WRITE_TEXT_SUPPORTED) || defined(PNG_WRITE_sPLT_SUPPORTED) int i; #endif png_debug(1, "in png_write_info"); if (png_ptr == NULL || info_ptr == NULL) return; png_write_info_before_PLTE(png_ptr, info_ptr); ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl je 0x1e106 addq $0x18, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rsi, %r14 movq %rdi, %rbx callq 0x1ded4 movl 0x8(%r14), %eax testb $0x8, %al jne 0x1e12f cmpb $0x3, 0x25(%r14) jne ...
/hunter-packages[P]libpng/pngwrite.c
png_write_image
void PNGAPI png_write_image(png_structrp png_ptr, png_bytepp image) { png_uint_32 i; /* row index */ int pass, num_pass; /* pass variables */ png_bytepp rp; /* points to current row */ if (png_ptr == NULL) return; png_debug(1, "in png_write_image"); #ifdef PNG_WRITE_INTERLACING_SUPPORTED /* I...
testq %rdi, %rdi je 0x1ea35 pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 callq 0x1d8f8 testl %eax, %eax jle 0x1ea2d movl %eax, %ebp movl 0x1fc(%r14), %eax xorl %r15d, %r15d testl %eax, %eax movl $0x0, %eax je 0x1ea25 xorl %r12d, %r12d movq (%rbx,%r12,8), %rsi movq %r14, %rdi ca...
/hunter-packages[P]libpng/pngwrite.c
png_write_flush
void PNGAPI png_write_flush(png_structrp png_ptr) { png_debug(1, "in png_write_flush"); if (png_ptr == NULL) return; /* We have already written out all of the data */ if (png_ptr->row_number >= png_ptr->num_rows) return; png_compress_IDAT(png_ptr, NULL, 0, Z_SYNC_FLUSH); png_ptr->flush_...
pushq %rbx testq %rdi, %rdi je 0x1ea84 movq %rdi, %rbx movl 0x214(%rdi), %eax cmpl 0x200(%rdi), %eax jae 0x1ea84 movq %rbx, %rdi xorl %esi, %esi xorl %edx, %edx movl $0x2, %ecx callq 0x20c73 movl $0x0, 0x2a4(%rbx) movq %rbx, %rdi popq %rbx jmp 0x23509 popq %rbx retq
/hunter-packages[P]libpng/pngwrite.c
png_destroy_write_struct
void PNGAPI png_destroy_write_struct(png_structpp png_ptr_ptr, png_infopp info_ptr_ptr) { png_debug(1, "in png_destroy_write_struct"); if (png_ptr_ptr != NULL) { png_structrp png_ptr = *png_ptr_ptr; if (png_ptr != NULL) /* added in libpng 1.6.0 */ { png_destroy_info_struct(png_ptr,...
pushq %r14 pushq %rbx pushq %rax testq %rdi, %rdi je 0x1eb51 movq %rdi, %r14 movq (%rdi), %rbx testq %rbx, %rbx je 0x1eb51 movq %rbx, %rdi callq 0x8b40 movq $0x0, (%r14) testb $0x2, 0x130(%rbx) je 0x1eac6 leaq 0x140(%rbx), %rdi callq 0x2419f leaq 0x1b0(%rbx), %rsi movq %rbx, %rdi callq 0x208bf movq 0x228(%rbx), %rsi mo...
/hunter-packages[P]libpng/pngwrite.c
png_set_text_compression_method
void PNGAPI png_set_text_compression_method(png_structrp png_ptr, int method) { png_debug(1, "in png_set_text_compression_method"); if (png_ptr == NULL) return; if (method != 8) png_warning(png_ptr, "Only compression method 8 is supported by PNG"); png_ptr->zlib_text_method = method; }
testq %rdi, %rdi je 0x1ee23 pushq %r14 pushq %rbx pushq %rax movl %esi, %ebx movq %rdi, %r14 cmpl $0x8, %esi je 0x1ee15 leaq 0x1102f(%rip), %rsi # 0x2fe3c movq %r14, %rdi callq 0xccf6 movl %ebx, 0x1d4(%r14) addq $0x8, %rsp popq %rbx popq %r14 retq
/hunter-packages[P]libpng/pngwrite.c
png_write_image_8bit
static int png_write_image_8bit(png_voidp argument) { png_image_write_control *display = png_voidcast(png_image_write_control*, argument); png_imagep image = display->image; png_structrp png_ptr = image->opaque->png_ptr; png_const_uint_16p input_row = png_voidcast(png_const_uint_16p, display-...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %r13 movq (%rdi), %rax movq 0x28(%rdi), %rcx movq %rcx, 0x8(%rsp) movq (%rax), %rcx movq (%rcx), %rcx movq %rcx, 0x20(%rsp) movq 0x38(%rdi), %rbp movl 0x10(%rax), %esi movl 0x14(%rax), %ecx movl %ecx, %edx andl $0x2, %edx leaq...
/hunter-packages[P]libpng/pngwrite.c
png_unpremultiply
static png_byte png_unpremultiply(png_uint_32 component, png_uint_32 alpha, png_uint_32 reciprocal/*from the above macro*/) { /* The following gives 1.0 for an alpha of 0, which is fine, otherwise if 0/0 * is represented as some other value there is more likely to be a * discontinuity which will probably...
cmpl %esi, %edi setae %al cmpl $0x80, %esi setb %cl orb %al, %cl movb $-0x1, %al jne 0x20086 testl %edi, %edi je 0x20087 imull %edi, %edx addl $0x40, %edx shrl $0x7, %edx movl %edi, %ecx shll $0x8, %ecx subl %edi, %ecx cmpl $0xff7f, %esi # imm = 0xFF7F cmovbl %edx, %ecx movl %ecx, %eax shrl $0xf, %eax leaq 0x...
/hunter-packages[P]libpng/pngwrite.c
png_write_sig
void PNGAPI png_write_sig(png_structrp png_ptr) { png_byte png_signature[8] = {137, 80, 78, 71, 13, 10, 26, 10}; #ifdef PNG_IO_STATE_SUPPORTED /* Inform the I/O callback that the signature is being written */ png_ptr->io_state = PNG_IO_WRITING | PNG_IO_SIGNATURE; #endif /* Write the rest of the 8 byte sig...
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movabsq $0xa1a0a0d474e5089, %rax # imm = 0xA1A0A0D474E5089 movq %rax, 0x8(%rsp) movl $0x12, 0x474(%rdi) movzbl 0x275(%rdi), %eax leaq (%rsp,%rax), %rsi addq $0x8, %rsi movl $0x8, %edx subq %rax, %rdx callq 0x234ac cmpb $0x2, 0x275(%rbx) ja 0x2072e orb $0x10, 0x12d(%rbx) addq ...
/hunter-packages[P]libpng/pngwutil.c
png_write_chunk_header
static void png_write_chunk_header(png_structrp png_ptr, png_uint_32 chunk_name, png_uint_32 length) { png_byte buf[8]; #if defined(PNG_DEBUG) && (PNG_DEBUG > 0) PNG_CSTRING_FROM_CHUNK(buf, chunk_name); png_debug2(0, "Writing %s chunk, length = %lu", buf, (unsigned long)length); #endif if (png_ptr == ...
testq %rdi, %rdi je 0x207d3 pushq %rbp pushq %r14 pushq %rbx subq $0x10, %rsp movl %esi, %ecx movq %rdi, %rbx movl $0x22, 0x474(%rdi) movl %edx, %eax shrl $0x18, %eax leaq 0xc(%rsp), %r14 movb %al, -0x4(%r14) movl %edx, %eax shrl $0x10, %eax movb %al, -0x3(%r14) movb %dh, 0xa(%rsp) movb %dl, -0x1(%r14) movl %esi, %eax ...
/hunter-packages[P]libpng/pngwutil.c
png_write_IHDR
void /* PRIVATE */ png_write_IHDR(png_structrp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int compression_type, int filter_type, int interlace_type) { png_byte buf[13]; /* Buffer to store the IHDR info */ int is_invalid_depth; png_debug(1, "in png_write_IHDR"); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %edx, 0x4(%rsp) movq %rdi, %rbx cmpl $0x6, %r8d ja 0x20b61 movl %r8d, %ebp movl %ecx, %r14d movl %esi, %r13d movl %r8d, %eax leaq 0xf7f7(%rip), %rcx # 0x3011c movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax cmpl $0x10, %r...
/hunter-packages[P]libpng/pngwutil.c
optimize_cmf
static void optimize_cmf(png_bytep data, png_alloc_size_t data_size) { /* Optimize the CMF field in the zlib stream. The resultant zlib stream is * still compliant to the stream specification. */ if (data_size <= 16384) /* else windowBits must be 15 */ { unsigned int z_cmf = data[0]; /* zlib co...
cmpq $0x4000, %rsi # imm = 0x4000 ja 0x212f8 movzbl (%rdi), %ecx movl %ecx, %eax andl $0xf, %eax cmpl $0x8, %eax setne %al movl %ecx, %edx andl $-0x10, %edx cmpl $0x71, %edx setae %dl orb %al, %dl jne 0x212f8 shrl $0x4, %ecx movl $0x80, %r8d shlq %cl, %r8 cmpq %rsi, %r8 jb 0x212f8 movl %ecx, %edx shll $0xc, %...
/hunter-packages[P]libpng/pngwutil.c
png_write_sPLT
void /* PRIVATE */ png_write_sPLT(png_structrp png_ptr, png_const_sPLT_tp spalette) { png_uint_32 name_len; png_byte new_name[80]; png_byte entrybuf[10]; size_t entry_size = (spalette->depth == 8 ? 6 : 10); size_t palette_size = entry_size * (size_t)spalette->nentries; png_sPLT_entryp ep; #ifndef PNG_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rsi, %r14 xorl %r12d, %r12d cmpb $0x8, 0x8(%rsi) movq %rdi, %rbx setne 0x5(%rsp) movl 0x18(%rsi), %ebp movq (%rsi), %rsi leaq 0x10(%rsp), %rdx callq 0x1d74d testl %eax, %eax je 0x21830 movl %eax, %r13d leaq 0x8(%r14), %r15 movb 0x5...
/hunter-packages[P]libpng/pngwutil.c
png_write_sBIT
void /* PRIVATE */ png_write_sBIT(png_structrp png_ptr, png_const_color_8p sbit, int color_type) { png_byte buf[4]; size_t size; png_debug(1, "in png_write_sBIT"); /* Make sure we don't depend upon the order of PNG_COLOR_8 */ if ((color_type & PNG_COLOR_MASK_COLOR) != 0) { png_byte maxbits; ...
pushq %rax testb $0x2, %dl jne 0x21867 movb 0x3(%rsi), %al testb %al, %al je 0x218ef cmpb 0x271(%rdi), %al ja 0x218ef movb %al, 0x4(%rsp) movl $0x1, %ecx jmp 0x218db movl $0x8, %ecx cmpl $0x3, %edx je 0x21878 movzbl 0x271(%rdi), %ecx movb (%rsi), %al testb %al, %al sete %r8b movzbl %al, %r9d cmpl %r9d, %ecx setb %r9b o...
/hunter-packages[P]libpng/pngwutil.c
png_write_cHRM_fixed
void /* PRIVATE */ png_write_cHRM_fixed(png_structrp png_ptr, const png_xy *xy) { png_byte buf[32]; png_debug(1, "in png_write_cHRM"); /* Each value is saved in 1/100,000ths */ png_save_int_32(buf, xy->whitex); png_save_int_32(buf + 4, xy->whitey); png_save_int_32(buf + 8, xy->redx); png_...
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %r15 movq %rdi, %rbx movl 0x18(%rsi), %esi movq %rsp, %r14 movq %r14, %rdi callq 0x90fc leaq 0x4(%rsp), %rdi movl 0x1c(%r15), %esi callq 0x90fc leaq 0x8(%rsp), %rdi movl (%r15), %esi callq 0x90fc leaq 0xc(%rsp), %rdi movl 0x4(%r15), %esi callq 0x90fc leaq 0x1...
/hunter-packages[P]libpng/pngwutil.c
png_write_tRNS
void /* PRIVATE */ png_write_tRNS(png_structrp png_ptr, png_const_bytep trans_alpha, png_const_color_16p tran, int num_trans, int color_type) { png_byte buf[6]; png_debug(1, "in png_write_tRNS"); if (color_type == PNG_COLOR_TYPE_PALETTE) { if (num_trans <= 0 || num_trans > (int)png_ptr->num_pale...
pushq %rax testl %r8d, %r8d je 0x21a34 cmpl $0x2, %r8d je 0x219e6 cmpl $0x3, %r8d jne 0x21a5c testl %ecx, %ecx jle 0x219da movzwl 0x260(%rdi), %edx cmpl %ecx, %edx jae 0x21a88 leaq 0xea01(%rip), %rsi # 0x303e2 jmp 0x21a82 movzwl 0x2(%rdx), %eax movl %eax, %ecx rolw $0x8, %cx movw %cx, 0x2(%rsp) movzwl 0x4(%rdx), %...
/hunter-packages[P]libpng/pngwutil.c
png_write_bKGD
void /* PRIVATE */ png_write_bKGD(png_structrp png_ptr, png_const_color_16p back, int color_type) { png_byte buf[6]; png_debug(1, "in png_write_bKGD"); if (color_type == PNG_COLOR_TYPE_PALETTE) { if ( #ifdef PNG_MNG_FEATURES_SUPPORTED (png_ptr->num_palette != 0 || (png_ptr->mng_f...
pushq %rax cmpl $0x3, %edx jne 0x21ad2 movzwl 0x260(%rdi), %ecx testw %cx, %cx jne 0x21aba testb $0x1, 0x3e0(%rdi) jne 0x21b66 movzbl (%rsi), %eax cmpw %ax, %cx ja 0x21b68 leaq 0xe9eb(%rip), %rsi # 0x304b8 jmp 0x21b60 testb $0x2, %dl jne 0x21aff movzwl 0x8(%rsi), %eax movb 0x270(%rdi), %cl movl $0x1, %edx shll %cl...
/hunter-packages[P]libpng/pngwutil.c
png_write_hIST
void /* PRIVATE */ png_write_hIST(png_structrp png_ptr, png_const_uint_16p hist, int num_hist) { int i; png_byte buf[3]; png_debug(1, "in png_write_hIST"); if (num_hist > (int)png_ptr->num_palette) { png_debug2(3, "num_hist = %d, num_palette = %d", num_hist, png_ptr->num_palette); ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movzwl 0x260(%rdi), %eax cmpl %edx, %eax jge 0x21c1a leaq 0xe954(%rip), %rsi # 0x30559 movq %rbx, %rdi addq $0x10, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 jmp 0xccf6 movl %edx, %r15d movq %rsi, %r14 leal (%r15,%r...
/hunter-packages[P]libpng/pngwutil.c
png_write_iTXt
void /* PRIVATE */ png_write_iTXt(png_structrp png_ptr, int compression, png_const_charp key, png_const_charp lang, png_const_charp lang_key, png_const_charp text) { png_uint_32 key_len, prefix_len; size_t lang_len, lang_key_len; png_byte new_key[82]; compression_state comp; png_debug(1, "in png_wri...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x498, %rsp # imm = 0x498 movq %r9, %r14 movq %r8, %r15 movq %rcx, %r13 movl %esi, %r12d movq %rdi, %rbx leaq 0x20(%rsp), %rax movq %rdx, %rsi movq %rax, %rdx callq 0x1d74d testl %eax, %eax je 0x22009 movq %rbx, (%rsp) movq %r14, 0x8(%rs...
/hunter-packages[P]libpng/pngwutil.c
png_write_pCAL
void /* PRIVATE */ png_write_pCAL(png_structrp png_ptr, png_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams, png_const_charp units, png_charpp params) { png_uint_32 purpose_len; size_t units_len, total_len; png_size_tp params_len; png_byte buf[10]; png_byte new_purpose[80]; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdi, %r15 cmpl $0x4, %r8d jge 0x22237 movl %r9d, %r12d movl %edx, 0x8(%rsp) movl %ecx, 0xc(%rsp) movl %r8d, 0x10(%rsp) leaq 0x40(%rsp), %rdx movq %r15, %rdi callq 0x1d74d testl %eax, %eax je 0x22240 movl %eax, %ebp movq 0xd8(%rsp),...
/hunter-packages[P]libpng/pngwutil.c
png_write_finish_row
void /* PRIVATE */ png_write_finish_row(png_structrp png_ptr) { #ifdef PNG_WRITE_INTERLACING_SUPPORTED /* Arrays to facilitate easy interlacing - use pass (0 - 6) as index */ /* Start of interlace block */ static const png_byte png_pass_start[7] = {0, 4, 0, 2, 0, 1, 0}; /* Offset to next interlace block *...
movl 0x214(%rdi), %eax incl %eax movl %eax, 0x214(%rdi) cmpl 0x200(%rdi), %eax jae 0x22581 retq cmpb $0x0, 0x26c(%rdi) je 0x22677 movl $0x0, 0x214(%rdi) testb $0x2, 0x134(%rdi) movb 0x26d(%rdi), %al jne 0x22630 pushq %rbp pushq %r14 pushq %rbx incb %al leaq 0xdb95(%rip), %r8 # 0x3014d leaq 0xdb87(%rip), %r10 ...
/hunter-packages[P]libpng/pngwutil.c
png_write_find_filter
void /* PRIVATE */ png_write_find_filter(png_structrp png_ptr, png_row_infop row_info) { #ifndef PNG_WRITE_FILTER_SUPPORTED png_write_filtered_row(png_ptr, png_ptr->row_buf, row_info->rowbytes+1); #else unsigned int filter_to_do = png_ptr->do_filter; png_bytep row_buf; png_bytep best_row; png_uint_32 bpp...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdi, %r13 movzbl 0x26e(%rdi), %r10d movq 0x8(%rsi), %rcx movq %rsi, 0x18(%rsp) movzbl 0x13(%rsi), %ebp leal 0x7(%rbp), %r9d movq 0x228(%rdi), %rdx movabsq $0x1ffffffffffffff, %rax # imm = 0x1FFFFFFFFFFFFFF cmpq %rax, %rcx jb 0x2296...
/hunter-packages[P]libpng/pngwutil.c
png_read_filter_row_avg4_sse2
void png_read_filter_row_avg4_sse2(png_row_infop row_info, png_bytep row, png_const_bytep prev) { /* The Avg filter predicts each pixel as the (truncated) average of a and b. * There's no pixel to the left of the first pixel. Luckily, it's * predicted to be half of the pixel above it. So again, this wor...
movq 0x8(%rdi), %rax addq $0x4, %rax cmpq $0x5, %rax jb 0x2325e pxor %xmm2, %xmm2 xorl %ecx, %ecx movdqa 0xd57b(%rip), %xmm0 # 0x307a0 movdqa %xmm2, %xmm1 movd (%rdx,%rcx), %xmm3 movd (%rsi,%rcx), %xmm4 pavgb %xmm3, %xmm1 pxor %xmm3, %xmm2 pand %xmm0, %xmm2 psubb %xmm2, %xmm1 paddb %xmm4, %xmm1 movd %xmm1, (%rsi,%r...
/hunter-packages[P]libpng/intel/filter_sse2_intrinsics.c
png_read_filter_row_paeth4_sse2
void png_read_filter_row_paeth4_sse2(png_row_infop row_info, png_bytep row, png_const_bytep prev) { /* Paeth tries to predict pixel d using the pixel to the left of it, a, * and two pixels from the previous row, b and c: * prev: c b * row: a d * The Paeth function predicts d to be whichever o...
movq 0x8(%rdi), %rax addq $0x4, %rax cmpq $0x5, %rax jb 0x234a9 pxor %xmm0, %xmm0 xorl %ecx, %ecx pxor %xmm1, %xmm1 pxor %xmm3, %xmm3 movd (%rdx,%rcx), %xmm2 punpcklbw %xmm0, %xmm2 # xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3],xmm2[4],xmm0[4],xmm2[5],xmm0[5],xmm2[6],xmm0[6],xmm2[7],xmm0[7]...
/hunter-packages[P]libpng/intel/filter_sse2_intrinsics.c
testing::TestCase::Run()
void TestCase::Run() { if (!should_run_) return; internal::UnitTestImpl* const impl = internal::GetUnitTestImpl(); impl->set_current_test_case(this); TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); repeater->OnTestCaseStart(*this); impl->os_stack_trace_getter()->UponLeaving...
cmpb $0x1, 0x60(%rdi) jne 0x27e72 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx callq 0x22226 movq 0x22d7b(%rip), %r14 # 0x4aa80 movq %rbx, 0xf0(%r14) callq 0x22226 movq 0x22d68(%rip), %rax # 0x4aa80 movq 0x170(%rax), %r15 movq (%r15), %rax movq %r15, %rdi mo...
/talonvoice[P]cubeb/googletest/src/gtest.cc
testing::(anonymous namespace)::PrintByteSegmentInObjectTo(unsigned char const*, unsigned long, unsigned long, std::ostream*)
void PrintByteSegmentInObjectTo(const unsigned char* obj_bytes, size_t start, size_t count, ostream* os) { char text[5] = ""; for (size_t i = 0; i != count; i++) { const size_t j = start + i; if (i != 0) { // Organizes the bytes into groups of 2 for easy parsing by ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movb $0x0, 0x14(%rsp) movl $0x0, 0x10(%rsp) testq %rdx, %rdx je 0x30317 movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 negq %r14 leaq 0x10(%rsp), %rbp xorl %r13d, %r13d subq $0x1, %r13 jb 0x302de testb $0x1, %r15b jne 0x...
/talonvoice[P]cubeb/googletest/src/gtest-printers.cc
testing::internal::StreamingListener::~StreamingListener()
virtual ~StreamingListener() { if (sockfd_ != -1) CloseConnection(); }
pushq %rbx movq %rdi, %rbx leaq 0x15013(%rip), %rax # 0x49cc0 movq %rax, (%rdi) cmpl $-0x1, 0x8(%rdi) je 0x34cbe movq %rbx, %rdi callq 0x354a6 movq 0x30(%rbx), %rdi leaq 0x40(%rbx), %rax cmpq %rax, %rdi je 0x34cd0 callq 0x17440 movq 0x10(%rbx), %rdi addq $0x20, %rbx cmpq %rbx, %rdi je 0x34ce3 popq %rbx jmp 0x17440 ...
/talonvoice[P]cubeb/googletest/src/gtest.cc
void Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_default>::rec_copy<true, true, Gudhi::Simplex_tree_siblings<Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_default>, boost::container::flat_map<int, Gudhi::Simplex_tree_node_explicit_storage<Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_default>>, std::less<int>, ...
void rec_copy(Siblings *sib, OtherSiblings *sib_source, F&& translate_filtration_value) { auto sh_source = sib_source->members().begin(); for (auto sh = sib->members().begin(); sh != sib->members().end(); ++sh, ++sh_source) { update_simplex_tree_after_node_insertion(sh); if (has_children(sh_source))...
pushq %rbp movq %rsp, %rbp subq $0x110, %rsp # imm = 0x110 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rax movq %rax, -0xc0(%rbp) movq -0x18(%rbp), %rdi callq 0x12460 movq %rax, %rsi leaq -0x28(%rbp), %rdi callq 0x12480 movq -0x10(%rbp), %rdi c...
/GUDHI[P]gudhi-devel/src/Simplex_tree/include/gudhi/Simplex_tree.h
Gudhi::Simplex_tree_siblings<Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_default>, boost::container::flat_map<int, Gudhi::Simplex_tree_node_explicit_storage<Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_default>>, std::less<int>, void>>::Simplex_tree_siblings<boost::range_detail::reversed_range<std::vector<std::p...
Simplex_tree_siblings(Simplex_tree_siblings * oncles, Vertex_handle parent, const RandomAccessVertexRange & members) : oncles_(oncles), parent_(parent), members_(boost::container::ordered_unique_range, members.begin(), members.end()) { for (auto& map_el : members_) { map...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x60(%rbp) movq -0x10(%rbp), %rcx movq %rcx, (%rax) movl -0x14(%rbp), %ecx movl %ecx, 0x8(%rax) addq $0x10, %rax movq %rax, -0x68(%rbp) movq -0x20(%rbp...
/GUDHI[P]gudhi-devel/src/Simplex_tree/include/gudhi/Simplex_tree/Simplex_tree_siblings.h
bool Gudhi::Simplex_tree<Simplex_tree_options_stable_simplex_handles>::operator==<Simplex_tree_options_stable_simplex_handles>(Gudhi::Simplex_tree<Simplex_tree_options_stable_simplex_handles> const&) const
bool operator==(const Simplex_tree<OtherSimplexTreeOptions>& st2) const { if ((null_vertex_ != st2.null_vertex_) || (dimension_ != st2.dimension_ && !dimension_to_be_lowered_ && !st2.dimension_to_be_lowered_)) return false; return rec_equal(&root_, &st2.root_); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x20(%rbp) movl 0x38(%rax), %eax movq -0x18(%rbp), %rcx cmpl 0x38(%rcx), %eax jne 0x53a74 movq -0x20(%rbp), %rax movl 0x88(%rax), %eax movq -0x18(%rbp), %rcx cmpl 0x88(%rcx), %eax je 0x53a7a movq...
/GUDHI[P]gudhi-devel/src/Simplex_tree/include/gudhi/Simplex_tree.h
Gudhi::Simplex_tree<Simplex_tree_options_stable_simplex_handles>::initialize_filtration(bool) const
void initialize_filtration(bool ignore_infinite_values = false) const { if (ignore_infinite_values){ initialize_filtration(is_before_in_totally_ordered_filtration(this), [&](Simplex_handle sh) -> bool { return filtration(sh) == Filtration_simplex_base_real::get_infinity(); }); } else { ...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movb %sil, %al movq %rdi, -0x8(%rbp) andb $0x1, %al movb %al, -0x9(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x38(%rbp) testb $0x1, -0x9(%rbp) je 0x5e862 movq -0x38(%rbp), %rsi leaq -0x18(%rbp), %rdi callq 0x5ea40 movq -0x38(%rbp), %rdi leaq -0x18(%rbp), %rsi leaq -0x19(%rbp), ...
/GUDHI[P]gudhi-devel/src/Simplex_tree/include/gudhi/Simplex_tree.h
void Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_default>::siblings_expansion_with_blockers<simplex_tree_expansion_with_blockers_2<Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_default>>::test_method()::'lambda'(boost::container::vec_iterator<std::pair<int, Gudhi::Simplex_tree_node_explicit_storage<Gudhi::Simplex...
void siblings_expansion_with_blockers(Siblings* siblings, int max_dim, int k, Blocker block_simplex) { if (dimension_ < max_dim - k) { dimension_ = max_dim - k; } if (k == 0) return; // No need to go deeper if (siblings->members().size() < 2) return; // Reverse loop starting be...
pushq %rbp movq %rsp, %rbp subq $0x550, %rsp # imm = 0x550 movq %r8, -0x8(%rbp) movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) movl %ecx, -0x20(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x498(%rbp) movl 0x80(%rax), %eax movl -0x1c(%rbp), %ecx subl -0x20(%rbp), %ecx cmpl %ecx, %eax jge 0x...
/GUDHI[P]gudhi-devel/src/Simplex_tree/include/gudhi/Simplex_tree.h
simplex_tree_expansion_with_blockers_2<Gudhi::Simplex_tree<Simplex_tree_options_stable_simplex_handles>>::test_method()
BOOST_AUTO_TEST_CASE_TEMPLATE(simplex_tree_expansion_with_blockers_2, typeST, list_of_tested_variants) { std::clog << "********************************************************************\n"; std::clog << "simplex_tree_expansion_with_blockers_2\n"; std::clog << "***************************************************...
pushq %rbp movq %rsp, %rbp subq $0x7b0, %rsp # imm = 0x7B0 movq %rdi, -0x8(%rbp) movq 0x70aaa(%rip), %rdi # 0xecf70 movq %rdi, -0x690(%rbp) leaq 0x26ddc(%rip), %rsi # 0xa32b0 movq %rsi, -0x688(%rbp) callq 0x5290 movq -0x690(%rbp), %rdi leaq 0x3638e(%rip), %rsi # 0xb287c callq 0x5290 movq -0x690(%...
/GUDHI[P]gudhi-devel/src/Simplex_tree/test/simplex_tree_graph_expansion_unit_test.cpp
Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_fast_persistence>::expansion(int)
void expansion(int max_dim) { if (max_dim <= 1) return; clear_filtration(); // Drop the cache. dimension_ = max_dim; for (Dictionary_it root_it = root_.members_.begin(); root_it != root_.members_.end(); ++root_it) { if (has_children(root_it)) { siblings_expansion(root_it->second.c...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x30(%rbp) cmpl $0x1, -0xc(%rbp) jg 0x920b2 jmp 0x92168 movq -0x30(%rbp), %rdi callq 0x92170 movq -0x30(%rbp), %rsi movl -0xc(%rbp), %eax movl %eax, 0x80(%rsi) addq $0x40, %rsi addq $0x10, %rsi leaq...
/GUDHI[P]gudhi-devel/src/Simplex_tree/include/gudhi/Simplex_tree.h
Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_full_featured>::siblings_expansion(Gudhi::Simplex_tree_siblings<Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_full_featured>, boost::container::map<int, Gudhi::Simplex_tree_node_explicit_storage<Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_full_featured>>, std::less<...
void siblings_expansion(Siblings * siblings, // must contain elements int k) { if (k >= 0 && dimension_ > k) { dimension_ = k; } if (k == 0) return; Dictionary_it next = siblings->members().begin(); ++next; for (Dictionary_it s_h = siblings->members().begi...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x38(%rbp) cmpl $0x0, -0x14(%rbp) jl 0x95f1d movq -0x38(%rbp), %rax movl 0x88(%rax), %eax cmpl -0x14(%rbp), %eax jle 0x95f1d movq -0x38(%rbp), %rax movl -0x14(%rbp), %ecx mov...
/GUDHI[P]gudhi-devel/src/Simplex_tree/include/gudhi/Simplex_tree.h
void Gudhi::Simplex_tree<Simplex_tree_options_stable_simplex_handles>::create_expansion<false>(Gudhi::Simplex_tree_siblings<Gudhi::Simplex_tree<Simplex_tree_options_stable_simplex_handles>, boost::container::map<int, Gudhi::Simplex_tree_node_explicit_storage<Gudhi::Simplex_tree<Simplex_tree_options_stable_simplex_handl...
void create_expansion(Siblings * siblings, Dictionary_it& s_h, Dictionary_it& next, const Filtration_value& fil, int k, std::vector<Simplex_handle>* added_simplices = nullptr) { Simplex_handle r...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq 0x10(%rbp), %rax movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movl %r9d, -0x2c(%rbp) movq -0x8(%rbp), %rax movq %rax, -0xa0(%rbp) movq -0x18(%rbp), %rdi callq 0x54450 movq -0xa0(%rbp), %rsi movl (%rax), ...
/GUDHI[P]gudhi-devel/src/Simplex_tree/include/gudhi/Simplex_tree.h
lace_steal
lace_steal(WorkerP *self, Task *__dq_head, Worker *victim) { if (victim != NULL && !victim->allstolen) { TailSplitNA ts; ts.v = victim->ts.v; if (ts.ts.tail < ts.ts.split) { TailSplitNA ts_new; ts_new.v = ts.v; ts_new.ts.tail++; if (atomic_comp...
pushq $0x2 popq %rax testq %rdx, %rdx je 0x1915 cmpb $0x0, 0x10(%rdx) je 0x1916 retq movq 0x8(%rdx), %rcx movq %rcx, %r8 shrq $0x20, %r8 cmpl %r8d, %ecx jae 0x1977 movabsq $-0x100000000, %rax # imm = 0xFFFFFFFF00000000 andq %rcx, %rax leal 0x1(%rcx), %r8d orq %rax, %r8 movq %rcx, %rax lock cmpxchgq %r8, 0x8(%rdx) j...
/trolando[P]lace/src/lace.h
lace_get_head
Task* lace_get_head(WorkerP *self) { Task *dq = self->dq; /* First check the first tasks linearly */ if (dq[0].thief == 0) return dq; if (dq[1].thief == 0) return dq+1; if (dq[2].thief == 0) return dq+2; if (dq[3].thief == 0) return dq+3; /* Then fast search for a low/high bound using powe...
movq (%rdi), %rax movq 0x8(%rax), %rcx testq %rcx, %rcx je 0x1a46 movq 0x48(%rax), %rcx testq %rcx, %rcx je 0x19ff movq 0x88(%rax), %rcx testq %rcx, %rcx je 0x1a04 movq 0xc8(%rax), %rcx testq %rcx, %rcx je 0x1a09 movq 0x10(%rdi), %rsi subq (%rdi), %rsi sarq $0x6, %rsi pushq $0x2 popq %rdx movq %rdx, %rcx addq %rdx, %rd...
/trolando[P]lace/src/lace.c
lace_pin_worker
void lace_pin_worker(void) { #if LACE_USE_HWLOC // Get our worker unsigned int worker = lace_get_worker()->worker; // Get our core (hwloc object) hwloc_obj_t pu = hwloc_get_obj_by_type(topo, HWLOC_OBJ_CORE, worker % n_cores); // Get our copy of the bitmap hwloc_cpuset_t bmp = hwloc_bitmap_dup(...
retq
/trolando[P]lace/src/lace.c
lace_run_task_exclusive
void lace_run_task_exclusive(Task *task) { // check if we are really not in a Lace thread WorkerP* self = lace_get_worker(); if (self != 0) { task->f(self, lace_get_head(self), task); } else { // if needed, wake up the workers lace_resume(); ExtTask et; et.task =...
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %fs:-0x8, %rbx movq %rdi, %r14 testq %rbx, %rbx je 0x1dda movq (%r14), %r15 movq %rbx, %rdi callq 0x19a2 movq %rax, %rsi movq %rbx, %rdi movq %r14, %rdx movq %r15, %rax addq $0x30, %rsp popq %rbx popq %r14 popq %r15 jmpq *%rax callq 0x1c35 leaq 0x10(%rsp), %rbx xor...
/trolando[P]lace/src/lace.c
lace_count_reset
void lace_count_reset() { #if LACE_COUNT_EVENTS unsigned int i; size_t j; for (i=0;i<n_workers;i++) { for (j=0;j<CTR_MAX;j++) { workers_p[i]->ctr[j] = 0; } } #if LACE_PIE_TIMES for (i=0;i<n_workers;i++) { workers_p[i]->time = gethrtime(); if (i != 0) wor...
retq
/trolando[P]lace/src/lace.c
lace_stop
void lace_stop() { // Workers need to be awake for this lace_resume(); // Do not stop if not all workers are running yet while (workers_running != n_workers) {} lace_quits = 1; while (workers_running != 0) {} #if LACE_COUNT_EVENTS lace_count_report_file(stdout); #endif // finally, d...
pushq %r15 pushq %r14 pushq %rbx callq 0x1c35 movl 0x2dd3(%rip), %eax # 0x52a4 cmpl 0x2ca9(%rip), %eax # 0x5180 jne 0x24cb pushq $0x1 popq %rax xchgl %eax, 0x2e62(%rip) # 0x5344 movl 0x2dbc(%rip), %eax # 0x52a4 testl %eax, %eax jne 0x24e2 movl 0x2d0e(%rip), %eax # 0x5200 testl %eax, %eax jne 0x...
/trolando[P]lace/src/lace.c
AlgorithmBase::AlgorithmBase(QObject*)
AlgorithmBase::AlgorithmBase(QObject *parent) : QThread{parent} , iterations_(0) , improvements_(0) , iterateTimer_(this) { iterateTimer_.setSingleShot(false); iterateTimer_.setInterval(0); connect(&iterateTimer_, &QTimer::timeout, this, &AlgorithmBase::Iterate, Qt::DirectConnection); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x30, %rsp movq %rdi, %rbx callq 0x96b0 leaq 0x24a564(%rip), %rax # 0x255f68 addq $0x10, %rax movq %rax, (%rbx) leaq 0x10(%rbx), %r14 movq %r14, %rdi callq 0x97c0 leaq 0x28(%rbx), %r15 movq %r15, %rdi callq 0x97c0 leaq 0x50(%rbx), %r12 xorps %xmm0, %xmm0 m...
/SebastianTroy[P]allRGB/AlgorithmBase.cpp
AlgorithmAreaAverageRgb::GetDescription()
QString AlgorithmAreaAverageRgb::GetDescription() { return "<p>Averages the colour in two zones in the RGB image and compares " "the average colour in the same zones in the target " "image. Then pixels are swapped between the zones to minimise RGB " "colour error</p>" "<...
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx leaq 0xabc7(%rip), %rdx # 0x16fc6 movq %rsp, %r14 movl $0x15c, %esi # imm = 0x15C movq %r14, %rdi callq 0x9520 movaps (%r14), %xmm0 movups %xmm0, (%rbx) movq 0x10(%r14), %rax movq %rax, 0x10(%rbx) movq %rbx, %rax addq $0x18, %rsp popq %rbx popq %r14...
/SebastianTroy[P]allRGB/AlgorithmAreaAverageRgb.cpp
AlgorithmAreaAverageRgb::GetAverageColourInArea(QImage const&, QPoint const&, int) const
QRgb AlgorithmAreaAverageRgb::GetAverageColourInArea(const QImage& image, const QPoint& location, int areaSize) const { int totalRed = 0; int totalGreen = 0; int totalBlue = 0; // Make our area surround the target point QPoint topLeft = QPoint(location.x() - (areaSize / 2), location.y() - (areaSize...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %ecx, %r15d movq %rsi, %r12 movl %ecx, %eax shrl $0x1f, %eax addl %ecx, %eax sarl %eax movl (%rdx), %ebx movl 0x4(%rdx), %r14d subl %eax, %ebx subl %eax, %r14d movq %rsi, %rdi callq 0x9210 movl %eax, %r13d subl %r15d, %r13d cmpl %eb...
/SebastianTroy[P]allRGB/AlgorithmAreaAverageRgb.cpp
AlgorithmSinglePixelSwapHsv::GetDescription()
QString AlgorithmSinglePixelSwapHsv::GetDescription() { return "<p>Randomly chooses two pixels, and swaps them if the total colour " "error would be less.</p>" "<p>First, the colour of each pixel is converted to the HSV " "colourspace, then the pixels are compared against the target...
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx leaq 0xa61e(%rip), %rdx # 0x171b5 movq %rsp, %r14 movl $0x26d, %esi # imm = 0x26D movq %r14, %rdi callq 0x9520 movaps (%r14), %xmm0 movups %xmm0, (%rbx) movq 0x10(%r14), %rax movq %rax, 0x10(%rbx) movq %rbx, %rax addq $0x18, %rsp popq %rbx popq %r14...
/SebastianTroy[P]allRGB/AlgorithmSinglePixelSwapHsv.cpp
AllRgbWidget::onResetPixelsRequested()
void AllRgbWidget::onResetPixelsRequested() { allRgb_ = QImage(4096, 4096, QImage::Format::Format_RGB32); ForEachPixel(allRgb_, [](QImage& target, int x, int y) { target.setPixel(x, y, x + (target.width() * y)); }); emit onAllRgbUpdated(allRgb_); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rdi, %rbx leaq 0x40(%rsp), %r15 movq %r15, %rdi movl $0x1000, %esi # imm = 0x1000 movl $0x1000, %edx # imm = 0x1000 movl $0x4, %ecx callq 0x9320 leaq 0x90(%rbx), %r14 movq %rsp, %r12 movq %r12, %rdi callq 0x9a30 movq 0x249d5b(%rip), ...
/SebastianTroy[P]allRGB/AllRgbWidget.cpp
AllRgbWidget::paintEvent(QPaintEvent*)
void AllRgbWidget::paintEvent(QPaintEvent* /*event*/) { QPainter p(this); p.save(); // centre the image around the origin TransformPainter(p); p.drawImage(QRectF(allRgb_.rect()).translated(allRgb_.rect().width() / -2, allRgb_.height() / -2), allRgb_, QRectF(allRgb_.rect())); p.restore(); /...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx leaq 0x10(%rdi), %rsi movq %rsp, %r14 movq %r14, %rdi callq 0x99d0 movq %r14, %rdi callq 0x9880 movq %rsp, %rsi movq %rbx, %rdi callq 0x14744 leaq 0x90(%rbx), %r14 movq %r14, %rdi callq 0x9060 movq %rax, %rbp movq %rdx, %...
/SebastianTroy[P]allRGB/AllRgbWidget.cpp
MainWindow::OpenImagePreviewWindow(QImage const&)
void MainWindow::OpenImagePreviewWindow(const QImage& toPreview) { QScrollArea* previewArea = new QScrollArea(nullptr); QLabel* previewImage = new QLabel(); previewImage->setPixmap(QPixmap::fromImage(toPreview)); previewArea->setWidget(previewImage); previewArea->showMaximized(); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rsi, %r15 movl $0x28, %edi callq 0x96d0 movq %rax, %rbx movq %rax, %rdi xorl %esi, %esi callq 0x90a0 movl $0x28, %edi callq 0x96d0 movq %rax, %r14 movq %rax, %rdi xorl %esi, %esi xorl %edx, %edx callq 0x9110 movq %rsp, %r12 movq %r12, %rdi movq %r15, %r...
/SebastianTroy[P]allRGB/MainWindow.cpp
mognetwork::protocol::BinaryProtocol::onReadTrigger()
Socket::Status BinaryProtocol::onReadTrigger() { std::size_t readed; char buffer[1024]; // Get the size of the packet if (m_pendingDatas.readed < sizeof(uint32_t)) { char* data = reinterpret_cast<char*>(&m_pendingDatas.totalSize) + m_pendingDatas.readed; Socket::Status status = m_soc...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x418, %rsp # imm = 0x418 movq %rdi, %rbx movq 0x10(%rdi), %rax leaq 0x18(%rdi), %r15 cmpq $0x4, %rax jae 0x9fba leaq (%r15,%rax), %rsi movq 0x8(%rbx), %rdi movl $0x4, %edx subq %rax, %rdx leaq 0x8(%rsp), %r14 movq %r14, %rcx xorl %r8d, %r8d callq 0x9420 movl...
/AlexMog[P]LibNet/src/BinaryProtocol.cpp
mognetwork::protocol::TextProtocol::flushReader()
void TextProtocol::flushReader() { m_pendingDatas = TcpSocket::ReadedDatas(); if (m_fullDatas != NULL) delete m_fullDatas; m_fullDatas = NULL; }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movq %rsp, %r14 movq %r14, %rdi callq 0x9080 movl 0x8(%r14), %eax movl %eax, 0x18(%rbx) movq (%r14), %rax movq %rax, 0x10(%rbx) leaq 0x20(%rbx), %rdi leaq 0x10(%rsp), %rsi callq 0x9a00 movq 0x10(%rsp), %rdi testq %rdi, %rdi je 0xa4be callq 0x94f0 movq 0x38(%rbx), %...
/AlexMog[P]LibNet/src/TextProtocol.cpp
mognetwork::protocol::TextProtocol::onReadAllTrigger(std::vector<char, std::allocator<char>>&)
Socket::Status TextProtocol::onReadAllTrigger(TcpSocket::Data& data) { bool received = false; while (!received) { std::size_t readed; char buffer[1024]; Socket::Status status = m_socket->receive(buffer, 1023, readed, 0); if (status != Socket::Ok) return status; buffer[readed++]...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x418, %rsp # imm = 0x418 movq %rsi, %r14 movq %rdi, %rbx movq 0x8(%rdi), %rdi leaq 0x10(%rsp), %rsi movq %rsp, %rcx movl $0x3ff, %edx # imm = 0x3FF xorl %r8d, %r8d callq 0x9420 testl %eax, %eax jne 0xa89f movq %r14, 0x8(%rsp)...
/AlexMog[P]LibNet/src/TextProtocol.cpp
mognetwork::LibNetworkException::~LibNetworkException()
virtual ~LibNetworkException() throw() {}
pushq %rbx movq %rdi, %rbx movq 0x9317(%rip), %rax # 0x13f20 addq $0x10, %rax movq %rax, (%rdi) movq 0x8(%rdi), %rdi leaq 0x18(%rbx), %rax cmpq %rax, %rdi je 0xac22 callq 0x94f0 movq %rbx, %rdi popq %rbx jmp 0x99a0
/AlexMog[P]LibNet/include/mognetwork/LibNetworkException.hh
mognetwork::IpAddress::resolve()
void IpAddress::resolve() { if (m_sAddress == "255.255.255.255") m_address = INADDR_BROADCAST; else { uint32_t ip = inet_addr(m_sAddress.c_str()); if (ip != INADDR_NONE) m_address = ip; else { addrinfo hints; memset(&hints, 0, sizeof(hints)); hints.ai_family = AF_INET; ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx leaq 0x8(%rdi), %r14 leaq 0x42dc(%rip), %rsi # 0xf216 movq %r14, %rdi callq 0x9180 testl %eax, %eax je 0xaf58 movq (%r14), %rdi callq 0x9550 cmpl $-0x1, %eax je 0xaf61 movl %eax, 0x28(%rbx) jmp 0xafb8 movl $0xffffffff, 0x28(%rbx) # imm = ...
/AlexMog[P]LibNet/src/IpAddress.cpp