Home
last modified time | relevance | path

Searched refs:Add (Results 1 – 25 of 169) sorted by relevance

1234567

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Drepeated_field_unittest.cc66 field.Add(5); in TEST()
72 field.Add(42); in TEST()
108 field.Add(i * i); in TEST()
127 field1.Add(5); in TEST()
128 field1.Add(42); in TEST()
154 field1.Add(i * i); in TEST()
156 field2.Add(5); in TEST()
157 field2.Add(42); in TEST()
173 field1.Add(5); in TEST()
174 field1.Add(42); in TEST()
[all …]
Dreflection_internal.h108 virtual void Add(Field* data, const Value* value) const { in Add() function
109 MutableRepeatedField(data)->Add(ConvertToT(value)); in Add()
163 virtual void Add(Field* data, const Value* value) const { in Add() function
225 virtual void Add(Field* data, const Value* value) const { in Add() function
306 using RepeatedFieldAccessor::Add;
322 Add<string>(data, other_mutator->Get<string>(other_data, i)); in Swap()
327 other_mutator->Add<string>(other_data, tmp.Get(i)); in Swap()
Dfield_mask.pb.h172 return paths_.Add(); in add_paths()
175 paths_.Add()->assign(value); in add_paths()
179 paths_.Add()->assign(value); in add_paths()
183 paths_.Add()->assign(reinterpret_cast<const char*>(value), size); in add_paths()
Dreflection.h126 void Add(const T& value) const { in Add() function
127 accessor_->template Add<T>(data_, value); in Add()
147 Add(*it); in MergeFrom()
258 void Add(const T& value) const { in Add() function
259 accessor_->Add(data_, &value); in Add()
279 Add(*it); in MergeFrom()
353 virtual void Add(Field* data, const Value* value) const = 0;
406 void Add(Field* data, const ValueType& value) const { in Add() function
416 Add(data, static_cast<const Value*>(&tmp)); in Add()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/
DMapFieldTest.cs70 Assert.Throws<ArgumentNullException>(() => map.Add(0, nullValue)); in TestNullValues()
72 map.Add(1, nonNullValue); in TestNullValues()
80 Assert.Throws<ArgumentNullException>(() => map.Add(null, new ForeignMessage())); in Add_ForbidsNullKeys()
94 map.Add("a", "v1"); in AddPreservesInsertionOrder()
95 map.Add("b", "v2"); in AddPreservesInsertionOrder()
96 map.Add("c", "v3"); in AddPreservesInsertionOrder()
98 map.Add("d", "v4"); in AddPreservesInsertionOrder()
107 map1.Add("a", "v1"); in EqualityIsOrderInsensitive()
108 map1.Add("b", "v2"); in EqualityIsOrderInsensitive()
111 map2.Add("b", "v2"); in EqualityIsOrderInsensitive()
[all …]
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp99 case Instruction::Add: in GetEncodedBinaryOpcode()
166 Abbv->Add(BitCodeAbbrevOp(bitc::VST_CODE_ENTRY)); in WriteTypeSymbolTable()
167 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, in WriteTypeSymbolTable()
169 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeSymbolTable()
170 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 7)); in WriteTypeSymbolTable()
223 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable()
224 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
225 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable()
230 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION_OLD)); in WriteTypeTable()
231 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable()
[all …]
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp84 case Instruction::Add: in GetEncodedBinaryOpcode()
109 case AtomicRMWInst::Add: return bitc::RMW_ADD; in GetEncodedRMWOperation()
194 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable()
195 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
196 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable()
201 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION_OLD)); in WriteTypeTable()
202 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable()
203 Abbv->Add(BitCodeAbbrevOp(0)); // FIXME: DEAD value, remove in LLVM 3.0 in WriteTypeTable()
204 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
205 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
[all …]
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp84 case Instruction::Add: in GetEncodedBinaryOpcode()
109 case AtomicRMWInst::Add: return bitc::RMW_ADD; in GetEncodedRMWOperation()
194 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_POINTER)); in WriteTypeTable()
195 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
196 Abbv->Add(BitCodeAbbrevOp(0)); // Addrspace = 0 in WriteTypeTable()
201 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_FUNCTION)); in WriteTypeTable()
202 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // isvararg in WriteTypeTable()
203 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array)); in WriteTypeTable()
204 Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, NumBits)); in WriteTypeTable()
210 Abbv->Add(BitCodeAbbrevOp(bitc::TYPE_CODE_STRUCT_ANON)); in WriteTypeTable()
[all …]
/frameworks/base/tools/aapt2/trace/
DTraceBuffer.cpp59 void Add(const std::string& tag, char type) noexcept { in Add() function
90 tracebuffer::Add(tag, tracebuffer::kBegin); in BeginTrace()
94 tracebuffer::Add("", tracebuffer::kEnd); in EndTrace()
98 tracebuffer::Add(tag, tracebuffer::kBegin); in Trace()
109 tracebuffer::Add(s.str(), tracebuffer::kBegin); in Trace()
113 tracebuffer::Add("", tracebuffer::kEnd); in ~Trace()
118 tracebuffer::Add(tag, tracebuffer::kBegin); in FlushTrace()
130 tracebuffer::Add(s.str(), tracebuffer::kBegin); in FlushTrace()
142 tracebuffer::Add(s.str(), tracebuffer::kBegin); in FlushTrace()
146 tracebuffer::Add("", tracebuffer::kEnd); in ~FlushTrace()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.internal.h87 ComparisonChain& Add(const Group<T>& groups, const Maybe<std::string>& lhs, in Add() function
89 return Add(GetGroupOrder(groups, lhs), GetGroupOrder(groups, rhs)); in Add()
96 ComparisonChain& Add(int lhs, int rhs) { in Add() function
184 .Add(GetMinSdk(lhs), GetMinSdk(rhs)) in operator()
188 .Add(abi_groups, lhs.abi_group, rhs.abi_group) in operator()
190 .Add(screen_density_groups, lhs.screen_density_group, rhs.screen_density_group) in operator()
191 .Add(locale_groups, lhs.locale_group, rhs.locale_group) in operator()
192 .Add(gl_texture_groups, lhs.gl_texture_group, rhs.gl_texture_group) in operator()
193 .Add(device_feature_groups, lhs.device_feature_group, rhs.device_feature_group) in operator()
/frameworks/ml/nn/tools/systrace_parser/
Dcontract-between-code-and-parser.txt35 … t0: t_m_w:B|T1|[NN_LR_PP]funcP Add (t1-t0) to total ti…
45 … t0: t_m_w:B|T1|[NN_LA_PP]funcE1 Add (t3-t0) to total ti…
48 … t3: t_m_w:E|T1 Add (t2-t1) to total ti…
68 … t0: t_m_w:B|T1|[NN_LC_PTR]funcC1 Add (t1-t0) to total ti…
71 …; t3: t_m_w:E|T1 Add (t2-t1) to total ti…
82 … t0: t_m_w:B|T1|[NN_LR_PE]funcR2 Add (t2-t1) to total ti…
86Add (t3-t0) to total ti…
97 … t0: t_m_w:B|T1|[NN_LR_PE]funcR3 Add (t3-t0) to total ti…
114 … t0: t_m_w:B|T1|[NN_LR_PC]funcR5 Add (t5-t0) - (t4-r1) t…
118 … t4: t_m_w:E|T1 Add (t4-t1) to total ti…
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DMapUnittestProto3.cs505 mapInt32Int32_.Add(other.mapInt32Int32_); in MergeFrom()
506 mapInt64Int64_.Add(other.mapInt64Int64_); in MergeFrom()
507 mapUint32Uint32_.Add(other.mapUint32Uint32_); in MergeFrom()
508 mapUint64Uint64_.Add(other.mapUint64Uint64_); in MergeFrom()
509 mapSint32Sint32_.Add(other.mapSint32Sint32_); in MergeFrom()
510 mapSint64Sint64_.Add(other.mapSint64Sint64_); in MergeFrom()
511 mapFixed32Fixed32_.Add(other.mapFixed32Fixed32_); in MergeFrom()
512 mapFixed64Fixed64_.Add(other.mapFixed64Fixed64_); in MergeFrom()
513 mapSfixed32Sfixed32_.Add(other.mapSfixed32Sfixed32_); in MergeFrom()
514 mapSfixed64Sfixed64_.Add(other.mapSfixed64Sfixed64_); in MergeFrom()
[all …]
DUnittestWellKnownTypes.cs1258 anyField_.Add(other.anyField_); in MergeFrom()
1259 apiField_.Add(other.apiField_); in MergeFrom()
1260 durationField_.Add(other.durationField_); in MergeFrom()
1261 emptyField_.Add(other.emptyField_); in MergeFrom()
1262 fieldMaskField_.Add(other.fieldMaskField_); in MergeFrom()
1263 sourceContextField_.Add(other.sourceContextField_); in MergeFrom()
1264 structField_.Add(other.structField_); in MergeFrom()
1265 timestampField_.Add(other.timestampField_); in MergeFrom()
1266 typeField_.Add(other.typeField_); in MergeFrom()
1267 doubleField_.Add(other.doubleField_); in MergeFrom()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/
DMapField.cs90 clone.Add(pair.Key, ((IDeepCloneable<TValue>)pair.Value).Clone()); in Clone()
96 clone.Add(this); in Clone()
110 public void Add(TKey key, TValue value) in Add() method in Google.Protobuf.Collections.MapField
236 public void Add(IDictionary<TKey, TValue> entries) in Add() method in Google.Protobuf.Collections.MapField
241 Add(pair.Key, pair.Value); in Add()
271 void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item) in Add() method in Google.Protobuf.Collections.MapField
273 Add(item.Key, item.Value); in Add()
484 void IDictionary.Add(object key, object value) in IDictionary.Add()
486 Add((TKey)key, (TValue)value); in IDictionary.Add()
697 public void Add(T item) in Add() method in Google.Protobuf.Collections.MapField.MapView
DRepeatedField.cs107 Add(reader(input)); in AddEntriesFrom()
118 Add(reader(input)); in AddEntriesFrom()
227 public void Add(T item) in Add() method in Google.Protobuf.Collections.RepeatedField
346 Add(item); in AddRange()
357 public void Add(IEnumerable<T> values) in Add() method in Google.Protobuf.Collections.RepeatedField
556 int IList.Add(object value) in IList.Add()
558 Add((T) value); in IList.Add()
DReadOnlyDictionary.cs51 public void Add(TKey key, TValue value) in Add() method in Google.Protobuf.Collections.ReadOnlyDictionary
87 public void Add(KeyValuePair<TKey, TValue> item) in Add() method in Google.Protobuf.Collections.ReadOnlyDictionary
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dmessage_factory_test.py95 db.Add(self.factory_test1_fd)
96 db.Add(self.factory_test2_fd)
147 pool.Add(f)
164 pool.Add(f)
181 pool.Add(f)
Ddescriptor_pool_test.py71 self.pool.Add(self.factory_test1_fd)
72 self.pool.Add(self.factory_test2_fd)
266 db.Add(self.factory_test1_fd)
267 db.Add(self.factory_test2_fd)
283 self.pool.Add(more_messages_desc)
284 self.pool.Add(test1_desc)
285 self.pool.Add(test2_desc)
310 self.pool.Add(descriptor_proto)
343 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
345 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
[all …]
/frameworks/base/media/mca/filterfw/native/core/
Dstatistics.h28 void Add(float value);
53 void Add(float measurement) { in Add() function
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/
DConformance.cs2900 repeatedInt32_.Add(other.repeatedInt32_); in MergeFrom()
2901 repeatedInt64_.Add(other.repeatedInt64_); in MergeFrom()
2902 repeatedUint32_.Add(other.repeatedUint32_); in MergeFrom()
2903 repeatedUint64_.Add(other.repeatedUint64_); in MergeFrom()
2904 repeatedSint32_.Add(other.repeatedSint32_); in MergeFrom()
2905 repeatedSint64_.Add(other.repeatedSint64_); in MergeFrom()
2906 repeatedFixed32_.Add(other.repeatedFixed32_); in MergeFrom()
2907 repeatedFixed64_.Add(other.repeatedFixed64_); in MergeFrom()
2908 repeatedSfixed32_.Add(other.repeatedSfixed32_); in MergeFrom()
2909 repeatedSfixed64_.Add(other.repeatedSfixed64_); in MergeFrom()
[all …]
/frameworks/opt/gamesdk/test/tuningfork/
Dhistogram_test.cpp51 h.Add(1.0); in TEST()
62 h.Add(1.0); in TEST()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/
Dproguard-rules.pro1 # Add project specific ProGuard rules here.
10 # Add any project specific keep options here:
/frameworks/base/tests/TouchLatency/app/
Dproguard-rules.pro1 # Add project specific ProGuard rules here.
10 # Add any project specific keep options here:
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/
Dproguard-project.txt4 # Add project specific ProGuard rules here.
13 # Add any project specific keep options here:
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/AddressBook/
DAddPerson.cs89 person.Phones.Add(phoneNumber); in PromptForAddress()
122 addressBook.People.Add(PromptForAddress(Console.In, Console.Out)); in Main()

1234567