HomeSort by: relevance | last modified time | path
    Searched refs:Base64 (Results 1 - 14 of 14) sorted by relevancy

  /src/external/bsd/nsd/dist/compat/
b64_ntop.c 58 static const char Base64[] =
75 of which is translated into a single digit in the base64 alphabet.
81 Table 1: The Base64 Alphabet
109 Since all base64 input is an integral number of octets, only the
149 target[datalength++] = Base64[output[0]];
150 target[datalength++] = Base64[output[1]];
151 target[datalength++] = Base64[output[2]];
152 target[datalength++] = Base64[output[3]];
171 target[datalength++] = Base64[output[0]];
172 target[datalength++] = Base64[output[1]]
    [all...]
b64_pton.c 58 static const char Base64[] =
75 of which is translated into a single digit in the base64 alphabet.
81 Table 1: The Base64 Alphabet
109 Since all base64 input is an integral number of octets, only the
158 /* Non-base64 char */
163 /* Fill reverse mapping for base64 chars */
164 for (i = 0; Base64[i] != '\0'; ++i)
165 b64rmap[(uint8_t)Base64[i]] = i;
188 /* End of base64 characters */
191 /* A non-base64 character. *
    [all...]
  /src/lib/libc/net/
base64.c 1 /* $NetBSD: base64.c,v 1.17 2024/01/20 14:52:48 christos Exp $ */
48 static const char rcsid[] = "Id: base64.c,v 1.4 2005/04/27 04:56:34 sra Exp";
50 __RCSID("$NetBSD: base64.c,v 1.17 2024/01/20 14:52:48 christos Exp $");
75 static const char Base64[] =
92 of which is translated into a single digit in the base64 alphabet.
98 Table 1: The Base64 Alphabet
126 Since all base64 input is an integral number of octets, only the
171 target[datalength++] = Base64[output[0]];
172 target[datalength++] = Base64[output[1]];
173 target[datalength++] = Base64[output[2]]
    [all...]
  /src/external/bsd/libbind/dist/isc/
base64.c 1 /* $NetBSD: base64.c,v 1.1.1.2 2012/09/09 16:08:02 christos Exp $ */
46 static const char rcsid[] = "Id: base64.c,v 1.4 2005/04/27 04:56:34 sra Exp ";
69 static const char Base64[] =
86 of which is translated into a single digit in the base64 alphabet.
92 Table 1: The Base64 Alphabet
120 Since all base64 input is an integral number of octets, only the
160 target[datalength++] = Base64[output[0]];
161 target[datalength++] = Base64[output[1]];
162 target[datalength++] = Base64[output[2]];
163 target[datalength++] = Base64[output[3]]
    [all...]
  /src/external/bsd/openldap/dist/libraries/liblutil/
base64.c 1 /* $NetBSD: base64.c,v 1.4 2025/09/05 21:16:23 christos Exp $ */
3 /* base64.c -- routines to encode/decode base64 data */
35 /* This work is based upon Base64 routines (developed by IBM) found
41 __RCSID("$NetBSD: base64.c,v 1.4 2025/09/05 21:16:23 christos Exp $");
55 static const char Base64[] =
72 of which is translated into a single digit in the base64 alphabet.
78 Table 1: The Base64 Alphabet
106 Since all base64 input is an integral number of octets, only the
151 target[datalength++] = Base64[output[0]]
    [all...]
  /src/external/bsd/tmux/dist/compat/
base64.c 1 /* $OpenBSD: base64.c,v 1.8 2015/01/16 16:48:51 deraadt Exp $ */
58 static const char Base64[] =
75 of which is translated into a single digit in the base64 alphabet.
81 Table 1: The Base64 Alphabet
109 Since all base64 input is an integral number of octets, only the
150 target[datalength++] = Base64[output[0]];
151 target[datalength++] = Base64[output[1]];
152 target[datalength++] = Base64[output[2]];
153 target[datalength++] = Base64[output[3]];
169 target[datalength++] = Base64[output[0]]
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/
base64.d 4 * Support for Base64 encoding and decoding.
6 * This module provides two default implementations of Base64 encoding,
7 * $(LREF Base64) with a standard encoding alphabet, and a variant
13 * directly; however, it can be used to create customized Base64 encodings,
21 * const(char)[] encoded = Base64.encode(data);
24 * ubyte[] decoded = Base64.decode("FPucA9l+");
32 * // Create MIME Base64 with CRLF, per line 76.
38 * foreach (encoded; Base64.encoder(f.byChunk(57)))
48 * $(LINK2 https://tools.ietf.org/html/rfc4648, RFC 4648 - The Base16, Base32, and Base64
54 * Source: $(PHOBOSSRC std/base64.d
    [all...]
  /src/external/bsd/openldap/dist/contrib/slapd-modules/passwd/
apr1-atol.pl 7 use MIME::Base64;
apr1-ltoa.pl 7 use MIME::Base64;
  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerUtil.h 37 std::string Base64(const Unit &U);
FuzzerUtil.cpp 155 std::string Base64(const Unit &U) {
FuzzerLoop.cpp 605 Printf("Base64: %s\n", Base64(U).c_str());
  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/tests/
FuzzerUnittest.cpp 578 TEST(FuzzerUtil, Base64) {
579 EXPECT_EQ("", Base64({}));
580 EXPECT_EQ("YQ==", Base64({'a'}));
581 EXPECT_EQ("eA==", Base64({'x'}));
582 EXPECT_EQ("YWI=", Base64({'a', 'b'}));
583 EXPECT_EQ("eHk=", Base64({'x', 'y'}));
584 EXPECT_EQ("YWJj", Base64({'a', 'b', 'c'}));
585 EXPECT_EQ("eHl6", Base64({'x', 'y', 'z'}));
586 EXPECT_EQ("YWJjeA==", Base64({'a', 'b', 'c', 'x'}));
587 EXPECT_EQ("YWJjeHk=", Base64({'a', 'b', 'c', 'x', 'y'}))
    [all...]
  /src/external/apache2/mDNSResponder/dist/mDNSCore/
DNSDigest.c 1171 // MARK: - base64 -> binary conversion
1173 static const char Base64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
1210 pos = mDNSstrchr(Base64, ch);
1211 if (pos == 0) /* A non-base64 character. */
1219 target[tarindex] = (mDNSu8)((pos - Base64) << 2);
1227 target[tarindex] |= (pos - Base64) >> 4;
1228 target[tarindex+1] = (mDNSu8)(((pos - Base64) & 0x0f) << 4);
1237 target[tarindex] |= (pos - Base64) >> 2;
1238 target[tarindex+1] = (mDNSu8)(((pos - Base64) & 0x03) << 6);
1247 target[tarindex] |= (pos - Base64);
    [all...]

Completed in 40 milliseconds