Home
last modified time | relevance | path

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

12345678910>>...14

/external/brotli/
DREADME.md1 <p align="center"><img src="https://brotli.org/brotli.svg" alt="Brotli" width="64"></p>
5 Please consider updating brotli to version 1.0.9 (latest).
7-shot" decoding API is used (or input chunk for streaming API is not limited), input size (chunk s…
11 Brotli is a generic-purpose lossless compression algorithm that compresses data
13 and 2nd order context modeling, with a compression ratio comparable to the best
14 currently available general-purpose compression methods. It is similar in speed
15 with deflate but offers more dense compression.
17 The specification of the Brotli Compressed Data Format is defined in [RFC 7932](https://tools.ietf.…
19 Brotli is open-sourced under the MIT License, see the LICENSE file.
21 Brotli mailing list:
[all …]
DREADME1 BROTLI DATA COMPRESSION LIBRARY
3 Brotli is a generic-purpose lossless compression algorithm that compresses data
5 and 2nd order context modeling, with a compression ratio comparable to the best
6 currently available general-purpose compression methods. It is similar in speed
7 with deflate but offers more dense compression.
9 The specification of the Brotli Compressed Data Format is defined in RFC 7932
12 Brotli is open-sourced under the MIT License, see the LICENSE file.
14 Brotli mailing list:
15 https://groups.google.com/forum/#!forum/brotli
DAndroid.bp4 // you may not use this file except in compliance with the License.
7 // http://www.apache.org/licenses/LICENSE-2.0
20 // Added automatically by a large-scale-change that took the approach of
30 // For unused files, consider creating a 'fileGroup' with "//visibility:private"
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",
[all …]
/external/cronet/tot/third_party/brotli/
DREADME.md1 <p align="center"><img src="https://brotli.org/brotli.svg" alt="Brotli" width="64"></p>
5 Brotli is a generic-purpose lossless compression algorithm that compresses data
7 and 2nd order context modeling, with a compression ratio comparable to the best
8 currently available general-purpose compression methods. It is similar in speed
9 with deflate but offers more dense compression.
11 The specification of the Brotli Compressed Data Format is defined in [RFC 7932](https://tools.ietf.…
13 Brotli is open-sourced under the MIT License, see the LICENSE file.
15 Brotli mailing list:
16 https://groups.google.com/forum/#!forum/brotli
18 …[TravisCI Build Status](https://travis-ci.org/google/brotli.svg?branch=master)](https://travis-ci.…
[all …]
DREADME.chromium1 Name: Brotli
2 URL: https://github.com/google/brotli
11 Brotli is a generic byte-level compression algorithm that is used at the
12 byte-compression level in WOFF 2.0 font file format. This library is used
13 to decode WOFF 2.0 fonts and "Content-Encoding: br" responses.
15 Some speed measurements to compare with //third_party/zlib were taken:
16 https://docs.google.com/spreadsheets/d/1As6Sf03o8adulBH03RzIc0Ei_jNhcKXWArNsTQKk-8M/edit?usp=sharing
17 At low compression levels, brotli is faster at compressing than zlib. At
18 higher compression levels, brotli or zlib can be faster at compressing,
19 depending on the data being compressed. At all compression levels, brotli
[all …]
/external/cronet/stable/third_party/brotli/
DREADME.md1 <p align="center"><img src="https://brotli.org/brotli.svg" alt="Brotli" width="64"></p>
5 Brotli is a generic-purpose lossless compression algorithm that compresses data
7 and 2nd order context modeling, with a compression ratio comparable to the best
8 currently available general-purpose compression methods. It is similar in speed
9 with deflate but offers more dense compression.
11 The specification of the Brotli Compressed Data Format is defined in [RFC 7932](https://tools.ietf.…
13 Brotli is open-sourced under the MIT License, see the LICENSE file.
15 Brotli mailing list:
16 https://groups.google.com/forum/#!forum/brotli
18 …[TravisCI Build Status](https://travis-ci.org/google/brotli.svg?branch=master)](https://travis-ci.…
[all …]
DREADME.chromium1 Name: Brotli
2 URL: https://github.com/google/brotli
11 Brotli is a generic byte-level compression algorithm that is used at the
12 byte-compression level in WOFF 2.0 font file format. This library is used
13 to decode WOFF 2.0 fonts and "Content-Encoding: br" responses.
15 Some speed measurements to compare with //third_party/zlib were taken:
16 https://docs.google.com/spreadsheets/d/1As6Sf03o8adulBH03RzIc0Ei_jNhcKXWArNsTQKk-8M/edit?usp=sharing
17 At low compression levels, brotli is faster at compressing than zlib. At
18 higher compression levels, brotli or zlib can be faster at compressing,
19 depending on the data being compressed. At all compression levels, brotli
[all …]
/external/brotli/docs/
Dbrotli.11 .TH "BROTLI" "1" "February 2018" "brotli 1.0.0" "User commands"
3 \fBbrotli\fR \- brotli, unbrotli \- compress or decompress files
6 \fBbrotli\fP [\fIOPTION|FILE\fR]\.\.\.
8 \fBunbrotli\fP is equivalent to \fBbrotli \-\-decompress\fP
11 \fBbrotli\fP is a generic\-purpose lossless compression algorithm that compresses
13 coding and 2\-nd order context modeling, with a compression ratio comparable to
14 the best currently available general\-purpose compression methods\. It is similar
15 in speed with deflate but offers more dense compression\.
17 \fBbrotli\fP command line syntax similar to \fBgzip (1)\fP and \fBzstd (1)\fP\|\.
19 remove them after processing by using the \fB\-\-rm\fP \fIoption\fR\|\.
[all …]
/external/brotli/c/tools/
Dbrotli.md1 brotli(1) -- brotli, unbrotli - compress or decompress files
5 --------
7 `brotli` [*OPTION|FILE*]...
9 `unbrotli` is equivalent to `brotli --decompress`
12 -----------
13 `brotli` is a generic-purpose lossless compression algorithm that compresses
15 coding and 2-nd order context modeling, with a compression ratio comparable to
16 the best currently available general-purpose compression methods. It is similar
17 in speed with deflate but offers more dense compression.
19 `brotli` command line syntax similar to `gzip (1)` and `zstd (1)`.
[all …]
/external/cronet/tot/third_party/brotli/tools/
Dbrotli.md1 brotli(1) -- brotli, unbrotli - compress or decompress files
5 --------
7 `brotli` [*OPTION|FILE*]...
9 `unbrotli` is equivalent to `brotli --decompress`
12 -----------
13 `brotli` is a generic-purpose lossless compression algorithm that compresses
15 coding and 2-nd order context modeling, with a compression ratio comparable to
16 the best currently available general-purpose compression methods. It is similar
17 in speed with deflate but offers more dense compression.
19 `brotli` command line syntax similar to `gzip (1)` and `zstd (1)`.
[all …]
/external/cronet/stable/third_party/brotli/tools/
Dbrotli.md1 brotli(1) -- brotli, unbrotli - compress or decompress files
5 --------
7 `brotli` [*OPTION|FILE*]...
9 `unbrotli` is equivalent to `brotli --decompress`
12 -----------
13 `brotli` is a generic-purpose lossless compression algorithm that compresses
15 coding and 2-nd order context modeling, with a compression ratio comparable to
16 the best currently available general-purpose compression methods. It is similar
17 in speed with deflate but offers more dense compression.
19 `brotli` command line syntax similar to `gzip (1)` and `zstd (1)`.
[all …]
/external/brotli/csharp/org/brotli/dec/
DTransform.cs6 namespace Org.Brotli.Dec
34Brotli.Dec.Transform[] Transforms = new Org.Brotli.Dec.Transform[] { new Org.Brotli.Dec.Transform(…
35Brotli.Dec.WordTransformType.Identity, " "), new Org.Brotli.Dec.Transform(" ", Org.Brotli.Dec.Word…
36Brotli.Dec.WordTransformType.UppercaseFirst, " "), new Org.Brotli.Dec.Transform(string.Empty, Org.
37Brotli.Dec.Transform("s ", Org.Brotli.Dec.WordTransformType.Identity, " "), new Org.Brotli.Dec.Tra…
38Brotli.Dec.Transform(string.Empty, Org.Brotli.Dec.WordTransformType.Identity, " and "), new Org.Br…
39Brotli.Dec.WordTransformType.OmitLast1, string.Empty), new Org.Brotli.Dec.Transform(", ", Org.Brot…
40Brotli.Dec.Transform(" ", Org.Brotli.Dec.WordTransformType.UppercaseFirst, " "), new Org.Brotli.De…
41Brotli.Dec.Transform("e ", Org.Brotli.Dec.WordTransformType.Identity, " "), new Org.Brotli.Dec.Tra…
42Brotli.Dec.WordTransformType.Identity, "."), new Org.Brotli.Dec.Transform(string.Empty, Org.Brotli
[all …]
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 …]
DBitReader.cs6 namespace Org.Brotli.Dec
12 /// Input byte buffer, consist of a ring-buffer and a "slack" region where bytes from the start of
13 /// the ring-buffer are copied.
29 private readonly Org.Brotli.Dec.IntReader intReader = new Org.Brotli.Dec.IntReader();
36 /// <summary>Pre-fetched bits.</summary>
39 /// <summary>Current bit-reading position in accumulator.</summary>
51 /// <p> No-op if there are at least 36 bytes present after current position.
55 internal static void ReadMoreInput(Org.Brotli.Dec.BitReader br) in ReadMoreInput()
58 if (br.intOffset <= Capacity - 9) in ReadMoreInput()
64 if (IntAvailable(br) >= -2) in ReadMoreInput()
[all …]
DBrotliInputStream.cs6 namespace Org.Brotli.Dec
10 /// decorator that decompresses brotli data.
11 /// <p> Not thread-safe.
17 /// <summary>Internal buffer used for efficient byte-by-byte reading.</summary>
27 private readonly Org.Brotli.Dec.State state = new Org.Brotli.Dec.State();
32 /// wrapper that decompresses brotli data.
33 /// <p> For byte-by-byte reading (
35 /// ) internal buffer with
50 /// wrapper that decompresses brotli data.
51 /// <p> For byte-by-byte reading (
[all …]
/external/brotli/fetch-spec/
Dshared-brotli-fetch-spec.txt5 This document is a draft proposal for Shard Brotli dictionaries in the fetch spec
8 The goal is to add support for custom dictionaries for Brotli. A dictionary is used
10 use it to decompress resources compressed with this dictionary.
14 with a URL of the dictionary. The browser downloads the dictionary from the URL and
17 mechanisms are used. A dictionary can be a pre-made static dictionary, but does not
21 Below are changes and additions to add Shared Brotli dictionaries to the fetch spec
24 Additions to `4.5. HTTP-network-or-cache fetch`
28 If the recursive-sbr flag is enabled, `Accept-Encoding` may not contain `sbr`
29 [NOTE-BOX] When sbr can be used, it is possible to add a header Available-Dict
30 with the URL and hash code of a cached resource. The server may then use it as
[all …]
/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/python/tests/
Dcompressor_test.py1 # Copyright 2016 The Brotli Authors. All rights reserved.
10 import brotli
28 with open(temp_uncompressed, 'wb') as out_file:
29 with open(temp_compressed, 'rb') as in_file:
30 out_file.write(brotli.decompress(in_file.read()))
34 # Write single-shot compression to temp file.
36 with open(temp_compressed, 'wb') as out_file:
37 with open(test_data, 'rb') as in_file:
45 with open(temp_compressed, 'wb') as out_file:
46 with open(test_data, 'rb') as in_file:
[all …]
/external/sandboxed-api/contrib/brotli/
DCMakeLists.txt4 # you may not use this file except in compliance with the License.
7 # https://www.apache.org/licenses/LICENSE-2.0
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 …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/brotli/
DBrotliCompressorInputStreamTest.java3 * contributor license agreements. See the NOTICE file distributed with
6 * (the "License"); you may not use this file except in compliance with
9 * http://www.apache.org/licenses/LICENSE-2.0
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()
[all …]
/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/brotli/python/
Dbro.py2 """Compression/decompression utility using the Brotli algorithm."""
10 import brotli
14 'mode': brotli.MODE_GENERIC,
36 # this works with CPython -- untested on other implementations
54 '--version', action='version', version=brotli.__version__)
56 '-i',
57 '--input',
64 '-o',
65 '--output',
72 '-f',
[all …]

12345678910>>...14