/external/chromium/chrome/browser/metrics/ |
metrics_service_unittest.cc | 72 (*it)->GetAsString(&str); // Base64 encoded "Hello world!" string. 73 std::string encoded; local 74 base::Base64Encode("Hello world!", &encoded); 75 EXPECT_TRUE(encoded == str); 78 (*it)->GetAsString(&str); // MD5 for encoded "Hello world!" string. 79 EXPECT_TRUE(MD5String(encoded) == str);
|
/external/chromium_org/courgette/ |
courgette.h | 115 // Converts |program| into encoded form, returning it as |*output|. 120 // Serializes |encoded| into the stream set. 122 Status WriteEncodedProgram(EncodedProgram* encoded, SinkStreamSet* sink); 124 // Assembles |encoded|, emitting the bytes into |buffer|. 127 Status Assemble(EncodedProgram* encoded, SinkStream* buffer); 138 void DeleteEncodedProgram(EncodedProgram* encoded);
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
DebugInfoItem.java | 38 private byte[] encoded; field in class:DebugInfoItem 74 encoded = encode(addedTo.getFile(), null, null, null, false); 75 setWriteSize(encoded.length); 125 out.write(encoded); 138 * @return {@code non-null;} the encoded array 169 * @return {@code non-null;} the encoded array
|
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...] |
/external/smack/src/org/xbill/DNS/utils/ |
base64.java | 8 * Routines for converting between Strings of base64-encoded data and arrays of 22 * Convert binary data to a base64-encoded String 24 * @return A String containing the encoded data 62 * Formats data into a nicely formatted base64 encoded String 90 * Convert a base64-encoded String to binary data 91 * @param str A String containing the encoded data
|
/frameworks/base/core/tests/coretests/src/android/util/ |
Base64Test.java | 39 * gives the same string. Returns the encoded string. 322 byte[] encoded = Base64.encode(plain, flags); 330 // ----- test decoding ("encoded" -> "plain") ----- 333 bais = new ByteArrayInputStream(encoded); 342 bais = new ByteArrayInputStream(encoded); 351 bais = new ByteArrayInputStream(encoded); 369 // ----- test encoding ("plain" -> "encoded") ----- 378 assertEquals(actual, ap, encoded); 387 assertEquals(actual, ap, encoded); 406 assertEquals(actual, ap, encoded); [all...] |
/frameworks/base/opengl/java/android/opengl/ |
ETC1.java | 28 * followed by the encoded ETC1 texture data. 35 * Size in bytes of an encoded block. 84 * Return the size of the encoded image data (does not include size of PKM header). 92 * @param out a native order direct buffer of the encoded data. 93 * Must be large enough to store entire encoded image. 102 * @param in native order direct buffer of the encoded data.
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
Cache.java | 35 * the base of particular encoded form or not. If there are such 41 * prereading of the beginning of encoded form. This prefix is used to determine 48 * object generated from the encoded form with such prefix and we should 50 * we conduct the accurate search on the base of whole encoded form. <br> 55 * 1. With having of the beginning of the encoded form (prefix) 64 * already been generated on the base of this PARTICULAR encoded form or not. 68 * Note: The length of the prefixes of the encoded forms should not be 98 // This information includes: hash of the array, encoded form of the object, 129 * encoded form will be used for hash computation 144 * encoded form will be used for hash computatio [all...] |
/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. 319 // 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...] |
/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...] |