/external/libvncserver/webclients/novnc/include/ |
base64.js | 5 // From: http://hg.mozilla.org/mozilla-central/raw-file/ec10630b1a54/js/src/devtools/jint/sunspider/string-base64.js 10 var Base64 = { 11 /* Convert data (an array of integers) to a Base64 string. */ 18 var toBase64Table = Base64.toBase64Table; 49 /* Convert Base64 data to a string */ 66 var toBinaryTable = Base64.toBinaryTable; 67 var base64Pad = Base64.base64Pad; 104 // If there are any bits left, the base64 string was corrupted 106 err = new Error('Corrupted base64 string'); 107 err.name = 'Base64-Error' [all...] |
/bionic/libc/dns/net/ |
base64.c | 1 /* $NetBSD: base64.c,v 1.8 2002/11/11 01:15:17 thorpej Exp $ */ 47 __RCSID("$NetBSD: base64.c,v 1.8 2002/11/11 01:15:17 thorpej 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 170 target[datalength++] = Base64[output[0]]; 171 target[datalength++] = Base64[output[1]]; 172 target[datalength++] = Base64[output[2]]; 173 target[datalength++] = Base64[output[3]] [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
Base64.java | 10 * Utility class for converting Base64 data to bytes and back again. 12 public class Base64 61 throw new EncoderException("exception encoding base64 string: " + e.getMessage(), e); 112 throw new DecoderException("unable to decode base64 data: " + e.getMessage(), e); 135 throw new DecoderException("unable to decode base64 string: " + e.getMessage(), e);
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
PinFailureLogger.java | 22 import libcore.io.Base64; 56 sb.append(Base64.encode(cert.getEncoded()));
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
TextBody.java | 22 import android.util.Base64; 40 out.write(Base64.encode(bytes, Base64.CRLF));
|
/packages/services/Telephony/src/com/android/phone/common/mail/internet/ |
TextBody.java | 18 import android.util.Base64; 39 out.write(Base64.encode(bytes, Base64.CRLF));
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/base64/ |
Base64.java | 21 package org.ksoap2.kobjects.base64; 25 public class Base64 { 36 len to the Base64 format. The encoded data is appended to the 115 /** Decodes the given Base64 encoded String to a new byte array.
|
/external/okhttp/okio/okio/src/main/java/okio/ |
Base64.java | 25 final class Base64 { 26 private Base64() {
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
Base64.java | 16 * A utility class to perform base64 encoding and decoding as specified 21 public class Base64 31 private static byte[] base64 = { field in class:Base64 59 for (int idx = 0; idx < base64.length; idx++) 61 ascii[base64[idx]] = (byte) idx; 78 * @return the base64-encoded data. 92 * @return the base64-encoded data. 125 dst[didx++] = base64[bits6]; 127 dst[didx++] = base64[bits6]; 129 dst[didx++] = base64[bits6] [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
Base64.java | 20 public class Base64 { 36 // Create arrays to hold the base64 characters 59 * Decodes Base64 data into octects 61 * @param base64Data Byte array containing Base64 data 65 // RFC 2045 requires that we discard ALL non-Base64 characters 127 * Check octect wheter it is a base64 encoding. 130 * @return ture if it is base64 encoding, false otherwise. 143 * Discards any characters outside of the base64 alphabet, per 145 * outside of the base64 alphabet are to be ignored in base64 [all...] |
/packages/apps/Messaging/src/android/support/v7/mms/pdu/ |
Base64.java | 20 public class Base64 { 36 // Create arrays to hold the base64 characters 59 * Decodes Base64 data into octects 61 * @param base64Data Byte array containing Base64 data 65 // RFC 2045 requires that we discard ALL non-Base64 characters 127 * Check octect wheter it is a base64 encoding. 130 * @return ture if it is base64 encoding, false otherwise. 143 * Discards any characters outside of the base64 alphabet, per 145 * outside of the base64 alphabet are to be ignored in base64 [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
Base64.java | 20 public class Base64 { 36 // Create arrays to hold the base64 characters 59 * Decodes Base64 data into octects 61 * @param base64Data Byte array containing Base64 data 65 // RFC 2045 requires that we discard ALL non-Base64 characters 127 * Check octect wheter it is a base64 encoding. 130 * @return ture if it is base64 encoding, false otherwise. 143 * Discards any characters outside of the base64 alphabet, per 145 * outside of the base64 alphabet are to be ignored in base64 [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/json/ |
Base64.java | 20 * dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/Base64.java 33 * This class implements Base64 encoding/decoding functionality 36 public class Base64 {
|
/external/webrtc/webrtc/base/ |
base64.h | 3 //* C_Base64 - a simple base64 encoder and decoder. 20 class Base64 24 DO_PARSE_STRICT = 1, // Parse only base64 characters 25 DO_PARSE_WHITE = 2, // Parse only base64 and whitespace characters 51 // Expects the |ch| be a base64 char. 56 // Determines whether the given string consists entirely of valid base64
|
/developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/ |
MainActivity.java | 28 import android.util.Base64; 168 v.setText(Base64.encodeToString(encrypted, 0 /* flags */));
|
/developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/ |
MainActivity.java | 28 import android.util.Base64; 168 v.setText(Base64.encodeToString(encrypted, 0 /* flags */));
|
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/ |
MainActivity.java | 28 import android.util.Base64; 168 v.setText(Base64.encodeToString(encrypted, 0 /* flags */));
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/mime/ |
Decoder.java | 25 import org.ksoap2.kobjects.base64.*; 182 if ("base64".equals(getHeader("Content-Transfer-Encoding"))) { 191 Base64.decode(line, os);
|
/external/llvm/lib/Fuzzer/ |
FuzzerUtil.cpp | 171 std::string Base64(const Unit &U) {
|
/libcore/luni/src/main/java/libcore/io/ |
Base64.java | 23 * Perform encoding and decoding of Base64 byte arrays as described in 26 public final class Base64 { 40 private Base64() {} 199 * Calculates the numeric value (6-bit, 0 <= x <= 63) of the next Base64 encoded byte in
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
Base64.java | 29 * Static methods for translating Base64 encoded strings to byte arrays 36 class Base64 { 38 * Translates the specified byte array into a Base64 string as per 47 * Base64 string. This non-standard variant uses an alphabet that does 63 // Translate all full groups from byte array elements to Base64 97 * index values into their "Base64 Alphabet" equivalents as specified 110 * index values into their "Alternate Base64 Alphabet" equivalents. 111 * This is NOT the real Base64 Alphabet as per in Table 1 of RFC 2045. 124 * Translates the specified Base64 string (as per Preferences.get(byte[])) 127 * @throw IllegalArgumentException if <tt>s</tt> is not a valid Base64 [all...] |
/packages/apps/Email/src/com/android/email/mail/transport/ |
SmtpSender.java | 20 import android.util.Base64; 282 // Lines 2-5 of the conversation contain base64-encoded information. The same conversation, with base64 strings decoded, reads: 297 Base64.encodeToString(username.getBytes(), Base64.NO_WRAP), 300 Base64.encodeToString(password.getBytes(), Base64.NO_WRAP), 314 data = Base64.encode(data, Base64.NO_WRAP); 342 byte[] data = Base64.encode(authPhrase.getBytes(), Base64.NO_WRAP) [all...] |
/prebuilts/tools/common/mkidentity/ |
mkidentity-prebuilt.jar | |
/developers/build/prebuilts/gradle/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/ |
MainActivity.java | 31 import android.util.Base64; 200 v.setText(Base64.encodeToString(encrypted, 0 /* flags */));
|
/developers/samples/android/security/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/ |
MainActivity.java | 31 import android.util.Base64; 200 v.setText(Base64.encodeToString(encrypted, 0 /* flags */));
|