Home
last modified time | relevance | path

Searched refs:libc (Results 1 – 25 of 805) sorted by relevance

12345678910>>...33

/external/libcxx/docs/
DBuildingLibcxx.rst4 Building libc++
19 The basic steps needed to build libc++ are:
26 #. Checkout libc++:
32 #. Checkout libc++abi:
38 #. Configure and build libc++ with libc++abi:
42 Clang is the preferred compiler when building and using libc++.
49 For more information about configuring libc++ see :ref:`CMake Options`.
51 * ``make cxx`` --- will build libc++ and libc++abi.
54 Shared libraries for libc++ and libc++ abi should now be present in llvm/build/lib.
55 See :ref:`using an alternate libc++ installation <alternate libcxx>`
[all …]
DUsingLibcxx.rst2 Using libc++
11 If you already have libc++ installed you can use it with clang.
15 $ clang++ -stdlib=libc++ test.cpp
16 $ clang++ -std=c++11 -stdlib=libc++ test.cpp
18 On OS X and FreeBSD libc++ is the default standard library
19 and the ``-stdlib=libc++`` is not required.
23 If you want to select an alternate installation of libc++ you
28 $ clang++ -std=c++11 -stdlib=libc++ -nostdinc++ \
35 search path. Meaning that the systems dynamic linker will look for libc++ in
44 $ clang++ -stdlib=libc++ -nostdinc++ \
[all …]
Dindex.rst4 "libc++" C++ Standard Library
10 libc++ is a new implementation of the C++ standard library, targeting C++11 and
31 Getting Started with libc++
60 libc++.
63 of libc++ cannot use. libstdc++ 4.2 (the last GPL2 version) could be
83 libc++ is known to work on the following platforms, using gcc and
91 Mac OS X i386, x86_64 Clang, GCC libc++abi
92 FreeBSD 10+ i386, x86_64, ARM Clang, GCC libcxxrt, libc++abi
93 Linux i386, x86_64 Clang, GCC libc++abi
114 This list contains known issues with libc++
[all …]
DTestingLibcxx.rst2 Testing libc++
11 libc++ uses LIT to configure and run its tests. The primary way to run the
12 libc++ tests is by using make check-libcxx. However since libc++ can be used
15 LIT directly to test libc++.
24 After building libc++ you must setup your environment to test libc++ using
43 Once you have your environment set up and you have built libc++ you can run
44 parts of the libc++ test suite by simply running `lit` on a specified test or
107 **Values**: libc++, libstdc++
110 libc++ is used. This option is intended to allow running the libc++ test
131 Specify the directory of the libc++ library to be tested. By default the
[all …]
DREADME.txt1 libc++ Documentation
4 The libc++ documentation is written using the Sphinx documentation generator. It is
7 To build the documents into html configure libc++ with the following cmake options:
12 After configuring libc++ with these options the make rule `docs-libcxx-html`
/external/zlib/src/old/
DMakefile.riscos25 @copy @.lib @.libc A~C~DF~L~N~P~Q~RS~TV
27 @/@.minigzip -f -9 libc
28 @/@.minigzip -d libc-gz
29 @/@.minigzip -f -1 libc
30 @/@.minigzip -d libc-gz
31 @/@.minigzip -h -9 libc
32 @/@.minigzip -d libc-gz
33 @/@.minigzip -h -1 libc
34 @/@.minigzip -d libc-gz
35 @/@.minigzip -9 libc
[all …]
/external/autotest/client/site_tests/kernel_CryptoAPI/
Dkernel_CryptoAPI.py94 libc = ctypes.CDLL("libc.so.6", use_errno=True)
98 libc.socket.argtypes = [ ctypes.c_int, ctypes.c_int, ctypes.c_int ]
99 libc.bind.argtypes = [ ctypes.c_int, ctypes.c_void_p, ctypes.c_int ]
100 libc.send.argtypes = [ ctypes.c_int, ctypes.c_void_p, ctypes.c_size_t,
102 libc.recv.argtypes = [ ctypes.c_int, ctypes.c_void_p, ctypes.c_size_t,
105 sock = libc.socket(AF_ALG, SOCK_SEQPACKET, 0)
107 libc.perror("socket")
111 if libc.bind(sock, ctypes.addressof(alg), ctypes.sizeof(alg)) == -1:
112 libc.perror("bind")
115 fd = libc.accept(sock, None, 0)
[all …]
/external/bcc/tools/
Dtplist_example.txt9 (such as libc) and executables (such as node) and provide static tracing
44 $ tplist -l c # list probes in libc
45 /lib64/libc.so.6 libc:setjmp
46 /lib64/libc.so.6 libc:longjmp
47 /lib64/libc.so.6 libc:longjmp_target
48 /lib64/libc.so.6 libc:memory_arena_reuse_free_list
49 /lib64/libc.so.6 libc:memory_heap_new
97 libc:memory_malloc_retry [sema 0x0]
98 location #0 /lib64/libc.so.6 0x835c0
100 location #1 /lib64/libc.so.6 0x83778
[all …]
/external/libcxxabi/
DCMakeLists.txt56 "Build libc++abi with an externalized threading API.
59 "Build libc++abi with an externalized threading library.
63 # programs to due undefined references to new/delete in libc++abi. Once this
66 "Build libc++abi with definitions for operator new/delete. Normally libc++
68 option(LIBCXXABI_BUILD_32_BITS "Build 32 bit libc++abi." ${LLVM_BUILD_32_BITS})
69 option(LIBCXXABI_INCLUDE_TESTS "Generate build targets for the libc++abi unit tests." ${LLVM_INCLUD…
72 option(LIBCXXABI_INSTALL_LIBRARY "Install the libc++abi library." ON)
76 set(LIBCXXABI_LIBCXX_LIBRARY_PATH "" CACHE PATH "The path to libc++ library.")
79 # the libc++abi that is being built. There are two problems with testing a
80 # static libc++abi. In the case of a standalone build, the tests will link the
[all …]
/external/libcxx/docs/DesignDocs/
DThreadingSupportAPI.rst12 to implement the threading parts of libc++, including ``<thread>`` and ``<mutex>``.
14 other. To address this libc++ wraps the underlying threading API in a new and
17 The ``<__threading_support>`` header is where libc++ defines its internal
24 In order to support vendors with custom threading API's libc++ allows the
36 libc++ can be compiled with its internal threading API delegating to an external
38 distribute a thread-agnostic libc++ library, where the users of the library are
39 expected to provide the implementation of the libc++ internal threading API.
42 ``<__external_threading>`` header, which declares the libc++ internal threading
45 The ``-DLIBCXX_BUILD_EXTERNAL_THREAD_LIBRARY`` option allows building libc++ in
50 threading system. This option is only meant to be used by libc++ library
[all …]
DVisibilityMacros.rst22 Mark a symbol as being exported by the libc++ library. This attribute must
23 be applied to the declaration of all functions exported by the libc++ dylib.
26 Mark a symbol as being exported by the libc++ library. This attribute may
27 only be applied to objects defined in the libc++ runtime library. On Windows,
32 Mark a symbol as being exported by the libc++ library, but allow it to be
49 when libc++ is built with an ABI version after ABI v1. This macro is used to
51 by libc++ in v1 of the ABI, but that we don't want to export in the future.
53 This macro works as follows. When we build libc++, we either hide the symbol
56 building libc++), the macro always marks symbols as internal so that programs
57 built using new libc++ headers stop relying on symbols that are removed from
[all …]
DCapturingConfigInfo.rst11 Currently the libc++ supports building the library with a number of different
13 lost when libc++ is installed. In order to support "persistent"
14 configurations libc++ needs a mechanism to capture the configuration options
24 * The solution should not unduly affect libc++ developers. The problem is limited
25 to installed versions of libc++ and the solution should be as well.
28 It makes developers lives harder if they have to regenerate the libc++ headers
31 * The solution should not make any of the libc++ headers dependent on
43 When you first configure libc++ using CMake we check to see if we need to
/external/libcxx/
DAndroid.bp18 name: "libc++ defaults",
56 name: "libc++_static",
57 defaults: ["libc++ defaults"],
93 "libc++abi",
106 name: "libc++",
114 whole_static_libs: ["libc++_static"],
123 unexported_symbols_list: "lib/libc++unexp.exp",
142 name: "libc++experimental",
143 defaults: ["libc++ defaults"],
150 name: "libc++fs",
[all …]
DCMakeLists.txt42 "The libc++ test suite will be disabled.")
73 option(LIBCXX_ENABLE_SHARED "Build libc++ as a shared library." ON)
74 option(LIBCXX_ENABLE_STATIC "Build libc++ as a static library." ON)
75 option(LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY "Build libc++experimental.a" ON)
80 option(LIBCXX_ENABLE_FILESYSTEM "Build filesystem as part of libc++fs.a"
82 option(LIBCXX_INCLUDE_TESTS "Build the libc++ tests." ${LLVM_INCLUDE_TESTS})
85 option(LIBCXX_INCLUDE_BENCHMARKS "Build the libc++ benchmarks and their dependencies" ON)
93 The value must be one of libc++/libstdc++")
98 if (NOT (LIBCXX_BENCHMARK_NATIVE_STDLIB STREQUAL "libc++"
105 option(LIBCXX_INCLUDE_DOCS "Build the libc++ documentation." ${LLVM_INCLUDE_DOCS})
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/cmake/modules/
DHandleLLVMStdlib.cmake1 # This CMake module is responsible for setting the standard library to libc++
19 check_cxx_compiler_flag("-stdlib=libc++" CXX_COMPILER_SUPPORTS_STDLIB)
20 check_linker_flag("-stdlib=libc++" CXX_LINKER_SUPPORTS_STDLIB)
22 append("-stdlib=libc++"
26 message(WARNING "Can't specify libc++ with '-stdlib='")
29 message(WARNING "Not sure how to specify libc++ for this compiler")
/external/strace/tests-mx32/
Dsigaction.c109 sigset_t libc[1]; in main() member
148 sigemptyset(mask.libc); in main()
149 sigaddset(mask.libc, SIGHUP); in main()
150 sigaddset(mask.libc, SIGINT); in main()
161 sigemptyset(mask.libc); in main()
162 sigaddset(mask.libc, SIGQUIT); in main()
163 sigaddset(mask.libc, SIGTERM); in main()
176 sigdelset(mask.libc, SIGHUP); in main()
/external/strace/tests/
Dsigaction.c109 sigset_t libc[1]; in main() member
148 sigemptyset(mask.libc); in main()
149 sigaddset(mask.libc, SIGHUP); in main()
150 sigaddset(mask.libc, SIGINT); in main()
161 sigemptyset(mask.libc); in main()
162 sigaddset(mask.libc, SIGQUIT); in main()
163 sigaddset(mask.libc, SIGTERM); in main()
176 sigdelset(mask.libc, SIGHUP); in main()
/external/strace/tests-m32/
Dsigaction.c109 sigset_t libc[1]; in main() member
148 sigemptyset(mask.libc); in main()
149 sigaddset(mask.libc, SIGHUP); in main()
150 sigaddset(mask.libc, SIGINT); in main()
161 sigemptyset(mask.libc); in main()
162 sigaddset(mask.libc, SIGQUIT); in main()
163 sigaddset(mask.libc, SIGTERM); in main()
176 sigdelset(mask.libc, SIGHUP); in main()
/external/e2fsprogs/misc/
DAndroid.bp28 system_shared_libs: ["libc", "libdl"],
102 stl: "libc++_static",
135 system_shared_libs: ["libc", "libdl"],
170 system_shared_libs: ["libc", "libdl"],
186 system_shared_libs: ["libc", "libdl"],
209 system_shared_libs: ["libc", "libdl"],
234 system_shared_libs: ["libc", "libdl"],
250 system_shared_libs: ["libc", "libdl"],
274 system_shared_libs: ["libc", "libdl"],
289 system_shared_libs: ["libc", "libdl"],
/external/bcc/tests/python/
Dtest_uprobes.py36 libc = ctypes.CDLL("libc.so.6")
37 libc.malloc_stats.restype = None
38 libc.malloc_stats.argtypes = []
39 libc.malloc_stats()
84 libc = ctypes.CDLL("libc.so.6", use_errno=True)
106 if libc.unshare(0x00020000) == -1:
111 if libc.mount(None, b"/", None, (1<<14)|(1<<18) , None) == -1:
115 if libc.mount(b"tmpfs", b"/tmp", b"tmpfs", 0, None) == -1:
/external/Reactive-Extensions/RxCpp/projects/scripts/
Dinstall_libcxx.sh9 sudo cp libcxx/build/lib/libc++.so.1.0 /usr/lib/
11 sudo ln -sf /usr/lib/libc++.so.1.0 /usr/lib/libc++.so
12 sudo ln -sf /usr/lib/libc++.so.1.0 /usr/lib/libc++.so.1
/external/python/cpython3/Lib/ctypes/test/
Dtest_errno.py12 libc = CDLL(libc_name, use_errno=True)
14 libc_open = libc._open
16 libc_open = libc.open
29 libc = CDLL(libc_name, use_errno=False)
31 libc_open = libc._open
33 libc_open = libc.open
/external/python/cpython2/Lib/ctypes/test/
Dtest_errno.py15 libc = CDLL(libc_name, use_errno=True)
17 libc_open = libc._open
19 libc_open = libc.open
33 libc = CDLL(libc_name, use_errno=False)
35 libc_open = libc._open
37 libc_open = libc.open
/external/llvm/cmake/modules/
DHandleLLVMStdlib.cmake1 # This CMake module is responsible for setting the standard library to libc++
18 check_cxx_compiler_flag("-stdlib=libc++" CXX_SUPPORTS_STDLIB)
20 append("-stdlib=libc++"
29 message(WARNING "Can't specify libc++ with '-stdlib='")
32 message(WARNING "Not sure how to specify libc++ for this compiler")
/external/elfutils/tests/
Drun-unstrip-M.sh33 7f31e7d9f000-7f31e7f29000 r-xp 00000000 fd:00 917531 /lib64/libc-1.13.so
34 7f31e7f29000-7f31e8128000 ---p 0018a000 fd:00 917531 /lib64/libc-1.13.so
35 7f31e8128000-7f31e812c000 r--p 00189000 fd:00 917531 /lib64/libc-1.13.so
36 7f31e812c000-7f31e812d000 rw-p 0018d000 fd:00 917531 /lib64/libc-1.13.so
48 0x7f31e7d9f000+0x38e000 - - - /lib64/libc-1.13.so

12345678910>>...33