name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
nga_cadd_patch_
void FATR nga_cadd_patch_(SingleComplex *alpha, Integer *g_a, Integer *alo, Integer *ahi, SingleComplex *beta, Integer *g_b, Integer *blo, Integer *bhi, Integer *g_c, Integer *clo, Integer *chi) { Integer atype, btype, ctype; pnga_inquire_type(*g_a, &atype); pnga_inquire_type(*g_b, &btype); pnga_inquir...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r9, %r12 movq %r8, 0x18(%rsp) movq %rcx, 0x10(%rsp) movq %rdx, 0x8(%rsp) movq %rsi, %rbp movq %rdi, %r13 movq 0x80(%rsp), %r15 movq (%rsi), %rdi leaq 0x30(%rsp), %rbx movq %rbx, %rsi callq 0x6cae1 movq (%r12), %rdi leaq 0x28(%rsp),...
/GlobalArrays[P]ga/global/src/fapi.c
pnga_type_c2f
Integer pnga_type_c2f(Integer type) { Integer ftype; switch(type){ case C_INT: ftype = (sizeof(int) != sizeof(Integer))? -1: MT_F_INT; break; case C_LONG: ftype = (sizeof(long) != sizeof(Integer))? -1: MT_F_INT; break; case C_LONGLONG: ...
movq %rdi, %rax leaq -0x3e9(%rdi), %rcx cmpq $0xf, %rcx ja 0x16099 movl $0x806f, %edx # imm = 0x806F btl %ecx, %edx jae 0x16099 leaq 0x95abf(%rip), %rcx # 0xabb50 movq -0x1f48(%rcx,%rax,8), %rax retq nop
/GlobalArrays[P]ga/global/src/datatypes.c
pnga_copy_patch_dp
void pnga_copy_patch_dp(t_a, g_a, ailo, aihi, ajlo, ajhi, g_b, bilo, bihi, bjlo, bjhi) Integer g_a, ailo, aihi, ajlo, ajhi; Integer g_b, bilo, bihi, bjlo, bjhi; char *t_a; { Integer atype, btype, adim1, adim2, bdim1, bdim2; Integer ilos, ihis, jlos, jhis; Integer ilod, ihid, jlod, jhid...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %r9, 0x8(%rsp) movq %r8, 0x18(%rsp) movq %rcx, 0x10(%rsp) movq %rdx, 0x20(%rsp) movq %rsi, %r13 movq %rdi, 0x38(%rsp) movq 0x100(%rsp), %r12 xorl %eax, %eax callq 0x6df29 movq %rax, 0x30(%rsp) andq $0x0, 0x28(%rsp) leaq 0x95ae6(%rip...
/GlobalArrays[P]ga/global/src/DP.c
pnga_elem_minimum
void pnga_elem_minimum(Integer g_a, Integer g_b, Integer g_c){ Integer atype, andim; Integer btype, bndim; Integer ctype, cndim; Integer alo[MAXDIM],ahi[MAXDIM]; Integer blo[MAXDIM],bhi[MAXDIM]; Integer clo[MAXDIM],chi[MAXDIM]; pnga_inquire(g_a, &atype, &andim, ahi); pnga_inquire(g_b, &b...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 leaq 0x28(%rsp), %rsi leaq 0x10(%rsp), %r13 leaq 0xf0(%rsp), %rcx movq %r13, %rdx callq 0x6c9f5 leaq 0x20(%rsp), %rsi leaq 0x8(%rsp), %rbp leaq 0x70(%rsp), %rcx mo...
/GlobalArrays[P]ga/global/src/elem_alg.c
pnga_step_max
void pnga_step_max(Integer g_a, Integer g_b, void *retval) { Integer atype, andim; Integer btype, bndim; Integer alo[MAXDIM],ahi[MAXDIM]; Integer blo[MAXDIM],bhi[MAXDIM]; pnga_inquire(g_a, &atype, &andim, ahi); pnga_inquire(g_b, &btype, &bndim, bhi); while(andim){ alo[andim-1]=1; ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x130, %rsp # imm = 0x130 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 leaq 0x28(%rsp), %rsi leaq 0x18(%rsp), %r12 leaq 0xb0(%rsp), %rcx movq %r12, %rdx callq 0x6c9f5 leaq 0x20(%rsp), %rsi leaq 0x10(%rsp), %r13 leaq 0x30(%rsp), %rcx movq %rbx, %...
/GlobalArrays[P]ga/global/src/elem_alg.c
ngai_do_elem2_oper
static void ngai_do_elem2_oper(Integer atype, Integer cndim, Integer *loC, Integer *hiC, Integer *ldC, void *A_ptr, void *B_ptr, void *C_ptr, int op) { Integer i, j; Integer bvalue[MAXDIM], bunit[MAXDIM], baseldC[MAXDIM]; void *tempA = NULL, *tempB = NULL, *tempC = NULL; Integer idx, n1d...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movq %r9, 0x30(%rsp) movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, 0x28(%rsp) pushq $0x1 popq %rax movq %rax, %rdx cmpq %r12, %rax jge 0x1a4f7 movq (%r14,%rax,8), %rcx subq (%r15,%rax,8), %rcx incq ...
/GlobalArrays[P]ga/global/src/elem_alg.c
pnga_add
void pnga_add(void *alpha, Integer g_a, void* beta, Integer g_b, Integer g_c) { Integer ndim, type, typeC, me, elems=0, elemsb=0, elemsa=0; register Integer i; void *ptr_a, *ptr_b, *ptr_c; Integer a_grp, b_grp, c_grp; int local_sync_begin,local_sync_end; Integer _dims[MAXDIM]; Integer _ld[MAXDIM-1]; Integer _lo[M...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x148, %rsp # imm = 0x148 movq %r8, %r13 movq %rcx, %r12 movq %rdx, 0x58(%rsp) movq %rsi, %r15 movq %rdi, 0x30(%rsp) leaq 0xb6267(%rip), %rax # 0xd4160 movl (%rax), %r14d leaq 0xb6261(%rip), %rcx # 0xd4164 movl (%rcx), %edx movl ...
/GlobalArrays[P]ga/global/src/global.nalg.c
pnga_zero_patch
void pnga_zero_patch(Integer g_a, Integer *lo, Integer *hi) { Integer ndim, dims[MAXDIM], type; int ival = 0; long lval = 0; long llval = 0; double dval = 0.0; DoubleComplex cval; SingleComplex cfval; float fval = 0.0; void *valptr = NULL; int local_sync_begin,local_sync_end; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x80, %rsp andl $0x0, 0x4(%rsp) andq $0x0, 0x18(%rsp) movq %rdx, %rbx andq $0x0, 0x10(%rsp) movq %rsi, %r14 andq $0x0, 0x8(%rsp) movq %rdi, %r15 andl $0x0, (%rsp) leaq 0xb0951(%rip), %rax # 0xd4160 leaq 0xb094e(%rip), %rcx # 0xd4164 cmpl $0x0, (%rax) ...
/GlobalArrays[P]ga/global/src/global.npatch.c
pnga_error
void pnga_error(char *string, Integer icode) { #ifndef ARMCI extern void Error(); #endif #define FOUT stderr #define ERR_LEN 400 int level; char error_buffer[ERR_LEN]; /* JAD 02/23/2012 for applications, an exit/error code of 0 indicates * success, it is therefore wrong to call pnga_error with a zero...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x198, %rsp # imm = 0x198 movq %rsi, %rbx movq %rdi, %r14 xorl %ebp, %ebp xorl %eax, %eax callq 0x6df29 leaq 0x8901e(%rip), %rsi # 0xad927 movq %rsp, %r15 movq %r15, %rdi movl %eax, %edx xorl %eax, %eax callq 0x30a0 movq %r15, %rdi movq %r14, %rsi callq 0...
/GlobalArrays[P]ga/global/src/global.util.c
pnga_print_patch_file
void pnga_print_patch_file(file, g_a, lo, hi, pretty) Integer g_a, *lo, *hi, pretty; FILE *file; /* Pretty = 0 ... spew output out with no formatting Pretty = 1 ... format output so that it is readable */ { #define BUFSIZE 6 #define FLEN 80 Integer i, j; Integer type; char *name; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xa08, %rsp # imm = 0xA08 movq %r8, %r15 movq %rcx, %rbx movq %rdx, %r12 movq %rsi, %r13 movq %rdi, %r14 leaq 0xaebed(%rip), %rax # 0xd4160 pushq $0x1 popq %rcx movl %ecx, (%rax) leaq 0xaebe5(%rip), %rax # 0xd4164 movl %ecx, (%ra...
/GlobalArrays[P]ga/global/src/global.util.c
pnga_median_patch
void pnga_median_patch( g_a, alo, ahi, g_b, blo, bhi, g_c, clo, chi, g_m, mlo, mhi) Integer g_a, *alo, *ahi; /* patch of g_a */ Integer g_b, *blo, *bhi; /* patch of g_b */ Integer g_c, *clo, *chi; /* patch of g_c */ Integer g_m, *mlo, *mhi; /* patch of g_m */ { Integer i, j; Integer ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10f8, %rsp # imm = 0x10F8 movq %r9, 0x60(%rsp) movq %r8, %rbx movq %rdx, %r13 movq %rsi, %r14 movq 0x1148(%rsp), %rbp movq 0x1130(%rsp), %rax movq %rdi, 0x30(%rsp) movq %rdi, 0x28(%rsp) movq %rcx, 0x50(%rsp) movq %rcx, 0x20(%rsp) movq %...
/GlobalArrays[P]ga/global/src/matrix.c
pnga_norm_infinity
void pnga_norm_infinity(Integer g_a, double *nm) { Integer type; Integer me = pnga_nodeid (), i, j, nproc = pnga_nnodes(); Integer ndim, dims[MAXDIM], lo[2], hi[2], ld; Integer num_blocks_a; int local_sync_begin,local_sync_end; int isum = 0; long lsum = 0; double dsum = 0.0; float fsum = 0.0; float ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3c8, %rsp # imm = 0x3C8 movq %rsi, 0x10(%rsp) movq %rdi, %rbx xorl %ebp, %ebp xorl %eax, %eax callq 0x6df29 xorl %eax, %eax callq 0x6df65 andl $0x0, 0xc(%rsp) andq $0x0, 0x40(%rsp) andq $0x0, 0x38(%rsp) andl $0x0, 0x8(%rsp) andq $0x0, ...
/GlobalArrays[P]ga/global/src/matrix.c
pnga_scale_rows
void pnga_scale_rows(Integer g_a, Integer g_v) { Integer vndim, vdims, dim1/*, dim2*/, vtype, atype, type; Integer ld, lo[2], hi[2]; Integer me = pnga_nodeid (), i, chk; char *ptr; Integer andim, adims[2]; Integer num_blocks_a; int local_sync_begin,local_sync_end; _iterator_hdl hdl; local_sync_begin ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3a8, %rsp # imm = 0x3A8 movq %rsi, 0x38(%rsp) movq %rdi, %rbx xorl %eax, %eax callq 0x6df29 leaq 0xa08c7(%rip), %rax # 0xd4160 leaq 0xa08c4(%rip), %rcx # 0xd4164 cmpl $0x0, (%rax) movl (%rcx), %edx movl %edx, 0x34(%rsp) pushq $...
/GlobalArrays[P]ga/global/src/matrix.c
pnga_solve
Integer pnga_solve(Integer g_a, Integer g_b) { #if HAVE_SCALAPACK # if ENABLE_F77 Integer gai_solve_(Integer *g_a, Integer *g_b); return gai_solve_(&g_a, &g_b); # else pnga_error("ga_lu_solve:scalapack interfaced, need configure --enable-f77",0L); return FALSE; # endif #else pnga_error("ga_lu_...
pushq %rax leaq 0x7afd3(%rip), %rdi # 0xaf165 xorl %esi, %esi callq 0x248e6 xorl %eax, %eax popq %rcx retq
/GlobalArrays[P]ga/global/src/sclstubs.c
sga_pack_unpack
static void sga_pack_unpack(Integer g_src, Integer g_dst, Integer g_msk, Integer lo, Integer hi, Integer* icount, Integer pack) { void *ptr; long *lim=NULL; Integer nproc, me, i, myplace, np=0, first=-1; Integer lop, hip, dims; Integer ndim_src...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %r9, %rbx movq %r8, 0x80(%rsp) movq %rcx, 0x58(%rsp) movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %r13 andq $0x0, 0x8(%rsp) xorl %eax, %eax callq 0x6df65 movq %rax, %r12 xorl %eax, %eax callq 0x6df29 movq %rax, 0x50(%rsp) leaq 0x6fed7...
/GlobalArrays[P]ga/global/src/sparse.c
pnga_create_bin_range
logical pnga_create_bin_range(Integer g_bin, Integer g_cnt, Integer g_off, Integer *g_range) { Integer type, ndim, nbin, lobin, hibin, me=pnga_nodeid(),crap; Integer dims[2], nproc=pnga_nnodes(),chunk[2]; Integer tlo[2], thi[2]; pnga_inquire(g_bin, &type, &ndim, &nbin); if(ndim !=1) pnga_error("ga_bin_index: 1...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xf8, %rsp movq %rcx, 0x40(%rsp) movq %rdx, %r12 movq %rsi, 0x68(%rsp) movq %rdi, %rbx xorl %eax, %eax callq 0x6df29 movq %rax, %r14 xorl %eax, %eax callq 0x6df65 movq %rax, %rbp leaq 0x88(%rsp), %rsi leaq 0xc8(%rsp), %r13 leaq 0xc0(%rsp), %rcx mov...
/GlobalArrays[P]ga/global/src/sparse.c
pnga_sprs_array_create
Integer pnga_sprs_array_create(Integer idim, Integer jdim, Integer type, Integer size) { Integer i, hdl, s_a; int local_sync_begin,local_sync_end; local_sync_begin = _ga_sync_begin; local_sync_end = _ga_sync_end; _ga_sync_begin = 1; _ga_sync_end=1; /*remove any previous masking*/ if (local_sync_begin) pnga_p...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, 0x8(%rsp) movq %rdx, %r12 movq %rsi, %rbx movq %rdi, %r14 leaq 0x916bc(%rip), %rax # 0xd4160 leaq 0x916b9(%rip), %rcx # 0xd4164 cmpl $0x0, (%rax) movl (%rcx), %edx movl %edx, 0x4(%rsp) pushq $0x1 popq %rdx movl %edx, (...
/GlobalArrays[P]ga/global/src/sparse.array.c
list_delete_many
private int list_delete_many(list, pred, closure, action) AD **list; /* the list to search */ Boolean (*pred)(AD *, Pointer); /* predicate */ Pointer closure; /* for pred */ void (*action)(AD *); /* to apply before deletion */ { AD *ad1; /* lead traversa...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r13 xorl %r12d, %r12d movq %rdi, (%rsp) xorl %ebp, %ebp movq (%r13), %r13 testq %r13, %r13 je 0x5d9f6 movq %r13, %rdi movq %r14, %rsi callq *%r15 testq %rax, %rax je 0x5d9ed testq %rb...
/GlobalArrays[P]ga/ma/ma.c
MA_set_hard_fail
public Boolean MA_set_hard_fail( Boolean value /* to set flag to */) { Boolean old_value; /* of flag */ #ifdef STATS ma_stats.calls[(int)FID_MA_set_hard_fail]++; #endif /* STATS */ old_value = ma_hard_fail; ma_hard_fail = value; return old_value; }
incq 0x207a6a9(%rip) # 0x20d9238 leaq 0x207a82a(%rip), %rcx # 0x20d93c0 movq (%rcx), %rax movq %rdi, (%rcx) retq
/GlobalArrays[P]ga/ma/ma.c
ma_table_allocate
public Integer ma_table_allocate(data) TableData data; /* to store */ { Table new_ma_table; Integer new_ma_table_capacity; unsigned new_ma_table_size; Integer i; Integer slots_examined; /* expand the table if necessary */ if (ma_table_entries >= ma_table_capacit...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %r12 movq 0x207a827(%rip), %r14 # 0x20d97d0 movq 0x207a828(%rip), %rbx # 0x20d97d8 cmpq %rbx, %r14 jge 0x5efcb movq %rbx, %r15 movq 0x207a829(%rip), %rbx # 0x20d97e8 movq 0x207a81a(%rip), %r13 # 0x20d97e0 jmp 0x5f052 leaq (%...
/GlobalArrays[P]ga/ma/table.c
PARMCI_GetS
int PARMCI_GetS(void *src_ptr, int *src_stride_arr, void *dst_ptr, int *dst_stride_arr, int *count, int stride_levels, int proc) { int iret; /* check if data is contiguous */ if (armci_check_contiguous(src_stride_arr, dst_stride_arr, count, stride_levels)) { int i; int lcount = 1; for (i=0; i<=stride_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r9d, %ebp movq %r8, %r14 movq %rcx, %r13 movq %rdx, %r12 movq %rsi, %rbx movq %rdi, %r15 movl 0x40(%rsp), %eax movq %rax, (%rsp) movq %rsi, %rdi movq %rcx, %rsi movq %r8, %rdx movl %r9d, %ecx callq 0x5f832 testl %eax, %eax je 0x5fbbc mov...
/GlobalArrays[P]ga/comex/src-armci/armci.c
PARMCI_GetV
int PARMCI_GetV(armci_giov_t *darr, int len, int proc) { int rc; comex_giov_t *adarr = malloc(sizeof(comex_giov_t) * len); convert_giov(darr, adarr, len); rc = comex_getv(adarr, len, proc, COMEX_GROUP_WORLD); free(adarr); return rc; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movl %edx, %ebx movq %rdi, %r14 movslq %esi, %r15 imulq $0x18, %r15, %rdi callq 0x33d0 movq %rax, %r12 movq %r14, %rdi movq %rax, %rsi movl %r15d, %edx callq 0x5fa43 movq %r12, %rdi movl %r15d, %esi movl %ebx, %edx xorl %ecx, %ecx callq 0x639ec movl %eax, %ebx movq...
/GlobalArrays[P]ga/comex/src-armci/armci.c
PARMCI_Memat
void* PARMCI_Memat(armci_meminfo_t *meminfo, long offset) { void *ptr=NULL; int rank; comex_group_rank(COMEX_GROUP_WORLD, &rank); if(meminfo==NULL) comex_error("PARMCI_Memat: Invalid arg #1 (NULL ptr)",0); if(meminfo->cpid==rank) { ptr = meminfo->addr; return ptr; } ptr = meminfo->addr; ...
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx leaq 0xc(%rsp), %rsi xorl %edi, %edi callq 0x6434c testq %rbx, %rbx jne 0x5fece leaq 0x52595(%rip), %rdi # 0xb245c xorl %esi, %esi callq 0x6360d movq 0x8(%rbx), %rax addq $0x10, %rsp popq %rbx retq
/GlobalArrays[P]ga/comex/src-armci/armci.c
comex_accs
int comex_accs( int datatype, void *scale, void *src_ptr, int *src_stride_ar, void *dst_ptr, int *dst_stride_ar, int *count, int stride_levels, int proc, comex_group_t group) { int i, j; long src_idx, dst_idx; /* index offset of current block position to ptr */ int n...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xf8, %rsp movq %r9, 0x68(%rsp) movq %r8, 0x60(%rsp) movq %rcx, %r13 movq %rdx, 0x58(%rsp) movq %rsi, 0x20(%rsp) movq %rdi, 0x10(%rsp) movl 0x148(%rsp), %ebp leaq 0x70(%rsp), %rsi movl %ebp, %edi callq 0x64377 testl %eax, %eax jne 0x62eb9 movl 0x14...
/GlobalArrays[P]ga/comex/src-mpi/comex.c
comex_getv
int comex_getv( comex_giov_t *iov, int iov_len, int proc, comex_group_t group) { int i; for (i=0; i<iov_len; ++i) { int j; void **src = iov[i].src; void **dst = iov[i].dst; int bytes = iov[i].bytes; int count = iov[i].count; for (j=0; j<count; ++j)...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %ecx, 0xc(%rsp) movl %edx, %ebp movq %rdi, 0x10(%rsp) xorl %eax, %eax testl %esi, %esi cmovlel %eax, %esi movq %rsi, 0x18(%rsp) xorl %eax, %eax cmpq 0x18(%rsp), %rax je 0x63a74 movq %rax, 0x20(%rsp) imulq $0x18, %rax, %rax movq 0x10...
/GlobalArrays[P]ga/comex/src-mpi/comex.c
comex_unlock
int comex_unlock(int mutex, int proc) { #if DEBUG printf("[%d] comex_unlock id=%d proc=%d\n", l_state.rank, mutex, proc); #endif header_t *header = NULL; header = _my_malloc(sizeof(header_t)); header->operation = OP_UNLOCK; header->remote_address = NULL; header->local_address = NULL; header...
pushq %rbp pushq %rbx pushq %rax movl %esi, %ebx movl %edi, %ebp pushq $0x28 popq %rdi callq 0x624dc movl $0x13, (%rax) xorps %xmm0, %xmm0 movups %xmm0, 0x8(%rax) movl %ebp, 0x18(%rax) andq $0x0, 0x20(%rax) pushq $0x28 popq %rdx movl %ebx, %edi movq %rax, %rsi callq 0x63529 callq 0x635fb xorl %eax, %eax addq $0x8, %rsp...
/GlobalArrays[P]ga/comex/src-mpi/comex.c
comex_group_rank
int comex_group_rank(comex_group_t group, int *rank) { int status; comex_igroup_t *igroup = comex_get_igroup_from_group(group); status = MPI_Group_rank(igroup->group, rank); if (status != MPI_SUCCESS) { comex_error("MPI_Group_rank: Failed ", status); } return COMEX_SUCCESS; }
pushq %rbx movq %rsi, %rbx callq 0x642fc movq 0x18(%rax), %rdi movq %rbx, %rsi callq 0x3530 testl %eax, %eax je 0x64373 leaq 0x4f44a(%rip), %rdi # 0xb37b6 movl %eax, %esi callq 0x6360d xorl %eax, %eax popq %rbx retq
/GlobalArrays[P]ga/comex/src-mpi/groups.c
comex_group_finalize
void comex_group_finalize() { comex_igroup_t *current_group_list_item = group_list; comex_igroup_t *previous_group_list_item = NULL; /* don't free the world group (the list head) */ current_group_list_item = current_group_list_item->next; while (current_group_list_item != NULL) { previous_...
pushq %r15 pushq %r14 pushq %rbx leaq 0x20751be(%rip), %r14 # 0x20d9890 movq (%r14), %rax movq (%rax), %rbx testq %rbx, %rbx je 0x646f5 movq (%rbx), %r15 movq %rbx, %rdi callq 0x64467 movq %rbx, %rdi callq 0x3350 movq %r15, %rbx jmp 0x646d8 movq (%r14), %rdi addq $0x18, %rdi callq 0x34e0 movq (%r14), %rdi callq 0x335...
/GlobalArrays[P]ga/comex/src-mpi/groups.c
pnga_set_ghosts
void pnga_set_ghosts(Integer g_a, Integer *width) { Integer i; Integer ga_handle = g_a + GA_OFFSET; if (GA[ga_handle].actv == 1) pnga_error("Cannot set ghost widths on array that has been allocated",0); if (GA[ga_handle].ndim < 1) pnga_error("Dimensions must be set before array widths are specified",0);...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 leaq 0x20721d2(%rip), %r13 # 0x20d9908 movq (%r13), %rax imulq $0x368, %rdi, %rbp # imm = 0x368 addq $0x3e8, %r14 # imm = 0x3E8 cmpl $0x1, 0xd4e48(%rbp,%rax) jne 0x67764 leaq 0x4c83e(%rip), %rd...
/GlobalArrays[P]ga/global/src/base.c
pnga_unset_property
void pnga_unset_property(Integer g_a) { Integer ga_handle = g_a + GA_OFFSET; if (GA[ga_handle].property == READ_ONLY) { /* TODO: Copy global array to original configuration */ int i, d, ndim, btot, chk; Integer g_tmp, grp_me; Integer nprocs, nodeid, origin_id, dflt_grp, handle, maplen; Integer n...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xe8, %rsp movq %rdi, 0x8(%rsp) leaq 0x3e8(%rdi), %rcx leaq 0x206fa31(%rip), %rbx # 0x20d9908 movq (%rbx), %rax imulq $0x368, %rcx, %r14 # imm = 0x368 leaq (%rax,%r14), %rcx movl 0x2c8(%rax,%r14), %edx cmpl $0x2, %edx je 0x6a052 cmpl $0x1, %...
/GlobalArrays[P]ga/global/src/base.c
pnga_lock
void pnga_lock(Integer mutex) { int m,p; if(GAnproc == 1) return; if(num_mutexes< mutex)pnga_error("invalid mutex",mutex); p = num_mutexes/chunk_mutex -1; m = num_mutexes%chunk_mutex; ARMCI_Lock(m,p); }
leaq 0x206b5f1(%rip), %rax # 0x20d99e8 cmpq $0x1, (%rax) jne 0x6e3fe retq pushq %rax movq %rdi, %rsi movl 0x206b620(%rip), %eax # 0x20d9a28 cmpq %rdi, %rax jge 0x6e41f leaq 0x4643f(%rip), %rdi # 0xb4853 callq 0x248e6 movl 0x206b609(%rip), %eax # 0x20d9a28 cltd idivl 0x206b606(%rip) # 0x20d9a2c movl %e...
/GlobalArrays[P]ga/global/src/base.c
pnga_gather
void pnga_gather(Integer g_a, void* v, void *subscript, Integer c_flag, Integer nv) { if (nv < 1) return; ga_check_handleM(g_a, "nga_gather"); GAstat.numgat++; #ifdef USE_GATSCAT_NEW gai_gatscat_new(GATHER,g_a,v,subscript,c_flag,nv,&GAbytes.gattot,&GAbytes.gatloc, NULL); #else gai_gatscat(GATHER,g_a,v,su...
testq %r8, %r8 jle 0x79756 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movq %r8, %rbx movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r13 leaq 0x3e8(%rdi), %rbp cmpq $-0x3e8, %rdi # imm = 0xFC18 jl 0x796aa leaq 0x5aac6(%rip), %rax ...
/GlobalArrays[P]ga/global/src/onesided.c
gai_ComputeCountWithSkip
int gai_ComputeCountWithSkip(Integer ndim, Integer *lo, Integer *hi, Integer *skip, int *count, Integer *nstride) { #if 1 Integer idx; int i, istride = 0; /* if (GAme==0) { printf("p[%d] ComputeCount lo[0]: %d hi[0]: %d lo[1]: %d hi[1]: %d\n",GAme, lo[0],hi[0],lo[1],hi[1...
pushq %rbx movq %rdx, %r10 movl $0x1, (%r8) xorl %eax, %eax testl %edi, %edi cmovlel %eax, %edi negq %rdi movabsq $0x1, %r11 leaq (%rdi,%r11), %rax cmpq $0x1, %rax je 0x7b79b movq -0x8(%r10,%r11,8), %rax subq -0x8(%rsi,%r11,8), %rax js 0x7b7a5 movq -0x8(%rcx,%r11,8), %rbx cmpq $0x2, %rbx jl 0x7b790 xorl %edx, %edx divq...
/GlobalArrays[P]ga/global/src/onesided.c
pnga_msg_brdcst
void pnga_msg_brdcst(Integer type, void *buffer, Integer len, Integer root) { long bigint = 2147483647L; int i, nsteps;//= (int) ceil(((double)len)/((double)bigint)); long len_small; void *buffer_ptr; long istart=0; int p_grp; /* printf("%ld len %ld bigint %ld \n",GAme,len,bigint); */ nsteps...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, 0x8(%rsp) movq %rdx, %r14 movq %rsi, 0x10(%rsp) cvtsi2sd %rdx, %xmm0 divsd 0x37a48(%rip), %xmm0 # 0xb3b10 callq 0x3070 cvttsd2si %xmm0, %ebp xorl %eax, %eax testl %ebp, %ebp cmovlel %eax, %ebp movl $0x7fffffff, %ebx #...
/GlobalArrays[P]ga/global/src/collect.c
GA_MPI_Comm_pgroup
MPI_Comm GA_MPI_Comm_pgroup(int p_grp) { ARMCI_Group group; if (p_grp > 0) { group = PGRP_LIST[p_grp].group; } else { ARMCI_Group_get_world(&group); } # if HAVE_ARMCI_GROUP_COMM_MEMBER return group.comm; # else return armci_group_comm(&group); # endif }
pushq %rax testl %edi, %edi jle 0x7c219 leaq 0x205d75a(%rip), %rax # 0x20d9960 movq (%rax), %rax movl %edi, %ecx imulq $0x28, %rcx, %rcx movl 0x20(%rax,%rcx), %eax movl %eax, 0x4(%rsp) jmp 0x7c223 leaq 0x4(%rsp), %rdi callq 0x608c6 leaq 0x4(%rsp), %rdi callq 0x608f0 popq %rcx retq
/GlobalArrays[P]ga/global/src/collect.c
pnga_msg_pgroup_sync
void pnga_msg_pgroup_sync(Integer grp_id) { int p_grp = (int)(grp_id); if(p_grp>0) { # ifdef MSG_COMMS_MPI armci_msg_group_barrier(&(PGRP_LIST[p_grp].group)); # else pnga_error("ga_msg_pgroup_sync not implemented",0); # endif } else { # if defined(MSG_COMMS_MPI) ...
testl %edi, %edi jle 0x7c289 leaq 0x205d6f1(%rip), %rax # 0x20d9960 movq (%rax), %rax andl $0x7fffffff, %edi # imm = 0x7FFFFFFF imulq $0x28, %rdi, %rcx leaq (%rax,%rcx), %rdi addq $0x20, %rdi jmp 0x6085c xorl %eax, %eax jmp 0x60855
/GlobalArrays[P]ga/global/src/collect.c
pnga_gop
void pnga_gop(Integer type, void *x, Integer n, char *op) { Integer p_grp = pnga_pgroup_get_default(); _ga_sync_begin = 1; _ga_sync_end=1; /*remove any previous masking*/ if (p_grp > 0) { pnga_pgroup_gop(p_grp, type, x, n, op); } else { #if defined(MSG_COMMS_MPI) switch (type){ ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 xorl %eax, %eax callq 0x66fc0 leaq 0x57d8b(%rip), %rcx # 0xd4160 pushq $0x1 popq %rdx movl %edx, (%rcx) leaq 0x57d83(%rip), %rcx # 0xd4164 movl %edx, (%rcx) testq %rax, %rax jle 0x7c407 movq %r...
/GlobalArrays[P]ga/global/src/collect.c
pnga_update1_ghosts
void pnga_update1_ghosts(Integer g_a) { Integer idx, ipx, inx, i, np, handle=GA_OFFSET + g_a, proc_rem; Integer size, ndim, nwidth, offset, slice, increment[MAXDIM]; Integer width[MAXDIM]; Integer dims[MAXDIM], imax=0; Integer lo_loc[MAXDIM], hi_loc[MAXDIM]; Integer plo_loc[MAXDIM]/*, phi_loc[MAXDIM]*/; I...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x6b8, %rsp # imm = 0x6B8 movq %rdi, %r14 xorl %eax, %eax callq 0x6df29 movq %rax, %rbx movq %r14, %rdi callq 0x6b510 testq %rax, %rax je 0x7f785 movq %rbx, 0x18(%rsp) leaq 0x205c20c(%rip), %rbx # 0x20d99e8 movq (%rbx), %r15 imulq $0x7...
/GlobalArrays[P]ga/global/src/ghosts.c
pnga_update3_ghosts
logical pnga_update3_ghosts(Integer g_a) { Integer idx, i, np, handle=GA_OFFSET + g_a, proc_rem; Integer size, ndim, nwidth, increment[MAXDIM]; Integer width[MAXDIM]; Integer dims[MAXDIM]; Integer lo_loc[MAXDIM], hi_loc[MAXDIM]; Integer plo_loc[MAXDIM]/*, phi_loc[MAXDIM]*/; Integer tlo_rem[MAXDIM], thi_re...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x618, %rsp # imm = 0x618 movq %rdi, %r13 xorl %eax, %eax callq 0x6df29 movq %rax, %r12 movq %r13, %rdi callq 0x6b510 testq %rax, %rax je 0x8236c leaq 0x3e8(%r13), %rax leaq 0x205901a(%rip), %rbx # 0x20d9908 movq (%rbx), %rcx imulq $0x...
/GlobalArrays[P]ga/global/src/ghosts.c
dd_ev
double dd_ev(long ndims,Integer ardims[], Integer pedims[]) { double q, t; long k; q = 1.0; t = 1.0; for(k=0;k<ndims;k++){ q = (ardims[k]/pedims[k])*pedims[k]; t = t*(q/(double)ardims[k]); } return t; }
movq %rdx, %rcx xorl %r9d, %r9d testq %rdi, %rdi cmovleq %r9, %rdi movsd 0x18e4a(%rip), %xmm0 # 0xab2f0 cmpq %r9, %rdi je 0x924d2 movq (%rsi,%r9,8), %r8 movq %r8, %rax cqto idivq (%rcx,%r9,8) cvtsi2sd %r8, %xmm1 subq %rdx, %r8 cvtsi2sd %r8, %xmm2 divsd %xmm1, %xmm2 mulsd %xmm2, %xmm0 incq %r9 jmp 0x924a6 retq
/GlobalArrays[P]ga/global/src/decomp.c
genRandLong
unsigned long genRandLong(MTRand* rand) { unsigned long y; static unsigned long mag[2] = {0x0, 0x9908b0df}; /* mag[x] = x * 0x9908b0df for x = 0,1 */ if(rand->index >= STATE_VECTOR_LENGTH || rand->index < 0) { /* generate STATE_VECTOR_LENGTH words at a time */ int kk; if(rand->index >= STATE_VECTOR_L...
pushq %rbx movq %rdi, %rbx movl 0x1380(%rdi), %eax cmpq $0x26f, %rax # imm = 0x26F jbe 0x94052 cmpl $0x270, %eax # imm = 0x270 je 0x94007 movl $0x1105, %esi # imm = 0x1105 movq %rbx, %rdi callq 0x93fb6 xorl %ecx, %ecx movl $0x80000000, %edx # imm = 0x80000000 leaq 0x2183b(%rip), %r...
/GlobalArrays[P]ga/global/src/mtwister.c
ASSERT_RE(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void ASSERT_RE(std::string actual, std::string expected) { std::regex re(expected); if (regex_match(actual, re)) return; std::cerr << "Assertion failed:\n" "Expected:\n" << expected << "\n" << "but got:\n" << actual << std::endl; std::exit(1); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x28(%rsp), %r15 movq %r15, %rdi movl $0x10, %edx callq 0x11cc2 movq (%rbx), %rdi movq 0x8(%rbx), %rsi addq %rdi, %rsi xorps %xmm0, %xmm0 movq %rsp, %rdx movaps %xmm0, 0x10(%rdx) movaps %xmm0, (%rdx) movq %r15, %rcx xorl %...
/bblanchon[P]ArduinoTrace/extras/test/myassert.h
main
int main(int argc, char* argv[]) { push_marker_options_t opts; opts.parse_options(argc, argv); if (!opts.send_event_ && !opts.send_vtt_) { std::cout << "not configured to send event track or vtt track, use option --vtt when setting option --no_event" << std::endl; return 0; } ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x748, %rsp # imm = 0x748 movq %rsi, %rbx movl %edi, %ebp leaq 0xd8(%rsp), %r14 movq %r14, %rdi callq 0x7298 movq %r14, %rdi movl %ebp, %esi movq %rbx, %rdx callq 0x7378 cmpb $0x0, 0x129(%rsp) jne 0x5da4 cmpb $0x0, 0x128(%rsp) jne 0x5da4...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/push_markers.cpp
push_marker_options_t::push_marker_options_t()
push_marker_options_t() : url_("http://localhost/test01/test01.isml") , dry_run_(false) , avail_interval_(60000) , avail_dur_(10000) , seg_dur_(2000) , timescale_(1000) , track_id_(1) , announce_(0) , send_vtt_(false) , send_event_(true) ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdi, %rbx leaq 0x10(%rdi), %r12 movq %r12, (%rdi) leaq 0x130c5(%rip), %rsi # 0x1a377 leaq 0x130e1(%rip), %rdx # 0x1a39a callq 0x7a50 xorl %eax, %eax movb %al, 0x20(%rbx) movq $0x0, 0x28(%rbx) movq $0x7d0, 0x30(%rbx) # imm = 0x7D0 movq $0xea60, 0x...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/push_markers.cpp
PostCurlIngestConnection::send_curl_post(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::vector<unsigned char, std::allocator<unsigned char>>&)
static CURLcode send_curl_post(std::string &post_url, std::vector<uint8_t> &data) { try { CURL* curl = curl_easy_init(); curl_easy_setopt(curl, CURLOPT_URL, post_url.c_str()); curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0); curl_easy...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %r15 callq 0x4490 movq %rax, %rbx movq (%r15), %rdx movq %rax, %rdi movl $0x2712, %esi # imm = 0x2712 xorl %eax, %eax callq 0x43f0 movq %rbx, %rdi movl $0x40, %esi xorl %edx, %edx xorl %eax, %eax callq 0x43f0 movq %rbx, %rdi mov...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/push_markers.cpp
push_marker_options_t::~push_marker_options_t()
push_marker_options_t() : url_("http://localhost/test01/test01.isml") , dry_run_(false) , avail_interval_(60000) , avail_dur_(10000) , seg_dur_(2000) , timescale_(1000) , track_id_(1) , announce_(0) , send_vtt_(false) , send_event_(true) ...
pushq %rbx movq %rdi, %rbx movq 0x78(%rdi), %rdi leaq 0x88(%rbx), %rax cmpq %rax, %rdi je 0x78b1 movq (%rax), %rsi incq %rsi callq 0x4090 movq 0x58(%rbx), %rdi leaq 0x68(%rbx), %rax cmpq %rax, %rdi je 0x78c9 movq (%rax), %rsi incq %rsi callq 0x4090 movq (%rbx), %rdi addq $0x10, %rbx cmpq %rbx, %rdi je 0x78e1 movq (%rbx...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/push_markers.cpp
fmp4_stream::box::parse(char const*)
void box::parse(char const* ptr) { size_ = fmp4_read_uint32(ptr); box_type_ = std::string(ptr + 4, ptr + 8); if (size_ == 1) { large_size_ = fmp4_read_uint64(ptr + 8); } }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx movl (%rsi), %eax bswapl %eax movl %eax, 0x8(%rdi) leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) movl 0x4(%rsi), %eax movl %eax, (%r12) movq $0x4, -0x8(%r12) movb $0x0, 0x4(%r12) addq $0x18, %rdi leaq 0x8(%rsp), %r15 movq %r15, ...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::full_box::parse(char const*)
void full_box::parse(char const *ptr) { box::parse(ptr); // read the version and flags uint64_t offset = box::size(); magic_conf_ = fmp4_read_uint32(ptr + offset); this->version_ = *((const uint8_t *)((ptr + offset))); this->flags_ = ((uint32_t)(0x00FFFFFF)) & fmp4_read_uint32(ptr + offset); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 callq 0x8314 movzbl 0x60(%r14), %eax movzbl 0x61(%r14), %ecx shll $0x4, %ecx leal (%rcx,%rax,8), %eax movl 0x8(%rax,%rbx), %ecx bswapl %ecx movl %ecx, 0x68(%r14) movb 0x8(%rax,%rbx), %cl movb %cl, 0x62(%r14) movl $0xffffff00, %ecx # imm = 0xFFFFFF00...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::mfhd::print() const
void mfhd::print() const { std::cout << "=================mfhd==================" << std::endl; std::cout << std::setw(33) << std::left << " sequence number is: " << seq_nr_ << std::endl; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 movq 0x19860(%rip), %rbx # 0x21fc8 leaq 0x12401(%rip), %rsi # 0x1ab70 movl $0x27, %edx movq %rbx, %rdi callq 0x4480 movq (%rbx), %rax movq -0x18(%rax), %rdi addq %rbx, %rdi movl $0xa, %esi callq 0x44e0 movsbl %al, %esi movq %rbx, %rdi callq 0x42b0 movq %rax, %rdi...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::tfhd::parse(char const*)
void tfhd::parse(const char * ptr) { full_box::parse(ptr); track_id_ = fmp4_read_uint32(ptr + 12); base_data_offset_present_ = !! (0x1u) & flags_; sample_description_index_present_ = !!(0x2u & flags_); default_sample_duration_present_ = !!(0x00000008u & flags_); default_sample_size_present_ = !!(0x00000010...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx callq 0x8314 movzbl 0x60(%rbx), %eax movzbl 0x61(%rbx), %ecx shll $0x4, %ecx leal (%rcx,%rax,8), %eax movl 0x8(%rax,%r14), %ecx bswapl %ecx movl %ecx, 0x68(%rbx) movb 0x8(%rax,%r14), %cl movb %cl, 0x62(%rbx) movl $0xffffff00, %r8d ...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::tfhd::size() const
uint64_t box::size() const { uint64_t l_size = 8; if (is_large_) l_size += 8; if (has_uuid_) l_size += 16; return l_size; }
movzbl 0x60(%rdi), %eax movzbl 0x61(%rdi), %ecx shll $0x4, %ecx leal (%rcx,%rax,8), %eax movzbl 0x6c(%rdi), %ecx leaq (%rax,%rcx,8), %rax xorl %ecx, %ecx cmpl $0x0, 0x80(%rdi) setne %cl leaq (%rax,%rcx,4), %rax movzbl 0x6e(%rdi), %ecx leaq (%rax,%rcx,4), %rax movzbl 0x6f(%rdi), %ecx leaq (%rax,%rcx,4), %rax movzbl 0x70...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::tfhd::print() const
void tfhd::print() const { std::cout << "=================tfhd==================" << std::endl; //cout << setw(33) << left << " magic conf " << m_magic_conf << endl; std::cout << std::setw(33) << std::left << " vflags " << flags_ << std::endl; std::cout << std::setw(33) << std::...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdi, %rbx movq 0x1962c(%rip), %r14 # 0x21fc8 leaq 0x1220b(%rip), %rsi # 0x1abae movl $0x27, %edx movq %r14, %rdi callq 0x4480 movq (%r14), %rax movq -0x18(%rax), %rdi addq %r14, %rdi movl $0xa, %esi callq 0x44e0 movsbl %al, %esi movq %r14, %rdi callq ...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::tfdt::print() const
void tfdt::print() const { std::cout << "=================tfdt==================" << std::endl; std::cout << std::setw(33) << std::left << " basemediadecodetime: " << base_media_decode_time_ << std::endl; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x191b4(%rip), %r14 # 0x21fc8 leaq 0x11e91(%rip), %rsi # 0x1acac movl $0x27, %edx movq %r14, %rdi callq 0x4480 movq (%r14), %rax movq -0x18(%rax), %rdi addq %r14, %rdi movl $0xa, %esi callq 0x44e0 movsbl %al, %esi movq %r14, %rdi callq 0x42b0 movq %rax, %rdi...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::tfdt::parse(char const*)
void tfdt::parse(const char* ptr) { full_box::parse(ptr); base_media_decode_time_ = version_ ? \ fmp4_read_uint64((char *)(ptr + 12)) : \ fmp4_read_uint32((char *)(ptr + 12)); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx callq 0x8314 movzbl 0x60(%rbx), %eax movzbl 0x61(%rbx), %ecx shll $0x4, %ecx leal (%rcx,%rax,8), %eax movl 0x8(%rax,%r14), %ecx bswapl %ecx movl %ecx, 0x68(%rbx) movb 0x8(%rax,%r14), %cl movb %cl, 0x62(%rbx) movl $0xffffff00, %edx # imm = 0xFFFFFF00...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::trun::size() const
uint64_t box::size() const { uint64_t l_size = 8; if (is_large_) l_size += 8; if (has_uuid_) l_size += 16; return l_size; }
movzbl 0x60(%rdi), %eax movzbl 0x61(%rdi), %ecx shll $0x4, %ecx leal (%rcx,%rax,8), %eax movzbl 0x78(%rdi), %ecx leal (%rax,%rcx,4), %eax movzbl 0x79(%rdi), %ecx movl 0x6c(%rdi), %edx shll $0x2, %edx xorl %esi, %esi cmpb $0x0, 0x7a(%rdi) movl $0x0, %r8d cmovneq %rdx, %r8 cmpb $0x0, 0x7b(%rdi) leaq (%rax,%rcx,4), %rax m...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::trun::print() const
void trun::print() const { std::cout << "==================trun=================" << std::endl; std::cout << std::setw(33) << std::left << " magic conf " << magic_conf_ << std::endl; std::cout << std::setw(33) << std::left << " sample count: " << sample_count_ << std::endl; if (data_offset...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdi, %rbx movq 0x1902c(%rip), %r14 # 0x21fc8 leaq 0x11d48(%rip), %rsi # 0x1aceb movl $0x27, %edx movq %r14, %rdi callq 0x4480 movq (%r14), %rax movq -0x18(%rax), %rdi addq %r14, %rdi movl $0xa, %esi callq 0x44e0 movsbl %al, %esi movq %r14, %rdi callq ...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::trun::parse(char const*)
void trun::parse(const char * ptr) { full_box::parse(ptr); sample_count_ = fmp4_read_uint32(ptr + 12); std::bitset<32> bb(flags_); data_offset_present_ = bb[0]; //cout << "data_offset_present " << data_offset_present << endl; first_sample_flags_present_ = bb[2]; //cout << "first_sample_flags_present "...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r14 callq 0x8314 movzbl 0x60(%r14), %eax movzbl 0x61(%r14), %ecx shll $0x4, %ecx leal (%rcx,%rax,8), %eax movl 0x8(%rax,%rbx), %ecx bswapl %ecx movl %ecx, 0x68(%r14) movb 0x8(%rax,%rbx), %cl movb %cl, 0x62(%r1...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::media_fragment::get_duration()
uint64_t media_fragment::get_duration() { uint64_t duration = this->trex_.default_sample_duration_; for (unsigned int i = 0; i < trun_.sample_count_; i++) { uint32_t sample_duration = tfhd_.default_sample_duration_; if (trun_.sample_duration_present_) { sample_duration = trun_.m_sentry[i].sample_du...
movl 0x1c8(%rdi), %eax movl 0x3bc(%rdi), %ecx testq %rcx, %rcx je 0x95dd leaq 0x2cc(%rdi), %rdx movb 0x3ca(%rdi), %sil movq 0x3d0(%rdi), %rdi addq $0x8, %rdi testb %sil, %sil movq %rdx, %r8 cmovneq %rdi, %r8 movl (%r8), %r8d addq %r8, %rax addq $0x20, %rdi decq %rcx jne 0x95c4 retq
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::sc35_splice_info::print(bool) const
void sc35_splice_info::print(bool verbose) const { if (verbose) { std::cout << std::setw(33) << std::left << " table id: " << (unsigned int)table_id_ << std::endl; std::cout << std::setw(33) << std::left << " section_syntax_indicator: " << section_syntax_indicator_ << std::endl; std::cout << std::setw(33) <...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdi, %rbx testl %esi, %esi je 0x9b53 movq 0x189d0(%rip), %r14 # 0x21fc8 movq (%r14), %rax movq -0x18(%rax), %rcx movl $0x21, %r12d movq %r12, 0x10(%r14,%rcx) movq -0x18(%rax), %rax movl $0xffffff4f, %ebp # imm = 0xFFFFFF4F movl 0x18(%r14,%rax), %ecx...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::sc35_splice_info::parse(unsigned char const*, unsigned int)
void sc35_splice_info::parse(const uint8_t *ptr, unsigned int size) { table_id_ = *ptr++; if (table_id_ != 0xFC) { std::cout << " error parsing table id, tableid != 0xFC " << std::endl; return; } std::bitset<8> b(*ptr); section_syntax_indicator_ = b[7]; private_indicator_ = b[6]; section_length...
movb (%rsi), %al movb %al, (%rdi) cmpb $-0x4, %al jne 0x9f0f movb 0x1(%rsi), %al movl %eax, %ecx shrb $0x7, %cl movb %cl, 0x1(%rdi) shrb $0x6, %al andb $0x1, %al movb %al, 0x2(%rdi) movzwl 0x1(%rsi), %eax andl $0xff0f, %eax # imm = 0xFF0F rolw $0x8, %ax movw %ax, 0x4(%rdi) movb 0x3(%rsi), %al movb %al, 0x6(%r...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::gen_splice_insert(std::vector<unsigned char, std::allocator<unsigned char>>&, int, unsigned int, bool)
void gen_splice_insert(std::vector<uint8_t> &out_splice_insert,int event_id, uint32_t duration, bool splice_immediate) { out_splice_insert = base64_decode(base64splice_insert); uint8_t *ptr = &out_splice_insert[0]; if (splice_immediate) { *(ptr + 2) = *(ptr + 2) - 1; } ptr += 12; if (splice_immed...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x20, %rsp movl %ecx, %r15d movl %edx, %ebp movl %esi, %r14d movq %rdi, %rbx leaq 0x186a7(%rip), %rsi # 0x22618 movq %rsp, %r12 movq %r12, %rdi callq 0x1908a movq (%rbx), %rdi movq 0x10(%rbx), %rsi movaps (%r12), %xmm0 movups %xmm0, (%rbx) movq 0x10(%r12)...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::emsg::size() const
uint64_t box::size() const { uint64_t l_size = 8; if (is_large_) l_size += 8; if (has_uuid_) l_size += 16; return l_size; }
movzbl 0x60(%rdi), %eax movzbl 0x61(%rdi), %ecx shll $0x4, %ecx leal (%rcx,%rax,8), %ecx xorl %edx, %edx cmpb $0x1, 0x62(%rdi) sete %dl movq 0x78(%rdi), %rax addq 0x98(%rdi), %rax leal (%rcx,%rdx,4), %ecx addq 0xd0(%rdi), %rax addq %rcx, %rax subq 0xc8(%rdi), %rax addq $0x1e, %rax retq nop
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::emsg::parse(char const*, unsigned int)
void emsg::parse(const char *ptr, unsigned int data_size) { full_box::parse(ptr); uint64_t offset = full_box::size(); if (version_ == 0) { scheme_id_uri_ = std::string(ptr + offset); //cout << "scheme_id_uri: " << scheme_id_uri << endl; offset = offset + scheme_id_uri_.size() + 1; value_ = std::str...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %edx, %ebx movq %rsi, %r14 movq %rdi, %r15 callq 0x8314 movzbl 0x60(%r15), %eax movzbl 0x61(%r15), %ecx shll $0x4, %ecx leal (%rcx,%rax,8), %eax leaq 0x8(%rax), %r13 movl 0x8(%r14,%rax), %ecx bswapl %ecx movl %ecx, 0x68(%r15) movb 0...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::emsg::write_emsg_as_mpd_event(std::ostream&, unsigned long) const
void emsg::write_emsg_as_mpd_event(std::ostream &ostr, uint64_t base_time) const { ostr << "<event " << "presentationtime=" << '"' << (this->version_ ? presentation_time_ : base_time + presentation_time_delta_) << '"' << " " \ << "duration=" << '"' << event_duration_ << '"' << " " \ << "id=" << '"' << id_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 leaq 0x10c0e(%rip), %rsi # 0x1afdc movl $0x7, %edx movq %rbx, %rdi callq 0x4480 leaq 0x10c02(%rip), %rsi # 0x1afe4 movl $0x11, %edx movq %rbx, %rdi callq 0x4480 movb $0x22, %bpl lea...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::emsg::write(std::ostream&) const
uint32_t emsg::write(std::ostream &ostr) const { char int_buf[4]; char long_buf[8]; uint32_t bytes_written = 0; uint32_t sz = (uint32_t)this->size(); fmp4_write_uint32(sz, int_buf); ostr.write((char *)int_buf, 4); bytes_written += 4; ostr.put('e'); ostr.put('m'); ostr.put('s'); ostr.put('g'); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rsi, %r14 movq %rdi, %rbx movq (%rdi), %rax callq *(%rax) bswapl %eax leaq 0xc(%rsp), %rsi movl %eax, (%rsi) movl $0x4, %edx movq %r14, %rdi callq 0x4250 movq %r14, %rdi movl $0x65, %esi callq 0x42b0 movq %r14, %rdi movl $0x6d, %es...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::init_fragment::get_trex()
trex init_fragment::get_trex() { char* ptr = (char*)moov_box_.box_data_.data(); bool trak_found = false; bool mvex_found = false; bool trex_found = false; uint32_t pos = 8; // find trak box while (!trak_found && pos < moov_box_.box_data_.size()) { if (f_compare_4cc(ptr + 4 + pos, "trak")) tr...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rdi, (%rsp) movq 0xb0(%rsi), %rbp movq 0xb8(%rsi), %rax subq %rbp, %rax cmpq $0x9, %rax jb 0xb3a6 movq %rsi, %r14 leaq 0x58(%rsp), %r12 movl $0x8, %r15d movl $0x8, %ebx movq %r12, 0x48(%rsp) leaq 0x48(%rsp), %rdi leaq 0xffbc(%rip),...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::media_fragment::parse_moof()
void media_fragment::parse_moof() { if (!moof_box_.size_) return; uint64_t box_size = 0; uint64_t offset = 8; uint8_t * ptr = &moof_box_.box_data_[0]; while (moof_box_.box_data_.size() > offset) { unsigned int temp_off = 0; box_size = (uint64_t)fmp4_read_uint32((char *)&moof_box_.box_data_[offse...
cmpl $0x0, 0xf8(%rdi) je 0xb78c pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xd8, %rsp movq 0x138(%rdi), %r12 movq 0x140(%rdi), %rax subq %r12, %rax cmpq $0x9, %rax jb 0xb77b leaq 0x248(%rdi), %rax movq %rax, 0x20(%rsp) leaq 0x2d8(%rdi), %rax movq %rax, 0x28(%rsp) leaq 0x350(%rdi), %rax movq...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::media_fragment::patch_tfdt(unsigned long, unsigned int)
void media_fragment::patch_tfdt(uint64_t patch, uint32_t seq_nr) { if (!moof_box_.size_) return; uint64_t box_size = 0; uint64_t offset = 8; if (seq_nr) this->mfhd_.seq_nr_ = seq_nr; this->tfdt_.base_media_decode_time_ = \ this->tfdt_.base_media_decode_time_ + patch; // find the tfdt box and o...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movl %edx, 0xc(%rsp) cmpl $0x0, 0xf8(%rdi) je 0xbaec movl 0xc(%rsp), %eax testl %eax, %eax je 0xb7be movl %eax, 0x244(%rdi) addq %rsi, 0x348(%rdi) movq 0x138(%rdi), %rax movq 0x140(%rdi), %rcx subq %rax, %rcx cmpq $0x9, %rcx jb 0xbaec mo...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::ingest_stream::get_init_segment_data(std::vector<unsigned char, std::allocator<unsigned char>>&)
uint64_t ingest_stream::get_init_segment_data(std::vector<uint8_t> &init_seg_dat) { uint64_t ssize = init_fragment_.ftyp_box_.large_size_ + init_fragment_.moov_box_.large_size_; init_seg_dat.resize(ssize); // hard copy the init segment data to the output vector, as ftyp and moviefragment box need to be combined...
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r15 movq %rdi, %r14 movq 0x78(%rdi), %rbx addq 0x10(%rdi), %rbx movq %rsi, %rdi movq %rbx, %rsi callq 0xd784 movq 0x48(%r14), %rsi movq 0x50(%r14), %rdx subq %rsi, %rdx je 0xbb31 movq (%r15), %rdi callq 0x40f0 movq 0xb0(%r14), %rsi movq 0xb8(%r14), %rdx subq %rsi, %rdx je 0x...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::ingest_stream::get_media_segment_data(unsigned long, std::vector<unsigned char, std::allocator<unsigned char>>&)
uint64_t ingest_stream::get_media_segment_data( std::size_t index, std::vector<uint8_t> &media_seg_dat) { if (!(media_fragment_.size() > index)) return 0; uint64_t ssize = media_fragment_[index].moof_box_.large_size_ + media_fragment_[index].mdat_box_.large_size_; media_seg_dat.resize(ssize); // copy em...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movq 0xd0(%rdi), %rax movq 0xd8(%rdi), %rcx subq %rax, %rcx sarq $0x3, %rcx movabsq $0x1cac083126e978d5, %rdx # imm = 0x1CAC083126E978D5 imulq %rcx, %rdx cmpq %rsi, %rdx jbe 0xbc59 movq %rdi, %r15 imulq $0x3e8, %rsi, %r12 ...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::media_fragment::print() const
void media_fragment::print() const { for(int i=0;i<emsg_.size();i++) if (emsg_[i].scheme_id_uri_.size() && !this->e_msg_is_in_mdat_) emsg_[i].print(); moof_box_.print(); // moof box size mfhd_.print(); // moof box header tfhd_.print(); // track fragment header tfdt_.print(); // track fragment de...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movq 0xd0(%rdi), %rdi movq 0xd8(%rbx), %rax movabsq $0x6db6db6db6db6db7, %r14 # imm = 0x6DB6DB6DB6DB6DB7 cmpq %rdi, %rax je 0xbd39 xorl %r15d, %r15d xorl %r12d, %r12d cmpq $0x0, 0x78(%rdi,%r15) je 0xbd1c cmpb $0x0, 0xe8(%rbx) jne 0xbd1c addq %r15, %...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::ingest_stream::load_from_file(std::istream&, bool)
int ingest_stream::load_from_file(std::istream &infile, bool init_only) { try { if (infile) { std::vector<box> ingest_boxes; while (infile.good()) // read box by box in a vector { box b = {}; if (b.read(infile)) ingest_boxes.push_back(b); else // break when we have boxes of...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x6c8, %rsp # imm = 0x6C8 movq %rdi, (%rsp) movq (%rsi), %rax movq -0x18(%rax), %rax testb $0x5, 0x20(%rsi,%rax) jne 0xcb3c movl %edx, %r13d movq %rsi, %rbx xorps %xmm0, %xmm0 leaq 0x60(%rsp), %r14 movaps %xmm0, (%r14) movq $0x0, 0x10(%r...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::set_track_id(std::vector<unsigned char, std::allocator<unsigned char>>&, unsigned int)
bool set_track_id(std::vector<uint8_t> &moov_in, uint32_t track_id) { bool set_tkhd = false; for (std::size_t k = 0; k < moov_in.size() - 16; k++) { if (std::string((char *)&moov_in[k]).compare("tkhd") == 0) { //cout << "tkhd found" << endl; if ((uint8_t)moov_in[k + 4] == 1) { // version ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %esi, 0x4(%rsp) movq (%rdi), %rax movq 0x8(%rdi), %rcx addq $-0x10, %rcx cmpq %rax, %rcx je 0xd579 movq %rdi, %r14 leaq 0x18(%rsp), %r13 movl 0x4(%rsp), %ecx bswapl %ecx movl %ecx, 0x4(%rsp) xorl %ebx, %ebx leaq 0x8(%rsp), %r15 leaq...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::ingest_stream::patch_tfdt(unsigned long, bool, unsigned int)
void ingest_stream::patch_tfdt(uint64_t time_anchor, bool applytimescale, uint32_t anchor_scale) { if (applytimescale) { uint32_t timescale = 0; timescale = this->init_fragment_.get_time_scale(); if(timescale) time_anchor = time_anchor * timescale / anchor_scale; // offset to add to the timestamps }...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 testl %edx, %edx je 0xd613 movl %ecx, %ebp movq %r14, %rdi callq 0xaee2 testl %eax, %eax je 0xd5f5 movl %eax, %eax imulq %rbx, %rax movl %ebp, %ecx xorl %edx, %edx divq %rcx movq %rax, %rbx leaq 0xd0(%r14), %r15...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
fmp4_stream::mfhd::mfhd()
uint64_t size() const { return full_box::size() + 4; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx xorl %eax, %eax movl %eax, 0x8(%rdi) movq %rax, 0x10(%rdi) leaq 0x28(%rdi), %rcx movq %rcx, 0x18(%rdi) movq %rax, 0x20(%rdi) movb %al, 0x28(%rdi) xorps %xmm0, %xmm0 movups %xmm0, 0x48(%rdi) movups %xmm0, 0x52(%rdi) movb %al, 0x62(%rdi) movq %rax, 0x64(%r...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.h
fmp4_stream::tfhd::tfhd()
void set_zero() { base_data_offset_present_=false; sample_description_index_present_=false; default_sample_duration_present_=false; default_sample_size_present_=false; default_sample_flags_present_=false; duration_is_empty_=false; default_base_is_moof_=false; track_id_=0; base_data_offset...
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx xorl %eax, %eax movl %eax, 0x8(%rdi) movq %rax, 0x10(%rdi) leaq 0x28(%rdi), %rcx movq %rcx, 0x18(%rdi) movq %rax, 0x20(%rdi) movb %al, 0x28(%rdi) xorps %xmm0, %xmm0 movups %xmm0, 0x48(%rdi) movups %xmm0, 0x52(%rdi) movb %al, 0x62(%rdi) movq %rax, 0x64(%r...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.h
fmp4_stream::tfdt::tfdt()
tfdt() : full_box() , base_media_decode_time_(0){ box_type_ = std::string("tfdt"); }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movl $0x0, 0x8(%rdi) xorl %eax, %eax movq %rax, 0x10(%rdi) leaq 0x28(%rdi), %rcx movq %rcx, 0x18(%rdi) movq %rax, 0x20(%rdi) movb %al, 0x28(%rdi) xorps %xmm0, %xmm0 movups %xmm0, 0x48(%rdi) movups %xmm0, 0x52(%rdi) movb %al, 0x62(%rdi) movq %rax, 0x64(%r...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.h
fmp4_stream::trun::trun()
trun() : full_box() { zero_set(); this->box_type_ = "trun"; }
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movl $0x0, 0x8(%rdi) xorl %eax, %eax movq %rax, 0x10(%rdi) addq $0x18, %rdi leaq 0x28(%rbx), %rcx movq %rcx, 0x18(%rbx) movq %rax, 0x20(%rbx) movb %al, 0x28(%rbx) xorps %xmm0, %xmm0 movups %xmm0, 0x48(%rbx) movups %xmm0, 0x52(%rbx) movb %al, 0x62(%rbx) movq %rax, 0x64(%r...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.h
fmp4_stream::mfhd::size() const
uint64_t box::size() const { uint64_t l_size = 8; if (is_large_) l_size += 8; if (has_uuid_) l_size += 16; return l_size; }
movzbl 0x60(%rdi), %eax movzbl 0x61(%rdi), %ecx shll $0x4, %ecx leal (%rcx,%rax,8), %eax addq $0x10, %rax retq nop
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/fmp4stream.cpp
event_track::get_meta_header_bytes(unsigned int, unsigned int, std::vector<unsigned char, std::allocator<unsigned char>>&, bool)
uint32_t event_track::get_meta_header_bytes( uint32_t track_id, uint32_t timescale, std::vector<uint8_t>& header_bytes, bool is_vtt) { std::stringstream ot( std::stringstream::out | \ std::stringstream::in | \ std::stringstream::binary\ ); if (is_vtt) event_track::write_vtt_track_cmaf_header(track_id, ti...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x190, %rsp # imm = 0x190 movl %ecx, %r15d movq %rdx, %rbx movl %esi, %ebp movl %edi, %r14d leaq 0x8(%rsp), %rdi movl $0x1c, %esi callq 0x4200 leaq 0x18(%rsp), %rdx testl %r15d, %r15d je 0x103bf movl %r14d, %edi movl %ebp, %esi callq 0x104a5 jmp 0x...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/event_track.cpp
event_track::write_event_track_cmaf_header(unsigned int, unsigned int, std::ostream&)
void event_track::write_event_track_cmaf_header(uint32_t track_id, uint32_t timescale, std::ostream &ot) { std::vector<uint8_t> sparse_moov = base64_decode(moov_64_enc); set_track_id(sparse_moov, track_id); // write back the timescale mvhd / mhd fmp4_write_uint32(timescale, (char*) &sparse_moov[28]); fmp4_write_u...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdx, %rbx movl %esi, %r14d movl %edi, %ebp leaq 0x12068(%rip), %rsi # 0x22640 movq %rsp, %r15 movq %r15, %rdi callq 0x1908a movq %r15, %rdi movl %ebp, %esi callq 0xd431 movq %rsp, %rdi movq (%rdi), %rax bswapl %r14d movl %r14d, 0x1c(%rax) movl %r14d...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/event_track.cpp
event_track::get_sparse_moov(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int, unsigned int, std::vector<unsigned char, std::allocator<unsigned char>>&)
bool event_track::get_sparse_moov( const std::string& urn, uint32_t timescale, uint32_t track_id, std::vector<uint8_t> &sparse_moov) { sparse_moov = base64_decode(moov_64_enc); set_track_id(sparse_moov, track_id); // write back the timescale mvhd fmp4_write_uint32(timescale, (char *)&sparse_moov[28]); /...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x18, %rsp movq %rcx, %rbx movl %edx, %ebp movl %esi, %r14d leaq 0x10c1d(%rip), %rsi # 0x22640 movq %rsp, %r15 movq %r15, %rdi callq 0x1908a movq (%rbx), %rdi movq 0x10(%rbx), %rsi movaps (%r15), %xmm0 movups %xmm0, (%rbx) movq 0x10(%r15), %rax movq %rax, 0x10(%rbx)...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/event_track.cpp
event_track::ingest_event_stream::print_samples_from_file(std::istream&, bool)
int event_track::ingest_event_stream::print_samples_from_file(std::istream &infile, bool init_only) { try { if (infile) { std::vector<box> ingest_boxes; while (infile.good()) // read box by box in a vector { box b = {}; if (b.read(infile)) ingest_boxes.push_back(b); else // break when...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x658, %rsp # imm = 0x658 movq (%rsi), %rax movq -0x18(%rax), %rax testb $0x5, 0x20(%rsi,%rax) jne 0x15156 movq %rsi, %rbx movq %rdi, %r15 movl %edx, 0x14(%rsp) xorps %xmm0, %xmm0 leaq 0x60(%rsp), %r13 movaps %xmm0, (%r13) movq $0x0, 0x1...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/event_track.cpp
event_track::gen_avail_files(unsigned int, unsigned int, unsigned int, unsigned int, unsigned long)
int event_track::gen_avail_files(uint32_t track_duration, uint32_t seg_duration_ticks_ms, uint32_t avail_duration, uint32_t avail_interval, uint64_t start_time) { std::vector<event_track::DASHEventMessageBoxv1> events; std::string out_file_cmfm = "out_avail_track.cmfm"; std::string out_file_mpd = "out_avail...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x2b8, %rsp # imm = 0x2B8 movq %r8, %rbx movl %ecx, %r15d movl %edx, 0x2c(%rsp) movl %esi, %r14d movl %edi, %ebp xorps %xmm0, %xmm0 movaps %xmm0, 0x30(%rsp) movq $0x0, 0x40(%rsp) leaq 0x68(%rsp), %rax movq %rax, -0x10(%rax) leaq 0x6580(%...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/event_track.cpp
event_track::EventMessageInstanceBox::EventMessageInstanceBox(event_track::DASHEventMessageBoxv1, unsigned long)
EventMessageInstanceBox(DASHEventMessageBoxv1 e, uint64_t pres_time) : reserved_(e.timescale_), event_duration_(e.event_duration_), \ id_(e.id_), scheme_id_uri_(e.scheme_id_uri_), \ value_(e.value_), message_data_(e.message_data_) { presentation_time_delta_ = e.presentation_time_ - pres_time; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx movl $0x0, 0x8(%rdi) xorl %eax, %eax movq %rax, 0x10(%rdi) leaq 0x28(%rdi), %rcx movq %rcx, 0x18(%rdi) movq %rax, 0x20(%rdi) movb %al, 0x28(%rdi) xorps %xmm0, %xmm0 movups %xmm0, 0x48(%rdi) movup...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/event_track.h
event_track::EventSample::size()
std::size_t size() { if(is_emeb_ || instance_boxes_.size() == 0) return 8; else { size_t l_size = 0; for (uint32_t k = 0; k < instance_boxes_.size(); k++) l_size += (uint32_t)instance_boxes_[k].size(); return l_size; } }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movl $0x8, %r14d cmpb $0x0, 0x29(%rdi) jne 0x163da movq %rdi, %rbx movq 0x10(%rdi), %rax cmpq %rax, 0x18(%rdi) je 0x163da movl $0x1, %ebp xorl %ecx, %ecx movabsq $-0x7b425ed097b425ed, %r15 # imm = 0x84BDA12F684BDA13 xorl %r14d, %r14d imulq $0xd8, %rcx, %rdi addq %r...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/event_track.h
event_track::EventMessageInstanceBox::parse(char const*, unsigned int, unsigned long)
uint32_t parse(const char *ptr, unsigned int data_size, uint64_t pres_time=0) { if (data_size > 8) { fmp4_stream::full_box::parse(ptr); uint64_t offset = full_box::size(); reserved_ = fmp4_read_uint32(ptr + offset); //cout << "timescale: " << timescale << endl; offset += 4; presentatio...
xorl %eax, %eax cmpl $0x9, %edx jb 0x16741 pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x30, %rsp movq %rsi, %rbx movq %rdi, %r14 callq 0x85fa movq %r14, %rdi callq 0x8390 movq %rax, %r15 leaq (%rbx,%rax), %rsi addq $0x18, %rsi movl -0x14(%rsi), %eax bswapl %eax movl %eax, 0x6c(%r14) movq -0x10(%rsi), ...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/event_track.h
event_track::EventMessageInstanceBox::to_emsg_v1(unsigned long)
DASHEventMessageBoxv1 to_emsg_v1(uint64_t presentation_time) { DASHEventMessageBoxv1 e; e.timescale_ = reserved_; e.scheme_id_uri_ = scheme_id_uri_; e.event_duration_ = event_duration_; e.id_ = id_; e.presentation_time_ = presentation_time_delta_ + presentation_time; e.value_ = value_; e.mess...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx movl $0x0, 0x8(%rdi) xorl %eax, %eax movq %rax, 0x10(%rdi) leaq 0x28(%rdi), %rcx movq %rcx, 0x18(%rdi) movq %rax, 0x20(%rdi) movb %al, 0x28(%rdi) movq %rax, 0x64(%rdi) xorps %xmm0, %xmm0 movups %xmm0, 0x48(%rdi) movups %xmm0, 0x53(%rdi) le...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/event_track.h
base64_encode[abi:cxx11](unsigned char const*, unsigned long)
std::string base64_encode(const unsigned char* bytes_to_encode, std::size_t in_len) { std::string ret; std::size_t i = 0; std::size_t j = 0; unsigned char char_array_3[3]; unsigned char char_array_4[4]; while (in_len--) { char_array_3[i++] = *(bytes_to_encode++); if (i == 3) { char_array_4[0] = ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdi, %rbx leaq 0x10(%rdi), %r12 movq %r12, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) testq %rdx, %rdx je 0x19056 movq %rdx, %r14 movq %rsi, %r15 xorl %r13d, %r13d movb (%r15), %al movb %al, 0x9(%rsp,%r13) incq %r13 cmpq $0x3, %r13 jne...
/unifiedstreaming[P]fmp4-ingest/ingest-tools/event/base64.cpp
std::vector<std::vector<std::conditional<is_z2<Gudhi::persistence_matrix::Intrusive_list_column<Gudhi::persistence_matrix::Matrix<Chain_barcode_options_with_row_access<true, (Gudhi::persistence_matrix::Column_types)7, false, false, true, false, false>>>>(), unsigned int, std::pair<unsigned int, Gudhi::persistence_matri...
std::vector<witness_content<Column> > build_simple_chain_matrix() { std::vector<witness_content<Column> > columns; if constexpr (is_z2<Column>()) { columns.push_back({0}); columns.push_back({0, 1}); columns.push_back({0, 2}); columns.push_back({3}); columns.push_back({3, 4}); columns.push_b...
pushq %rbp movq %rsp, %rbp subq $0x1e0, %rsp # imm = 0x1E0 movq %rdi, -0x1a8(%rbp) movq %rdi, %rax movq %rax, -0x1a0(%rbp) movq %rdi, -0x8(%rbp) movb $0x0, -0x9(%rbp) callq 0x12cb0 movl $0x0, -0x3c(%rbp) leaq -0x3c(%rbp), %rax movq %rax, -0x38(%rbp) movq $0x1, -0x30(%rbp) leaq -0x3d(%rbp), %rdi movq %rdi, -0...
/GUDHI[P]gudhi-devel/src/Persistence_matrix/test/pm_matrix_tests.h
Gudhi::persistence_matrix::Intrusive_list_column<Gudhi::persistence_matrix::Matrix<Chain_barcode_options_with_row_access<true, (Gudhi::persistence_matrix::Column_types)7, true, true, false, false, false>>>::_insert_entry(unsigned int, boost::intrusive::list_iterator<boost::intrusive::bhtraits<Gudhi::persistence_matrix:...
inline void Intrusive_list_column<Master_matrix>::_insert_entry(ID_index rowIndex, const iterator& position) { if constexpr (Master_matrix::Option_list::has_row_access) { Entry* newEntry = entryPool_->construct(RA_opt::columnIndex_, rowIndex); column_.insert(position, *newEntry); RA_opt::insert_entry(rowI...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rsi movq %rsi, -0x38(%rbp) movq 0x28(%rsi), %rdi leaq -0xc(%rbp), %rdx callq 0x54a60 movq %rax, %rcx movq -0x38(%rbp), %rax movq %rcx, -0x20(%rbp) addq $0x30, %rax movq %rax, -0x40(%rbp) movq...
/GUDHI[P]gudhi-devel/src/Persistence_matrix/include/gudhi/Persistence_matrix/columns/intrusive_list_column.h
Gudhi::persistence_matrix::Chain_matrix<Gudhi::persistence_matrix::Matrix<Chain_barcode_options_with_row_access<true, (Gudhi::persistence_matrix::Column_types)7, false, true, true, false, false>>>::Chain_matrix<std::vector<unsigned int, std::allocator<unsigned int>>>(std::vector<std::vector<unsigned int, std::allocator...
inline Chain_matrix<Master_matrix>::Chain_matrix(const std::vector<Boundary_range>& orderedBoundaries, Column_settings* colSettings) : Dim_opt(Master_matrix::template get_null_value<Dimension>()), Pair_opt(), Swap_opt(), Rep_opt(), RA_opt(orde...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x70(%rbp) callq 0x6fa50 movq -0x70(%rbp), %rdi movl %eax, %esi callq 0x158d0 movq -0x70(%rbp), %rdi callq 0x6fa60 movq -0x70(%rbp), %rdi callq 0x15920 movq -0x70(%rbp), %rax...
/GUDHI[P]gudhi-devel/src/Persistence_matrix/include/gudhi/Persistence_matrix/Chain_matrix.h
main
int main(int argc, char * const * argv) { DebugFilters filters; std::string file; if (!parse_cmdline(argc, argv, filters, file)) { return 0; } DebugInfo info; clock_t time1 = clock(); if (ends_with(file, ".exe") || ends_with(file, ".dll") || ends_with(file, ".EXE") || ends_wit...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1f8, %rsp # imm = 0x1F8 movq %rsi, %rbx movl %edi, %ebp leaq 0x50(%rsp), %rdx movq %rdx, -0x10(%rdx) xorl %eax, %eax movq %rax, -0x8(%rdx) movb %al, (%rdx) movapd 0x6a69(%rip), %xmm0 # 0x10300 movupd %xmm0, 0x10(%rdx) movabsq $0x30...
/aras-p[P]sizer/src/main.cpp
TypeTable::TypeTable(PDB::TPIStream const&)
TypeTable::TypeTable(const PDB::TPIStream& tpiStream) PDB_NO_EXCEPT : typeIndexBegin(tpiStream.GetFirstTypeIndex()), typeIndexEnd(tpiStream.GetLastTypeIndex()), m_recordCount(tpiStream.GetTypeRecordCount()) { // Create coalesced stream from TPI stream, so the records can be referenced directly using pointers. const...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rsi, %rbx movq %rdi, %r14 movl 0x28(%rsi), %eax movl %eax, (%rdi) movl 0x2c(%rsi), %eax movl %eax, 0x4(%rdi) movq 0x58(%rsi), %rax movq %rax, 0x8(%rdi) leaq 0x18(%rdi), %r15 movq %r15, %rdi callq 0xe0a0 movl 0x14(%rbx), %edx movq %...
/aras-p[P]sizer/src/pdb_typetable.cpp
PDB::ValidateFile(void const*)
PDB_NO_DISCARD PDB::ErrorCode PDB::ValidateFile(const void* data) PDB_NO_EXCEPT { // validate the super block const SuperBlock* superBlock = Pointer::Offset<const SuperBlock*>(data, 0u); { // validate header magic if (std::memcmp(superBlock->fileMagic, SuperBlock::MAGIC, sizeof(SuperBlock::MAGIC)) != 0) { r...
leaq 0x2f2d(%rip), %rax # 0x10f80 movdqu (%rdi), %xmm0 movdqu 0xe(%rdi), %xmm1 movdqu 0xe(%rax), %xmm2 pcmpeqb %xmm1, %xmm2 pcmpeqb (%rax), %xmm0 pand %xmm2, %xmm0 pmovmskb %xmm0, %ecx movl $0x1, %eax cmpl $0xffff, %ecx # imm = 0xFFFF je 0xe07f retq movl 0x24(%rdi), %ecx decl %ecx xorl %eax, %eax cmpl $0...
/aras-p[P]sizer/src/raw_pdb/PDB.cpp
PDB::DirectMSFStream::ReadAtOffset(void*, unsigned long, unsigned long) const
void PDB::DirectMSFStream::ReadAtOffset(void* destination, size_t size, size_t offset) const PDB_NO_EXCEPT { PDB_ASSERT(destination != nullptr, "Destination buffer not set"); PDB_ASSERT(offset + size <= m_size, "Not enough data left to read."); // work out which block and offset within the block the read offset cor...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rcx, %rax movb 0x18(%rdi), %cl movq %rax, %rbp shrq %cl, %rbp movq %rdx, %r14 movq %rsi, %r15 movl 0x10(%rdi), %r13d leal -0x1(%r13), %edx andl %edx, %eax movq 0x8(%rdi), %rdx movl (%rdx,%rbp,4), %esi shlq %cl, %rsi subq %rax, %r13 addq ...
/aras-p[P]sizer/src/raw_pdb/PDB_DirectMSFStream.cpp
main
int main() { MPP_RET ret = MPP_OK; RK_S32 lt_cnt = 0; RK_S32 st_cnt = 0; MppEncRefCfg ref = NULL; MppEncRefLtFrmCfg lt_ref[4]; MppEncRefStFrmCfg st_ref[16]; memset(&lt_ref, 0, sizeof(lt_ref)); memset(&st_ref, 0, sizeof(st_ref)); mpp_log("mpp_enc_ref_test start\n"); ret = mpp_e...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1b0, %rsp # imm = 0x1B0 xorl %r13d, %r13d leaq 0x8(%rsp), %rbx movq %r13, (%rbx) xorps %xmm0, %xmm0 leaq 0x10(%rsp), %r12 movaps %xmm0, (%r12) movaps %xmm0, 0x10(%r12) movaps %xmm0, 0x20(%r12) movaps %xmm0, 0x30(%r12) movaps %xmm0, 0x40(%r12) mov...
/HermanChen[P]mpp/mpp/base/test/mpp_enc_ref_test.c
bstr_match_cstr
const uint8_t *bstr_match_cstr(const uint8_t *pBegin, const uint8_t *pEnd, const char *cstr) { const uint8_t *pStrBegin = (const uint8_t*) cstr; const uint8_t *pStrEnd; if ( (pBegin == 0) || (pEnd == 0) || (pEnd < pBegin) || (cstr == 0) ) { errno = EINVAL; //invalid arguments return 0; ...
pushq %r15 pushq %r14 pushq %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x1407 movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 cmpq %rdi, %rsi setae %al testq %rdx, %rdx setne %cl testb %cl, %al jne 0x141a callq 0x1040 movl $0x16, (%rax) xorl %eax, %eax popq %rbx popq %r14 popq %r15 retq m...
/cogu[P]c-apx/bstr/src/bstr.c
bstr_to_long
const uint8_t *bstr_to_long(const uint8_t *pBegin, const uint8_t *pEnd, long *data) { char tmp[MAX_NUMBER_SIZE+1]; char* parse_end = NULL; size_t size = pEnd - pBegin; if (size > MAX_NUMBER_SIZE) { size = MAX_NUMBER_SIZE; } memcpy(&tmp[0], pBegin, size); tmp[size]='\0'; *d...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx leaq 0x8(%rsp), %r12 movq $0x0, (%r12) movq %rsi, %rax subq %rdi, %rax cmpq $0x20, %rax movl $0x20, %r13d cmovbq %rax, %r13 leaq 0x10(%rsp), %rbp movq %rbp, %rdi movq %rbx, %rsi movq %r13, ...
/cogu[P]c-apx/bstr/src/bstr.c
roaring_bitmap_or_inplace
void roaring_bitmap_or_inplace(roaring_bitmap_t *x1, const roaring_bitmap_t *x2) { uint8_t result_type = 0; int length1 = x1->high_low_container.size; const int length2 = x2->high_low_container.size; if (0 == length2) return; if (0 == length1) { roaring_bitma...
subq $0x78, %rsp movq %rdi, 0x70(%rsp) movq %rsi, 0x68(%rsp) movb $0x0, 0x67(%rsp) movq 0x70(%rsp), %rax movl (%rax), %eax movl %eax, 0x60(%rsp) movq 0x68(%rsp), %rax movl (%rax), %eax movl %eax, 0x5c(%rsp) xorl %eax, %eax cmpl 0x5c(%rsp), %eax jne 0x84f6 jmp 0x8819 xorl %eax, %eax cmpl 0x60(%rsp), %eax jne 0x8512 movq...
/RoaringBitmap[P]CRoaring/src/roaring.c