Searched refs:narec (Results 1 – 1 of 1) sorted by relevance
| /vim-8.2.3635/src/xdiff/ |
| H A D | xprepare.c | 60 static int xdl_prepare_ctx(unsigned int pass, mmfile_t *mf, long narec, xpparam_t const *xpp, 160 static int xdl_prepare_ctx(unsigned int pass, mmfile_t *mf, long narec, xpparam_t const *xpp, in xdl_prepare_ctx() argument 179 if (xdl_cha_init(&xdf->rcha, sizeof(xrecord_t), narec / 4 + 1) < 0) in xdl_prepare_ctx() 181 if (!(recs = (xrecord_t **) xdl_malloc(narec * sizeof(xrecord_t *)))) in xdl_prepare_ctx() 187 hbits = xdl_hashbits((unsigned int) narec); in xdl_prepare_ctx() 199 if (nrec >= narec) { in xdl_prepare_ctx() 200 narec *= 2; in xdl_prepare_ctx() 201 if (!(rrecs = (xrecord_t **) xdl_realloc(recs, narec * sizeof(xrecord_t *)))) in xdl_prepare_ctx()
|