Home
last modified time | relevance | path

Searched refs:is_packed (Results 1 – 25 of 69) sorted by relevance

123

/external/protobuf/python/google/protobuf/internal/
Dencoder.py130 def SpecificSizer(field_number, is_repeated, is_packed): argument
132 if is_packed:
159 def SpecificSizer(field_number, is_repeated, is_packed): argument
161 if is_packed:
188 def SpecificSizer(field_number, is_repeated, is_packed): argument
190 if is_packed:
230 def StringSizer(field_number, is_repeated, is_packed): argument
236 assert not is_packed
252 def BytesSizer(field_number, is_repeated, is_packed): argument
258 assert not is_packed
[all …]
Ddecoder.py212 def SpecificDecoder(field_number, is_repeated, is_packed, key, new_default): argument
213 if is_packed:
386 def EnumDecoder(field_number, is_repeated, is_packed, key, new_default): argument
388 if is_packed:
537 def StringDecoder(field_number, is_repeated, is_packed, key, new_default, argument
565 assert not is_packed
597 def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): argument
602 assert not is_packed
634 def GroupDecoder(field_number, is_repeated, is_packed, key, new_default): argument
641 assert not is_packed
[all …]
Dpython_message.py292 is_packed = False
294 is_packed = (field_descriptor.has_options and
300 is_packed = not has_packed_false
312 field_descriptor.number, is_repeated, is_packed)
314 field_descriptor.number, is_repeated, is_packed)
321 def AddDecoder(wiretype, is_packed): argument
341 field_descriptor.number, is_repeated, is_packed,
346 field_descriptor.number, is_repeated, is_packed,
/external/protobuf/src/google/protobuf/
Dextension_set.h110 is_packed(ispacked), in ExtensionInfo()
115 bool is_packed; member
192 bool is_packed);
195 bool is_repeated, bool is_packed,
199 bool is_repeated, bool is_packed,
599 bool is_packed; member
951 static void Register(int number, FieldType type, bool is_packed) { in Register() argument
953 type, false, is_packed); in Register()
968 static inline void Add(int number, FieldType field_type, bool is_packed,
975 bool is_packed,
[all …]
Dextension_set_inl.h51 MutableRawRepeatedField(number, extension.type, extension.is_packed, \ in ParseFieldWithExtensionInfo()
71 MutableRawRepeatedField(number, extension.type, extension.is_packed, in ParseFieldWithExtensionInfo()
91 extension.is_packed, value, extension.descriptor); \ in ParseFieldWithExtensionInfo()
111 extension.is_packed, value, extension.descriptor); \ in ParseFieldWithExtensionInfo()
128 extension.is_packed, value, extension.descriptor); \ in ParseFieldWithExtensionInfo()
154 AddEnum(number, WireFormatLite::TYPE_ENUM, extension.is_packed, value, in ParseFieldWithExtensionInfo()
Dextension_set.cc139 bool is_repeated, bool is_packed) { in RegisterExtension() argument
143 ExtensionInfo info(type, is_repeated, is_packed); in RegisterExtension()
162 bool is_repeated, bool is_packed, in RegisterEnumExtension() argument
165 ExtensionInfo info(type, is_repeated, is_packed); in RegisterEnumExtension()
174 bool is_repeated, bool is_packed, in RegisterMessageExtension() argument
178 ExtensionInfo info(type, is_repeated, is_packed); in RegisterMessageExtension()
346 extension->is_packed = packed; \
351 GOOGLE_DCHECK_EQ(extension->is_packed, packed); \
387 extension->is_packed = packed; in MutableRawRepeatedField()
498 extension->is_packed = packed; in AddEnum()
[all …]
Dwire_format.cc942 const bool is_packed = field->is_packed(); in SerializeFieldWithCachedSizes() local
943 if (is_packed && count > 0) { in SerializeFieldWithCachedSizes()
959 if (is_packed) { \ in SerializeFieldWithCachedSizes()
1007 if (is_packed) { in SerializeFieldWithCachedSizes()
1133 if (field->is_packed()) { in FieldByteSize()
/external/chromium-trace/catapult/common/py_trace_event/third_party/protobuf/
Dencoder.py129 def SpecificEncoder(field_number, is_repeated, is_packed): argument
130 if is_packed:
197 def SpecificEncoder(field_number, is_repeated, is_packed): argument
199 if is_packed:
247 def BoolEncoder(field_number, is_repeated, is_packed): argument
252 if is_packed:
284 def StringEncoder(field_number, is_repeated, is_packed): argument
290 assert not is_packed
/external/rust/crates/bindgen/src/codegen/
Dstruct_layout.rs20 is_packed: bool, field
92 let is_packed = comp.is_packed(ctx, known_type_layout.as_ref()); in new() localVariable
99 is_packed, in new()
205 } else if !self.is_packed { in saw_field_with_layout()
217 let padding_layout = if self.is_packed || is_union { in saw_field_with_layout()
301 let layout = if self.is_packed { in pad_struct()
366 if self.is_packed { in align_to_latest_field()
/external/tensorflow/tensorflow/python/distribute/
Dpacked_distributed_variable_test.py49 self.assertFalse(packed_var.handle.is_packed)
64 self.assertTrue(packed_var.handle.is_packed)
89 self.assertFalse(packed_var0.handle.is_packed)
98 self.assertTrue(packed_var.handle.is_packed)
Dtpu_values.py122 is_packed = self._packed_var is not None
124 if is_packed:
129 is_packed)
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum_field.cc247 if (descriptor_->is_packed() && in GeneratePrivateMembers()
360 if (!descriptor_->is_packed()) { in GenerateMergeFromCodedStreamWithPacking()
429 if (descriptor_->is_packed()) { in GenerateSerializeWithCachedSizes()
443 if (descriptor_->is_packed()) { in GenerateSerializeWithCachedSizes()
458 if (descriptor_->is_packed()) { in GenerateSerializeWithCachedSizesToArray()
494 if (descriptor_->is_packed()) { in GenerateByteSize()
Dcpp_primitive_field.cc294 if (descriptor->is_packed()) { in RepeatedPrimitiveFieldGenerator()
309 if (descriptor_->is_packed() && in GeneratePrivateMembers()
410 if (descriptor_->is_packed()) { in GenerateSerializeWithCachedSizes()
435 if (descriptor_->is_packed()) { in GenerateSerializeWithCachedSizes()
452 if (descriptor_->is_packed()) { in GenerateSerializeWithCachedSizesToArray()
491 if (descriptor_->is_packed()) { in GenerateByteSize()
/external/angle/src/libANGLE/renderer/vulkan/
Dgen_vk_format_table.py113 def is_packed(format_id): function
195 vk_buffer_format_is_packed=is_packed(vk_buffer_format),
/external/protobuf/src/google/protobuf/compiler/java/
Djava_primitive_field.cc683 if (descriptor_->is_packed()) { in GenerateMembers()
868 if (descriptor_->is_packed()) { in GenerateSerializationCode()
911 if (descriptor_->is_packed()) { in GenerateSerializedSizeCode()
925 if (descriptor_->is_packed()) { in GenerateSerializedSizeCode()
Djava_enum_field.cc684 if (descriptor_->is_packed()) { in GenerateMembers()
948 if (descriptor_->is_packed()) { in GenerateSerializationCode()
978 if (descriptor_->is_packed()) { in GenerateSerializedSizeCode()
990 if (descriptor_->is_packed()) { in GenerateSerializedSizeCode()
Djava_extension.cc80 vars["packed"] = descriptor->is_packed() ? "true" : "false"; in InitTemplateVars()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tensor.cc369 bool is_packed; member
443 self->is_packed = false; in EagerTensor_init()
682 return PyBool_FromLong(self->is_packed); in EagerTensor_is_packed()
855 const bool is_packed) { in EagerTensorFromHandle() argument
863 t->is_packed = is_packed; in EagerTensorFromHandle()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_cluster_formation.cc397 bool is_packed = llvm::cast<TF::TPUReplicatedInputOp>(input).is_packed(); in ReplicateCluster() local
399 int num_inputs = is_packed ? 1 : num_replicas; in ReplicateCluster()
405 if (is_packed) { in ReplicateCluster()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DTPUReplicatedInput.pbtxt95 name: "is_packed"
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_extension.cc92 if (descriptor_->is_packed()) options.push_back("GPBExtensionPacked"); in GenerateStaticVariablesInitialization()
/external/bcc/src/cc/frontends/b/
Dparser.cc163 offset = struct_decl->is_packed() ? offset : align_offset(offset, ft); in struct_add()
168 struct_decl->bit_width_ = struct_decl->is_packed() ? offset : align_offset(offset, UINT32_T); in struct_add()
/external/perfetto/src/protozero/protoc_plugin/
Dprotozero_plugin.cc323 if (field->is_packed()) in FieldToRepetitionType()
628 if (field->is_repeated() && !field->is_packed()) in GenerateDecoder()
720 if (field->is_packed()) { in GenerateDecoder()
867 if (field->is_packed()) { in GenerateFieldDescriptor()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.__internal__.-eager-tensor.pbtxt30 name: "is_packed"
/external/rust/crates/serde_derive/src/
Dser.rs96 is_packed: bool, field
113 let is_packed = cont.attrs.is_packed(); in new() localVariable
122 is_packed, in new()
1252 if params.is_packed { in get_member()
1259 let inner = if params.is_packed { in get_member()

123