/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
DSAPrivateKeyImpl.java | 113 .decode(encoding); 115 throw new InvalidKeySpecException("Failed to decode keySpec encoding: " + e); 119 x = new BigInteger((byte[]) ASN1Integer.getInstance().decode( 122 throw new InvalidKeySpecException("Failed to decode parameters: " + e); 128 .decode(ai.getParameters()); 130 throw new InvalidKeySpecException("Failed to decode parameters: " + e);
|
DSAPublicKeyImpl.java | 115 .decode(encoding); 117 throw new InvalidKeySpecException("Failed to decode keySpec encoding: " + e); 121 y = new BigInteger((byte[]) ASN1Integer.getInstance().decode( 124 throw new InvalidKeySpecException("Failed to decode parameters: " + e); 131 .decode(ai.getParameters()); 133 throw new InvalidKeySpecException("Failed to decode parameters: " + e);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ClientHello.java | 99 "DECODE ERROR: incorrect ClientHello"); 114 fatalAlert(AlertProtocol.DECODE_ERROR, "DECODE ERROR: incorrect ClientHello"); 130 fatalAlert(AlertProtocol.DECODE_ERROR, "DECODE ERROR: incorrect V2ClientHello"); 140 "DECODE ERROR: incorrect V2ClientHello, cannot be used for resuming"); 144 fatalAlert(AlertProtocol.DECODE_ERROR, "DECODE ERROR: incorrect V2ClientHello, short challenge data"); 165 fatalAlert(AlertProtocol.DECODE_ERROR, "DECODE ERROR: incorrect V2ClientHello, extra data");
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastConfigService.java | 59 int startId = Integer.decode(channelRange.substring(0, dashIndex)); 60 int endId = Integer.decode(channelRange.substring(dashIndex + 1)); 69 int messageId = Integer.decode(channelRange); 94 int startId = Integer.decode(channelRange.substring(0, dashIndex)); 95 int endId = Integer.decode(channelRange.substring(dashIndex + 1)); 100 int emergencyMessageId = Integer.decode(channelRange);
|
/external/chromium/net/base/ |
gzip_filter_unittest.cc | 159 // Use filter to decode compressed data, and compare the decoding result with 214 // Unsafe function to use filter to decode compressed data. 261 // Decode the compressed data with filter 278 // Decode the compressed data with filter 304 // Tests we can still decode with just 1 byte buffer in the filter. 316 // Tests we can decode when caller has small buffer to read out from filter. 324 // Tests we can still decode with just 1 byte buffer in the filter and just 1 342 // Decode the corrupted data with filter 365 // Decode the corrupted data with filter 385 // Decode the corrupted data with filte [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
Base64Test.java | 33 byte[] out = Base64.decode(in, 0); 51 byte[] out = Base64.decode(in, 0); 52 fail("should have failed to decode"); 128 assertEquals(BYTES, 0, Base64.decode("", 0)); 129 assertEquals(BYTES, 1, Base64.decode("/w==", 0)); 130 assertEquals(BYTES, 2, Base64.decode("/+4=", 0)); 131 assertEquals(BYTES, 3, Base64.decode("/+7d", 0)); 132 assertEquals(BYTES, 4, Base64.decode("/+7dzA==", 0)); 133 assertEquals(BYTES, 5, Base64.decode("/+7dzLs=", 0)); 134 assertEquals(BYTES, 6, Base64.decode("/+7dzLuq", 0)) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
LongTest.java | 67 * @tests java.lang.Long#decode(java.lang.String) 71 // java.lang.Long.decode(java.lang.String) 72 assertEquals("Returned incorrect value for hex string", 255L, Long.decode( 74 assertEquals("Returned incorrect value for dec string", -89000L, Long.decode( 76 assertEquals("Returned incorrect value for 0 decimal", 0, Long.decode("0") 78 assertEquals("Returned incorrect value for 0 hex", 0, Long.decode("0x0") 82 Long.decode("-9223372036854775808").longValue() == 0x8000000000000000L); 85 Long.decode("-0x8000000000000000").longValue() == 0x8000000000000000L); 88 Long.decode("9223372036854775807").longValue() == 0x7fffffffffffffffL); 91 Long.decode("0x7fffffffffffffff").longValue() == 0x7fffffffffffffffL) [all...] |
IntegerTest.java | 67 * @tests java.lang.Integer#decode(java.lang.String) 71 // java.lang.Integer.decode(java.lang.String) 73 132233, Integer.decode("132233").intValue()); 75 07654321, Integer.decode("07654321").intValue()); 77 Integer.decode("#1234567").intValue() == 0x1234567); 79 Integer.decode("0xdAd").intValue() == 0xdad); 80 assertEquals("Failed for -23", -23, Integer.decode("-23").intValue()); 82 .decode("0").intValue()); 83 assertEquals("Returned incorrect value for 0 hex", 0, Integer.decode("0x0") 86 Integer.decode("-2147483648").intValue() == 0x80000000) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
BitStringTest.java | 62 // decode from byte array 68 BitString decoded = (BitString) asn1.decode(in); 77 // decode from input stream 83 BitString decoded = (BitString) asn1.decode(in); 119 ASN1BitString.getInstance().decode(in); 164 .decode(in))); 206 .decode(in)));
|
ImplicitTest.java | 169 ((ASN1Type) taggedType[i][2]).decode(in)); 212 // decode primitive 214 .decode(primitiveEncoding))); 219 // decode constructed 221 type2.decode(constructedEncoding);
|
IntegerTest.java | 91 // decode from byte array 96 (byte[]) asn1.decode(in))); // returned 99 // decode from input stream 105 (byte[]) asn1.decode(in))); //returned 134 ASN1Integer.getInstance().decode(in);
|
BooleanTest.java | 53 assertEquals("Decoding false value", Boolean.FALSE, asn1.decode(in)); 57 assertEquals("Decoding true value", Boolean.TRUE, asn1.decode(in)); 81 ASN1Boolean.getInstance().decode(in);
|
/external/webkit/Source/WebKit2/Shared/ |
WebEvent.h | 103 static bool decode(CoreIPC::ArgumentDecoder*, WebEvent&); 140 static bool decode(CoreIPC::ArgumentDecoder*, WebMouseEvent&); 195 static bool decode(CoreIPC::ArgumentDecoder*, WebWheelEvent&); 230 static bool decode(CoreIPC::ArgumentDecoder*, WebKeyboardEvent&); 258 static bool decode(CoreIPC::ArgumentDecoder*, WebGestureEvent&); 296 static bool decode(CoreIPC::ArgumentDecoder*, WebPlatformTouchPoint&); 317 static bool decode(CoreIPC::ArgumentDecoder*, WebTouchEvent&);
|
/external/llvm/utils/TableGen/ |
X86RecognizableInstr.h | 32 /// RecognizableInstr - Encapsulates all information required to decode a single 86 /// Indicates whether the instruction should be emitted into the decode 118 /// have the same decoding. Because these would cause decode conflicts, 228 /// emitDecodePath - Populates the proper fields in the decode tables 229 /// corresponding to the decode paths for this instruction. 231 /// @arg tables - The DisassemblerTables to populate with the decode 232 /// decode information for the current instruction. 245 /// processInstr - Accepts a CodeGenInstruction and loads decode information 248 /// @arg tables - The DiassemblerTables to be populated with decode
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
OutputStreamTesterTest.java | 150 public byte[] decode(byte[] delegateBytes) throws Exception { method in class:OutputStreamTesterTest.FilterOutputStreamTester 166 public byte[] decode(byte[] delegateBytes) throws Exception { method in class:OutputStreamTesterTest.BufferedOutputStreamTester 177 public byte[] decode(byte[] delegateBytes) throws Exception { method in class:OutputStreamTesterTest.DataOutputStreamTester 188 public byte[] decode(byte[] delegateBytes) throws Exception { method in class:OutputStreamTesterTest.ObjectOutputStreamTester 200 public byte[] decode(byte[] delegateBytes) throws Exception { method in class:OutputStreamTesterTest.PrintStreamTester
|
/external/apache-http/src/org/apache/commons/codec/net/ |
BCodec.java | 140 * A decoder exception is thrown if a failure condition is encountered during the decode process. 142 public String decode(String value) throws DecoderException { method in class:BCodec 185 * A decoder exception is thrown if a failure condition is encountered during the decode process. 187 public Object decode(Object value) throws DecoderException { method in class:BCodec 191 return decode((String) value);
|
/external/skia/src/animator/ |
SkBase64.cpp | 45 SkBase64::Error SkBase64::decode(const void* srcPtr, size_t size, bool writeDestination) { function in class:SkBase64 157 SkBase64::Error SkBase64::decode(const char* src, size_t len) { 158 Error err = decode(src, len, false); 163 decode(src, len, true); 179 tryMe.decode(src, encodeLength);
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
armVCM4P10_DecodeCoeffsToPair_s.s | 121 ;// Decode Symbol = TotalCoeff*4 + TrailingOnes 137 ;// Decode Trailing Ones 153 ;// Decode level values 233 ;// Decode runs while zeros are left and more than one coefficient 247 ;// Decode runs while no zeros are left
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
armVCM4P10_DecodeCoeffsToPair_s.s | 121 ;// Decode Symbol = TotalCoeff*4 + TrailingOnes 137 ;// Decode Trailing Ones 153 ;// Decode level values 233 ;// Decode runs while zeros are left and more than one coefficient 247 ;// Decode runs while no zeros are left
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
armVCM4P10_DecodeCoeffsToPair.c | 13 * H.264 decode coefficients module 94 /* Decode trailing ones */ 110 /* Decode (non zero) level values */ 176 /* Decode run values */ 180 /* Decode TotalZeros VLC */
|
/development/tools/emulator/opengl/host/libs/libOpenglRender/ |
RenderThread.cpp | 113 size_t last = tInfo->m_glDec.decode(readBuf.buf(), readBuf.validData(), m_stream); 122 last = tInfo->m_gl2Dec.decode(readBuf.buf(), readBuf.validData(), m_stream); 132 last = m_rcDec.decode(readBuf.buf(), readBuf.validData(), m_stream);
|
/external/libvpx/ |
usage_dx.dox | 3 The vpx_codec_decode() function is at the core of the decode loop. It 6 frame of data. Packets \ref MUST be passed in decode order. If the 52 compression process. It is not required to properly decode the frame, and
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
encode.h | 30 enum EncodeType { ENCODE = 1, DECODE = 2 }; 126 // Given an encode arc Label decode back to input/output labels and costs 127 const Tuple* Decode(Label key) { 187 // A mapper to encode/decode weighted transducers. Encoding of an 197 // EncodeTable is generated the same table may by used to decode the machine 200 // Encode -> Determinize -> Decode 203 // decode, even though the encoding is not complete. 219 // Copy constructor but setting the type, typically to DECODE 248 table_->Decode(arc.ilabel); 326 void Decode(MutableFst<A>* fst, const EncodeMapper<A>& mapper) [all...] |
/external/webkit/Source/WebCore/platform/text/ |
TextCodec.h | 66 String decode(const char* str, size_t length, bool flush = false) function in class:WebCore::TextCodec 69 return decode(str, length, flush, false, ignored); 72 virtual String decode(const char*, size_t length, bool flush, bool stopOnError, bool& sawError) = 0;
|
TextEncoding.h | 66 String decode(const char* str, size_t length) const function in class:WebCore::TextEncoding 69 return decode(str, length, false, ignored); 71 String decode(const char*, size_t length, bool stopOnError, bool& sawError) const;
|