Home
last modified time | relevance | path

Searched +full:- +full:- +full:without +full:- +full:brotli (Results 1 – 25 of 171) sorted by relevance

1234567

/external/brotli/csharp/org/brotli/dec/
DState.cs6 namespace Org.Brotli.Dec
10 internal int runningState = Org.Brotli.Dec.RunningState.Uninitialized;
14 internal readonly Org.Brotli.Dec.BitReader br = new Org.Brotli.Dec.BitReader();
18 internal readonly int[] blockTypeTrees = new int[3 * Org.Brotli.Dec.Huffman.HuffmanMaxTableSize];
20 internal readonly int[] blockLenTrees = new int[3 * Org.Brotli.Dec.Huffman.HuffmanMaxTableSize];
30 internal readonly Org.Brotli.Dec.HuffmanTreeGroup hGroup0 = new Org.Brotli.Dec.HuffmanTreeGroup();
32 internal readonly Org.Brotli.Dec.HuffmanTreeGroup hGroup1 = new Org.Brotli.Dec.HuffmanTreeGroup();
34 internal readonly Org.Brotli.Dec.HuffmanTreeGroup hGroup2 = new Org.Brotli.Dec.HuffmanTreeGroup();
114 // Current meta-block header information.
116 private static int DecodeWindowBits(Org.Brotli.Dec.BitReader br) in DecodeWindowBits()
[all …]
/external/curl/CMake/
DFindBrotli.cmake18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 # SPDX-License-Identifier: curl
24 # Find the brotli library
28 # - `BROTLI_INCLUDE_DIR`: The brotli include directory.
29 # - `BROTLICOMMON_LIBRARY`: Path to `brotlicommon` library.
30 # - `BROTLIDEC_LIBRARY`: Path to `brotlidec` library.
34 # - `BROTLI_FOUND`: System has brotli.
35 # - `BROTLI_INCLUDE_DIRS`: The brotli include directories.
36 # - `BROTLI_LIBRARIES`: The brotli library names.
37 # - `BROTLI_LIBRARY_DIRS`: The brotli library directories.
[all …]
/external/sandboxed-api/contrib/brotli/
DCMakeLists.txt7 # https://www.apache.org/licenses/LICENSE-2.0
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27 "${CMAKE_BINARY_DIR}/sandboxed-api-build"
32 GIT_REPOSITORY https://github.com/google/brotli.git
33 GIT_TAG f4153a09f87cbb9c826d8fc12c74642bb2d879ea # 2022-01-10
38 configure_file(brotli.gen.h.in brotli.gen.h)
42 $<TARGET_OBJECTS:brotlicommon-static>
43 $<TARGET_OBJECTS:brotlidec-static>
44 $<TARGET_OBJECTS:brotlienc-static>
60 INPUTS "${CMAKE_BINARY_DIR}/brotli.gen.h"
[all …]
Dbrotli.gen.h.in7 // https://www.apache.org/licenses/LICENSE-2.0
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // dependencies of brotli well. We have to enforce multiple includes.
18 #include "${brotli_INCLUDE_DIR}/brotli/port.h"
19 #include "${brotli_INCLUDE_DIR}/brotli/types.h"
20 #include "${brotli_INCLUDE_DIR}/brotli/encode.h"
21 #include "${brotli_INCLUDE_DIR}/brotli/decode.h"
/external/brotli/
DAndroid.bp7 // http://www.apache.org/licenses/LICENSE-2.0
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 // Added automatically by a large-scale-change that took the approach of
33 // See: http://go/android-license-faq
38 "SPDX-license-identifier-BSD",
39 "SPDX-license-identifier-MIT",
40 "SPDX-license-identifier-Unlicense",
65 "//bootable/deprecated-ota:__subpackages__",
75 "-Werror",
76 "-O2",
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/brotli/
DBrotliCompressorInputStreamTest.java9 * http://www.apache.org/licenses/LICENSE-2.0
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 package org.apache.commons.compress.compressors.brotli;
45 final File input = getFile("brotli.testdata.compressed"); in testBrotliDecode()
46 final File expected = getFile("brotli.testdata.uncompressed"); in testBrotliDecode()
53 int readByte = -1; in testBrotliDecode()
54 while((readByte = brotliInputStream.read()) != -1) { in testBrotliDecode()
93 final File input = getFile("brotli.testdata.compressed"); in availableShouldReturnZero()
104 final File input = getFile("brotli.testdata.compressed"); in shouldBeAbleToSkipAByte()
115 final File input = getFile("brotli.testdata.compressed"); in singleByteReadWorksAsExpected()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/brotli/
DBrotliUtils.java10 * http://www.apache.org/licenses/LICENSE-2.0
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 package org.apache.commons.compress.compressors.brotli;
22 * Utility code for the Brotli compression format.
49 * Are the classes required to support Brotli compression available?
50 * @return true if the classes required to support Brotli compression are available
62 Class.forName("org.brotli.dec.BrotliInputStream"); in internalIsBrotliCompressionAvailable()
70 * Whether to cache the result of the Brotli for Java check.
DBrotliCompressorInputStream.java9 * http://www.apache.org/licenses/LICENSE-2.0
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 package org.apache.commons.compress.compressors.brotli;
27 import org.brotli.dec.BrotliInputStream;
30 * {@link CompressorInputStream} implementation to decode Brotli encoded stream.
31 * Library relies on <a href="https://github.com/google/brotli">Google brotli</a>
78 count(ret == -1 ? 0 : 1); in read()
Dpackage.html2 <!--
11 http://www.apache.org/licenses/LICENSE-2.0
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 -->
22 Brotli algorithm based
23 on <a href="https://github.com/google/brotli">Google's Brotli
/external/cronet/stable/third_party/brotli/common/
Dconstants.h16 #include <brotli/port.h>
17 #include <brotli/types.h>
25 /* Specification: 3.3. Alphabet sizes: insert-and-copy length */
40 /* "Large Window Brotli" */
44 * brotli, for 64-bit encoders and decoders. Even when in practice 32-bit
46 * set to 62 because it affects the large window brotli file format.
53 * The maximum supported large brotli window bits by the encoder and decoder.
54 * Large window brotli allows up to 62 bits, however the current encoder and
55 * decoder, designed for 32-bit integers, only support up to 30 bits maximum.
64 * Number of "postfix" bits is stored as 2 bits in meta-block header.
[all …]
/external/brotli/c/common/
Dconstants.h16 #include <brotli/port.h>
17 #include <brotli/types.h>
25 /* Specification: 3.3. Alphabet sizes: insert-and-copy length */
40 /* "Large Window Brotli" */
44 * brotli, for 64-bit encoders and decoders. Even when in practice 32-bit
46 * set to 62 because it affects the large window brotli file format.
53 * The maximum supported large brotli window bits by the encoder and decoder.
54 * Large window brotli allows up to 62 bits, however the current encoder and
55 * decoder, designed for 32-bit integers, only support up to 30 bits maximum.
64 * Number of "postfix" bits is stored as 2 bits in meta-block header.
[all …]
/external/cronet/tot/third_party/brotli/common/
Dconstants.h16 #include <brotli/port.h>
17 #include <brotli/types.h>
25 /* Specification: 3.3. Alphabet sizes: insert-and-copy length */
40 /* "Large Window Brotli" */
44 * brotli, for 64-bit encoders and decoders. Even when in practice 32-bit
46 * set to 62 because it affects the large window brotli file format.
53 * The maximum supported large brotli window bits by the encoder and decoder.
54 * Large window brotli allows up to 62 bits, however the current encoder and
55 * decoder, designed for 32-bit integers, only support up to 30 bits maximum.
64 * Number of "postfix" bits is stored as 2 bits in meta-block header.
[all …]
/external/sandboxed-api/contrib/brotli/example/
Dmain.cc7 // https://www.apache.org/licenses/LICENSE-2.0
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 #include "contrib/brotli/sandboxed.h"
23 #include "contrib/brotli/utils/utils_brotli.h"
24 #include "contrib/brotli/utils/utils_brotli_dec.h"
25 #include "contrib/brotli/utils/utils_brotli_enc.h"
34 return absl::UnavailableError("Unable to init brotli encoder"); in CompressInMemory()
50 return absl::UnavailableError("Unable to init brotli decoder"); in DecompressInMemory()
/external/cronet/tot/net/filter/
Dbrotli_source_stream_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
71 return brotli_stream_->Read(out_buffer(), out_data_size(), in ReadStream()
76 char* out_data() { return out_buffer_->data(); } in out_data()
77 size_t out_data_size() { return out_buffer_->size(); } in out_data_size()
100 // Basic scenario: decoding brotli data with big enough buffer.
102 source()->AddReadResult(encoded_buffer(), encoded_len(), OK, in TEST_F()
110 EXPECT_EQ("BROTLI", brotli_stream()->Description()); in TEST_F()
114 // of the bug report. For this specific example, Brotli will consume the first
118 source()->AddReadResult(reinterpret_cast<const char*>(kResponse), in TEST_F()
121 source()->AddReadResult(reinterpret_cast<const char*>(kResponse), 0, OK, in TEST_F()
[all …]
/external/cronet/stable/net/filter/
Dbrotli_source_stream_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
71 return brotli_stream_->Read(out_buffer(), out_data_size(), in ReadStream()
76 char* out_data() { return out_buffer_->data(); } in out_data()
77 size_t out_data_size() { return out_buffer_->size(); } in out_data_size()
100 // Basic scenario: decoding brotli data with big enough buffer.
102 source()->AddReadResult(encoded_buffer(), encoded_len(), OK, in TEST_F()
110 EXPECT_EQ("BROTLI", brotli_stream()->Description()); in TEST_F()
114 // of the bug report. For this specific example, Brotli will consume the first
118 source()->AddReadResult(reinterpret_cast<const char*>(kResponse), in TEST_F()
121 source()->AddReadResult(reinterpret_cast<const char*>(kResponse), 0, OK, in TEST_F()
[all …]
/external/brotli/csharp/
Dtranspile.sh2 echo -e '\033[01;31mMaven is not installed / configured.\033[00m'
7 echo -e '\033[01;31mMono platform is not installed / configured.\033[00m'
12 echo -e '\033[01;31mNuGet compiler is not installed / configured.\033[00m'
17 echo -e '\033[01;31mC# compiler is not installed / configured.\033[00m'
21 rm -rf build
25 #-------------------------------------------------------------------------------
27 echo -e '\033[01;33mFetching Sharpen sources.\033[00m'
33 #-------------------------------------------------------------------------------
35 echo -e '\n\033[01;33mCompiling Sharpen.\033[00m'
37 mvn clean package -DskipTests
[all …]
/external/cronet/tot/third_party/brotli/
DAndroid.bp7 // http://www.apache.org/licenses/LICENSE-2.0
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 // GN: Package-Artificial
24 // GN: License-Artificial
34 "SPDX-license-identifier-MIT",
38 // GN: //third_party/brotli:common
54 "-DANDROID",
55 "-DANDROID_NDK_VERSION_ROLL=r27_1",
56 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
57 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
[all …]
/external/cronet/stable/third_party/brotli/
DAndroid.bp7 // http://www.apache.org/licenses/LICENSE-2.0
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 // GN: Package-Artificial
24 // GN: License-Artificial
34 "SPDX-license-identifier-MIT",
38 // GN: //third_party/brotli:common
54 "-DANDROID",
55 "-DANDROID_NDK_VERSION_ROLL=r27_1",
56 "-DCR_CLANG_REVISION=\"llvmorg-20-init-13894-g8cb44859-1\"",
57 "-DCR_LIBCXX_REVISION=6a91009985a46122b061d36bb27f2c94f99126df",
[all …]
/external/apache-commons-compress/src/site/xdoc/
Dindex.xml2 <!--
11 http://www.apache.org/licenses/LICENSE-2.0
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 -->
31 Brotli, Zstandard, DEFLATE64 and Z files.
44 via:<br/> Ant -&gt; Avalon-Excalibur -&gt; Commons-IO
45 -&gt; Commons-Compress.</li>
58 of changes see the <a href="changes-report.html">Changes
64 using a mult-byte encoding.</li>
82 <p>Currently the bzip2, Pack200, XZ, gzip, lzma, brotli,
[all …]
/external/cronet/tot/third_party/brotli/enc/
Dencoder_dict.h12 #include <brotli/shared_dictionary.h>
13 #include <brotli/types.h>
24 -SharedEncoderDictionary
25 --CompoundDictionary
26 ---PreparedDictionary [up to 15x]
28 --ContextualEncoderDictionary
29 ---BrotliEncoderDictionary [up to 64x]
32 Dictionary hiearchy from common: similar, but without precomputed hashes
33 -BrotliSharedDictionary
34 --BrotliDictionary [up to 64x]
[all …]
Dbrotli_bit_stream.h7 /* Functions to convert brotli-related data structures into the
8 brotli bit stream. The functions here operate under
10 no out-of-range checks anywhere.
21 #include <brotli/types.h>
51 /* Stores the meta-block without doing any block splitting, just collects
72 bytes-as-bytes).
/external/cronet/stable/third_party/brotli/enc/
Dencoder_dict.h12 #include <brotli/shared_dictionary.h>
13 #include <brotli/types.h>
24 -SharedEncoderDictionary
25 --CompoundDictionary
26 ---PreparedDictionary [up to 15x]
28 --ContextualEncoderDictionary
29 ---BrotliEncoderDictionary [up to 64x]
32 Dictionary hiearchy from common: similar, but without precomputed hashes
33 -BrotliSharedDictionary
34 --BrotliDictionary [up to 64x]
[all …]
/external/brotli/docs/
Ddecode.h.31 .TH "decode.h" 3 "Thu Feb 22 2018" "Brotli" \" -*- nroff -*-
5 decode.h \- API for Brotli decompression\&.
45 .RI "\fIPerforms one-shot memory-to-memory decompression\&. \fP"
57 .RI "\fIConverts error code to a c-string\&. \fP"
89 API for Brotli decompression\&.
100 // Log Brotli error code\&.
110 default: LOG(FATAL) << "unknown brotli error code";
119 … in the range from \fBBROTLI_LAST_ERROR_CODE\fP to \fC-1\fP\&. There are also 4 other possible non
148 Flag that determines if 'Large Window Brotli' is used\&.
175-zero\&. In the case they are both zero, default memory allocators are used\&. \fCopaque\fP is pas…
[all …]
/external/sandboxed-api/contrib/brotli/test/
Dbrotli_test.cc7 // https://www.apache.org/licenses/LICENSE-2.0
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 #include "contrib/brotli/sandboxed.h"
20 #include "contrib/brotli/utils/utils_brotli.h"
21 #include "contrib/brotli/utils/utils_brotli_dec.h"
22 #include "contrib/brotli/utils/utils_brotli_enc.h"
49 ASSERT_THAT(sandbox_.get()->Init(), IsOk()); in SetUp()
52 ASSERT_TRUE(enc_.get()->IsInit()); in SetUp()
55 ASSERT_TRUE(dec_.get()->IsInit()); in SetUp()
62 ASSERT_THAT(enc_.get()->SetParameter(BROTLI_PARAM_QUALITY, 5), IsOk()); in TEST_F()
[all …]
/external/brotli/c/enc/
Dbrotli_bit_stream.h7 /* Functions to convert brotli-related data structures into the
8 brotli bit stream. The functions here operate under
10 no out-of-range checks anywhere.
21 #include <brotli/types.h>
51 /* Stores the meta-block without doing any block splitting, just collects
72 bytes-as-bytes).

1234567