name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
CopyLiteralsToByteArray
static void CopyLiteralsToByteArray(const Command* cmds, const size_t num_commands, const uint8_t* data, const size_t offset, const size_t mask, ...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) movq $0x0, -0x40(%rbp) movq -0x28(%rbp), %rax andq -0x30(%rbp), %rax movq %rax, -0x48(%rbp) movq $0x0, -0x50(%rbp) movq -0x50(%rbp), %rax cm...
/interiorem[P]lepton/dependencies/brotli/c/enc/block_splitter.c
InitialEntropyCodesLiteral
static void FN(InitialEntropyCodes)(const DataType* data, size_t length, size_t stride, size_t num_histograms, HistogramType* histograms) { unsigned int seed = 7; size_t block_length = length / num_histograms...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x48(%rbp) movq %rsi, -0x50(%rbp) movq %rdx, -0x58(%rbp) movq %rcx, -0x60(%rbp) movq %r8, -0x68(%rbp) movl $0x7, -0x6c(%rbp) movq -0x50(%rbp), %rax xorl %ecx, %ecx movl %ecx, %edx divq -0x60(%rbp) movq %rax, -0x78(%rbp) movq -0x68(%rbp), %rcx movq -0x60(%rbp), %ra...
/interiorem[P]lepton/dependencies/brotli/c/enc/./block_splitter_inc.h
RandomSampleCommand
static void FN(RandomSample)(unsigned int* seed, const DataType* data, size_t length, size_t stride, HistogramType* sample) { size_t pos = 0; if (stride >= length) { pos = 0; stride = length; ...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x28(%rbp) movq %rsi, -0x30(%rbp) movq %rdx, -0x38(%rbp) movq %rcx, -0x40(%rbp) movq %r8, -0x48(%rbp) movq $0x0, -0x50(%rbp) movq -0x40(%rbp), %rax cmpq -0x38(%rbp), %rax jb 0x4e2eec movq $0x0, -0x50(%rbp) movq -0x38(%rbp), %rax movq %rax, -0x40(%rbp) jmp 0x4e2f2e movq -0x28(%rbp)...
/interiorem[P]lepton/dependencies/brotli/c/enc/./block_splitter_inc.h
RefineEntropyCodesDistance
static void FN(RefineEntropyCodes)(const DataType* data, size_t length, size_t stride, size_t num_histograms, HistogramType* histograms) { size_t iters = kIterMulForRefining * length / stride + kMinItersForR...
pushq %rbp movq %rsp, %rbp subq $0x8a0, %rsp # imm = 0x8A0 movq %rdi, -0x28(%rbp) movq %rsi, -0x30(%rbp) movq %rdx, -0x38(%rbp) movq %rcx, -0x40(%rbp) movq %r8, -0x48(%rbp) movq -0x30(%rbp), %rax shlq %rax xorl %ecx, %ecx movl %ecx, %edx divq -0x38(%rbp) addq $0x64, %rax movq %rax, -0x50(%rbp) movl $0x7, -0x...
/interiorem[P]lepton/dependencies/brotli/c/enc/./block_splitter_inc.h
BrotliStoreHuffmanTree
void BrotliStoreHuffmanTree(const uint8_t* depths, size_t num, HuffmanTree* tree, size_t *storage_ix, uint8_t *storage) { /* Write the Huffman tree into the brotli-representation. The command alphabet is the largest, so this allocation will fit all alp...
pushq %rbp movq %rsp, %rbp subq $0x670, %rsp # imm = 0x670 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq $0x0, -0x5b8(%rbp) leaq -0x5d0(%rbp), %rdi xorl %esi, %esi movl $0x12, %edx callq 0x401090 leaq -0x650(%rbp), %rdi xorl %esi, %esi m...
/interiorem[P]lepton/dependencies/brotli/c/enc/brotli_bit_stream.c
InitBlockEncoder
static void InitBlockEncoder(BlockEncoder* self, size_t alphabet_size, size_t num_block_types, const uint8_t* block_types, const uint32_t* block_lengths, const size_t num_blocks) { self->alphabet_size_ = alphabet_size; self->num_block_types_ = num_block_types; self->block_types_ = block_types; self->blo...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movq -0x10(%rbp), %rcx movq -0x8(%rbp), %rax movq %rcx, (%rax) movq -0x18(%rbp), %rcx movq -0x8(%rbp), %rax movq %rcx, 0x8(%rax) movq -0x20(%...
/interiorem[P]lepton/dependencies/brotli/c/enc/brotli_bit_stream.c
EncodeContextMap
static void EncodeContextMap(MemoryManager* m, const uint32_t* context_map, size_t context_map_size, size_t num_clusters, HuffmanTree* tree, size_t* storage_ix, uint8_t* stora...
pushq %rbp movq %rsp, %rbp subq $0x920, %rsp # imm = 0x920 movq 0x10(%rbp), %rax movq %rdi, -0x148(%rbp) movq %rsi, -0x150(%rbp) movq %rdx, -0x158(%rbp) movq %rcx, -0x160(%rbp) movq %r8, -0x168(%rbp) movq %r9, -0x170(%rbp) movl $0x6, -0x184(%rbp) movq $0x0, -0x190(%rbp) movq -0x160(%rbp), %rdi subq $0x1, %rd...
/interiorem[P]lepton/dependencies/brotli/c/enc/brotli_bit_stream.c
BuildAndStoreEntropyCodesCommand
static void FN(BuildAndStoreEntropyCodes)(MemoryManager* m, BlockEncoder* self, const HistogramType* histograms, const size_t histograms_size, HuffmanTree* tree, size_t* storage_ix, uint8_t* storage) { const size_t alphabet_size = self->alphabet_size_; const size_t table_size = histograms_size * alphabet_si...
pushq %rbp movq %rsp, %rbp subq $0x70, %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) movq %r9, -0x30(%rbp) movq -0x10(%rbp), %rax movq (%rax), %rax movq %rax, -0x38(%rbp) movq -0x20(%rbp), %rax imulq -0x38(%rbp), %rax movq %ra...
/interiorem[P]lepton/dependencies/brotli/c/enc/./block_encoder_inc.h
StoreSymbolWithContext
static void StoreSymbolWithContext(BlockEncoder* self, size_t symbol, size_t context, const uint32_t* context_map, size_t* storage_ix, uint8_t* storage, const size_t context_bits) { if (self->block_len_ == 0) { size_t block_ix = ++self->block_ix_; uint32_t block_len = self->block_lengths_[block_ix]; ...
pushq %rbp movq %rsp, %rbp subq $0x1e0, %rsp # imm = 0x1E0 movq 0x10(%rbp), %rax movq %rdi, -0x188(%rbp) movq %rsi, -0x190(%rbp) movq %rdx, -0x198(%rbp) movq %rcx, -0x1a0(%rbp) movq %r8, -0x1a8(%rbp) movq %r9, -0x1b0(%rbp) movq -0x188(%rbp), %rax cmpq $0x0, 0x398(%rax) jne 0x4eb762 movq -0x188(%rbp), %rcx mo...
/interiorem[P]lepton/dependencies/brotli/c/enc/brotli_bit_stream.c
BuildAndStoreHuffmanTree
static void BuildAndStoreHuffmanTree(const uint32_t *histogram, const size_t length, HuffmanTree* tree, uint8_t* depth, uint16_t* bits, ...
pushq %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movq 0x10(%rbp), %rax movq %rdi, -0x88(%rbp) movq %rsi, -0x90(%rbp) movq %rdx, -0x98(%rbp) movq %rcx, -0xa0(%rbp) movq %r8, -0xa8(%rbp) movq %r9, -0xb0(%rbp) movq $0x0, -0xb8(%rbp) leaq -0xe0(%rbp), %rdi xorl %esi, %esi movl $0x20, %edx callq 0x40109...
/interiorem[P]lepton/dependencies/brotli/c/enc/brotli_bit_stream.c
BrotliStoreUncompressedMetaBlock
void BrotliStoreUncompressedMetaBlock(BROTLI_BOOL is_final_block, const uint8_t * BROTLI_RESTRICT input, size_t position, size_t mask, size_t len, size_t * BROTLI_RESTR...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq 0x10(%rbp), %rax movl %edi, -0x94(%rbp) movq %rsi, -0xa0(%rbp) movq %rdx, -0xa8(%rbp) movq %rcx, -0xb0(%rbp) movq %r8, -0xb8(%rbp) movq %r9, -0xc0(%rbp) movq -0xa8(%rbp), %rax andq -0xb0(%rbp), %rax movq %rax, -0xc8(%rbp) movq -0xb8(%rbp), %rdi movq -0xc0(%rbp), %rsi mov...
/interiorem[P]lepton/dependencies/brotli/c/enc/brotli_bit_stream.c
BuildAndStoreBlockSplitCode
static void BuildAndStoreBlockSplitCode(const uint8_t* types, const uint32_t* lengths, const size_t num_blocks, const size_t num_types, HuffmanTree* tree, ...
pushq %rbp movq %rsp, %rbp subq $0x660, %rsp # imm = 0x660 movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x168(%rbp) movq %rsi, -0x170(%rbp) movq %rdx, -0x178(%rbp) movq %rcx, -0x180(%rbp) movq %r8, -0x188(%rbp) movq %r9, -0x190(%rbp) leaq -0x5a0(%rbp), %rdi movq -0x180(%rbp), %rdx addq $0x2, %rdx ...
/interiorem[P]lepton/dependencies/brotli/c/enc/brotli_bit_stream.c
RunLengthCodeZeros
static void RunLengthCodeZeros(const size_t in_size, uint32_t* BROTLI_RESTRICT v, size_t* BROTLI_RESTRICT out_size, uint32_t* BROTLI_RESTRICT max_run_length_prefix) { uint32_t max_reps = 0; size_t i; uint32_t max_prefix; for (i = 0; i < in_size;) { uint32_t reps = 0; for (; i < in_size && v[i] !...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x28(%rbp) movq %rsi, -0x30(%rbp) movq %rdx, -0x38(%rbp) movq %rcx, -0x40(%rbp) movl $0x0, -0x44(%rbp) movq $0x0, -0x50(%rbp) movq -0x50(%rbp), %rax cmpq -0x28(%rbp), %rax jae 0x4ef049 movl $0x0, -0x58(%rbp) movq -0x50(%rbp), %rcx xorl %eax, %eax cmpq -0x28(%rbp),...
/interiorem[P]lepton/dependencies/brotli/c/enc/brotli_bit_stream.c
BrotliPopulationCostCommand
double FN(BrotliPopulationCost)(const HistogramType* histogram) { static const double kOneSymbolHistogramCost = 12; static const double kTwoSymbolHistogramCost = 20; static const double kThreeSymbolHistogramCost = 28; static const double kFourSymbolHistogramCost = 37; const size_t data_size = FN(HistogramData...
pushq %rbp movq %rsp, %rbp subq $0x210, %rsp # imm = 0x210 movq %rdi, -0xd0(%rbp) movq $0x2c0, -0xd8(%rbp) # imm = 0x2C0 movl $0x0, -0xdc(%rbp) xorps %xmm0, %xmm0 movsd %xmm0, -0x118(%rbp) movq -0xd0(%rbp), %rax cmpq $0x0, 0xb00(%rax) jne 0x4f0ef8 movsd 0x239bd5(%rip), %xmm0 # 0x72aac0 movsd %xmm0, -0xc8(%...
/interiorem[P]lepton/dependencies/brotli/c/enc/./bit_cost_inc.h
CreateBackwardReferencesNH2
static BROTLI_NOINLINE void EXPORT_FN(CreateBackwardReferences)( const BrotliDictionary* dictionary, const uint16_t* dictionary_hash, size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, const BrotliEncoderParams* params, HasherHandle hasher, int* dist_cache, size_t*...
pushq %rbp movq %rsp, %rbp subq $0xbe0, %rsp # imm = 0xBE0 movq 0x40(%rbp), %rax movq 0x38(%rbp), %rax movq 0x30(%rbp), %rax movq 0x28(%rbp), %rax movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0xa48(%rbp) movq %rsi, -0xa50(%rbp) movq %rdx, -0xa58(%rbp) movq %rcx, -0xa60(%rbp) ...
/interiorem[P]lepton/dependencies/brotli/c/enc/./backward_references_inc.h
CreateBackwardReferencesNH40
static BROTLI_NOINLINE void EXPORT_FN(CreateBackwardReferences)( const BrotliDictionary* dictionary, const uint16_t* dictionary_hash, size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, const BrotliEncoderParams* params, HasherHandle hasher, int* dist_cache, size_t*...
pushq %rbp movq %rsp, %rbp subq $0xde8, %rsp # imm = 0xDE8 movq 0x40(%rbp), %rax movq 0x38(%rbp), %rax movq 0x30(%rbp), %rax movq 0x28(%rbp), %rax movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0xce8(%rbp) movq %rsi, -0xcf0(%rbp) movq %rdx, -0xcf8(%rbp) movq %rcx, -0xd00(%rbp) ...
/interiorem[P]lepton/dependencies/brotli/c/enc/./backward_references_inc.h
CreateBackwardReferencesNH41
static BROTLI_NOINLINE void EXPORT_FN(CreateBackwardReferences)( const BrotliDictionary* dictionary, const uint16_t* dictionary_hash, size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, const BrotliEncoderParams* params, HasherHandle hasher, int* dist_cache, size_t*...
pushq %rbp movq %rsp, %rbp subq $0xde8, %rsp # imm = 0xDE8 movq 0x40(%rbp), %rax movq 0x38(%rbp), %rax movq 0x30(%rbp), %rax movq 0x28(%rbp), %rax movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0xce8(%rbp) movq %rsi, -0xcf0(%rbp) movq %rdx, -0xcf8(%rbp) movq %rcx, -0xd00(%rbp) ...
/interiorem[P]lepton/dependencies/brotli/c/enc/./backward_references_inc.h
CreateBackwardReferencesNH42
static BROTLI_NOINLINE void EXPORT_FN(CreateBackwardReferences)( const BrotliDictionary* dictionary, const uint16_t* dictionary_hash, size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, const BrotliEncoderParams* params, HasherHandle hasher, int* dist_cache, size_t*...
pushq %rbp movq %rsp, %rbp subq $0xde8, %rsp # imm = 0xDE8 movq 0x40(%rbp), %rax movq 0x38(%rbp), %rax movq 0x30(%rbp), %rax movq 0x28(%rbp), %rax movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0xce8(%rbp) movq %rsi, -0xcf0(%rbp) movq %rdx, -0xcf8(%rbp) movq %rcx, -0xd00(%rbp) ...
/interiorem[P]lepton/dependencies/brotli/c/enc/./backward_references_inc.h
SaveErrorCode
static BROTLI_NOINLINE BrotliDecoderResult SaveErrorCode( BrotliDecoderState* s, BrotliDecoderErrorCode e) { s->error_code = (int)e; switch (e) { case BROTLI_DECODER_SUCCESS: return BROTLI_DECODER_RESULT_SUCCESS; case BROTLI_DECODER_NEEDS_MORE_INPUT: return BROTLI_DECODER_RESULT_NEEDS_MORE_I...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movl -0x14(%rbp), %ecx movq -0x10(%rbp), %rax movl %ecx, 0x74(%rax) movl -0x14(%rbp), %eax movl %eax, -0x18(%rbp) subl $0x1, %eax je 0x512ea6 jmp 0x512e92 movl -0x18(%rbp), %eax subl $0x2, %eax je 0x512eaf jmp 0x512e9c movl -0x18(%rbp), %eax subl ...
/interiorem[P]lepton/dependencies/brotli/c/dec/decode.c
DecodeMetaBlockLength
static BrotliDecoderErrorCode BROTLI_NOINLINE DecodeMetaBlockLength( BrotliDecoderState* s, BrotliBitReader* br) { uint32_t bits; int i; for (;;) { switch (s->substate_metablock_header) { case BROTLI_STATE_METABLOCK_HEADER_NONE: if (!BrotliSafeReadBits(br, 1, &bits)) { return BROTL...
pushq %rbp movq %rsp, %rbp subq $0x348, %rsp # imm = 0x348 movq %rdi, -0x390(%rbp) movq %rsi, -0x398(%rbp) movq -0x390(%rbp), %rax movl 0x13bc(%rax), %eax movq %rax, -0x3a8(%rbp) subq $0x7, %rax ja 0x5145eb movq -0x3a8(%rbp), %rax leaq 0x217d37(%rip), %rcx # 0x72b06c movslq (%rcx,%rax,4), %rax addq %rcx, ...
/interiorem[P]lepton/dependencies/brotli/c/dec/decode.c
CopyUncompressedBlockToOutput
static BrotliDecoderErrorCode BROTLI_NOINLINE CopyUncompressedBlockToOutput( size_t* available_out, uint8_t** next_out, size_t* total_out, BrotliDecoderState* s) { /* TODO: avoid allocation for single uncompressed block. */ if (!BrotliEnsureRingBuffer(s)) { return BROTLI_FAILURE(BROTLI_DECODER_ERROR_ALL...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x58(%rbp) movq %rsi, -0x60(%rbp) movq %rdx, -0x68(%rbp) movq %rcx, -0x70(%rbp) movq -0x70(%rbp), %rdi callq 0x516910 cmpl $0x0, %eax jne 0x514755 movl $0xffffffe6, -0x4c(%rbp) # imm = 0xFFFFFFE6 jmp 0x5149b5 jmp 0x514757 movq -0x70(%rbp), %rax movl 0x13c8(%rax), ...
/interiorem[P]lepton/dependencies/brotli/c/dec/decode.c
DecodeVarLenUint8
static BROTLI_NOINLINE BrotliDecoderErrorCode DecodeVarLenUint8( BrotliDecoderState* s, BrotliBitReader* br, uint32_t* value) { uint32_t bits; switch (s->substate_decode_uint8) { case BROTLI_STATE_DECODE_UINT8_NONE: if (BROTLI_PREDICT_FALSE(!BrotliSafeReadBits(br, 1, &bits))) { return BROTLI_D...
pushq %rbp movq %rsp, %rbp subq $0x108, %rsp # imm = 0x108 movq %rdi, -0x160(%rbp) movq %rsi, -0x168(%rbp) movq %rdx, -0x170(%rbp) movq -0x160(%rbp), %rax movl 0x13d0(%rax), %eax movl %eax, -0x178(%rbp) testl %eax, %eax je 0x514a2e jmp 0x514a09 movl -0x178(%rbp), %eax subl $0x1, %eax je 0x514c10 jmp 0x514a1a...
/interiorem[P]lepton/dependencies/brotli/c/dec/decode.c
ReadCodeLengthCodeLengths
static BrotliDecoderErrorCode ReadCodeLengthCodeLengths(BrotliDecoderState* s) { BrotliBitReader* br = &s->br; uint32_t num_codes = s->repeat; unsigned space = s->space; uint32_t i = s->sub_loop_counter; for (; i < BROTLI_CODE_LENGTH_CODES; ++i) { const uint8_t code_len_idx = kCodeLengthCodeOrder[i]; ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x78(%rbp) movq -0x78(%rbp), %rax addq $0x8, %rax movq %rax, -0x80(%rbp) movq -0x78(%rbp), %rax movl 0x19c(%rax), %eax movl %eax, -0x84(%rbp) movq -0x78(%rbp), %rax movl 0x1a0(%rax), %eax movl %eax, -0x88(%rbp) movq -0x78(%rbp), %rax movl 0x78(%rax), %eax movl %ea...
/interiorem[P]lepton/dependencies/brotli/c/dec/decode.c
ReadSymbolCodeLengths
static BrotliDecoderErrorCode ReadSymbolCodeLengths( uint32_t alphabet_size, BrotliDecoderState* s) { BrotliBitReader* br = &s->br; uint32_t symbol = s->symbol; uint32_t repeat = s->repeat; uint32_t space = s->space; uint32_t prev_code_len = s->prev_code_len; uint32_t repeat_code_len = s->repeat_code_le...
pushq %rbp movq %rsp, %rbp subq $0x1a0, %rsp # imm = 0x1A0 movl %edi, -0x138(%rbp) movq %rsi, -0x140(%rbp) movq -0x140(%rbp), %rax addq $0x8, %rax movq %rax, -0x148(%rbp) movq -0x140(%rbp), %rax movl 0x198(%rax), %eax movl %eax, -0x14c(%rbp) movq -0x140(%rbp), %rax movl 0x19c(%rax), %eax movl %eax, -0x150(%r...
/interiorem[P]lepton/dependencies/brotli/c/dec/decode.c
SafeReadSymbolCodeLengths
static BrotliDecoderErrorCode SafeReadSymbolCodeLengths( uint32_t alphabet_size, BrotliDecoderState* s) { BrotliBitReader* br = &s->br; BROTLI_BOOL get_byte = BROTLI_FALSE; while (s->symbol < alphabet_size && s->space > 0) { const HuffmanCode* p = s->table; uint32_t code_len; uint32_t available_bi...
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx subq $0xb8, %rsp movl %edi, -0x108(%rbp) movq %rsi, -0x110(%rbp) movq -0x110(%rbp), %rax addq $0x8, %rax movq %rax, -0x118(%rbp) movl $0x0, -0x11c(%rbp) movq -0x110(%rbp), %rax movl 0x198(%rax), %ecx xorl %eax, %eax cmpl -0x108(%rbp), %ecx movb %al, -0x13d(%rbp) jae 0x52...
/interiorem[P]lepton/dependencies/brotli/c/dec/decode.c
DecodeCommandBlockSwitch
static void BROTLI_NOINLINE DecodeCommandBlockSwitch(BrotliDecoderState* s) { DecodeCommandBlockSwitchInternal(0, s); }
pushq %rbp movq %rsp, %rbp subq $0x490, %rsp # imm = 0x490 movq %rdi, -0x468(%rbp) movq -0x468(%rbp), %rax movl $0x0, -0x458(%rbp) movq %rax, -0x460(%rbp) movl -0x458(%rbp), %ecx movq -0x460(%rbp), %rax movl %ecx, -0x3f4(%rbp) movq %rax, -0x400(%rbp) movl $0x1, -0x404(%rbp) movq -0x400(%rbp), %rax movslq -0x...
/interiorem[P]lepton/dependencies/brotli/c/dec/decode.c
SafeDecodeLiteralBlockSwitch
static BROTLI_BOOL BROTLI_NOINLINE SafeDecodeLiteralBlockSwitch( BrotliDecoderState* s) { return DecodeLiteralBlockSwitchInternal(1, s); }
pushq %rbp movq %rsp, %rbp subq $0x4b0, %rsp # imm = 0x4B0 movq %rdi, -0x488(%rbp) movq -0x488(%rbp), %rax movl $0x1, -0x478(%rbp) movq %rax, -0x480(%rbp) movl -0x478(%rbp), %ecx movq -0x480(%rbp), %rax movl %ecx, -0x3f4(%rbp) movq %rax, -0x400(%rbp) movl $0x0, -0x404(%rbp) movq -0x400(%rbp), %rax movslq -0x...
/interiorem[P]lepton/dependencies/brotli/c/dec/decode.c
SafeDecodeDistanceBlockSwitch
static BROTLI_BOOL BROTLI_NOINLINE SafeDecodeDistanceBlockSwitch( BrotliDecoderState* s) { return DecodeDistanceBlockSwitchInternal(1, s); }
pushq %rbp movq %rsp, %rbp subq $0x490, %rsp # imm = 0x490 movq %rdi, -0x468(%rbp) movq -0x468(%rbp), %rax movl $0x1, -0x458(%rbp) movq %rax, -0x460(%rbp) movl -0x458(%rbp), %ecx movq -0x460(%rbp), %rax movl %ecx, -0x3f4(%rbp) movq %rax, -0x400(%rbp) movl $0x2, -0x404(%rbp) movq -0x400(%rbp), %rax movslq -0x...
/interiorem[P]lepton/dependencies/brotli/c/dec/decode.c
DecodeDistanceBlockSwitch
static void BROTLI_NOINLINE DecodeDistanceBlockSwitch(BrotliDecoderState* s) { DecodeDistanceBlockSwitchInternal(0, s); }
pushq %rbp movq %rsp, %rbp subq $0x490, %rsp # imm = 0x490 movq %rdi, -0x468(%rbp) movq -0x468(%rbp), %rax movl $0x0, -0x458(%rbp) movq %rax, -0x460(%rbp) movl -0x458(%rbp), %ecx movq -0x460(%rbp), %rax movl %ecx, -0x3f4(%rbp) movq %rax, -0x400(%rbp) movl $0x2, -0x404(%rbp) movq -0x400(%rbp), %rax movslq -0x...
/interiorem[P]lepton/dependencies/brotli/c/dec/decode.c
BrotliInitMemoryManager
void BrotliInitMemoryManager( MemoryManager* m, brotli_alloc_func alloc_func, brotli_free_func free_func, void* opaque) { if (!alloc_func) { m->alloc_func = DefaultAllocFunc; m->free_func = DefaultFreeFunc; m->opaque = 0; } else { m->alloc_func = alloc_func; m->free_func = free_func; ...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) cmpq $0x0, -0x10(%rbp) jne 0x52b8b6 movq -0x8(%rbp), %rax leaq 0x4a(%rip), %rcx # 0x52b8e0 movq %rcx, (%rax) movq -0x8(%rbp), %rax leaq 0x5c(%rip), %rcx # 0x52b900 movq %rcx, 0x8(%rax) mov...
/interiorem[P]lepton/dependencies/brotli/c/enc/memory.c
BrotliWriteHuffmanTreeRepetitions
static void BrotliWriteHuffmanTreeRepetitions( const uint8_t previous_value, const uint8_t value, size_t repetitions, size_t* tree_size, uint8_t* tree, uint8_t* extra_bits_data) { assert(repetitions > 0); if (previous_value != value) { tree[*tree_size] = value; extra_bits_data[*tree_...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movb %sil, %al movb %dil, %sil movb %sil, -0x1(%rbp) movb %al, -0x2(%rbp) movq %rdx, -0x10(%rbp) movq %rcx, -0x18(%rbp) movq %r8, -0x20(%rbp) movq %r9, -0x28(%rbp) cmpq $0x0, -0x10(%rbp) jbe 0x52cace jmp 0x52caed leaq 0x21e918(%rip), %rdi # 0x74b3ed leaq 0x21e864(%rip), %r...
/interiorem[P]lepton/dependencies/brotli/c/enc/entropy_encode.c
Reverse
static void Reverse(uint8_t* v, size_t start, size_t end) { --end; while (start < end) { uint8_t tmp = v[start]; v[start] = v[end]; v[end] = tmp; ++start; --end; } }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x18(%rbp), %rax addq $-0x1, %rax movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rax cmpq -0x18(%rbp), %rax jae 0x52ceb2 movq -0x8(%rbp), %rax movq -0x10(%rbp), %rcx movb (%rax,%rcx), %al movb %al, -0x19(%rbp) movq -0x8(%rbp...
/interiorem[P]lepton/dependencies/brotli/c/enc/entropy_encode.c
BrotliCompressFragmentFastImpl9
void BrotliCompressFragmentFast( MemoryManager* m, const uint8_t* input, size_t input_size, BROTLI_BOOL is_last, int* table, size_t table_size, uint8_t cmd_depth[128], uint16_t cmd_bits[128], size_t* cmd_code_numbits, uint8_t* cmd_code, size_t* storage_ix, uint8_t* storage) { const size_t initial_stor...
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx subq $0x1bd0, %rsp # imm = 0x1BD0 movq 0x30(%rbp), %rax movq 0x28(%rbp), %rax movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x1b88(%rbp) movq %rsi, -0x1b90(%rbp) movq %rdx, -0x1b98(%rbp) movl %ecx, -0x1b9c(%rbp) movq %r8, -0x1ba8...
/interiorem[P]lepton/dependencies/brotli/c/enc/compress_fragment.c
BrotliCompressFragmentFastImpl15
void BrotliCompressFragmentFast( MemoryManager* m, const uint8_t* input, size_t input_size, BROTLI_BOOL is_last, int* table, size_t table_size, uint8_t cmd_depth[128], uint16_t cmd_bits[128], size_t* cmd_code_numbits, uint8_t* cmd_code, size_t* storage_ix, uint8_t* storage) { const size_t initial_stor...
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx subq $0x1bd0, %rsp # imm = 0x1BD0 movq 0x30(%rbp), %rax movq 0x28(%rbp), %rax movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x1b88(%rbp) movq %rsi, -0x1b90(%rbp) movq %rdx, -0x1b98(%rbp) movl %ecx, -0x1b9c(%rbp) movq %r8, -0x1ba8...
/interiorem[P]lepton/dependencies/brotli/c/enc/compress_fragment.c
BuildAndStoreLiteralPrefixCode
static size_t BuildAndStoreLiteralPrefixCode(MemoryManager* m, const uint8_t* input, const size_t input_size, uint8_t depths[256], uint16_t ...
pushq %rbp movq %rsp, %rbp subq $0x480, %rsp # imm = 0x480 movq 0x10(%rbp), %rax movq %rdi, -0x18(%rbp) movq %rsi, -0x20(%rbp) movq %rdx, -0x28(%rbp) movq %rcx, -0x30(%rbp) movq %r8, -0x38(%rbp) movq %r9, -0x40(%rbp) leaq -0x440(%rbp), %rdi xorl %esi, %esi movl $0x400, %edx # imm = 0x400 callq 0x4...
/interiorem[P]lepton/dependencies/brotli/c/enc/compress_fragment.c
BuildAndStoreCommandPrefixCode
static void BuildAndStoreCommandPrefixCode(const uint32_t histogram[128], uint8_t depth[128], uint16_t bits[128], size_t* storage_ix, uint8_t* storage) { /* Tree size for building a tree over 64 symbols is 2 * 64 + 1. */ HuffmanTree tree[129]; uint8_t cmd_depth[BROTLI_NUM_COMMAND_SYMBOLS] = { 0 }; uint1...
pushq %rbp movq %rsp, %rbp subq $0x780, %rsp # imm = 0x780 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) leaq -0x6f0(%rbp), %rdi xorl %esi, %esi movl $0x2c0, %edx # imm = 0x2C0 callq 0x401090 movq -0x8(%rbp), %rdi leaq -0x430(%rbp)...
/interiorem[P]lepton/dependencies/brotli/c/enc/compress_fragment.c
BrotliParseAsUTF8
static size_t BrotliParseAsUTF8( int* symbol, const uint8_t* input, size_t size) { /* ASCII */ if ((input[0] & 0x80) == 0) { *symbol = input[0]; if (*symbol > 0) { return 1; } } /* 2-byte UTF8 */ if (size > 1u && (input[0] & 0xe0) == 0xc0 && (input[1] & 0xc0) == 0x80) { *...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq -0x18(%rbp), %rax movzbl (%rax), %eax andl $0x80, %eax cmpl $0x0, %eax jne 0x548f66 movq -0x18(%rbp), %rax movzbl (%rax), %ecx movq -0x10(%rbp), %rax movl %ecx, (%rax) movq -0x10(%rbp), %rax cmpl $0x0, (%rax) jle 0x548f...
/interiorem[P]lepton/dependencies/brotli/c/enc/utf8_util.c
BrotliZopfliComputeShortestPath
size_t BrotliZopfliComputeShortestPath(MemoryManager* m, const BrotliDictionary* dictionary, size_t num_bytes, size_t position, const uint8_t* ringbuffer, ...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x2260, %rsp # imm = 0x2260 movq 0x30(%rbp), %rax movq 0x28(%rbp), %rax movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x8f0(%rbp) movq %rsi, -0x8f8(%rbp) movq %rdx, -0x900(%rbp) movq %rcx, -0x908(%rbp)...
/interiorem[P]lepton/dependencies/brotli/c/enc/backward_references_hq.c
UpdateNodes
static size_t UpdateNodes( const size_t num_bytes, const size_t block_start, const size_t pos, const uint8_t* ringbuffer, const size_t ringbuffer_mask, const BrotliEncoderParams* params, const size_t max_backward_limit, const int* starting_dist_cache, const size_t num_matches, const BackwardMatch* m...
pushq %rbp movq %rsp, %rbp subq $0x490, %rsp # imm = 0x490 movq 0x40(%rbp), %rax movq 0x38(%rbp), %rax movq 0x30(%rbp), %rax movq 0x28(%rbp), %rax movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x300(%rbp) movq %rsi, -0x308(%rbp) movq %rdx, -0x310(%rbp) movq %rcx, -0x318(%rbp) ...
/interiorem[P]lepton/dependencies/brotli/c/enc/backward_references_hq.c
BrotliCreateZopfliBackwardReferences
void BrotliCreateZopfliBackwardReferences( MemoryManager* m, const BrotliDictionary* dictionary, size_t num_bytes, size_t position, const uint8_t* ringbuffer, size_t ringbuffer_mask, const BrotliEncoderParams* params, HasherHandle hasher, int* dist_cache, size_t* last_insert_len, Command* commands, size...
pushq %rbp movq %rsp, %rbp pushq %r14 pushq %rbx subq $0x70, %rsp movq 0x40(%rbp), %rax movq 0x38(%rbp), %rax movq 0x30(%rbp), %rax movq 0x28(%rbp), %rax movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x18(%rbp) movq %rsi, -0x20(%rbp) movq %rdx, -0x28(%rbp) movq %rcx, -0x30(%rbp) movq %r8...
/interiorem[P]lepton/dependencies/brotli/c/enc/backward_references_hq.c
ComputeDistanceShortcut
static uint32_t ComputeDistanceShortcut(const size_t block_start, const size_t pos, const size_t max_backward, const ZopfliNode* nodes) { const size_t clen = ZopfliNodeCopyLength(&nodes[pos]); con...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x38(%rbp) movq %rsi, -0x40(%rbp) movq %rdx, -0x48(%rbp) movq %rcx, -0x50(%rbp) movq -0x50(%rbp), %rax movq -0x40(%rbp), %rcx shlq $0x4, %rcx addq %rcx, %rax movq %rax, -0x28(%rbp) movq -0x28(%rbp), %rax movl (%rax), %eax andl $0xffffff, %eax # imm = 0xFFFFFF movl %eax, %e...
/interiorem[P]lepton/dependencies/brotli/c/enc/backward_references_hq.c
BrotliCompressFragmentTwoPass
void BrotliCompressFragmentTwoPass( MemoryManager* m, const uint8_t* input, size_t input_size, BROTLI_BOOL is_last, uint32_t* command_buf, uint8_t* literal_buf, int* table, size_t table_size, size_t* storage_ix, uint8_t* storage) { const size_t initial_storage_ix = *storage_ix; const size_t table_bits =...
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp movq 0x28(%rbp), %rax movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x90(%rbp) movq %rsi, -0x98(%rbp) movq %rdx, -0xa0(%rbp) movl %ecx, -0xa4(%rbp) movq %r8, -0xb0(%rbp) movq %r9, -0xb8(%rbp) movq 0x20(%rbp), %rax movq (%rax), %rax movq %rax, -...
/interiorem[P]lepton/dependencies/brotli/c/enc/compress_fragment_two_pass.c
BrotliCompressFragmentTwoPassImpl12
void BrotliCompressFragmentTwoPass( MemoryManager* m, const uint8_t* input, size_t input_size, BROTLI_BOOL is_last, uint32_t* command_buf, uint8_t* literal_buf, int* table, size_t table_size, size_t* storage_ix, uint8_t* storage) { const size_t initial_storage_ix = *storage_ix; const size_t table_bits =...
pushq %rbp movq %rsp, %rbp subq $0x810, %rsp # imm = 0x810 movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x7c8(%rbp) movq %rsi, -0x7d0(%rbp) movq %rdx, -0x7d8(%rbp) movl %ecx, -0x7dc(%rbp) movq %r8, -0x7e8(%rbp) movq %r9, -0x7f0(%rbp) movq -0x7c8(%rbp), %r11 movq -0x7d0(%rbp),...
/interiorem[P]lepton/dependencies/brotli/c/enc/compress_fragment_two_pass.c
BrotliCompressFragmentTwoPassImpl14
void BrotliCompressFragmentTwoPass( MemoryManager* m, const uint8_t* input, size_t input_size, BROTLI_BOOL is_last, uint32_t* command_buf, uint8_t* literal_buf, int* table, size_t table_size, size_t* storage_ix, uint8_t* storage) { const size_t initial_storage_ix = *storage_ix; const size_t table_bits =...
pushq %rbp movq %rsp, %rbp subq $0x810, %rsp # imm = 0x810 movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x7c8(%rbp) movq %rsi, -0x7d0(%rbp) movq %rdx, -0x7d8(%rbp) movl %ecx, -0x7dc(%rbp) movq %r8, -0x7e8(%rbp) movq %r9, -0x7f0(%rbp) movq -0x7c8(%rbp), %r11 movq -0x7d0(%rbp),...
/interiorem[P]lepton/dependencies/brotli/c/enc/compress_fragment_two_pass.c
ShouldCompress
static BROTLI_BOOL ShouldCompress( const uint8_t* input, size_t input_size, size_t num_literals) { double corpus_size = (double)input_size; if (num_literals < MIN_RATIO * corpus_size) { return BROTLI_TRUE; } else { uint32_t literal_histo[256] = { 0 }; const double max_total_bit_cost = corpus_size ...
pushq %rbp movq %rsp, %rbp subq $0x4e0, %rsp # imm = 0x4E0 movq %rdi, -0x98(%rbp) movq %rsi, -0xa0(%rbp) movq %rdx, -0xa8(%rbp) movq -0xa0(%rbp), %xmm1 movaps 0x19f2c1(%rip), %xmm2 # 0x70a590 punpckldq %xmm2, %xmm1 # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1] movapd 0x19f2c5(%rip), %xmm0 # 0x70a5a0 subpd ...
/interiorem[P]lepton/dependencies/brotli/c/enc/compress_fragment_two_pass.c
BrotliBuildMetaBlockGreedy
void BrotliBuildMetaBlockGreedy(MemoryManager* m, const uint8_t* ringbuffer, size_t pos, size_t mask, uint8_t prev_byte, uint8_t prev_byte2, ...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x628, %rsp # imm = 0x628 movl %r8d, -0x60c(%rbp) movq %rcx, %rax movl -0x60c(%rbp), %ecx movq %rax, -0x608(%rbp) movq %rdx, %rax movq -0x608(%rbp), %rdx movq %rax, -0x600(%rbp) movq %rsi, %rax movq -0x600(%rbp), %rsi movq %rax, -0x5f8(%rbp) m...
/interiorem[P]lepton/dependencies/brotli/c/enc/metablock.c
InitContextBlockSplitter
static void InitContextBlockSplitter( MemoryManager* m, ContextBlockSplitter* self, size_t alphabet_size, size_t num_contexts, size_t min_block_size, double split_threshold, size_t num_symbols, BlockSplit* split, HistogramLiteral** histograms, size_t* histograms_size) { size_t max_num_blocks = num_sym...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq 0x20(%rbp), %rax movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x38(%rbp) movq %rsi, -0x40(%rbp) movq %rdx, -0x48(%rbp) movq %rcx, -0x50(%rbp) movq %r8, -0x58(%rbp) movsd %xmm0, -0x60(%rbp) movq %r9, -0x68(%rbp) movq -0x68(%rbp), %rax xorl %ecx, %ecx movl %ecx,...
/interiorem[P]lepton/dependencies/brotli/c/enc/metablock.c
ContextBlockSplitterFinishBlock
static void ContextBlockSplitterFinishBlock( ContextBlockSplitter* self, MemoryManager* m, BROTLI_BOOL is_final) { BlockSplit* split = self->split_; const size_t num_contexts = self->num_contexts_; double* last_entropy = self->last_entropy_; HistogramLiteral* histograms = self->histograms_; if (self->blo...
pushq %rbp movq %rsp, %rbp subq $0x420, %rsp # imm = 0x420 movq %rdi, -0x208(%rbp) movq %rsi, -0x210(%rbp) movl %edx, -0x214(%rbp) movq -0x208(%rbp), %rax movq 0x30(%rax), %rax movq %rax, -0x220(%rbp) movq -0x208(%rbp), %rax movq 0x8(%rax), %rax movq %rax, -0x228(%rbp) movq -0x208(%rbp), %rax addq $0x70, %ra...
/interiorem[P]lepton/dependencies/brotli/c/enc/metablock.c
BrotliWarmupBitReader
BROTLI_BOOL BrotliWarmupBitReader(BrotliBitReader* const br) { size_t aligned_read_mask = (sizeof(br->val_) >> 1) - 1; /* Fixing alignment after unaligned BrotliFillWindow would result accumulator overflow. If unalignment is caused by BrotliSafeReadBits, then there is enough space in accumulator to fix al...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x38(%rbp) movq $0x3, -0x40(%rbp) movq $0x0, -0x40(%rbp) movq -0x38(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x28(%rbp), %rcx movl $0x40, %eax subl 0x8(%rcx), %eax cmpl $0x0, %eax jne 0x579842 movq -0x38(%rbp), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax cmpq $0x0, 0x18(%ra...
/interiorem[P]lepton/dependencies/brotli/c/dec/bit_reader.c
BrotliEstimateBitCostsForLiterals
void BrotliEstimateBitCostsForLiterals(size_t pos, size_t len, size_t mask, const uint8_t *data, float *cost) { if (BrotliIsMostlyUTF8(data, pos, mask, len, kMinUTF8Ratio)) { EstimateBitCostsForLiteralsUTF8(pos, len, mask, data, cost); return; } else { size_t histo...
pushq %rbp movq %rsp, %rbp subq $0x8a0, %rsp # imm = 0x8A0 movq %rdi, -0x38(%rbp) movq %rsi, -0x40(%rbp) movq %rdx, -0x48(%rbp) movq %rcx, -0x50(%rbp) movq %r8, -0x58(%rbp) movq -0x50(%rbp), %rdi movq -0x38(%rbp), %rsi movq -0x48(%rbp), %rdx movq -0x40(%rbp), %rcx movsd 0x1aa1f9(%rip), %xmm0 # 0x7247f0 cal...
/interiorem[P]lepton/dependencies/brotli/c/enc/literal_cost.c
UTF8Position
static size_t UTF8Position(size_t last, size_t c, size_t clamp) { if (c < 128) { return 0; /* Next one is the 'Byte 1' again. */ } else if (c >= 192) { /* Next one is the 'Byte 2' of utf-8 encoding. */ return BROTLI_MIN(size_t, 1, clamp); } else { /* Let's decide over the last byte if this ends the ...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x30(%rbp) movq %rsi, -0x38(%rbp) movq %rdx, -0x40(%rbp) cmpq $0x80, -0x38(%rbp) jae 0x57b137 movq $0x0, -0x28(%rbp) jmp 0x57b1bf cmpq $0xc0, -0x38(%rbp) jb 0x57b177 movq -0x40(%rbp), %rax movq $0x1, -0x8(%rbp) movq %rax, -0x10(%rbp) movq -0x8(%rbp), %rax cmpq -0x10(%rbp), %rax ja...
/interiorem[P]lepton/dependencies/brotli/c/enc/literal_cost.c
body
static const void *body(MD5_CTX *ctx, const void *data, unsigned long size) { const unsigned char *ptr; MD5_u32plus a, b, c, d; MD5_u32plus saved_a, saved_b, saved_c, saved_d; MD5_u32plus local_block_0, local_block_1, local_block_2, local_block_3, local_block_4...
movq %rdi, -0x8(%rsp) movq %rsi, -0x10(%rsp) movq %rdx, -0x18(%rsp) movq -0x10(%rsp), %rax movq %rax, -0x20(%rsp) movq -0x8(%rsp), %rax movl 0x8(%rax), %eax movl %eax, -0x24(%rsp) movq -0x8(%rsp), %rax movl 0xc(%rax), %eax movl %eax, -0x28(%rsp) movq -0x8(%rsp), %rax movl 0x10(%rax), %eax movl %eax, -0x2c(%rsp) movq -0...
/interiorem[P]lepton/dependencies/md5/md5.c
hd_strlcat
size_t hd_strlcat(char *dst, const char *src, size_t siz) { register char *d = dst; register const char *s = src; register size_t n = siz; size_t dlen; /* Find the end of dst and adjust bytes left but don't go past end */ while (*d != '\0' && n-- != 0) d++; dlen = d - dst; n = siz - dlen; if (n == 0) ret...
pushq %rbx cmpb $0x0, (%rdi) sete %al testq %rdx, %rdx sete %cl orb %al, %cl movq %rdi, %rcx jne 0x1d13 leaq -0x1(%rdx), %rax movq %rdi, %rcx subq $0x1, %rax setb %r8b cmpb $0x0, 0x1(%rcx) leaq 0x1(%rcx), %rcx je 0x1d13 testb %r8b, %r8b je 0x1cfc movq %rcx, %rbx subq %rdi, %rbx subq %rbx, %rdx je 0x1d57 movb (%rsi), %d...
/LeftHandCold[P]diskclone/source/hdtd/string.c
dos_drop_disk_imp
static void dos_drop_disk_imp(hd_context *ctx, dos_disk *disk) { hd_try(ctx) { if (disk->first_sector != NULL) hd_free(ctx, disk->first_sector); SAFE_DEV_CLOSE(disk->super.dev_fd); } hd_catch(ctx) hd_rethrow(ctx); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx callq 0x1c1b testl %eax, %eax je 0x1fda movq 0x8(%rbx), %rax movq (%rax), %rdi addq $0x8, %rdi xorl %esi, %esi callq 0x1240 testl %eax, %eax jne 0x1fda movq 0x750(%r14), %rsi testq %rsi, %rsi je 0x1fc5 movq %rbx, %rdi callq 0x2504 movl 0x4(%r14), %edi tes...
/LeftHandCold[P]diskclone/source/dos/dos-disk.c
dos_get_volume_label
int dos_get_volume_label(hd_context *ctx, dos_disk *disk) { com_mbr *mbr = (com_mbr *)disk->first_sector; uint8_t ret,curpart; curpart = 0; int i; for (i = 0; i < 4; i++) { ret = 0; if ( mbr->partition[i].pid == 0x05 || mbr->partition[i].pid == 0x0f ) { ret ...
movq 0x750(%rsi), %rax addq $0x18, %rsi xorl %ecx, %ecx xorl %edx, %edx movzbl 0x1c2(%rax,%rcx), %edi cmpl $0xe, %edi jg 0x2063 testl %edi, %edi je 0x20e4 cmpl $0x5, %edi je 0x20e4 jmp 0x2091 cmpl $0xf, %edi je 0x20e4 cmpl $0x42, %edi jne 0x2091 movzbl 0x1be(%rax,%rcx), %edi testb $0x7f, %dil jne 0x20e4 movl 0x1ca(%rax...
/LeftHandCold[P]diskclone/source/dos/dos-op.c
hd_drop_disk
void hd_drop_disk(hd_context *ctx, hd_disk *disk) { if (hd_drop_imp(ctx, disk, &disk->refs)) { if (disk->drop_disk) disk->drop_disk(ctx, disk); hd_drop_dest_disk(ctx, disk->disk_dest); hd_free(ctx, disk); } }
pushq %r14 pushq %rbx pushq %rax testq %rsi, %rsi je 0x232a movq %rsi, %rbx movl (%rsi), %eax testl %eax, %eax jle 0x232a decl %eax movl %eax, (%rbx) je 0x2332 addq $0x8, %rsp popq %rbx popq %r14 retq movq %rdi, %r14 movq 0x730(%rbx), %rax testq %rax, %rax je 0x2349 movq %r14, %rdi movq %rbx, %rsi callq *%rax movq 0x72...
/LeftHandCold[P]diskclone/source/hdtd/disk.c
hd_drop_dest_disk
void hd_drop_dest_disk(hd_context *ctx, hd_disk_dest *disk) { if (hd_drop_imp(ctx, disk, &disk->refs)) { SAFE_DEV_CLOSE(disk->dev_fd); hd_free(ctx, disk); } }
pushq %r14 pushq %rbx pushq %rax testq %rsi, %rsi je 0x2395 movq %rsi, %rbx movl (%rsi), %eax testl %eax, %eax jle 0x2395 decl %eax movl %eax, (%rbx) je 0x239d addq $0x8, %rsp popq %rbx popq %r14 retq movq %rdi, %r14 movl 0x10(%rbx), %edi testl %edi, %edi js 0x23b3 callq 0x1100 movl $0x0, 0x10(%rbx) movq %r14, %rdi mov...
/LeftHandCold[P]diskclone/source/hdtd/disk.c
hd_calloc
void * hd_calloc(hd_context *ctx, size_t count, size_t size) { void *p; if (count == 0 || size == 0) return 0; if (count > SIZE_MAX / size) { hd_throw(ctx, HD_ERROR_MEMORY, "calloc (" FMT_zu " x " FMT_zu " bytes) failed (size_t overflow)", count, size); } p = do_scavenging_mal...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax testq %rsi, %rsi sete %al testq %rdx, %rdx sete %cl orb %al, %cl je 0x253c xorl %eax, %eax addq $0x8, %rsp popq %rbx popq %r12 popq %r14 popq %r15 retq movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq %rdx, %rax mulq %rsi jo 0x257d movq %rbx, %r12 imulq %r14, %...
/LeftHandCold[P]diskclone/source/hdtd/memory.c
hd_drop_context
void hd_drop_context(hd_context *ctx) { if (!ctx) return; /* Other finalisation calls go here (in reverse order) */ hd_drop_disk_handler_context(ctx); hd_drop_part_handler_context(ctx); hd_drop_pthread_context(ctx); if (ctx->warn) { hd_flush_warnings(ctx); hd_free(c...
testq %rdi, %rdi je 0x27be pushq %rbx movq %rdi, %rbx callq 0x23c5 movq %rbx, %rdi callq 0x301d movq %rbx, %rdi callq 0x403d cmpq $0x0, 0x10(%rbx) je 0x279d movq %rbx, %rdi callq 0x18cd movq 0x10(%rbx), %rsi movq %rbx, %rdi callq 0x2504 movq 0x8(%rbx), %rsi testq %rsi, %rsi je 0x27ae movq %rbx, %rdi callq 0x2504 movq (...
/LeftHandCold[P]diskclone/source/hdtd/context.c
gpt_probe_label
int gpt_probe_label(hd_context *ctx, gpt_disk *disk) { int mbr_type; mbr_type = valid_pmbr(disk); if (!mbr_type) return 0; /* primary header */ disk->pheader = gpt_read_header(disk, GPT_PRIMARY_PARTITION_TABLE_LBA, &disk->ents); /*TODO: bheader also n...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq 0x750(%rsi), %rcx xorl %eax, %eax testq %rcx, %rcx je 0x2be9 cmpw $0xaa55, 0x1fe(%rcx) # imm = 0xAA55 jne 0x2be9 movq %rsi, %rbx xorl %eax, %eax cmpb $-0x12, 0x1c2(%rcx,%rax) je 0x2b2b addq $0x10, %rax cmpq $0x40, %rax jne 0x2b12 jmp 0x2be7 testq %rbx, %rbx...
/LeftHandCold[P]diskclone/source/gpt/gpt-op.c
crc32
uint32_t crc32(uint32_t seed, const unsigned char *buf, size_t len) { uint32_t crc = seed; const unsigned char *p = buf; while (len) { crc = crc_32_tab[(crc ^ *p++) & 0xff] ^ (crc >> 8); len--; } return crc; }
movl %edi, %eax testq %rdx, %rdx je 0x2d46 xorl %ecx, %ecx leaq 0x5464(%rip), %rdi # 0x8190 movb (%rsi,%rcx), %r8b xorb %al, %r8b movzbl %r8b, %r8d shrl $0x8, %eax xorl (%rdi,%r8,4), %eax incq %rcx cmpq %rcx, %rdx jne 0x2d2c retq nop
/LeftHandCold[P]diskclone/source/hdtd/crc32.c
hd_open_part
hd_part * hd_open_part(hd_context *ctx, hd_disk *disk, const char *partname) { int i; hd_part_handler_context *ph; if (partname == NULL) hd_throw(ctx, HD_ERROR_GENERIC, "no part to open"); ph = ctx->part; if (ph->count == 0) hd_throw(ctx, HD_ERROR_GENERIC, "No part handlers registe...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx testq %rdx, %rdx je 0x2e75 movq 0x20(%rbx), %r13 cmpl $0x0, 0x4(%r13) je 0x2e7e jle 0x2e4d movq %rdx, %r14 movq %rsi, %r15 xorl %ebp, %ebp movq 0x8(%r13,%rbp,8), %rax movq %rbx, %rdi movq %r15, %rsi movq %r14, %rdx callq *0x8(%...
/LeftHandCold[P]diskclone/source/hdtd/partition.c
ntfs_open_part
ntfs_part * ntfs_open_part (hd_context *ctx, hd_disk *disk, const char *partname) { ntfs_part *part = NULL; int dev_fd; hd_var(part); hd_try(ctx) { dev_fd = hd_open_dev(ctx, partname); part = ntfs_new_part(ctx, dev_fd); hd_read_write_device(ctx, part->super.dev_fd, false, p...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx movq %rsp, %rdi movq $0x0, (%rdi) callq 0x18cc movq %rbx, %rdi callq 0x1c1b testl %eax, %eax je 0x3174 movq 0x8(%rbx), %rax movq (%rax), %rdi addq $0x8, %rdi xorl %esi, %esi callq 0x1240 testl %eax, %eax jne 0x3174 mo...
/LeftHandCold[P]diskclone/source/ntfs/ntfs-part.c
hd_consumer_create
void hd_consumer_create(hd_context *ctx, hd_disk *disk, hd_part *part) { /*FIXME:ctx->pthread->consumer should be an array*/ int index = 1; ctx->pthread->consumer.ctx = ctx; ctx->pthread->consumer.part = part; ctx->pthread->consumer.disk = disk; ctx->pthread->consumer.index = 0; if (pthread...
pushq %rbx movq %rdi, %rbx movq 0x28(%rdi), %rax leaq 0x108(%rax), %rcx movq %rdi, 0x108(%rax) movq %rdx, 0x110(%rax) movq %rsi, 0x118(%rax) movl $0x0, 0x128(%rax) leaq 0x120(%rax), %rdi addq $0x8, %rax leaq 0x39(%rip), %rdx # 0x3d90 movq %rax, %rsi callq 0x11e0 testl %eax, %eax js 0x3d73 movq 0x28(%rbx), %rax m...
/LeftHandCold[P]diskclone/source/hdtd/pthread.c
hd_while_pthread
void hd_while_pthread(hd_context *ctx) { while(!ctx->pthread->consumer_eof) { hd_warn(ctx, "consumer_eof = false, sending signal..."); wakeup_consumer(ctx->pthread); xusleep(1000); } }
pushq %r14 pushq %rbx pushq %rax movq 0x28(%rdi), %rax testb $0x4, 0x4(%rax) jne 0x3fec movq %rdi, %rbx leaq 0x17bd(%rip), %r14 # 0x577b movq %rbx, %rdi movq %r14, %rsi xorl %eax, %eax callq 0x1978 movq 0x28(%rbx), %rdi addq $0x70, %rdi callq 0x1130 movl $0x3e8, %edi # imm = 0x3E8 callq 0x1270 movq 0x28...
/LeftHandCold[P]diskclone/source/hdtd/pthread.c
main
int main(int argc, char **argv) { if (2 > argc) { fprintf(stderr, "Usage: %s dictionary.dic\n", argv[0]); return -1; } while (!feof(stdin) && !ferror(stdin)) { char text [4096]; size_t size, tabs; if (NULL == fgets(text, 4096, stdin)) { break; } size = strcspn(text, "\r\n"); text[size] = 0;...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1018, %rsp # imm = 0x1018 cmpl $0x2, %edi jl 0x34d9 movq %rsi, 0x8(%rsp) movq 0x4bbe(%rip), %rbp # 0x7fd8 movq (%rbp), %rdi callq 0x31a0 testl %eax, %eax je 0x3450 movq 0x8(%rsp), %rax movq 0x8(%rax), %rsi leaq 0x4cf9(%rip), %rdi ...
/bachan[P]libMAFSA/test/dic_compiler.cpp
MAFSA::stack<MAFSA::daciuk<29>::node*>::push(MAFSA::daciuk<29>::node*)
void push(_DATA l) { if (current + 1 >= reserved) { _DATA *_t = new _DATA [2 * reserved]; memcpy(_t, buffer, reserved * sizeof(_DATA)); reserved *= 2; delete [] buffer; buffer = _t; } buffer[++current] = l; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 movq 0x8(%rdi), %r13 movq 0x10(%rdi), %rax incq %rax cmpq %r13, %rax jb 0x3ee1 movabsq $0x7000000000000000, %rax # imm = 0x7000000000000000 andq %r13, %rax movq %r13, %rcx shlq $0x4, %rcx xorl %edi, %edi negq %rax sbbq %rdi, %rdi orq...
/bachan[P]libMAFSA/include/MAFSA/stack.hpp
avro::GenericMap::operator=(avro::GenericMap const&)
class AVRO_DECL GenericMap : public GenericContainer { public: /** * The contents type for the map. */ typedef std::vector<std::pair<std::string, GenericDatum> > Value; /** * Constructs a generic map corresponding to the given schema \p schema, * which should be of Avro type map. *...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 callq 0x66aa6 leaq 0x10(%r14), %rdi addq $0x10, %rbx movq %rbx, %rsi callq 0x696d6 movq %r14, %rax addq $0x8, %rsp popq %rbx popq %r14 retq
/confluentinc[P]avro-cpp-packaging/api/GenericDatum.hh
avro::NodeImpl<avro::concepts::SingleAttribute<avro::Name>, avro::concepts::MultiAttribute<boost::shared_ptr<avro::Node>>, avro::concepts::MultiAttribute<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, avro::concepts::NoAttribute<int>>::NodeImpl(avro::Type, avro::concepts::SingleAttribu...
NodeImpl(Type type, const NameConcept &name, const LeavesConcept &leaves, const LeafNamesConcept &leafNames, const SizeConcept &size) : Node(type), nameAttribute_(name), leafAttributes_(leaves), leafNameAttributes_(leafNames), ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %r8, %r15 movq %rcx, %r13 movq %rdi, %rbx movl %esi, 0x8(%rdi) movb $0x0, 0xc(%rdi) leaq 0x385f0(%rip), %rax # 0xa23f8 addq $0x10, %rax movq %rax, (%rdi) leaq 0x10(%rdi), %r14 movq %r14, %rdi movq %rdx, %rsi callq 0x668b0 leaq 0x50(%rbx), %r12 movq %r12, %...
/confluentinc[P]avro-cpp-packaging/api/NodeImpl.hh
avro::NodeImpl<avro::concepts::SingleAttribute<avro::Name>, avro::concepts::NoAttribute<boost::shared_ptr<avro::Node>>, avro::concepts::NoAttribute<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, avro::concepts::SingleAttribute<int>>::printBasicInfo(std::ostream&) const
inline void NodeImpl<A,B,C,D>::printBasicInfo(std::ostream &os) const { os << type(); if(hasName()) { os << ' ' << nameAttribute_.get(); } if(D::hasAttribute) { os << " " << sizeAttribute_.get(); } os << '\n'; int count = leaves(); count = count ? count : names(); f...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movl 0x8(%rdi), %esi movq %r14, %rdi callq 0x6d8ac movq (%rbx), %rax movq %rbx, %rdi callq *0x10(%rax) testb %al, %al je 0x6adc7 pushq $0x20 popq %rsi movq %r14, %rdi callq 0x58540 leaq 0x10(%rbx), %rsi movq %rax, %rdi callq 0x5fd86 leaq 0x16baa(%rip), %r...
/confluentinc[P]avro-cpp-packaging/api/NodeImpl.hh
avro::NodeImpl<avro::concepts::NoAttribute<avro::Name>, avro::concepts::SingleAttribute<boost::shared_ptr<avro::Node>>, avro::concepts::NoAttribute<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, avro::concepts::NoAttribute<int>>::setLeafToSymbolic(int, boost::shared_ptr<avro::Node> con...
inline void NodeImpl<A,B,C,D>::setLeafToSymbolic(int index, const NodePtr &node) { if(!B::hasAttribute) { throw Exception("Cannot change leaf node for nonexistent leaf"); } NodePtr &replaceNode = const_cast<NodePtr &>(leafAttributes_.get(index)); if(replaceNode->name() != node->name()) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x30, %rsp movq %rdx, %rbx addq $0x10, %rdi movslq %esi, %rsi callq 0x6b4c6 movq %rax, %r14 movq (%rax), %rdi movq (%rdi), %rax callq *0x18(%rax) movq %rax, %r15 movq (%rbx), %rdi movq (%rdi), %rax callq *0x18(%rax) movq %r15, %rdi movq %rax, %rsi callq 0x672...
/confluentinc[P]avro-cpp-packaging/api/NodeImpl.hh
avro::concepts::SingleAttribute<boost::shared_ptr<avro::Node>>::get(unsigned long)
Attribute &get(size_t index = 0) { if (index != 0) { throw Exception("SingleAttribute has only 1 value"); } return attr_; }
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp testq %rsi, %rsi jne 0x6b4df movq %rdi, %rax addq $0x30, %rsp popq %rbx popq %r14 popq %rbp retq pushq $0x18 popq %rdi callq 0x58250 movq %rax, %rbx leaq 0x173d9(%rip), %rsi # 0x828ca leaq 0x10(%rsp), %rdi leaq 0xf(%rsp), %rdx callq 0x5bebe movb $0x1, %bpl leaq 0x10...
/confluentinc[P]avro-cpp-packaging/api/NodeConcepts.hh
avro::NodeEnum::printJson(std::ostream&, int) const
void NodeEnum::printJson(std::ostream &os, int depth) const { os << "{\n"; os << indent(++depth) << "\"type\": \"enum\",\n"; printName(os, nameAttribute_.get(), depth); os << indent(depth) << "\"symbols\": [\n"; int names = leafNameAttributes_.size(); ++depth; for(int i = 0; i < names; ++i...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %edx, %r12d movq %rsi, %rbx movq %rdi, %r14 leaq 0x14b2f(%rip), %rsi # 0x81469 movq %rbx, %rdi callq 0x58440 leal 0x1(%r12), %ebp movq %rbx, %rdi movl %ebp, %esi callq 0x6c5c8 leaq 0x16b46(%rip), %rsi # 0x8349e movq %rbx, %r...
/confluentinc[P]avro-cpp-packaging/impl/NodeImpl.cc
avro::NodeArray::printJson(std::ostream&, int) const
void NodeArray::printJson(std::ostream &os, int depth) const { os << "{\n"; os << indent(depth+1) << "\"type\": \"array\",\n"; os << indent(depth+1) << "\"items\": "; leafAttributes_.get()->printJson(os, depth+1); os << '\n'; os << indent(depth) << '}'; }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movl %edx, %r14d movq %rsi, %rbx movq %rdi, %r15 leaq 0x149f4(%rip), %rsi # 0x81469 movq %rbx, %rdi callq 0x58440 leal 0x1(%r14), %ebp movq %rbx, %rdi movl %ebp, %esi callq 0x6c5c8 leaq 0x16a2b(%rip), %rsi # 0x834bd movq %rbx, %rdi callq 0x58440 movq %rbx, ...
/confluentinc[P]avro-cpp-packaging/impl/NodeImpl.cc
avro::NodeUnion::~NodeUnion()
class AVRO_DECL NodeUnion : public NodeImplUnion { public: NodeUnion() : NodeImplUnion(AVRO_UNION) { } explicit NodeUnion(const MultiLeaves &types) : NodeImplUnion(AVRO_UNION, NoName(), types, NoLeafNames(), NoSize()) { } SchemaResolution resolve(const Node &reader) const; ...
pushq %rbx movq %rdi, %rbx callq 0x6b89c pushq $0x30 popq %rsi movq %rbx, %rdi popq %rbx jmp 0x58460 nop
/confluentinc[P]avro-cpp-packaging/api/NodeImpl.hh
avro::memoryOutputStream(unsigned long)
std::auto_ptr<OutputStream> memoryOutputStream(size_t chunkSize) { return std::auto_ptr<OutputStream>(new MemoryOutputStream(chunkSize)); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 pushq $0x38 popq %rdi callq 0x58450 leaq 0x35647(%rip), %rcx # 0xa3508 addq $0x10, %rcx movq %rcx, (%rax) movq %rbx, 0x8(%rax) xorps %xmm0, %xmm0 andq $0x0, 0x30(%rax) movups %xmm0, 0x10(%rax) movups %xmm0, 0x20(%rax) movq %rax, (%r14) movq %r14, %rax...
/confluentinc[P]avro-cpp-packaging/impl/Stream.cc
avro::BufferCopyOutputStream::BufferCopyOutputStream(std::auto_ptr<avro::(anonymous namespace)::BufferCopyOut>, unsigned long)
BufferCopyOutputStream(auto_ptr<BufferCopyOut> out, size_t bufferSize) : bufferSize_(bufferSize), buffer_(new uint8_t[bufferSize]), out_(out), next_(buffer_), available_(bufferSize_), byteCount_(0) { }
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 leaq 0x34d63(%rip), %rax # 0xa3808 addq $0x10, %rax movq %rax, (%rdi) movq %rdx, 0x8(%rdi) movq %rdx, %rdi callq 0x58030 movq %rax, 0x10(%r15) movq (%r14), %rcx andq $0x0, (%r14) movq %rcx, 0x18(%r15) movq %rax, 0x20(%r15) movq %rbx, 0...
/confluentinc[P]avro-cpp-packaging/impl/FileStream.cc
avro::(anonymous namespace)::FileBufferCopyOut::write(unsigned char const*, unsigned long)
void write(const uint8_t* b, size_t len) { if (::write(fd_, b, len) < 0) { throw Exception(boost::format("Cannot write file: %1%") % ::strerror(errno)); } }
pushq %rbp pushq %r14 pushq %rbx subq $0xf0, %rsp movl 0x8(%rdi), %edi callq 0x58190 testq %rax, %rax js 0x6edc6 addq $0xf0, %rsp popq %rbx popq %r14 popq %rbp retq pushq $0x18 popq %rdi callq 0x58250 movq %rax, %rbx leaq 0x149f9(%rip), %rsi # 0x837d1 leaq 0x10(%rsp), %rdi callq 0x5c7b4 callq 0x58050 movl (%rax), %...
/confluentinc[P]avro-cpp-packaging/impl/FileStream.cc
avro::GenericWriter::write(avro::GenericDatum const&, avro::Encoder&)
void GenericWriter::write(const GenericDatum& datum, Encoder& e) { if (datum.isUnion()) { e.encodeUnionIndex(datum.unionBranch()); write(datum.value<GenericUnion>().datum(), e); return; } switch (datum.type()) { case AVRO_NULL: e.encodeNull(); break; case AVRO...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0xe0, %rsp movq %rsi, %rbx movq %rdi, %r14 leaq 0x140ea(%rip), %r15 # 0x83954 movl (%r14), %eax cmpq $0xd, %rax ja 0x6fb57 movslq (%r15,%rax,4), %rax addq %r15, %rax jmpq *%rax movq %r14, %rdi callq 0x6fd46 movq (%rbx), %rcx movq %rbx, %rdi movq %rax, %rs...
/confluentinc[P]avro-cpp-packaging/impl/Generic.cc
avro::parsing::ResolvingGrammarGenerator::generate(avro::ValidSchema const&, avro::ValidSchema const&)
Symbol ResolvingGrammarGenerator::generate( const ValidSchema& writer, const ValidSchema& reader) { map<NodePtr, ProductionPtr> m2; const NodePtr& rr = reader.root(); const NodePtr& rw = writer.root(); ProductionPtr backup = ValidatingGrammarGenerator::doGenerate(rw, m2); fixup(backup, m2); ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx leaq 0x30(%rsp), %rax andl $0x0, (%rax) andq $0x0, 0x8(%rax) movq %rax, 0x10(%rax) movq %rax, 0x18(%rax) andq $0x0, 0x20(%rax) leaq 0x18(%rsp), %rdi leaq 0x28(%rsp), %rcx callq 0x7c9ea leaq 0x18(...
/confluentinc[P]avro-cpp-packaging/impl/parsing/ResolvingDecoder.cc
avro::parsing::ResolvingGrammarGenerator::resolveRecords(boost::shared_ptr<avro::Node> const&, boost::shared_ptr<avro::Node> const&, std::map<std::pair<boost::shared_ptr<avro::Node>, boost::shared_ptr<avro::Node>>, boost::shared_ptr<std::vector<avro::parsing::Symbol, std::allocator<avro::parsing::Symbol>>>, std::less<s...
ProductionPtr ResolvingGrammarGenerator::resolveRecords( const NodePtr& writer, const NodePtr& reader, map<NodePair, ProductionPtr>& m, map<NodePtr, ProductionPtr>& m2) { ProductionPtr result = make_shared<Production>(); vector<pair<string, size_t> > wf = fields(writer); vector<pair<string, siz...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movq %r9, 0x58(%rsp) movq %r8, 0x38(%rsp) movq %rcx, %r12 movq %rdx, %r14 movq %rsi, 0x50(%rsp) movq %rdi, %rbx callq 0x72e3b leaq 0xd8(%rsp), %rdi movq %r14, %rsi callq 0x72e98 leaq 0x78(%rsp), %rdi movq %r12, ...
/confluentinc[P]avro-cpp-packaging/impl/parsing/ResolvingDecoder.cc
void avro::parsing::fixup<boost::shared_ptr<avro::Node>>(avro::parsing::Symbol&, std::map<boost::shared_ptr<avro::Node>, boost::shared_ptr<std::vector<avro::parsing::Symbol, std::allocator<avro::parsing::Symbol>>>, std::less<boost::shared_ptr<avro::Node>>, std::allocator<std::pair<boost::shared_ptr<avro::Node> const, b...
Kind kind() const { return kind_; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x30, %rsp movl (%rdi), %eax addl $-0x14, %eax cmpl $0x6, %eax ja 0x746de movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 leaq 0xf5db(%rip), %rcx # 0x83ba8 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax addq $0x8, %r14 movq %r14, %rdi callq 0x74b4...
/confluentinc[P]avro-cpp-packaging/impl/parsing/Symbol.hh
void avro::parsing::fixup<std::pair<boost::shared_ptr<avro::Node>, boost::shared_ptr<avro::Node>>>(avro::parsing::Symbol&, std::map<std::pair<boost::shared_ptr<avro::Node>, boost::shared_ptr<avro::Node>>, boost::shared_ptr<std::vector<avro::parsing::Symbol, std::allocator<avro::parsing::Symbol>>>, std::less<std::pair<b...
Kind kind() const { return kind_; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x30, %rsp movl (%rdi), %eax addl $-0x14, %eax cmpl $0x6, %eax ja 0x74f56 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 leaq 0xed7d(%rip), %rcx # 0x83bc4 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax addq $0x8, %r14 movq %r14, %rdi callq 0x74b4...
/confluentinc[P]avro-cpp-packaging/impl/parsing/Symbol.hh
avro::parsing::ResolvingDecoderImpl<avro::parsing::SimpleParser<avro::parsing::ResolvingDecoderHandler>>::arrayNext()
size_t ResolvingDecoderImpl<P>::arrayNext() { parser_.processImplicitActions(); size_t result = base_->arrayNext(); if (result == 0) { parser_.popRepeater(); parser_.advance(Symbol::sArrayEnd); } else { parser_.setRepeatCount(result); } return result; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 leaq 0x58(%rdi), %rbx movq %rbx, %rdi callq 0x7862e movq 0x8(%r14), %rdi movq (%rdi), %rax callq *0x88(%rax) movq %rax, %r14 testq %rax, %rax je 0x767d7 movq %rbx, %rdi movq %r14, %rsi callq 0x78570 jmp 0x767ea movq %rbx, %rdi callq 0x784a6 pushq $0xa popq %rsi movq %rbx...
/confluentinc[P]avro-cpp-packaging/impl/parsing/ResolvingDecoder.cc
avro::parsing::SimpleParser<avro::parsing::ResolvingDecoderHandler>::skip(avro::Decoder&)
void skip(Decoder& d) { const size_t sz = parsingStack.size(); if (sz == 0) { throw Exception("Nothing to skip!"); } while (parsingStack.size() >= sz) { Symbol& t = parsingStack.top(); switch (t.kind()) { case Symbol::sNull: ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1b8, %rsp # imm = 0x1B8 movq %rsi, %rbx movq %rdi, %r14 leaq 0x10(%rdi), %r15 movq %r15, %rdi callq 0x76c72 testq %rax, %rax je 0x77815 movq %rax, %r13 leaq 0x40(%rsp), %rbp movq %rbx, (%rsp) movq %r15, %rdi callq 0x76c72 cmpq %r13, %r...
/confluentinc[P]avro-cpp-packaging/impl/parsing/Symbol.hh
avro::parsing::SimpleParser<avro::parsing::ResolvingDecoderHandler>::enumAdjust(unsigned long)
size_t enumAdjust(size_t n) { const Symbol& s = parsingStack.top(); assertMatch(Symbol::sEnumAdjust, s.kind()); const std::pair<std::vector<int>, std::vector<std::string> >* v = s.extrap<std::pair<std::vector<int>, std::vector<std::string> > >(); assertLessThan(n, v->first.si...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x198, %rsp # imm = 0x198 movq %rsi, %r15 movq %rdi, %rbx movq 0x40(%rdi), %r14 cmpq 0x48(%rdi), %r14 jne 0x78277 movq 0x58(%rbx), %rax movl $0x200, %r14d # imm = 0x200 addq -0x8(%rax), %r14 movl -0x10(%r14), %esi pushq $0x19 popq %rdi callq 0x77474...
/confluentinc[P]avro-cpp-packaging/impl/parsing/Symbol.hh
void avro::json::JsonGenerator::encodeNumber<long>(long)
void encodeNumber(T t) { sep(); std::ostringstream oss; oss << t; const std::string& s = oss.str(); out_.writeBytes(reinterpret_cast<const uint8_t*>(&s[0]), s.size()); sep2(); }
pushq %r15 pushq %r14 pushq %rbx subq $0x1a0, %rsp # imm = 0x1A0 movq %rsi, %r14 movq %rdi, %rbx callq 0x79aa8 leaq 0x28(%rsp), %r15 movq %r15, %rdi callq 0x58600 movq %r15, %rdi movq %r14, %rsi callq 0x58420 leaq 0x30(%rsp), %rsi leaq 0x8(%rsp), %rdi callq 0x58700 movq 0x8(%rsp), %rsi movq 0x10(%rsp), %rdx ...
/confluentinc[P]avro-cpp-packaging/impl/json/JsonIO.hh
avro::json::JsonGenerator::doEncodeString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void doEncodeString(const std::string& s) { const char* b = &s[0]; const char* e = b + s.size(); out_.write('"'); for (const char* p = b; p != e; p++) { switch (*p) { case '\\': case '"': case '/': escape(*p, b, p); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movq (%rsi), %r15 movq 0x8(%rsi), %r13 leaq (%r15,%r13), %rax movq %rax, (%rsp) pushq $0x22 popq %rsi callq 0x79b26 leaq 0xadae(%rip), %r14 # 0x849ec movq %r15, %rbp testq %r13, %r13 je 0x79cf1 movb (%rbp), %al movzbl %al,...
/confluentinc[P]avro-cpp-packaging/impl/json/JsonIO.hh
avro::FixedSchema::FixedSchema(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
FixedSchema::FixedSchema(int size, const std::string &name) : Schema(new NodeFixed) { node_->setFixedSize(size); node_->setName(name); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movq %rdx, %r14 movl %esi, %ebp movq %rdi, %rbx pushq $0x60 popq %rdi callq 0x58450 movq %rax, %r15 movq %rax, %rdi callq 0x7b426 movq %rbx, %rdi movq %r15, %rsi callq 0x7ad08 leaq 0x29433(%rip), %rax # 0xa4580 addq $0x10, %rax movq %rax, (%rbx) movq 0x8(...
/confluentinc[P]avro-cpp-packaging/impl/Schema.cc
memmove
void * memmove( void * s1, const void * s2, size_t n ) { char * dest = ( char * ) s1; const char * src = ( const char * ) s2; if ( dest <= src ) { while ( n-- ) { *dest++ = *src++; } } else { src += n; dest += n; while ( n-- ) ...
movq %rdi, %rax cmpq %rsi, %rdi jbe 0x3ae8 testq %rdx, %rdx je 0x3aff movq %rdx, %rcx movb -0x1(%rsi,%rdx), %dil movb %dil, -0x1(%rax,%rdx) decq %rcx movq %rcx, %rdx jne 0x3ad4 jmp 0x3aff testq %rdx, %rdx je 0x3aff xorl %ecx, %ecx movb (%rsi,%rcx), %dil movb %dil, (%rax,%rcx) incq %rcx cmpq %rcx, %rdx jne 0x3aef retq
/DevSolar[P]pdclib/functions/string/memmove.c
ncnn::Mat::substract_mean_normalize(float const*, float const*)
void Mat::substract_mean_normalize(const float* mean_vals, const float* norm_vals) { Layer* op; if (mean_vals && !norm_vals) { // substract mean only op = create_layer(LayerType::Bias); ParamDict pd; pd.set(0, c); op->load_param(pd); Mat weights[1]; ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xf0, %rsp movq %rsi, %r15 movq %rdi, %rbx testq %rsi, %rsi sete %al testq %rdx, %rdx setne %cl orb %al, %cl je 0x629b8 movq %rdx, %r12 testq %rdx, %rdx sete %al testq %r15, %r15 setne %cl orb %al, %cl jne 0x62a83 movl $0x1d, %edi callq 0x7b29d movq %rax, %r1...
/csukuangfj[P]ncnn/src/mat.cpp
ncnn::Mat::to_pixels_resize(unsigned char*, int, int, int, int) const
void Mat::to_pixels_resize(unsigned char* pixels, int type, int target_width, int target_height, int target_stride) const { if (w == target_width && h == target_height) return to_pixels(pixels, type); int type_to = (type & PIXEL_CONVERT_MASK) ? (type >> PIXEL_CONVERT_SHIFT) : (type & PIXEL_FORMAT_MASK)...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movl %ecx, %ebp movl %edx, %r13d movq %rsi, %r15 movq %rdi, %r12 movl 0x2c(%rdi), %esi movl 0x30(%rdi), %edx movl %esi, %eax xorl %ecx, %eax movl %edx, %ecx xorl %r8d, %ecx orl %eax, %ecx jne 0x67838 movq %r12, %rdi movq %r15, %rsi movl ...
/csukuangfj[P]ncnn/src/mat_pixel.cpp
ncnn::ModelBin::load(int, int, int) const
Mat ModelBin::load(int w, int h, int type) const { Mat m = load(w * h, type); if (m.empty()) return m; return m.reshape(w, h); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movl %ecx, %ebp movl %edx, %r14d movq %rdi, %rbx movl %ecx, %edx imull %r14d, %edx movq (%rsi), %rax movq %rsp, %r15 movq %r15, %rdi movl %r8d, %ecx callq *0x10(%rax) movq (%r15), %rax testq %rax, %rax je 0x69952 movslq 0x38(%rsp), %rcx imulq 0x40(%rsp), %rcx...
/csukuangfj[P]ncnn/src/modelbin.cpp
ncnn::ParamDict::set(int, ncnn::Mat const&)
void ParamDict::set(int id, const Mat& v) { d->params[id].type = 4; d->params[id].v = v; }
pushq %r14 pushq %rbx pushq %rax movq 0x8(%rdi), %rax movslq %esi, %rcx leaq (%rcx,%rcx,4), %rcx shlq $0x4, %rcx leaq (%rax,%rcx), %r14 addq $0x8, %r14 movl $0x4, -0x8(%r14) cmpq %rdx, %r14 je 0x71a1d movq %rdx, %rbx movq 0x8(%rdx), %rax testq %rax, %rax je 0x71997 lock incl (%rax) movq 0x8(%r14), %rax testq %rax, %rax...
/csukuangfj[P]ncnn/src/paramdict.cpp
ncnn::cpu_support_loongarch_lsx()
int cpu_support_loongarch_lsx() { try_initialize_global_cpu_info(); #if defined __ANDROID__ || defined __linux__ #if __loongarch64 return g_hwcaps & HWCAP_LOONGARCH_LSX; #else return 0; #endif #else return 0; #endif }
pushq %rax callq 0x72a87 xorl %eax, %eax popq %rcx retq
/csukuangfj[P]ncnn/src/cpu.cpp
virtual thunk to ncnn::Convolution_x86::create_pipeline(ncnn::Option const&)
int Convolution_x86::create_pipeline(const Option& opt) { if (dynamic_weight) return 0; activation = create_activation_layer(activation_type, activation_params, opt); nT = opt.num_threads; #if NCNN_INT8 if (opt.use_int8_inference && weight_data.elemsize == (size_t)1u) { return crea...
pushq %rax movq (%rdi), %rax addq -0x30(%rax), %rdi callq 0xab906 xorl %eax, %eax popq %rcx retq nop
/csukuangfj[P]ncnn/src/layer/x86/convolution_x86.cpp
ncnn::conv3x3s1_pack1to4_int8_sse(ncnn::Mat const&, ncnn::Mat&, ncnn::Mat const&, ncnn::Option const&)
static void conv3x3s1_pack1to4_int8_sse(const Mat& bottom_blob, Mat& top_blob, const Mat& kernel, const Option& opt) { int w = bottom_blob.w; int inch = bottom_blob.c; int outw = top_blob.w; int outh = top_blob.h; const int size = outw * outh; const int maxk = 9; // im2col Mat bottom_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdx, 0x68(%rsp) movslq 0x2c(%rdi), %rbp movq %rdi, 0x80(%rsp) movslq 0x38(%rdi), %r15 movslq 0x2c(%rsi), %r14 movq %rsi, 0x60(%rsp) movl 0x30(%rsi), %ebx movl %ebx, %esi imull %r14d, %esi movq %rcx, 0x70(%rsp) movq 0x10(%rcx), %rax...
/csukuangfj[P]ncnn/src/layer/x86/convolution_3x3_pack1to4_int8.h
void ncnn::copy_cut_border_image<float>(ncnn::Mat const&, ncnn::Mat&, int, int)
static void copy_cut_border_image(const Mat& src, Mat& dst, int top, int left) { int w = dst.w; int h = dst.h; const T* ptr = src.row<T>(top) + left; T* outptr = dst; //.data; for (int y = 0; y < h; y++) { if (w < 12) { for (int x = 0; x < w; x++) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r12 movl 0x30(%rsi), %edi testl %edi, %edi jle 0x168d46 movslq 0x2c(%rsi), %r9 movl %r9d, %r13d movslq 0x2c(%r12), %rax movslq %edx, %rdx imulq %rax, %rdx imulq 0x10(%r12), %rdx movq (%rsi), %r14 addq (%r12), %rdx movslq %ecx...
/csukuangfj[P]ncnn/src/layer/crop.cpp
ncnn::crop_pack4_sse(ncnn::Mat const&, ncnn::Mat&, int, int)
static void crop_pack4_sse(const Mat& src, Mat& dst, int top, int left) { int w = dst.w; int h = dst.h; int right = src.w - dst.w - left; const float* ptr = src.row(top) + left * 4; float* outptr = dst; for (int y = 0; y < h; y++) { for (int x = 0; x < w; x++) { ...
movl 0x30(%rsi), %eax testl %eax, %eax jle 0x17ff8c movl 0x2c(%rsi), %r8d movslq %r8d, %r10 movq (%rsi), %rsi movslq 0x2c(%rdi), %r9 movslq %edx, %rdx imulq %r9, %rdx imulq 0x10(%rdi), %rdx addq (%rdi), %rdx shll $0x2, %ecx movslq %ecx, %rcx leaq (%rdx,%rcx,4), %rcx subq %r10, %r9 shlq $0x2, %r9 xorl %edx, %edx movl %r...
/csukuangfj[P]ncnn/build_O1/src/layer/x86/crop_x86_avx.cpp
ncnn::Eltwise_x86_avx::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const
int Eltwise_x86_avx::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const { const Mat& bottom_blob = bottom_blobs[0]; int w = bottom_blob.w; int h = bottom_blob.h; int d = bottom_blob.d; int channels = bottom_blob.c; int elempack = bottom_blob.elemp...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r12 movq (%rsi), %r15 movl 0x30(%r15), %ebp movl 0x38(%r15), %r13d imull 0x2c(%r15), %ebp imull 0x34(%r15), %ebp imull 0x18(%r15), %ebp movq (%rdx), %r14 movq 0x8(%rcx), %rdx movq %r14, %rdi movq %r15, %rsi callq 0x...
/csukuangfj[P]ncnn/build_O1/src/layer/x86/eltwise_x86_avx.cpp