Lines Matching refs:h

99 -	common.h constants.h fingerprint.h textcat.h wg_mempool.h
100 + common.h constants.h fingerprint.h textcat.h wg_mempool.h utf8misc.h
131 cd $(top_builddir) && $(SHELL) ./config.status src/config.h
133 -$(srcdir)/config.h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4)
134 +$(srcdir)/config.h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4)
136 touch $(srcdir)/config.h.in
402 --- misc/libtextcat-2.2/src/common.h Thu May 22 15:02:29 2003
403 +++ misc/build/libtextcat-2.2/src/common.h Mon Mar 31 11:29:14 2008
408 - * common.h -- a mixed bag of helper functions
409 + * common.h -- a mixed bag of helper functions
469 --- misc/libtextcat-2.2/src/constants.h Thu May 22 13:32:43 2003
470 +++ misc/build/libtextcat-2.2/src/constants.h Mon Mar 31 11:29:14 2008
473 #include <limits.h>
563 #include "config.h"
564 #include <stdio.h>
567 #include "wg_mempool.h"
568 #include "constants.h"
570 +#include "utf8misc.h"
735 fp_t *h = (fp_t *)wg_zalloc( sizeof(fp_t) );
739 h->name = wg_strdup(name);
834 h = (fp_t*)handle;
848 h->fprint = (ngram_t *)wg_malloc( sizeof(ngram_t) * maxngrams );
849 h->size = maxngrams;
857 strcpy( h->fprint[i].str, tmp2.str );
858 h->fprint[i].rank = i;
863 - qsort( h->fprint, h->size, sizeof(ngram_t), ngramcmp_str );
864 + qsort( h->fprint, h->size, sizeof(ngram_t), ngramcmp_str );
874 h->fprint = (ngram_t *)wg_malloc(maxngrams * sizeof(ngram_t));
878 h->size = cnt;
881 - qsort( h->fprint, h->size, sizeof(ngram_t), ngramcmp_str );
882 + qsort( h->fprint, h->size, sizeof(ngram_t), ngramcmp_str );
889 fp_t *h = (fp_t *)handle;
890 - ngram_t *tmp = wg_malloc( sizeof(ngram_t) * h->size );
892 + ngram_t *tmp = (ngram_t*)wg_malloc( sizeof(ngram_t) * h->size );
895 memcpy( tmp, h->fprint, h->size * sizeof(ngram_t) );
896 - qsort( tmp, h->size, sizeof(ngram_t), ngramcmp_rank );
897 + qsort( tmp, h->size, sizeof(ngram_t), ngramcmp_rank );
899 for (i=0; i<h->size; i++) {
924 --- misc/libtextcat-2.2/src/fingerprint.h Mon May 19 14:16:31 2003
925 +++ misc/build/libtextcat-2.2/src/fingerprint.h Mon Mar 31 11:29:14 2008
1057 +$(SLOFILES) : config.h
1058 +config.h :
1059 …$/misc$/build$/libtextcat-2.2$/src$/win32_config.h $(OUT)$/misc$/build$/libtextcat-2.2$/src$/con…
1109 fp_Done( h->fprint[i] );
1111 wg_free( h->fprint );
1112 + wg_free( h->fprint_disable );
1113 wg_free( h );
1129 textcat_t *h;
1132 h->size = 0;
1133 h->maxsize = 16;
1134 h->fprint = (void **)wg_malloc( sizeof(void*) * h->maxsize );
1135 + h->fprint_disable = (char *)wg_malloc( sizeof(char*) * h->maxsize ); /*added to store the state…
1148 if ( h->size == h->maxsize ) {
1149 h->maxsize *= 2;
1150 - h->fprint = (void *)wg_realloc( h->fprint, sizeof(void*) * h->maxsize );
1151 + h->fprint = (void **)wg_realloc( h->fprint, sizeof(void*) * h->maxsize );
1152 + h->fprint_disable = (char *)wg_realloc( h->fprint_disable, sizeof(char*) *…
1156 if ((h->fprint[ h->size ] = fp_Init( segment[1] ))==NULL) {
1159 - if ( fp_Read( h->fprint[h->size], segment[0], 400 ) == 0 ) {
1164 + if ( fp_Read( h->fprint[h->size], finger_print_file_name, 400 ) == 0 ) {
1165 textcat_Done(h);
1169 + h->fprint_disable[h->size] = 0xF0; /*0xF0 is the code for enabled languages, 0x0F…
1170 h->size++;
1180 for (i=0; i<h->size; i++) {
1181 - int score = fp_Compare( h->fprint[i], unknown, threshold );
1184 + if(h->fprint_disable[i] & 0x0F){ /*if this language is disabled*/
1188 + score = fp_Compare( h->fprint[i], unknown, threshold );
1189 + /*printf("Score for %s : %i\n", fp_Name(h->fprint[i]), score);*/
1192 candidates[i].name = fp_Name( h->fprint[i] );
1197 for (i=0; i<h->size; i++) {
1221 --- misc/libtextcat-2.2/src/textcat.h Mon May 19 14:16:31 2003
1222 +++ misc/build/libtextcat-2.2/src/textcat.h Mon Mar 31 11:29:14 2008
1302 +#include "utf8misc.h"
1398 --- misc/libtextcat-2.2/src/utf8misc.h Mon Mar 31 11:30:06 2008
1399 +++ misc/build/libtextcat-2.2/src/utf8misc.h Mon Mar 31 11:29:14 2008
1490 --- misc/libtextcat-2.2/src/win32_config.h Mon Mar 31 11:30:06 2008
1491 +++ misc/build/libtextcat-2.2/src/win32_config.h Mon Mar 31 11:29:14 2008
1494 +/* src/config.h. Generated by configure. */
1495 +/* src/config.h.in. Generated from configure.ac by autoheader. */
1508 +/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
1512 +/* Define to 1 if you have the <dlfcn.h> header file. */
1521 +/* Define to 1 if you have the <inttypes.h> header file. */
1524 +/* Define to 1 if you have the <limits.h> header file. */
1531 +/* Define to 1 if you have the <memory.h> header file. */
1541 +/* Define to 1 if you have the <stdint.h> header file. */
1544 +/* Define to 1 if you have the <stdlib.h> header file. */
1553 +/* Define to 1 if you have the <strings.h> header file. */
1556 +/* Define to 1 if you have the <string.h> header file. */
1562 +/* Define to 1 if you have the <sys/stat.h> header file. */
1565 +/* Define to 1 if you have the <sys/time.h> header file. */
1568 +/* Define to 1 if you have the <sys/types.h> header file. */
1571 +/* Define to 1 if you have the <unistd.h> header file. */
1606 +/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
1609 +/* Define to 1 if your <sys/time.h> declares `struct tm'. */
1628 +/* Define to `unsigned' if <sys/types.h> does not define. */
1698 --help | --h* | -h )
2234 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
2249 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
2462 - #include <features.h>
2740 - #include <features.h>
2806 if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
2857 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
3290 --help | --h* | -h )