Lines Matching refs:len
88 size_t cnt, len, off;
96 if (db_eget(sp, lno, &p, &len, &isempty))
100 if (len == 0 || off >= len)
104 len -= off; len && ISBLANK(*p); ++cnt, ++p, --len);
107 *cnop = len ? cnt : cnt - 1;
254 size_t len)
258 MALLOC(sp, copy, char *, len + 1);
261 memcpy(copy, str, len);
262 copy[len] = '\0';
275 size_t len)
279 MALLOC(sp, copy, CHAR_T *, (len + 1) * sizeof(CHAR_T));
282 MEMCPY(copy, str, len);
283 copy[len] = '\0';