Searched refs:comment (Results 1 - 25 of 65) sorted by relevance

123

/osnet-11/usr/src/lib/libpp/common/
H A Dppcomment.c25 * common preprocessor comment handler
31 ppcomment(char* head, char* comment, char* tail, int line) argument
34 ppprintf("%s%-.*s%s", head, MAXTOKEN - 4, comment, tail);
H A Dppargs.c169 pplint(char* head, char* comment, char* tail, int line) argument
172 if (strmatch(comment, "(ARGSUSED|PRINTFLIKE|PROTOLIB|SCANFLIKE|VARARGS)*([0-9])|CONSTCOND|CONSTANTCOND|CONSTANTCONDITION|EMPTY|FALLTHRU|FALLTHROUGH|LINTLIBRARY|LINTED*|NOTREACHED"))
174 strncopy(pp.token, comment, MAXTOKEN);
H A Dpplex.c233 if (((state = ~state) != S_COMMENT || pp.comment || c == '/' && !INCOMMENT(rp)) && (n = ip - bp - 1) > 0)
294 if (pp.comment) PUTCHR(c);
306 error(1, "/* appears in // comment");
316 error(1, "/* appears in /* ... */ comment starting at line %d", comstart);
336 error(1, "*/ appears outside of comment");
345 if (!pp.comment) PUTCHR(c);
357 error(1, "*/ appears in // comment");
367 if (comstart) error(2, "unterminated /* ... */ comment starting at line %d", comstart);
368 else if (INCOMMENTXX(rp)) error(2, "unterminated // ... comment");
369 else error(2, "unterminated /* ... */ comment");
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dlex_assign.t113 ($op, undef, $comment) = /^([^\#]+)(\#\s+(.*))?/;
114 $comment = $op unless defined $comment;
119 $skip = ($op =~ /^'\?\?\?'/ or $comment =~ /skip\(.*\Q$^O\E.*\)/i)
121 $integer = ($comment =~ /^i_/) ? "use integer" : '' ;
122 (print "#skipping $comment:\nok $ord\n"), next if $skip eq 'skip';
131 print "# \$comment: got `\$a', expected `\$b'\n";
138 print "# skipping $comment: unimplemented:\nok $ord\n";
148 ($op, undef, $comment) = /^([^\#]+)(\#\s+(.*))?/;
149 $comment
[all...]
H A Dpwent.t115 my ($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$home,$shell) = @n;
119 ($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$home,$shell) = @n;
H A Dsprintf.t19 my ($i, $template, $data, $result, $comment, $w, $x, $evalData, $n, $p);
50 ($template, $data, $result, $comment) = @{shift @tests};
107 $comment ? " # $comment\n" : "\n");
114 # a comment. Each field is delimited by a starting '>' and a
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Harness/t/
H A Dstrap.t24 my $comment;
25 ok( !$strap->_is_comment("foo", \$comment), '_is_comment(), not a comment' );
26 ok( !defined $comment, ' no comment set' );
28 ok( !$strap->_is_comment("f # oo", \$comment), ' not a comment with #' );
29 ok( !defined $comment, ' no comment set' );
44 ok( $strap->_is_comment($line, \$comment), " commen
[all...]
/osnet-11/usr/src/lib/libast/common/port/
H A Dastlicense.c28 * generate a license comment -- see proto(1)
88 #define COMMENT(x,b,s,u) comment(x,b,s,sizeof(s)-1,u)
219 * center and copy comment line s to p
229 comment(Notice_t* notice, register Buffer_t* b, register char* s, register int n, int u) function
373 * read the license file and generate a comment in p, length size
673 comment(&notice, &buf, NiL, 1, 0);
674 comment(&notice, &buf, NiL, 0, 0);
680 comment(&notice, &buf, BUF(&tmp), USE(&tmp), 0);
685 comment(&notice, &buf, BUF(&tmp), USE(&tmp), 0);
693 comment(
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/utils/port/
H A DCheckIn20 # SCCS comment, perl versions.
77 print("#!/bin/ksh\n\nunalias rm\ntypeset -r comment=$Comment\n",
90 "sccs create $f -y\"\$comment\" )\n");
99 "sccs create $f -y\"\$comment\" )\n");
110 "sccs create $f -y\"\$comment\" )\n");
126 print("( cd $ver_dst/distrib && sccs create MANIFEST -y\"\$comment\" )\n");
/osnet-11/usr/src/lib/libdhcpsvc/private/
H A Dpublic.c71 const char *comment)
94 if (comment != NULL)
95 (void) strlcpy(retval->dn_comment, comment,
69 alloc_dnrec(const uchar_t *cid, uchar_t cid_len, uchar_t flags, struct in_addr cip, struct in_addr sip, lease_t lease, const char *macro, const char *comment) argument
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dnetdfs.c226 (const char *)param->comment, param->flags, SMB_NS_DFS);
695 const char *comment = (const char *)param->comment; local
703 param->status = dfs_ns_create(share, comment, SMB_NS_DFS);
754 * Sets the comment for the DFS link/root.
761 char *cmnt = (char *)netinfo->comment;
897 * Sets the comment, state, time-out information, and property flags for the
906 char *cmnt = (char *)netinfo->comment;
1042 void *comment; local
1045 comment
1071 void *comment; local
1100 void *comment; local
1133 void *comment; local
1168 void *comment; local
[all...]
/osnet-11/usr/src/tools/onbld/Checks/
H A DComments.py41 def isARC(comment):
42 return arcre.match(comment)
44 def isBug(comment):
45 return bugre.match(comment)
82 raise ValueError("newline in comment '%s'" % com)
165 # and the entered comment. If that fails we remove a possible
166 # trailing (fix nit)-type comment, and re-try.
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/BSM/
H A D_BSMparse.pm109 my $comment = '';
123 s/#.*//; # remove comment
176 # type: case, comment, note, format
207 push(@case, [$case, $format, $comment, $note]);
216 $case = $note = $comment = $skip = $callName
243 elsif (/^\s*comment\s*=\s*(.*)/i) {
244 $comment .= $1;
245 $lastAttr = chkBslash("comment", \$1);
253 push(@case, [$case, $format, $comment, $note]);
255 $comment
[all...]
/osnet-11/usr/src/lib/pybootmgmt/common/bootmgmt/backend/loader/
H A Dmenulst.py50 def __init__(self, comment):
51 self._comment = comment
53 def update_comment(self, comment):
54 self._comment = comment
116 def add_comment(self, comment):
117 self._cmdlist.append(MenuLstComment(comment))
209 def add_comment(self, comment):
210 self._entitylist.append(MenuLstComment(comment))
288 '#', then it's a comment, so save it and return.
321 # If found, add whitespace line/comment t
[all...]
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_pca.c112 char *product_id, char *chassis_id, char *alias_id, char *comment)
128 if (comment)
129 r->r_comment = strdup(comment);
242 * Add a record but verify that this is valid record(not a comment)
248 char *product_id, char *chassis_id, char *alias_id, char *comment)
273 if (!comment) {
274 _pca_rec_add(h, -1, product_id, chassis_id, alias_id, comment);
276 if (*comment != '#')
277 (void) snprintf(comm, sizeof (comm), "#%s", comment);
279 (void) snprintf(comm, sizeof (comm), "%s", comment);
111 _pca_rec_add(di_pca_hdl_t h, int lnum, char *product_id, char *chassis_id, char *alias_id, char *comment) argument
247 di_pca_rec_add(di_pca_hdl_t h, char *product_id, char *chassis_id, char *alias_id, char *comment) argument
414 char *prod, *chassis, *alias, *comment; local
[all...]
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgetprojent.c73 char *buffer, *comment, *attr_str; local
107 comment = _NO_VALUE;
109 comment = descr[0];
111 comment);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/
H A DMksymlists.pm87 my $comment = sprintf "Perl (v%s%s%s) module %s",
89 chomp $comment;
92 $comment = "Core $comment";
94 $comment = "$comment (Perl-config: $Config{config_args})";
95 $comment = substr($comment, 0, 200) . "...)" if length $comment > 203;
101 print DEF "DESCRIPTION '\@#$distname:$data->{VERSION}#\@ $comment'\
[all...]
H A DManifest.pm58 maniadd({$file => $comment, ...});
320 my($file, $comment) = /^(\S+)\s*(.*)/;
340 $read->{$file} = $comment;
527 maniadd({ $file => $comment, ...});
549 my $comment = $additions->{$file} || '';
550 printf MANIFEST "%-40s %s\n", $file, $comment;
588 file is considered to be a comment. Filenames and comments are
/osnet-11/usr/src/grub/grub2/grub-core/
H A Dgenmod.sh.in63 -R .note -R .comment $tmpfile || exit 1
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Project/
H A DProject.pm156 my ($projname, $projid, $comment, $users, $groups, $attributes);
224 # "projid", "comment", "userlist", "grouplist"
262 # "comment" - comment string
278 my ($projname, $projid, $comment, $users, $groups, $attributes);
284 ($projname, $projid, $comment, $users, $groups, $attributes) =
294 ($projname, $projid, $comment, $users, $groups, $attributes) =
312 if (defined($comment)) {
313 $projent->{'comment'} = $comment;
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dnsparse.c547 char *tokenp, *comment; local
550 * Ignore portion of line following the comment character '#'.
552 if ((comment = strchr(linep, '#')) != NULL) {
553 *comment = '\0';
644 char *tokenp, *comment; local
647 * Ignore portion of line following the comment character '#'.
649 if ((comment = strchr(linep, '#')) != NULL) {
650 *comment = '\0';
/osnet-11/usr/src/cmd/sendmail/aux/
H A Dmakemap.c88 char comment = '#'; local
169 comment = *optarg;
418 if (ibuf[0] == '\0' || ibuf[0] == comment)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/User/
H A Dpwent.pm56 comment => '$', # pwent[5]
158 elsif (pw_has("comment")) {
159 $pw_comment = $pwob->comment( $_[5] );
222 C<passwd>, C<uid>, C<gid>, C<change>, C<age>, C<quota>, C<comment>,
245 C<comment> or C<class>. Some machines do not support C<expire>,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Doverload.t51 my $comment = "";
52 $comment = " # " . $_ [2] if @_ > 2;
54 print "ok $test$comment\n";
57 $comment .= ": '$_[0]' ne '$_[1]'";
58 print "not ok $test$comment\n";
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_sasl.c355 char *tokenp, *comment; local
358 * Ignore portion of line following the comment character '#'.
360 if ((comment = strchr(linep, '#')) != NULL) {
361 *comment = '\0';

Completed in 70 milliseconds

123