HomeSort by relevance Sort by last modified time
    Searched refs:encoded (Results 51 - 75 of 354) sorted by null

1 23 4 5 6 7 8 91011>>

  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
BluetoothMapbMessageTest.java 93 String encoded; local
105 encoded = new String(msg.encode());
106 if(D) Log.d(TAG, encoded);
107 assertTrue(str1.equals(encoded));
196 String encoded; local
209 encoded = new String(encodedBytes);
213 if(D) Log.d(TAG, "\nEncoded: \n" + encoded);
215 assertTrue(expected.equalsIgnoreCase(encoded));
266 String encoded; local
279 encoded = new String(encodedBytes)
304 String encoded = local
390 String encoded = local
481 String encoded; local
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/io/super/com/google/common/io/
BaseEncodingTest.java 98 // This sentence just isn't base64() encoded.
181 // This sentence just isn't base32() encoded.
217 // This sentence just isn't base32 encoded.
244 BaseEncoding encoding, String decoded, String encoded) {
245 testEncodingWithSeparators(encoding, decoded, encoded);
246 testEncodingWithSeparators(encoding.upperCase(), decoded, Ascii.toUpperCase(encoded));
247 testEncodingWithSeparators(encoding.lowerCase(), decoded, Ascii.toLowerCase(encoded));
251 BaseEncoding encoding, String decoded, String encoded) {
252 testEncoding(encoding, decoded, encoded);
258 Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded)));
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseWrapCipher.java 301 byte[] encoded = key.getEncoded();
302 if (encoded == null)
311 return engineDoFinal(encoded, 0, encoded.length);
315 return wrapEngine.wrap(encoded, 0, encoded.length);
330 byte[] encoded;
335 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length);
339 encoded = wrapEngine.unwrap(wrappedKey, 0, wrappedKey.length);
357 return new SecretKeySpec(encoded, wrappedKeyAlgorithm)
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
IntegerTest.java 72 byte[] encoded = new byte[array.length + 2];
73 encoded[0] = 0x02;
74 encoded[1] = (byte) (encoded.length - 2);
75 System.arraycopy(array, 0, encoded, 2, encoded[1]);
79 validTestcase[i][2] = encoded;
113 out.encoded));//returned
126 // wrong content: is not encoded in minimum number of octets
128 // wrong content: is not encoded in minimum number of octet
    [all...]
BerInputStreamTest.java 73 // length = 0xFFFFFF (encoded length has extra byte)
116 encoding[1] = (byte) 0x82; // length is encoded in two bytes
134 byte[] encoded = new byte[] { 0x01, 0x01, 0x03, // boolean bytes
140 BerInputStream in = new BerInputStream(encoded, 0, 3);
144 in = new BerInputStream(encoded, 3, 4);
148 in = new BerInputStream(encoded, 7, 2);
153 new BerInputStream(encoded, 3, 5);
161 new BerInputStream(encoded, 3, 3);
BooleanTest.java 61 assertTrue("Encoding false value", Arrays.equals(eFalse, out.encoded));
65 assertTrue("Encoding true value", Arrays.equals(eTrue, out.encoded));
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));
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
EncodedKeySpec2Test.java 48 byte[] encoded = keys.getPublic().getEncoded();
49 Key key = fact.generatePublic(new X509EncodedKeySpec(encoded));
55 encoded = keys.getPrivate().getEncoded();
56 key = fact.generatePrivate(new PKCS8EncodedKeySpec(encoded));
  /external/llvm/test/MC/ARM/
arm-it-block.s 9 @ 'it' is parsed but not encoded.
  /external/skia/bench/
CodecBench.h 22 // Calls encoded->ref()
23 CodecBench(SkString basename, SkData* encoded, SkColorType colorType);
  /libcore/luni/src/test/java/tests/security/spec/
EncodedKeySpec2Test.java 49 byte[] encoded = keys.getPublic().getEncoded();
50 Key key = fact.generatePublic(new X509EncodedKeySpec(encoded));
56 encoded = keys.getPrivate().getEncoded();
57 key = fact.generatePrivate(new PKCS8EncodedKeySpec(encoded));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
SHA384Digest.java 107 byte[] encoded = new byte[getEncodedStateSize()];
108 super.populateState(encoded);
109 return encoded;
SHA512Digest.java 109 byte[] encoded = new byte[getEncodedStateSize()];
110 super.populateState(encoded);
111 return encoded;
  /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
  /libcore/luni/src/test/java/libcore/java/net/
UrlEncodingTest.java 250 * Asserts that {@code original} encodes to {@code encoded} using both URI
253 private void assertEncoded(String encoded, String original) throws Exception {
254 assertEquals(encoded, URLEncoder.encode(original, "UTF-8"));
255 assertEquals(encoded, URLEncoder.encode(original));
256 assertEquals(encoded, new URI("http", "foo", "/", original).getRawFragment());
259 private void assertRoundTrip(String original, String encoded) throws Exception {
260 assertEquals(encoded, URLEncoder.encode(original, "UTF-8"));
261 assertEquals(original, URLDecoder.decode(encoded, "UTF-8"));
  /libcore/luni/src/main/java/javax/crypto/
EncryptedPrivateKeyInfo.java 68 private volatile byte[] encoded; field in class:EncryptedPrivateKeyInfo
71 * Creates an {@code EncryptedPrivateKeyInfo} instance from its encoded
74 * @param encoded
75 * the encoded representation of this object
77 * if parsing the encoded representation fails.
79 * if {@code encoded} is {@code null}.
81 public EncryptedPrivateKeyInfo(byte[] encoded) throws IOException {
82 if (encoded == null) {
83 throw new NullPointerException("encoded == null");
85 this.encoded = new byte[encoded.length]
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactoryTest.java 193 assertTrue(Arrays.equals(key.encoded, publicKey.getEncoded()));
435 return new TestPrivateKey(((TestPrivateKeySpec)keySpec).encoded);
445 return new TestPublicKey(((TestPublicKeySpec)keySpec).encoded);
508 private final byte[] encoded; field in class:KeyFactoryTest.TestPrivateKeySpec
511 this.encoded = key.getEncoded();
517 private final byte[] encoded; field in class:KeyFactoryTest.TestPublicKeySpec
520 this.encoded = key.getEncoded();
526 private final byte[] encoded; field in class:KeyFactoryTest.TestPrivateKey
529 encoded = new byte[] {3, 4, 5};
532 public TestPrivateKey(byte[] encoded) {
551 private final byte[] encoded; field in class:KeyFactoryTest.TestPublicKey
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/util/
UrlEncoded.java 185 * @param content the string containing the encoded parameters
194 * @param content the string containing the encoded parameters
206 boolean encoded=false;
215 (encoded?decodeString(content,mark+1,l,charset):content.substring(mark+1,i));
217 encoded=false;
234 key = encoded?decodeString(content,mark+1,i-mark-1,charset):content.substring(mark+1,i);
236 encoded=false;
239 encoded=true;
242 encoded=true;
250 value = l==0?"":(encoded?decodeString(content,mark+1,l,charset):content.substring(mark+1))
    [all...]
  /libcore/luni/src/main/java/java/security/cert/
Certificate.java 82 // check that encoded forms match
102 byte[] encoded = getEncoded();
104 for (int i=0; i<encoded.length; i++) {
105 hash += i*encoded[i];
114 * Returns the encoded representation for this certificate.
116 * @return the encoded representation for this certificate.
224 * certificate type and encoded data.
229 * the encoded data.
  /external/llvm/test/MC/PowerPC/
ppc64-localentry-error1.s 10 # CHECK: LLVM ERROR: .localentry expression cannot be encoded.
  /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/robolectric/src/main/java/android/net/
Uri__FromAndroid.java 201 * Gets the encoded authority part of this URI. For
221 * Gets the encoded user information from the authority.
230 * Gets the encoded host from the authority for this URI. For example,
255 * Gets the encoded path.
257 * @return the encoded path, or null if this is not a hierarchical URI
273 * Gets the encoded query component from this URI. The query comes after
278 * @return the encoded query or null if there isn't one
290 * Gets the encoded fragment part of this URI, everything after the '#'.
292 * @return the encoded fragment or null if there isn't one
312 * encoded string representations of this Uri and the given Uri ar
1688 StringBuilder encoded = null; local
1904 volatile String encoded; field in class:Uri__FromAndroid.AbstractPart
2147 String encoded = encode(decoded); local
    [all...]
  /frameworks/base/core/java/android/net/
Uri.java 213 * Gets the encoded authority part of this URI. For
233 * Gets the encoded user information from the authority.
242 * Gets the encoded host from the authority for this URI. For example,
267 * Gets the encoded path.
269 * @return the encoded path, or null if this is not a hierarchical URI
285 * Gets the encoded query component from this URI. The query comes after
290 * @return the encoded query or null if there isn't one
302 * Gets the encoded fragment part of this URI, everything after the '#'.
304 * @return the encoded fragment or null if there isn't one
324 * encoded string representations of this Uri and the given Uri ar
1836 StringBuilder encoded = null; local
1955 volatile String encoded; field in class:Uri.AbstractPart
2199 String encoded = encode(decoded); local
    [all...]
  /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...]

Completed in 1404 milliseconds

1 23 4 5 6 7 8 91011>>