Home
last modified time | relevance | path

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

12

/external/libchrome/base/metrics/
Dhistogram_base_unittest.cc46 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); in TEST_F() local
47 EXPECT_EQ(histogram, deserialized); in TEST_F()
52 deserialized = DeserializeHistogramInfo(&iter2); in TEST_F()
53 EXPECT_TRUE(deserialized); in TEST_F()
54 EXPECT_NE(histogram, deserialized); in TEST_F()
55 EXPECT_EQ("TestHistogram", deserialized->histogram_name()); in TEST_F()
56 EXPECT_TRUE(deserialized->HasConstructionArguments(1, 1000, 10)); in TEST_F()
59 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, deserialized->flags()); in TEST_F()
71 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); in TEST_F() local
72 EXPECT_EQ(histogram, deserialized); in TEST_F()
[all …]
/external/protobuf/java/src/test/java/com/google/protobuf/
DLazyMessageLiteTest.java276 LazyMessageLite deserialized = LazyMessageLite.parseFrom(bytes); in testSerialize() local
278 assertEquals(1, deserialized.getNum()); in testSerialize()
279 assertEquals(421, deserialized.getNumWithDefault()); in testSerialize()
281 assertEquals(2, deserialized.getInner().getNum()); in testSerialize()
282 assertEquals(42, deserialized.getInner().getNumWithDefault()); in testSerialize()
284 assertEquals(3, deserialized.getInner().getNested().getNum()); in testSerialize()
285 assertEquals(4, deserialized.getInner().getNested().getNumWithDefault()); in testSerialize()
287 assertEquals(2, deserialized.getOneofInner().getNum()); in testSerialize()
288 assertEquals(42, deserialized.getOneofInner().getNumWithDefault()); in testSerialize()
289 assertEquals(3, deserialized.getOneofInner().getNested().getNum()); in testSerialize()
[all …]
DNanoTest.java2144 EnumValidity.M deserialized = MessageNano.mergeFrom(new EnumValidity.M(), serialized); in testNanoEnumValidity() local
2145 assertEquals(EnumValidity.E.default_, deserialized.optionalE); in testNanoEnumValidity()
2146 assertEquals(EnumValidity.E.BAZ, deserialized.defaultE); in testNanoEnumValidity()
2148 new int[] {EnumValidity.E.FOO, EnumValidity.E.BAR}, deserialized.repeatedE)); in testNanoEnumValidity()
2150 new int[] {EnumValidity.E.FOO, EnumValidity.E.BAZ}, deserialized.packedE)); in testNanoEnumValidity()
2152 new int[] {EnumValidity.E.BAR}, deserialized.repeatedE2)); in testNanoEnumValidity()
2154 new int[] {EnumValidity.E.FOO}, deserialized.packedE2)); in testNanoEnumValidity()
2155 assertEquals(0, deserialized.repeatedE3.length); in testNanoEnumValidity()
2156 assertEquals(0, deserialized.packedE3.length); in testNanoEnumValidity()
2160 deserialized.optionalE = EnumValidity.E.BAR; in testNanoEnumValidity()
[all …]
/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/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/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/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;
DSQLExceptionTest.java487 Serializable deserialized) {
491 deserialized);
494 SQLException dserThr = (SQLException) deserialized;
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
DPropertyChangeEventTest.java147 Serializable deserialized) {
150 PropertyChangeEvent desrEv = (PropertyChangeEvent) deserialized;
DPropertyChangeSupportTest.java1251 Serializable deserialized) { in testSerializationCompatibility()
1253 PropertyChangeSupport deSup = (PropertyChangeSupport) deserialized; in testSerializationCompatibility()
/external/llvm/test/Bitcode/
Dflags.ll7 ; Make sure the flags are serialized/deserialized properly for both
Dfcmp-fast.ll6 ; Make sure flags on fcmp instructions are serialized/deserialized properly.
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DLevelTest.java277 Serializable deserialized) {
280 Level dser = (Level) deserialized;
DLogRecordTest.java264 Serializable deserialized) {
267 LogRecord dser = (LogRecord) deserialized;
/external/clang/docs/
DPCHInternals.rst82 entity (and those entities it depends on) are deserialized from the AST file.
109 declarations, identifiers, and macros were actually deserialized from the
248 When types are deserialized from the AST file, the data within the record is
271 AST file. When declarations are deserialized from the AST file, the data
295 stored within a declaration context will be deserialized. There are two
305 deserialized to provide the results of name lookup.
383 (macro definitions, flags, top-level declarations, etc.) will be deserialized,
568 existing, non-visible, already-deserialized AST nodes visible; it is the
/external/skia/tests/
DImageTest.cpp230 SkAutoTUnref<SkPicture> deserialized(SkPicture::CreateFromStream(rstream)); in DEF_TEST() local
231 REPORTER_ASSERT(reporter, deserialized); in DEF_TEST()
232 REPORTER_ASSERT(reporter, deserialized->approximateOpCount() > 0); in DEF_TEST()
/external/clang/include/clang/Driver/
DCC1Options.td531 def dump_deserialized_pch_decls : Flag<["-"], "dump-deserialized-decls">,
532 HelpText<"Dump declarations that are deserialized from PCH, for testing">;
533 def error_on_deserialized_pch_decl : Separate<["-"], "error-on-deserialized-decl">,
534 HelpText<"Emit error if a specific declaration is deserialized from PCH, for testing">;
535 def error_on_deserialized_pch_decl_EQ : Joined<["-"], "error-on-deserialized-decl=">,
/external/guava/guava-tests/test/com/google/common/collect/
DSetsTest.java349 ImmutableSet<?> deserialized = (ImmutableSet<?>) in.readObject();
352 assertEquals(original, deserialized);
354 assertTrue(deserialized.contains(SomeEnum.A));
/external/v8/src/
Dexecution.cc39 function->shared()->deserialized()) { in PrintDeserializedCodeInfo()

12