1 2bible-index.c,49 3int line_locator[5,77 4int max_line 3896,280325 5 6bible.c,849 7#define FALSE 151,5757 8#define TRUE 152,5775 9#define REFSZ 154,5793 10#define VSPECSZ 155,5814 11#define LINESZ 156,5834 12#define VBUFFSZ 157,5854 13static char rcs_ident[159,5877 14char *myname;162,6000 15int mem_limit;163,6035 16int pretty_printing=164,6093 17int list_always=165,6145 18int line_width=166,6201 19int skip_inc=167,6259 20int select_count=168,6316 21ref_t selectbuf[169,6385 22ref_t inrange_start=170,6442 23FILE *outf=172,6531 24char help_text[174,6568 25int do_concordance(205,8257 26cmd_ANDconcordance(257,9607 27cmd_ORconcordance(314,11043 28cmd_concordance(378,12710 29cmd_help(407,13302 30cmd_inrange(433,13885 31cmd_list(502,15843 32cmd_pretty_print(558,17085 33cmd_view(603,18226 34cmd_write(637,19055 35do_command(675,20004 36user_input(775,22469 37char *getprompt(822,23656 38usage(848,24269 39main(879,25136 40#define ARGVAL(ARGVAL917,26112 41 42brl-index.c,31 43static char rcs_ident[72,2741 44 45brl.c,540 46#define FALSE 158,6262 47static char rcs_ident[160,6281 48char *booknamestr[162,6401 49char *bookabbrvstr[232,7622 50ref_t brl_cur_vnum;302,8486 51char brl_textname[305,8605 52#define getnum(getnum322,9041 53int get_book(327,9139 54int verse_continuation(617,16843 55ref_t verse_id(681,18655 56ref_t brl_extract_num(789,21775 57ref_t verse_num(838,23304 58ref_t brl_verse_spec(879,24512 59int brl_getverse(936,25885 60ref_t brl_printverse(972,26786 61#define VBSIZE 1009,28094 62char* brl_num_to_ref(1107,30815 63brl_init(1139,31591 64brl_close(1175,32540 65 66buildcmp.c,192 67static char rcs_ident[63,2247 68struct tsl_fileheader fh;67,2374 69FILE *sf,68,2400 70FILE *sf, *df,68,2400 71FILE *sf, *df, *of;68,2400 72put_header(70,2462 73put_data(107,3486 74int main(114,3567 75 76compresslib.c,2358 77#define min(min57,1827 78#define SACREDMEM 72,2228 79# define USERMEM 76,2272 80#define SIGNED_COMPARE_SLOW 80,2370 81# define BITS 84,2464 82# define NO_UCHAR 85,2521 83# define BITS 90,2682 84# define BITS 96,2787 85# define PBITS 102,2891 86# define PBITS 105,2953 87# define PBITS 108,3018 88# define PBITS 111,3085 89# define PBITS 113,3117 90# define BITS 123,3285 91# define HSIZE 128,3361 92# define HSIZE 131,3425 93# define HSIZE 134,3489 94# define HSIZE 137,3553 95# define HSIZE 140,3616 96# define XENIX_16145,3791 97# define BITS 148,3880 98typedef int code_int;code_int156,4006 99typedef unsigned int count_int;count_int159,4057 100typedef unsigned short int count_short;count_short160,4089 101typedef int count_int;count_int162,4135 102 typedef char char_type;char_type166,4184 103 typedef unsigned char char_type;char_type168,4215 104char_type magic_header[170,4268 105#define BIT_MASK 173,4363 106#define BLOCK_MASK 174,4385 107#define INIT_BITS 178,4526 108static char rcs_ident[181,4584 109#define ARGVAL(ARGVAL187,4774 110int n_bits;189,4828 111int maxbits 190,4869 112code_int maxcode;191,4927 113code_int maxmaxcode 192,4980 114# define MAXCODE(MAXCODE194,5087 115# define MAXCODE(MAXCODE196,5138 116count_int htab0[200,5226 117count_int htab1[201,5249 118count_int htab2[202,5272 119count_int htab3[203,5295 120count_int htab4[204,5318 121count_int htab5[205,5341 122count_int htab6[206,5364 123count_int htab7[207,5387 124count_int htab8[208,5410 125count_int * htab[209,5440 126#define htabof(htabof212,5531 127unsigned short code0tab[213,5581 128unsigned short code1tab[214,5613 129unsigned short code2tab[215,5645 130unsigned short code3tab[216,5677 131unsigned short code4tab[217,5709 132unsigned short * codetab[218,5741 133#define codetabof(codetabof221,5827 134count_int htab 224,5911 135unsigned short codetab 225,5935 136#define htabof(htabof226,5967 137#define codetabof(codetabof227,5993 138code_int hsize 229,6047 139char_type lmask[232,6117 140char_type rmask[233,6194 141#define tab_prefixof(tab_prefixof246,6713 142# define tab_suffixof(tab_suffixof248,6766 143# define de_stack 249,6834 144# define tab_suffixof(tab_suffixof251,6903 145# define de_stack 252,6953 146code_int free_ent 255,7033 147int block_compress 263,7221 148int clear_flg 264,7254 149#define FIRST 270,7401 150#define CLEAR 271,7442 151cmp_init(275,7493 152cmp_checkheader(344,9716 153cmp_decompress(368,10206 154code_int getcode(489,13503 155 156makeconcfile.c,274 157#define FALSE 61,2235 158#define TRUE 62,2253 159static char rcs_ident[64,2271 160#define INDEXTMPF 66,2400 161#define DATATMPF 67,2429 162char *myname;69,2458 163struct tsl_conc_fileheader fh;92,3082 164int main(95,3115 165#define WRDSZ 126,3882 166outerr(373,11091 167print_header(380,11189 168 169makeindex.c,74 170#define TBSIZE 79,2671 171static char rcs_ident[81,2694 172int main(84,2821 173 174squish.c,3448 175#define min(min85,2725 176#define SACREDMEM 100,3126 177# define USERMEM 104,3170 178#define SIGNED_COMPARE_SLOW 108,3268 179# define BITS 112,3362 180# define NO_UCHAR 113,3419 181# define BITS 118,3580 182# define BITS 124,3685 183# define PBITS 130,3789 184# define PBITS 133,3851 185# define PBITS 136,3916 186# define PBITS 139,3983 187# define PBITS 141,4015 188# define BITS 151,4183 189# define HSIZE 156,4258 190# define HSIZE 159,4322 191# define HSIZE 162,4386 192# define HSIZE 165,4450 193# define HSIZE 168,4513 194# define XENIX_16173,4688 195# define BITS 176,4777 196typedef long int code_int;code_int185,4917 197typedef int code_int;code_int187,4950 198typedef unsigned long int count_int;count_int191,5008 199typedef unsigned short int count_short;count_short192,5045 200typedef long int count_int;count_int194,5091 201 typedef char char_type;char_type198,5145 202 typedef unsigned char char_type;char_type200,5176 203char_type magic_header[202,5229 204#define BIT_MASK 205,5324 205#define BLOCK_MASK 206,5346 206#define INIT_BITS 210,5487 207static char rcs_ident[333,10867 208#define ARGVAL(ARGVAL342,11114 209int n_bits;344,11168 210int maxbits 345,11209 211code_int maxcode;346,11267 212code_int maxmaxcode 347,11320 213# define MAXCODE(MAXCODE349,11427 214# define MAXCODE(MAXCODE351,11478 215count_int htab0[355,11566 216count_int htab1[356,11589 217count_int htab2[357,11612 218count_int htab3[358,11635 219count_int htab4[359,11658 220count_int htab5[360,11681 221count_int htab6[361,11704 222count_int htab7[362,11727 223count_int htab8[363,11750 224count_int * htab[364,11780 225#define htabof(htabof367,11871 226unsigned short code0tab[368,11921 227unsigned short code1tab[369,11953 228unsigned short code2tab[370,11985 229unsigned short code3tab[371,12017 230unsigned short code4tab[372,12049 231unsigned short * codetab[373,12081 232#define codetabof(codetabof376,12167 233count_int htab 379,12251 234unsigned short codetab 380,12275 235#define htabof(htabof381,12307 236#define codetabof(codetabof382,12333 237code_int hsize 384,12387 238count_int fsize;385,12444 239#define tab_prefixof(tab_prefixof396,12885 240# define tab_suffixof(tab_suffixof398,12938 241# define de_stack 399,13006 242# define tab_suffixof(tab_suffixof401,13075 243# define de_stack 402,13125 244code_int free_ent 405,13205 245int exit_stat 406,13255 246int nomagic 409,13295 247int zcat_flg 410,13368 248int quiet 411,13434 249int piecesize 414,13547 250unsigned int mycheckpoint;415,13598 251int cpcnt 416,13625 252struct w_info w_info417,13670 253} *firstwin,421,13866 254} *firstwin, *curwin;421,13866 255int block_compress 428,14006 256int clear_flg 429,14039 257long int ratio 430,14058 258#define CHECK_GAP 431,14078 259count_int checkpoint 432,14129 260#define FIRST 437,14290 261#define CLEAR 438,14331 262int force 440,14380 263char ofname 441,14395 264int verbose 443,14427 265int do_decomp 449,14512 266static int offset;453,14577 267long int in_count 454,14596 268long int bytes_out;455,14643 269long int out_count 456,14699 270Usage(459,14767 271int debug 463,14873 272main(504,16300 273compress(827,24842 274static char buf[1016,29852 275char_type lmask[1019,29888 276char_type rmask[1020,29965 277output(1023,30060 278decompress(1179,33729 279getcode(1270,35768 280rindex(1376,38460 281printcodes(1387,38631 282code_int sorttab[1416,39313 283dump_tab(1418,39373 284#define STACK_SIZE 1422,39455 285in_stack(1475,41002 286writeerr(1500,41724 287foreground(1511,41895 288onintr 1524,42081 289oops 1530,42136 290cl_block 1539,42312 291do_clearblock(1569,42958 292cl_hash(1588,43313 293prratio(1640,44263 294version(1658,44619 295 296tsl.c,812 297# define SEEK_SET 119,4309 298#define FALSE 122,4357 299#define TRUE 123,4375 300static char rcs_ident[125,4393 301FILE *tfp;130,4546 302FILE *cfp;131,4588 303struct tsl_conc_fileheader cfh;132,4637 304char *cf_words;133,4699 305short int *cf_index;134,4756 306int tsl_wsize;135,4802 307int tsl_wnum;136,4845 308file_ptr_t *tsl_wtable=137,4885 309struct buffer_rec buffer_rec143,5076 310struct buffer_rec tsl_firstbuffer;149,5246 311struct buffer_rec tsl_lastbuffer;150,5308 312struct buffer_rec **tsl_wbuffers=151,5364 313char *tsl_cmpbuffer=156,5562 314int tsl_numbuffs;157,5628 315int tsl_maxbuffs;158,5683 316int tsl_maxbuffusage=159,5748 317void tsl_error(162,5817 318tsl_scan_concordance(192,6470 319int tsl_gettext(332,10326 320int tsl_printtext(366,11258 321tsl_textread(394,11886 322tsl_init(559,17483 323#define STRSZ 589,18373 324tsl_close(693,22029 325 326util.c,188 327static char rcs_ident[40,1238 328FILE *findfile(43,1360 329#define PATHSZ 63,1955 330void univ_assign(94,2648 331void shortuniv_assign(131,3528 332int univ2int(164,4394 333int shortuniv2int(191,4907 334 335brl-startchapter.h,25 336short start_chapter[1,0 337 338brl-startverse.h,23 339short start_verse[1,0 340 341brl.h,3002 342#define BADBOOK 54,1936 343#define NO_VERSE 55,1970 344enum books books57,2010 345enum books { GENESIS,57,2010 346enum books { GENESIS, EXODUS,57,2010 347enum books { GENESIS, EXODUS, LEVIT,57,2010 348enum books { GENESIS, EXODUS, LEVIT, NUM,57,2010 349enum books { GENESIS, EXODUS, LEVIT, NUM, DEUT,57,2010 350enum books { GENESIS, EXODUS, LEVIT, NUM, DEUT, JOSHUA,57,2010 351enum books { GENESIS, EXODUS, LEVIT, NUM, DEUT, JOSHUA, JUDGES,57,2010 352enum books { GENESIS, EXODUS, LEVIT, NUM, DEUT, JOSHUA, JUDGES, RUTH,57,2010 353 SAM1,58,2080 354 SAM1, SAM2,58,2080 355 SAM1, SAM2, KINGS1,58,2080 356 SAM1, SAM2, KINGS1, KINGS2,58,2080 357 SAM1, SAM2, KINGS1, KINGS2, CHRON1,58,2080 358 SAM1, SAM2, KINGS1, KINGS2, CHRON1, CHRON2,58,2080 359 SAM1, SAM2, KINGS1, KINGS2, CHRON1, CHRON2, EZRA,58,2080 360 SAM1, SAM2, KINGS1, KINGS2, CHRON1, CHRON2, EZRA, NEHEM,58,2080 361 SAM1, SAM2, KINGS1, KINGS2, CHRON1, CHRON2, EZRA, NEHEM, ESTHER,58,2080 362 JOB,59,2146 363 JOB, PSALMS,59,2146 364 JOB, PSALMS, PROV,59,2146 365 JOB, PSALMS, PROV, ECCL,59,2146 366 JOB, PSALMS, PROV, ECCL, SONG,59,2146 367 JOB, PSALMS, PROV, ECCL, SONG, ISAIAH,59,2146 368 JOB, PSALMS, PROV, ECCL, SONG, ISAIAH, JEREM,59,2146 369 JOB, PSALMS, PROV, ECCL, SONG, ISAIAH, JEREM, LAMENT,59,2146 370 EZEKIEL,60,2201 371 EZEKIEL, DANIEL,60,2201 372 EZEKIEL, DANIEL, HOSEA,60,2201 373 EZEKIEL, DANIEL, HOSEA, JOEL,60,2201 374 EZEKIEL, DANIEL, HOSEA, JOEL, AMOS,60,2201 375 EZEKIEL, DANIEL, HOSEA, JOEL, AMOS, OBADIAH,60,2201 376 EZEKIEL, DANIEL, HOSEA, JOEL, AMOS, OBADIAH, JONAH,60,2201 377 EZEKIEL, DANIEL, HOSEA, JOEL, AMOS, OBADIAH, JONAH, MICAH,60,2201 378 NAHUM,61,2261 379 NAHUM, HABAK,61,2261 380 NAHUM, HABAK, ZEPH,61,2261 381 NAHUM, HABAK, ZEPH, HAGGAI,61,2261 382 NAHUM, HABAK, ZEPH, HAGGAI, ZECH,61,2261 383 NAHUM, HABAK, ZEPH, HAGGAI, ZECH, MALACHI,61,2261 384 MATT,62,2305 385 MATT, MARK,62,2305 386 MATT, MARK, LUKE,62,2305 387 MATT, MARK, LUKE, JOHN,62,2305 388 MATT, MARK, LUKE, JOHN, ACTS,62,2305 389 MATT, MARK, LUKE, JOHN, ACTS, ROMANS,62,2305 390 MATT, MARK, LUKE, JOHN, ACTS, ROMANS, COR1,62,2305 391 MATT, MARK, LUKE, JOHN, ACTS, ROMANS, COR1, COR2,62,2305 392 MATT, MARK, LUKE, JOHN, ACTS, ROMANS, COR1, COR2, GAL,62,2305 393 MATT, MARK, LUKE, JOHN, ACTS, ROMANS, COR1, COR2, GAL, EPH,62,2305 394 PHILIP,63,2366 395 PHILIP, COLOS,63,2366 396 PHILIP, COLOS, THESS1,63,2366 397 PHILIP, COLOS, THESS1, THESS2,63,2366 398 PHILIP, COLOS, THESS1, THESS2, TIM1,63,2366 399 PHILIP, COLOS, THESS1, THESS2, TIM1, TIM2,63,2366 400 PHILIP, COLOS, THESS1, THESS2, TIM1, TIM2, TITUS,63,2366 401 PHILIP, COLOS, THESS1, THESS2, TIM1, TIM2, TITUS, PHILEM,63,2366 402 HEBREWS,64,2425 403 HEBREWS, JAMES,64,2425 404 HEBREWS, JAMES, PET1,64,2425 405 HEBREWS, JAMES, PET1, PET2,64,2425 406 HEBREWS, JAMES, PET1, PET2, JOHN1,64,2425 407 HEBREWS, JAMES, PET1, PET2, JOHN1, JOHN2,64,2425 408 HEBREWS, JAMES, PET1, PET2, JOHN1, JOHN2, JOHN3,64,2425 409 HEBREWS, JAMES, PET1, PET2, JOHN1, JOHN2, JOHN3, JUDE,64,2425 410 REV 65,2481 411extern short start_verse[68,2521 412extern short start_chapter[69,2549 413extern char brl_textname[72,2605 414extern ref_t brl_cur_vnum;73,2633 415 416tsl.h,559 417#define TSL_MAGIC1 70,2560 418#define TSL_MAGIC2 71,2622 419#define TSL_CONCMAGIC1 72,2645 420#define TSL_CONCMAGIC2 73,2711 421#define TSL_FVERSION1 74,2738 422#define TSL_FVERSION2 75,2799 423#define TSL_CONCFVERSION1 76,2825 424#define TSL_CONCFVERSION2 77,2890 425#define TSL_DESCRSZ 79,2921 426extern int line_locator[82,2993 427struct tsl_fileheader tsl_fileheader105,3749 428typedef int file_ptr_t;file_ptr_t135,4686 429typedef unsigned short ref_t;ref_t136,4739 430#define SELECTSZ 137,4802 431struct tsl_conc_fileheader tsl_conc_fileheader139,4870 432void tsl_error(152,5357 433 434util.h,152 435#define get_nonblank(get_nonblank33,983 436typedef unsigned char Univ_Int[Univ_Int41,1233 437typedef unsigned char Short_Univ_Int[Short_Univ_Int42,1314 438 439version.h,37 440static char release_version[66,2510 441