Lines Matching refs:ngram_t
581 ngram_t *fprint;
801 ngram_t *x = (ngram_t *)a;
802 ngram_t *y = (ngram_t *)b;
810 ngram_t *x = (ngram_t *)a;
811 ngram_t *y = (ngram_t *)b;
848 h->fprint = (ngram_t *)wg_malloc( sizeof(ngram_t) * maxngrams );
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 );
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 );