Home
last modified time | relevance | path

Searched refs:Value (Results 1 – 25 of 206) sorted by relevance

123456789

/frameworks/base/media/mca/filterfw/native/core/
Dvalue.h32 } Value; typedef
35 int GetIntValue(Value value);
36 float GetFloatValue(Value value);
37 const char* GetStringValue(Value value);
38 const char* GetBufferValue(Value value);
39 char* GetMutableBufferValue(Value value);
40 int* GetIntArrayValue(Value value);
41 float* GetFloatArrayValue(Value value);
44 int ValueIsNull(Value value);
45 int ValueIsInt(Value value);
[all …]
Dvalue.cpp34 POD GetPODValue(Value value) { in GetPODValue()
39 PTR GetPtrValue(Value value) { in GetPtrValue()
44 Value MakePODValue(POD value) { in MakePODValue()
45 Value result; in MakePODValue()
54 Value MakePtrValue(const BASE* values, int count) { in MakePtrValue()
55 Value result; in MakePtrValue()
64 int SetPODValue(Value* value, POD new_value) { in SetPODValue()
78 int SetPtrValue(Value* value, const BASE* new_values, int count) { in SetPtrValue()
92 int GetIntValue(Value value) { in GetIntValue()
96 float GetFloatValue(Value value) { in GetFloatValue()
[all …]
/frameworks/base/rs/java/android/renderscript/
DSampler.java30 public enum Value { enum in Sampler
40 Value(int id) { in Value() method in Sampler.Value
45 Value mMin;
46 Value mMag;
47 Value mWrapS;
48 Value mWrapT;
49 Value mWrapR;
60 public Value getMinification() { in getMinification()
67 public Value getMagnification() { in getMagnification()
74 public Value getWrapS() { in getWrapS()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DSampler.java43 public enum Value { enum in Sampler
53 Value(int id) { in Value() method in Sampler.Value
58 Value mMin;
59 Value mMag;
60 Value mWrapS;
61 Value mWrapT;
62 Value mWrapR;
72 public Value getMinification() { in getMinification()
79 public Value getMagnification() { in getMagnification()
86 public Value getWrapS() { in getWrapS()
[all …]
/frameworks/native/libs/binder/include/binder/
DValue.h56 class Value {
58 Value();
59 virtual ~Value();
61 Value& swap(Value &);
73 bool operator==(const Value& rhs) const;
74 bool operator!=(const Value& rhs) const { return !this->operator==(rhs); }
76 Value(const Value& value);
77 Value(const bool& value); // NOLINT(google-explicit-constructor)
78 Value(const int8_t& value); // NOLINT(google-explicit-constructor)
79 Value(const int32_t& value); // NOLINT(google-explicit-constructor)
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/third_party/jsoncpp/
Djson.h293 class Value; variable
547 class JSON_API Value {
563 …static const Value& null; ///< We regret this reference to a global instance; prefer the simpler …
564 static const Value& nullRef; ///< just a kludge for binary-compatibility; same as null
630 typedef std::map<CZString, Value> ObjectValues;
632 typedef CppTL::SmallMap<CZString, Value> ObjectValues;
652 Value(ValueType type = nullValue);
653 Value(Int value);
654 Value(UInt value);
656 Value(Int64 value);
[all …]
Djsoncpp.cpp285 Reader::parse(const std::string& document, Value& root, bool collectComments) { in parse()
292 bool Reader::parse(std::istream& sin, Value& root, bool collectComments) { in parse()
307 Value& root, in parse()
381 Value v(true); in readValue()
389 Value v(false); in readValue()
397 Value v; in readValue()
410 Value v; in readValue()
649 Value init(objectValue); in readObject()
665 Value numberName; in readObject()
678 Value& value = currentValue()[name]; in readObject()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DValuePartial.cs35 public partial class Value class
42 public static Value ForString(string value) in ForString()
45 return new Value { StringValue = value }; in ForString()
53 public static Value ForNumber(double value) in ForNumber()
55 return new Value { NumberValue = value }; in ForNumber()
63 public static Value ForBool(bool value) in ForBool()
65 return new Value { BoolValue = value }; in ForBool()
72 public static Value ForNull() in ForNull()
74 return new Value { NullValue = 0 }; in ForNull()
82 public static Value ForList(params Value[] values) in ForList()
[all …]
DWrappers.cs97 public double Value { property in Google.Protobuf.WellKnownTypes.DoubleValue
117 if (Value != other.Value) return false; in Equals()
124 if (Value != 0D) hash ^= Value.GetHashCode(); in GetHashCode()
135 if (Value != 0D) { in WriteTo()
137 output.WriteDouble(Value); in WriteTo()
144 if (Value != 0D) { in CalculateSize()
155 if (other.Value != 0D) { in MergeFrom()
156 Value = other.Value; in MergeFrom()
169 Value = input.ReadDouble(); in MergeFrom()
222 public float Value { property in Google.Protobuf.WellKnownTypes.FloatValue
[all …]
DAny.cs184 public pb::ByteString Value { property in Google.Protobuf.WellKnownTypes.Any
205 if (Value != other.Value) return false; in Equals()
213 if (Value.Length != 0) hash ^= Value.GetHashCode(); in GetHashCode()
228 if (Value.Length != 0) { in WriteTo()
230 output.WriteBytes(Value); in WriteTo()
240 if (Value.Length != 0) { in CalculateSize()
241 size += 1 + pb::CodedOutputStream.ComputeBytesSize(Value); in CalculateSize()
254 if (other.Value.Length != 0) { in MergeFrom()
255 Value = other.Value; in MergeFrom()
272 Value = input.ReadBytes(); in MergeFrom()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_sampler.java36 b.setMinification(Sampler.Value.NEAREST); in getDefaultBuilder()
37 b.setMagnification(Sampler.Value.NEAREST); in getDefaultBuilder()
38 b.setWrapS(Sampler.Value.CLAMP); in getDefaultBuilder()
39 b.setWrapT(Sampler.Value.CLAMP); in getDefaultBuilder()
46 b.setMinification(Sampler.Value.LINEAR_MIP_LINEAR); in initializeGlobals()
50 b.setMagnification(Sampler.Value.LINEAR); in initializeGlobals()
54 b.setWrapS(Sampler.Value.WRAP); in initializeGlobals()
58 b.setWrapT(Sampler.Value.WRAP); in initializeGlobals()
82 minification.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
84 minification.getMinification() == Sampler.Value.LINEAR_MIP_LINEAR); in testJavaSide()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_sampler.java38 b.setMinification(Sampler.Value.NEAREST); in getDefaultBuilder()
39 b.setMagnification(Sampler.Value.NEAREST); in getDefaultBuilder()
40 b.setWrapS(Sampler.Value.CLAMP); in getDefaultBuilder()
41 b.setWrapT(Sampler.Value.CLAMP); in getDefaultBuilder()
48 b.setMinification(Sampler.Value.LINEAR_MIP_LINEAR); in initializeGlobals()
52 b.setMagnification(Sampler.Value.LINEAR); in initializeGlobals()
56 b.setWrapS(Sampler.Value.WRAP); in initializeGlobals()
60 b.setWrapT(Sampler.Value.WRAP); in initializeGlobals()
84 minification.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
86 minification.getMinification() == Sampler.Value.LINEAR_MIP_LINEAR); in testJavaSide()
[all …]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_sampler.java39 b.setMinification(Sampler.Value.NEAREST); in getDefaultBuilder()
40 b.setMagnification(Sampler.Value.NEAREST); in getDefaultBuilder()
41 b.setWrapS(Sampler.Value.CLAMP); in getDefaultBuilder()
42 b.setWrapT(Sampler.Value.CLAMP); in getDefaultBuilder()
49 b.setMinification(Sampler.Value.LINEAR_MIP_LINEAR); in initializeGlobals()
53 b.setMagnification(Sampler.Value.LINEAR); in initializeGlobals()
57 b.setWrapS(Sampler.Value.WRAP); in initializeGlobals()
61 b.setWrapT(Sampler.Value.WRAP); in initializeGlobals()
86 minification.getMagnification() == Sampler.Value.NEAREST); in testJavaSide()
88 minification.getMinification() == Sampler.Value.LINEAR_MIP_LINEAR); in testJavaSide()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dstruct.pb.h45 class Value; variable
134 const ::google::protobuf::Map< ::std::string, ::google::protobuf::Value >&
136 ::google::protobuf::Map< ::std::string, ::google::protobuf::Value >*
145 ::std::string, ::google::protobuf::Value,
151 ::std::string, ::google::protobuf::Value,
165 class LIBPROTOBUF_EXPORT Value : public ::google::protobuf::Message /* @@protoc_insertion_point(cla…
167 Value();
168 virtual ~Value();
170 Value(const Value& from);
172 inline Value& operator=(const Value& from) {
[all …]
Dreflection_internal.h69 virtual const Value* GetIteratorValue(const Field* data, in GetIteratorValue()
71 Value* scratch_space) const { in GetIteratorValue()
98 virtual const Value* Get(const Field* data, int index, in Get()
99 Value* scratch_space) const { in Get()
105 virtual void Set(Field* data, int index, const Value* value) const { in Set()
108 virtual void Add(Field* data, const Value* value) const { in Add()
129 virtual T ConvertToT(const Value* value) const = 0;
136 virtual const Value* ConvertFromT(const T& value,
137 Value* scratch_space) const = 0;
153 virtual const Value* Get(const Field* data, int index, in Get()
[all …]
Dstruct.pb.cc79 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Value, kind_), in protobuf_AssignDesc_google_2fprotobuf_2fstruct_2eproto()
84 Value::default_instance_, in protobuf_AssignDesc_google_2fprotobuf_2fstruct_2eproto()
90 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Value, _oneof_case_[0]), in protobuf_AssignDesc_google_2fprotobuf_2fstruct_2eproto()
91 sizeof(Value), in protobuf_AssignDesc_google_2fprotobuf_2fstruct_2eproto()
92 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Value, _internal_metadata_), in protobuf_AssignDesc_google_2fprotobuf_2fstruct_2eproto()
93 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Value, _is_default_instance_)); in protobuf_AssignDesc_google_2fprotobuf_2fstruct_2eproto()
129 ::google::protobuf::Value, in protobuf_RegisterTypes()
135 Value_descriptor_, &Value::default_instance()); in protobuf_RegisterTypes()
145 delete Value::default_instance_; in protobuf_ShutdownFile_google_2fprotobuf_2fstruct_2eproto()
180 Value::default_instance_ = new Value(); in protobuf_AddDesc_google_2fprotobuf_2fstruct_2eproto()
[all …]
Ddescriptor_database.cc52 template <typename Value>
53 bool SimpleDescriptorDatabase::DescriptorIndex<Value>::AddFile( in AddFile()
55 Value value) { in AddFile()
85 template <typename Value>
86 bool SimpleDescriptorDatabase::DescriptorIndex<Value>::AddSymbol( in AddSymbol()
87 const string& name, Value value) { in AddSymbol()
100 typename map<string, Value>::iterator iter = FindLastLessOrEqual(name); in AddSymbol()
104 by_symbol_.insert(typename map<string, Value>::value_type(name, value)); in AddSymbol()
131 by_symbol_.insert(iter, typename map<string, Value>::value_type(name, value)); in AddSymbol()
136 template <typename Value>
[all …]
/frameworks/native/libs/binder/
DValue.cpp40 using android::binder::Value;
82 class Value::ContentBase {
97 template<typename T> class Value::Content : public Value::ContentBase {
132 template<typename T> bool Value::ContentBase::get(T* out) const in get()
146 Value::Value() : mContent(nullptr) in Value() function in android::binder::Value
150 Value::Value(const Value& value) in Value() function in android::binder::Value
155 Value::~Value() in ~Value()
160 bool Value::operator==(const Value& rhs) const in operator ==()
162 const Value& lhs(*this); in operator ==()
177 Value& Value::swap(Value &rhs) in swap()
[all …]
/frameworks/base/startop/view_compiler/
Ddex_testcase_generator.cc50 Value r{return5.MakeRegister()}; in GenerateSimpleTestCases()
60 Value five{method.MakeRegister()}; in GenerateSimpleTestCases()
62 Value object{method.MakeRegister()}; in GenerateSimpleTestCases()
72 returnParam.BuildReturn(Value::Parameter(0)); in GenerateSimpleTestCases()
83 Value result = returnStringLength.MakeRegister(); in GenerateSimpleTestCases()
85 Instruction::InvokeVirtual(string_length.id, result, Value::Parameter(0))); in GenerateSimpleTestCases()
94 Value resultIfZero{returnIfZero.MakeRegister()}; in GenerateSimpleTestCases()
95 Value else_target{returnIfZero.MakeLabel()}; in GenerateSimpleTestCases()
97 Instruction::Op::kBranchEqz, /*dest=*/{}, Value::Parameter(0), else_target)); in GenerateSimpleTestCases()
115 Value resultIfNotZero{returnIfNotZero.MakeRegister()}; in GenerateSimpleTestCases()
[all …]
Ddex_builder.h113 class Value {
115 static constexpr Value Local(size_t id) { return Value{id, Kind::kLocalRegister}; } in Local()
116 static constexpr Value Parameter(size_t id) { return Value{id, Kind::kParameter}; } in Parameter()
117 static constexpr Value Immediate(size_t value) { return Value{value, Kind::kImmediate}; } in Immediate()
118 static constexpr Value String(size_t value) { return Value{value, Kind::kString}; } in String()
119 static constexpr Value Label(size_t id) { return Value{id, Kind::kLabel}; } in Label()
120 static constexpr Value Type(size_t id) { return Value{id, Kind::kType}; } in Type()
132 constexpr Value() : value_{0}, kind_{Kind::kInvalid} {} in Value() function
140 constexpr Value(size_t value, Kind kind) : value_{value}, kind_{kind} {} in Value() function
177 static inline Instruction OpWithArgs(Op opcode, std::optional<const Value> dest, T... args) { in OpWithArgs()
[all …]
Ddex_layout_compiler.h82 dex::Value AcquireRegister();
84 dex::Value GetCurrentView() const;
85 dex::Value GetCurrentLayoutParams() const;
86 dex::Value GetParentView() const;
92 dex::Value const context_;
93 dex::Value const resid_;
94 const dex::Value inflater_;
95 const dex::Value xml_;
96 const dex::Value attrs_;
97 const dex::Value classname_tmp_;
[all …]
/frameworks/native/libs/binder/tests/
DbinderValueTypeTest.cpp31 using ::android::binder::Value;
40 Value value = VAL; \
45 ASSERT_EQ(value, Value(y)); \
47 ASSERT_EQ(value, Value(y)); \
48 value = Value(); \
50 ASSERT_NE(value, Value(y)); \
52 ASSERT_EQ(value, Value(x)); \
61 Value value(x); \
66 ASSERT_EQ(value, Value(y)); \
68 ASSERT_EQ(value, Value(y)); \
[all …]
/frameworks/base/cmds/statsd/src/
DFieldValue.h268 struct Value { struct
269 Value() : type(UNKNOWN) {} in Value() argument
271 Value(int32_t v) { in Value() function
276 Value(int64_t v) { in Value() function
281 Value(float v) { in Value() argument
286 Value(double v) { in Value() argument
291 Value(const std::string& v) { in Value() function
296 Value(const std::vector<uint8_t>& v) { in Value() argument
342 Value(const Value& from); argument
344 bool operator==(const Value& that) const;
[all …]
DFieldValue.cpp144 bool isAttributionUidField(const Field& field, const Value& value) { in isAttributionUidField()
152 Value::Value(const Value& from) { in Value() function in android::os::statsd::Value
178 std::string Value::toString() const { in toString()
197 bool Value::isZero() const { in isZero()
216 bool Value::operator==(const Value& that) const { in operator ==()
237 bool Value::operator!=(const Value& that) const { in operator !=()
257 bool Value::operator<(const Value& that) const { in operator <()
278 bool Value::operator>(const Value& that) const { in operator >()
299 bool Value::operator>=(const Value& that) const { in operator >=()
320 Value Value::operator-(const Value& that) const { in operator -()
[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()
134 return list.Any(pair => comparer.Equals(pair.Value, value)); in ContainsValue()
171 value = node.Value.Value; in TryGetValue()
212 node.Value = pair;
230 …tion<TValue> Values { get { return new MapView<TValue>(this, pair => pair.Value, ContainsValue); }…
241 Add(pair.Key, pair.Value); in Add()
273 Add(item.Key, item.Value); in Add()
294 && EqualityComparer<TValue>.Default.Equals(item.Value, value); in Contains()
321 EqualityComparer<TValue>.Default.Equals(item.Value, node.Value.Value)) in Remove()
367 hash ^= pair.Key.GetHashCode() * 31 + valueComparer.GetHashCode(pair.Value); in GetHashCode()
[all …]

123456789