Home
last modified time | relevance | path

Searched refs:line_len (Results 1 – 11 of 11) sorted by relevance

/titanic_44/usr/src/cmd/hal/hald/
H A Dids.c69 pci_ids_line_iter_get_line (unsigned int *line_len) in pci_ids_line_iter_get_line() argument
82 if (line_len != NULL) in pci_ids_line_iter_get_line()
83 *line_len = i; in pci_ids_line_iter_get_line()
123 unsigned int line_len; in ids_find_pci() local
147 line = pci_ids_line_iter_get_line (&line_len); in ids_find_pci()
150 if (line_len < 4) in ids_find_pci()
159 for (i = 0; i < line_len; i++) { in ids_find_pci()
177 for (i = 4; i < line_len; i++) { in ids_find_pci()
193 for (i = 4; i < line_len; i++) { in ids_find_pci()
219 for (i = 5; i < line_len; i++) { in ids_find_pci()
[all …]
/titanic_44/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; in parse_line() local
235 line_len = strlen(line); in parse_line()
238 get_token(line, &pos, line_len, fname, PATH_MAX); in parse_line()
239 get_token(line, &pos, line_len, type, TYPE_SIZE); in parse_line()
240 get_token(line, &pos, line_len, size, MISC_SIZE); in parse_line()
241 get_token(line, &pos, line_len, mode, MISC_SIZE); in parse_line()
242 get_token(line, &pos, line_len, acl, ACL_SIZE); in parse_line()
243 get_token(line, &pos, line_len, mtime, MISC_SIZE); in parse_line()
244 get_token(line, &pos, line_len, uid, MISC_SIZE); in parse_line()
[all …]
/titanic_44/usr/src/cmd/svc/servinfo/
H A Dservinfo.c111 int line_len = LINE_MAX - 1; in svc_getrpcinfo() local
183 if (strlen(buf) > line_len) in svc_getrpcinfo()
186 line_len = line_len - strlen(buf); in svc_getrpcinfo()
191 if (strstr(line, buf) || strlen(buf) > line_len) in svc_getrpcinfo()
194 line_len = line_len - strlen(buf); in svc_getrpcinfo()
/titanic_44/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 >= 2 &&
600 line[line_len - 2] == '\r')
[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 -1] == '@' ||
[all …]
/titanic_44/usr/src/cmd/grep_xpg4/
H A Dgrep.c805 off_t line_len; /* length of the current line */ in grep() local
961 line_len = ptrend - ptr; in grep()
970 line_len = ptrend - ptr; in grep()
978 line_len = ptrend - ptr; in grep()
984 if (xflag && (line_len != bmglen || in grep()
999 line_len = ptrend - ptr; in grep()
1008 if (line_len >= outbuflen) { in grep()
1009 outbuflen = line_len + 1; in grep()
1020 len = mbstowcs(outline, ptr, line_len); in grep()
1147 (void) fwrite(ptr, 1, line_len + 1, stdout); in grep()
[all …]
/titanic_44/usr/src/cmd/latencytop/common/
H A Dtable.c138 read_line_from_mem(const char *mem, int mem_len, char *line, int line_len, in read_line_from_mem() argument
143 if (line_len <= 0 || mem_len <= 0) { in read_line_from_mem()
151 while (line_len > 1 && *index < mem_len) { in read_line_from_mem()
153 --line_len; in read_line_from_mem()
/titanic_44/usr/src/cmd/modload/
H A Ddrvsubr.c132 int len, line_len; in append_to_file() local
157 line_len = strlen(driver_name) + len + 4; in append_to_file()
159 line_len += 2; in append_to_file()
161 line = calloc(line_len, 1); in append_to_file()
174 bzero(line, line_len); in append_to_file()
180 (void) snprintf(line, line_len, in append_to_file()
220 int len, line_len; in append_to_minor_perm() local
245 line_len = strlen(driver_name) + len + 4; in append_to_minor_perm()
246 line = calloc(line_len, 1); in append_to_minor_perm()
258 bzero(line, line_len); in append_to_minor_perm()
[all …]
/titanic_44/usr/src/lib/libtecla/common/
H A Dcplmatch.c538 int line_len; /* The total length of the input line */ in cpl_complete_word() local
542 line_len = strlen(line); in cpl_complete_word()
546 if(!cpl || !line || !match_fn || word_end < 0 || word_end > line_len) { in cpl_complete_word()
/titanic_44/usr/src/cmd/vscan/vscand/
H A Dvs_icap.c1322 int line_len; in vs_icap_parse_hdrs() local
1332 if ((line_len = strlen(line)) == 0) in vs_icap_parse_hdrs()
1338 q = line + line_len; in vs_icap_parse_hdrs()
/titanic_44/usr/src/lib/libnsl/nis/gen/
H A Dnis_sec_mechs.c361 const int line_len = NIS_SEC_CF_MAX_LINELEN + 1; in get_secfile_ent() local
386 line_len))) in get_secfile_ent()