Searched refs:lens (Results 1 – 3 of 3) sorted by relevance
369 r->lens = (unsigned int *) xmalloc (2 * sizeof (unsigned int)); in install_pattern_rule()373 r->lens[1] = 0; in install_pattern_rule()375 r->lens[0] = strlen (p->target); in install_pattern_rule()378 r->targets[0] = savestring (p->target, r->lens[0]); in install_pattern_rule()434 free ((char *) rule->lens); in freerule()484 r->lens = (unsigned int *) xmalloc (2 * sizeof (unsigned int)); in create_pattern_rule()491 r->lens = (unsigned int *) in create_pattern_rule()492 xrealloc ((char *) r->lens, max_targets * sizeof (unsigned int)); in create_pattern_rule()496 r->lens[i] = strlen (targets[i]); in create_pattern_rule()505 r->lens = (unsigned int *) xrealloc ((char *) r->lens, in create_pattern_rule()
25 unsigned int *lens; /* Lengths of each target. */ member
335 if (rule->lens[i] > namelen) in pattern_search()342 stemlen = namelen - rule->lens[i] + 1; in pattern_search()468 stemlen = namelen - rule->lens[matches[i]] + 1; in pattern_search()953 new->name = p = (char *) xmalloc (rule->lens[i] + fullstemlen + 1); in pattern_search()960 rule->lens[i] - (rule->suffixes[i] - rule->targets[i]) + 1); in pattern_search()