Lines Matching refs:slashmap
157 int *slashmap = NULL;
397 * "slashmap" is a list of the positions of the
403 if (slashmap == NULL) {
405 slashmap = calloc(smlen, sizeof (int));
406 if (slashmap == NULL) {
412 * Terminate slashmap with an invalid
416 slashmap[smpos] = -1;
419 slashmap = realloc(slashmap,
421 if (slashmap == NULL) {
428 slashmap[smpos++] = i - 1 - vs;
430 * Keep slashmap properly terminated so
434 slashmap[smpos] = -1;
439 if (slashmap != NULL) {
447 free(slashmap);
453 * slashmap indicates we should.
456 if (slashmap[o] == j) {
463 free(slashmap);
464 slashmap = NULL;
608 if (slashmap != NULL)
609 free(slashmap);