OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:DynamicMessage
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/third_party/protobuf/src/google/protobuf/
dynamic_message.cc
35
//
DynamicMessage
is implemented by constructing a data structure which
48
// publicly, not the
DynamicMessage
class itself. This is because
166
class
DynamicMessage
: public Message {
177
const Descriptor* type; // Type of this
DynamicMessage
.
184
//
DynamicMessage
needs to know whether it is the prototype, and does so by
187
const
DynamicMessage
* prototype;
196
DynamicMessage
(const TypeInfo* type_info);
197
~
DynamicMessage
();
212
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(
DynamicMessage
);
234
DynamicMessage
::DynamicMessage(const TypeInfo* type_info
[
all
...]
/external/protobuf/src/google/protobuf/
dynamic_message.cc
35
//
DynamicMessage
is implemented by constructing a data structure which
48
// publicly, not the
DynamicMessage
class itself. This is because
164
class
DynamicMessage
: public Message {
175
const Descriptor* type; // Type of this
DynamicMessage
.
181
scoped_ptr<const
DynamicMessage
> prototype;
184
DynamicMessage
(const TypeInfo* type_info);
185
~
DynamicMessage
();
200
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(
DynamicMessage
);
222
DynamicMessage
::
DynamicMessage
(const TypeInfo* type_info
[
all
...]
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DynamicMessage.java
47
public final class
DynamicMessage
extends AbstractMessage {
54
* Construct a {@code
DynamicMessage
} using the given {@code FieldSet}.
56
private
DynamicMessage
(Descriptor type, FieldSet<FieldDescriptor> fields,
64
* Get a {@code
DynamicMessage
} representing the default instance of the
67
public static
DynamicMessage
getDefaultInstance(Descriptor type) {
68
return new
DynamicMessage
(type, FieldSet.<FieldDescriptor>emptySet(),
73
public static
DynamicMessage
parseFrom(Descriptor type,
80
public static
DynamicMessage
parseFrom(
89
public static
DynamicMessage
parseFrom(Descriptor type, ByteString data)
95
public static
DynamicMessage
parseFrom(Descriptor type, ByteString data
[
all
...]
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
DynamicMessageTest.java
42
* Unit test for {@link
DynamicMessage
}. See also {@link MessageTest}, which
43
* tests some {@link
DynamicMessage
} functionality.
59
DynamicMessage
.newBuilder(TestAllTypes.getDescriptor());
67
DynamicMessage
.newBuilder(TestAllTypes.getDescriptor());
87
DynamicMessage
.newBuilder(TestEmptyMessage.getDescriptor());
107
DynamicMessage
.newBuilder(TestAllTypes.getDescriptor());
112
// We don't need to extensively test
DynamicMessage
's handling of
116
DynamicMessage
.newBuilder(TestAllExtensions.getDescriptor());
124
DynamicMessage
.newBuilder(TestAllExtensions.getDescriptor());
130
DynamicMessage
.newBuilder(TestAllTypes.getDescriptor())
[
all
...]
MessageTest.java
88
* Test merging a
DynamicMessage
into a GeneratedMessage. As long as they
95
.mergeFrom(
DynamicMessage
.newBuilder(MERGE_SOURCE).build())
103
DynamicMessage
result =
104
DynamicMessage
.newBuilder(MERGE_DEST)
105
.mergeFrom(
DynamicMessage
.newBuilder(MERGE_SOURCE).build())
169
DynamicMessage
.Builder builder =
DynamicMessage
.newBuilder(descriptor);
182
DynamicMessage
.Builder builder =
DynamicMessage
.newBuilder(descriptor);
291
DynamicMessage
.newBuilder(TestRequired.getDescriptor()).build()
[
all
...]
/external/protobuf/java/src/main/java/com/google/protobuf/
DynamicMessage.java
46
public final class
DynamicMessage
extends AbstractMessage {
53
* Construct a {@code
DynamicMessage
} using the given {@code FieldSet}.
55
private
DynamicMessage
(Descriptor type, FieldSet<FieldDescriptor> fields,
63
* Get a {@code
DynamicMessage
} representing the default instance of the
66
public static
DynamicMessage
getDefaultInstance(Descriptor type) {
67
return new
DynamicMessage
(type, FieldSet.<FieldDescriptor>emptySet(),
72
public static
DynamicMessage
parseFrom(Descriptor type,
79
public static
DynamicMessage
parseFrom(
88
public static
DynamicMessage
parseFrom(Descriptor type, ByteString data)
94
public static
DynamicMessage
parseFrom(Descriptor type, ByteString data
[
all
...]
/external/protobuf/java/src/test/java/com/google/protobuf/
DynamicMessageTest.java
41
* Unit test for {@link
DynamicMessage
}. See also {@link MessageTest}, which
42
* tests some {@link
DynamicMessage
} functionality.
58
DynamicMessage
.newBuilder(TestAllTypes.getDescriptor());
66
DynamicMessage
.newBuilder(TestAllTypes.getDescriptor());
78
DynamicMessage
.newBuilder(TestAllTypes.getDescriptor());
90
DynamicMessage
.newBuilder(TestAllTypes.getDescriptor());
95
// We don't need to extensively test
DynamicMessage
's handling of
99
DynamicMessage
.newBuilder(TestAllExtensions.getDescriptor());
107
DynamicMessage
.newBuilder(TestAllExtensions.getDescriptor());
113
DynamicMessage
.newBuilder(TestAllTypes.getDescriptor())
[
all
...]
MessageTest.java
86
* Test merging a
DynamicMessage
into a GeneratedMessage. As long as they
93
.mergeFrom(
DynamicMessage
.newBuilder(MERGE_SOURCE).build())
101
DynamicMessage
result =
102
DynamicMessage
.newBuilder(MERGE_DEST)
103
.mergeFrom(
DynamicMessage
.newBuilder(MERGE_SOURCE).build())
167
DynamicMessage
.Builder builder =
DynamicMessage
.newBuilder(descriptor);
180
DynamicMessage
.Builder builder =
DynamicMessage
.newBuilder(descriptor);
289
DynamicMessage
.newBuilder(TestRequired.getDescriptor()).build()
[
all
...]
Completed in 205 milliseconds