| /external/brotli/csharp/org/brotli/dec/ |
| D | State.cs | 6 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/sandboxed-api/contrib/brotli/ |
| D | CMakeLists.txt | 7 # 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 …]
|
| D | brotli.gen.h.in | 7 // 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/ |
| D | Android.bp | 7 // 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/ |
| D | BrotliCompressorInputStreamTest.java | 9 * 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/ |
| D | BrotliUtils.java | 10 * 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.
|
| D | BrotliCompressorInputStream.java | 9 * 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()
|
| D | package.html | 2 <!-- 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/third_party/brotli/common/ |
| D | constants.h | 16 #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/ |
| D | constants.h | 16 #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/oss-fuzz/projects/brunsli/ |
| D | build.sh | 1 #!/bin/bash -eu 8 # http://www.apache.org/licenses/LICENSE-2.0 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 cmake . -DBUILD_TESTING=OFF 20 make -j$(nproc) brunslidec-static 24 $CXX $CXXFLAGS -std=c++11 -I./c/include c/tests/fuzz_decode.cc \ 25 -o $OUT/fuzz_decode $LIB_FUZZING_ENGINE \ 26 ./artifacts/libbrunslidec-static.a ./artifacts/libbrunslicommon-static.a \ 27 ./third_party/brotli/libbrotlidec-static.a \ 28 ./third_party/brotli/libbrotlicommon-static.a [all …]
|
| /external/oss-fuzz/projects/woff2/ |
| D | build.sh | 1 #!/bin/bash -eu 8 # http://www.apache.org/licenses/LICENSE-2.0 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 # '-no-canonical-prefixes' flag makes clang crazy. Need to avoid it. 20 cat brotli/shared.mk | sed -e "s/-no-canonical-prefixes//" \ 21 > brotli/shared.mk.temp 22 mv brotli/shared.mk.temp brotli/shared.mk 26 make -j$(nproc) CC="$CC $CFLAGS" CXX="$CXX $CXXFLAGS" CANONICAL_PREFIXES= all \ 33 -o $OUT/$fuzzer_name 34 zip -q $OUT/${fuzzer_name}_seed_corpus.zip $SRC/corpus/*
|
| /external/cronet/net/filter/ |
| D | brotli_source_stream_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 66 return brotli_stream_->Read(out_buffer(), out_data_size(), in ReadStream() 71 char* out_data() { return out_buffer_->data(); } in out_data() 72 size_t out_data_size() { return out_buffer_->size(); } in out_data_size() 95 // Basic scenario: decoding brotli data with big enough buffer. 97 source()->AddReadResult(encoded_buffer(), encoded_len(), OK, in TEST_F() 105 EXPECT_EQ("BROTLI", brotli_stream()->Description()); in TEST_F() 109 // of the bug report. For this specific example, Brotli will consume the first 113 source()->AddReadResult(reinterpret_cast<const char*>(kResponse), in TEST_F() 116 source()->AddReadResult(reinterpret_cast<const char*>(kResponse), 0, OK, in TEST_F() [all …]
|
| /external/sandboxed-api/contrib/brotli/example/ |
| D | main.cc | 7 // 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/brotli/csharp/ |
| D | transpile.sh | 2 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/apache-commons-compress/src/site/xdoc/ |
| D | index.xml | 2 <!-- 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 -> Avalon-Excalibur -> Commons-IO 45 -> 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/brotli/docs/ |
| D | decode.h.3 | 1 .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 …]
|
| D | encode.h.3 | 1 .TH "encode.h" 3 "Thu Feb 22 2018" "Brotli" \" -*- nroff -*- 5 encode.h \- API for Brotli compression\&. 28 .RI "\fIMaximal value for \fBBROTLI_PARAM_LGWIN\fP parameter in 'Large Window Brotli' (32-bit)\&. \… 81 .RI "\fIPerforms one-shot memory-to-memory compression\&. \fP" 121 API for Brotli compression\&. 201 Compression mode for UTF-8 formatted text input\&. 239 …Brotli: neither encoder, nor decoder processes this data or relies on it\&. It may be used to pass… 253 Stream is soft-flushed before metadata block is emitted\&. Metadata block \fBMUST\fP be no longer t… 266 The main compression speed-density lever\&. The higher the quality, the slower the compression\&. R… 271 Window size is \fC(1 << value) - 16\fP\&. [all …]
|
| /external/cronet/third_party/brotli/enc/ |
| D | encoder_dict.h | 12 #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 …]
|
| D | brotli_bit_stream.h | 7 /* 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/sandboxed-api/contrib/brotli/test/ |
| D | brotli_test.cc | 7 // 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/curl/CMake/ |
| D | FindBrotli.cmake | 18 # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY 21 # SPDX-License-Identifier: curl 26 find_path(BROTLI_INCLUDE_DIR "brotli/decode.h") 31 find_package_handle_standard_args(Brotli 39 "Could NOT find Brotli"
|
| /external/brotli/c/enc/ |
| D | brotli_bit_stream.h | 7 /* 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/third_party/brotli/include/brotli/ |
| D | encode.h | 9 * API for Brotli compression. 15 #include <brotli/port.h> 16 #include <brotli/shared_dictionary.h> 17 #include <brotli/types.h> 33 * in "Large Window Brotli" (32-bit). 54 /** Compression mode for UTF-8 formatted text input. */ 114 * Metadata is opaque to Brotli: neither encoder, nor decoder processes this 116 * encoder client to decoder client without interfering with main data stream. 128 * Stream is soft-flushed before metadata block is emitted. Metadata block 143 * The main compression speed-density lever. [all …]
|
| /external/curl/docs/libcurl/opts/ |
| D | CURLOPT_ACCEPT_ENCODING.md | 1 --- 3 SPDX-License-Identifier: curl 7 See-also: 8 - CURLOPT_HTTPHEADER (3) 9 - CURLOPT_HTTP_CONTENT_DECODING (3) 10 - CURLOPT_TRANSFER_ENCODING (3) 12 - HTTP 13 --- 17 CURLOPT_ACCEPT_ENCODING - automatic decompression of HTTP downloads 31 Sets the contents of the Accept-Encoding: header sent in an HTTP request, and [all …]
|