HomeSort by relevance Sort by last modified time
    Searched full:deserialized (Results 1 - 25 of 320) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libchrome/base/metrics/
histogram_base_unittest.cc 46 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); local
47 EXPECT_EQ(histogram, deserialized);
52 deserialized = DeserializeHistogramInfo(&iter2);
53 EXPECT_TRUE(deserialized);
54 EXPECT_NE(histogram, deserialized);
55 EXPECT_EQ("TestHistogram", deserialized->histogram_name());
56 EXPECT_TRUE(deserialized->HasConstructionArguments(1, 1000, 10));
59 EXPECT_EQ(HistogramBase::kUmaTargetedHistogramFlag, deserialized->flags());
71 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); local
72 EXPECT_EQ(histogram, deserialized);
93 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); local
120 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); local
142 HistogramBase* deserialized = DeserializeHistogramInfo(&iter); local
    [all...]
  /system/keymaster/
android_keymaster_messages_test.cpp 43 Message* deserialized = new Message(ver); local
45 EXPECT_TRUE(deserialized->Deserialize(&p, p + size));
47 return deserialized;
71 UniquePtr<EmptyKeymasterResponse> deserialized(round_trip(ver, msg, 5));
80 UniquePtr<EmptyKeymasterResponse> deserialized(round_trip(ver, msg, 4));
89 UniquePtr<SupportedByAlgorithmRequest> deserialized(round_trip(ver, req, 4));
90 EXPECT_EQ(KM_ALGORITHM_EC, deserialized->algorithm);
100 UniquePtr<SupportedByAlgorithmAndPurposeRequest> deserialized(round_trip(ver, req, 8));
101 EXPECT_EQ(KM_ALGORITHM_EC, deserialized->algorithm);
102 EXPECT_EQ(KM_PURPOSE_DECRYPT, deserialized->purpose)
218 UniquePtr<BeginOperationResponse> deserialized; local
267 UniquePtr<UpdateOperationRequest> deserialized; local
293 UniquePtr<UpdateOperationResponse> deserialized; local
337 UniquePtr<FinishOperationRequest> deserialized; local
364 UniquePtr<FinishOperationResponse> deserialized; local
485 GetVersionRequest deserialized; local
504 GetVersionResponse deserialized; local
    [all...]
  /external/clang/test/Index/
error-on-deserialized.c 4 // This tests that we will correctly error out on the deserialized decl.
8 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1
10 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 2>&1 \
13 // CHECK: error: NestedVar1 was deserialized
targeted-cursor.c 10 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 \
11 // RUN: -Xclang -error-on-deserialized-decl=TopVar \
15 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 \
16 // RUN: -Xclang -error-on-deserialized-decl=vector_get_x \
20 // RUN: -Xclang -error-on-deserialized-decl=TopVar \
24 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 \
25 // RUN: -Xclang -error-on-deserialized-decl=TopVar \
29 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 \
30 // RUN: -Xclang -error-on-deserialized-decl=TopVar \
35 // RUN: -Xclang -error-on-deserialized-decl=PreambleVar
    [all...]
targeted-file-refs.c 10 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 \
11 // RUN: -Xclang -error-on-deserialized-decl=TopVar \
16 // RUN: -Xclang -error-on-deserialized-decl=PreambleVar \
17 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 \
18 // RUN: -Xclang -error-on-deserialized-decl=TopVar \
26 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 \
31 // RUN: -Xclang -error-on-deserialized-decl=PreambleVar \
32 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 \
40 // RUN: -Xclang -error-on-deserialized-decl=TopVar \
45 // RUN: -Xclang -error-on-deserialized-decl=PreambleVar
    [all...]
targeted-annotation.c 10 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 \
11 // RUN: -Xclang -error-on-deserialized-decl=TopVar \
16 // RUN: -Xclang -error-on-deserialized-decl=PreambleVar \
17 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 \
18 // RUN: -Xclang -error-on-deserialized-decl=TopVar \
35 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 \
36 // RUN: -Xclang -error-on-deserialized-decl=TopVar \
41 // RUN: -Xclang -error-on-deserialized-decl=PreambleVar \
42 // RUN: -Xclang -error-on-deserialized-decl=NestedVar1 \
43 // RUN: -Xclang -error-on-deserialized-decl=TopVar
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
TreeSetTest.java 43 @Override protected void verify(NavigableSet<String> deserialized) {
44 assertEquals(0, deserialized.comparator().compare("X", "x"));
61 @Override protected void verify(SortedSet<String> deserialized) {
62 assertBounded(deserialized, deserialized == subSet);
79 @Override protected void verify(SortedSet<String> deserialized) {
80 assertBounded(deserialized, deserialized == subSet);
89 private void assertBounded(SortedSet<String> deserialized, boolean bounded) {
92 deserialized.add("e")
    [all...]
  /external/clang/test/PCH/
check-deserializations.cpp 2 // RUN: %clang_cc1 -triple x86_64-linux-gnu -error-on-deserialized-decl S1_keyfunc -error-on-deserialized-decl S3 -error-on-deserialized-decl DND -std=c++11 -include-pch %t.1 -emit-pch -o %t.2 %s
3 // RUN: %clang_cc1 -triple x86_64-linux-gnu -error-on-deserialized-decl S1_method -error-on-deserialized-decl S3 -error-on-deserialized-decl DND -std=c++11 -include-pch %t.2 -emit-llvm-only %s
cxx-friends.cpp 6 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s -error-on-deserialized-decl doNotDeserialize
10 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s -error-on-deserialized-decl doNotDeserialize -fmodules
  /external/clang/test/Analysis/
check-deserialization.cpp 2 // RUN: %clang_cc1 -error-on-deserialized-decl S1_method -include-pch %t -analyze -analyzer-checker=core %s
9 void S1_method(); // This should not be deserialized.
  /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...]
  /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}.
  /frameworks/base/core/tests/utiltests/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/guava/guava-gwt/src/com/google/common/collect/
ImmutableEnumMap_CustomFieldSerializer.java 39 Map<K, V> deserialized = Maps.newHashMap(); local
40 Map_CustomFieldSerializerBase.deserialize(reader, deserialized);
46 return (ImmutableEnumMap<?, ?>) Maps.immutableEnumMap(deserialized);
ImmutableEnumSet_CustomFieldSerializer.java 39 List<E> deserialized = Lists.newArrayList(); local
40 Collection_CustomFieldSerializerBase.deserialize(reader, deserialized);
46 return (ImmutableEnumSet<?>) Sets.immutableEnumSet(deserialized);
  /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...]
  /external/clang/include/clang/Serialization/
ASTDeserializationListener.h 11 // by the ASTReader whenever a type or declaration is deserialized.
37 /// \brief An identifier was deserialized from the AST file.
42 /// \brief A type was deserialized from the AST file. The ID here has the
46 /// \brief A decl was deserialized from the AST file.
  /external/protobuf/java/src/test/java/com/google/protobuf/
LazyMessageLiteTest.java 276 LazyMessageLite deserialized = LazyMessageLite.parseFrom(bytes); local
278 assertEquals(1, deserialized.getNum());
279 assertEquals(421, deserialized.getNumWithDefault());
281 assertEquals(2, deserialized.getInner().getNum());
282 assertEquals(42, deserialized.getInner().getNumWithDefault());
284 assertEquals(3, deserialized.getInner().getNested().getNum());
285 assertEquals(4, deserialized.getInner().getNested().getNumWithDefault());
287 assertEquals(2, deserialized.getOneofInner().getNum());
288 assertEquals(42, deserialized.getOneofInner().getNumWithDefault());
289 assertEquals(3, deserialized.getOneofInner().getNested().getNum())
313 LazyMessageLite deserialized = LazyMessageLite.parseFrom(bytes); local
    [all...]
  /frameworks/base/location/tests/locationtests/src/android/location/
LocationTest.java 250 Location deserialized = Location.CREATOR.createFromParcel(parcel); local
253 assertEquals(expectedLat, deserialized.getLatitude());
254 assertEquals(expectedLon, deserialized.getLongitude());
255 assertEquals(expectedAccuracy, deserialized.getAccuracy());
256 assertTrue(deserialized.hasAccuracy());
257 assertEquals(expectedSpeed, deserialized.getSpeed());
258 assertTrue(deserialized.hasSpeed());
259 assertFalse(deserialized.hasBearing());
260 assertFalse(deserialized.hasAltitude());
261 assertFalse(deserialized.isFromMockProvider())
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
IllegalCharsetNameExceptionTest.java 60 Serializable deserialized) {
67 // deserialized);
70 IllegalCharsetNameException desrEx = (IllegalCharsetNameException) deserialized;
MalformedInputExceptionTest.java 54 Serializable deserialized) {
58 deserialized);
61 MalformedInputException desrEx = (MalformedInputException) deserialized;
UnmappableCharacterExceptionTest.java 55 Serializable deserialized) {
59 deserialized);
62 UnmappableCharacterException desrEx = (UnmappableCharacterException) deserialized;
UnsupportedCharsetExceptionTest.java 59 Serializable deserialized) {
66 // deserialized);
69 UnsupportedCharsetException desrEx = (UnsupportedCharsetException) deserialized;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DuplicateFormatFlagsExceptionTest.java 65 Serializable deserialized) {
68 deserialized);
71 DuplicateFormatFlagsException desrEx = (DuplicateFormatFlagsException) deserialized;
FormatFlagsConversionMismatchExceptionTest.java 82 Serializable deserialized) {
85 deserialized);
88 FormatFlagsConversionMismatchException desrEx = (FormatFlagsConversionMismatchException) deserialized;

Completed in 835 milliseconds

1 2 3 4 5 6 7 8 91011>>