Searched defs:line_len (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dcheck_svm.c52 valid_bootlist(FILE *fp, int line_len) argument
62 if ((line = malloc(line_len)) == NULL)
65 while (fgets(line, line_len, fp) != NULL) {
/illumos-gate/usr/src/cmd/svc/servinfo/
H A Dservinfo.c111 int line_len = LINE_MAX - 1; local
183 if (strlen(buf) > line_len)
186 line_len = line_len - strlen(buf);
191 if (strstr(line, buf) || strlen(buf) > line_len)
194 line_len = line_len - strlen(buf);
/illumos-gate/usr/src/cmd/hal/hald/
H A Dids.c63 * @param line_len Pointer to where number of bytes in line will
69 pci_ids_line_iter_get_line (unsigned int *line_len) argument
82 if (line_len != NULL)
83 *line_len = i;
123 unsigned int line_len; local
147 line = pci_ids_line_iter_get_line (&line_len);
150 if (line_len < 4)
159 for (i = 0; i < line_len; i++) {
177 for (i = 4; i < line_len; i++) {
193 for (i = 4; i < line_len;
346 usb_ids_line_iter_get_line(unsigned int *line_len) argument
393 unsigned int line_len; local
[all...]
/illumos-gate/usr/src/cmd/latencytop/common/
H A Dtable.c138 read_line_from_mem(const char *mem, int mem_len, char *line, int line_len, argument
143 if (line_len <= 0 || mem_len <= 0) {
151 while (line_len > 1 && *index < mem_len) {
153 --line_len;
/illumos-gate/usr/src/lib/libtecla/common/
H A Dcplmatch.c538 int line_len; /* The total length of the input line */ local
542 line_len = strlen(line);
546 if(!cpl || !line || !match_fn || word_end < 0 || word_end > line_len) {
/illumos-gate/usr/src/cmd/sendmail/aux/
H A Dmail.local.c575 size_t line_len = 0; local
579 while (line[line_len] != '\n' && line_len < sizeof(line) - 2)
580 line_len++;
581 line_len++;
589 memcpy(line, line + 1, line_len);
590 line_len--;
595 if (line_len > 0)
597 if (line[line_len - 1] == '\n')
599 if (line_len >
[all...]
H A Dvacation.c579 size_t line_len, from_len; local
601 line_len = strlen(line);
603 if (line[line_len - 1] == '\n')
604 line[--line_len] = '\0';
606 if (line_len == 0)
614 line_len--;
630 if (from_len <= line_len)
638 if (strncasecmp(&from[from_len - line_len],
639 match_start, line_len) == 0 &&
640 (from[from_len - line_len
[all...]
/illumos-gate/usr/src/cmd/bart/
H A Dcompare.c46 static void get_token(char *line, int *curr_pos, int line_len, char *buf,
233 int pos, line_len; local
235 line_len = strlen(line);
238 get_token(line, &pos, line_len, fname, PATH_MAX);
239 get_token(line, &pos, line_len, type, TYPE_SIZE);
240 get_token(line, &pos, line_len, size, MISC_SIZE);
241 get_token(line, &pos, line_len, mode, MISC_SIZE);
242 get_token(line, &pos, line_len, acl, ACL_SIZE);
243 get_token(line, &pos, line_len, mtime, MISC_SIZE);
244 get_token(line, &pos, line_len, ui
263 get_token(char *line, int *curr_pos, int line_len, char *buf, int buf_size) argument
285 int line_len, pos; local
[all...]
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_sec_mechs.c361 const int line_len = NIS_SEC_CF_MAX_LINELEN + 1; local
386 line_len)))
/illumos-gate/usr/src/cmd/vscan/vscand/
H A Dvs_icap.c1322 int line_len; local
1332 if ((line_len = strlen(line)) == 0)
1338 q = line + line_len;
/illumos-gate/usr/src/cmd/grep_xpg4/
H A Dgrep.c805 off_t line_len; /* length of the current line */ local
958 * and the line_len value won't be
961 line_len = ptrend - ptr;
970 line_len = ptrend - ptr;
978 line_len = ptrend - ptr;
984 if (xflag && (line_len != bmglen ||
996 * line_len will be the length of the line.
999 line_len = ptrend - ptr;
1008 if (line_len >= outbuflen) {
1009 outbuflen = line_len
[all...]
/illumos-gate/usr/src/cmd/modload/
H A Ddrvsubr.c132 int len, line_len; local
157 line_len = strlen(driver_name) + len + 4;
159 line_len += 2;
161 line = calloc(line_len, 1);
174 bzero(line, line_len);
180 (void) snprintf(line, line_len,
220 int len, line_len; local
245 line_len = strlen(driver_name) + len + 4;
246 line = calloc(line_len, 1);
258 bzero(line, line_len);
[all...]

Completed in 726 milliseconds