input
stringlengths
16
454k
output
stringlengths
13
350k
function_name
stringlengths
1
100
repo_name
stringlengths
6
43
category
stringclasses
76 values
sample_id
stringlengths
22
88
decompiler
stringclasses
1 value
opt_level
stringclasses
1 value
void print_report_hdr(uint64_t flags, tm *rectime, file_header *file_hdr) { int sa_year; unsigned int sa_cpu_nr; if ((flags & 0x20) != 0) { get_time(rectime, 0); rectime->tm_mday = file_hdr->sa_day; rectime->tm_mon = file_hdr->sa_month; sa_year = file_hdr->sa_year; *(_QWORD *)&rectime->tm_sec...
void print_report_hdr(uint64_t flags, struct tm *rectime, struct file_header *file_hdr) { get_file_timestamp_struct(flags, rectime, file_hdr); print_gal_header(rectime, file_hdr->sa_sysname, file_hdr->sa_release, file_hdr->sa_nodename, file_hdr->sa_machine, ...
print_report_hdr
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void print_sar_comment(int *tab, int action, char *cur_date, char *cur_time, int utc, char *comment, file_header *file_hdr, record_header *record_hdr) { __printf_chk(1, "%-11s", cur_time); cprintf_s(3, " COM %s\n", comment); }
__print_funct_t print_sar_comment(int *tab, int action, char *cur_date, char *cur_time, int utc, char *comment, struct file_header *file_hdr, struct record_header *record_hdr) { printf("%-11s", cur_time); cprintf_s...
print_sar_comment
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void print_sar_restart(int *tab, int action, char *cur_date, char *cur_time, int utc, file_header *file_hdr, record_header *record_hdr) { unsigned int sa_cpu_nr; char restart[72]; unsigned long v10; v10 = __readfsqword(0x28u); __printf_chk(1, "\n%-11s", cur_time)...
__printf_funct_t print_sar_restart(int *tab, int action, char *cur_date, char *cur_time, int utc, struct file_header *file_hdr, struct record_header *record_hdr) { char restart[64]; printf("\n%-11s", cur_time);...
print_sar_restart
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void print_serial_stats(activity *a, int prev, int curr, unsigned long itv) { long v4; long v5; int v6; _DWORD *v7; double v8; _DWORD *v9; int v10; int v11; int v12; v4 = curr; v5 = prev; if (dish || (flags & 0x2000000) != 0) { print_hdr_line(&timestamp[64 * (unsigned long)(curr == 0)], a, ...
__print_funct_t print_serial_stats(struct activity *a, int prev, int curr, unsigned long long itv) { int i, j, j0, found; struct stats_serial *ssc, *ssp; if (dish || DISPLAY_ZERO_OMIT(flags)) { print_hdr_line(timestamp[!curr], a, FIRST, 0, 9); } for (i = 0; i < a->nr[c...
print_serial_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void print_softnet_stats(activity *a, int prev, int curr, unsigned long itv) { uint64_t v5; int v6; int v7; long v8; const char *v9; int v10; double v11; act_bitmap *bitmap; unsigned int v13; long v14; int v15; int v16; long v17; long v18; char *v19; unsigned char offline_cpu_bitmap[1032...
__print_funct_t print_softnet_stats(struct activity *a, int prev, int curr, unsigned long long itv) { int i; struct stats_softnet *ssnc = (struct stats_softnet *)a->buf[curr], *ssnp = (struct stats_softnet *)a->buf[prev]; unsigned char offline_cpu_bitmap[...
print_softnet_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
int print_special_record(record_header *record_hdr, uint64_t l_flags, tstamp *tm_start, tstamp *tm_end, int rtype, int ifd, tm *rectime, char *file, int tab, file_magic *file_magic, file_header *file_hdr, activity **act,...
int print_special_record(struct record_header *record_hdr, uint64_t l_flags, struct tstamp *tm_start, struct tstamp *tm_end, int rtype, int ifd, struct tm *rectime, char *file, int tab, struct file_magic *file_magic, str...
print_special_record
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void print_swap_stats(activity *a, int prev, int curr, unsigned long itv) { long v4; _QWORD *v6; _QWORD *v7; double v8; long v9; double v10; double v11; long v12; double v13; double v14; long v15; v4 = curr; v6 = a->buf[curr]; v7 = a->buf[prev]; if (dish) print_hdr_line(&timestamp[64 ...
__print_funct_t print_swap_stats(struct activity *a, int prev, int curr, unsigned long long itv) { struct stats_swap *ssc = (struct stats_swap *)a->buf[curr], *ssp = (struct stats_swap *)a->buf[prev]; if (dish) { print_hdr_line(timestamp[!curr], a, FIRST, 0,...
print_swap_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void print_usage_title(FILE *fp, char *progname) { char *v2; v2 = dcgettext(0, "Usage: %s [ options ] [ <interval> [ <count> ] ]\n", 5); __fprintf_chk(fp, 1, v2, progname); }
void print_usage_title(FILE *fp, char *progname) { fprintf(fp, _("Usage: %s [ options ] [ <interval> [ <count> ] ]\n"), progname); }
print_usage_title
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
int read_file_stat_bunch(activity **act, int curr, int ifd, int act_nr, file_activity *file_actlst, int endian_mismatch, int arch_64, char *dfile, file_magic *file_magic, int oneof) { file_activity *v11; activity **v12; long nr; activity...
int read_file_stat_bunch(struct activity *act[], int curr, int ifd, int act_nr, struct file_activity *file_actlst, int endian_mismatch, int arch_64, char *dfile, struct file_magic *file_magic, int oneof) { int i, j, p; struct file_activity *...
read_file_stat_bunch
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void read_header_data() { int v0; bool v1; int v2; unsigned int sa_act_nr; unsigned int *v4; int activity_position; activity *v6; int nr; int nr2; unsigned int v9; unsigned int *v10; char *v11; file_activity file_act; file_magic file_magic; _BYTE v14[2]; char version[24]; unsigned long...
void read_header_data(void) { struct file_magic file_magic; struct file_activity file_act; int rc, i, p; char version[16]; rc = sa_read(&file_magic, FILE_MAGIC_SIZE); sprintf(version, "%d.%d.%d.%d", file_magic.sysstat_version, file_magic.sysstat_patchlevel, file_magic.sysstat_sublevel, ...
read_header_data
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
int read_nr_value(int ifd, char *file, file_magic *file_magic, int endian_mismatch, int arch_64, int non_zero) { int result; int value; unsigned long v12; v12 = __readfsqword(0x28u); sa_fread(ifd, &value, 4u, 1, 0); if (endian_mismatch) { nr_types_nr[2] = 1; swap_struct(nr_types_n...
__nr_t read_nr_value(int ifd, char *file, struct file_magic *file_magic, int endian_mismatch, int arch_64, int non_zero) { __nr_t value; sa_fread(ifd, &value, sizeof(__nr_t), HARD_SIZE, UEOF_STOP); if (endian_mismatch) { nr_types_nr[2] = 1; swap_struct(nr_types_nr, &value, arch_64);...
read_nr_value
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
int read_record_hdr(int ifd, void *buffer, record_header *record_hdr, file_header *file_hdr, int arch_64, int endian_mismatch, int oneof, size_t b_size, uint64_t flags, report_format *ofmt) { unsigned char record_type; int v13; while (1) { v13 = sa_...
int read_record_hdr(int ifd, void *buffer, struct record_header *record_hdr, struct file_header *file_hdr, int arch_64, int endian_mismatch, int oneof, size_t b_size, uint64_t flags, struct report_format *ofmt) { int rc; do { if ((rc = sa_fread(ifd, b...
read_record_hdr
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void read_stats() { int v0; int v1; unsigned long v2; long v3; unsigned long rows; setbuf(stdout, 0); read_header_data(); if (!get_activity_nr(act, 2u, 0)) print_collect_error(); v0 = check_line_hdr(); rows = (unsigned int)get_win_height(); allocate_structures(act); print_report_hdr(flags, ...
void read_stats(void) { int curr = 1; unsigned long lines; unsigned int rows; int dis_hdr = 0; setbuf(stdout, NULL); read_header_data(); if (!get_activity_nr(act, AO_SELECTED, COUNT_ACTIVITIES)) { print_collect_error(); } dis_hdr = check_line_hdr(); lines = rows = get_win_height(); allo...
read_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void read_stats_from_file(char *from_file) { char *v1; char *v2; int v3; int v4; int v5; __off_t v6; unsigned int *v7; off_t v8; int *p_eosaf; long activity_position; activity *v11; unsigned int options; int *v13; activity *v14; off_t v15; int v16; unsigned int opt_flags; int v18; ...
void read_stats_from_file(char from_file[]) { struct file_magic file_magic; struct file_activity *file_actlst = NULL; char rec_hdr_tmp[MAX_RECORD_HEADER_SIZE]; int curr = 1, i, p; int ifd, rtype; int rows, eosaf = TRUE, reset = FALSE; long cnt = 1; off_t fpos; rows = get_win_height(); check_file_a...
read_stats_from_file
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void reallocate_all_buffers(activity *a, int nr_min) { int nr_allocated; unsigned long v4; void **buf; act_bitmap **p_bitmap; char *v7; size_t v8; int v9; char *v10; if (nr_min <= 0) nr_min = 1; nr_allocated = a->nr_allocated; v4 = nr_min; if (nr_allocated) { v4 = nr_allocated; do ...
void reallocate_all_buffers(struct activity *a, __nr_t nr_min) { int j; size_t nr_realloc; if (nr_min <= 0) { nr_min = 1; } if (!a->nr_allocated) { nr_realloc = nr_min; } else { nr_realloc = a->nr_allocated; do { nr_realloc = nr_realloc * 2; } while (nr_realloc < nr_min); } f...
reallocate_all_buffers
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
int remap_struct(unsigned int *gtypes_nr, unsigned int *ftypes_nr, void *ps, unsigned int f_size, unsigned int g_size, size_t b_size) { unsigned int v9; unsigned int v10; unsigned int v12; size_t v15; long v16; size_t v17; unsigned int v18; unsigned int v19; size_t v20; long v21; ...
int remap_struct(unsigned int gtypes_nr[], unsigned int ftypes_nr[], void *ps, unsigned int f_size, unsigned int g_size, size_t b_size) { int d; size_t n; if (MAP_SIZE(ftypes_nr) > f_size) return -1; d = gtypes_nr[0] - ftypes_nr[0]; if (d) { if (ftypes_nr[0] * ULL_ALIGNMENT_WIDTH < ...
remap_struct
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void replace_nonprintable_char(int ifd, char *comment) { size_t v2; size_t v3; v2 = 0; sa_fread(ifd, comment, 0x40u, 1, 0); comment[63] = 0; v3 = strlen(comment); while (v2 < v3) { if (((*__ctype_b_loc())[comment[v2]] & 0x4000) == 0) { comment[v2] = 46; v3 = strlen(comment); } ++v...
void replace_nonprintable_char(int ifd, char *comment) { int i; sa_fread(ifd, comment, MAX_COMMENT_LEN, HARD_SIZE, UEOF_STOP); comment[MAX_COMMENT_LEN - 1] = '\0'; for (i = 0; i < strlen(comment); i++) { if (!isprint(comment[i])) comment[i] = '.'; } }
replace_nonprintable_char
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void reverse_check_act(unsigned int act_nr) { activity **v1; long v3; activity *v4; unsigned int options; long v6; int v7; v1 = act; v3 = act_nr - 1 + 2LL; do { while (1) { v4 = *v1; options = (*v1)->options; if ((options & 2) != 0) break; LABEL_2: if (++v1 == ...
void reverse_check_act(unsigned int act_nr) { int i, j; for (i = 0; i < NR_ACT; i++) { if (IS_SELECTED(act[i]->options)) { for (j = 0; j < act_nr; j++) { if (id_seq[j] == act[i]->id) break; } if (j == act_nr) act[i]->options &= ~AO_SELECTED; } } }
reverse_check_act
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
int sa_fread(int ifd, void *buffer, size_t size, int mode, int oneof) { ssize_t v8; int v9; char *v11; int *v12; char *v13; char *v14; v8 = read(ifd, buffer, size); if (v8 < 0) { v12 = __errno_location(); v13 = strerror(*v12); v14 = dcgettext(0, "Error while reading system activity file: %s...
int sa_fread(int ifd, void *buffer, size_t size, int mode, int oneof) { ssize_t n; if ((n = read(ifd, buffer, size)) < 0) { fprintf(stderr, _("Error while reading system activity file: %s\n"), strerror(errno)); close(ifd); exit(2); } if (!n && (mode == SOFT_SIZE)) return 1; if (...
sa_fread
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
int sa_get_record_timestamp_struct(uint64_t l_flags, record_header *record_hdr, tm *rectime) { struct tm *v5; int result; int second; int hour; v5 = localtime_r((const time_t *)&record_hdr->ust_time, rectime); if ((l_flags & 0x4020) == 0) v5 = gmtime_r((const time_t *...
int sa_get_record_timestamp_struct(uint64_t l_flags, struct record_header *record_hdr, struct tm *rectime) { struct tm *ltm; int rc = 0; ltm = localtime_r((const time_t *)&(record_hdr->ust_time), rectime); if (!PRINT_LOCAL_TIME(l_flags) && ...
sa_get_record_timestamp_struct
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
int sa_open_read_magic(int *fd, char *dfile, file_magic *file_magic, int ignore, int *endian_mismatch, int do_swap) { int v11; int v12; unsigned short sysstat_magic; unsigned short format_magic; unsigned char sysstat_version; unsigned int header_size; int v18; char *v19; char *v...
int sa_open_read_magic(int *fd, char *dfile, struct file_magic *file_magic, int ignore, int *endian_mismatch, int do_swap) { int n; unsigned int fm_types_nr[] = {FILE_MAGIC_ULL_NR, FILE_MAGIC_UL_NR, FILE_MAGIC_U_NR}; if ((*fd = open(dfile, O_RDONLY)) < 0) { ...
sa_open_read_magic
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
size_t sa_read(void *buffer, size_t size) { size_t v3; ssize_t v4; if (!size) return 0; v3 = size; do { v4 = read(0, buffer, v3); if (v4 < 0) { perror("read"); exit(2); } if (!v4) return v3; buffer = (char *)buffer + v4; v3 -= v4; } while (v3); return 0; }
size_t sa_read(void *buffer, size_t size) { ssize_t n; while (size) { if ((n = read(STDIN_FILENO, buffer, size)) < 0) { perror("read"); exit(2); } if (!n) return size; size -= n; buffer = (char *)buffer + n; } return 0; }
sa_read
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void salloc(int i, char *ltemp) { long v2; size_t v3; char *v4; v2 = i; v3 = strlen(ltemp); v4 = (char *)malloc(v3 + 1); args[v2] = v4; if (!v4) { perror("malloc"); exit(4); } strcpy(v4, ltemp); }
void salloc(int i, char *ltemp) { if ((args[i] = (char *)malloc(strlen(ltemp) + 1)) == NULL) { perror("malloc"); exit(4); } strcpy(args[i], ltemp); }
salloc
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
int search_list_item(sa_item *list, char *item_name) { sa_item *v2; if (!list) return 0; v2 = list; do { if (!strcmp(v2->item_name, item_name)) return 1; v2 = v2->next; } while (v2); return 0; }
int search_list_item(struct sa_item *list, char *item_name) { while (list != NULL) { if (!strcmp(list->item_name, item_name)) return 1; list = list->next; } return 0; }
search_list_item
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void select_all_activities(activity **act) { activity **v1; long v2; v1 = act + 42; do { v2 = (long)*act++; *(_DWORD *)(v2 + 4) |= 2u; } while (act != v1); }
void select_all_activities(struct activity *act[]) { int i; for (i = 0; i < NR_ACT; i++) { act[i]->options |= AO_SELECTED; } }
select_all_activities
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void select_default_activity(activity **act) { long v1; long v3; activity **v4; int v5; v1 = 0; while (1) { v3 = (int)v1; if (act[v1]->id == 1) break; if (++v1 == 42) sysstat_panic("get_activity_position", 1); } v4 = act; v5 = 0; do v5 -= (((*v4++)->options & 2) == 0) - ...
void select_default_activity(struct activity *act[]) { int p; p = get_activity_position(act, A_CPU, EXIT_IF_NOT_FOUND); if (!get_activity_nr(act, AO_SELECTED, COUNT_ACTIVITIES)) { act[p]->options |= AO_SELECTED; } if (!count_bits(cpu_bitmap.b_array, BITMAP_SIZE(cpu_bitmap.b_size))) { cpu_bitmap.b_...
select_default_activity
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void set_bitmaps(activity **act, uint64_t *flags) { activity **v2; activity **v3; if ((*flags & 0x20000000) != 0) { if ((*flags & 0x40000000) != 0) return; goto LABEL_8; } v2 = act; while ((*v2)->id != 1) { if (act + 42 == ++v2) sysstat_panic("get_activity_position", 1); } memse...
void set_bitmaps(struct activity *act[], uint64_t *flags) { int p; if (!USE_OPTION_P(*flags)) { p = get_activity_position(act, A_CPU, EXIT_IF_NOT_FOUND); memset(act[p]->bitmap->b_array, ~0, BITMAP_SIZE(act[p]->bitmap->b_size)); } if (!USE_OPTION_I(*flags)) { p = get_activity_position(act, A_IRQ,...
set_bitmaps
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void set_record_timestamp_string(uint64_t l_flags, record_header *record_hdr, char *cur_date, char *cur_time, int len, tm *rectime) { size_t v9; const char *v10; if ((l_flags & 0x80) != 0) { v9 = len; if (cur_date) { __sprintf_chk(cu...
void set_record_timestamp_string(uint64_t l_flags, struct record_header *record_hdr, char *cur_date, char *cur_time, int len, struct tm *rectime) { if (PRINT_SEC_EPOCH(l_flags) && cur_date) { sprintf(cur_time, "%ll...
set_record_timestamp_string
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
int skip_extra_struct(int ifd, int endian_mismatch, int arch_64) { __off_t extra_size; int v6; __off_t v7; extra_desc xtra_d; unsigned long v10; v10 = __readfsqword(0x28u); do { sa_fread(ifd, &xtra_d, 0x18u, 1, 0); if (endian_mismatch) swap_struct(extra_desc_types_nr, &xtra_d, arch_64); ...
int skip_extra_struct(int ifd, int endian_mismatch, int arch_64) { int i; struct extra_desc xtra_d; do { sa_fread(ifd, &xtra_d, EXTRA_DESC_SIZE, HARD_SIZE, UEOF_STOP); if (endian_mismatch) { swap_struct(extra_desc_types_nr, &xtra_d, arch_64); } if (MAP_SIZE(xtra_d.extra_types_nr) > xtra_...
skip_extra_struct
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_filesystem_stats(activity *a, int prev, int curr, int dispavg) { activity *v5; int v6; char *v7; int v8; long f_bfree; unsigned long f_blocks; long v11; double v12; double v13; unsigned long v14; double v15; long v16; double v17; double v18; long v19; double v20; double...
__print_funct_t stub_print_filesystem_stats(struct activity *a, int prev, int curr, int dispavg) { int i, j, j0, found; struct stats_filesystem *sfc, *sfp, *sfm; int unit = NO_UNIT; char *dev_name; if (DISPLAY_UNIT(flags)) { unit = UNIT_BYTE; } if (dish |...
stub_print_filesystem_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_huge_stats(activity *a, int curr, int dispavg) { _QWORD *v4; int v5; long v6; double v7; double v8; unsigned long v9; double v10; unsigned long v11; double v12; double v13; double v14; double v15; unsigned long v16; double v17; double v18; double v19; double v20; doub...
void stub_print_huge_stats(struct activity *a, int curr, int dispavg) { struct stats_huge *smc = (struct stats_huge *)a->buf[curr]; static unsigned long long avg_frhkb = 0, avg_tlhkb = 0, avg_rsvdhkb = 0, avg_surphkb = 0; int unit = NO_UNIT; if (DISPLAY_UNIT(flags)) { unit = UN...
stub_print_huge_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_ktables_stats(activity *a, int curr, int dispavg) { _QWORD *v4; double v5; unsigned long v6; double v7; unsigned long v8; double v9; double v10; unsigned long v11; double v12; double v13; unsigned long v14; double v15; double v16; unsigned long v17; unsigned long v18; uns...
void stub_print_ktables_stats(struct activity *a, int curr, int dispavg) { struct stats_ktables *skc = (struct stats_ktables *)a->buf[curr]; static unsigned long long avg_dentry_stat = 0, avg_file_used = 0, avg_inode_used = 0, avg_pty_nr = 0; if (dish) { print_hdr_line(timestamp[!...
stub_print_ktables_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_memory_stats(activity *a, int prev, int curr, int dispavg) { long v4; _QWORD *v7; unsigned int opt_flags; int v9; unsigned long v10; unsigned long v11; long v12; double v13; int v14; double v15; double v16; double v17; long v18; long v19; double v20; double v21; long v2...
void stub_print_memory_stats(struct activity *a, int prev, int curr, int dispavg) { struct stats_memory *smc = (struct stats_memory *)a->buf[curr]; static unsigned long long avg_frmkb = 0, avg_bufkb = 0, avg_camkb = 0, avg_comkb = 0, avg_activekb = 0, avg_ina...
stub_print_memory_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_net_sock6_stats(activity *a, int curr, int dispavg) { unsigned int *v4; double v5; unsigned long v6; double v7; unsigned long v8; double v9; double v10; unsigned long v11; double v12; double v13; unsigned long v14; double v15; double v16; unsigned long v17; unsigned long v1...
void stub_print_net_sock6_stats(struct activity *a, int curr, int dispavg) { struct stats_net_sock6 *snsc = (struct stats_net_sock6 *)a->buf[curr]; static unsigned long long avg_tcp6_inuse = 0, avg_udp6_inuse = 0, avg_raw6_inuse = 0, avg_frag6_inuse = 0; if (dish) { print_hdr_line...
stub_print_net_sock6_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_net_sock_stats(activity *a, int curr, int dispavg) { unsigned int *v4; double v5; unsigned long v6; double v7; unsigned long v8; double v9; double v10; unsigned long v11; double v12; double v13; unsigned long v14; double v15; double v16; unsigned long v17; double v18; dou...
void stub_print_net_sock_stats(struct activity *a, int curr, int dispavg) { struct stats_net_sock *snsc = (struct stats_net_sock *)a->buf[curr]; static unsigned long long avg_sock_inuse = 0, avg_tcp_inuse = 0, avg_udp_inuse = 0, avg_raw_inuse = 0, avg_frag_inu...
stub_print_net_sock_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_psicpu_stats(activity *a, int prev, int curr, int dispavg, unsigned long itv) { long v6; long *v8; unsigned long *v9; long v10; double v11; long v12; double v13; double v14; long v15; double v16; double v17; long v18; unsigned long v19; unsigned l...
void stub_print_psicpu_stats(struct activity *a, int prev, int curr, int dispavg, unsigned long long itv) { struct stats_psi_cpu *psic = (struct stats_psi_cpu *)a->buf[curr], *psip = (struct stats_psi_cpu *)a->buf[prev]; static unsigned long long s_avg10 = 0, s_av...
stub_print_psicpu_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_psiio_stats(activity *a, int prev, int curr, int dispavg, unsigned long itv) { long v5; long *v8; long *v9; unsigned long v10; long v11; double v12; long v13; double v14; double v15; long v16; double v17; double v18; double v19; double v20; long ...
void stub_print_psiio_stats(struct activity *a, int prev, int curr, int dispavg, unsigned long long itv) { struct stats_psi_io *psic = (struct stats_psi_io *)a->buf[curr], *psip = (struct stats_psi_io *)a->buf[prev]; static unsigned long long s_avg10 = 0, s_avg60 = ...
stub_print_psiio_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_psimem_stats(activity *a, int prev, int curr, int dispavg, unsigned long itv) { long v5; long *v8; long *v9; unsigned long v10; long v11; double v12; long v13; double v14; double v15; long v16; double v17; double v18; double v19; double v20; lon...
void stub_print_psimem_stats(struct activity *a, int prev, int curr, int dispavg, unsigned long long itv) { struct stats_psi_mem *psic = (struct stats_psi_mem *)a->buf[curr], *psip = (struct stats_psi_mem *)a->buf[prev]; static unsigned long long s_avg10 = 0, s_av...
stub_print_psimem_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_pwr_cpufreq_stats(activity *a, int curr, int dispavg) { unsigned int *v4; char *v5; int v6; long v7; long v8; long v9; double v10; act_bitmap *bitmap; long *v12; int v13; long v14; double v15; unsigned long v16; double v17; long v18; long v19; v4 = &a->id + curr; v5 ...
void stub_print_pwr_cpufreq_stats(struct activity *a, int curr, int dispavg) { int i; struct stats_pwr_cpufreq *spc; static __nr_t nr_alloc = 0; static unsigned long long *avg_cpufreq = NULL; if (!avg_cpufreq || (a->nr[curr] > nr_alloc)) { SREALLOC(avg_cpufreq, unsigned long long, sizeof(un...
stub_print_pwr_cpufreq_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_pwr_fan_stats(activity *a, int curr, int dispavg) { unsigned int *v4; double *v5; long v6; long v7; double v8; char *v9; double *v10; double *v11; char *v12; double *v13; double *v14; long v15; double *v16; int v17; char *v18; v4 = &a->id + curr; v5 = avg_fan_29; LOD...
void stub_print_pwr_fan_stats(struct activity *a, int curr, int dispavg) { int i; struct stats_pwr_fan *spc; static __nr_t nr_alloc = 0; static double *avg_fan = NULL; static double *avg_fan_min = NULL; if (!avg_fan || (a->nr[curr] > nr_alloc)) { SREALLOC(avg_fan, double, sizeof(double) * a->nr[curr]);...
stub_print_pwr_fan_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_pwr_in_stats(activity *a, int curr, int dispavg) { unsigned int *v3; double *v4; long v5; long v6; double v7; double v8; double v9; double v10; double v11; char *v12; double v13; double v14; double v15; double *v16; double *v17; double *v18; double *v19; long v20; d...
void stub_print_pwr_in_stats(struct activity *a, int curr, int dispavg) { int i; struct stats_pwr_in *spc; static __nr_t nr_alloc = 0; static double *avg_in = NULL; static double *avg_in_min = NULL, *avg_in_max = NULL; if (!avg_in || (a->nr[curr] > nr_alloc)) { SREALLOC(avg_in, double, sizeof(double) *...
stub_print_pwr_in_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_pwr_temp_stats(activity *a, int curr, int dispavg) { unsigned int *v3; double *v4; long v5; long v6; double v7; double v8; double v9; double v10; double v11; char *v12; double v13; double v14; double v15; double *v16; double *v17; double *v18; double *v19; long v20; ...
void stub_print_pwr_temp_stats(struct activity *a, int curr, int dispavg) { int i; struct stats_pwr_temp *spc; static __nr_t nr_alloc = 0; static double *avg_temp = NULL; static double *avg_temp_min = NULL, *avg_temp_max = NULL; if (!avg_temp || (a->nr[curr] > nr_alloc)) { SREALLOC(avg_temp, double, si...
stub_print_pwr_temp_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_pwr_usb_stats(activity *a, int curr, int dispavg) { long v3; char *v5; int v6; char *v7; const __m128i *v8; int nr_allocated; int v10; __m128i *v11; int v12; int v13; char *v14; long v15; char *v16; long v17; int v18; char fmt[24]; unsigned long v20; v3 = curr; v20...
void stub_print_pwr_usb_stats(struct activity *a, int curr, int dispavg) { int i, j; char fmt[16]; struct stats_pwr_usb *suc, *sum; if (dish) { printf("\n%-11s BUS idvendor idprod maxpower", (dispavg ? _("Summary:") : timestamp[!curr])); printf(" %-*s product\n", MAX_MANUF_LEN - 1, ...
stub_print_pwr_usb_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void stub_print_queue_stats(activity *a, int curr, int dispavg) { int *v4; double v5; unsigned long v6; double v7; unsigned long v8; double v9; double v10; unsigned long v11; double v12; double v13; double v14; double v15; double v16; double v17; double v18; double v19; unsigned long v...
void stub_print_queue_stats(struct activity *a, int curr, int dispavg) { struct stats_queue *sqc = (struct stats_queue *)a->buf[curr]; static unsigned long long avg_nr_running = 0, avg_nr_threads = 0, avg_load_avg_1 = 0, avg_load_avg_5 = 0, avg_load_avg_15 = 0...
stub_print_queue_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void swap_struct(unsigned int *types_nr, void *ps, int is64bit) { long v3; unsigned long *v5; unsigned long v6; unsigned int *v7; unsigned int v8; unsigned long v9; unsigned int v10; long v11; v3 = *types_nr; if ((_DWORD)v3) { v5 = (unsigned long *)((char *)ps + 8 * v3); do { v6 = *(_...
void swap_struct(unsigned int types_nr[], void *ps, int is64bit) { int i; uint64_t *x; uint32_t *y; x = (uint64_t *)ps; for (i = 0; i < types_nr[0]; i++) { *x = __builtin_bswap64(*x); x = (uint64_t *)((char *)x + ULL_ALIGNMENT_WIDTH); } y = (uint32_t *)x; for (i = 0; i < types_nr[1]; i++) { ...
swap_struct
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
char *transform_devmapname(unsigned int major, unsigned int minor) { DIR *v2; DIR *v3; struct dirent *v4; char *v5; const char *d_name; __dev_t v7; int *v9; char *v10; char *v11; stat aux; char filen[520]; unsigned long v14; v14 = __readfsqword(0x28u); v2 = opendir("/dev/mapper"); if (!v2...
char *transform_devmapname(unsigned int major, unsigned int minor) { DIR *dm_dir; struct dirent *dp; char filen[MAX_FILE_LEN]; char *dm_name = NULL; static char name[MAX_NAME_LEN]; struct stat aux; unsigned int dm_major, dm_minor; if ((dm_dir = opendir(DEVMAP_DIR)) == NULL) { fprintf(stderr, _("Can...
transform_devmapname
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void usage(char *progname) { char *v1; print_usage_title(stderr, progname); v1 = dcgettext( 0, "Options are:\n" "[ -A ] [ -B ] [ -b ] [ -C ] [ -D ] [ -d ] [ -F [ MOUNT ] ] [ -H ] [ -h " "]\n" "[ -p ] [ -r [ ALL ] ] [ -S ] [ -t ] [ -u [ ALL ] ] [ -V ]\n" "[ -v ] [ -W ] [ -w ] [...
void usage(char *progname) { print_usage_title(stderr, progname); fprintf( stderr, _("Options are:\n" "[ -A ] [ -B ] [ -b ] [ -C ] [ -D ] [ -d ] [ -F [ MOUNT ] ] [ -H ] [ " "-h ]\n" "[ -p ] [ -r [ ALL ] ] [ -S ] [ -t ] [ -u [ ALL ] ] [ -V ]\n" "[ -v ] [ -W ] [ -w ] [ -y ]...
usage
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void which_sadc() { char *v0; char *v1; stat buf; unsigned long v3; v3 = __readfsqword(0x28u); if (stat("/usr/lib/sa/sadc", &buf) < 0) { v1 = dcgettext(0, "Data collector will be sought in PATH\n", 5); __printf_chk(1, v1); } else { v0 = dcgettext(0, "Data collector found: %s\n", 5); __pri...
void which_sadc(void) { struct stat buf; if (stat(SADC_PATH, &buf) < 0) { printf(_("Data collector will be sought in PATH\n")); } else { printf(_("Data collector found: %s\n"), SADC_PATH); } exit(0); }
which_sadc
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
int write_stats(int curr, int read_from_file, long *cnt, int use_tm_start, int use_tm_end, int reset, unsigned int act_id, int reset_cd) { _BOOL8 v8; record_header *v9; int record_timestamp_struct; record_header *v12; unsigned long ust_time; int v14; activity **v15; int v16; activity *...
int write_stats(int curr, int read_from_file, long *cnt, int use_tm_start, int use_tm_end, int reset, unsigned int act_id, int reset_cd) { int i, prev_hour, rc = 0; unsigned long long itv; static int cross_day = FALSE; if (reset_cd) { cross_day = FALSE; } if (read_from_file && !...
write_stats
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void write_stats_avg(int curr, int read_from_file, unsigned int act_id) { unsigned long interval; char *v5; const __m128i *v6; const __m128i *v7; __m128i si128; char *v9; activity **v10; activity *v11; interval = get_interval(record_hdr[2].uptime_cs, record_hdr[curr].uptime_cs); v5 = dcgettext(0, "...
void write_stats_avg(int curr, int read_from_file, unsigned int act_id) { int i; unsigned long long itv; itv = get_interval(record_hdr[2].uptime_cs, record_hdr[curr].uptime_cs); strncpy(timestamp[curr], _("Average:"), sizeof(timestamp[curr])); timestamp[curr][sizeof(timestamp[curr]) - 1] = '\0'; memcpy(ti...
write_stats_avg
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void write_stats_startup(int curr) { record_header *v1; _BOOL8 v2; activity **v3; record_header *v4; record_header *v5; unsigned char hour; unsigned char second; unsigned long ust_time; activity *v9; long v10; v1 = &record_hdr[curr == 0]; v2 = curr == 0; v3 = act; *(_QWORD *)&v1->extra_next...
void write_stats_startup(int curr) { int i; memset(&record_hdr[!curr], 0, RECORD_HEADER_SIZE); record_hdr[!curr].record_type = R_STATS; record_hdr[!curr].hour = record_hdr[curr].hour; record_hdr[!curr].minute = record_hdr[curr].minute; record_hdr[!curr].second = record_hdr[curr].second; record_hdr[!curr]...
write_stats_startup
sysstat-12.5.4
app-admin
O0/app-admin/sysstat-12.5.4/sar
ida
O0
void begin(state *s) { int i; int i_0; int j; int i_1; int j_0; int k; _mm_prefetch((const char *)s, 0); s->c2 = 0; s->c1 = s->c2; s->run = 0; s->low = 0; s->high = -1; s->code = 0; for (i = 0; i <= 255; ++i) s->C0[i] = 0x8000; for (i_0 = 0; i_0 <= 255; ++i_0) { for (j = 0; j <= 2...
void begin(state *s) { prefetch(s); s->c1 = s->c2 = 0; s->run = 0; s->low = 0; s->high = 0xFFFFFFFF; s->code = 0; for (int i = 0; i < 256; i++) s->C0[i] = 1 << 15; for (int i = 0; i < 256; i++) for (int j = 0; j < 256; j++) s->C1[i][j] = 1 << 15; for (int i = 0; i < 2; i++) for (int ...
begin
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
s32 bz3_decode_block(bz3_state *state, u8 *buffer, s32 data_size, s32 orig_size) { s32 v5; int data_sizeb; s8 model; int lzp_size; int rle_size; s32 p; s32 pa; int size_src; u32 crc32; s32 bwt_idx; u8 *b1; u8 *b2; crc32 = read_neutral_s32_1(buffer); bwt_idx = read_neutr...
PUBLIC_API s32 bz3_decode_block(struct bz3_state *state, u8 *buffer, s32 data_size, s32 orig_size) { u32 crc32 = read_neutral_s32(buffer); s32 bwt_idx = read_neutral_s32(buffer + 4); if (data_size > state->block_size + state->block_size / 50 + 32 || data_size < 0) { sta...
bz3_decode_block
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void bz3_decode_blocks(bz3_state **states, uint8_t **buffers, int32_t *sizes, int32_t *orig_sizes, int32_t n) { void *v5; void *v6; _QWORD v7[3]; int32_t na; int32_t *orig_sizesa; int32_t *sizesa; uint8_t **buffersa; bz3_state **statesa; int32_t i_0; int32_t i; long v15; d...
PUBLIC_API void bz3_decode_blocks(struct bz3_state *states[], uint8_t *buffers[], int32_t sizes[], int32_t orig_sizes[], int32_t n) { decode_thread_msg messages[n]; pthread_t threads[n]; for (int32_t i = 0; i < n; i++) { messages[i].state = s...
bz3_decode_blocks
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
s32 bz3_encode_block(bz3_state *state, u8 *buffer, s32 data_size) { int data_sizea; s32 data_sizeb; s8 model; s32 overhead; s32 p; s32 crc32; s32 rle_size; int lzp_size; int bwt_idx; u8 *b1; u8 *b2; u8 *tmp_0; data_sizea = data_size; b1 = buffer; b2 = state->swap_buffer; if (data_size <...
PUBLIC_API s32 bz3_encode_block(struct bz3_state *state, u8 *buffer, s32 data_size) { u8 *b1 = buffer, *b2 = state->swap_buffer; if (data_size > state->block_size) { state->last_error = BZ3_ERR_DATA_TOO_BIG; return -1; } u32 crc32 = crc32sum(1, b1, data_size); if (da...
bz3_encode_block
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void bz3_encode_blocks(bz3_state **states, uint8_t **buffers, int32_t *sizes, int32_t n) { void *v4; void *v5; _BYTE v6[4]; int32_t na; int32_t *sizesa; uint8_t **buffersa; bz3_state **statesa; int32_t i_1; int32_t i_0; int32_t i; long v14; encode_thread_msg(*p_messages)[]...
PUBLIC_API void bz3_encode_blocks(struct bz3_state *states[], uint8_t *buffers[], int32_t sizes[], int32_t n) { encode_thread_msg messages[n]; pthread_t threads[n]; for (int32_t i = 0; i < n; i++) { messages[i].state = states[i]; messages...
bz3_encode_blocks
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void bz3_free(bz3_state *state) { free(state->swap_buffer); free(state->sais_array); free(state->cm_state); free(state->lzp_lut); free(state); }
PUBLIC_API void bz3_free(struct bz3_state *state) { free(state->swap_buffer); free(state->sais_array); free(state->cm_state); free(state->lzp_lut); free(state); }
bz3_free
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void *bz3_init_decode_thread(void *_msg) { bz3_decode_block(*(bz3_state **)_msg, *((u8 **)_msg + 1), *((_DWORD *)_msg + 4), *((_DWORD *)_msg + 5)); pthread_exit(0); }
static void *bz3_init_decode_thread(void *_msg) { decode_thread_msg *msg = _msg; bz3_decode_block(msg->state, msg->buffer, msg->size, msg->orig_size); pthread_exit(NULL); return NULL; }
bz3_init_decode_thread
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void *bz3_init_encode_thread(void *_msg) { *((_DWORD *)_msg + 4) = bz3_encode_block( *(bz3_state **)_msg, *((u8 **)_msg + 1), *((_DWORD *)_msg + 4)); pthread_exit(0); }
static void *bz3_init_encode_thread(void *_msg) { encode_thread_msg *msg = _msg; msg->size = bz3_encode_block(msg->state, msg->buffer, msg->size); pthread_exit(NULL); return NULL; }
bz3_init_encode_thread
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
s8 bz3_last_error(bz3_state *state) { return state->last_error; }
PUBLIC_API s8 bz3_last_error(struct bz3_state *state) { return state->last_error; }
bz3_last_error
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
bz3_state *bz3_new(s32 block_size) { bz3_state *bz3_state; if (block_size <= 66559 || block_size > 535822336) return 0; bz3_state = (bz3_state *)malloc(0x30u); if (!bz3_state) return 0; bz3_state->cm_state = (state *)malloc(0x24638u); bz3_state->swap_buffer = (u8 *)malloc(block_size / 50 + block_si...
PUBLIC_API struct bz3_state *bz3_new(s32 block_size) { if (block_size < KiB(65) || block_size > MiB(511)) { return NULL; } struct bz3_state *bz3_state = malloc(sizeof(struct bz3_state)); if (!bz3_state) { return NULL; } bz3_state->cm_state = malloc(sizeof(state)); bz3_state->swap_buffer = mall...
bz3_new
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
const char *bz3_strerror(bz3_state *state) { const char *result; switch (state->last_error) { case 0xFA: result = "Too much data"; break; case 0xFB: result = "Truncated data"; break; case 0xFC: result = "Malformed header"; break; case 0xFD: result = "CRC32 check failed"; bre...
PUBLIC_API const char *bz3_strerror(struct bz3_state *state) { switch (state->last_error) { case BZ3_OK: return "No error"; case BZ3_ERR_OUT_OF_BOUNDS: return "Data index out of bounds"; case BZ3_ERR_BWT: return "Burrows-Wheeler transform failed"; case BZ3_ERR_CRC: return "CRC32 check failed";...
bz3_strerror
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
u32 crc32sum(u32 crc, u8 *buf, size_t size) { u8 *v3; while (size--) { v3 = buf++; crc = crc32Table[(unsigned char)(crc ^ *v3)] ^ (crc >> 8); } return crc; }
u32 crc32sum(u32 crc, u8 *restrict buf, size_t size) { while (size--) crc = crc32Table[(crc ^ *(buf++)) & 0xff] ^ (crc >> 8); return crc; }
crc32sum
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void decode_bytes(state *s, u8 *c, s32 size) { u32 v3; u8 *in_queue; s32 input_ptr; int v6; int v7; u8 *v8; s32 v9; int v10; int v11; u8 *v12; s32 v13; int v14; int v15; u8 *v16; s32 v17; int v18; u8 *v19; s32 v20; int v21; u8 bit; int high; u32 low; u32 c1; u32 c2; u32...
void decode_bytes(state *s, u8 *c, s32 size) { u32 high = s->high, low = s->low, c1 = s->c1, c2 = s->c2, run = s->run, code = s->code; code = (code << 8) + read_in(s); code = (code << 8) + read_in(s); code = (code << 8) + read_in(s); code = (code << 8) + read_in(s); for (s32 i = 0; i < size; i++) { ...
decode_bytes
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void encode_bytes(state *s, u8 *buf, s32 size) { u8 *v3; s32 v4; u8 *out_queue; s32 output_ptr; u8 *v7; s32 v8; u8 *v9; s32 v10; u8 *v11; s32 v12; u8 *v13; s32 v14; signed char c; int high; u32 low; u32 lowa; u32 c1; u32 c2; u32 run; s32 i; int ctx; int f; int p0; int p1;...
void encode_bytes(state *s, u8 *buf, s32 size) { u32 high = s->high, low = s->low, c1 = s->c1, c2 = s->c2, run = s->run; for (s32 i = 0; i < size; i++) { u8 c = buf[i]; if (c1 == c2) ++run; else run = 0; const int f = run > 2; int ctx = 1; while (ctx < 256) { const int ...
encode_bytes
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
s32 libsais(const u8 *T, s32 *SA, s32 n, s32 fs_0, s32 *freq) { if (!T || !SA || n < 0 || fs_0 < 0) return -1; if (n > 1) return libsais_main(T, SA, n, 0, 0, 0, fs_0, freq, 1); if (freq) memset(freq, 0, 0x400u); if (n == 1) { *SA = 0; if (freq) ++freq[*T]; } return 0; }
s32 libsais(const u8 *T, s32 *SA, s32 n, s32 fs, s32 *freq) { if ((T == NULL) || (SA == NULL) || (n < 0) || (fs < 0)) { return -1; } else if (n < 2) { if (freq != NULL) { memset(freq, 0, ALPHABET_SIZE * sizeof(s32)); } if (n == 1) { SA[0] = 0; if (freq != NULL) { freq[T[0]]...
libsais
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void *libsais_align_up(const void *address, size_t alignment) { return (void *)(((unsigned long)address + alignment - 1) & -(long)alignment); }
static void *libsais_align_up(const void *address, size_t alignment) { return (void *)((((ptrdiff_t)address) + ((ptrdiff_t)alignment) - 1) & (-((ptrdiff_t)alignment))); }
libsais_align_up
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void *libsais_alloc_aligned(size_t size, size_t alignment) { void *result; char *address; address = (char *)malloc(size + alignment + 1); if (!address) return 0; result = libsais_align_up(address + 2, alignment); *((_WORD *)result - 1) = (_WORD)result - (_WORD)address; return result; }
static void *libsais_alloc_aligned(size_t size, size_t alignment) { void *address = malloc(size + sizeof(short) + alignment - 1); if (address != NULL) { void *aligned_address = libsais_align_up( (void *)((ptrdiff_t)address + (ptrdiff_t)(sizeof(short))), alignment); ((short *)aligned_address)[-1] = ...
libsais_alloc_aligned
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
LIBSAIS_THREAD_STATE *libsais_alloc_thread_state(sa_sint_t threads) { sa_sint_t *thread_buckets; LIBSAIS_THREAD_CACHE *thread_cache; fast_sint_t t; LIBSAIS_THREAD_STATE *thread_state; thread_state = (LIBSAIS_THREAD_STATE *)libsais_alloc_aligned( (long)threads << 6, 0x1000u); thread_buckets = (s...
static LIBSAIS_THREAD_STATE *libsais_alloc_thread_state(sa_sint_t threads) { LIBSAIS_THREAD_STATE *RESTRICT thread_state = (LIBSAIS_THREAD_STATE *)libsais_alloc_aligned( (size_t)threads * sizeof(LIBSAIS_THREAD_STATE), 4096); sa_sint_t *RESTRICT thread_buckets = (sa_sint_t *)libsais_alloc_aligned( ...
libsais_alloc_thread_state
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
s32 libsais_bwt(const u8 *T, u8 *U, s32 *A, s32 n, s32 fs_0, s32 *freq) { int index; if (!T || !U || !A || n < 0 || fs_0 < 0) return -1; if (n > 1) { index = libsais_main(T, A, n, 1, 0, 0, fs_0, freq, 1); if (index >= 0) { ++index; *U = T[n - 1]; libsais_bwt_copy_8u(U + 1, A, index ...
s32 libsais_bwt(const u8 *T, u8 *U, s32 *A, s32 n, s32 fs, s32 *freq) { if ((T == NULL) || (U == NULL) || (A == NULL) || (n < 0) || (fs < 0)) { return -1; } else if (n <= 1) { if (freq != NULL) { memset(freq, 0, ALPHABET_SIZE * sizeof(s32)); } if (n == 1) { U[0] = T[0]; if (freq !=...
libsais_bwt
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
s32 libsais_bwt_aux(const u8 *T, u8 *U, s32 *A, s32 n, s32 fs_0, s32 *freq, s32 r, s32 *I) { if (!T || !U || !A || n < 0 || fs_0 < 0 || r <= 1 || (r & (r - 1)) != 0 || !I) return -1; if (n > 1) { if (libsais_main(T, A, n, 1, r, I, fs_0, freq, 1)) { return -2; } else { *U ...
s32 libsais_bwt_aux(const u8 *T, u8 *U, s32 *A, s32 n, s32 fs, s32 *freq, s32 r, s32 *I) { if ((T == NULL) || (U == NULL) || (A == NULL) || (n < 0) || (fs < 0) || (r < 2) || ((r & (r - 1)) != 0) || (I == NULL)) { return -1; } else if (n <= 1) { if (freq != NULL) { memset(freq...
libsais_bwt_aux
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
s32 libsais_bwt_aux_ctx(const void *ctx, const u8 *T, u8 *U, s32 *A, s32 n, s32 fs_0, s32 *freq, s32 r, s32 *I) { if (!ctx || !T || !U || !A || n < 0 || fs_0 < 0 || r <= 1 || (r & (r - 1)) != 0 || !I) return -1; if (n > 1) { if (libsais_main_ctx((const LIBSAIS_CONTEXT *)ctx, T,...
s32 libsais_bwt_aux_ctx(const void *ctx, const u8 *T, u8 *U, s32 *A, s32 n, s32 fs, s32 *freq, s32 r, s32 *I) { if ((ctx == NULL) || (T == NULL) || (U == NULL) || (A == NULL) || (n < 0) || (fs < 0) || (r < 2) || ((r & (r - 1)) != 0) || (I == NULL)) { return -1; } else if (n <= 1) {...
libsais_bwt_aux_ctx
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_bwt_copy_8u(u8 *U, sa_sint_t *A, sa_sint_t n) { fast_sint_t i; for (i = 0; i < n - 7LL; i += 8LL) { _mm_prefetch((const char *)&A[i + 32], 0); U[i] = A[i]; U[i + 1] = A[i + 1]; U[i + 2] = A[i + 2]; U[i + 3] = A[i + 3]; U[i + 4] = A[i + 4]; U[i + 5] = A[i + 5]; U[i + 6] ...
static void libsais_bwt_copy_8u(u8 *RESTRICT U, sa_sint_t *RESTRICT A, sa_sint_t n) { const fast_sint_t prefetch_distance = 32; fast_sint_t i, j; for (i = 0, j = (fast_sint_t)n - 7; i < j; i += 8) { libsais_prefetch(&A[i + prefetch_distance]); U[i + 0] = (u8)A[i + 0]; ...
libsais_bwt_copy_8u
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
s32 libsais_bwt_ctx(const void *ctx, const u8 *T, u8 *U, s32 *A, s32 n, s32 fs_0, s32 *freq) { int index; if (!ctx || !T || !U || !A || n < 0 || fs_0 < 0) return -1; if (n > 1) { index = libsais_main_ctx((const LIBSAIS_CONTEXT *)ctx, T, A, n, 1, 0, 0, fs_0...
s32 libsais_bwt_ctx(const void *ctx, const u8 *T, u8 *U, s32 *A, s32 n, s32 fs, s32 *freq) { if ((ctx == NULL) || (T == NULL) || (U == NULL) || (A == NULL) || (n < 0) || (fs < 0)) { return -1; } else if (n <= 1) { if (freq != NULL) { memset(freq, 0, ALPHABET_SIZE * sizeof(s32...
libsais_bwt_ctx
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_clamp_lms_suffixes_length_32s(sa_sint_t *SA, sa_sint_t m, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { sa_sint_t v4; sa_sint_t v5; sa_sint_t v6; sa_sint_t v7; sa_sint_t v8; fast_sint_t i; sa_si...
static void libsais_clamp_lms_suffixes_length_32s(sa_sint_t *RESTRICT SA, sa_sint_t m, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { const fast_sint_t pref...
libsais_clamp_lms_suffixes_length_32s
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_clamp_lms_suffixes_length_32s_omp(sa_sint_t *SA, sa_sint_t n, sa_sint_t m, sa_sint_t threads) { libsais_clamp_lms_suffixes_length_32s(SA, m, 0, n >> 1); }
static void libsais_clamp_lms_suffixes_length_32s_omp(sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t m, sa_sint_t threads) { { (void)(threads); fast_sint_t omp_block_start = 0; fast_sint_t omp_bloc...
libsais_clamp_lms_suffixes_length_32s_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_clear_lms_suffixes_omp(sa_sint_t *SA, sa_sint_t n, sa_sint_t k, sa_sint_t *bucket_start, sa_sint_t *bucket_end, sa_sint_t threads) { fast_sint_t c; for (c = 0; c < k; ++c) { if (bucket_end[c] > bucket_start[c]) memset(&S...
static void libsais_clear_lms_suffixes_omp(sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t k, sa_sint_t *RESTRICT bucket_start, sa_sint_t *RESTRICT bucket_end, ...
libsais_clear_lms_suffixes_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
sa_sint_t libsais_compact_lms_suffixes_32s_omp( sa_sint_t *T, sa_sint_t *SA, sa_sint_t n, sa_sint_t m, sa_sint_t fs_0, sa_sint_t threads, LIBSAIS_THREAD_STATE *thread_state) { sa_sint_t f; f = libsais_renumber_unique_and_nonunique_lms_suffixes_32s_omp( T, SA, m, threads, thread_state); libsais_comp...
static sa_sint_t libsais_compact_lms_suffixes_32s_omp( sa_sint_t *RESTRICT T, sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t m, sa_sint_t fs, sa_sint_t threads, LIBSAIS_THREAD_STATE *RESTRICT thread_state) { sa_sint_t f = libsais_renumber_unique_and_nonunique_lms_suffixes_32s_omp( T, SA, m, threads,...
libsais_compact_lms_suffixes_32s_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_compact_unique_and_nonunique_lms_suffixes_32s( sa_sint_t *SA, sa_sint_t m, fast_sint_t *pl, fast_sint_t *pr, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { sa_sint_t p; sa_sint_t p0; sa_sint_t p1; sa_sint_t p2; sa_sint_t p3; fast_sint_t i; fast_sint_t l; fast_sint_t la; ...
static void libsais_compact_unique_and_nonunique_lms_suffixes_32s( sa_sint_t *RESTRICT SA, sa_sint_t m, fast_sint_t *pl, fast_sint_t *pr, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { const fast_sint_t prefetch_distance = 32; sa_sint_t *RESTRICT SAl = &SA[0]; sa_sint_t *RESTRICT SAr = &SA[0]...
libsais_compact_unique_and_nonunique_lms_suffixes_32s
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_compact_unique_and_nonunique_lms_suffixes_32s_omp( sa_sint_t *SA, sa_sint_t n, sa_sint_t m, sa_sint_t fs_0, sa_sint_t f, sa_sint_t threads, LIBSAIS_THREAD_STATE *thread_state) { fast_sint_t l; fast_sint_t r; fast_sint_t omp_thread_num; fast_sint_t omp_num_threads; fast_sint_t omp_block_st...
static void libsais_compact_unique_and_nonunique_lms_suffixes_32s_omp( sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t m, sa_sint_t fs, sa_sint_t f, sa_sint_t threads, LIBSAIS_THREAD_STATE *RESTRICT thread_state) { { (void)(threads); (void)(thread_state); fast_sint_t omp_thread_num = 0; fast_s...
libsais_compact_unique_and_nonunique_lms_suffixes_32s_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_compute_lcp(const sa_sint_t *PLCP, const sa_sint_t *SA, sa_sint_t *LCP, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { fast_sint_t i; for (i = omp_block_start; i < omp_block_start + omp_block_size - 35; i += 4LL) { _mm_prefetch((...
static void libsais_compute_lcp(const sa_sint_t *RESTRICT PLCP, const sa_sint_t *RESTRICT SA, sa_sint_t *RESTRICT LCP, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { const fast_s...
libsais_compute_lcp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_compute_lcp_omp(const sa_sint_t *PLCP, const sa_sint_t *SA, sa_sint_t *LCP, sa_sint_t n, sa_sint_t threads) { libsais_compute_lcp(PLCP, SA, LCP, 0, n); }
static void libsais_compute_lcp_omp(const sa_sint_t *RESTRICT PLCP, const sa_sint_t *RESTRICT SA, sa_sint_t *RESTRICT LCP, sa_sint_t n, sa_sint_t threads) { { (void)(threads); fast_sint_t omp_thread_nu...
libsais_compute_lcp_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_compute_phi(const sa_sint_t *SA, sa_sint_t *PLCP, sa_sint_t n, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { sa_sint_t v5; sa_sint_t k; sa_sint_t ka; fast_sint_t i; if (omp_block_start <= 0) v5 = n; else v5 = SA[omp_block_s...
static void libsais_compute_phi(const sa_sint_t *RESTRICT SA, sa_sint_t *RESTRICT PLCP, sa_sint_t n, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { const fast_sint_t prefetch_distance = 32; fast_sint_t i, j;...
libsais_compute_phi
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_compute_phi_omp(const sa_sint_t *SA, sa_sint_t *PLCP, sa_sint_t n, sa_sint_t threads) { libsais_compute_phi(SA, PLCP, n, 0, n); }
static void libsais_compute_phi_omp(const sa_sint_t *RESTRICT SA, sa_sint_t *RESTRICT PLCP, sa_sint_t n, sa_sint_t threads) { { (void)(threads); fast_sint_t omp_thread_num = 0; fast_sint_t omp_num_threads = 1; fast_sint_t omp_bl...
libsais_compute_phi_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_compute_plcp(const u8 *T, sa_sint_t *PLCP, fast_sint_t n, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { fast_sint_t v5; fast_sint_t v6; fast_sint_t i; fast_sint_t l; fast_sint_t k_0; fast_sint_t k; l = 0; for (i = omp_block_s...
static void libsais_compute_plcp(const u8 *RESTRICT T, sa_sint_t *RESTRICT PLCP, fast_sint_t n, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { const fast_sint_t prefetch_distance = 32; fast_sint_t i, j, l = 0; for (i = omp_block_start,...
libsais_compute_plcp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_compute_plcp_omp(const u8 *T, sa_sint_t *PLCP, sa_sint_t n, sa_sint_t threads) { libsais_compute_plcp(T, PLCP, n, 0, n); }
static void libsais_compute_plcp_omp(const u8 *RESTRICT T, sa_sint_t *RESTRICT PLCP, sa_sint_t n, sa_sint_t threads) { { (void)(threads); fast_sint_t omp_thread_num = 0; fast_sint_t omp_num_threads = 1; fast_sint_t omp_block_s...
libsais_compute_plcp_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
sa_sint_t libsais_count_and_gather_compacted_lms_suffixes_32s_2k( const sa_sint_t *T, sa_sint_t *SA, sa_sint_t n, sa_sint_t k, sa_sint_t *buckets, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { sa_sint_t *v7; sa_sint_t *v8; sa_sint_t *v9; sa_sint_t *v10; sa_sint_t *v11; long v12; s...
static sa_sint_t libsais_count_and_gather_compacted_lms_suffixes_32s_2k( const sa_sint_t *RESTRICT T, sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t k, sa_sint_t *RESTRICT buckets, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { memset(buckets, 0, 2 * (size_t)k * sizeof(sa_sint_t)); fast_sin...
libsais_count_and_gather_compacted_lms_suffixes_32s_2k
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
sa_sint_t libsais_count_and_gather_compacted_lms_suffixes_32s_2k_nofs_omp( const sa_sint_t *T, sa_sint_t *SA, sa_sint_t n, sa_sint_t k, sa_sint_t *buckets, sa_sint_t threads) { return libsais_count_and_gather_compacted_lms_suffixes_32s_2k(T, SA, n, k, ...
static sa_sint_t libsais_count_and_gather_compacted_lms_suffixes_32s_2k_nofs_omp( const sa_sint_t *RESTRICT T, sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t k, sa_sint_t *RESTRICT buckets, sa_sint_t threads) { sa_sint_t m = 0; { (void)(threads); fast_sint_t omp_num_threads = 1; if (omp_num_th...
libsais_count_and_gather_compacted_lms_suffixes_32s_2k_nofs_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_count_and_gather_compacted_lms_suffixes_32s_2k_omp( const sa_sint_t *T, sa_sint_t *SA, sa_sint_t n, sa_sint_t k, sa_sint_t *buckets, sa_sint_t threads, LIBSAIS_THREAD_STATE *thread_state) { libsais_count_and_gather_compacted_lms_suffixes_32s_2k_nofs_omp( T, SA, n, k, buckets, threads); }
static void libsais_count_and_gather_compacted_lms_suffixes_32s_2k_omp( const sa_sint_t *RESTRICT T, sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t k, sa_sint_t *RESTRICT buckets, sa_sint_t threads, LIBSAIS_THREAD_STATE *RESTRICT thread_state) { (void)(thread_state); { libsais_count_and_gather_comp...
libsais_count_and_gather_compacted_lms_suffixes_32s_2k_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
sa_sint_t libsais_count_and_gather_lms_suffixes_32s_2k( const sa_sint_t *T, sa_sint_t *SA, sa_sint_t n, sa_sint_t k, sa_sint_t *buckets, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { sa_sint_t *v7; sa_sint_t *v8; sa_sint_t *v9; sa_sint_t *v10; sa_sint_t *v11; long v12; sa_sint_t *...
static sa_sint_t libsais_count_and_gather_lms_suffixes_32s_2k( const sa_sint_t *RESTRICT T, sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t k, sa_sint_t *RESTRICT buckets, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { memset(buckets, 0, 2 * (size_t)k * sizeof(sa_sint_t)); fast_sint_t m = om...
libsais_count_and_gather_lms_suffixes_32s_2k
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
sa_sint_t libsais_count_and_gather_lms_suffixes_32s_2k_nofs_omp( const sa_sint_t *T, sa_sint_t *SA, sa_sint_t n, sa_sint_t k, sa_sint_t *buckets, sa_sint_t threads) { return libsais_count_and_gather_lms_suffixes_32s_2k(T, SA, n, k, buckets, 0, n); }
static sa_sint_t libsais_count_and_gather_lms_suffixes_32s_2k_nofs_omp( const sa_sint_t *RESTRICT T, sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t k, sa_sint_t *RESTRICT buckets, sa_sint_t threads) { sa_sint_t m = 0; { (void)(threads); fast_sint_t omp_num_threads = 1; if (omp_num_threads == 1...
libsais_count_and_gather_lms_suffixes_32s_2k_nofs_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
sa_sint_t libsais_count_and_gather_lms_suffixes_32s_2k_omp( const sa_sint_t *T, sa_sint_t *SA, sa_sint_t n, sa_sint_t k, sa_sint_t *buckets, sa_sint_t threads, LIBSAIS_THREAD_STATE *thread_state) { return libsais_count_and_gather_lms_suffixes_32s_2k_nofs_omp( T, SA, n, k, buckets, threads); }
static sa_sint_t libsais_count_and_gather_lms_suffixes_32s_2k_omp( const sa_sint_t *RESTRICT T, sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t k, sa_sint_t *RESTRICT buckets, sa_sint_t threads, LIBSAIS_THREAD_STATE *RESTRICT thread_state) { sa_sint_t m; (void)(thread_state); { m = libsais_count_a...
libsais_count_and_gather_lms_suffixes_32s_2k_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
sa_sint_t libsais_count_and_gather_lms_suffixes_32s_4k( const sa_sint_t *T, sa_sint_t *SA, sa_sint_t n, sa_sint_t k, sa_sint_t *buckets, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { sa_sint_t *v7; sa_sint_t *v8; sa_sint_t *v9; sa_sint_t *v10; sa_sint_t *v11; long v12; sa_sint_t *...
static sa_sint_t libsais_count_and_gather_lms_suffixes_32s_4k( const sa_sint_t *RESTRICT T, sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t k, sa_sint_t *RESTRICT buckets, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { memset(buckets, 0, 4 * (size_t)k * sizeof(sa_sint_t)); fast_sint_t m = om...
libsais_count_and_gather_lms_suffixes_32s_4k
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
sa_sint_t libsais_count_and_gather_lms_suffixes_32s_4k_nofs_omp( const sa_sint_t *T, sa_sint_t *SA, sa_sint_t n, sa_sint_t k, sa_sint_t *buckets, sa_sint_t threads) { return libsais_count_and_gather_lms_suffixes_32s_4k(T, SA, n, k, buckets, 0, n); }
static sa_sint_t libsais_count_and_gather_lms_suffixes_32s_4k_nofs_omp( const sa_sint_t *RESTRICT T, sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t k, sa_sint_t *RESTRICT buckets, sa_sint_t threads) { sa_sint_t m = 0; { (void)(threads); fast_sint_t omp_num_threads = 1; if (omp_num_threads == 1...
libsais_count_and_gather_lms_suffixes_32s_4k_nofs_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
sa_sint_t libsais_count_and_gather_lms_suffixes_32s_4k_omp( const sa_sint_t *T, sa_sint_t *SA, sa_sint_t n, sa_sint_t k, sa_sint_t *buckets, sa_sint_t threads, LIBSAIS_THREAD_STATE *thread_state) { return libsais_count_and_gather_lms_suffixes_32s_4k_nofs_omp( T, SA, n, k, buckets, threads); }
static sa_sint_t libsais_count_and_gather_lms_suffixes_32s_4k_omp( const sa_sint_t *RESTRICT T, sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t k, sa_sint_t *RESTRICT buckets, sa_sint_t threads, LIBSAIS_THREAD_STATE *RESTRICT thread_state) { sa_sint_t m; (void)(thread_state); { m = libsais_count_a...
libsais_count_and_gather_lms_suffixes_32s_4k_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
sa_sint_t libsais_count_and_gather_lms_suffixes_8u(const u8 *T, sa_sint_t *SA, sa_sint_t n, sa_sint_t *buckets, fast_sint_t omp_block_start, ...
static sa_sint_t libsais_count_and_gather_lms_suffixes_8u( const u8 *RESTRICT T, sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t *RESTRICT buckets, fast_sint_t omp_block_start, fast_sint_t omp_block_size) { memset(buckets, 0, 4 * ALPHABET_SIZE * sizeof(sa_sint_t)); fast_sint_t m = omp_block_start + omp_...
libsais_count_and_gather_lms_suffixes_8u
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
sa_sint_t libsais_count_and_gather_lms_suffixes_8u_omp( const u8 *T, sa_sint_t *SA, sa_sint_t n, sa_sint_t *buckets, sa_sint_t threads, LIBSAIS_THREAD_STATE *thread_state) { return libsais_count_and_gather_lms_suffixes_8u(T, SA, n, buckets, 0, n); }
static sa_sint_t libsais_count_and_gather_lms_suffixes_8u_omp( const u8 *RESTRICT T, sa_sint_t *RESTRICT SA, sa_sint_t n, sa_sint_t *RESTRICT buckets, sa_sint_t threads, LIBSAIS_THREAD_STATE *RESTRICT thread_state) { sa_sint_t m = 0; { (void)(threads); (void)(thread_state); fast_sint_t omp...
libsais_count_and_gather_lms_suffixes_8u_omp
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_count_lms_suffixes_32s_2k(const sa_sint_t *T, sa_sint_t n, sa_sint_t k, sa_sint_t *buckets) { sa_sint_t *v4; sa_sint_t *v5; sa_sint_t *v6; sa_sint_t *v7; sa_sint_t *v8; sa_sint_t i; fast_uint_t s; fast_uint_t sa; fast_uint_t sb; fast_uint_t sc; f...
static void libsais_count_lms_suffixes_32s_2k(const sa_sint_t *RESTRICT T, sa_sint_t n, sa_sint_t k, sa_sint_t *RESTRICT buckets) { const fast_sint_t prefetch_distance = 32; memset(buckets, 0, 2 * (size_t)k * sizeof(sa_sint...
libsais_count_lms_suffixes_32s_2k
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void libsais_count_suffixes_32s(const sa_sint_t *T, sa_sint_t n, sa_sint_t k, sa_sint_t *buckets) { sa_sint_t *v4; sa_sint_t *v5; sa_sint_t *v6; sa_sint_t *v7; sa_sint_t *v8; sa_sint_t *v9; sa_sint_t *v10; sa_sint_t *v11; sa_sint_t *v12; fast_sint_t i; memset(bucke...
static void libsais_count_suffixes_32s(const sa_sint_t *RESTRICT T, sa_sint_t n, sa_sint_t k, sa_sint_t *RESTRICT buckets) { const fast_sint_t prefetch_distance = 32; memset(buckets, 0, (size_t)k * sizeof(sa_sint_t)); fast_sint_t i, j...
libsais_count_suffixes_32s
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0
void *libsais_create_ctx() { return libsais_create_ctx_main(1); }
void *libsais_create_ctx(void) { return (void *)libsais_create_ctx_main(1); }
libsais_create_ctx
bzip3-1.1.4
app-arch
O0/app-arch/bzip3-1.1.4/libbzip3.so
ida
O0