9 /* evaluate the length of the command sequence. This breaks at the first
10 * char that is not >= SPACE and <= 127 after trimming from the right.
13 remoteconfig_cmdlength(
21 /* trim whitespace & garbage from the right */
22 while (src_end != src_buf) {
24 if (ch > ' ' && ch < 128)
28 /* now do a forward scan */
29 for (scan = src_buf; scan != src_end; ++scan) {
31 if ((ch < ' ' || ch >= 128) && ch != '\t')
34 return (size_t)(scan - src_buf);