Lines Matching refs:fprint
581 ngram_t *fprint;
848 h->fprint = (ngram_t *)wg_malloc( sizeof(ngram_t) * 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));
881 - qsort( h->fprint, h->size, sizeof(ngram_t), ngramcmp_str );
882 + qsort( h->fprint, h->size, sizeof(ngram_t), ngramcmp_str );
895 memcpy( tmp, h->fprint, h->size * sizeof(ngram_t) );
1103 void **fprint;
1109 fp_Done( h->fprint[i] );
1111 wg_free( h->fprint );
1134 h->fprint = (void **)wg_malloc( sizeof(void*) * h->maxsize );
1150 - h->fprint = (void *)wg_realloc( h->fprint, sizeof(void*) * h->maxsize );
1151 + h->fprint = (void **)wg_realloc( h->fprint, sizeof(void*) * h->maxsize );
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 ) {
1181 - int score = fp_Compare( h->fprint[i], unknown, threshold );
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] );