Home
last modified time | relevance | path

Searched +full:non +full:- +full:comment (Results 1 – 25 of 1034) sorted by relevance

12345678910>>...42

/freebsd/contrib/llvm-project/clang/include/clang-c/
H A DDocumentation.h1 /*==-- clang-c/Documentation.h - Utilities for comment processing -*- C -*-===*\
6 |* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
8 |*===----------------------------------------------------------------------===*|
13 \*===----------------------------------------------------------------------===*/
18 #include "clang-c/CXErrorCode.h"
19 #include "clang-c/ExternC.h"
20 #include "clang-c/Index.h"
25 * \defgroup CINDEX_COMMENT Comment introspection
35 * A parsed comment.
44 * declaration), return the associated parsed comment as a
[all …]
/freebsd/crypto/openssl/util/
H A Dcheck-format.pl3 # Copyright 2020-2025 The OpenSSL Project Authors. All Rights Reserved.
4 # Copyright Siemens AG 2019-2022
11 # check-format.pl
12 # - check formatting of C source according to OpenSSL coding style
15 # check-format.pl [-l|--strict-len] [-b|--sloppy-bodylen]
16 # [-s|--sloppy-space] [-c|--sloppy-comment]
17 # [-m|--sloppy-macro] [-h|--sloppy-hang]
18 # [-e|--eol-comment] [-1|--1-stmt]
21 # run self-tests:
22 # util/check-format.pl util/check-format-test-positives.c
[all …]
H A Dcheck-format-test-positives.c2 * Copyright 2007-2025 The OpenSSL Project Authors. All Rights Reserved.
3 * Copyright Siemens AG 2015-2022
12 * This demonstrates/tests cases where check-format.pl should report issues.
13 * Some of the reports are due to sanity checks for proper nesting of comment
14 * delimiters and parenthesis-like symbols, e.g., on unexpected/unclosed braces.
18 * The '@'s after leading '*' in comment lines are used for self-tests:
25 /* this line is between 81 and 100 chars long, to be reported with -strict-len */
29 /*@ intra-line carriage return character:
31 /*@ non-printable ASCII character:  */
32 /*@ non-ASCII character: ä */
[all …]
H A Dcheck-format-test-negatives.c2 * Copyright 2007-2025 The OpenSSL Project Authors. All Rights Reserved.
3 * Copyright Siemens AG 2015-2022
12 * A collection of test cases where check-format.pl should not report issues.
26 /* allow extra SPC in single-line comment */
28 * allow extra SPC in regular multi-line comment
30 /*-
31 * allow extra SPC in format-tagged multi-line comment
33 /** allow extra '*' in comment opening */
34 /*! allow extra '!' in comment opening */
36 ** allow "**" as first non-space chars of a line within multi-line comment
[all …]
/freebsd/contrib/bmake/unit-tests/
H A Ddeptgt-posix.mk1 # $NetBSD: deptgt-posix.mk,v 1.4 2022/05/07 21:24:52 rillig Exp $
5 # As of 2022-04-18, when parsing the dependency line '.POSIX', the variable
8 # needs to be cross-checked with the POSIX specification.
11 # option '-r' was given. This means that an implementation of <posix.mk> must
15 # directory to prevent unit-tests/posix.mk from interfering with the posix.mk
24 TESTTMP= ${TMPDIR:U/tmp}/make.test.deptgt-posix
32 set-up-sysdir: .USEBEFORE
33 mkdir -p ${SYSDIR}
35 'CC=sys-cc' \
38 'CC=posix-cc'
[all …]
/freebsd/sys/contrib/openzfs/scripts/
H A Dcstyle.pl2 # SPDX-License-Identifier: CDDL-1.0
11 # or https://opensource.org/licenses/CDDL-1.0.
31 # cstyle - check for some common stylistic errors.
40 # A note to the non perl literate:
46 # \S any non-space character
47 # \w any "word" character [a-zA-Z0-9_]
48 # \W any non-word character
49 # \d a digit [0-9]
50 # \D a non-digit
52 # \B non-word boundary
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticCommentKinds.td1 //==--- DiagnosticCommentKinds.td - diagnostics related to comments -------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 let Component = "Comment" in {
12 // HTML parsing errors. These are under -Wdocumentation to make sure the user
75 "'%select{\\|@}0param' command used in a comment that is not attached to "
81 "command should be used in a comment attached to "
82 "%select{a function|a function|an Objective-C method|an Objective-C method|"
88 "command should not be used in a comment attached to a "
89 "non-%select{class|interface|protocol|struct|union}2 declaration">,
[all …]
/freebsd/crypto/heimdal/doc/
H A Dwin2k.texi5 @comment node-name, next, previous, up
21 * Inter-Realm keys (trust) between Windows and a Heimdal KDC::
29 @node Configuring Windows to use a Heimdal KDC, Inter-Realm keys (trust) between Windows and a Heim…
30 @comment node-name, next, precious, up
33 …es with the Windows Support Tools, available from either the installation CD-ROM (@file{SUPPORT/TO…
43 kadmin> ank --password=password host/datan.example.com
86 @node Inter-Realm keys (trust) between Windows and a Heimdal KDC, Create account mappings, Configur…
87 @comment node-name, next, precious, up
88 @section Inter-Realm keys (trust) between Windows and a Heimdal KDC
90 See also the Step-by-Step guide from Microsoft, referenced below.
[all …]
/freebsd/sys/contrib/dev/acpica/compiler/
H A Daslascii.c3 * Module Name: aslascii - ASCII detection and support routines
11 * Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp.
28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
104 * re-exports any such software from a foreign destination, Licensee shall
105 * ensure that the distribution and export/re-export of the software is in
108 * any of its subsidiaries will export/re-export any technical data, process,
130 * 3. Neither the names of the above-listed copyright holders nor the names
177 * PARAMETERS: Filename - Full input filename
178 * DisplayErrors - TRUE if error messages desired
184 * not handle comment delimiters within string literals. However,
[all …]
/freebsd/sys/tools/syscalls/scripts/
H A Dinit_sysent.lua2 --
3 -- SPDX-License-Identifier: BSD-2-Clause
4 --
5 -- Copyright (c) 2024 Tyler Baxter <agge@FreeBSD.org>
6 -- Copyright (c) 2023 Warner Losh <imp@bsdimp.com>
7 -- Copyright (c) 2019 Kyle Evans <kevans@FreeBSD.org>
8 --
10 -- Setup to be a module, or ran as its own script.
12 local script = not pcall(debug.getlocal, 4, 1) -- TRUE if script.
14 -- Add library root to the package path.
[all …]
/freebsd/usr.bin/vgrind/
H A Dvfontedpr.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
72 static bool incomm; /* in a comment of the primary type */
83 static int comtype; /* type of comment */
97 char *l_acmbeg; /* string introducing a comment */
98 char *l_acmend; /* string ending a comment */
103 char *l_combeg; /* string introducing a comment */
104 char *l_comend; /* string ending a comment */
107 char *l_nocom; /* regexp for non-comments */
115 static char minus[] = "-";
[all …]
H A Dvgrindefs.548 .Bl -column Namexxx Tpexxx
50 .It "ab str regular expression for the start of an alternate comment"
51 .It "ae str regular expression for the end of an alternate comment"
55 .It "cb str regular expression for the start of a comment"
56 .It "ce str regular expression for the end of a comment"
61 .It "nc str regular expression for a non-comment (see below)"
67 Non-comments are required to describe a certain context where a
68 sequence that would normally start a comment loses its special
89 .Bl -tag -width indent
126 .Bl -tag -width /usr/share/misc/vgrindefs -compact
[all …]
/freebsd/crypto/krb5/src/util/
H A Dkrb5-check-copyright.py23 # This program is intended to be used by "make check-copyright". It
37 # Check a comment for boilerplate violations. Return true if the comment
39 def check_comment(comment, fname, ln, code_seen, nonlicense_seen): argument
42 for line in comment:
46 warn(fname, ln, 'License begins after first line of comment')
50 warn(fname, ln, 'License after non-license comments')
52 # DB2 licenses start with '/*-' and we don't want to change them.
53 if line != '' and line != '-':
60 if '-*- mode: c;' in lines[ln]:
63 # Check filename comment if present.
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTGLexer.h1 //===- TGLexer.h - Lexer for TableGen Files ---------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
38 minus, // -
172 /// isBangOperator - Return true if this is a bang operator.
177 /// isObjectStart - Return true if this is a valid first token for a statement.
182 /// isStringValue - Return true if this is a string value.
188 /// TGLexer - TableGen Lexer class.
201 /// CurBuffer - This is the current buffer index we're lexing from as managed
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DLineIterator.h1 //===- LineIterator.h - Iterator to read a text buffer's lines --*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
29 /// strips blank lines by default, and comment lines given a comment-starting
68 /// Advance to the next (non-empty, non-comment) line.
81 const StringRef *operator->() const { return &CurrentLine; }
/freebsd/contrib/expat/tests/
H A Dacc_tests.c9 Copyright (c) 2001-2006 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
11 Copyright (c) 2005-2007 Steven Solie <steven@solie.ca>
12 Copyright (c) 2005-2012 Karl Waclawek <karl@waclawek.net>
13 Copyright (c) 2016-2024 Sebastian Pipping <sebastian@pipping.org>
14 Copyright (c) 2017-2022 Rhodri James <rhodri@wildebeest.org.uk>
17 Copyright (c) 2018 Marco Maggi <marco.maggi-ipsu@poste.it>
91 {"<!-- Comment --><e><!-- Comment --></e>", NULL, NULL, 0}, in START_TEST()
94 {"<?xml-stylesheet type=\"text/xsl\" href=\"https://domain.invalid/\" media=\"all\"?><e/>", in START_TEST()
105 /* The following is the essence of this OSS-Fuzz finding: in START_TEST()
106 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34302 in START_TEST()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCAsmInfo.h1 //===-- llvm/MC/MCAsmInfo.h - Asm info --------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
41 Itanium, /// Windows x64, Windows Itanium (IA-64)
67 //===------------------------------------------------------------------===//
74 /// Size of the stack slot reserved for callee-saved registers, in bytes.
88 /// True if this is a MachO target that supports the macho-specific .zerofill
92 /// True if this is a MachO target that supports the macho-specific .tbss
96 /// True if this is a non-GNU COFF target. The COFF port of the GNU linker
[all …]
/freebsd/usr.bin/lex/
H A Dlex.14 flex, lex \- fast lexical analyzer generator
7 .B [\-bcdfhilnpstvwBFILTV78+? \-C[aefFmr] \-ooutput \-Pprefix \-Sskeleton]
8 .B [\-\-help \-\-version]
13 a tool for generating programs that perform pattern-matching on text.
39 managing "mini-scanners"
45 End-of-file Rules
58 flex command-line options, and the "%option"
107 .B \-ll
178 /* scanner for a toy Pascal-like language */
185 DIGIT [0-9]
[all …]
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp1 //===--- BreakableToken.cpp - Format C++ code -----------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
23 #define DEBUG_TYPE "format-token-breaker"
42 static StringRef getLineCommentIndentPrefix(StringRef Comment, in getLineCommentIndentPrefix() argument
58 if (Comment.starts_with(KnownPrefix)) { in getLineCommentIndentPrefix()
60 Comment.find_first_not_of(' ', KnownPrefix.size()); in getLineCommentIndentPrefix()
61 return Comment.substr(0, PrefixLength); in getLineCommentIndentPrefix()
72 LLVM_DEBUG(llvm::dbgs() << "Comment split: \"" << Text in getCommentSplit()
[all …]
/freebsd/contrib/ntp/sntp/libevent/cmake/
H A DCodeCoverage.cmake2 # Boost Software License - Version 1.0 - August 17th, 2003
8 # Software, and to permit third-parties to whom the Software is furnished to
15 # works are solely in the form of machine-executable object code generated by
20 # FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
26 # 2012-01-31, Lars Bilke
27 # - Enable Code Coverage
29 # 2013-09-17, Joakim Söderberg
30 # - Added support for Clang.
31 # - Some additional usage instructions.
33 # 2016-11-02, Azat Khuzhin
[all …]
/freebsd/contrib/libevent/cmake/
H A DCodeCoverage.cmake2 # Boost Software License - Version 1.0 - August 17th, 2003
8 # Software, and to permit third-parties to whom the Software is furnished to
15 # works are solely in the form of machine-executable object code generated by
20 # FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
26 # 2012-01-31, Lars Bilke
27 # - Enable Code Coverage
29 # 2013-09-17, Joakim Söderberg
30 # - Added support for Clang.
31 # - Some additional usage instructions.
33 # 2016-11-02, Azat Khuzhin
[all …]
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DLexer.cpp1 //===- Lexer.cpp - C Language Family Lexer --------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
56 //===----------------------------------------------------------------------===//
58 //===----------------------------------------------------------------------===//
60 /// isObjCAtKeyword - Return true if we have an ObjC keyword identifier.
65 return II->getObjCKeywordID() == objcKey; in isObjCAtKeyword()
69 /// getObjCKeywordID - Return the ObjC keyword kind.
74 return specId ? specId->getObjCKeywordID() : tok::objc_not_keyword; in getObjCKeywordID()
[all …]
/freebsd/crypto/openssl/doc/man7/
H A Dossl_store-file.pod3 =begin comment
6 "ossl_store-{name}", where {name} is replaced with the name of the
9 =end comment
13 ossl_store-file - The store 'file' scheme loader
29 the PEM name (everything following any 'C<-----BEGIN >') as well as
38 Each file handler is expected to handle PEM and non-PEM content as
39 appropriate. Some may refuse non-PEM content for the sake of
50 This pass phrase is expected to be UTF-8 encoded, anything else will
54 Files that aren't should be re-generated with a correctly encoded pass
56 See L<passphrase-encoding(7)> for more information.
[all …]
/freebsd/lib/libutil/
H A Dfparseln.359 .Bl -tag -width "lineno"
73 Contains the escape, continuation, and comment characters.
83 .Bl -tag -width "delim[0]"
95 The comment character, which defaults to
97 if not escaped indicates the beginning of a comment that extends until the
101 If non-zero, alter the operation of
104 .Em or Ns -ed
106 .Bl -tag -width "FPARSELN_UNESCCOMM"
108 Remove escape preceding an escaped comment.
/freebsd/libexec/bootpd/
H A Dsyslog.conf23 lpr.debug /var/adm/lpd-errs
31 # logged to a file, un-comment out the following line and adjust the file name
34 # if a non-loghost machine chooses to have such messages
35 # sent to the loghost machine, un-comment out the following line.
51 # non-loghost machines will use the following lines to cause "user"

12345678910>>...42