/external/tensorflow/tensorflow/core/lib/strings/ |
base64_test.cc | 28 string decoded; local 29 TF_EXPECT_OK(Base64Decode(encoded, &decoded)); 30 EXPECT_EQ(original, decoded);
|
/external/curl/tests/unit/ |
unit1302.c | 51 unsigned char *decoded; variable 105 rc = Curl_base64_decode("aWlpaQ==", &decoded, &size); 108 verify_memory(decoded, "iiii", 4); 109 Curl_safefree(decoded); variable 111 rc = Curl_base64_decode("aWlp", &decoded, &size); 114 verify_memory(decoded, "iii", 3); 115 Curl_safefree(decoded); variable 117 rc = Curl_base64_decode("aWk=", &decoded, &size); 120 verify_memory(decoded, "ii", 2); 121 Curl_safefree(decoded); variable 127 Curl_safefree(decoded); variable [all...] |
/external/python/cpython3/Modules/cjkcodecs/ |
_codecs_tw.c | 49 Py_UCS4 decoded; local 58 if (TRYMAP_DEC(big5, decoded, c, INBYTE2)) { 59 OUTCHAR(decoded); 108 Py_UCS4 decoded; local 118 if (TRYMAP_DEC(cp950ext, decoded, c, INBYTE2)) 119 OUTCHAR(decoded); 120 else if (TRYMAP_DEC(big5, decoded, c, INBYTE2)) 121 OUTCHAR(decoded);
|
/external/deqp-deps/SPIRV-Tools/test/ |
huffman_codec.cpp | 165 std::string decoded; local 167 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); 168 EXPECT_EQ("l", decoded); 170 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); 171 EXPECT_EQ("i", decoded); 173 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); 174 EXPECT_EQ("n", decoded); 176 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); 177 EXPECT_EQ("u", decoded); 179 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); 198 uint32_t decoded; local 303 uint64_t decoded = 0; local [all...] |
/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
LowerCaseBase16EncodingTest.java | 70 private static void testEncoding(String decoded, String encoded) { 71 testEncodes(decoded, encoded); 72 testDecodes(encoded, decoded); 75 private static void testEncodes(String decoded, String encoded) { 76 assertThat(LowerCaseBase16Encoding.encodeToString(decoded.getBytes(CHARSET))) 80 private static void testDecodes(String encoded, String decoded) { 81 assertThat(LowerCaseBase16Encoding.decodeToBytes(encoded)).isEqualTo(decoded.getBytes(CHARSET));
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
huffman_codec.cpp | 165 std::string decoded; local 167 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); 168 EXPECT_EQ("l", decoded); 170 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); 171 EXPECT_EQ("i", decoded); 173 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); 174 EXPECT_EQ("n", decoded); 176 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); 177 EXPECT_EQ("u", decoded); 179 ASSERT_TRUE(huffman.DecodeFromStream(read_bit, &decoded)); 198 uint32_t decoded; local 303 uint64_t decoded = 0; local [all...] |
/external/webrtc/webrtc/base/ |
urlencode.h | 39 std::string UrlEncodeString(const std::string & decoded); 41 const std::string & decoded); 42 std::string UrlEncodeStringForOnlyUnsafeChars(const std::string & decoded);
|
/external/grpc-grpc/test/core/slice/ |
b64_test.cc | 166 grpc_slice decoded; local 169 decoded = grpc_base64_decode("Zm9vYmFy", 0); 170 GPR_ASSERT(!GRPC_SLICE_IS_EMPTY(decoded)); 171 GPR_ASSERT(grpc_slice_str_cmp(decoded, "foobar") == 0); 172 grpc_slice_unref(decoded); 174 decoded = grpc_base64_decode("Zm9vYmE", 0); 175 GPR_ASSERT(!GRPC_SLICE_IS_EMPTY(decoded)); 176 GPR_ASSERT(grpc_slice_str_cmp(decoded, "fooba") == 0); 177 grpc_slice_unref(decoded); 179 decoded = grpc_base64_decode("Zm9vYg", 0) [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/ |
D03Iort.asl | 46 [0001] Hints (decoded below) : 00
52 [0001] Memory Flags (decoded below) : 00
63 [0004] Flags (decoded below) : 00000001
77 [0001] Hints (decoded below) : 00
83 [0001] Memory Flags (decoded below) : 00
94 [0004] Flags (decoded below) : 00000001
108 [0001] Hints (decoded below) : 00
114 [0001] Memory Flags (decoded below) : 00
125 [0004] Flags (decoded below) : 00000001
139 [0001] Hints (decoded below) : 00 [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
audio_decoder_ilbc.cc | 34 int16_t* decoded, 38 int ret = WebRtcIlbcfix_Decode(dec_state_, encoded, encoded_len, decoded, 44 size_t AudioDecoderIlbc::DecodePlc(size_t num_frames, int16_t* decoded) { 45 return WebRtcIlbcfix_NetEqPlc(dec_state_, decoded, num_frames);
|
audio_decoder_ilbc.h | 25 size_t DecodePlc(size_t num_frames, int16_t* decoded) override; 33 int16_t* decoded,
|
ilbc.h | 178 * - decoded : The decoded vector 181 * Return value : >0 - Samples in decoded vector 188 int16_t* decoded, 193 int16_t* decoded, 198 int16_t* decoded, 213 * - decoded : The "decoded" vector 215 * Return value : Samples in decoded PLC vector 219 int16_t *decoded, [all...] |
/external/webrtc/webrtc/test/fuzzers/ |
audio_decoder_fuzzer.h | 27 int16_t* decoded);
|
/external/perfetto/src/traced/probes/android_log/ |
android_log_data_source_unittest.cc | 220 const auto& decoded = packet->android_log().events(); local 222 EXPECT_EQ(decoded.Get(0).log_id(), protos::AndroidLogId::LID_SYSTEM); 223 EXPECT_EQ(decoded.Get(0).pid(), 7546); 224 EXPECT_EQ(decoded.Get(0).tid(), 8991); 225 EXPECT_EQ(decoded.Get(0).uid(), 1000); 226 EXPECT_EQ(decoded.Get(0).prio(), protos::AndroidLogPriority::PRIO_INFO); 227 EXPECT_EQ(decoded.Get(0).timestamp(), 1546125239679172326LL); 228 EXPECT_EQ(decoded.Get(0).tag(), "ActivityManager"); 230 decoded.Get(0).message(), 233 EXPECT_EQ(decoded.Get(1).log_id(), protos::AndroidLogId::LID_DEFAULT) 269 const auto& decoded = packet->android_log().events(); local 288 const auto& decoded = packet->android_log().events(); local 310 const auto& decoded = packet->android_log().events(); local 390 const auto& decoded = packet->android_log().events(); local [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/ |
audio_decoder.cc | 22 int16_t* decoded, SpeechType* speech_type) { 29 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, 35 int16_t* decoded, SpeechType* speech_type) { 42 return DecodeRedundantInternal(encoded, encoded_len, sample_rate_hz, decoded, 48 int sample_rate_hz, int16_t* decoded, 50 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, 56 size_t AudioDecoder::DecodePlc(size_t num_frames, int16_t* decoded) {
|
audio_decoder.h | 38 // |decoded|. The maximum bytes allowed to be written into |decoded| is 48 int16_t* decoded, 57 int16_t* decoded, 65 // memory allocated in |decoded| should accommodate |num_frames| frames. 66 virtual size_t DecodePlc(size_t num_frames, int16_t* decoded); 109 int16_t* decoded, 115 int16_t* decoded,
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Hi1616/D05AcpiTables/ |
D05Iort.asl | 125 [0001] Hints (decoded below) : 00
131 [0001] Memory Flags (decoded below) : 00
142 [0004] Flags (decoded below) : 00000001
156 [0001] Hints (decoded below) : 00
162 [0001] Memory Flags (decoded below) : 00
173 [0004] Flags (decoded below) : 00000001
187 [0001] Hints (decoded below) : 00
193 [0001] Memory Flags (decoded below) : 00
204 [0004] Flags (decoded below) : 00000001
218 [0001] Hints (decoded below) : 00 [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Pv660/Pv660AcpiTables/ |
Iort.asl | 79 [0001] Hints (decoded below) : 00
85 [0001] Memory Flags (decoded below) : 00
96 [0004] Flags (decoded below) : 00000000
110 [0001] Hints (decoded below) : 00
116 [0001] Memory Flags (decoded below) : 00
127 [0004] Flags (decoded below) : 00000000
141 [0001] Hints (decoded below) : 00
147 [0001] Memory Flags (decoded below) : 00
158 [0004] Flags (decoded below) : 00000000
172 [0001] Hints (decoded below) : 00 [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/ |
audio_decoder_g722.cc | 36 int16_t* decoded, 41 WebRtcG722_Decode(dec_state_, encoded, encoded_len, decoded, &temp_type); 75 int16_t* decoded, 84 encoded_len / 2, decoded, &temp_type); 87 encoded_len / 2, &decoded[decoded_len], &temp_type); 92 int16_t temp = decoded[k]; 93 memmove(&decoded[2 * k - ret + 2], &decoded[2 * k - ret + 1], 95 decoded[2 * k - ret + 1] = temp;
|
/external/libchrome/base/ |
base64_unittest.cc | 16 std::string decoded; local 22 ok = Base64Decode(encoded, &decoded); 24 EXPECT_EQ(kText, decoded);
|
/art/libartbase/base/ |
leb128_test.cc | 26 uint32_t decoded; member in struct:art::DecodeUnsignedLeb128TestCase 45 int32_t decoded; member in struct:art::DecodeSignedLeb128TestCase 98 builder.PushBackUnsigned(uleb128_tests[i].decoded); 99 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), builder.GetData().size()); 109 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; 117 uint8_t* end = EncodeUnsignedLeb128(encoded_data, uleb128_tests[i].decoded); 119 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), data_size); 128 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; 136 builder.PushBackUnsigned(uleb128_tests[i].decoded); 141 for (size_t j = 0; j < UnsignedLeb128Size(uleb128_tests[i].decoded); ++j) [all...] |
/external/brotli/java/org/brotli/wrapper/enc/ |
EmptyInputTest.java | 26 byte[] decoded = Decoder.decompress(encoded); 27 assertEquals(0, decoded.length);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/ |
g711_interface.h | 76 * - decoded : The decoded vector 81 * Return value : >0 - Samples in decoded vector 87 int16_t* decoded, 100 * - decoded : The decoded vector 105 * Return value : >0 - Samples in decoded vector 111 int16_t* decoded,
|
/external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/ |
audio_decoder_pcm16b.cc | 32 int16_t* decoded, 37 size_t ret = WebRtcPcm16b_Decode(encoded, encoded_len, decoded);
|
/external/tensorflow/tensorflow/python/saved_model/ |
nested_structure_coder_test.py | 45 decoded = self._coder.decode_proto(encoded) 46 self.assertEqual(structure, decoded) 60 decoded = self._coder.decode_proto(encoded) 61 self.assertEqual(structure, decoded) 73 decoded = self._coder.decode_proto(encoded) 74 self.assertIsInstance(decoded["a"], int) 75 self.assertEqual(structure, decoded) 89 decoded = self._coder.decode_proto(encoded) 90 self.assertEqual(structure, decoded) 109 decoded = self._coder.decode_proto(encoded [all...] |