Home
last modified time | relevance | path

Searched refs:alphabet (Results 1 – 25 of 157) sorted by relevance

1234567

/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dbin_encoder.cc28 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()
/third_party/boost/libs/test/example/
Dunit_test_example_12.cpp49 explicit hash_function( std::string const& alphabet ) in hash_function() argument
50 : m_alphabet( alphabet ) in hash_function()
123 explicit hash_function_tester( std::string const& alphabet ) in hash_function_tester() argument
124 : m_function_under_test( alphabet ) {} in hash_function_tester()
146 std::string alphabet; in massive_hash_function_test() local
148 std::cin >> alphabet; in massive_hash_function_test()
150 boost::shared_ptr<hash_function_tester> instance( new hash_function_tester( alphabet ) ); in massive_hash_function_test()
/third_party/skia/docs/examples/
DCanvas_drawTextRSXform.cpp9 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()
/third_party/flutter/skia/docs/examples/
DCanvas_drawTextRSXform.cpp9 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()
/third_party/boost/libs/graph/doc/
Djwebfrob.pl11 $alphabet = "\@abcdefghijklmnopqrstuvwxyz";
48 $saved_full = "$1".substr($alphabet,$counter,1)."$3$4$5\n";
54 print "$1".substr($alphabet,$counter,1)."$3$4$5\n";
/third_party/re2/re2/testing/
Drandom_test.cc26 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()
Dstring_generator_test.cc34 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()
Dexhaustive2_test.cc26 std::vector<std::string> alphabet = Explode("()*+?{}[]\\^$."); in TEST() local
27 std::vector<std::string> escaped = alphabet; in TEST()
31 2, alphabet, "", ""); in TEST()
Dexhaustive_tester.h45 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,
Dexhaustive_tester.cc148 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()
Dstring_generator.cc21 const std::vector<std::string>& alphabet) in StringGenerator() argument
22 : maxlen_(maxlen), alphabet_(alphabet), in StringGenerator()
/third_party/python/Doc/library/
Dbase64.rst35 <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 …]
/third_party/grpc/tools/codegen/core/
Dgen_hpack_tables.cc314 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()
/third_party/python/Lib/
Dbase64.py165 def _b32encode(alphabet, s): argument
169 if alphabet not in _b32tab2:
170 b32tab = [bytes((i,)) for i in alphabet]
171 _b32tab2[alphabet] = [a + b for a in b32tab for b in b32tab]
182 b32tab2 = _b32tab2[alphabet]
201 def _b32decode(alphabet, s, casefold=False, map01=None): argument
205 if alphabet not in _b32rev:
206 _b32rev[alphabet] = {v: k for k, v in enumerate(alphabet)}
227 b32rev = _b32rev[alphabet]
/third_party/skia/third_party/externals/brotli/research/
Dbrotlidump.py1424 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 …]
/third_party/flutter/skia/third_party/externals/icu/source/data/translit/
Dka_ka_Latn_BGN_1981.txt12 # names written in the Georgian alphabet. The alphabet shown here is
13 # known as the Mkhedruli alphabet and is the alphabet presently
Daz_Cyrl_az_BGN.txt13 # Azerbaijani government adopted a Roman alphabet to replace the
14 # existing Cyrillic alphabet. The Azerbaijani Cyrillic alphabet
15 # contains nine letters not present in the Russian alphabet:
/third_party/skia/third_party/externals/icu/source/data/translit/
Dka_ka_Latn_BGN_1981.txt13 # names written in the Georgian alphabet. The alphabet shown here is
14 # known as the Mkhedruli alphabet and is the alphabet presently
/third_party/icu/icu4c/source/data/translit/
Dka_ka_Latn_BGN_1981.txt13 # names written in the Georgian alphabet. The alphabet shown here is
14 # known as the Mkhedruli alphabet and is the alphabet presently
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/
DHyphenator.cpp352 const AlphabetTable0* alphabet = header->alphabetTable0(); in alphabetLookup() local
353 uint32_t min_codepoint = alphabet->min_codepoint; in alphabetLookup()
354 uint32_t max_codepoint = alphabet->max_codepoint; in alphabetLookup()
361 uint8_t code = alphabet->data[c - min_codepoint]; in alphabetLookup()
373 const AlphabetTable1* alphabet = header->alphabetTable1(); in alphabetLookup() local
374 size_t n_entries = alphabet->n_entries; in alphabetLookup()
375 const uint32_t* begin = alphabet->data; in alphabetLookup()
/third_party/ltp/testcases/network/nfsv4/acl/
Dsetacl_stress.py14 alphabet='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789_-()' variable
15 t_alphabet=len(alphabet)
Dtest_long_acl.py14 alphabet='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ123456789_-() ~' variable
15 t_alphabet=len(alphabet)
Drandom_gen.py6 alphabet = 'azertyuiopqsdfghjklmwxcvbnAZERTYUIOPQSDFGHJKLMWXCVBN123456789-_' variable
7 a_length = len(alphabet)
157 outputString =outputString + alphabet[a]
165 outputString = outputString + alphabet[a]
/third_party/libuv/src/
Didna.c107 static const char alphabet[] = "abcdefghijklmnopqrstuvwxyz0123456789"; in uv__idna_toascii_label() local
236 *(*d)++ = alphabet[t]; in uv__idna_toascii_label()
240 *(*d)++ = alphabet[q]; in uv__idna_toascii_label()
/third_party/boost/libs/beast/test/bench/zlib/
Ddeflate_stream.cpp33 static std::string const alphabet{ in corpus1() local
40 0, alphabet.size() - 1}; in corpus1()
46 auto const ch = alphabet[d0(g)]; in corpus1()

1234567