Lines Matching refs:filename_max_len
844 size_t filename_max_len = 0; in arj_read_main_header() local
895 filename_max_len = (header_size + sizeof(header_size)) - (metadata->offset - orig_offset); in arj_read_main_header()
896 if (filename_max_len > header_size) { in arj_read_main_header()
901 if (filename_max_len > 0) { in arj_read_main_header()
902 fnnorm = cli_calloc(sizeof(unsigned char), filename_max_len + 1); in arj_read_main_header()
903 filename = fmap_need_offstr(metadata->map, metadata->offset, filename_max_len + 1); in arj_read_main_header()
909 filename_len = CLI_STRNLEN(filename, filename_max_len); in arj_read_main_header()
931 text_normalize_init(&fnstate, fnnorm, filename_max_len); in arj_read_main_header()
982 size_t filename_max_len = 0; in arj_read_file_header() local
1040 filename_max_len = (header_size + sizeof(header_size)) - (metadata->offset - orig_offset); in arj_read_file_header()
1041 if (filename_max_len > header_size) { in arj_read_file_header()
1046 if (filename_max_len > 0) { in arj_read_file_header()
1047 fnnorm = cli_calloc(sizeof(unsigned char), filename_max_len + 1); in arj_read_file_header()
1053 filename = fmap_need_offstr(metadata->map, metadata->offset, filename_max_len + 1); in arj_read_file_header()
1059 filename_len = CLI_STRNLEN(filename, filename_max_len); in arj_read_file_header()
1086 text_normalize_init(&fnstate, fnnorm, filename_max_len); in arj_read_file_header()