Searched defs:line (Results 501 - 525 of 621) sorted by relevance

<<2122232425

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/chat/
H A Dchat.c445 fatal(1, "unterminated quote (line %d)", linect);
473 * We got an error parsing the command line.
483 char line[1024]; variable
500 vfmtmsg(line, sizeof(line), fmt, args);
502 syslog(LOG_INFO, "%s", line);
504 fprintf(stderr, "%s\n", line);
525 vfmtmsg(line, sizeof(line), fmt, args);
527 syslog(LOG_ERR, "%s", line);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dcmds.c114 if (prompt_for_arg(line, sizeof (line), "to") == -1) {
349 if (prompt_for_arg(line, sizeof (line), "local-file") == -1) {
364 if (prompt_for_arg(line, sizeof (line), "remote-file") == -1) {
430 if (prompt_for_arg(line, sizeof (line), "local-files") == -1) {
623 if (prompt_for_arg(line, sizeof (line), "remot
1615 char line[FTPBUFSIZ]; local
[all...]
/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil.c480 * first line that starts with the given linestart string. Returns
481 * the rest of the line as a string if found.
485 * @param linestart Start of line, e.g. "serial number"
490 * of the line, e.g. ": 21805" if
492 * this line "serial number: 21805"
544 static char line[256]; local
549 if (linelen < sizeof (line)) {
551 strncpy (line, p, linelen);
552 line[linelen] = '\0';
554 if (strncmp (line, linestar
572 gchar *line; local
751 gchar *line; local
[all...]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipf_y.y180 file: line
182 | file line
186 line: xx rule { while ((fr = frtop) != NULL) { label
H A Dipmon.c143 static char line[2048]; variable
725 char *t = line;
733 len = sizeof(line);
795 syslog(LOG_INFO, "%s", line);
797 (void) fprintf(log, "%s", line);
808 char *t = line, *proto;
815 len = sizeof(line);
912 syslog(LOG_INFO, "%s", line);
914 (void) fprintf(log, "%s", line);
1002 t = line;
[all...]
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv.c516 char line[MAXROOTKEY_LINE_LEN]; local
524 while (fgets_ignorenul(line, MAXROOTKEY_LINE_LEN, rootkey)) {
525 debug(KEYSERV_DEBUG0, ("ROOTKEY %d: %s\n", count, line));
527 if (sscanf(line, "%s %d", key, &algtype) < 2) {
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapmodify.c293 * we assume record is ldif/slapd.replog if the first line
295 * if the first line consists entirely of digits (an entry id)
443 char *line, *dn, *type, *value, *newrdn, *newparent, *p; local
465 while ( rc == 0 && ( line = str_getline( &rbuf )) != NULL ) {
467 while ( rc == 0 && ( line = ldif_getline( &rbuf )) != NULL ) {
470 if ( expect_sep && strcasecmp( line, T_MODSEPSTR ) == 0 ) {
486 if ( str_parse_line( line, &type, &value, &vlen ) < 0 ) {
488 if ( ldif_parse_line( line, &type, &value, &vlen ) < 0 ) {
490 fprintf( stderr, gettext("%s: invalid format (line %d of entry: %s)\n"),
492 fprintf( stderr, gettext("%s: line content
789 char *line, *dn, *p, *q, *attr, *value; local
1205 char *buf, line[ LDAPMOD_MAXLINE ]; local
[all...]
/illumos-gate/usr/src/cmd/lms/
H A DProtocol.cpp1624 char line[LMS_MAX_LINE_LEN + 1]; local
1687 // Go over each line and copy it to the tmp file.
1688 while (fgets(line, sizeof(line), ifp)) {
1689 // don't copy the line if it was generated by the LMS
1693 (3 == sscanf(line, LMS_LINE_SCAN_FORMAT, oldFqdn, host, tmpsige))
1698 // copy the old LMS line too, since it's up to date
1699 fprintf(ofp, "%s", line);
1705 fprintf(ofp, "%s", line);
1707 while ((LMS_MAX_LINE_LEN == strnlen(line, LMS_MAX_LINE_LE
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c63 * == 2 - command line usage errors (including bad keywords)
69 * == 2 - command line usage errors (including bad keywords)
161 /* path provided on command line */
279 * 2 - command line usage errors
428 /* set path provided on the command line */
517 /* process any command line options */
742 /* process any command line options */
960 /* process any command line options */
1136 /* process any command line options */
1263 /* process any command line option
3406 char line[MAXPATHLEN]; local
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dmain.c116 * packages, the '-o' command line switch changes this to PROC_XSTDIN
198 #define LSIZE 256 /* maximum line size supported in copyright file */
336 /* parse command line options */
783 * validate command line options
889 /* pull off directory and package name from end of command line */
2801 char line[LSIZE]; local
2811 while (fgets(line, LSIZE, fp))
2812 (void) fprintf(stdout, "%s", line); /* bug #1083713 */
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/
H A Dpkgserv.c121 char *line; /* The contents line for the file */ member in struct:pkgentry
125 int len; /* Length of the line (incl NUL) */
620 * Entry: a single line without the NEWLINE
631 buf = p->line = mystrcpy(buf, blen + 1);
688 logerr("pathname: %.*s", p->pathlen, p->line);
698 if (p->line[p->pkgoff] != '\0' || p->pkgoff == p->len - 1)
806 if (strcmp(ent->line, e2->line) != 0) {
808 ent->pathlen, ent->line);
[all...]
/illumos-gate/usr/src/cmd/sysdef/
H A Dsysdef.c53 * the cmn line usage is: sysdef -i -n namelist -h -d -D
581 char line[100], path[100], *pathptr = ""; local
657 while (fgets(line, 99, lspipe) != NULL) {
660 * 'line' has <cr>, skip blank lines & dir entries
662 if (((len = strlen(line)) <= 1) ||
663 (line[len-2] == '/'))
668 if (line[0] == '/') {
669 (void) strcpy(path, &line[curr_len]);
678 char *tmp1 = strtok(line, " ");
711 while (fgets(line, 9
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-thread.h202 static inline k5_debug_loc k5_debug_make_loc(const char *file, int line)
206 l.lineno = line;
229 line to a file if a magic environment variable is set." */
600 was called, and a line number within the inline function itself.)
604 is called (with messed-up line-number info for gdb hopefully
199 k5_debug_make_loc(const char *file, int line) argument
/illumos-gate/usr/src/tools/cscope-fast/
H A Dinvlib.c48 #define LINEMAX 1000 /* sorted posting line max size */
110 char line[LINEMAX]; local
175 while (fgets(line, LINEMAX, infile) != NULL) {
179 s = (unsigned char *) strchr(line, SEP);
180 if (s == NULL) /* where did this line come from ??? */
184 if ((i = strlen(line)) > maxtermlen) {
189 (void) printf("%ld: %s ", totpost, line);
192 if (strcmp(thisterm, line) == 0) {
212 (void) strcpy(thisterm, line);
/illumos-gate/usr/src/tools/ctf/dump/
H A Ddump.c176 static const char line[] = "----------------------------------------" local
178 (void) printf("\n%s%.*s\n\n", s, (int)(78 - strlen(s)), line);
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_line.c360 Dwarf_Word line = 1; local
388 /* This is a pointer to the current line being added to the line
403 /* Counts the number of lines in the line matrix. */
411 /* Used to chain together pointers to line table entries that are
588 line =
589 line + prefix.pf_line_base +
605 (Dwarf_Sword) line;
658 (Dwarf_Sword) line;
714 line
1046 dwarf_linebeginstatement(Dwarf_Line line, Dwarf_Bool * return_bool, Dwarf_Error * error) argument
1072 dwarf_lineendsequence(Dwarf_Line line, Dwarf_Bool * return_bool, Dwarf_Error * error) argument
1090 dwarf_lineno(Dwarf_Line line, Dwarf_Unsigned * ret_lineno, Dwarf_Error * error) argument
1114 dwarf_line_srcfileno(Dwarf_Line line, Dwarf_Unsigned * ret_fileno, Dwarf_Error * error) argument
1137 dwarf_lineaddr(Dwarf_Line line, Dwarf_Addr * ret_lineaddr, Dwarf_Error * error) argument
1160 dwarf_lineoff(Dwarf_Line line, Dwarf_Signed * ret_lineoff, Dwarf_Error * error) argument
1176 dwarf_linesrc(Dwarf_Line line, char **ret_linesrc, Dwarf_Error * error) argument
1334 dwarf_lineblock(Dwarf_Line line, Dwarf_Bool * return_bool, Dwarf_Error * error) argument
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/ecore/
H A Decore_init_ops.h642 struct ilt_line *line, u32 size, u8 memop)
645 ECORE_ILT_FREE(line->page, line->page_mapping, line->size);
648 ECORE_ILT_ZALLOC(line->page, &line->page_mapping, size);
649 if (!line->page)
651 line->size = size;
641 ecore_ilt_line_mem_op(struct _lm_device_t *pdev, struct ilt_line *line, u32 size, u8 memop) argument
/illumos-gate/usr/src/uts/common/io/ppm/
H A Dppm_subr.c1092 char *line; local
1096 size_t len; /* length of line being parsed */
1102 line = kmem_alloc(len + 1, KM_SLEEP);
1103 (void) strcpy(line, *dc_namep);
1105 count = ppm_count_char(line, '=');
1106 ASSERT((count - ppm_count_char(line, ' ')) == 1);
1110 for (i = 0, f = b = line, done = B_FALSE; !done; i++, f = ++b) {
1237 kmem_free(line, len + 1);
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxge_osdep.h214 #define __xge_os_cacheline_size 64 /* L1-cache line size: x86_64 */
216 #define __xge_os_cacheline_size 64 /* L1-cache line size: sparcv9 */
229 char *file, int line)
233 XGE_OS_MEMORY_CHECK_MALLOC(vaddr, size, file, line);
249 int line)
278 XGE_OS_MEMORY_CHECK_MALLOC(vaddr, size, file, line);
228 __xge_os_malloc(pci_dev_h pdev, unsigned long size, char *file, int line) argument
247 __xge_os_dma_malloc(pci_dev_h pdev, unsigned long size, int dma_flags, pci_dma_h *p_dmah, pci_dma_acc_h *p_dma_acch, char *file, int line) argument
/illumos-gate/usr/src/uts/common/io/lvm/raid/
H A Draid_ioctl.c720 diskaddr_t line; local
739 for (line = 0; line < total_segments; line++) {
740 bp->b_lblkno = line *
756 un->un_percent_done = (uint_t)((line * 1000) /
/illumos-gate/usr/src/uts/sun4u/starcat/io/
H A Dmboxsc.c242 static void mboxsc_dprintf(const char *file, int line,
2330 int line,
2343 cmn_err(CE_CONT, "%s at line %d:\n", file, line);
2328 mboxsc_dprintf( const char *file, int line, uint32_t class, uint32_t action, const char *fmt, ...) argument
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/
H A Ddpost.c85 * could become noticeable by the time you get to the end of a line. Other schemes
87 * jobs. encoding can be changed on the command line using the -e option. Part of
148 * the command line using the -e option. Print time and the size of the
172 * Processes everything on the stack, up to the mark, as a single line
236 * Dl x y line from here by x,y
241 * D~ x y x y ... wiggly line by x,y then x,y ...
242 * nb a end of line (information only -- no action needed)
243 * b = space before line, a = after
407 * current line was printed.
416 int lastend; /* where last character on this line wa
502 Line line[MAXSTACK+3]; variable
[all...]
/illumos-gate/usr/src/cmd/make/bin/
H A Dparallel.cc87 static Doname distribute_process(char **commands, Property line);
100 * execute_parallel(line, waitflg)
109 * line The command group to execute
112 execute_parallel(Property line, Boolean waitflg, Boolean local) argument
127 Name target = line->body.line.target;
168 return (execute_serial(line));
176 for (rule = line->body.line.command_used;
230 Doname res = distribute_process(commands, line);
550 distribute_process(char **commands, Property line) argument
779 Property line; local
1030 Property line; local
1172 Property line; local
1687 Property line; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndp.c914 * Read in a file and set the mappings from each line.
919 char *line = NULL, *lasts = NULL, *curr; local
933 while (getline(&line, &cap, stream) != -1) {
936 if (line[0] == '#')
939 host = strtok_r(line, WORDSEPS, &lasts);
968 free(line);
/illumos-gate/usr/src/cmd/cron/
H A Dat.c125 /* 7 */ "getdate: There is no line in the template that matches the input",
576 char line[LINE_MAX]; local
666 * Put in a line to run the proper shell using the rest of
719 while (fgets(line, LINE_MAX, inputfile) != NULL) {
720 fputs(line, stdout);
899 * open the command file and read the project id line
900 * compare to the project number provided via -p on the command line
903 #define SKIPCOUNT 3 /* lines to skip to get to project line in file */

Completed in 171 milliseconds

<<2122232425