Home
last modified time | relevance | path

Searched refs:Count (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/opt/gamesdk/test/tuningfork/
Dhistogram_test.cpp38 EXPECT_EQ(h.Count(), 0) << "Initialized Histogram not empty"; in TEST()
44 EXPECT_EQ(h.Count(), 0) << "Initialized Histogram not empty"; in TEST()
50 EXPECT_EQ(h.Count(), 0) << "Initialized auto-sizing Histogram not empty"; in TEST()
52 EXPECT_EQ(h.Count(), 0) << "Add 0 should not be counted"; in TEST()
55 EXPECT_EQ(h.Count(), 1) << "Add 1 was not counted"; in TEST()
61 EXPECT_EQ(h.Count(), 0) << "Initialized Histogram not empty"; in TEST()
63 EXPECT_EQ(h.Count(), 1) << "Add 1 was not counted"; in TEST()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/
DMapFieldTest.cs215 Assert.AreEqual(1, map.Count); in Remove_Key()
217 Assert.AreEqual(1, map.Count); in Remove_Key()
219 Assert.AreEqual(0, map.Count); in Remove_Key()
229 Assert.AreEqual(1, map.Count); in Remove_Pair()
231 Assert.AreEqual(1, map.Count); in Remove_Pair()
233 Assert.AreEqual(1, map.Count); in Remove_Pair()
235 Assert.AreEqual(0, map.Count); in Remove_Pair()
254 Assert.AreEqual(1, map.Count); in Clear()
256 Assert.AreEqual(0, map.Count); in Clear()
258 Assert.AreEqual(1, map.Count); in Clear()
[all …]
DRepeatedFieldTest.cs63 Assert.AreEqual(1, list.Count); in Add_SingleItem()
72 Assert.AreEqual(2, list.Count); in Add_Sequence()
82 Assert.AreEqual(2, list.Count); in AddRange_SlowPath()
110 Assert.AreEqual(2, list.Count); in AddRange_Optimized_NonNullableValueType()
120 Assert.AreEqual(2, list.Count); in AddRange_Optimized_ReferenceType()
130 Assert.AreEqual(2, list.Count); in AddRange_Optimized_NullableValueType()
168 Assert.AreEqual(3, list.Count); in AddRange_RepeatedField()
181 list.RemoveAt(list.Count - 1); // Now the count will be 1... in RemoveAt_Valid()
183 Assert.AreEqual(0, list.Count); in RemoveAt_Valid()
550 Assert.AreEqual(6, values.Count); in TestNegativeEnumArray()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs87 Assert.AreEqual(0, message.RepeatedBool.Count); in DefaultValues()
88 Assert.AreEqual(0, message.RepeatedBytes.Count); in DefaultValues()
89 Assert.AreEqual(0, message.RepeatedDouble.Count); in DefaultValues()
90 Assert.AreEqual(0, message.RepeatedFixed32.Count); in DefaultValues()
91 Assert.AreEqual(0, message.RepeatedFixed64.Count); in DefaultValues()
92 Assert.AreEqual(0, message.RepeatedFloat.Count); in DefaultValues()
93 Assert.AreEqual(0, message.RepeatedForeignEnum.Count); in DefaultValues()
94 Assert.AreEqual(0, message.RepeatedForeignMessage.Count); in DefaultValues()
95 Assert.AreEqual(0, message.RepeatedImportEnum.Count); in DefaultValues()
96 Assert.AreEqual(0, message.RepeatedImportMessage.Count); in DefaultValues()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/
DDescriptorsTest.cs58 Assert.AreEqual(0, file.PublicDependencies.Count); in FileDescriptor()
59 Assert.AreEqual(1, UnittestImportProto3Reflection.Descriptor.PublicDependencies.Count); in FileDescriptor()
62 Assert.AreEqual(1, file.Dependencies.Count); in FileDescriptor()
72 for (int i = 0; i < file.MessageTypes.Count; i++) in FileDescriptor()
80 Assert.AreEqual(1, UnittestImportProto3Reflection.Descriptor.EnumTypes.Count); in FileDescriptor()
82 for (int i = 0; i < file.EnumTypes.Count; i++) in FileDescriptor()
116 for (int i = 0; i < fieldsInDeclarationOrder.Count; i++) in MessageDescriptor()
124 for (int i = 0; i < messageType.NestedTypes.Count; i++) in MessageDescriptor()
131 for (int i = 0; i < messageType.EnumTypes.Count; i++) in MessageDescriptor()
201 for (int i = 0; i < enumType.Values.Count; i++) in EnumDescriptor()
DFieldAccessTest.cs118 Assert.AreEqual(0, mapMessage.MapStringString.Count); in Clear()
186 Assert.AreEqual(1, descriptor.Oneofs.Count); in Oneof()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor_containers.cc691 static PyObject* Count(PyContainer* self, PyObject* item) { in Count() function
717 { "count", (PyCFunction)Count, METH_O, },
956 static int Count(PyContainer* self) { in Count() function
999 (CountMethod)Count,
1034 static int Count(PyContainer* self) { in Count() function
1060 (CountMethod)Count,
1086 static int Count(PyContainer* self) { in Count() function
1112 (CountMethod)Count,
1145 static int Count(PyContainer* self) { in Count() function
1186 (CountMethod)Count,
[all …]
/frameworks/av/drm/libmediadrm/protos/
Dmetrics.proto82 // Count and execution time of getKeyRequest calls.
85 // Count and execution time of provideKeyResponse calls.
88 // Count of getProvisionRequest calls.
91 // Count of provideProvisionResponse calls.
94 // Count of key status events broken out by status type.
97 // Count of events broken out by event type
100 // Count getPropertyByteArray calls to retrieve the device unique id.
/frameworks/compile/slang/
Dslang_rs_reflection_state.h246 void beginForEaches(size_t Count);
271 void beginInvokables(size_t Count) { in beginInvokables() argument
273 begin(&File::mInvokables, Count); in beginInvokables()
289 void beginReduces(size_t Count) { in beginReduces() argument
291 begin(&File::mReduces, Count); in beginReduces()
338 void beginVariables(size_t Count) { in beginVariables() argument
340 begin(&File::mVariables, Count); in beginVariables()
718 void begin(ArrayWithCursor<Member> File::*Array, size_t Count) { in begin() argument
725 (file.*Array).BeginCollecting(Count); in begin()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/
DMapField.cs336 public int Count { get { return list.Count; } } property in Google.Protobuf.Collections.MapField
390 if (other.Count != this.Count) in Equals()
456 if (Count == 0) in CalculateSize()
689 public int Count { get { return parent.Count; } } property in Google.Protobuf.Collections.MapField.MapView
718 if (arrayIndex + Count >= array.Length) in CopyTo()
749 if (index + Count >= array.Length) in CopyTo()
DRepeatedField.cs170 return fixedSize * Count; in CalculatePackedDataSize()
284 public int Count => count; field in Google.Protobuf.Collections.RepeatedField
315 var extraCount = collection.Count; in AddRange()
430 if (other.Count != this.Count) in Equals()
DReadOnlyDictionary.cs107 public int Count property in Google.Protobuf.Collections.ReadOnlyDictionary
109 get { return wrapped.Count; }
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DFileDescriptor.cs98 for (int i = 0; i < proto.PublicDependency.Count; i++)
101 if (index < 0 || index >= proto.Dependency.Count)
247 if (dependencies.Length != proto.Dependency.Count) in BuildFrom()
254 for (int i = 0; i < proto.Dependency.Count; i++) in BuildFrom()
DDescriptorUtil.cs56 TOutput[] array = new TOutput[input.Count]; in ConvertAndMakeReadOnly()
DEnumDescriptor.cs55 if (proto.Value.Count == 0) in EnumDescriptor()
/frameworks/base/libs/protoutil/tests/
Dtest.proto24 enum Count { enum
29 optional Count val_enum = 16;
/frameworks/opt/gamesdk/src/tuningfork/
Dprong.h64 size_t Count() const { in Count() function
65 return histogram_.Count(); in Count()
Dhistogram.h50 size_t Count() const { return count_; } in Count() function
Dprong.cpp56 if (p->histogram_.Count() > 0) in Clear()
/frameworks/native/vulkan/libvulkan/
Dapi.cpp106 uint32_t Count() const { return name_count_; } in Count() function in vulkan::api::__anona3a2f4e70111::OverrideLayerNames
367 uint32_t Count() const { return name_count_; } in Count() function in vulkan::api::__anona3a2f4e70111::OverrideExtensionNames
542 if (override_layers_.Count()) { in ActivateLayers()
544 layer_count = override_layers_.Count(); in ActivateLayers()
731 return (!layer_count_ && !override_layers_.Count() && in Empty()
732 !override_extensions_.Count()); in Empty()
752 if (override_layers_.Count()) { in ModifyCreateInfo()
753 info.enabledLayerCount = override_layers_.Count(); in ModifyCreateInfo()
757 if (override_extensions_.Count()) { in ModifyCreateInfo()
758 info.enabledExtensionCount = override_extensions_.Count(); in ModifyCreateInfo()
[all …]
/frameworks/compile/libbcc/bcinfo/
DMetadataExtractor.cpp101 const char **&NameList, size_t &Count) { in populateNameMetadata() argument
104 Count = 0; in populateNameMetadata()
108 Count = NameMetadata->getNumOperands(); in populateNameMetadata()
109 if (!Count) { in populateNameMetadata()
114 NameList = new const char *[Count]; in populateNameMetadata()
116 for (size_t i = 0; i < Count; i++) { in populateNameMetadata()
127 Count = 0; in populateNameMetadata()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DRawBatteryStats.java92 public enum Count { enum in RawBatteryStats
105 Count count(); in count()
171 @Line(tag="bt", scope=Scope.SYSTEM, count=Count.SINGLE)
212 @Line(tag="gn", scope=Scope.SYSTEM, count=Count.SINGLE)
245 @Line(tag="gmcd", scope=Scope.SYSTEM, count=Count.SINGLE)
260 @Line(tag="m", scope=Scope.SYSTEM, count=Count.SINGLE)
326 @Line(tag="nt", scope=Scope.UID, count=Count.SINGLE)
396 @Line(tag="sgt", scope=Scope.SYSTEM, count=Count.SINGLE)
402 @Line(tag="sst", scope=Scope.SYSTEM, count=Count.SINGLE)
408 @Line(tag="uid", scope=Scope.UID, count=Count.MULTIPLE)
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/AddressBook/
DSampleUsage.cs67 if (restored.People.Count != 1 || !person.Equals(restored.People[0])) in Main()
/frameworks/base/tools/aapt2/
DResourceValues.h352 enum { Zero = 0, One, Two, Few, Many, Other, Count }; enumerator
354 std::array<std::unique_ptr<Item>, Count> values;
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/
DLVM_Control.c571 LVM_INT16 Count = 5; in LVM_ApplyNewSettings() local
582 Count--; in LVM_ApplyNewSettings()
584 (Count > 0)); in LVM_ApplyNewSettings()

12