Home
last modified time | relevance | path

Searched refs:deserialized (Results 1 – 25 of 68) sorted by relevance

123

/external/libchrome/base/metrics/
Dhistogram_base_unittest.cc50 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); in TEST_F() local
51 EXPECT_EQ(histogram, deserialized); in TEST_F()
56 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
57 EXPECT_TRUE(deserialized); in TEST_F()
58 EXPECT_NE(histogram, deserialized); in TEST_F()
59 EXPECT_EQ("TestHistogram", StringPiece(deserialized->histogram_name())); in TEST_F()
60 EXPECT_TRUE(deserialized->HasConstructionArguments(1, 1000, 10)); in TEST_F()
63 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, deserialized->flags()); in TEST_F()
75 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); in TEST_F() local
76 EXPECT_EQ(histogram, deserialized); in TEST_F()
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Drevived_types_test.py74 deserialized, _ = revived_types.deserialize(serialized)
75 self.assertIsInstance(deserialized, CustomTestClass)
76 self.assertEqual(4, deserialized.version)
89 deserialized, _ = revived_types.deserialize(
96 self.assertEqual(2, deserialized.version)
99 deserialized, _ = revived_types.deserialize(
106 self.assertEqual(3, deserialized.version)
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/
DSerializationTest.java229 void assertDeserialized(Serializable initial, Serializable deserialized); in assertDeserialized() argument
235 Serializable deserialized) {
237 Assert.assertEquals(initial, deserialized);
246 Serializable deserialized) {
248 Assert.assertSame(initial, deserialized);
256 public void assertDeserialized(Serializable initial, Serializable deserialized) {
259 Throwable dserThr = (Throwable) deserialized;
283 public void assertDeserialized(Serializable initial, Serializable deserialized) {
286 PermissionCollection dserPC = (PermissionCollection) deserialized;
362 Serializable deserialized) {
[all …]
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLazyMessageLiteTest.java271 LazyMessageLite deserialized = LazyMessageLite.parseFrom(bytes); in testSerialize() local
273 assertEquals(1, deserialized.getNum()); in testSerialize()
274 assertEquals(421, deserialized.getNumWithDefault()); in testSerialize()
276 assertEquals(2, deserialized.getInner().getNum()); in testSerialize()
277 assertEquals(42, deserialized.getInner().getNumWithDefault()); in testSerialize()
279 assertEquals(3, deserialized.getInner().getNested().getNum()); in testSerialize()
280 assertEquals(4, deserialized.getInner().getNested().getNumWithDefault()); in testSerialize()
282 assertEquals(2, deserialized.getOneofInner().getNum()); in testSerialize()
283 assertEquals(42, deserialized.getOneofInner().getNumWithDefault()); in testSerialize()
284 assertEquals(3, deserialized.getOneofInner().getNested().getNum()); in testSerialize()
[all …]
/external/guava/guava-gwt/src/com/google/common/collect/
DImmutableEnumSet_CustomFieldSerializer.java39 List<E> deserialized = Lists.newArrayList(); in instantiate() local
40 Collection_CustomFieldSerializerBase.deserialize(reader, deserialized); in instantiate()
46 return (ImmutableEnumSet<?>) Sets.immutableEnumSet(deserialized); in instantiate()
DImmutableEnumMap_CustomFieldSerializer.java39 Map<K, V> deserialized = Maps.newHashMap(); in instantiate() local
40 Map_CustomFieldSerializerBase.deserialize(reader, deserialized); in instantiate()
46 return (ImmutableEnumMap<?, ?>) Maps.immutableEnumMap(deserialized); in instantiate()
/external/google-breakpad/src/common/
Dsimple_string_dictionary_unittest.cc272 TestMap deserialized(serialized_copy, size); in TEST() local
275 EXPECT_EQ(3u, deserialized.GetCount()); in TEST()
276 EXPECT_STREQ("abc", deserialized.GetValueForKey("one")); in TEST()
277 EXPECT_STREQ("def", deserialized.GetValueForKey("two")); in TEST()
278 EXPECT_STREQ("hig", deserialized.GetValueForKey("tre")); in TEST()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dmap_defun_op_test.py287 deserialized = sparse_ops.deserialize_sparse(map_defun_op, dtypes.int32)
292 actual = self.evaluate(deserialized)
308 deserialized = sparse_ops.deserialize_sparse(map_defun_op, dtypes.int32)
313 actual = self.evaluate(deserialized)
329 deserialized = sparse_ops.deserialize_sparse(map_defun_op, dtypes.int32)
334 actual = self.evaluate(deserialized)
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/javax/sql/
DStatementEventTest.java100 Serializable deserialized) {
102 StatementEvent dserSt = (StatementEvent) deserialized;
DConnectionEventTest.java94 Serializable deserialized) {
96 ConnectionEvent ceDeser = (ConnectionEvent) deserialized;
/external/tensorflow/tensorflow/python/keras/utils/
Dgeneric_utils_test.py79 deserialized = keras.utils.generic_utils.deserialize_keras_object(
81 self.assertEqual(deserialized, None)
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DSQLClientInfoExceptionTest.java239 Serializable deserialized) {
242 deserialized);
245 SQLClientInfoException desrEx = (SQLClientInfoException) deserialized;
DBatchUpdateExceptionTest.java445 Serializable deserialized) {
449 deserialized);
452 BatchUpdateException dserThr = (BatchUpdateException) deserialized;
DSQLWarningTest.java425 Serializable deserialized) {
429 deserialized);
432 SQLWarning dserThr = (SQLWarning) deserialized;
DDataTruncationTest.java488 Serializable deserialized) {
492 deserialized);
495 DataTruncation dserThr = (DataTruncation) deserialized;
/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java2127 EnumValidity.M deserialized = MessageNano.mergeFrom(new EnumValidity.M(), serialized); in testNanoEnumValidity() local
2128 assertEquals(EnumValidity.E.default_, deserialized.optionalE); in testNanoEnumValidity()
2129 assertEquals(EnumValidity.E.BAZ, deserialized.defaultE); in testNanoEnumValidity()
2131 new int[] {EnumValidity.E.FOO, EnumValidity.E.BAR}, deserialized.repeatedE)); in testNanoEnumValidity()
2133 new int[] {EnumValidity.E.FOO, EnumValidity.E.BAZ}, deserialized.packedE)); in testNanoEnumValidity()
2135 new int[] {EnumValidity.E.BAR}, deserialized.repeatedE2)); in testNanoEnumValidity()
2137 new int[] {EnumValidity.E.FOO}, deserialized.packedE2)); in testNanoEnumValidity()
2138 assertEquals(0, deserialized.repeatedE3.length); in testNanoEnumValidity()
2139 assertEquals(0, deserialized.packedE3.length); in testNanoEnumValidity()
2143 deserialized.optionalE = EnumValidity.E.BAR; in testNanoEnumValidity()
[all …]
/external/tensorflow/tensorflow/python/keras/saving/
Dhdf5_format.py188 deserialized = []
190 deserialized.append(convert_custom_objects(value))
191 return deserialized
193 deserialized = {}
195 deserialized[key] = convert_custom_objects(value)
196 return deserialized
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_serialization_ops_test.py290 deserialized = deserialize_fn(serialized, dtype=dtypes.string)
292 deserialized,
327 deserialized = sparse_ops.deserialize_sparse(
330 deserialized,
350 deserialized = sparse_ops.deserialize_sparse(stacked, dtype=dtypes.int32)
352 deserialized,
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
DPropertyChangeEventTest.java147 Serializable deserialized) {
150 PropertyChangeEvent desrEv = (PropertyChangeEvent) deserialized;
/external/mesa3d/src/compiler/glsl/
Dshader_cache.cpp231 bool deserialized = deserialize_glsl_program(&metadata, ctx, prog); in shader_cache_read_program_metadata() local
233 if (!deserialized || metadata.current != metadata.end || metadata.overrun) { in shader_cache_read_program_metadata()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing_test.cc153 Example deserialized; in TEST() local
154 EXPECT_TRUE(deserialized.ParseFromString(serialized)); in TEST()
155 EXPECT_EQ(deserialized.DebugString(), context.DebugString()); in TEST()
/external/llvm/test/Bitcode/
Dfcmp-fast.ll6 ; Make sure flags on fcmp instructions are serialized/deserialized properly.
Dflags.ll7 ; Make sure the flags are serialized/deserialized properly for both
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bitcode/
Dflags.ll7 ; Make sure the flags are serialized/deserialized properly for both
/external/swiftshader/third_party/LLVM/test/Bitcode/
Dflags.ll6 ; Make sure the flags are serialized/deserialized properly for both

123