Home | History | Annotate | Download | only in src

Lines Matching defs:len

61   unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp));
62 strncpy (buf, *pp, len);
63 buf[len] = '\0';
201 * @str: (array length=len):
202 * @len:
212 hb_feature_from_string (const char *str, int len,
217 if (len < 0)
218 len = strlen (str);
220 if (likely (parse_one_feature (&str, str + len, &feat)))
249 unsigned int len = 0;
251 s[len++] = '-';
252 hb_tag_to_string (feature->tag, s + len);
253 len += 4;
254 while (len && s[len - 1] == ' ')
255 len--;
258 s[len++] = '[';
260 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->start));
262 s[len++] = ':';
264 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->end));
266 s[len++] = ']';
270 s[len++] = '=';
271 len += MAX (0, snprintf (s + len, ARRAY_LENGTH (s) - len, "%u", feature->value));
273 assert (len < ARRAY_LENGTH (s));
274 len = MIN (len, size - 1);
275 memcpy (buf, s, len);
276 buf[len] = '\0';
353 if (unlikely (!buffer->len))