/external/guava/guava/src/com/google/common/io/ |
D | BaseEncoding.java | 568 final Alphabet alphabet; 576 StandardBaseEncoding(Alphabet alphabet, @Nullable Character paddingChar) { 577 this.alphabet = checkNotNull(alphabet); 579 paddingChar == null || !alphabet.matches(paddingChar), 587 return alphabet.charsPerChunk * divide(bytes, alphabet.bytesPerChunk, CEILING); 604 while (bitBufferLength >= alphabet.bitsPerChar) { 605 int charIndex = (bitBuffer >> (bitBufferLength - alphabet.bitsPerChar)) & alphabet.mask; 606 out.write(alphabet.encode(charIndex)); 608 bitBufferLength -= alphabet.bitsPerChar; 620 int charIndex = (bitBuffer << (alphabet.bitsPerChar - bitBufferLength)) & alphabet.mask; [all …]
|
/external/guava/android/guava/src/com/google/common/io/ |
D | BaseEncoding.java | 568 final Alphabet alphabet; 576 StandardBaseEncoding(Alphabet alphabet, @NullableDecl Character paddingChar) { 577 this.alphabet = checkNotNull(alphabet); 579 paddingChar == null || !alphabet.matches(paddingChar), 587 return alphabet.charsPerChunk * divide(bytes, alphabet.bytesPerChunk, CEILING); 604 while (bitBufferLength >= alphabet.bitsPerChar) { 605 int charIndex = (bitBuffer >> (bitBufferLength - alphabet.bitsPerChar)) & alphabet.mask; 606 out.write(alphabet.encode(charIndex)); 608 bitBufferLength -= alphabet.bitsPerChar; 620 int charIndex = (bitBuffer << (alphabet.bitsPerChar - bitBufferLength)) & alphabet.mask; [all …]
|
/external/puffin/src/ |
D | huffman_table.h | 80 inline bool CodeAlphabet(uint32_t bits, uint16_t* alphabet, size_t* nbits) { in CodeAlphabet() argument 83 *alphabet = hc & 0x7FFF; in CodeAlphabet() 84 *nbits = code_lens_[*alphabet]; in CodeAlphabet() 95 inline bool LitLenAlphabet(uint32_t bits, uint16_t* alphabet, size_t* nbits) { in LitLenAlphabet() argument 98 *alphabet = hc & 0x7FFF; in LitLenAlphabet() 99 *nbits = lit_len_lens_[*alphabet]; in LitLenAlphabet() 111 uint16_t* alphabet, in DistanceAlphabet() argument 115 *alphabet = hc & 0x7FFF; in DistanceAlphabet() 116 *nbits = distance_lens_[*alphabet]; in DistanceAlphabet() 126 inline bool CodeHuffman(uint16_t alphabet, uint16_t* huffman, size_t* nbits) { in CodeHuffman() argument [all …]
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | bin_encoder.cc | 28 static const char alphabet[] = variable 63 out[0] = alphabet[in[0] >> 2]; in grpc_chttp2_base64_encode() 64 out[1] = alphabet[((in[0] & 0x3) << 4) | (in[1] >> 4)]; in grpc_chttp2_base64_encode() 65 out[2] = alphabet[((in[1] & 0xf) << 2) | (in[2] >> 6)]; in grpc_chttp2_base64_encode() 66 out[3] = alphabet[in[2] & 0x3f]; in grpc_chttp2_base64_encode() 76 out[0] = alphabet[in[0] >> 2]; in grpc_chttp2_base64_encode() 77 out[1] = alphabet[(in[0] & 0x3) << 4]; in grpc_chttp2_base64_encode() 82 out[0] = alphabet[in[0] >> 2]; in grpc_chttp2_base64_encode() 83 out[1] = alphabet[((in[0] & 0x3) << 4) | (in[1] >> 4)]; in grpc_chttp2_base64_encode() 84 out[2] = alphabet[(in[1] & 0xf) << 2]; in grpc_chttp2_base64_encode()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/ |
D | bin_encoder.cc | 28 static const char alphabet[] = variable 62 out[0] = alphabet[in[0] >> 2]; in grpc_chttp2_base64_encode() 63 out[1] = alphabet[((in[0] & 0x3) << 4) | (in[1] >> 4)]; in grpc_chttp2_base64_encode() 64 out[2] = alphabet[((in[1] & 0xf) << 2) | (in[2] >> 6)]; in grpc_chttp2_base64_encode() 65 out[3] = alphabet[in[2] & 0x3f]; in grpc_chttp2_base64_encode() 75 out[0] = alphabet[in[0] >> 2]; in grpc_chttp2_base64_encode() 76 out[1] = alphabet[(in[0] & 0x3) << 4]; in grpc_chttp2_base64_encode() 81 out[0] = alphabet[in[0] >> 2]; in grpc_chttp2_base64_encode() 82 out[1] = alphabet[((in[0] & 0x3) << 4) | (in[1] >> 4)]; in grpc_chttp2_base64_encode() 83 out[2] = alphabet[(in[1] & 0xf) << 2]; in grpc_chttp2_base64_encode()
|
/external/python/cpython2/Doc/library/ |
D | base64.rst | 22 well as strings, but only using the Base64 standard alphabet. 33 alphabet for the ``+`` and ``/`` characters. This allows an application to e.g. 35 which the standard Base64 alphabet is used. 46 alphabet used instead of the ``+`` and ``/`` characters. 50 in the normal base-64 alphabet nor the alternative alphabet are 56 Encode string *s* using the standard Base64 alphabet. 61 Decode string *s* using the standard Base64 alphabet. 67 alphabet, which substitutes ``-`` instead of 68 ``+`` and ``_`` instead of ``/`` in the standard Base64 alphabet. The result 75 alphabet, which substitutes ``-`` instead of [all …]
|
/external/icing/icing/testing/ |
D | random-string.h | 28 std::string RandomString(const std::string_view alphabet, size_t len, in RandomString() argument 30 std::uniform_int_distribution<size_t> uniform(0u, alphabet.size() - 1); in RandomString() 34 [&gen, &alphabet, &uniform]() { return alphabet[uniform(*gen)]; }); in RandomString()
|
/external/skia/docs/examples/ |
D | Canvas_drawTextRSXform.cpp | 9 char alphabet[iterations]; in draw() local 18 alphabet[i] = 'A' + i; in draw() 22 auto spiral = SkTextBlob::MakeFromRSXform(alphabet, sizeof(alphabet), transforms, font); in draw()
|
/external/puffin/ |
D | README.md | 14 alphabet. Huffman codes can be created uniquely using Huffman code length 18 alphabet. Throughout the code, Huffman code arrays are identified by 21 alphabet and the array element in that index contains the Huffman code of 22 the alphabet. Throughout the code, The Huffman reverse code arrays are 26 index as the alphabet. Throughout the code, Huffman code length arrays
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/testing/ |
D | random_test.cc | 26 const std::vector<std::string>& alphabet, in RandomTest() argument 39 ExhaustiveTester t(maxatoms, maxops, alphabet, ops, in RandomTest() 97 std::vector<std::string> alphabet = Explode("abc123\001\002\003\t\r\n\v\f\a"); in TEST() local 98 RandomTest(10, 10, atoms, ops, 20, alphabet, ""); in TEST()
|
D | string_generator_test.cc | 34 static void RunTest(int len, const std::string& alphabet, bool donull) { in RunTest() argument 35 StringGenerator g(len, Explode(alphabet)); in RunTest() 57 EXPECT_TRUE(utfrune(alphabet.c_str(), r) != NULL); in RunTest() 74 int alpha = utflen(alphabet.c_str()); in RunTest()
|
D | exhaustive2_test.cc | 26 std::vector<std::string> alphabet = Explode("()*+?{}[]\\^$."); in TEST() local 27 std::vector<std::string> escaped = alphabet; in TEST() 31 2, alphabet, "", ""); in TEST()
|
D | exhaustive_tester.h | 45 const std::vector<std::string>& alphabet, in ExhaustiveTester() argument 51 : RegexpGenerator(maxatoms, maxops, alphabet, ops), in ExhaustiveTester() 90 const std::vector<std::string>& alphabet, 99 void EgrepTest(int maxatoms, int maxops, const std::string& alphabet,
|
D | exhaustive_tester.cc | 148 const std::vector<std::string>& alphabet, in ExhaustiveTest() argument 162 ExhaustiveTester t(maxatoms, maxops, alphabet, ops, in ExhaustiveTest() 175 void EgrepTest(int maxatoms, int maxops, const std::string& alphabet, in EgrepTest() argument 182 Split("", alphabet), in EgrepTest()
|
/external/python/cpython3/Doc/library/ |
D | base64.rst | 35 <file object>`. It only supports the Base64 standard alphabet, and it adds 58 alphabet for the ``+`` and ``/`` characters. This allows an application to e.g. 60 which the standard Base64 alphabet is used. 70 alternative alphabet used instead of the ``+`` and ``/`` characters. 76 in the normal base-64 alphabet nor the alternative alphabet are 78 these non-alphabet characters in the input result in a 84 Encode :term:`bytes-like object` *s* using the standard Base64 alphabet 91 Base64 alphabet and return the decoded :class:`bytes`. 97 URL- and filesystem-safe alphabet, which 99 standard Base64 alphabet, and return the encoded :class:`bytes`. The result [all …]
|
/external/grpc-grpc/tools/codegen/core/ |
D | gen_hpack_tables.cc | 314 static const char alphabet[] = in generate_base64_huff_encoder_table() local 322 printf("{0x%x, %d},", grpc_chttp2_huffsyms[(unsigned char)alphabet[i]].bits, in generate_base64_huff_encoder_table() 323 grpc_chttp2_huffsyms[(unsigned char)alphabet[i]].length); in generate_base64_huff_encoder_table() 329 static const char alphabet[] = in generate_base64_inverse_table() local 335 for (i = 0; i < strlen(alphabet); i++) { in generate_base64_inverse_table() 336 inverse[(unsigned char)alphabet[i]] = (unsigned char)i; in generate_base64_inverse_table()
|
/external/rust/crates/grpcio-sys/grpc/tools/codegen/core/ |
D | gen_hpack_tables.cc | 314 static const char alphabet[] = in generate_base64_huff_encoder_table() local 322 printf("{0x%x, %d},", grpc_chttp2_huffsyms[(unsigned char)alphabet[i]].bits, in generate_base64_huff_encoder_table() 323 grpc_chttp2_huffsyms[(unsigned char)alphabet[i]].length); in generate_base64_huff_encoder_table() 329 static const char alphabet[] = in generate_base64_inverse_table() local 335 for (i = 0; i < strlen(alphabet); i++) { in generate_base64_inverse_table() 336 inverse[(unsigned char)alphabet[i]] = (unsigned char)i; in generate_base64_inverse_table()
|
/external/brotli/research/ |
D | brotlidump.py | 1424 def readPrefixCode(self, alphabet): argument 1430 mode, numberOfSymbols = self.verboseRead(PrefixCodeHeader(alphabet.name)) 1433 self.readComplexCode(numberOfSymbols, alphabet) 1434 return alphabet 1444 alphabet.__class__.mnemonic(alphabet, index) 1446 alphabet.mnemonic = myMnemonic 1448 table.append(self.verboseRead(alphabet, skipExtra=True).index) 1450 del alphabet.mnemonic 1455 alphabet.setLength(dict(zip(table, lengths))) 1456 return alphabet [all …]
|
/external/icu/icu4c/source/data/translit/ |
D | ka_ka_Latn_BGN_1981.txt | 13 # names written in the Georgian alphabet. The alphabet shown here is 14 # known as the Mkhedruli alphabet and is the alphabet presently
|
/external/python/pyasn1/docs/source/pyasn1/type/constraint/ |
D | permittedalphabet.rst | 6 Permitted alphabet constraint 9 .. autoclass:: pyasn1.type.constraint.PermittedAlphabetConstraint(*alphabet)
|
/external/ltp/testcases/network/nfsv4/acl/ |
D | setacl_stress.py | 14 alphabet='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789_-()' variable 15 t_alphabet=len(alphabet)
|
D | test_long_acl.py | 14 alphabet='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789_-() ~' variable 15 t_alphabet=len(alphabet)
|
D | random_gen.py | 6 alphabet = 'azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN123456789-_' variable 7 a_length = len(alphabet) 157 outputString =outputString + alphabet[a] 165 outputString = outputString + alphabet[a]
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateEnglishChanged.java | 113 UnicodeSet alphabet = new UnicodeSet(); in main() local 115 alphabet.addAll(attrValue); in main() 118 … String compressed = MinimizeRegex.compressWith(attrValues, alphabet);// (attrValues, alphabet); in main()
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | Benchmark.java | 210 String alphabet = "-abcdefghijklmnopqrstuvwxyz"; in randomString() local 213 result[i] = alphabet.charAt(random.nextInt(alphabet.length())); in randomString()
|