Lines Matching defs:beginning
28 size_t beginning, ending, len;
32 /* locating first non-whitespace character from beginning */
33 for (beginning = 0; beginning < len && LISSPACE(text[beginning]); ++beginning);
35 for (ending = len - 1; ending > beginning && LISSPACE(text[ending]); --ending);
37 if (beginning > 0 && beginning <= ending)
38 LMEMMOVE(text, text + beginning, ending - beginning + 1);
39 text[ending-beginning+1] = '\0';