Home
last modified time | relevance | path

Searched +full:- +full:- +full:with +full:- +full:libidn2 (Results 1 – 23 of 23) sorted by relevance

/external/sandboxed-api/contrib/libidn2/
DCMakeLists.txt4 # you may not use this file except in compliance with the License.
7 # https://www.apache.org/licenses/LICENSE-2.0
17 project(libidn2-sapi CXX C)
27 "${CMAKE_BINARY_DIR}/sandboxed-api-build"
32 # Use pkg-config for the libidn2 include paths
34 pkg_check_modules(libidn2 REQUIRED IMPORTED_TARGET libidn2)
36 # System libidn2 needs to have the libidn2-dev and libunistring-dev packages
37 # installed. We cannot use pkg-config here, as libidn2's pkg-config file does
39 find_library(libidn2 NAMES libidn2.a idn2)
42 # Combine libidn2 and its dependency into a single static library
[all …]
Dlibidn2_sapi.cc4 // you may not use this file except in compliance with the License.
7 // https://www.apache.org/licenses/LICENSE-2.0
25 static constexpr int kMinPossibleKnownError = -10000;
33 return absl::ResourceExhaustedError("malloc() failed in libidn2"); in ProcessErrors()
41 auto maybe_untrusted_name = sandbox_->GetCString(p, kMaxDomainNameLength); in ProcessErrors()
42 SAPI_RETURN_IF_ERROR(sandbox_->Free(&p)); in ProcessErrors()
47 // valid ASCII (for a-labels) or UTF-8 (for u-labels) and doesn't in ProcessErrors()
64 ulabel ? ulabel_ptr->PtrBefore() : nullptr, in idn2_register_u8()
65 alabel ? alabel_ptr->PtrBefore() : nullptr, ptr.PtrAfter(), in idn2_register_u8()
67 return this->ProcessErrors(untrusted_res, ptr); in idn2_register_u8()
[all …]
/external/sandboxed-api/contrib/
DREADME.md3 This directory contains reusable Sandboxed API integrations with external
9 ------------ | ----------------------------------------------------------------- | ----------------…
10 `c-blosc/` | c-blosc - A blocking, shuffling and loss-less compression library | [github.com/Blos…
11 `hunspell/` | Hunspell - The most popular spellchecking library | [github.com/huns…
12 `jsonnet/` | Jsonnet - The Data Templating Language | [github.com/goog…
13libidn2/` | libidn2 - GNU IDN library | [www.gnu.org/sof…
14 `libxls/` | libxls - Read binary Excel files from C/C++ | [https://github.…
15 …libzip/` | libzip - operations on zip archives | [github.com/nih-
16 `pffft/` | PFFFT - a pretty fast Fourier Transform | [bitbucket.org/j…
17 …turbojpeg/` | High-level JPEG library | [libjpeg-turbo.o…
[all …]
DCMakeLists.txt4 # you may not use this file except in compliance with the License.
7 # https://www.apache.org/licenses/LICENSE-2.0
17 c-blosc
20 libidn2
/external/sandboxed-api/.github/workflows/
Dubuntu-cmake-contrib.yml1 name: ubuntu-cmake-contrib
11 fail-fast: false
13 os: [ubuntu-22.04]
15 - brotli
16 - c-blosc
17 - jsonnet
18 - libidn2
19 - libraw
20 - libtiff
21 - libxls
[all …]
/external/sandboxed-api/contrib/libidn2/tests/
DCMakeLists.txt4 # you may not use this file except in compliance with the License.
7 # https://www.apache.org/licenses/LICENSE-2.0
19 sapi_contrib::libidn2
Dlibidn2_sapi_test.cc4 // you may not use this file except in compliance with the License.
7 // https://www.apache.org/licenses/LICENSE-2.0
15 #include "contrib/libidn2/libidn2_sapi.h"
32 ASSERT_THAT(sandbox_->Init(), IsOk()); in SetUpTestSuite()
49 EXPECT_THAT(lib_->idn2_lookup_u8("β").value(), StrEq("xn--nxa")); in TEST_F()
50 EXPECT_THAT(lib_->idn2_lookup_u8("ß").value(), StrEq("xn--zca")); in TEST_F()
51 EXPECT_THAT(lib_->idn2_lookup_u8("straße.de").value(), in TEST_F()
52 StrEq("xn--strae-oqa.de")); in TEST_F()
53 EXPECT_THAT(lib_->idn2_to_unicode_8z8z("xn--strae-oqa.de").value(), in TEST_F()
55 EXPECT_THAT(lib_->idn2_lookup_u8("--- "), Not(IsOk())); in TEST_F()
[all …]
/external/curl/docs/
DINTERNALS.md1 <!--
4 SPDX-License-Identifier: curl
5 -->
15 We write curl and libcurl to compile with C89 compilers on 32-bit and up
19 We write libcurl to build and work with lots of third party tools, and we
20 want it to remain functional and buildable with these and later versions
27 - OpenSSL 0.9.7
28 - GnuTLS 3.1.10
29 - zlib 1.2.0.4
30 - libssh2 1.0
[all …]
DINSTALL-CMAKE.md1 <!--
4 SPDX-License-Identifier: curl
5 -->
7 # Building with CMake
10 from source code using the CMake build tool. To build with CMake, you of
29 - Build in the source tree.
31 $ cmake -B .
33 - Build in a separate directory (parallel to the curl source tree in this
36 $ cmake -B ../curl-build
40 CMake before version 3.13 does not support the `-B` option. In that case,
[all …]
DURL-SYNTAX.md1 <!--
4 SPDX-License-Identifier: curl
5 -->
14 - [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) (although URL is called
16 - [The WHATWG URL Specification](https://url.spec.whatwg.org/)
21 The WHATWG URL spec was written later, is incompatible with the RFC 3986 and
46 URL from an external untrusted party and using it with curl brings several
56 custom port number can allow external users to play tricks with your local
68 inter-operate better with URLs that appear in the wild.
78 by re-encoding them to `%20`.
[all …]
DINSTALL.md1 <!--
4 SPDX-License-Identifier: curl
5 -->
22 ./bootstrap-vcpkg.sh
33 the `GIT-INFO.md` file in the root directory for specific instructions on how
41 ./configure --with-openssl [--with-gnutls --with-wolfssl]
52 ./configure --help
57 ./configure --prefix=/path/to/curl/tree
63 ./configure --prefix=$HOME
72 ./configure --with-openssl
[all …]
/external/curl/.github/workflows/
Dnon-native.yml3 # SPDX-License-Identifier: curl
5 name: non-native
10 - master
11 - '*/ci'
12 paths-ignore:
13 - '**/*.md'
14 - '.circleci/**'
15 - 'appveyor.*'
16 - 'packages/**'
17 - 'plan9/**'
[all …]
Dmacos.yml3 # SPDX-License-Identifier: curl
10 - master
11 - '*/ci'
12 paths-ignore:
13 - '**/*.md'
14 - '.circleci/**'
15 - 'appveyor.*'
16 - 'packages/**'
17 - 'plan9/**'
18 - 'projects/**'
[all …]
Dlinux.yml3 # SPDX-License-Identifier: curl
10 - master
11 - '*/ci'
12 paths-ignore:
13 - '**/*.md'
14 - '.circleci/**'
15 - 'appveyor.*'
16 - 'packages/**'
17 - 'plan9/**'
18 - 'projects/**'
[all …]
Dhttp3-linux.yml3 # SPDX-License-Identifier: curl
10 - master
11 - '*/ci'
12 paths-ignore:
13 - '**/*.md'
14 - '.circleci/**'
15 - 'appveyor.*'
16 - 'packages/**'
17 - 'plan9/**'
18 - 'projects/**'
[all …]
/external/curl/tests/data/
DDISABLED21 # SPDX-License-Identifier: curl
28 # Lines starting with '#' letters are treated as comments.
50 # example: https://travis-ci.org/curl/curl/builds/81633600
58 # The CRL test doesn't work with wolfSSL
62 # The CRL test doesn't work with BearSSL
69 # Windows non-Unicode builds fail to receive Unicode text via the command-line
72 %if libidn2
/external/curl/
Dconfigure.ac21 # SPDX-License-Identifier: curl
24 dnl Process this file with autoconf to produce a configure script.
29 AC_INIT([curl], [-], [a suitable curl mailing list: https://curl.se/mail/])
69 if test -z "$SED"; then
73 if test -z "$SED" || test "$SED" = "not_found"; then
81 if test -z "$GREP"; then
85 if test -z "$GREP" || test "$GREP" = "not_found"; then
91 dnl 'grep -E' is mandatory for configure process and libtool.
93 if test -z "$EGREP"; then
95 AC_MSG_CHECKING([that grep -E works])
[all …]
DCMakeLists.txt21 # SPDX-License-Identifier: curl
28 # the case that both CURL and its dependency are included as sub-projects
32 # https://cmake.org/cmake/help/latest/module/FetchContent.html#integrating-with-find-package
49 # Collect command-line arguments for buildinfo.txt.
64 set(_cmake_args "${_cmake_args} -D${_cache_var}${_cache_var_type}=\"${_cache_var_value}\"")
78 string(REGEX MATCH "#define LIBCURL_VERSION_NUM 0x[0-9a-fA-F]+" _curl_version_num ${_curl_version_h…
84 string(REGEX REPLACE "([0-9]+\.[0-9]+\.[0-9]+).+" "\\1" _curl_version_sem "${_curl_version}")
91 # CMake (as of v3.31.2) gets confused and applies the MSVC rc.exe command-line
92 …# template to windres. Reset it to the windres template via 'Modules/Platform/Windows-windres.cmak…
93 …set(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -O coff <DEFINES> <INCLUDES> <FLAGS> <SOURCE> <OB…
[all …]
/external/curl/docs/libcurl/opts/
DCURLOPT_URL.md1 ---
3 SPDX-License-Identifier: curl
7 See-also:
8 - CURLINFO_REDIRECT_URL (3)
9 - CURLOPT_CURLU (3)
10 - CURLOPT_FORBID_REUSE (3)
11 - CURLOPT_FRESH_CONNECT (3)
12 - CURLOPT_PATH_AS_IS (3)
13 - CURLOPT_PROTOCOLS_STR (3)
14 - curl_easy_perform (3)
[all …]
/external/curl/scripts/
Dciconfig.pl22 # SPDX-License-Identifier: curl
29 # --enable-
32 'fast-install' => 1,
33 'silent-rules' => 1,
52 'libcurl-option' => 1,
55 'openssl-auto-load-config' => 1,
56 'versioned-symbols' => 1,
57 'symbol-hiding' => 1,
58 'threaded-resolver' => 1,
61 'basic-auth' => 1,
[all …]
/external/curl/lib/
Dversion.c21 * SPDX-License-Identifier: curl
63 /* Ignore -Wvla warnings in brotli headers */
65 #pragma GCC diagnostic ignored "-Wvla"
101 unsigned int minor = (version - (major * 100 * 100)) / 100; in zstd_version()
102 unsigned int patch = version - (major * 100 * 100) - (minor * 100); in zstd_version()
117 (((unsigned int)api.ldapai_vendor_version - major * 10000) in oldap_version()
118 - patch) / 100; in oldap_version()
151 msnprintf(buf, bufsz, "libidn2/%s", idn2_check_version(NULL)); in idn_version()
163 * It is implemented to work multi-threaded by making sure repeated invokes
246 "c-ares/%s", ares_version(NULL)); in curl_version()
[all …]
Dcurl_setup.h23 * SPDX-License-Identifier: curl
41 by Apple SDK, but, in a way incompatible with gcc, resulting in misc errors
47 Work it around by overriding the built-in feature-check macro used by the
66 rely on the old name, and with this inconsistency our builds fail due to
123 * Include configuration script results or hand-crafted
134 # include "config-win32.h"
138 # include "config-mac.h"
142 # include "config-riscos.h"
146 # include "config-os400.h"
150 # include "config-plan9.h"
[all …]
/external/curl/tests/
Druntests.pl22 # SPDX-License-Identifier: curl
32 # $HOSTIP, $HOST6IP - Set to the address of the host running the test suite
33 # $CLIENTIP, $CLIENT6IP - Set to the address of the host running curl
34 # runclient, runclientoutput - Modify to copy all the files in the log/
47 # Note that even with these changes a number of tests will still fail (mainly
48 # to do with cookies, those that set environment variables, or those that
53 # Finally, to properly support -g and -n, checktestcmd needs to change
56 # fixed. As long as the -g option is never given, and the -n is always
68 # usually set by the Makefile, but for out-of-tree builds with direct
108 my $CURLCONFIG="../curl-config"; # curl-config from current build
[all …]