/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
quoprimime.py | 20 `encoded-word' in a header. This method is commonly used for 8-bit real names 75 """Return the length of str when it is encoded with header quopri.""" 86 """Return the length of str when it is encoded with body quopri.""" 134 to 76 characters). If maxlinelen is None, the entire string is encoded in 152 # Quopri encode each line, in encoded chunks no greater than maxlinelen in 172 # Now add the RFC chrome to each encoded chunk and glue the chunks 188 Each line of encoded text will end with eol, which defaults to "\\n". Set 223 # quopri encoded. BAW: again, string concatenation is inefficient. 272 def decode(encoded, eol=NL): 277 if not encoded [all...] |
header.py | 33 # Match encoded-word strings in the form =?charset?q?Hello_World?= 40 (?P<encoded>.*?) # non-greedy up to the next ?= is the encoded string 67 decoded parts of the header. Charset is None for non-encoded parts of the 69 set specified in the encoded string. 96 encoded = parts[2] 99 dec = email.quoprimime.header_decode(encoded) 101 paderr = len(encoded) % 4 # Postel's law: add missing padding 103 encoded += '==='[:4 - paderr] 105 dec = email.base64mime.decode(encoded) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
quoprimime.py | 20 `encoded-word' in a header. This method is commonly used for 8-bit real names 75 """Return the length of str when it is encoded with header quopri.""" 86 """Return the length of str when it is encoded with body quopri.""" 134 to 76 characters). If maxlinelen is None, the entire string is encoded in 152 # Quopri encode each line, in encoded chunks no greater than maxlinelen in 172 # Now add the RFC chrome to each encoded chunk and glue the chunks 188 Each line of encoded text will end with eol, which defaults to "\\n". Set 223 # quopri encoded. BAW: again, string concatenation is inefficient. 272 def decode(encoded, eol=NL): 277 if not encoded [all...] |
header.py | 33 # Match encoded-word strings in the form =?charset?q?Hello_World?= 40 (?P<encoded>.*?) # non-greedy up to the next ?= is the encoded string 67 decoded parts of the header. Charset is None for non-encoded parts of the 69 set specified in the encoded string. 96 encoded = parts[2] 99 dec = email.quoprimime.header_decode(encoded) 101 paderr = len(encoded) % 4 # Postel's law: add missing padding 103 encoded += '==='[:4 - paderr] 105 dec = email.base64mime.decode(encoded) [all...] |
/external/chromium_org/net/cert/ |
x509_certificate.h | 89 // The data contains a single DER-encoded certificate, or a PEM-encoded 94 // The data contains a sequence of one or more PEM-encoded, DER 101 // The data may further be encoded using PEM, specifying block names of 145 // Create an X509Certificate from a chain of DER encoded certificates. The 153 // Create an X509Certificate from the DER-encoded representation. 160 // Create an X509Certificate from the DER-encoded representation. 198 // The serial number, DER encoded, possibly including a leading 00 byte. 265 // |valid_issuers| is a list of DER-encoded X.509 DistinguishedNames. 322 // Obtains the DER encoded certificate data for |cert_handle|. On success [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JCEStreamCipher.java | 400 byte[] encoded = key.getEncoded(); 401 if (encoded == null) 408 return engineDoFinal(encoded, 0, encoded.length); 422 byte[] encoded; 425 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length); 438 return new SecretKeySpec(encoded, wrappedKeyAlgorithm); 448 PrivateKeyInfo in = PrivateKeyInfo.getInstance(encoded); 474 return kf.generatePublic(new X509EncodedKeySpec(encoded)); 478 return kf.generatePrivate(new PKCS8EncodedKeySpec(encoded)); [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/ecdsa/ |
ecdsa.h | 95 * (*pp += length of the DER encoded signature)). 98 * \return the length of the DER encoded ECDSA_SIG object or 0 102 /** Decodes a DER encoded ECDSA signature (note: this function changes *pp 105 * \param pp memory buffer with the DER encoded signature 164 /** Returns the maximum length of the DER encoded signature 166 * \return numbers of bytes required for the DER encoded signature 185 * \param sig memory for the DER encoded created signature 199 * \param sig buffer to hold the DER encoded signature 216 * \param sig pointer to the DER encoded signature 217 * \param siglen length of the DER encoded signatur [all...] |
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
ecdsa.h | 95 * (*pp += length of the DER encoded signature)). 98 * \return the length of the DER encoded ECDSA_SIG object or 0 102 /** Decodes a DER encoded ECDSA signature (note: this function changes *pp 105 * \param pp memory buffer with the DER encoded signature 164 /** Returns the maximum length of the DER encoded signature 166 * \return numbers of bytes required for the DER encoded signature 185 * \param sig memory for the DER encoded created signature 199 * \param sig buffer to hold the DER encoded signature 216 * \param sig pointer to the DER encoded signature 217 * \param siglen length of the DER encoded signatur [all...] |
/external/chromium_org/ui/gfx/codec/ |
jpeg_codec_unittest.cc | 109 std::vector<unsigned char> encoded; local 111 w * 3, jpeg_quality, &encoded)); 112 EXPECT_GT(original.size(), encoded.size()); 117 EXPECT_TRUE(JPEGCodec::Decode(&encoded[0], encoded.size(), 147 std::vector<unsigned char> encoded; local 149 w * 4, jpeg_quality, &encoded)); 150 EXPECT_GT(original.size(), encoded.size()); 155 EXPECT_TRUE(JPEGCodec::Decode(&encoded[0], encoded.size() [all...] |
/external/openssl/crypto/ecdsa/ |
ecdsa.h | 95 * (*pp += length of the DER encoded signature)). 98 * \return the length of the DER encoded ECDSA_SIG object or 0 102 /** Decodes a DER encoded ECDSA signature (note: this function changes *pp 105 * \param pp memory buffer with the DER encoded signature 164 /** Returns the maximum length of the DER encoded signature 166 * \return numbers of bytes required for the DER encoded signature 185 * \param sig memory for the DER encoded created signature 199 * \param sig buffer to hold the DER encoded signature 216 * \param sig pointer to the DER encoded signature 217 * \param siglen length of the DER encoded signatur [all...] |
/external/openssl/include/openssl/ |
ecdsa.h | 95 * (*pp += length of the DER encoded signature)). 98 * \return the length of the DER encoded ECDSA_SIG object or 0 102 /** Decodes a DER encoded ECDSA signature (note: this function changes *pp 105 * \param pp memory buffer with the DER encoded signature 164 /** Returns the maximum length of the DER encoded signature 166 * \return numbers of bytes required for the DER encoded signature 185 * \param sig memory for the DER encoded created signature 199 * \param sig buffer to hold the DER encoded signature 216 * \param sig pointer to the DER encoded signature 217 * \param siglen length of the DER encoded signatur [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
DebugInfoDecoder.java | 44 /** encoded debug info */ 45 private final byte[] encoded; field in class:DebugInfoDecoder 86 * @param encoded encoded debug info 94 DebugInfoDecoder(byte[] encoded, int codesize, int regSize, 96 if (encoded == null) { 97 throw new NullPointerException("encoded == null"); 100 this.encoded = encoded; 240 ByteArrayInputStream bs = new ByteArrayInputStream(encoded); [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
DebugInfoDecoder.java | 55 /** encoded debug info */ 56 private final byte[] encoded; field in class:DebugInfoDecoder 97 * @param encoded encoded debug info 105 DebugInfoDecoder(byte[] encoded, int codesize, int regSize, 107 if (encoded == null) { 108 throw new NullPointerException("encoded == null"); 111 this.encoded = encoded; 250 ByteInput bs = new ByteArrayByteInput(encoded); [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
DebugInfoDecoder.java | 45 /** encoded debug info */ 46 private final byte[] encoded; field in class:DebugInfoDecoder 87 * @param encoded encoded debug info 95 DebugInfoDecoder(byte[] encoded, int codesize, int regSize, 97 if (encoded == null) { 98 throw new NullPointerException("encoded == null"); 101 this.encoded = encoded; 240 ByteInput bs = new ByteArrayByteInput(encoded); [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/ |
cvei.h | 149 /** Specifies the width in pixels of the encoded frames. IFrameWidth[0] is for 153 /** Specifies the height in pixels of the encoded frames. IFrameHeight[0] is for 300 /** The number of layer encoded, 0 for base, 1 for enhanced. */ 303 /** Pointer to the encoded bitstream buffer. */ 309 /** The time stamp of the encoded frame according to the bitstream. */ 312 /** The time stamp of the encoded frame as given before the encoding. */ 352 frame and the associated timestamp. The encoded bitstream will be returned by 363 of the encoded bitstream. This function must be called after Initialize. 372 an input structure in without getting any encoded data back or getting an encoded [all...] |
mp4enc_api.h | 151 /** @brief Sets the number of ticks per second used for timing information encoded in MPEG4 bitstream.*/ 157 /** @brief Specifies encoded heights in pixels, height[n] represents the n-th layer's height. */ 160 /** @brief Specifies encoded widths in pixels, width[n] represents the n-th layer's width.*/ 175 /** @brief specifies quantization mode (H263 mode or MPEG mode) of the encoded base and enhance layer (if any). 198 * if no I-frame is encoded after the specified period to add error resiliency and help resynchronize in case of errors. 266 * @brief This function returns VOL header. It has to be called before the frame is encoded. If so, 267 * then the VOL Header is passed back to the application. Then all frames that are encoded do not contain the VOL Header. 268 * If you do not call the API then the VOL Header is passed within the first frame that is encoded. 269 * The behavior is unknown if it is called after the first frame is encoded. It is mainly used for MP4 file format authoring. 325 * size field. The encoded layer is specified by the nLayer field. If the current frame is not encoded, size=0 and nLayer=-1 [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLCipherRSA.java | 312 byte[] encoded = key.getEncoded(); 313 return engineDoFinal(encoded, 0, encoded.length); 325 byte[] encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length); 328 return keyFactory.generatePublic(new X509EncodedKeySpec(encoded)); 331 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(encoded)); 333 return new SecretKeySpec(encoded, wrappedKeyAlgorithm);
|
/external/chromium_org/net/http/ |
http_content_disposition.cc | 25 // Decodes a "Q" encoded string as described in RFC 2047 section 4.2. Similar to 45 // In a Q-encoded word, only printable ASCII characters 60 // Decodes a "Q" or "B" encoded string as per RFC 2047 section 4. The encoding 128 // =?charset?<E>?<encoded string>?= where '<E>' is either 'B' or 'Q'. 130 // many web servers generate encoded words longer than the limit. 175 // Likely to be a case of two encoded-words in a row or 176 // an encoded word followed by a non-encoded word. We can be 244 // If the previous non-delimeter token is not RFC2047-encoded, 251 // adjacent encoded words. Some broken mail clients emit header [all...] |
/external/chromium_org/courgette/ |
streams.cc | 41 // Parses a Varint32 encoded value from |source| and stores it in |output|, 47 // Writes the Varint32 encoded representation of |value| to buffer 49 // bytes. Returns a pointer to the byte just past the last encoded byte. 53 // Parses a Varint32 encoded unsigned number from |source|. The Varint32 146 // Signed numbers are encoded as unsigned numbers so that numbers nearer zero 148 // 0000xxxx encoded as 000xxxx0. 149 // 1111xxxx encoded as 000yyyy1 where yyyy is complement of xxxx. 197 // 0000xxxx encoded as 000xxxx0. 198 // 1111xxxx encoded as 000yyyy1 where yyyy is complement of xxxx.
|
/external/smack/src/org/jivesoftware/smack/ |
ServerTrustManager.java | 240 // Value is encoded using ASN.1 so decode it to get the server's identity 242 DEREncodable encoded = decoder.readObject(); 243 encoded = ((DERSequence) encoded).getObjectAt(1); 244 encoded = ((DERTaggedObject) encoded).getObject(); 245 encoded = ((DERTaggedObject) encoded).getObject(); 246 String identity = ((DERUTF8String) encoded).getString();
|
/dalvik/libdex/ |
DexUtf.h | 18 * Validate and manipulate MUTF-8 (modified UTF-8) encoded string data. 78 /* Return whether the pointed-at modified-UTF-8 encoded character is 80 * the consumed character. This will consume two encoded UTF-16 code 81 * points if the character is encoded as a surrogate pair. Also, if 95 * It's a multibyte encoded character. Call a non-inline function
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/ |
Messages.resx | 23 [base64 mime encoded serialized .NET Framework object] 26 [base64 mime encoded string representing a byte array form of the .NET Framework object] 49 : and then encoded with base64 encoding. 54 : and then encoded with base64 encoding. 59 : and then encoded with base64 encoding.
|
/external/chromium_org/media/video/ |
video_encode_accelerator.h | 75 // Callback to deliver encoded bitstream buffers. Ownership of the buffer 104 // |output_profile| is the codec profile of the encoded output stream. 105 // |initial_bitrate| is the initial bitrate of the encoded output stream, 115 // |frame| is the VideoFrame that is to be encoded. 121 // encoded output. Each call here with a given |buffer| will cause the buffer
|
/external/chromium_org/net/quic/ |
quic_data_writer_test.cc | 56 uint16 encoded; member in struct:net::test::__anon9303::TestCase 90 EXPECT_EQ(test_cases[i].encoded, *reinterpret_cast<uint16*>(data.get())); 97 uint16 encoded; member in struct:net::test::__anon9303::TestCase 124 QuicDataReader reader(reinterpret_cast<char*>(&test_cases[i].encoded), 2); 132 // Just test all 16-bit encoded values. 0 and max already tested above.
|
/external/chromium_org/remoting/codec/ |
audio_encoder_opus_unittest.cc | 19 // Maximum value that can be encoded in a 16-bit signed sample. 103 // Compares decoded signal with the test signal that was encoded. It estimates 140 scoped_ptr<AudioPacket> encoded = local 142 if (encoded.get()) { 143 scoped_ptr<AudioPacket> decoded = decoder_->Decode(encoded.Pass());
|