Home
last modified time | relevance | path

Searched refs:fields_ (Results 1 – 25 of 27) sorted by relevance

12

/third_party/protobuf/src/google/protobuf/
Dunknown_field_set.cc58 GOOGLE_DCHECK(!fields_.empty()); in ClearFallback()
59 int n = fields_.size(); in ClearFallback()
61 (fields_)[--n].Delete(); in ClearFallback()
63 fields_.clear(); in ClearFallback()
69 fields_.reserve(fields_.size() + other_field_count); in InternalMergeFrom()
71 fields_.push_back((other.fields_)[i]); in InternalMergeFrom()
72 fields_.back().DeepCopy((other.fields_)[i]); in InternalMergeFrom()
80 fields_.reserve(fields_.size() + other_field_count); in MergeFrom()
82 fields_.push_back((other.fields_)[i]); in MergeFrom()
83 fields_.back().DeepCopy((other.fields_)[i]); in MergeFrom()
[all …]
Dunknown_field_set.h206 std::vector<UnknownField> fields_; variable
311 if (!fields_.empty()) { in Clear()
316 inline bool UnknownFieldSet::empty() const { return fields_.empty(); } in empty()
319 fields_.swap(x->fields_); in Swap()
323 return static_cast<int>(fields_.size()); in field_count()
326 return (fields_)[static_cast<size_t>(index)]; in field()
329 return &(fields_)[static_cast<size_t>(index)]; in mutable_field()
Dstruct.pb.cc92 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Struct, fields_),
202 fields_(arena) { in Struct()
210 fields_.MergeFrom(from.fields_); in Struct()
249 fields_.Clear(); in Clear()
267 ptr = ctx->ParseMessage(&fields_, ptr); in _InternalParse()
398 fields_.MergeFrom(from.fields_); in MergeFrom()
422 fields_.Swap(&other->fields_); in InternalSwap()
Dtype.pb.cc134 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Type, fields_),
378 fields_(arena), in Type()
387 fields_(from.fields_), in Type()
446 fields_.Clear(); in Clear()
625 for (const auto& msg : this->fields_) { in ByteSizeLong()
696 fields_.MergeFrom(from.fields_); in MergeFrom()
731 fields_.InternalSwap(&other->fields_); in InternalSwap()
Dstruct.pb.h286 0 > fields_;
706 return fields_.size(); in _internal_fields_size()
712 fields_.Clear(); in clear_fields()
716 return fields_.GetMap(); in _internal_fields()
725 return fields_.MutableMap(); in _internal_mutable_fields()
Ddescriptor.h533 FieldDescriptor* fields_; variable
992 const FieldDescriptor** fields_; variable
2211 return static_cast<int>(this - containing_type()->fields_); in index()
2312 return fields_[index]; in field()
Dtype.pb.h412 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field > fields_;
1421 return fields_.size(); in _internal_fields_size()
1427 fields_.Clear(); in clear_fields()
1431 return fields_.Mutable(index); in mutable_fields()
1436 return &fields_; in mutable_fields()
1439 return fields_.Get(index); in _internal_fields()
1446 return fields_.Add(); in _internal_add_fields()
1455 return fields_; in fields()
/third_party/protobuf/objectivec/
DGPBUnknownFieldSet.m50 CFMutableDictionaryRef fields_;
71 if (fields_) {
72 CFDictionaryApplyFunction(fields_, CopyWorker, result);
78 if (fields_) {
79 CFRelease(fields_);
88 if ((fields_ == NULL) && (set->fields_ == NULL)) {
90 } else if ((fields_ != NULL) && (set->fields_ != NULL)) {
91 equal = CFEqual(fields_, set->fields_);
99 if (fields_) {
100 return CFHash(fields_);
[all …]
DGPBDescriptor.m107 @synthesize fields = fields_;
175 fields_ = [fields retain];
183 [fields_ release];
195 NSArray *fieldsForOneof = NewFieldsArrayForHasIndex(hasIndex, fields_);
211 for (GPBFieldDescriptor *fieldDescriptor in fields_) {
325 for (GPBFieldDescriptor *descriptor in fields_) {
334 for (GPBFieldDescriptor *descriptor in fields_) {
395 @synthesize fields = fields_;
401 fields_ = [fields retain];
412 [fields_ release];
[all …]
DGPBDescriptor_PackagePrivate.h182 NSArray *fields_; in GPBDescriptor()
230 NSArray *fields_; in GPBOneofDescriptor() local
DGPBMessage.m678 for (GPBFieldDescriptor *field in descriptor->fields_) {
700 for (GPBFieldDescriptor *field in descriptor->fields_) {
935 for (GPBFieldDescriptor *field in descriptor->fields_) {
1031 } // for (field in descriptor->fields_)
1051 for (GPBFieldDescriptor *field in descriptor->fields_) {
1131 for (GPBFieldDescriptor *field in descriptor->fields_) {
1272 NSArray *fieldsArray = descriptor->fields_;
2355 NSArray *fields = descriptor->fields_;
2463 for (GPBFieldDescriptor *field in descriptor->fields_) {
2663 for (GPBFieldDescriptor *field in descriptor->fields_) {
[all …]
DGPBUtilities.m97 for (GPBFieldDescriptor *field in descriptor->fields_) {
296 GPBFieldDescriptor *firstField = oneof->fields_[0];
2011 NSArray *fieldsArray = descriptor->fields_;
2260 GPBFieldDescriptor *firstField = oneof->fields_[0];
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_padding_optimizer.cc51 : preferred_location_(preferred_location), fields_(1, field) {} in FieldGroup()
55 if (other.fields_.empty()) { in Append()
60 preferred_location_ = (preferred_location_ * fields_.size() + in Append()
61 (other.preferred_location_ * other.fields_.size())) / in Append()
62 (fields_.size() + other.fields_.size()); in Append()
63 fields_.insert(fields_.end(), other.fields_.begin(), other.fields_.end()); in Append()
67 const std::vector<const FieldDescriptor*>& fields() const { return fields_; } in fields()
81 std::vector<const FieldDescriptor*> fields_; member in google::protobuf::compiler::cpp::__anon3090cbd00111::FieldGroup
/third_party/gn/src/base/json/
Djson_value_converter.h370 fields_.push_back( in RegisterIntField()
377 fields_.push_back( in RegisterStringField()
384 fields_.push_back( in RegisterStringField()
392 fields_.push_back( in RegisterBoolField()
399 fields_.push_back( in RegisterDoubleField()
407 fields_.push_back( in RegisterNestedField()
416 fields_.push_back( in RegisterCustomField()
427 fields_.push_back( in RegisterCustomValueField()
436 fields_.push_back(std::make_unique<internal::FieldConverter< in RegisterRepeatedInt()
444 fields_.push_back( in RegisterRepeatedString()
[all …]
/third_party/node/src/
Denv-inl.h75 fields_(env()->isolate(), kFieldsCount), in AsyncHooks()
84 fields_[kCheck] = 1; in AsyncHooks()
97 return fields_; in fields()
145 fields_[kCheck] -= 1; in no_force_checks()
158 if (fields_[kCheck] > 0) { in push_async_context()
163 uint32_t offset = fields_[kStackLength]; in push_async_context()
168 fields_[kStackLength] += 1; in push_async_context()
191 if (fields_[kStackLength] == 0) return false; in pop_async_context()
197 if (fields_[kCheck] > 0 && async_id_fields_[kExecutionAsyncId] != async_id) { in pop_async_context()
212 uint32_t offset = fields_[kStackLength] - 1; in pop_async_context()
[all …]
Dnode_http_parser.cc262 fields_[num_fields_ - 1].Reset(); in on_header_field()
268 fields_[num_fields_ - 1].Update(at, length); in on_header_field()
497 fields_[i].Save(); in Save()
809 headers_v[i * 2] = fields_[i].ToString(env()); in CreateHeaders()
893 StringPtr fields_[kMaxHeaderFieldsCount]; // header fields member in node::__anon113d0eb30111::Parser
Denv.cc996 tracker->TrackField("fields", fields_); in MemoryInfo()
1000 tracker->TrackField("fields", fields_); in MemoryInfo()
1005 tracker->TrackField("fields", fields_); in MemoryInfo()
Denv.h716 AliasedUint32Array fields_; variable
755 AliasedUint32Array fields_; variable
780 AliasedUint8Array fields_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/
Dshard_index.cc27 fields_.emplace_back(pair<int64_t, string>(schemaId, field)); in AddIndexField()
31 std::vector<std::pair<uint64_t, std::string>> Index::GetFields() { return fields_; } in GetFields()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DStruct.cs109 fields_ = other.fields_.Clone(); in Struct()
122 …private readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> fields_ = new… field in Google.Protobuf.WellKnownTypes.Struct
128 get { return fields_; }
168 fields_.WriteTo(output, _map_fields_codec); in WriteTo()
178 fields_.WriteTo(ref output, _map_fields_codec); in IBufferMessage.InternalWriteTo()
188 size += fields_.CalculateSize(_map_fields_codec); in CalculateSize()
200 fields_.Add(other.fields_); in MergeFrom()
216 fields_.AddEntriesFrom(input, _map_fields_codec); in MergeFrom()
234 fields_.AddEntriesFrom(ref input, _map_fields_codec); in IBufferMessage.InternalMergeFrom()
DType.cs127 fields_ = other.fields_.Clone(); in Type()
158 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Field> fields_ = new pb… field in Google.Protobuf.WellKnownTypes.Type
164 get { return fields_; }
235 if(!fields_.Equals(other.fields_)) return false; in Equals()
247 hash ^= fields_.GetHashCode(); in GetHashCode()
272 fields_.WriteTo(output, _repeated_fields_codec); in WriteTo()
296 fields_.WriteTo(ref output, _repeated_fields_codec); in IBufferMessage.InternalWriteTo()
319 size += fields_.CalculateSize(_repeated_fields_codec); in CalculateSize()
342 fields_.Add(other.fields_); in MergeFrom()
373 fields_.AddEntriesFrom(input, _repeated_fields_codec); in MergeFrom()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_index.h58 std::vector<std::pair<uint64_t, std::string> > fields_;
Dshard_index_generator.h118 std::vector<std::pair<uint64_t, std::string>> fields_; variable
/third_party/protobuf/js/experimental/runtime/kernel/
Dkernel.js401 this.fields_ = fields;
409 return new Kernel(this.bufferDecoder_, this.fields_.shallowCopy());
417 return this.fields_.getPivot();
425 this.fields_.delete(fieldNumber);
444 const field = this.fields_.get(fieldNumber);
472 this.fields_.set(fieldNumber, Field.fromDecodedValue(value, encoder));
486 this.fields_.forEach((field, fieldNumber) => {
525 const field = this.fields_.get(fieldNumber);
925 const field = this.fields_.get(fieldNumber);
1687 const field = this.fields_.get(fieldNumber);
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_index_generator.cc244 for (const auto &field : fields_) { in CreateDatabase()
254 for (uint64_t i = 0; i < fields_.size(); ++i) { in CreateDatabase()
507 RELEASE_AND_RETURN_IF_NOT_OK(GenerateRawSQL(fields_, &sql_ptr), db, in); in ExecuteTransaction()
523 fields_ = shard_header_.GetFields(); in WriteToDatabase()

12