/external/chromium_org/base/metrics/ |
histogram_base_unittest.cc | 48 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); local 49 EXPECT_EQ(histogram, deserialized); 54 deserialized = DeserializeHistogramInfo(&iter2); 55 EXPECT_TRUE(deserialized); 56 EXPECT_NE(histogram, deserialized); 57 EXPECT_EQ("TestHistogram", deserialized->histogram_name()); 58 EXPECT_TRUE(deserialized->HasConstructionArguments(1, 1000, 10)); 61 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, deserialized->flags()); 73 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); local 74 EXPECT_EQ(histogram, deserialized); 95 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); local 122 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); local 144 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); local [all...] |
/external/chromium_org/components/invalidation/ |
object_id_invalidation_map_unittest.cc | 81 ObjectIdInvalidationMap deserialized; local 82 deserialized.ResetFromValue(*value.get()); 83 EXPECT_TRUE(empty == deserialized); 89 ObjectIdInvalidationMap deserialized; local 90 deserialized.ResetFromValue(*value.get()); 91 EXPECT_TRUE(one_invalidation == deserialized); 97 ObjectIdInvalidationMap deserialized; local 98 deserialized.ResetFromValue(*value.get()); 99 EXPECT_TRUE(invalidate_all == deserialized);
|
single_object_invalidation_set_unittest.cc | 80 SingleObjectInvalidationSet deserialized; local 81 deserialized.ResetFromValue(*value.get()); 82 EXPECT_TRUE(list == deserialized); 91 SingleObjectInvalidationSet deserialized; local 92 deserialized.ResetFromValue(*value.get()); 93 EXPECT_TRUE(list == deserialized); 103 SingleObjectInvalidationSet deserialized; local 104 deserialized.ResetFromValue(*value.get()); 105 EXPECT_TRUE(list == deserialized);
|
unacked_invalidation_set_unittest.cc | 189 UnackedInvalidationSet deserialized(kObjectId_); 190 deserialized.ResetFromValue(*value.get()); 191 return deserialized; 196 UnackedInvalidationSet deserialized = SerializeDeserialize(); local 197 EXPECT_THAT(unacked_invalidations_, test_util::Eq(deserialized)); 204 UnackedInvalidationSet deserialized = SerializeDeserialize(); local 205 EXPECT_THAT(unacked_invalidations_, test_util::Eq(deserialized)); 216 UnackedInvalidationSet deserialized = SerializeDeserialize(); local 217 EXPECT_THAT(unacked_invalidations_, test_util::Eq(deserialized));
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
ImmutableEnumSet_CustomFieldSerializer.java | 39 List<E> deserialized = Lists.newArrayList(); local 40 Collection_CustomFieldSerializerBase.deserialize(reader, deserialized); 46 return (ImmutableEnumSet<?>) Sets.immutableEnumSet(deserialized);
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
XmlUtilsTest.java | 37 HashMap<String, ?> deserialized = XmlUtils.readMapXml(mapInput); local 38 assertEquals("nullValue", deserialized.get(null)); 39 assertEquals("fooValue", deserialized.get("foo"));
|
/external/chromium_org/chrome/browser/sync_file_system/ |
syncable_file_system_util.cc | 95 FileSystemURL deserialized = local 97 if (!deserialized.is_valid() || 98 deserialized.type() != storage::kFileSystemTypeSyncable) { 102 *url = deserialized;
|
syncable_file_system_util_unittest.cc | 77 FileSystemURL deserialized; local 78 EXPECT_TRUE(DeserializeSyncableFileSystemURL(serialized, &deserialized)); 79 EXPECT_TRUE(deserialized.is_valid()); 80 EXPECT_EQ(expected_url, deserialized); 105 FileSystemURL deserialized; local 107 non_registered_url, &deserialized)); 109 non_syncable_url, &deserialized));
|
/external/chromium_org/components/metrics/serialization/ |
serialization_utils_unittest.cc | 35 scoped_ptr<MetricSample> deserialized = local 37 ASSERT_TRUE(deserialized); 38 EXPECT_TRUE(sample->IsEqual(*deserialized.get()));
|
/libcore/luni/src/test/java/libcore/util/ |
SerializationTester.java | 48 * Verifies that {@code deserialized} is valid. Implementations of this 49 * method may mutate {@code deserialized}. 51 protected void verify(T deserialized) throws Exception {} 61 T deserialized = (T) deserialize(hexDecode(golden)); local 62 assertTrue("User-constructed value doesn't equal deserialized golden value", 63 equals(value, deserialized)); 72 verify(deserialized); 112 * Returns a serialized-and-deserialized copy of {@code object}.
|
/system/keymaster/ |
authorization_set_test.cpp | 166 AuthorizationSet deserialized(buf.get(), size); 168 EXPECT_EQ(AuthorizationSet::OK, deserialized.is_valid()); 169 EXPECT_EQ(set, deserialized); 171 int pos = deserialized.find(TAG_APPLICATION_ID); 173 EXPECT_EQ(KM_TAG_APPLICATION_ID, deserialized[pos].tag); 174 EXPECT_EQ(6U, deserialized[pos].blob.data_length); 175 EXPECT_EQ(0, memcmp(deserialized[pos].blob.data, "my_app", 6)); 196 AuthorizationSet deserialized; local 198 EXPECT_TRUE(deserialized.Deserialize(&p, p + size)); 201 EXPECT_EQ(AuthorizationSet::OK, deserialized.is_valid()) [all...] |
google_keymaster_messages_test.cpp | 48 Message* deserialized = new Message; local 50 EXPECT_TRUE(deserialized->Deserialize(&p, p + size)); 52 return deserialized; 74 UniquePtr<EmptyKeymasterResponse> deserialized(round_trip(msg, 5)); 81 UniquePtr<EmptyKeymasterResponse> deserialized(round_trip(msg, 4)); 91 UniquePtr<SupportedAlgorithmsResponse> deserialized(round_trip(rsp, 20)); 92 EXPECT_EQ(array_length(algorithms), deserialized->algorithms_length); 93 EXPECT_EQ(0, memcmp(deserialized->algorithms, algorithms, array_size(algorithms))); 102 UniquePtr<SupportedResponse<keymaster_digest_t>> deserialized(round_trip(rsp, 20)); 103 EXPECT_EQ(array_length(digests), deserialized->results_length) [all...] |
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 50 * compares reference and deserialized objects (needed only if tested objects do 126 * Tests that data objects can be serialized and deserialized without 141 * Tests that data objects can be deserialized from golden files, to verify 222 * Compares deserialized and reference objects. 226 * @param deserialized - 227 * deserialized object 229 void assertDeserialized(Serializable initial, Serializable deserialized); 235 Serializable deserialized) { 237 Assert.assertEquals(initial, deserialized); 242 * Comparator for verifying that deserialized object is the same as initial 468 Serializable deserialized = getObject(test, ".golden.ser"); local 514 Serializable deserialized = getObject(test, ".golden." + i + ".ser"); local [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
SerializationTest.java | 46 FieldMadeTransient deserialized = (FieldMadeTransient) SerializationTester.deserializeHex(s); local 47 assertEquals(0, deserialized.transientInt); 66 FieldMadeStatic deserialized = (FieldMadeStatic) SerializationTester.deserializeHex(s); local 68 assertEquals(9999, deserialized.staticInt);
|
/libcore/luni/src/test/java/libcore/java/net/ |
InetAddressTest.java | 166 @Override protected void verify(InetAddress deserialized) throws Exception { 167 deserialized.isReachable(500); 170 deserialized.isReachable(nif, 20, 500);
|
URLTest.java | 113 * is not documented. Check that we don't return a deserialized hash code 114 * from a deserialized value. 125 @Override protected void verify(URL deserialized) { 126 assertEquals(url.hashCode(), deserialized.hashCode());
|
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.java | 47 * compares reference and deserialized objects (needed only if tested objects do 81 * Tests that data objects can be serialized and deserialized without 96 * Tests that data objects can be deserialized from golden files, to verify 177 * Compares deserialized and reference objects. 180 * @param deserialized - deserialized object 182 void assertDeserialized(Serializable initial, Serializable deserialized); 187 public void assertDeserialized(Serializable initial, Serializable deserialized) { 188 assertEquals(initial, deserialized); 193 * Comparator for verifying that deserialized object is the same as initial 322 Serializable deserialized = getObject(test, ".golden.ser"); local 360 Serializable deserialized = getObject(test, ".golden." + i + ".ser"); local [all...] |
/external/chromium_org/sync/internal_api/public/base/ |
unique_position_unittest.cc | 655 UniquePosition deserialized = UniquePosition::FromProto(proto); local 657 EXPECT_PRED_FORMAT2(Equals, *it, deserialized); 666 UniquePosition deserialized = UniquePosition::FromProto(proto); local 667 EXPECT_FALSE(deserialized.IsValid());
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
NanoTest.java | 2139 EnumValidity.M deserialized = MessageNano.mergeFrom(new EnumValidity.M(), serialized); local 2211 EnumValidityAccessors.M deserialized = local 3078 AnotherMessage deserialized = AnotherMessage.parseFrom(newBytes); local 3562 TestAllTypesNano deserialized = MessageNano.mergeFrom(new TestAllTypesNano(), serialized); local [all...] |
/external/chromium_org/v8/test/cctest/ |
test-api.cc | 15046 i::ScriptData* deserialized = new i::ScriptData(serialized_data, cd->length); local [all...] |
/prebuilts/tools/common/netbeans-visual/ |
org-openide-util.jar | |