Searched defs:max_len (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/libscf/common/
H A Dscf_type.c240 check_net_prefix(const char *p, int max_len) argument
246 if (p == end || len < 0 || len > max_len)
/osnet-11/usr/src/lib/libgss/
H A Dg_glue.c124 * be encoded in max_len characters.
128 unsigned int max_len)
135 if (buf == 0 || max_len < 1)
162 for (i = MSO_BIT; i >= 0 && buf_len <= max_len; i -= 8) {
127 gssint_put_der_length(unsigned int length, unsigned char **buf, unsigned int max_len) argument
/osnet-11/usr/src/grub/grub2/grub-core/normal/
H A Dmain.c53 int max_len = 64; local
56 cmdline = grub_malloc (max_len);
99 if (pos >= max_len)
102 max_len = max_len * 2;
103 cmdline = grub_realloc (cmdline, max_len);
H A Dcmdline.c219 grub_size_t max_len = 256; local
284 if (len + llen >= max_len)
287 max_len *= 2;
288 nbuf = grub_realloc (buf, sizeof (grub_uint32_t) * max_len);
295 max_len /= 2;
299 if (len + llen < max_len)
349 buf = grub_malloc (max_len * sizeof (grub_uint32_t));
H A Dmenu_entry.c45 int max_len; member in struct:line
91 linep->max_len = 80; /* XXX */
92 linep->buf = grub_malloc (linep->max_len + 1);
103 if (linep->max_len < linep->len + extra)
105 linep->max_len = linep->len + extra + 80; /* XXX */
106 linep->buf = grub_realloc (linep->buf, linep->max_len + 1);
975 if (completion_buffer.max_len < (completion_buffer.len
990 completion_buffer.max_len = new_len;
1023 completion_buffer.max_len = 0;
/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Dmisc.c646 grub_vsnprintf_real (char *str, grub_size_t max_len, const char *fmt0, va_list args_in) argument
659 if (count < max_len)

Completed in 57 milliseconds