Lines Matching defs:best
60 struct strcache *best = NULL;
71 the blocks and choose the one with the best fit (the one that leaves the
74 if (sp->bytesfree > len && (!best || best->bytesfree > sp->bytesfree))
75 best = sp;
78 if (!best)
79 best = new_cache();
81 assert (best->bytesfree > len);
83 /* Add the string to the best cache. */
84 res = best->end;
85 memcpy (best->end, str, len);
86 best->end += len;
87 *(best->end++) = '\0';
88 best->bytesfree -= len + 1;
89 ++best->count;