/frameworks/base/core/java/android/content/pm/ |
VerifierDeviceIdentity.java | 28 * implementation, the identity is represented as a 64-bit integer encoded to a 37 * Encoded size of a long (64-bit) into Base32. This format will end up 110 final char encoded[] = new char[LONG_SIZE + (LONG_SIZE / GROUP_SIZE)]; local 112 int index = encoded.length; 121 encoded[--index] = SEPARATOR; 130 encoded[--index] = alphabet[group]; 133 return String.valueOf(encoded); 146 * This essentially does the reverse of the ENCODED alphabet above
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/data/ |
msg_10.txt | 12 This is a 7bit encoded message. 18 =A1This is a Quoted Printable encoded message!
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/test/data/ |
msg_10.txt | 12 This is a 7bit encoded message. 18 =A1This is a Quoted Printable encoded message!
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
isacfix.c | 296 * - encoded : the encoded data vector 307 WebRtc_Word16 *encoded) 338 encoded[k] = (WebRtc_Word16)( ( (WebRtc_UWord16)(ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] >> 8 ) 343 WEBRTC_SPL_MEMCPY_W16(encoded, (ISAC_inst->ISACenc_obj.bitstr_obj).stream, (stream_len + 1)>>1); 371 * - encoded : the encoded data vector 382 WebRtc_Word16 *encoded) 428 encoded[k] = (WebRtc_Word16)(((WebRtc_UWord16)(ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] >> 8) 433 WEBRTC_SPL_MEMCPY_W16(encoded, (ISAC_inst->ISACenc_obj.bitstr_obj).stream, (stream_len + 1)>>1) [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
CertificateRequestTest.java | 78 byte[] encoded = out.getData(1000); 79 assertEquals("incorrect out data length", message.length(), encoded.length); 82 in.append(encoded); 89 in.append(encoded); 96 in.append(encoded);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
SubjectPublicKeyInfo.java | 20 * encoded one of these. 97 * for when the public key is an encoded object - if the bitstring 101 * encoded object. 113 * for when the public key is an encoded object - if the bitstring 117 * encoded object.
|
/external/chromium_org/content/common/mac/ |
attributed_string_coder_unittest.mm | 109 AttributedStringCoder::EncodedString encoded(ASCIIToUTF16("Hello World")); 110 encoded.attributes()->push_back( 114 encoded.attributes()->push_back( 118 encoded.attributes()->push_back( 123 NSAttributedString* decoded = AttributedStringCoder::Decode(&encoded);
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
dbformat_test.cc | 14 std::string encoded; local 15 AppendInternalKey(&encoded, ParsedInternalKey(user_key, seq, vt)); 16 return encoded; 34 std::string encoded = IKey(key, seq, vt); local 36 Slice in(encoded);
|
/external/chromium_org/third_party/tlslite/patches/ |
parse_chain.patch | 11 """Get the hex-encoded fingerprint of this certificate. 29 + """Parse a PEM-encoded X.509 certificate file chain file. 32 + @param s: A PEM-encoded (eg: Base64) X.509 certificate file, with every 39 + """Simple iterator over PEM-encoded certificates within a string. 42 + @ivar data: A string containing PEM-encoded (Base64) certificates,
|
/external/nist-sip/java/gov/nist/javax/sip/address/ |
RFC2396UrlDecoder.java | 41 * <p>Interprets %XX (where XX is hexadecimal number) as UTF-8 encoded bytes. 43 * were not encoded will not be reported as errors). 59 //we must process all consecutive %-encoded characters in one go, because they represent 60 //an UTF-8 encoded string, and in UTF-8 one character can be encoded as multiple bytes
|
/libcore/luni/src/test/java/tests/security/spec/ |
EncodedKeySpecTest.java | 45 assertTrue("wrong encoded key was returned", Arrays.equals(encodedKey, 66 /* Get encoded key */ 94 /* Get encoded key */ 110 /* Get encoded key */ 114 /* Get encoded key again */
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
PKIXCertPath.java | 183 throw new CertificateException("input stream does not contain a ASN1 SEQUENCE while reading PkiPath encoded data to load CertPath"); 191 byte[] encoded = element.toASN1Primitive().getEncoded(ASN1Encoding.DER); 193 new ByteArrayInputStream(encoded))); 238 * Returns the encoded form of this certification path, using 241 * @return the encoded bytes 260 * Returns the encoded form of this certification path, using 264 * @return the encoded bytes 322 // throw new CertificateEncodingException("can't encode certificate for PEM encoded path"); 346 * Return a DERObject containing the encoded certificate. 348 * @param cert the X509Certificate object to be encoded [all...] |
/external/skia/tests/ |
CachedDecodingPixelRefTest.cpp | 92 typedef bool (*InstallEncoded)(SkData* encoded, SkBitmap* dst); 95 This function tests three differently encoded images against the 113 SkAutoDataUnref encoded(create_data_from_bitmap(original, type)); 114 REPORTER_ASSERT(reporter, encoded.get() != NULL); 115 if (NULL == encoded.get()) { 119 bool installSuccess = install(encoded.get(), &lazy); 147 static bool install_skCachingPixelRef(SkData* encoded, SkBitmap* dst) { 149 SkNEW_ARGS(SkDecodingImageGenerator, (encoded)), dst); 151 static bool install_skDiscardablePixelRef(SkData* encoded, SkBitmap* dst) { 153 return SkDecodingImageGenerator::Install(encoded, dst, NULL) [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/interface/ |
isac.h | 140 * - encoded : the encoded data vector 153 WebRtc_Word16* encoded); 180 * - encoded : encoded ISAC frame(s). 193 const WebRtc_UWord16* encoded, 210 * - encoded : encoded ISAC frame(s). 211 * - len : bytes in encoded vector. 222 const WebRtc_UWord16* encoded, [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
base64.py | 51 The encoded string is returned. 54 encoded = binascii.b2a_base64(s)[:-1] 56 return _translate(encoded, {'+': altchars[0], '/': altchars[1]}) 57 return encoded 61 """Decode a Base64 encoded string. 83 s is the string to encode. The encoded string is returned. 88 """Decode a string encoded with the standard Base64 alphabet. 99 s is the string to encode. The encoded string is returned. The alphabet 105 """Decode a string encoded with the standard Base64 alphabet. 140 s is the string to encode. The encoded string is returned [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
base64.py | 51 The encoded string is returned. 54 encoded = binascii.b2a_base64(s)[:-1] 56 return _translate(encoded, {'+': altchars[0], '/': altchars[1]}) 57 return encoded 61 """Decode a Base64 encoded string. 83 s is the string to encode. The encoded string is returned. 88 """Decode a string encoded with the standard Base64 alphabet. 99 s is the string to encode. The encoded string is returned. The alphabet 105 """Decode a string encoded with the standard Base64 alphabet. 140 s is the string to encode. The encoded string is returned [all...] |
/external/chromium_org/courgette/ |
courgette_tool.cc | 85 courgette::EncodedProgram* encoded = NULL; local 86 const courgette::Status encode_status = Encode(program, &encoded); 96 courgette::WriteEncodedProgram(encoded, &sinks); 98 Problem("Can't serialize encoded program."); 100 courgette::DeleteEncodedProgram(encoded); 104 Problem("Can't combine serialized encoded program streams."); 180 courgette::EncodedProgram* encoded = NULL; local 181 const courgette::Status encode_status = Encode(program, &encoded); 191 courgette::WriteEncodedProgram(encoded, &sinks); 193 Problem("Can't serialize encoded program.") 296 courgette::EncodedProgram* encoded = NULL; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
urlencode.cc | 154 InternalUrlDecodeString(const std::string & encoded, 156 size_t needed_length = encoded.length() + 1; 158 InternalUrlDecode(encoded.c_str(), buf, encode_space_as_plus); 163 UrlDecodeString(const std::string & encoded) { 164 return InternalUrlDecodeString(encoded, true); 168 UrlDecodeStringWithoutEncodingSpaceAsPlus(const std::string & encoded) { 169 return InternalUrlDecodeString(encoded, false);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
urlencode.cc | 154 InternalUrlDecodeString(const std::string & encoded, 156 size_t needed_length = encoded.length() + 1; 158 InternalUrlDecode(encoded.c_str(), buf, encode_space_as_plus); 163 UrlDecodeString(const std::string & encoded) { 164 return InternalUrlDecodeString(encoded, true); 168 UrlDecodeStringWithoutEncodingSpaceAsPlus(const std::string & encoded) { 169 return InternalUrlDecodeString(encoded, false);
|
/external/chromium_org/third_party/opus/src/celt/ |
entenc.h | 42 previously encoded information that it is supposed to do so as well. 44 encoded. 46 be encoded. 69 _ft: The number of integers that can be encoded (one more than the max). 80 have already been encoded. 86 encoded using probabilities that are an exact power of two. 87 The encoder can verify the number of encoded bits is sufficient, but cannot
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
ColorSpace.java | 36 * @param input data encoded in YUV420-Planar. 51 * The input data is expected to be encoded in 8-bit interleaved ARGB channels. The output 55 * @param input data encoded in ARGB8888. 70 * The input data is expected to be encoded in 8-bit interleaved RGBA channels. The output 74 * @param input data encoded in RGBA8888. 89 * The input data is expected to be encoded in 8-bit interleaved RGBA channels. The output 93 * @param input data encoded in RGBA8888.
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Type.java | 81 public final Object decode(byte[] encoded) throws IOException { 82 return decode(new DerInputStream(encoded)); 85 public final Object decode(byte[] encoded, int offset, int encodingLen) 87 return decode(new DerInputStream(encoded, offset, encodingLen)); 94 public final void verify(byte[] encoded) throws IOException { 95 DerInputStream decoder = new DerInputStream(encoded); 108 return out.encoded;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
base64mime.py | 18 `encoded-word' in a header. This method is commonly used for 8-bit real names 54 """Return the length of s when it is encoded with base64.""" 100 # Base64 encode each line, in encoded chunks no greater than maxlinelen in 109 # Now add the RFC chrome to each encoded chunk 135 Each line of encoded text will end with eol, which defaults to "\\n". Set 149 # adding a newline to the encoded string? 172 This function does not parse a full MIME header value encoded with
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
base64mime.py | 18 `encoded-word' in a header. This method is commonly used for 8-bit real names 54 """Return the length of s when it is encoded with base64.""" 100 # Base64 encode each line, in encoded chunks no greater than maxlinelen in 109 # Now add the RFC chrome to each encoded chunk 135 Each line of encoded text will end with eol, which defaults to "\\n". Set 149 # adding a newline to the encoded string? 172 This function does not parse a full MIME header value encoded with
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
ChoiceTest.java | 118 (byte[]) testcases[i][1], out.encoded)); 146 byte[] encoded = new byte[] { 154 assertTrue("Encoded: ", Arrays.equals(encoded, sequenceOf.encode(list))); 156 List values = (List) sequenceOf.decode(encoded); 186 byte[] encoded = new byte[] { (byte) 0xA0, 0x03, 0x01, 0x01, 0x00 }; 188 assertEquals("False: ", Boolean.FALSE, explicit.decode(encoded)); 190 encoded[4] = (byte) 0xFF; 192 assertEquals("True: ", Boolean.TRUE, explicit.decode(encoded));
|