/freebsd/crypto/openssl/crypto/ |
H A D | mem.c | 2 * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved. 21 static int allow_customize = 1; 22 static CRYPTO_malloc_fn malloc_impl = CRYPTO_malloc; 23 static CRYPTO_realloc_fn realloc_impl = CRYPTO_realloc; 24 static CRYPTO_free_fn free_impl = CRYPTO_free; 33 static TSAN_QUALIFIER int malloc_count; 34 static TSAN_QUALIFIER int realloc_count; 35 static TSAN_QUALIFIER int free_count; 41 static char *md_failstring; 42 static long md_count; [all …]
|
/freebsd/usr.sbin/kldxref/ |
H A D | kldxref.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 18 * 4. Neither the name of the author nor the names of any co-contributors 59 static bool dflag; /* do not create a hint file, only write on stdout */ 60 static int verbose; 62 static FILE *fxref; /* current hints file */ 63 static int byte_order; 64 static GElf_Ehdr ehdr; 65 static char *ehdr_filename; 67 static const char *xref_file = "linker.hints"; [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | GenericDomTreeConstruction.h | 1 //===- GenericDomTreeConstruction.h - Dominator Calculation ------*- C++ -*-==// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 /// Generic dominator tree construction - this file provides routines to 11 /// construct immediate dominator information for a flow-graph based on the 12 /// Semi-NCA algorithm described in this dissertation: 14 /// [1] Linear-Time Algorithms for Dominators and Related Problems 15 /// Loukas Georgiadis, Princeton University, November 2005, pp. 21-23: 18 /// Semi-NCA algorithm runs in O(n^2) worst-case time but usually slightly 19 /// faster than Simple Lengauer-Tarjan in practice. [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | UnwrappedLineParser.cpp | 1 //===--- UnwrappedLineParser.cpp - Format C++ code ------ [all...] |
H A D | TokenAnnotator.cpp | 1 //===--- TokenAnnotator.cpp - Format C++ code -----------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 22 #define DEBUG_TYPE "format-token-annotator" 27 static bool mustBreakAfterAttributes(const FormatToken &Tok, in mustBreakAfterAttributes() 43 static bool startsWithInitStatement(const AnnotatedLine &Line) { in startsWithInitStatement() 49 /// an Objective-C \c \@selector, \c false otherwise. 52 /// Objective-C++, C++ keywords like \c new and \c delete are 53 /// lexed as tok::kw_*, not tok::identifier, even for Objective-C. [all …]
|
/freebsd/contrib/libedit/TEST/ |
H A D | test_filecompletion.c | 3 /*- 52 static test_input inputs[] = { 412 L"ls semi", 413 "semi", 414 {"semi;colon;test", NULL}, 415 L"ls semi\\;colon\\;test " 488 static const wchar_t break_chars[] = L" \t\n\"\\'`@$><=;|&{("; 495 static char * 498 static int last_index = 0; in mycomplet_func() 537 line.lastchar = line.cursor - 1; in main() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseDeclCXX.cpp | 1 //===--- ParseDeclCXX.cpp - C++ Declaration Parsing -------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 37 /// ParseNamespace - We know that the current token is a namespace keyword. This 38 /// may either be a top level namespace or a block-level namespace alias. If 41 /// namespace-definition: [C++: namespace.def] 42 /// named-namespace-definition 43 /// unnamed-namespace-definition 44 /// nested-namespace-definition [all …]
|
H A D | ParseStmt.cpp | 1 //===--- ParseStmt.cpp - Statement and Block Parser -----------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 34 //===----------------------------------------------------------------------===// 36 //===----------------------------------------------------------------------===// 54 /// ParseStatementOrDeclaration - Read 'statement' or 'declaration'. 60 /// labeled-statement 61 /// compound-statement 62 /// expression-statement [all …]
|
H A D | ParseObjc.cpp | 1 //===--- ParseObjC.cpp - Objective C Parsing ------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file implements the Objective-C portions of the Parser interface. 11 //===----------------------------------------------------------------------===// 30 /// Skips attributes after an Objective-C @ directive. Emits a diagnostic. 43 /// ParseObjCAtDirectives - Handle parts of the external-declaration production: 44 /// external-declaration: [C99 6.9] 45 /// [OBJC] objc-class-definition 46 /// [OBJC] objc-class-declaration [all …]
|
H A D | Parser.cpp | 1 //===--- Parser.cpp - C Language Family Parser ----------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 77 return this->ParseTypeFromString(TypeStr, Context, IncludeLoc); in Parser() 110 static bool IsCommonTypo(tok::TokenKind ExpectedTok, const Token &Tok) { in IsCommonTypo() 112 case tok::semi: in IsCommonTypo() 125 // Detect common single-character typos and resume. in ExpectAndConsume() 165 if (TryConsumeToken(tok::semi)) in ExpectAndConsumeSemi() 174 NextToken().is(tok::semi)) { in ExpectAndConsumeSemi() [all …]
|
H A D | ParseExprCXX.cpp | 1 //===--- ParseExprCXX.cpp - C++ Expression Parsing ------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 34 static int SelectDigraphErrorMessage(tok::TokenKind Kind) { in SelectDigraphErrorMessage() 58 static void FixDigraph(Parser &P, Preprocessor &PP, Token &DigraphToken, in FixDigraph() 74 ColonToken.setLocation(ColonToken.getLocation().getLocWithOffset(-1)); in FixDigraph() 110 /// Parse global scope or nested-name-specifier if present. 112 /// Parses a C++ global scope specifier ('::') or nested-name-specifier (which 116 /// '::'[opt] nested-name-specifier [all …]
|
H A D | ParseCXXInlineMethods.cpp | 1 //===--- ParseCXXInlineMethods.cpp - C++ class inline methods parsing------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 23 /// Parse the optional ("message") part of a deleted-function-body. 35 Diag(Message->getBeginLoc(), getLangOpts().CPlusPlus26 in ParseCXXDeletedFunctionMessage() 38 << Message->getSourceRange(); in ParseCXXDeletedFunctionMessage() 50 /// If we've encountered '= delete' in a context where it is ill-formed, such 51 /// as in the declaration of a non-function, also skip the ("message") part if 66 /// ParseCXXInlineMethodDef - We parsed and verified that the specified [all …]
|
H A D | ParseDecl.cpp | 1 //===--- ParseDecl.cpp - Declaration Parsing --------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 41 //===----------------------------------------------------------------------===// 43 //===----------------------------------------------------------------------===// 46 /// type-name: [C99 6.7.6] 47 /// specifier-qualifier-list abstract-declarator[opt] 49 /// Called type-id in C++. 57 // Parse the common declaration-specifiers piece. in ParseTypeName() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/ |
H A D | MapLattice.h | 1 //===------------------------ MapLattice.h ----------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 32 /// with an `ElementLattice` that is a bounded semi-lattice, `MapLattice` is 33 /// itself a bounded semi-lattice, so long as the user limits themselves to a 38 /// * Provides standard declarations of a bounded semi-lattice. 55 static MapLattice bottom() { return MapLattice(); } in bottom() 102 } else if (It->second.join(O.second) == LatticeJoinEffect::Changed) in join() 110 /// in-scope variables. [all …]
|
/freebsd/sbin/dhclient/ |
H A D | clparse.c | 5 /*- 6 * SPDX-License-Identifier: BSD-3-Clause 50 static struct interface_info *dummy_interfaces; 52 static char client_script_name[] = "/sbin/dhclient-script"; 55 * client-conf-file :== client-declarations EOF 56 * client-declarations :== <nil> 57 * | client-declaration 58 * | client-declarations client-declaration 121 * have per-interface configuration declarations. in read_client_conf() 124 if (!ifi->client) { in read_client_conf() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | RangeSelector.cpp | 1 //===--- RangeSelector.cpp - RangeSelector implementations ------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 32 static Error invalidArgumentError(Twine Message) { in invalidArgumentError() 36 static Error typeError(StringRef ID, const ASTNodeKind &Kind) { in typeError() 41 static Error typeError(StringRef ID, const ASTNodeKind &Kind, in typeError() 48 static Error missingPropertyError(StringRef ID, Twine Description, in missingPropertyError() 54 static Expected<DynTypedNode> getNode(const ast_matchers::BoundNodes &Nodes, in getNode() 60 return It->second; in getNode() 64 static SourceLocation findPreviousTokenStart(SourceLocation Start, in findPreviousTokenStart() [all …]
|
H A D | SourceCode.cpp | 1 //===--- SourceCode.cpp - Source code manipulation routines -----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 89 static bool spelledInMacroDefinition(SourceLocation Loc, in spelledInMacroDefinition() 104 // Returns the expansion char-range of `Loc` if `Loc` is a split token. For 107 static std::optional<CharSourceRange> 117 // A char-range expansion is only used where a token-range would be in getExpansionForSplitToken() 128 static CharSourceRange getRangeForSplitTokens(CharSourceRange Range, in getRangeForSplitTokens() 136 BeginToken ? BeginToken->getBegin() : Range.getBegin(); in getRangeForSplitTokens() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/ |
H A D | Instrumentation.h | 1 //===- Transforms/Instrumentation.h - Instrumentation passes ----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 36 /// that must remain in the entry block up before the split point. Static 42 // Create a constant for Str so that we can pass it to the run-time lib. 52 // Place global in a large section for x86-64 ELF binaries to mitigate 60 static GCOVOptions getDefault(); 68 // A four-byte version string. The meaning of a version string is described in 69 // gcc's gcov-io.h [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mtd/partitions/ |
H A D | tplink,safeloader-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/tplink,safeloader-partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TP-Link SafeLoader partitions 10 TP-Link home routers store various data on flash (e.g. bootloader, 14 Flash space layout of TP-Link devices is stored on flash itself using 15 a custom ASCII-based format. That format was first found in TP-Link 17 CFE and U-Boot bootloaders. 20 contain static data that shouldn't get modified (device's MAC or WiFi [all …]
|
/freebsd/usr.bin/ctags/ |
H A D | C.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 40 static bool func_entry(void); 41 static void hash_entry(void); 42 static void skip_string(int); 43 static bool str_entry(int); 46 * c_entries - [all...] |
/freebsd/sys/crypto/des/ |
H A D | des_setkey.c | 5 /* Copyright (C) 1995-1996 Eric Young (eay@mincom.oz.au) 12 * FREE FOR COMMERCIAL AND NON-COMMERCIAL USE 52 * 1.4 Speed up by 400% :-) 87 /* Weak and semi week keys as take from 97 static des_cblock weak_keys[NUM_WEAK_KEY]={ 103 /* semi-weak keys */ 123 * this section very often :-(, thanks to in des_is_weak_key() 139 #define HPERM_OP(a,t,n,m) ((t)=((((a)<<(16-(n)))^(a))&(m)),\ 140 (a)=(a)^(t)^(t>>(16-(n)))) 156 * return -1 if key parity error, [all …]
|
/freebsd/share/man/man9/ |
H A D | MODULE_PNP_INFO.9 | 47 of device-identifying data for use by 56 The string is a series of members separated by semi-colons. 68 .Bl -tag -width U16 119 The pseudo-name 152 .Bl -tag -width "" 160 .Bd -literal 164 static struct my_pciids { 180 .Bd -literal 184 static struct my_pciids {
|
/freebsd/crypto/openssl/Configurations/platform/ |
H A D | BASE.pm | 17 # Currently known internal or semi-internal extensions are: 19 # .a For libraries that are made static only. 28 sub staticname { return __base($_[1], '.a') } # Name of static lib 35 sub bin { return $_[0]->binname($_[1]) . $_[0]->binext() } 36 sub dso { return $_[0]->dsoname($_[1]) . $_[0]->dsoext() } 37 sub sharedlib { return __concat($_[0]->sharedname($_[1]), $_[0]->shlibext()) } 38 sub staticlib { return $_[0]->staticname($_[1]) . $_[0]->libext() } 41 sub def { return __base($_[1], '.ld') . $_[0]->defext() } 42 sub obj { return __base($_[1], '.o') . $_[0]->objext() } 43 sub res { return __base($_[1], '.res') . $_[0]->resext() } [all …]
|
/freebsd/contrib/tcsh/ |
H A D | dotlock.c | 35 static int create_exclusive(const char *); 40 * - make a mostly unique filename and try to create it. 41 * - link the unique filename to our target 42 * - get the link count of the target 43 * - unlink the mostly unique filename 44 * - if the link count was 2, then we are ok; else we've failed. 46 static int 59 hostname[sizeof(hostname) - 1] = '\0'; in create_exclusive() 65 * We generate a semi-unique filename, from hostname.(pid ^ usec) in create_exclusive() 73 (int)(ptr - fname), fname, hostname, (u_long)cookie); in create_exclusive() [all …]
|
/freebsd/contrib/tcp_wrappers/ |
H A D | rfc931.c | 15 static char sccsid[] = "@(#) rfc931.c 1.10 95/01/02 16:11:34"; 38 #define RFC931_PORT 113 /* Semi-well-known port */ 43 static jmp_buf timebuf; 45 /* fsocket - open stdio stream on top of socket */ 47 static FILE *fsocket(int domain, int type, int protocol) in fsocket() 64 /* timeout - handle timeouts */ 66 static void timeout(int sig) in timeout() 71 /* rfc931 - return remote user name, given socket structures */ 98 if (rmt_sin->sa_family != our_sin->sa_family) { 102 switch (our_sin->sa_family) { [all …]
|