/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | TraceGDBRemotePackets.cpp | 1 //===-- TraceGDBRemotePackets.cpp -------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 18 Path path) { in fromJSON() argument 19 ObjectMapper o(value, path); in fromJSON() 20 return o && o.map("description", packet.description) && in fromJSON() 21 o.map("name", packet.name); in fromJSON() 34 bool fromJSON(const json::Value &value, TraceStartRequest &packet, Path path) { in fromJSON() argument 35 ObjectMapper o(value, path); in fromJSON() 36 return o && o.map("type", packet.type) && o.map("tids", packet.tids); in fromJSON() [all …]
|
H A D | TraceIntelPTGDBRemotePackets.cpp | 1 //===-- TraceIntelPTGDBRemotePackets.cpp ------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 32 bool fromJSON(const json::Value &value, JSONUINT64 &uint64, Path path) { in fromJSON() argument 37 if (!val->getAsInteger(/*radix=*/0, uint64.value)) in fromJSON() 39 path.report("invalid string number"); in fromJSON() 41 path.report("invalid number or string number"); in fromJSON() 46 Path path) { in fromJSON() argument 47 ObjectMapper o(value, path); in fromJSON() 48 if (!(o && fromJSON(value, (TraceStartRequest &)packet, path) && in fromJSON() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | TraceIntelPTJSONStructs.cpp | 1 //===-- TraceIntelPTJSONStructs.cpp ---------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 44 bool fromJSON(const json::Value &value, JSONModule &module, Path path) { in fromJSON() argument 45 ObjectMapper o(value, path); in fromJSON() 46 return o && o.map("systemPath", module.system_path) && in fromJSON() 47 o.map("file", module.file) && in fromJSON() 48 o.map("loadAddress", module.load_address) && in fromJSON() 49 o.map("uuid", module.uuid); in fromJSON() 59 bool fromJSON(const json::Value &value, JSONThread &thread, Path path) { in fromJSON() argument [all …]
|
/freebsd/usr.sbin/autofs/ |
H A D | common.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 68 static void parse_map_yyin(struct node *parent, const char *map, 102 s1last = s1[strlen(s1) - 1]; in concat() 109 * it - skip the latter; otherwise concatenating "/" in concat() 128 create_directory(const char *path) in create_directory() argument 133 assert(path[0] == '/'); in create_directory() 138 copy = tofree = checked_strdup(path + 1); in create_directory() 168 n->n_key = checked_strdup("/"); in node_new_root() 169 n->n_options = checked_strdup(""); in node_new_root() [all …]
|
H A D | auto_master.5 | 1 .\"- 2 .\" SPDX-License-Identifier: BSD-2-Clause 35 .Nd autofs automounter configuration and map file format 39 configuration file, which assigns filesystem paths to map names, 54 .Bd -literal -offset indent 55 .Pa mountpoint Pa map_name Op Ar -options 59 is either a fully specified path, or 60 .Li /- . 63 is a full path, 65 must reference an indirect map. [all …]
|
/freebsd/lib/libproc/ |
H A D | proc_sym.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2016-2017 Mark Johnston <markj@FreeBSD.org> 117 (void)gelf_getsym(thunk->symtab->data, i1, &sym1); in symvalcmp() 118 (void)gelf_getsym(thunk->symtab->data, i2, &sym2); in symvalcmp() 121 return (sym1.st_value < sym2.st_value ? -1 : 1); in symvalcmp() 123 /* Prefer non-local symbols. */ in symvalcmp() 128 return (-1); in symvalcmp() 133 s1 = elf_strptr(thunk->e, thunk->symtab->stridx, sym1.st_name); in symvalcmp() 134 s2 = elf_strptr(thunk->e, thunk->symtab->stridx, sym2.st_name); in symvalcmp() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_mmap.c | 3 /*- 32 /*- 68 #include <atf-c.h> 82 static char path[] = "mmap"; variable 90 map_check(void *map, int flag) in map_check() argument 94 ATF_REQUIRE(map == MAP_FAILED); in map_check() 98 ATF_REQUIRE(map != MAP_FAILED); in map_check() 99 ATF_REQUIRE(munmap(map, page) == 0); in map_check() 133 nwritten = write(fds[0], (char *)vp + page, BUFSIZE - page); in testloan() 135 if (nwritten == -1) in testloan() [all …]
|
/freebsd/contrib/libfido2/tools/ |
H A D | largeblob.c | 2 * Copyright (c) 2020-2022 Yubico AB. All rights reserved. 3 * Use of this source code is governed by a BSD-style 5 * SPDX-License-Identifier: BSD-2-Clause 25 #include "../openbsd-compat/openbsd-compat.h" 36 free_rkmap(struct rkmap *map) in free_rkmap() argument 38 if (map->rp != NULL) { in free_rkmap() 39 for (size_t i = 0; i < fido_credman_rp_count(map->rp); i++) in free_rkmap() 40 fido_credman_rk_free(&map->rk[i]); in free_rkmap() 41 fido_credman_rp_free(&map->rp); in free_rkmap() 43 free(map->rk); in free_rkmap() [all …]
|
/freebsd/lib/libc/gen/ |
H A D | dlinfo.3 | 71 .Bl -tag -width indent 105 .Bd -literal -offset indent 107 const char *l_name; /* Absolute Path to Library */ 114 .Bl -tag -width ".Va l_addr" 126 structure on the link-map list. 130 structure on the link-map list. 165 field points to the search path. 168 field contains one of more flags indicating the origin of the path (see the 192 entries and the associated search path strings. 208 function returns 0 on success, or \-1 if an error occurred. [all …]
|
/freebsd/sys/kern/ |
H A D | uipc_sem.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2003-2005 SPARTA, Inc. 6 * Copyright (c) 2005, 2016-2017 Robert N. M. Watson 11 * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), 16 * contract FA8650-15-C-7558 ("CADETS"), as part of the DARPA Transparent 80 * - Resource limits? 81 * - Replace global sem_lock with mtx_pool locks? 82 * - Add a MAC check_create() hook for creating new named semaphores. 122 static int ksem_create(struct thread *td, const char *path, [all …]
|
H A D | uipc_shm.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2006, 2011, 2016-2017 Robert N. M. Watson 10 * contract FA8650-15-C-7558 ("CADETS"), as part of the DARPA Transparent 39 * Support for shared swap-backed anonymous memory objects via 45 * objects. Per-uid swap resource limit controls total amount of 123 static void shm_insert(char *path, Fnv32_t fnv, struct shmfd *shmfd); 124 static struct shmfd *shm_lookup(char *path, Fnv32_t fnv); 125 static int shm_remove(char *path, Fnv32_t fnv, struct ucred *ucred); 126 static void shm_doremove(struct shm_mapping *map); [all …]
|
/freebsd/contrib/kyua/cli/ |
H A D | common_test.cpp | 33 #include <atf-c++.hpp> 51 #include "utils/fs/path.hpp" 77 return engine::test_filter(fs::path(test_program), test_case); in mkfilter() 87 std::map< std::string, std::vector< std::string > > options; in ATF_TEST_CASE_BODY() 97 std::map< std::string, std::vector< std::string > > options; in ATF_TEST_CASE_BODY() 98 options["build-root"].push_back("/my//path"); in ATF_TEST_CASE_BODY() 102 ATF_REQUIRE_EQ("/my/path", cli::build_root_path(mock_cmdline).get().str()); in ATF_TEST_CASE_BODY() 109 std::map< std::string, std::vector< std::string > > options; in ATF_TEST_CASE_BODY() 121 std::map< std::string, std::vector< std::string > > options; in ATF_TEST_CASE_BODY() 122 options["kyuafile"].push_back("/my//path"); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/contrib/kyua/utils/ |
H A D | env_test.cpp | 31 #include <atf-c++.hpp> 33 #include "utils/fs/path.hpp" 44 utils::unsetenv("test-missing"); in ATF_TEST_CASE_BODY() 45 utils::setenv("test-empty", ""); in ATF_TEST_CASE_BODY() 46 utils::setenv("test-text", "some-value"); in ATF_TEST_CASE_BODY() 48 const std::map< std::string, std::string > allenv = utils::getallenv(); in ATF_TEST_CASE_BODY() 51 const std::map< std::string, std::string >::const_iterator iter = in ATF_TEST_CASE_BODY() 52 allenv.find("test-missing"); in ATF_TEST_CASE_BODY() 57 const std::map< std::string, std::string >::const_iterator iter = in ATF_TEST_CASE_BODY() 58 allenv.find("test-empty"); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | IntervalMap.h | 1 //===- llvm/ADT/IntervalMap.h - A sorted interval map ------- 793 SmallVector<Entry, 4> path; global() variable 1359 IntervalMapImpl::Path path; global() variable 1361 const_iterator(const IntervalMap & map) const_iterator() argument 1577 iterator(IntervalMap & map) iterator() argument [all...] |
/freebsd/libexec/ypxfr/ |
H A D | ypxfr.8 | 44 .Op Fl p Ar path 45 .Op Fl C Ar taskid program-number ipaddr port 53 .Pa map ) 64 when it receives a map transfer request from 91 When the entire map has been transferred, 99 will attempt to send a 'clear current map' request to the local 102 stale map. 110 root, this prevents non-privileged users from making unauthorized 157 has support for a special map transfer protocol which works in 162 This protocol allows it to transfer raw map database files from [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | HeaderSearch.h | 1 //===- HeaderSearch.h - Resolve Header File Locations -----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 89 /// in a module map, and is not `excluded` or `textual`. (same meaning as 116 /// provided via a header map. This bit indicates when this is one of 167 /// default-constructed \c HeaderFileInfo. 176 /// Whether this framework has been "user-specified" to be treated as if it 192 /// Const -> non-const iterator conversion. 213 return HS->SearchDirs[Idx]; [all …]
|
H A D | HeaderSearchOptions.h | 1 //===- HeaderSearchOptions.h ------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 18 #include <map> 26 /// IncludeDirGroup - Identifies the group an include Entry belongs to, 29 /// start searching at the Quoted group (specified by '-iquote'), 32 /// '\#include ""' paths, added by 'gcc -iquote'. 35 /// Paths for '\#include <>' added by '-I'. 65 /// HeaderSearchOptions - Helper class for storing options related to the 70 std::string Path; member [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mmc/ |
H A D | sdhci-msm.txt | 1 * Qualcomm SDHCI controller (sdhci-msm) 4 and the properties used by the sdhci-msm driver. 7 - compatible: Should contain a SoC-specific string and a IP version string: 9 "qcom,sdhci-msm-v4" for sdcc versions less than 5.0 10 "qcom,sdhci-msm-v5" for sdcc version 5.0 13 string is added to support this change - "qcom,sdhci-msm-v5". 15 "qcom,apq8084-sdhci", "qcom,sdhci-msm-v4" 16 "qcom,msm8226-sdhci", "qcom,sdhci-msm-v4" 17 "qcom,msm8953-sdhci", "qcom,sdhci-msm-v4" 18 "qcom,msm8974-sdhci", "qcom,sdhci-msm-v4" [all …]
|
/freebsd/contrib/ofed/infiniband-diags/man/ |
H A D | ibtracert.8 | 5 IBTRACERT \- 7 .nr rst2man-indent-level 0 10 \\$1 \\n[an-margin] 11 level \\n[rst2man-indent-level] 12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 13 - 14 \\n[rst2man-indent0] 15 \\n[rst2man-indent1] 16 \\n[rst2man-indent2] 21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | HeaderSearch.cpp | 1 //===- HeaderSearch.cpp - Resolve Header File Locations -------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 38 #include "llvm/Support/Path.h" 52 #define DEBUG_TYPE "file-search" 57 "Number of #includes skipped due to the multi-include optimization."); 69 External->GetIdentifier(LazyControllingMacro.getID()); in getControllingMacro() 74 if (ControllingMacro && ControllingMacro->isOutOfDate()) { in getControllingMacro() 77 External->updateOutOfDateIdentifier(*ControllingMacro); in getControllingMacro() [all …]
|
H A D | ModuleMap.cpp | 1 //===- ModuleMap.cpp - Describe the layout of modules ---------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 42 #include "llvm/Support/Path.h" 59 auto PendingLinkAs = PendingLinkAsModule.find(Mod->Name); in resolveLinkAsDependencies() 61 for (auto &Name : PendingLinkAs->second) { in resolveLinkAsDependencies() 64 M->UseExportAsModuleLinkName = true; in resolveLinkAsDependencies() 70 if (findModule(Mod->ExportAsModule)) in addLinkAsDependency() 71 Mod->UseExportAsModuleLinkName = true; in addLinkAsDependency() [all …]
|
/freebsd/usr.sbin/kbdcontrol/ |
H A D | kbdcontrol.1 | 1 .\"- 2 .\" SPDX-License-Identifer: BSD-2-Clause 4 .\" kbdcontrol - syscons or vt keyboard driver configuration utility 38 .Op Fl P Ar path 47 such as key map, keyboard repeat and delay rates, bell 58 .Bl -tag -widt [all...] |
/freebsd/contrib/kyua/model/ |
H A D | context_test.cpp | 31 #include <map> 35 #include <atf-c++.hpp> 37 #include "utils/fs/path.hpp" 45 std::map< std::string, std::string > env; in ATF_TEST_CASE_BODY() 48 const model::context context(fs::path("/foo/bar"), env); in ATF_TEST_CASE_BODY() 49 ATF_REQUIRE_EQ(fs::path("/foo/bar"), context.cwd()); in ATF_TEST_CASE_BODY() 57 std::map< std::string, std::string > env; in ATF_TEST_CASE_BODY() 59 const model::context context1(fs::path("/foo/bar"), env); in ATF_TEST_CASE_BODY() 60 const model::context context2(fs::path("/foo/bar"), env); in ATF_TEST_CASE_BODY() 61 const model::context context3(fs::path("/foo/baz"), env); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | ibtracert.c | 2 * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 104 ib_portid_t path; member 129 if (port->state != 4 && in is_port_inactive() 130 (node->type != IB_NODE_SWITCH || in is_port_inactive() 131 (node->type == IB_NODE_SWITCH && sw->enhsp0))) in is_port_inactive() 138 void *pi = port->portinfo, *ni = node->nodeinfo, *nd = node->nodedesc; in get_node() 141 memset(ni, 0, sizeof(node->nodeinfo)); in get_node() 143 return -1; in get_node() [all …]
|
/freebsd/usr.sbin/rpc.ypxfrd/ |
H A D | rpc.ypxfrd.8 | 36 .Nd "NIS map transfer server" 39 .Op Fl p Ar path 47 .Bl -bullet -offset indent 55 which reads the entire contents of a map from the master server 60 program then creates a new map database file by using the 80 Consider also that there are two sets of map 89 simply copy the master server's map files rather than building their 93 implements an RPC-based file transfer protocol. 95 a multi-megabyte file in this fashion takes only a few seconds compared 97 to build a new map from scratch. [all …]
|