Home
last modified time | relevance | path

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

123

/third_party/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
214 if is_packed:
390 def EnumDecoder(field_number, is_repeated, is_packed, key, new_default, argument
394 if is_packed:
561 def StringDecoder(field_number, is_repeated, is_packed, key, new_default, argument
589 assert not is_packed
624 def BytesDecoder(field_number, is_repeated, is_packed, key, new_default, argument
630 assert not is_packed
665 def GroupDecoder(field_number, is_repeated, is_packed, key, new_default): argument
672 assert not is_packed
[all …]
Dpython_message.py300 is_packed = False
302 is_packed = (field_descriptor.has_options and
308 is_packed = not has_packed_false
320 field_descriptor.number, is_repeated, is_packed)
322 field_descriptor.number, is_repeated, is_packed)
329 def AddDecoder(wiretype, is_packed): argument
353 field_descriptor.number, is_repeated, is_packed,
358 field_descriptor.number, is_repeated, is_packed,
362 field_descriptor.number, is_repeated, is_packed,
/third_party/protobuf/src/google/protobuf/
Dextension_set.h105 is_packed(ispacked), in ExtensionInfo()
110 bool is_packed; member
187 bool is_packed);
190 bool is_repeated, bool is_packed,
194 bool is_repeated, bool is_packed,
597 bool is_packed; member
943 static void Register(int number, FieldType type, bool is_packed) { in Register() argument
945 type, false, is_packed); in Register()
960 static inline void Add(int number, FieldType field_type, bool is_packed,
967 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()
112 extension.is_packed, value, extension.descriptor); \ in ParseFieldWithExtensionInfo()
128 extension.is_packed, value, extension.descriptor); \ in ParseFieldWithExtensionInfo()
153 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 …]
Dextension_set_heavy.cc174 extension->is_packed = false; in MutableMessage()
303 output->is_packed = extension->options().packed(); in Find()
Dwire_format.h327 if (field->is_packed()) { in WireTypeForField()
/third_party/rust/crates/bindgen/bindgen/codegen/
Dstruct_layout.rs20 is_packed: bool, field
93 let is_packed = comp.is_packed(ctx, known_type_layout.as_ref()); in new() localVariable
100 is_packed, in new()
211 } else if !self.is_packed { in saw_field_with_layout()
223 let padding_layout = if self.is_packed || is_union { in saw_field_with_layout()
344 let layout = if self.is_packed { in pad_struct()
409 if self.is_packed { in align_to_latest_field()
/third_party/rust/crates/serde/serde_derive/src/
Dpretend.rs23 pub fn pretend_used(cont: &Container, is_packed: bool) -> TokenStream { in pretend_used()
24 let pretend_fields = pretend_fields_used(cont, is_packed); in pretend_used()
65 fn pretend_fields_used(cont: &Container, is_packed: bool) -> TokenStream { in pretend_fields_used()
69 if is_packed { in pretend_fields_used()
Dser.rs33 let used = pretend::pretend_used(&cont, params.is_packed); in expand_derive_serialize()
96 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()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum_field.cc231 if (descriptor_->is_packed() && in GeneratePrivateMembers()
365 if (!descriptor_->is_packed()) { in GenerateMergeFromCodedStreamWithPacking()
434 if (descriptor_->is_packed()) { in GenerateSerializeWithCachedSizesToArray()
469 if (descriptor_->is_packed()) { in GenerateByteSize()
Dcpp_primitive_field.cc283 if (descriptor->is_packed()) { in RepeatedPrimitiveFieldGenerator()
298 if (descriptor_->is_packed() && in GeneratePrivateMembers()
405 if (descriptor_->is_packed()) { in GenerateSerializeWithCachedSizesToArray()
451 if (descriptor_->is_packed()) { in GenerateByteSize()
Dcpp_extension.cc97 variables_["packed"] = descriptor_->is_packed() ? "true" : "false"; in ExtensionGenerator()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dgen_vk_format_table.py112 def is_packed(format_id): function
194 vk_buffer_format_is_packed=is_packed(vk_buffer_format),
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_primitive_field.cc694 if (descriptor_->is_packed()) { in GenerateMembers()
883 if (descriptor_->is_packed()) { in GenerateSerializationCode()
926 if (descriptor_->is_packed()) { in GenerateSerializedSizeCode()
940 if (descriptor_->is_packed()) { in GenerateSerializedSizeCode()
Djava_enum_field.cc702 if (descriptor_->is_packed()) { in GenerateMembers()
975 if (descriptor_->is_packed()) { in GenerateSerializationCode()
1005 if (descriptor_->is_packed()) { in GenerateSerializedSizeCode()
1017 if (descriptor_->is_packed()) { in GenerateSerializedSizeCode()
Djava_extension.cc79 vars["packed"] = descriptor->is_packed() ? "true" : "false"; in InitTemplateVars()
/third_party/node/deps/v8/src/wasm/
Dvalue-type.h278 constexpr bool is_packed(ValueKind kind) { return kind == kI8 || kind == kI16; } in is_packed() function
280 return is_packed(kind) ? kI32 : kind; in unpacked()
358 constexpr bool is_packed() const { return wasm::is_packed(kind()); } in is_packed() function
361 return is_packed() ? Primitive(kI32) : *this; in Unpacked()
/third_party/ffmpeg/libavfilter/
Dvf_extractplanes.c44 int is_packed; member
234 s->is_packed = !(desc->flags & AV_PIX_FMT_FLAG_PLANAR) && in config_input()
307 if (s->is_packed) { in filter_frame()
Dvf_pad_opencl.c61 int is_packed; member
92 ctx->is_packed = !(desc->flags & AV_PIX_FMT_FLAG_PLANAR); in pad_opencl_init()
172 if (pad_ctx->is_packed) { in filter_frame()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_extension.cc93 if (descriptor_->is_packed()) options.push_back("GPBExtensionPacked"); in GenerateStaticVariablesInitialization()
/third_party/mesa3d/src/intel/compiler/
Dbrw_eu_validate.c608 is_packed(unsigned vstride, unsigned width, unsigned hstride) in is_packed() function
839 if (is_packed(exec_size * dst_stride, exec_size, dst_stride)) { in general_restrictions_based_on_operand_types()
1200 bool dst_is_packed = is_packed(exec_size * dst_stride, exec_size, dst_stride); in special_restrictions_for_mixed_float_mode()
1740 is_packed(exec_size * stride, exec_size, stride) && in region_alignment_rules()
1750 is_packed(vstride, width, hstride) && \ in region_alignment_rules()
/third_party/rust/crates/serde/serde_derive/src/internals/
Dattr.rs225 is_packed: bool, field
588 let mut is_packed = false; in from_ast() localVariable
594 is_packed |= ident == "packed"; in from_ast()
621 is_packed, in from_ast()
674 pub fn is_packed(&self) -> bool { in is_packed() method
675 self.is_packed in is_packed()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_msl.hpp757 bool is_packed, bool row_major) override;
784 bool is_packed) override;
966 bool &is_packed) override;

123