Home
last modified time | relevance | path

Searched refs:line (Results 1 – 25 of 1417) sorted by relevance

12345678910>>...57

/titanic_51/usr/src/tools/onbld/Checks/
H A DHdrChk.py87 for line in self.file:
89 if not line or line.isspace():
92 line = line.rstrip('\r\n')
95 if line.endswith('\\'):
96 line = line[0:-1] + self.getline()
98 return line
104 # Optionally take a line t
[all...]
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_solarnet.c82 char *line; in interpret_solarnet_fw() local
99 line = get_sum_line(); in interpret_solarnet_fw()
102 (void) sprintf(line, in interpret_solarnet_fw()
105 line += strlen(line); in interpret_solarnet_fw()
109 (void) sprintf(line, " %s", in interpret_solarnet_fw()
111 line += strlen(line); in interpret_solarnet_fw()
112 (void) sprintf(line, "/%s", in interpret_solarnet_fw()
114 line in interpret_solarnet_fw()
[all...]
H A Dsnoop_tcp.c85 char *line, *endline; in interpret_tcp() local
98 line = get_sum_line(); in interpret_tcp()
99 endline = line + MAXLINE; in interpret_tcp()
100 (void) snprintf(line, endline - line, "TCP D=%d S=%d", in interpret_tcp()
102 line += strlen(line); in interpret_tcp()
106 (void) snprintf(line, endline - line, " %s", in interpret_tcp()
108 line in interpret_tcp()
229 char *line; global() local
339 print_tcpoptions_summary(uchar_t * opt,int optlen,char * line) print_tcpoptions_summary() argument
[all...]
H A Dsnoop_nis.c131 char *line; local
143 line = get_sum_line();
146 (void) sprintf(line,
149 line += strlen(line);
154 (void) sprintf(line, " %s",
158 (void) sprintf(line, " %s",
164 check_retransmit(line, xid);
166 (void) sprintf(line, "NISBIND R %s ",
168 line
257 char *line; global() local
576 sum_ypstat(line) sum_ypstat() argument
[all...]
H A Dsnoop_nlm.c153 char *line; local
163 line = get_sum_line();
166 (void) sprintf(line,
169 line += strlen(line);
176 (void) strcat(line, sum_netobj("OH"));
178 (void) strcat(line, sum_lock());
183 (void) strcat(line, sum_netobj("OH"));
186 (void) strcat(line, sum_lock());
191 (void) strcat(line, sum_netob
517 char *line, *pl; global() local
806 char *line; global() local
[all...]
H A Dsnoop_nfs_acl.c197 char *line; in interpret_nfs_acl2() local
207 line = get_sum_line(); in interpret_nfs_acl2()
210 (void) sprintf(line, "NFS_ACL C %s", in interpret_nfs_acl2()
212 line += strlen(line); in interpret_nfs_acl2()
217 (void) sprintf(line, "%s mask=0x%lx", fh, mask); in interpret_nfs_acl2()
220 (void) sprintf(line, sum_nfsfh()); in interpret_nfs_acl2()
223 (void) sprintf(line, sum_nfsfh()); in interpret_nfs_acl2()
227 (void) sprintf(line, "%s (%s)", fh, in interpret_nfs_acl2()
232 (void) sprintf(line, " in interpret_nfs_acl2()
291 char *line; interpret_nfs_acl3() local
366 char *line; interpret_nfs_acl4() local
427 sum_nfsstat4(char * line) sum_nfsstat4() argument
[all...]
H A Dsnoop_dns.c55 static size_t print_question(char *line, const uchar_t *header,
57 static size_t print_answer(char *line, const uchar_t *header,
60 static void print_ip(int af, char *line, const uchar_t *data, uint16_t len);
63 static size_t print_char_string(char *line, const uchar_t *data, uint16_t len);
66 static size_t print_domain_name(char *line, const uchar_t *header,
74 char *line; in interpret_dns() local
115 line = get_sum_line(); in interpret_dns()
116 line += sprintf(line, "%s %c ", in interpret_dns()
133 (void) print_answer(line, in interpret_dns()
334 print_question(char * line,const uchar_t * header,const uchar_t * data,const uchar_t * data_end,int detail) print_question() argument
450 print_answer(char * line,const uchar_t * header,const uchar_t * data,const uchar_t * data_end,int detail) print_answer() argument
746 print_ip(int af,char * line,const uchar_t * data,uint16_t len) print_ip() argument
795 print_char_string(char * line,const uchar_t * data,uint16_t len) print_char_string() argument
906 print_domain_name(char * line,const uchar_t * header,const uchar_t * data,const uchar_t * data_end) print_domain_name() argument
[all...]
H A Dsnoop_nfs.c133 char *line; local
142 line = get_sum_line();
145 (void) sprintf(line,
148 line += strlen(line);
154 (void) sprintf(line, sum_nfsfh());
162 (void) sprintf(line, "%s %s",
172 (void) sprintf(line, "%s at %d for %d",
177 (void) sprintf(line, "%s %s",
180 line
460 sum_nfsstat(line) sum_nfsstat() argument
[all...]
H A Dsnoop_nfs3.c163 char *line; local
173 line = get_sum_line();
176 (void) sprintf(line, "NFS C %s",
178 line += strlen(line);
185 (void) sprintf(line, sum_nfsfh3());
188 (void) sprintf(line, sum_nfsfh3());
195 (void) sprintf(line, "%s Cookie=%llu for %lu",
203 (void) sprintf(line,
209 (void) sprintf(line, "
688 sum_nfsstat3(line) sum_nfsstat3() argument
[all...]
/titanic_51/usr/src/cmd/make/bin/
H A Dnse_printdep.cc35 void print_dependencies(register Name target, register Property line);
36 static void print_deps(register Name target, register Property line);
39 static Boolean should_print_dep(Property line);
45 static Boolean is_out_of_date(Property line);
49 * print_dependencies(target, line)
57 * line We get the dependency list from here
65 print_dependencies(register Name target, register Property line) in print_dependencies() argument
97 print_deps(target, line); in print_dependencies()
122 Property line; in print_more_deps() local
125 line in print_more_deps()
154 print_deps(register Name target,register Property line) print_deps() argument
191 is_out_of_date(Property line) is_out_of_date() argument
265 should_print_dep(Property line) should_print_dep() argument
287 Property line; print_forest() local
331 register Property line; print_rule() local
[all...]
H A Ddoname.cc80 static Boolean check_dependencies(Doname *result, Property line, Boolean do_get, Name target, Name true_target, Boolean doing_subtree, Chain *out_of_date_tail, Property old_locals, Boolean implicit, Property *command, Name less, Boolean rechecking_target, Boolean recheck_conditionals);
82 static Doname run_command(register Property line, Boolean print_machine);
83 extern Doname execute_serial(Property line);
88 static void do_assign(register Name line, register Name target);
89 static void build_command_strings(Name target, register Property line);
90 static Doname touch_command(register Property line, register Name target, Doname result);
91 extern void update_target(Property line, Doname result);
184 Property line, source_line; in enter_explicit_rule_from_dynamic_rule() local
188 line = maybe_append_prop(target, line_prop); in enter_explicit_rule_from_dynamic_rule()
189 line in enter_explicit_rule_from_dynamic_rule()
287 register Property line; doname() local
926 check_dependencies(Doname * result,Property line,Boolean do_get,Name target,Name true_target,Boolean doing_subtree,Chain * out_of_date_tail,Property old_locals,Boolean implicit,Property * command,Name less,Boolean rechecking_target,Boolean recheck_conditionals) check_dependencies() argument
1312 Property line; dynamic_dependencies() local
1567 run_command(register Property line,Boolean) run_command() argument
1759 execute_serial(Property line) execute_serial() argument
2073 do_assign(register Name line,register Name target) do_assign() argument
2156 build_command_strings(Name target,register Property line) build_command_strings() argument
2501 touch_command(register Property line,register Name target,Doname result) touch_command() argument
2582 update_target(Property line,Doname result) update_target() argument
2678 register Property line; sccs_get() local
3072 Property line; check_auto_dependencies() local
3127 Property line; target_can_be_built() local
[all...]
H A Dimplicit.cc64 static Boolean dependency_exists(Name target, Property line);
118 register Property line; in find_suffix_rule() local
330 line = maybe_append_prop(target, line_prop); in find_suffix_rule()
331 enter_dependency(line, source, false); in find_suffix_rule()
332 line->body.line.target = true_target; in find_suffix_rule()
365 line = maybe_append_prop(target, line_prop); in find_suffix_rule()
367 *command = line; in find_suffix_rule()
369 if ((source->stat.time > (*command)->body.line.dependency_time) && in find_suffix_rule()
379 body.line in find_suffix_rule()
500 Property line; find_ar_suffix_rule() local
701 register Property line; build_suffix_list() local
800 register Property line; find_percent_rule() local
1305 Property line = maybe_append_prop(target, line_prop); create_target_group_and_dependencies_list() local
1431 dependency_exists(Name target,Property line) dependency_exists() argument
[all...]
/titanic_51/usr/src/cmd/refer/
H A Daddbib.c92 "Invalid command line flag: %s\n"), argv[i]); in main()
111 char line[BUFSIZ]; in addbib() local
115 fgets(line, BUFSIZ, stdin); in addbib()
116 if (line[0] == 'y' || line[0] == 'Y') in addbib()
123 if (fgets(line, BUFSIZ, stdin) == NULL) { in addbib()
127 if (line[0] == '-' && line[1] == '\n') { in addbib()
134 } else if (line[strlen(line) in addbib()
190 trim(char line[]) trim() argument
[all...]
/titanic_51/usr/src/cmd/ldap/common/
H A Dldaptest.c38 getaline( char *line, int len, FILE *fp, char *prompt ) in getaline() argument
42 if ( fgets( line, len, fp ) == NULL ) in getaline()
45 line[ strlen( line ) - 1 ] = '\0'; in getaline()
47 return( line ); in getaline()
261 char line[256], command1, command2, command3; in main() local
283 if (( argv = get_list( "cmd line arg?" )) == NULL ) { in main()
391 (void) memset( line, '\0', sizeof(line) ); in main()
392 while ( getaline( line, sizeo in main()
[all...]
/titanic_51/usr/src/cmd/col/
H A Dcol.c54 wchar_t lbuff[LINELN], *line; variable
131 line = lbuff; in main()
136 if (*line) { in main()
139 *line = 'X'; in main()
141 *line = temp_off = '\0'; in main()
149 if (*line) in main()
151 *line = ESC; in main()
153 *line = 'Y'; in main()
155 *line = '\0'; in main()
169 case '7': /* reverse full line fee in main()
[all...]
/titanic_51/usr/src/tools/pmodes/
H A Dpmodes.c176 * If a plain file is passed on the command line, we assume in main()
282 warn(const char *file, int line) in warn() argument
284 (void) fprintf(stderr, "pmodes: %s, line %d: unexpected format\n", in warn()
285 file, line); in warn()
306 put_line(FILE *f, struct parsed_line *line) in put_line() argument
309 if (line->rest) in put_line()
310 (void) fprintf(f, "%s%.*o %s %s", line->start, in put_line()
311 line->modelen, line->mode, line in put_line()
486 struct parsed_line line; update_map() local
[all...]
/titanic_51/usr/src/cmd/mail/
H A Dsendmail.c99 * Write out the from line header for the letter
160 while ((n = getaline(line, sizeof (line), stdin)) > 0) {
161 last1c = line[n-1];
163 if (!wtmpf(line, n)) {
171 if ((hdrtyp = isheader(line, &ctf)) == FALSE) {
189 if (substr(line, "forwarded by") > -1) {
192 pickFrom(line);
222 /* suppress continuation line also */
227 oldn = n; /* remember if this line wa
[all...]
/titanic_51/usr/src/cmd/boot/bootadm/
H A Dbootadm_upgrade.c261 * Simply allocate a new line and copy in cmd + sep + arg
269 BAM_DPRINTF(("%s: line before update: %s\n", fcn, linep->line)); in update_line()
270 free(linep->line); in update_line()
272 linep->line = s_calloc(1, size); in update_line()
273 (void) snprintf(linep->line, size, "%s%s%s", linep->cmd, linep->sep, in update_line()
275 BAM_DPRINTF(("%s: line after update: %s\n", fcn, linep->line)); in update_line()
323 * The parse_kernel_line function examines a menu.lst kernel line. For
363 cvt_kernel_line(line_t *line, cons argument
540 cvt_module_line(line_t * line,entry_t * entry) cvt_module_line() argument
638 line_t *line; find_matching_entry() local
741 line_t *line; bam_add_findroot() local
855 line_t *line; bam_add_dboot() local
[all...]
/titanic_51/usr/src/cmd/man/
H A Dmakewhatis.c75 * While the whatis line is being formed, it is stored in whatis_proto.
336 char *line = whatis_lines->sl_str[i]; in finish_output() local
337 if (i > 0 && strcmp(line, prev) == 0) in finish_output()
339 prev = line; in finish_output()
340 (void) fputs(line, output); in finish_output()
397 * Return whether the line is of one of the forms:
404 name_section_line(char *line, const char *section_start) in name_section_line() argument
408 if (strncmp(line, section_start, 3) != 0) in name_section_line()
410 line = skip_spaces(line in name_section_line()
505 process_man_line(char * line) process_man_line() argument
532 process_mdoc_line(char * line) process_mdoc_line() argument
633 char *line = NULL; process_page() local
[all...]
/titanic_51/usr/src/cmd/fs.d/autofs/
H A Ddebug_alloc.c57 int line; member
65 add_alloc(char *type, void *addr, size_t size, const char *file, int line) in add_alloc() argument
79 alist->line = line; in add_alloc()
91 drop_alloc(const char *type, void *addr, const char *file, int line) in drop_alloc() argument
112 type, addr, file, line); in drop_alloc()
119 my_malloc(size_t size, const char *file, int line) in my_malloc() argument
127 add_alloc("MALLOC", addr, size, file, line); in my_malloc()
133 my_realloc(void *addr, size_t size, const char *file, int line) in my_realloc() argument
141 drop_alloc("MALLOC", addr, file, line); in my_realloc()
149 my_free(void * addr,const char * file,int line) my_free() argument
158 my_strdup(const char * straddr,const char * file,int line) my_strdup() argument
175 my_sethostent(int stay,const char * file,int line) my_sethostent() argument
185 my_endhostent(const char * file,int line) my_endhostent() argument
199 my_setnetconfig(const char * file,int line) my_setnetconfig() argument
213 my_endnetconfig(void * nconf,const char * file,int line) my_endnetconfig() argument
227 my_setnetpath(const char * file,int line) my_setnetpath() argument
241 my_endnetpath(void * npath,const char * file,int line) my_endnetpath() argument
260 my_netdir_getbyname(struct netconfig * tp,struct nd_hostserv * serv,struct nd_addrlist ** addrs,const char * file,int line) my_netdir_getbyname() argument
274 my_netdir_free(void * ptr,int type,const char * file,int line) my_netdir_free() argument
289 my_getipnodebyname(const char * name,int af,int flags,int * error_num,char * file,int line) my_getipnodebyname() argument
303 my_freehostent(struct hostent * hent,char * file,int line) my_freehostent() argument
312 my_getnetconfigent(char * netid,char * file,int line) my_getnetconfigent() argument
326 my_freenetconfigent(struct netconfig * netp,char * file,int line) my_freenetconfigent() argument
335 my__rpc_setconf(char * nettype,char * file,int line) my__rpc_setconf() argument
349 my__rpc_endconf(void * vhandle,char * file,int line) my__rpc_endconf() argument
[all...]
/titanic_51/usr/src/cmd/syseventadm/
H A Dsyseventadm.c317 str_t *line; in add_cmd() local
364 * Prepare the line to be written to the sysevent.conf file in add_cmd()
366 line = initstr(128); in add_cmd()
368 strcats(line, arg_class == NULL ? "-" : arg_class); in add_cmd()
369 strcatc(line, ' '); in add_cmd()
371 strcats(line, arg_subclass == NULL ? "-" : arg_subclass); in add_cmd()
372 strcatc(line, ' '); in add_cmd()
374 strcats(line, arg_vendor == NULL ? "-" : arg_vendor); in add_cmd()
375 strcatc(line, ' '); in add_cmd()
377 strcats(line, arg_publishe in add_cmd()
520 str_t *line; list_file() local
555 str_t *line; remove_file() local
657 str_t *line; check_for_removes() local
683 char *line; matches_serecord() local
737 str_t *line; print_serecord() local
796 str_t *line; read_next_line() local
812 parse_line(str_t * line) parse_line() argument
1087 fstrgets(str_t * line,FILE * fp) fstrgets() argument
[all...]
/titanic_51/usr/src/cmd/hal/hald/
H A Dids.c51 /** Initialize the pci.ids line iterator to the beginning of the file */
61 /** Get the next line from pci.ids
63 * @param line_len Pointer to where number of bytes in line will
65 * @return Pointer to the line; only valid until the
72 static char line[PCI_IDS_MAX_LINE_LEN]; in pci_ids_line_iter_get_line() local
78 line[i] = pci_ids[pci_ids_iter_pos]; in pci_ids_line_iter_get_line()
81 line[i] = '\0'; in pci_ids_line_iter_get_line()
87 return line; in pci_ids_line_iter_get_line()
121 char *line; in ids_find_pci() local
147 line in ids_find_pci()
349 static char line[USB_IDS_MAX_LINE_LEN]; usb_ids_line_iter_get_line() local
391 char *line; ids_find_usb() local
[all...]
/titanic_51/usr/src/tools/scripts/
H A Djstyle.pl37 -c check continuation line indenting
61 my ($filename, $line, $prev);
101 printf $fmt, $filename, $., $_[0], $line;
126 line: while (<STDIN>) { label
129 # save the original line, then remove all text from within
132 $line = $_;
141 next line;
145 # a /*JSTYLED*/ comment indicates that the next line is ok.
157 $prev = $line;
158 next line;
[all...]
/titanic_51/usr/src/cmd/sendmail/aux/
H A Dmailcompat.c97 /* read message from standard input (just from line) */
113 ** Reads first line from standard input.
123 static char line[MAXLINE]; local
136 /* read the line */
137 while (fgets(line, sizeof line, stdin) != NULL)
139 if (line[0] == (char)'\n') /* end of mail headers */
141 if (in_body && (strncmp(line, "From ", 5) == 0))
143 if (in_body || (strncasecmp(line, L_HEADER, LL_HEADER) != 0))
144 fputs(line, mail_f
153 static char line[MAXLINE]; global() local
270 char line[MAXLINE]; AutoInstall() local
326 char line[MAXLINE]; global() local
[all...]
/titanic_51/usr/src/contrib/ast/src/cmd/INIT/
H A Drt.sh161 while read -r line
162 do set '' $line
164 case $line in
167 set '' $line
190 set '' $line
205 read -r line || break
207 set '' $line
222 set '' $line
241 case $line in
280 read -r line || brea
[all...]

12345678910>>...57