HomeSort by relevance Sort by last modified time
    Searched refs:encoded (Results 151 - 175 of 1214) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/skia/bench/
CodecBench.cpp 18 CodecBench::CodecBench(SkString baseName, SkData* encoded, SkColorType colorType,
22 , fData(SkRef(encoded))
  /external/skqp/bench/
AndroidCodecBench.cpp 15 AndroidCodecBench::AndroidCodecBench(SkString baseName, SkData* encoded, int sampleSize)
16 : fData(SkRef(encoded))
CodecBench.cpp 18 CodecBench::CodecBench(SkString baseName, SkData* encoded, SkColorType colorType,
22 , fData(SkRef(encoded))
  /external/tensorflow/tensorflow/contrib/coder/python/ops/
coder_ops_test.py 44 encoded = coder_ops.range_encode(data, cdf, precision=14)
46 encoded, array_ops.shape(data), cdf, precision=14)
  /external/tensorflow/tensorflow/python/kernel_tests/
base64_ops_test.py 53 encoded, decoded = sess.run([self._encoded_t, self._decoded_t],
56 encoded, decoded = sess.run([self._encoded_f, self._decoded_f],
61 encoded = [encoded]
69 self.assertEqual(base64_msg[i], encoded[i])
92 encoded = string_ops.encode_base64(msg, pad=pad)
93 decoded = string_ops.decode_base64(encoded)
96 encoded_value, decoded_value = sess.run([encoded, decoded])
  /external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
ilbc.c 94 uint8_t* encoded) {
111 WebRtcIlbcfix_EncodeImpl((uint16_t*)&encoded[2 * encpos], &speechIn[pos],
143 const uint8_t* encoded,
185 (const uint16_t*)&encoded
196 const uint8_t* encoded,
213 (const uint16_t*)&encoded
224 const uint8_t* encoded,
241 (const uint16_t*)&encoded
  /external/webrtc/webrtc/test/
fake_encoder.cc 100 EncodedImage encoded(
102 encoded._timeStamp = input_image.timestamp();
103 encoded.capture_time_ms_ = input_image.render_time_ms();
104 encoded._frameType = (*frame_types)[i];
105 encoded._encodedWidth = config_.simulcastStream[i].width;
106 encoded._encodedHeight = config_.simulcastStream[i].height;
111 if (callback_->Encoded(encoded, &specifics, NULL) != 0)
113 bits_available -= std::min(encoded._length * 8, bits_available);
151 int32_t FakeH264Encoder::Encoded(const EncodedImage& encoded_image
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/cert/
SubjectAlternativeNameTest.java 67 byte[] encoded = certificate.getEncoded();
69 return (X509Certificate) factory.generateCertificate(new ByteArrayInputStream(encoded));
  /libcore/ojluni/src/main/java/java/security/cert/
PolicyQualifierInfo.java 94 * encoded bytes. The encoded byte array is copied on construction.
96 * @param encoded a byte array containing the qualifier in DER encoding
100 public PolicyQualifierInfo(byte[] encoded) throws IOException {
101 mEncoded = encoded.clone();
130 * Returns the ASN.1 DER encoded form of this
133 * @return the ASN.1 DER encoded bytes (never {@code null}).
142 * Returns the ASN.1 DER encoded form of the {@code qualifier}
145 * @return the ASN.1 DER encoded bytes of the {@code qualifier}
  /libcore/ojluni/src/test/java/security/cert/
AKISerialNumberTest.java 141 private static X509Certificate getCertFromMimeEncoding(String encoded)
144 byte[] bytes = b64Decoder.decode(encoded);
  /prebuilts/go/darwin-x86/doc/progs/
gobs1.go 7 type T struct{ X, Y, Z int } // Only exported fields are encoded and decoded.
  /prebuilts/go/darwin-x86/src/encoding/base64/
example_test.go 17 encoded := base64.StdEncoding.EncodeToString([]byte(msg))
18 fmt.Println(encoded)
19 decoded, err := base64.StdEncoding.DecodeString(encoded)
56 // won't be encoded.
base64_test.go 20 decoded, encoded string
115 got, tt.conv(p.encoded))
126 testEqual(t, "Encode(%q) = %q, want %q", p.decoded, bb.String(), p.encoded)
146 testEqual(t, "Encoding/%d of %q = %q, want %q", bs, bigtest.decoded, bb.String(), bigtest.encoded)
153 encoded := tt.conv(p.encoded)
154 dbuf := make([]byte, tt.enc.DecodedLen(len(encoded)))
155 count, err := tt.enc.Decode(dbuf, []byte(encoded))
156 testEqual(t, "Decode(%q) = error %v, want %v", encoded, err, error(nil))
157 testEqual(t, "Decode(%q) = length %v, want %v", encoded, count, len(p.decoded)
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue15646.go 7 // Test that method expressions are correctly encoded
  /prebuilts/go/linux-x86/doc/progs/
gobs1.go 7 type T struct{ X, Y, Z int } // Only exported fields are encoded and decoded.
  /prebuilts/go/linux-x86/src/encoding/base64/
example_test.go 17 encoded := base64.StdEncoding.EncodeToString([]byte(msg))
18 fmt.Println(encoded)
19 decoded, err := base64.StdEncoding.DecodeString(encoded)
56 // won't be encoded.
base64_test.go 20 decoded, encoded string
115 got, tt.conv(p.encoded))
126 testEqual(t, "Encode(%q) = %q, want %q", p.decoded, bb.String(), p.encoded)
146 testEqual(t, "Encoding/%d of %q = %q, want %q", bs, bigtest.decoded, bb.String(), bigtest.encoded)
153 encoded := tt.conv(p.encoded)
154 dbuf := make([]byte, tt.enc.DecodedLen(len(encoded)))
155 count, err := tt.enc.Decode(dbuf, []byte(encoded))
156 testEqual(t, "Decode(%q) = error %v, want %v", encoded, err, error(nil))
157 testEqual(t, "Decode(%q) = length %v, want %v", encoded, count, len(p.decoded)
    [all...]
  /prebuilts/go/linux-x86/test/fixedbugs/
issue15646.go 7 // Test that method expressions are correctly encoded
  /external/tensorflow/tensorflow/core/lib/strings/
base64.cc 138 Status Base64Encode(StringPiece source, string* encoded) {
139 return Base64Encode(source, false, encoded);
142 Status Base64Encode(StringPiece source, bool with_padding, string* encoded) {
144 if (encoded == nullptr) {
145 return errors::Internal("'encoded' cannot be nullptr.");
154 "Failed to allocate buffer for encoded string.");
190 encoded->assign(buffer.get(), current - buffer.get());
  /external/wycheproof/java/com/google/security/wycheproof/testcases/
EcKeyTest.java 133 byte[] encoded = TestUtil.hexToBytes(encodedHex);
134 X509EncodedKeySpec x509keySpec = new X509EncodedKeySpec(encoded);
150 byte[] encoded = priv.getEncoded();
151 System.out.println("Encoded ECPrivateKey:" + TestUtil.bytesToHex(encoded));
152 PKCS8EncodedKeySpec spec = new PKCS8EncodedKeySpec(encoded);
RsaKeyTest.java     [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
CipherThread.java 50 public void checkEncodedData(byte[] original, byte[] encoded)
53 if (original[i] != encoded[i]) {
54 throw new Exception("Source and encoded data not match " +
60 public void checkPaddedEncodedData(byte[] original, byte[] encoded, int offset)
63 if (encoded[i] != 0) {
64 throw new Exception("Encoded data is not properly padded at offset " + i);
68 if (original[i] != encoded[i + offset]) {
69 throw new Exception("Source and encoded data not match " + getCipherParameters());
  /external/webrtc/webrtc/modules/audio_coding/codecs/opus/
opus_interface.c 99 uint8_t* encoded) {
138 encoded,
319 static int DecodeNative(OpusDecInst* inst, const uint8_t* encoded,
322 int res = opus_decode(inst->decoder, encoded, (opus_int32)encoded_bytes,
333 int WebRtcOpus_Decode(OpusDecInst* inst, const uint8_t* encoded,
343 encoded,
381 int WebRtcOpus_DecodeFec(OpusDecInst* inst, const uint8_t* encoded,
387 if (WebRtcOpus_PacketHasFec(encoded, encoded_bytes) != 1) {
391 fec_samples = opus_packet_get_samples_per_frame(encoded, 48000);
393 decoded_samples = DecodeNative(inst, encoded, encoded_bytes
    [all...]
  /frameworks/base/core/tests/coretests/src/android/util/
Base64Test.java 41 * gives the same string. Returns the encoded string.
324 byte[] encoded = Base64.encode(plain, flags);
332 // ----- test decoding ("encoded" -> "plain") -----
335 bais = new ByteArrayInputStream(encoded);
344 bais = new ByteArrayInputStream(encoded);
353 bais = new ByteArrayInputStream(encoded);
371 // ----- test encoding ("plain" -> "encoded") -----
380 assertEquals(actual, ap, encoded);
389 assertEquals(actual, ap, encoded);
408 assertEquals(actual, ap, encoded);
    [all...]
  /frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreCipherSpiBase.java 596 byte[] encoded = null;
599 encoded = key.getEncoded();
601 if (encoded == null) {
607 encoded = spec.getEncoded();
616 encoded = key.getEncoded();
618 if (encoded == null) {
623 encoded = spec.getEncoded();
632 encoded = key.getEncoded();
634 if (encoded == null) {
639 encoded = spec.getEncoded()
    [all...]

Completed in 943 milliseconds

1 2 3 4 5 67 8 91011>>