/external/protobuf/src/google/protobuf/ |
D | unknown_field_set.cc | 73 : fields_(NULL) {} in UnknownFieldSet() 77 delete fields_; in ~UnknownFieldSet() 81 if (fields_ != NULL) { in ClearFallback() 82 for (int i = 0; i < fields_->size(); i++) { in ClearFallback() 83 (*fields_)[i].Delete(); in ClearFallback() 85 delete fields_; in ClearFallback() 86 fields_ = NULL; in ClearFallback() 91 if (fields_ != NULL) { in ClearAndFreeMemory() 99 fields_ = new vector<UnknownField>(); in InternalMergeFrom() 101 fields_->push_back((*other.fields_)[i]); in InternalMergeFrom() [all …]
|
D | unknown_field_set.h | 163 std::vector<UnknownField>* fields_; variable 245 if (fields_) { in Clear() 252 return !fields_; in empty() 256 std::swap(fields_, x->fields_); in Swap() 260 return fields_ ? static_cast<int>(fields_->size()) : 0; in field_count() 263 GOOGLE_DCHECK(fields_ != NULL); in field() 264 return (*fields_)[index]; in field() 267 return &(*fields_)[index]; in mutable_field()
|
D | struct.pb.cc | 56 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Struct, fields_), in protobuf_AssignDesc_google_2fprotobuf_2fstruct_2eproto() 243 fields_.SetAssignDescriptorCallback( in SharedCtor() 245 fields_.SetEntryDescriptor( in SharedCtor() 286 fields_.Clear(); in Clear() 304 ::google::protobuf::scoped_ptr<Struct_FieldsEntry> entry(fields_.NewEntry()); in MergePartialFromCodedStream() 351 entry.reset(fields_.NewEntryWrapper(it->first, it->second)); in SerializeWithCachedSizes() 373 entry.reset(fields_.NewEntryWrapper(it->first, it->second)); in SerializeWithCachedSizesToArray() 399 entry.reset(fields_.NewEntryWrapper(it->first, it->second)); in ByteSize() 429 fields_.MergeFrom(from.fields_); in MergeFrom() 456 fields_.Swap(&other->fields_); in InternalSwap() [all …]
|
D | struct.pb.h | 150 0 > fields_; 415 return fields_.size(); in fields_size() 418 fields_.Clear(); in clear_fields() 423 return fields_.GetMap(); in fields() 428 return fields_.MutableMap(); in mutable_fields()
|
/external/protobuf/objectivec/ |
D | GPBUnknownFieldSet.m | 83 CFMutableDictionaryRef fields_; 98 if (fields_) { 99 CFDictionaryApplyFunction(fields_, CopyWorker, result); 105 if (fields_) { 106 CFRelease(fields_); 115 if ((fields_ == NULL) && (set->fields_ == NULL)) { 117 } else if ((fields_ != NULL) && (set->fields_ != NULL)) { 118 equal = CFEqual(fields_, set->fields_); 126 if (fields_) { 127 return CFHash(fields_); [all …]
|
D | GPBDescriptor.m | 99 @synthesize fields = fields_; 161 fields_ = [fields retain]; 169 [fields_ release]; 181 NSArray *fieldsForOneof = NewFieldsArrayForHasIndex(hasIndex, fields_); 197 for (GPBFieldDescriptor *fieldDescriptor in fields_) { 222 for (GPBFieldDescriptor *descriptor in fields_) { 231 for (GPBFieldDescriptor *descriptor in fields_) { 272 @synthesize fields = fields_; 278 fields_ = [fields retain]; 289 [fields_ release]; [all …]
|
D | GPBDescriptor_PackagePrivate.h | 139 NSArray *fields_; in GPBDescriptor() 179 NSArray *fields_; in GPBOneofDescriptor() local
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | scoped_allocator_mgr_test.cc | 36 &fields_); in PopulateFields() 41 << scope_id_ << " #fields " << fields_.size() in AddScopedAllocator() 44 "tensor_shape_599", fields_, in AddScopedAllocator() 88 std::vector<ScopedAllocator::Field> fields_; member in tensorflow::__anon246640c70111::ScopedAllocatorMgrTest 112 EXPECT_EQ(0, fields_[0].offset); in TEST_F() 113 EXPECT_EQ(512 * sizeof(float), fields_[0].bytes); in TEST_F() 114 EXPECT_EQ(scope_id_ + 1, fields_[0].scope_id); in TEST_F() 115 EXPECT_EQ(512 * sizeof(float), fields_[1].offset); in TEST_F() 116 EXPECT_EQ(9 * sizeof(float), fields_[1].bytes); in TEST_F() 117 EXPECT_EQ(scope_id_ + 2, fields_[1].scope_id); in TEST_F() [all …]
|
D | scoped_allocator.cc | 30 fields_(fields.begin(), fields.end()), in ScopedAllocator() 67 int32_t num_fields = static_cast<int32>(fields_.size()); in AllocateRaw() 74 const Field& f = fields_[field_index]; in AllocateRaw() 88 for (auto& f : fields_) { in AllocateRaw() 120 for (auto& f : fields_) { in VerifyPointer()
|
/external/perfetto/include/perfetto/protozero/ |
D | proto_decoder.h | 162 return PERFETTO_LIKELY(id < num_fields_) ? fields_[id] : fields_[0]; in Get() 169 return RepeatedFieldIterator(field_id, &fields_[num_fields_], in GetRepeated() 170 &fields_[size_], &fields_[field_id]); in GetRepeated() 180 fields_(storage), in TypedProtoDecoderBase() 192 memset(fields_, 0, sizeof(Field) * num_fields_); in TypedProtoDecoderBase() 208 Field* fields_; variable 245 return fields_[FIELD_ID]; in at()
|
/external/libchrome/base/json/ |
D | json_value_converter.h | 368 fields_.push_back( in RegisterIntField() 375 fields_.push_back( in RegisterStringField() 382 fields_.push_back( in RegisterStringField() 389 fields_.push_back( in RegisterBoolField() 396 fields_.push_back( in RegisterDoubleField() 404 fields_.push_back( in RegisterNestedField() 413 fields_.push_back( in RegisterCustomField() 424 fields_.push_back( in RegisterCustomValueField() 433 fields_.push_back(std::make_unique<internal::FieldConverter< in RegisterRepeatedInt() 441 fields_.push_back( in RegisterRepeatedString() [all …]
|
/external/perfetto/src/protozero/ |
D | proto_decoder.cc | 178 Field* fld = &fields_[field_id]; in ParseAllFields() 195 fld = &fields_[field_id]; in ParseAllFields() 198 fields_[size_++] = *fld; in ParseAllFields() 212 memcpy(&new_storage[0], fields_, sizeof(Field) * size_); in ExpandHeapStorage() 215 fields_ = &heap_storage_[0]; in ExpandHeapStorage()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | decode_proto_op.cc | 699 fields_.push_back( in DecodeProtoOp() 727 int field_count = fields_.size(); in Compute() 799 OP_REQUIRES_OK(ctx, ctx->allocate_output(fields_[fi]->output_index + 1, in Compute() 833 int field_count = fields_.size(); in CountFields() 869 sizes(message_index, fields_[fi]->output_index) = size; in CountFields() 909 int field_count = fields_.size(); in AccumulateFields() 924 const FieldInfo* field_info = fields_[output_index].get(); in AccumulateFields() 963 for (int fi = fields_.size() - 1; fi >= 0; fi--) { in LookupField() 964 if (field_number == fields_[fi]->number) { in LookupField() 981 int next_good_field_number = fields_[0]->number; in Collect() [all …]
|
D | scoped_allocator_ops.cc | 41 ScopedAllocatorMgr::PopulateFields(id_, shapes_, dtype_, &fields_); in ScopedAllocatorOp() 42 size_t num_bytes = fields_.back().offset + fields_.back().bytes; in ScopedAllocatorOp() 67 name_, fields_, expected_call_count_); in Compute() 78 std::vector<ScopedAllocator::Field> fields_; member in tensorflow::ScopedAllocatorOp
|
/external/tensorflow/tensorflow/lite/testing/ |
D | message_test.cc | 35 fields_[name] = value; in SetField() 50 int NumFields() const { return fields_.size(); } in NumFields() 52 return fields_.at(key); in GetField() 60 std::map<std::string, std::string> fields_; member in tflite::testing::__anon6e82b0a00111::TestMessage
|
/external/v8/src/compiler/ |
D | escape-analysis.h | 139 return Just(fields_.at(offset / kPointerSize)); in FieldAt() 142 int size() const { return static_cast<int>(kPointerSize * fields_.size()); } in size() 147 const_iterator begin() const { return fields_.begin(); } in begin() 148 const_iterator end() const { return fields_.end(); } in end() 153 ZoneVector<Variable> fields_; variable
|
D | load-elimination.cc | 463 for (size_t i = 0u; i < arraysize(fields_); ++i) { in Equals() 464 AbstractField const* this_field = this->fields_[i]; in Equals() 465 AbstractField const* that_field = that->fields_[i]; in Equals() 498 for (size_t i = 0; i < arraysize(fields_); ++i) { in Merge() 499 if (this->fields_[i]) { in Merge() 500 if (that->fields_[i]) { in Merge() 501 this->fields_[i] = this->fields_[i]->Merge(that->fields_[i], zone); in Merge() 503 this->fields_[i] = nullptr; in Merge() 607 if (that->fields_[index]) { in AddField() 608 that->fields_[index] = in AddField() [all …]
|
D | instruction.h | 1199 explicit StateValueList(Zone* zone) : fields_(zone), nested_(zone) {} in StateValueList() 1201 size_t size() { return fields_.size(); } in size() 1244 void ReserveSize(size_t size) { fields_.reserve(size); } in ReserveSize() 1247 fields_.push_back(StateValueDescriptor::Recursive(id)); in PushRecursiveField() 1254 fields_.push_back(StateValueDescriptor::ArgumentsElements(type)); in PushArgumentsElements() 1257 fields_.push_back(StateValueDescriptor::ArgumentsLength(type)); in PushArgumentsLength() 1260 fields_.push_back(StateValueDescriptor::Duplicate(id)); in PushDuplicate() 1263 fields_.push_back(StateValueDescriptor::Plain(type)); in PushPlain() 1266 fields_.push_back(StateValueDescriptor::OptimizedOut()); in PushOptimizedOut() 1269 iterator begin() { return iterator(fields_.begin(), nested_.begin()); } in begin() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Struct.cs | 99 fields_ = other.fields_.Clone(); in Struct() 110 …private readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> fields_ = new… field in Google.Protobuf.WellKnownTypes.Struct 115 get { return fields_; } 144 fields_.WriteTo(output, _map_fields_codec); in WriteTo() 149 size += fields_.CalculateSize(_map_fields_codec); in CalculateSize() 157 fields_.Add(other.fields_); in MergeFrom() 168 fields_.AddEntriesFrom(input, _map_fields_codec); in MergeFrom()
|
D | Type.cs | 116 fields_ = other.fields_.Clone(); in Type() 144 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Field> fields_ = new pb… field in Google.Protobuf.WellKnownTypes.Type 149 get { return fields_; } 214 if(!fields_.Equals(other.fields_)) return false; in Equals() 225 hash ^= fields_.GetHashCode(); in GetHashCode() 242 fields_.WriteTo(output, _repeated_fields_codec); in WriteTo() 260 size += fields_.CalculateSize(_repeated_fields_codec); in CalculateSize() 279 fields_.Add(other.fields_); in MergeFrom() 305 fields_.AddEntriesFrom(input, _repeated_fields_codec); in MergeFrom()
|
/external/jdiff/src/jdiff/ |
D | APIComparator.java | 329 numLocalFields(oldClass.fields_) + in compareClasses() 332 numLocalFields(newClass.fields_)); in compareClasses() 683 oldClass.fields_.size() + ", #new " in compareAllFields() 684 + newClass.fields_.size()); in compareAllFields() 687 Collections.sort(oldClass.fields_); in compareAllFields() 688 Collections.sort(newClass.fields_); in compareAllFields() 691 Iterator iter = oldClass.fields_.iterator(); in compareAllFields() 694 int idx = Collections.binarySearch(newClass.fields_, oldField); in compareAllFields() 700 int existsNew = newClass.fields_.indexOf(oldField); in compareAllFields() 702 FieldAPI newField = (FieldAPI)(newClass.fields_.get(existsNew)); in compareAllFields() [all …]
|
D | XMLToAPI.java | 159 if (parent.fields_.size() != 0) { in addInheritedElements() 160 Iterator iter = parent.fields_.iterator(); in addInheritedElements() 163 if (child.fields_.indexOf(f) == -1 && in addInheritedElements() 169 child.fields_.add(f2); in addInheritedElements() 322 api_.currClass_.fields_.add(api_.currField_); in addField()
|
/external/v8/tools/clang/blink_gc_plugin/ |
D | RecordInfo.h | 142 Fields* fields_; variable 192 if (!it->second.fields_) in ~RecordCache() 194 for (RecordInfo::Fields::iterator fit = it->second.fields_->begin(); in ~RecordCache() 195 fit != it->second.fields_->end(); in ~RecordCache()
|
D | RecordInfo.cpp | 18 fields_(0), in RecordInfo() 33 delete fields_; in ~RecordInfo() 429 if (!fields_) in GetFields() 430 fields_ = CollectFields(); in GetFields() 431 return *fields_; in GetFields()
|
/external/perf_data_converter/src/quipper/ |
D | test_perf_data.h | 233 return reinterpret_cast<const char*>(fields_.data()); in data() 236 return fields_.size() * sizeof(decltype(fields_)::value_type); in size() 241 fields_.push_back(value); in AddField() 245 std::vector<u64> fields_; variable
|