Searched defs:PARSE_BUFSIZE (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/boot/sys/boot/common/
H A Dinterp_parse.c28 #define PARSE_BUFSIZE 1024 /* maximum size of one element */ macro
101 buf = (char *)malloc(PARSE_BUFSIZE);
110 PARSE_FAIL(i == (PARSE_BUFSIZE - 1));
115 PARSE_FAIL(i == (PARSE_BUFSIZE - 1));
123 PARSE_FAIL(i == (PARSE_BUFSIZE - 1));
144 PARSE_FAIL(i == (PARSE_BUFSIZE - 1));
169 strncpy(buf + i, val, PARSE_BUFSIZE - (i + 1));
170 i += min(len, PARSE_BUFSIZE - 1);
/illumos-gate/usr/src/common/ficl/emu/
H A Dloader_emu.c139 #define PARSE_BUFSIZE 1024 /* maximum size of one element */ macro
361 buf = (char *)malloc(PARSE_BUFSIZE);
370 PARSE_FAIL(i == (PARSE_BUFSIZE - 1));
375 PARSE_FAIL(i == (PARSE_BUFSIZE - 1));
382 PARSE_FAIL(i == (PARSE_BUFSIZE - 1));
402 PARSE_FAIL(i == (PARSE_BUFSIZE - 1));
427 strncpy(buf + i, val, PARSE_BUFSIZE - (i + 1));
428 i += min(len, PARSE_BUFSIZE - 1);

Completed in 46 milliseconds