| /external/perfetto/src/shared_lib/ |
| D | track_event.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 #include "perfetto/public/abi/track_event_abi.h" 18 #include "perfetto/public/abi/track_event_hl_abi.h" 19 #include "perfetto/public/abi/track_event_ll_abi.h" 21 #include <algorithm> 22 #include <atomic> 23 #include <limits> 24 #include <mutex> 25 #include <optional> 27 #include "perfetto/base/compiler.h" [all …]
|
| /external/libchrome/base/debug/ |
| D | proc_maps_linux_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include <stddef.h> 6 #include <stdint.h> 8 #include "base/debug/proc_maps_linux.h" 9 #include "base/files/file_path.h" 10 #include "base/macros.h" 11 #include "base/path_service.h" 12 #include "base/strings/stringprintf.h" 13 #include "base/threading/platform_thread.h" 14 #include "build/build_config.h" [all …]
|
| /external/cronet/base/debug/ |
| D | proc_maps_linux_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include "base/debug/proc_maps_linux.h" 7 #include <stddef.h> 8 #include <stdint.h> 10 #include "base/files/file_path.h" 11 #include "base/path_service.h" 12 #include "base/strings/stringprintf.h" 13 #include "base/threading/platform_thread.h" 14 #include "build/build_config.h" 15 #include "testing/gtest/include/gtest/gtest.h" [all …]
|
| /external/libchrome/base/trace_event/ |
| D | trace_category_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include <string.h> 7 #include <memory> 9 #include "base/bind.h" 10 #include "base/lazy_instance.h" 11 #include "base/synchronization/lock.h" 12 #include "base/synchronization/waitable_event.h" 13 #include "base/threading/thread.h" 14 #include "base/trace_event/category_registry.h" 15 #include "base/trace_event/trace_category.h" [all …]
|
| /external/llvm/tools/llvm-pdbdump/ |
| D | llvm-pdbdump.cpp | 1 //===- llvm-pdbdump.cpp - Dump debug info from a PDB file -------*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 11 // the Microsoft Windows SDK, so will not compile or run on non-Windows 14 //===----------------------------------------------------------------------===// 16 #include "llvm-pdbdump.h" 17 #include "CompilandDumper.h" 18 #include "ExternalSymbolDumper.h" 19 #include "FunctionDumper.h" 20 #include "LLVMOutputStyle.h" 21 #include "LinePrinter.h" [all …]
|
| /external/cronet/base/trace_event/ |
| D | trace_category_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 5 #include <string.h> 7 #include <memory> 9 #include "base/containers/span.h" 10 #include "base/functional/bind.h" 11 #include "base/lazy_instance.h" 12 #include "base/synchronization/lock.h" 13 #include "base/synchronization/waitable_event.h" 14 #include "base/threading/thread.h" 15 #include "base/trace_event/category_registry.h" [all …]
|
| /external/toybox/tests/ |
| D | man.test | 4 [ -f testing.sh ] && . testing.sh 8 mkdir -p banana/man{1,3,5} 10 # Can't/shouldn't write to /usr/share/man so use -M to change path 11 MAN="man -M banana" 21 cat >banana/man1/toybox.1 <<EOF 24 .B \\-F 27 .B \\-\\^\\-foo\\-bar 31 .B \\-\\-no\\-alias 35 testing "gawk alias" "$MAN toybox" " -F\n --foo-bar Does something.\n\n --no-alias Has no alias.\n\… 37 cat >banana/man1/toybox.1 <<EOF [all …]
|
| /external/trusty/musl/src/locale/ |
| D | setlocale.c | 1 #include <locale.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #include "locale_impl.h" 5 #include "libc.h" 6 #include "lock.h" 10 char *setlocale(int cat, const char *name) in setlocale() argument 15 if ((unsigned)cat > LC_ALL) return 0; in setlocale() 24 if (cat == LC_ALL) { in setlocale() 28 char part[LOCALE_NAME_MAX+1] = "C.UTF-8"; in setlocale() [all …]
|
| D | langinfo.c | 1 #include <locale.h> 2 #include <langinfo.h> 3 #include "locale_impl.h" 31 int cat = item >> 16; in __nl_langinfo_l() local 35 if (item == CODESET) return loc->cat[LC_CTYPE] ? "UTF-8" : "ASCII"; in __nl_langinfo_l() 38 if (idx == 65535 && cat < LC_ALL) in __nl_langinfo_l() 39 return loc->cat[cat] ? (char *)loc->cat[cat]->name : "C"; in __nl_langinfo_l() 41 switch (cat) { in __nl_langinfo_l() 62 for (; idx; idx--, str++) for (; *str; str++); in __nl_langinfo_l() 63 if (cat != LC_NUMERIC && *str) str = LCTRANS(str, cat, loc); in __nl_langinfo_l()
|
| /external/musl/src/locale/ |
| D | setlocale.c | 1 #include <locale.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #include "locale_impl.h" 5 #include "libc.h" 6 #include "lock.h" 10 char *setlocale(int cat, const char *name) in setlocale() argument 14 if ((unsigned)cat > LC_ALL) return 0; in setlocale() 23 if (cat == LC_ALL) { in setlocale() 27 char part[LOCALE_NAME_MAX+1] = "C.UTF-8"; in setlocale() [all …]
|
| D | langinfo.c | 1 #include <locale.h> 2 #include <langinfo.h> 3 #include "locale_impl.h" 31 int cat = item >> 16; in __nl_langinfo_l() local 35 if (item == CODESET) return loc->cat[LC_CTYPE] ? "UTF-8" : "ASCII"; in __nl_langinfo_l() 38 if (idx == 65535 && cat < LC_ALL) in __nl_langinfo_l() 39 return loc->cat[cat] ? (char *)loc->cat[cat]->name : "C"; in __nl_langinfo_l() 41 switch (cat) { in __nl_langinfo_l() 62 for (; idx; idx--, str++) for (; *str; str++); in __nl_langinfo_l() 63 if (cat != LC_NUMERIC && *str) str = LCTRANS(str, cat, loc); in __nl_langinfo_l()
|
| /external/strace/ |
| D | configure | 2 # Guess values for system-dependent variables and create Makefiles. 5 # Report bugs to <strace-devel@lists.strace.io>. 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 14 # Copyright (c) 1999-2018 The strace developers. 15 ## -------------------- ## 17 ## -------------------- ## 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 26 alias -g '${1+"$@"}'='"$@"' 29 case `(set -o) 2>/dev/null` in #( [all …]
|
| /external/sdv/vsomeip/third_party/boost/system/test/ |
| D | generic_category_test3.cpp | 5 #include <boost/system/generic_category.hpp> 6 #include <boost/system/error_condition.hpp> 7 #include <boost/core/lightweight_test.hpp> 8 #include <cerrno> 14 sys::error_category const & cat = sys::generic_category(); in main() local 17 BOOST_TEST_CSTR_EQ( cat.name(), "generic" ); in main() 20 BOOST_TEST( cat.default_error_condition( 0 ) == sys::error_condition( 0, cat ) ); in main() 21 BOOST_TEST( cat.default_error_condition( ENOENT ) == sys::error_condition( ENOENT, cat ) ); in main() 22 BOOST_TEST( cat.default_error_condition( -1 ) == sys::error_condition( -1, cat ) ); in main() 25 BOOST_TEST( !cat.failed( 0 ) ); in main() [all …]
|
| D | system_category_test3.cpp | 5 #include <boost/system/system_category.hpp> 6 #include <boost/system/generic_category.hpp> 7 #include <boost/system/error_condition.hpp> 8 #include <boost/core/lightweight_test.hpp> 14 sys::error_category const & cat = sys::system_category(); in main() local 17 BOOST_TEST_CSTR_EQ( cat.name(), "system" ); in main() 20 BOOST_TEST( cat.default_error_condition( 0 ) == sys::error_condition() ); in main() 21 BOOST_TEST( cat.default_error_condition( -1 ) == sys::error_condition( -1, cat ) ); in main() 25 …BOOST_TEST( cat.default_error_condition( 5 ) == sys::error_condition( EACCES, sys::generic_categor… in main() 29 …BOOST_TEST( cat.default_error_condition( EACCES ) == sys::error_condition( EACCES, sys::generic_ca… in main() [all …]
|
| /external/selinux/libsepol/include/sepol/policydb/ |
| D | mls_types.h | 7 * Copyright (C) 2004-2005 Trusted Computer Solutions, Inc. 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 27 * Type definitions for the multi-level security (MLS) policy. 33 #include <errno.h> 34 #include <stdint.h> 35 #include <stdlib.h> 36 #include <sys/param.h> 37 #include <sepol/policydb/ebitmap.h> 38 #include <sepol/policydb/flask_types.h> 46 ebitmap_t cat; /* category set */ member [all …]
|
| D | context.h | 9 * externally represented as variable-length strings 21 #include <stddef.h> 22 #include <sepol/policydb/ebitmap.h> 23 #include <sepol/policydb/mls_types.h> 42 mls_range_init(&c->range); in mls_context_init() 49 if (mls_range_cpy(&dst->range, &src->range) < 0) in mls_context_cpy() 50 return -1; in mls_context_cpy() 62 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy_low() 63 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low() 67 dst->range.level[1].sens = src->range.level[0].sens; in mls_context_cpy_low() [all …]
|
| /external/liburing/ |
| D | configure | 3 set -e 5 cc=${CC:-gcc} 6 cxx=${CXX:-g++} 11 --help|-h) show_help=yes 13 --prefix=*) prefix="$optarg" 15 --includedir=*) includedir="$optarg" 17 --libdir=*) libdir="$optarg" 19 --libdevdir=*) libdevdir="$optarg" 21 --mandir=*) mandir="$optarg" 23 --datadir=*) datadir="$optarg" [all …]
|
| /external/perfetto/include/perfetto/public/ |
| D | track_event.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 20 #include <stdint.h> 21 #include <stdlib.h> 23 #include "perfetto/public/abi/heap_buffer.h" 24 #include "perfetto/public/abi/track_event_abi.h" // IWYU pragma: export 25 #include "perfetto/public/abi/track_event_hl_abi.h" // IWYU pragma: export 26 #include "perfetto/public/abi/track_event_ll_abi.h" // IWYU pragma: export 27 #include "perfetto/public/compiler.h" 28 #include "perfetto/public/data_source.h" 29 #include "perfetto/public/fnv1a.h" [all …]
|
| /external/google-breakpad/src/processor/ |
| D | proc_maps_linux_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 6 #include <config.h> // Must come first 9 #include "breakpad_googletest_includes.h" 10 #include "common/using_std_string.h" 11 #include "google_breakpad/processor/proc_maps_linux.h" 23 "00400000-0040b000 r-xp 00002200 fc:00 794418 /bin/cat\n"; in TEST() 32 EXPECT_EQ("/bin/cat", regions[0].path); in TEST() 37 "00400000-0040b000 r-xp 00002200 fc:00 794418 /bin/space cat\n"; in TEST() 46 EXPECT_EQ("/bin/space cat", regions[0].path); in TEST() 51 "00400000-0040b000 r-xp 00002200 fc:00 794418 /bin/cat"; in TEST() [all …]
|
| /external/tensorflow/tensorflow/core/framework/ |
| D | resource_mgr_test.cc | 7 http://www.apache.org/licenses/LICENSE-2.0 16 #include "tensorflow/core/framework/resource_mgr.h" 18 #include <memory> 20 #include "tensorflow/core/framework/device_attributes.pb.h" 21 #include "tensorflow/core/framework/node_def.pb.h" 22 #include "tensorflow/core/framework/node_def_util.h" 23 #include "tensorflow/core/lib/core/errors.h" 24 #include "tensorflow/core/lib/core/refcount.h" 25 #include "tensorflow/core/lib/core/status_test_util.h" 26 #include "tensorflow/core/lib/core/threadpool.h" [all …]
|
| /external/cronet/third_party/libc++/src/test/std/re/re.regex/re.regex.construct/ |
| D | bad_backref.pass.cpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // UNSUPPORTED: no-exceptions 17 #include <regex> 18 #include <cassert> 19 #include "test_macros.h" 71 assert(error_badbackref_thrown("(cat)\\10", std::regex::ECMAScript)); in main() 72 assert(error_badbackref_thrown("\\(cat\\)\\10", std::regex::basic) == false); in main() 73 assert(error_badbackref_thrown("(cat)\\10", std::regex::extended) == false); in main() [all …]
|
| /external/crosvm/jail/seccomp/ |
| D | policy-inliner.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -eu 27 if ! [[ -f $common_device ]] || ! [[ -f $gpu_common ]] || ! [[ -f $serial ]] || ! [[ -f $net ]]; th… 32 while IFS= read -r line 34 …if echo "$line" | egrep "@include[[:space:]]+/usr/share/policy/crosvm/common_device.policy" > /dev… 35 cat $common_device 37 …elif echo "$line" | egrep "@include[[:space:]]+/usr/share/policy/crosvm/gpu_common.policy" > /dev/… 38 cat $gpu_common 40 …elif echo "$line" | egrep "@include[[:space:]]+/usr/share/policy/crosvm/serial.policy" > /dev/null… 41 cat $serial [all …]
|
| /external/selinux/libsepol/src/ |
| D | mls.c | 7 * Copyright (C) 2004-2005 Trusted Computer Solutions, Inc. 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 27 * Implementation of the multi-level security (MLS) policy. 30 #include <sepol/context.h> 31 #include <sepol/policydb/policydb.h> 32 #include <sepol/policydb/services.h> 33 #include <sepol/policydb/context.h> 35 #include <stdlib.h> 37 #include "handle.h" 38 #include "debug.h" [all …]
|
| /external/sdv/vsomeip/third_party/boost/system/include/boost/system/detail/ |
| D | to_std_category.hpp | 13 #include <boost/system/detail/error_category.hpp> 14 #include <boost/system/detail/error_condition.hpp> 15 #include <boost/system/detail/error_code.hpp> 16 #include <boost/system/detail/generic_category.hpp> 17 #include <system_error> 18 #include <map> 19 #include <memory> 20 #include <mutex> 59 return pc_->name(); in name() 64 return pc_->message( ev ); in message() [all …]
|
| D | error_code.hpp | 13 #include <boost/system/detail/error_category.hpp> 14 #include <boost/system/detail/error_condition.hpp> 15 #include <boost/system/detail/system_category.hpp> 16 #include <boost/system/detail/enable_if.hpp> 17 #include <boost/system/is_error_code_enum.hpp> 18 #include <boost/system/detail/config.hpp> 19 #include <boost/cstdint.hpp> 20 #include <boost/config.hpp> 21 #include <ostream> 55 BOOST_SYSTEM_CONSTEXPR error_code( int val, const error_category & cat ) BOOST_NOEXCEPT: in error_code() argument [all …]
|