Home
last modified time | relevance | path

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

12345678910>>...29

/external/libcxx/docs/
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 …]
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 …]
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++
59 libc++.
62 of libc++ cannot use. libstdc++ 4.2 (the last GPL2 version) could be
82 libc++ is known to work on the following platforms, using gcc-4.2 and
90 Mac OS X i386, x86_64 Clang, GCC libc++abi
91 FreeBSD 10+ i386, x86_64, ARM Clang, GCC libcxxrt, libc++abi
92 Linux i386, x86_64 Clang, GCC libc++abi
113 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 …]
/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/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++ library. On Windows this
32 Mark a symbol as being exported by the libc++ library, but allow it to be
79 a `_LIBCPP_EXTERN_TEMPLATE` declaration as being exported by the libc++ library.
96 inside headers. This macro therefore expands to `dllimport` outside of libc++
106 of a class template as being exported by the libc++ library. This attribute
119 When building libc++ with hidden visibility, we want explicit template
124 libc++ DSO built with hidden visibility without encountering missing symbols.
[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/valgrind/
Dglibc-2.2.supp61 _dl_relocate_object*/*libc-2.2.?.so/_dl_catch_error*(Cond)
64 obj:*libc-2.2.?.so
175 libc-2.2.4.so/libc-2.2.4.so/libc-2.2.4.so(Cond)
177 obj:*libc-2.2.?.so
178 obj:*libc-2.2.?.so
179 obj:*libc-2.2.?.so
182 libc-2.2.4.so/libc-2.2.4.so/libc-2.2.4.so(Value4)
184 obj:*libc-2.2.?.so
185 obj:*libc-2.2.?.so
186 obj:*libc-2.2.?.so
[all …]
Dglibc-2.X.supp.in51 obj:*/lib*/libc-@GLIBC_VERSION@*.so*
57 obj:*/lib*/libc-@GLIBC_VERSION@*.so*
58 obj:*/lib*/libc-@GLIBC_VERSION@*.so*
80 obj:*/lib*/libc-@GLIBC_VERSION@*.so*
171 obj:/*libc-@GLIBC_VERSION@*.so
172 obj:/*libc-@GLIBC_VERSION@*.so
173 obj:/*libc-@GLIBC_VERSION@*.so
183 obj:/*libc-@GLIBC_VERSION@*.so
202 obj:/*libc-@GLIBC_VERSION@*.so
203 obj:/*libc-@GLIBC_VERSION@*.so
[all …]
Dglibc-2.6.supp54 obj:/lib*/libc-2.6*.so*
69 obj:/lib64/libc-2.6*.so*
195 obj:/*libc-2.6.so
196 obj:/*libc-2.6.so
197 obj:/*libc-2.6.so
207 obj:/*libc-2.6.so
226 obj:/*libc-2.6.so
227 obj:/*libc-2.6.so
228 obj:/*libc-2.6.so
235 obj:/*libc-2.6.so
[all …]
Dglibc-2.4.supp60 obj:/lib*/libc-2.3.90.so
84 obj:/lib*/libc-2.4*so*
202 obj:/*libc-2.4.so
203 obj:/*libc-2.4.so
204 obj:/*libc-2.4.so
214 obj:/*libc-2.4.so
233 obj:/*libc-2.4.so
234 obj:/*libc-2.4.so
235 obj:/*libc-2.4.so
242 obj:/*libc-2.4.so
[all …]
Dsolaris12.supp1 # This is a real problem in the Solaris libc. It is caused by a read past the
51 # Solaris libc doesn't deallocate I/O buffers on program exit.
57 obj:/lib/libc.so.1
58 obj:/lib/libc.so.1
62 # Solaris libc doesn't deallocate netconfig list pointed to by netpp.
123 # Solaris libc doesn't deallocate static strings netid_tcp_main
135 # Solaris libc doesn't deallocate global variable global_gt.
145 # Solaris libc reinitializes mutex udp->ld_lock in the child's post-fork
156 # Solaris libc implements pthread barrier with a mutex and a condition
Dglibc-2.5.supp156 obj:/*libc-2.5.so
157 obj:/*libc-2.5.so
158 obj:/*libc-2.5.so
168 obj:/*libc-2.5.so
187 obj:/*libc-2.5.so
188 obj:/*libc-2.5.so
189 obj:/*libc-2.5.so
196 obj:/*libc-2.5.so
197 obj:/*libc-2.5.so
198 obj:/*libc-2.5.so
Dsolaris11.supp1 # This is a real problem in the Solaris libc. It is caused by a read past the
23 # Solaris libc doesn't deallocate I/O buffers on program exit.
29 obj:/lib/libc.so.1
30 obj:/lib/libc.so.1
34 # Solaris libc reinitializes mutex udp->ld_lock in the child's post-fork
/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-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/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/libcxx/
DCMakeLists.txt38 "The libc++ test suite will be disabled.")
64 option(LIBCXX_ENABLE_SHARED "Build libc++ as a shared library." ON)
65 option(LIBCXX_ENABLE_STATIC "Build libc++ as a static library." ON)
66 option(LIBCXX_ENABLE_EXPERIMENTAL_LIBRARY "Build libc++experimental.a" ON)
71 option(LIBCXX_ENABLE_FILESYSTEM "Build filesystem as part of libc++experimental.a"
73 option(LIBCXX_INCLUDE_TESTS "Build the libc++ tests." ${LLVM_INCLUDE_TESTS})
76 option(LIBCXX_INCLUDE_BENCHMARKS "Build the libc++ benchmarks and their dependancies" ON)
79 The value must be one of libc++/libstdc++")
84 if (NOT (LIBCXX_BENCHMARK_NATIVE_STDLIB STREQUAL "libc++"
91 option(LIBCXX_INCLUDE_DOCS "Build the libc++ documentation." ${LLVM_INCLUDE_DOCS})
[all …]
/external/e2fsprogs/misc/
DAndroid.bp26 system_shared_libs: ["libc", "libdl"],
99 stl: "libc++_static",
132 system_shared_libs: ["libc", "libdl"],
167 system_shared_libs: ["libc", "libdl"],
183 system_shared_libs: ["libc", "libdl"],
206 system_shared_libs: ["libc", "libdl"],
231 system_shared_libs: ["libc", "libdl"],
247 system_shared_libs: ["libc", "libdl"],
271 system_shared_libs: ["libc", "libdl"],
/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/python/cpython3/Lib/ctypes/test/
Dtest_errno.py14 libc = CDLL(libc_name, use_errno=True)
16 libc_open = libc._open
18 libc_open = libc.open
32 libc = CDLL(libc_name, use_errno=False)
34 libc_open = libc._open
36 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/libcxx/lib/
DCMakeLists.txt156 "-install_name /usr/lib/libc++.1.dylib"
157 "-Wl,-reexport_library,/usr/lib/libc++abi.dylib"
158 "-Wl,-unexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/libc++unexp.exp"
165 "${CMAKE_OSX_SYSROOT}/usr/lib/libc++abi.dylib"
166 "-Wl,-reexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/libc++sjlj-abi.exp")
169 "-Wl,-reexport_library,${CMAKE_OSX_SYSROOT}/usr/lib/libc++abi.dylib")
172 …set(OSX_RE_EXPORT_LINE "/usr/lib/libc++abi.dylib -Wl,-reexported_symbols_list,${CMAKE_CURRENT_SOUR…
174 …add_link_flags("/usr/lib/libc++abi.dylib -Wl,-reexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/
179 "-install_name /usr/lib/libc++.1.dylib"
180 "-Wl,-unexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/libc++unexp.exp"
[all …]

12345678910>>...29