Home
last modified time | relevance | path

Searched refs:_value (Results 1 – 21 of 21) sorted by relevance

/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/
DUnion.java17 private Object _value; field in Union
20 int[] _value = {}; in Union() local
22 this._value = _value; in Union()
29 private Union(int _tag, Object _value) { in Union() argument
31 this._value = _value; in Union()
40 public static Union ns(int[] _value) { in ns() argument
41 return new Union(ns, _value); in ns()
46 return (int[]) _value; in getNs()
49 public void setNs(int[] _value) { in setNs() argument
50 _set(ns, _value); in setNs()
[all …]
DUnionWithFd.java12 private Object _value; field in UnionWithFd
15 int _value = 0; in UnionWithFd() local
17 this._value = _value; in UnionWithFd()
24 private UnionWithFd(int _tag, Object _value) { in UnionWithFd() argument
26 this._value = _value; in UnionWithFd()
35 public static UnionWithFd num(int _value) { in num() argument
36 return new UnionWithFd(num, _value); in num()
41 return (int) _value; in getNum()
44 public void setNum(int _value) { in setNum() argument
45 _set(num, _value); in setNum()
[all …]
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-java-source/gen/android/aidl/loggable/
DUnion.java12 private Object _value; field in Union
15 int _value = 43; in Union() local
17 this._value = _value; in Union()
24 private Union(int _tag, Object _value) { in Union() argument
26 this._value = _value; in Union()
35 public static Union num(int _value) { in num() argument
36 return new Union(num, _value); in num()
41 return (int) _value; in getNum()
44 public void setNum(int _value) { in setNum() argument
45 _set(num, _value); in setNum()
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/unions/
DEnumUnion.java12 private Object _value; field in EnumUnion
15 int _value = android.aidl.tests.IntEnum.FOO; in EnumUnion() local
17 this._value = _value; in EnumUnion()
24 private EnumUnion(int _tag, Object _value) { in EnumUnion() argument
26 this._value = _value; in EnumUnion()
35 public static EnumUnion intEnum(int _value) { in intEnum() argument
36 return new EnumUnion(intEnum, _value); in intEnum()
41 return (int) _value; in getIntEnum()
44 public void setIntEnum(int _value) { in setIntEnum() argument
45 _set(intEnum, _value); in setIntEnum()
[all …]
DUnionInUnion.java12 private Object _value; field in UnionInUnion
15 android.aidl.tests.unions.EnumUnion _value = null; in UnionInUnion() local
17 this._value = _value; in UnionInUnion()
24 private UnionInUnion(int _tag, Object _value) { in UnionInUnion() argument
26 this._value = _value; in UnionInUnion()
35 public static UnionInUnion first(android.aidl.tests.unions.EnumUnion _value) { in first() argument
36 return new UnionInUnion(first, _value); in first()
41 return (android.aidl.tests.unions.EnumUnion) _value; in getFirst()
44 public void setFirst(android.aidl.tests.unions.EnumUnion _value) { in setFirst() argument
45 _set(first, _value); in setFirst()
[all …]
/system/bt/gd/cert/
Dtruth.py33 self._value = value
36 if self._value != other:
37 …raise signals.TestFailure("Expected \"%s\" to be equal to \"%s\"" % (self._value, other), extras=N…
40 if self._value == other:
41 …raise signals.TestFailure("Expected \"%s\" to not be equal to \"%s\"" % (self._value, other), extr…
44 if self._value is not None:
45 raise signals.TestFailure("Expected \"%s\" to be None" % self._value, extras=None)
48 if self._value is None:
49 raise signals.TestFailure("Expected \"%s\" to not be None" % self._value, extras=None)
64 …NOT_FOR_YOU_assert_event_occurs(self._value, match_fns[0], at_least_times=at_least_times, timeout=…
[all …]
Dcapture.py28 self._value = None
35 self._value = self._capture_fn(obj)
37 self._value = obj
41 return self._value
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk_platform-source/gen/include/aidl/android/aidl/tests/
DUnionWithFd.h40 UnionWithFd() : _value(std::in_place_index<num>, int32_t(0)) { } in UnionWithFd()
49 : _value(std::forward<_Tp>(_arg)) {} in UnionWithFd()
53 : _value(std::in_place_index<_Np>, std::forward<_Tp>(_args)...) {} in UnionWithFd()
66 return static_cast<Tag>(_value.index()); in getTag()
72 return std::get<_tag>(_value); in get()
78 return std::get<_tag>(_value); in get()
83 _value.emplace<_tag>(std::forward<_Tp>(_args)...); in set()
90 return _value != rhs._value;
93 return _value < rhs._value;
96 return _value <= rhs._value;
[all …]
DUnion.h46 Union() : _value(std::in_place_index<ns>, std::vector<int32_t>({})) { } in Union()
55 : _value(std::forward<_Tp>(_arg)) {} in Union()
59 : _value(std::in_place_index<_Np>, std::forward<_Tp>(_args)...) {} in Union()
72 return static_cast<Tag>(_value.index()); in getTag()
78 return std::get<_tag>(_value); in get()
84 return std::get<_tag>(_value); in get()
89 _value.emplace<_tag>(std::forward<_Tp>(_args)...); in set()
96 return _value != rhs._value;
99 return _value < rhs._value;
102 return _value <= rhs._value;
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk_platform-source/gen/include/aidl/android/aidl/tests/unions/
DUnionInUnion.h42 …UnionInUnion() : _value(std::in_place_index<first>, ::aidl::android::aidl::tests::unions::EnumUnio… in UnionInUnion()
51 : _value(std::forward<_Tp>(_arg)) {} in UnionInUnion()
55 : _value(std::in_place_index<_Np>, std::forward<_Tp>(_args)...) {} in UnionInUnion()
68 return static_cast<Tag>(_value.index()); in getTag()
74 return std::get<_tag>(_value); in get()
80 return std::get<_tag>(_value); in get()
85 _value.emplace<_tag>(std::forward<_Tp>(_args)...); in set()
92 return _value != rhs._value;
95 return _value < rhs._value;
98 return _value <= rhs._value;
[all …]
DEnumUnion.h43 …EnumUnion() : _value(std::in_place_index<intEnum>, ::aidl::android::aidl::tests::IntEnum(::aidl::a… in EnumUnion()
52 : _value(std::forward<_Tp>(_arg)) {} in EnumUnion()
56 : _value(std::in_place_index<_Np>, std::forward<_Tp>(_args)...) {} in EnumUnion()
69 return static_cast<Tag>(_value.index()); in getTag()
75 return std::get<_tag>(_value); in get()
81 return std::get<_tag>(_value); in get()
86 _value.emplace<_tag>(std::forward<_Tp>(_args)...); in set()
93 return _value != rhs._value;
96 return _value < rhs._value;
99 return _value <= rhs._value;
[all …]
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk-source/gen/include/aidl/android/aidl/loggable/
DUnion.h40 Union() : _value(std::in_place_index<num>, int32_t(43)) { } in Union()
49 : _value(std::forward<_Tp>(_arg)) {} in Union()
53 : _value(std::in_place_index<_Np>, std::forward<_Tp>(_args)...) {} in Union()
66 return static_cast<Tag>(_value.index()); in getTag()
72 return std::get<_tag>(_value); in get()
78 return std::get<_tag>(_value); in get()
83 _value.emplace<_tag>(std::forward<_Tp>(_args)...); in set()
90 return _value != rhs._value;
93 return _value < rhs._value;
96 return _value <= rhs._value;
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/
DUnionWithFd.h27 return _value != rhs._value;
30 return _value < rhs._value;
33 return _value <= rhs._value;
36 return _value == rhs._value;
39 return _value > rhs._value;
42 return _value >= rhs._value;
53 UnionWithFd() : _value(std::in_place_index<num>, int32_t(0)) { } in UnionWithFd()
62 : _value(std::forward<_Tp>(_arg)) {} in UnionWithFd()
66 : _value(std::in_place_index<_Np>, std::forward<_Tp>(_args)...) {} in UnionWithFd()
79 return static_cast<Tag>(_value.index()); in getTag()
[all …]
DUnion.h30 return _value != rhs._value;
33 return _value < rhs._value;
36 return _value <= rhs._value;
39 return _value == rhs._value;
42 return _value > rhs._value;
45 return _value >= rhs._value;
61 Union() : _value(std::in_place_index<ns>, ::std::vector<int32_t>({})) { } in Union()
70 : _value(std::forward<_Tp>(_arg)) {} in Union()
74 : _value(std::in_place_index<_Np>, std::forward<_Tp>(_args)...) {} in Union()
87 return static_cast<Tag>(_value.index()); in getTag()
[all …]
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/include/android/aidl/loggable/
DUnion.h27 return _value != rhs._value;
30 return _value < rhs._value;
33 return _value <= rhs._value;
36 return _value == rhs._value;
39 return _value > rhs._value;
42 return _value >= rhs._value;
53 Union() : _value(std::in_place_index<num>, int32_t(43)) { } in Union()
62 : _value(std::forward<_Tp>(_arg)) {} in Union()
66 : _value(std::in_place_index<_Np>, std::forward<_Tp>(_args)...) {} in Union()
79 return static_cast<Tag>(_value.index()); in getTag()
[all …]
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk_platform-source/gen/include/aidl/android/aidl/loggable/
DUnion.h40 Union() : _value(std::in_place_index<num>, int32_t(43)) { } in Union()
49 : _value(std::forward<_Tp>(_arg)) {} in Union()
53 : _value(std::in_place_index<_Np>, std::forward<_Tp>(_args)...) {} in Union()
66 return static_cast<Tag>(_value.index()); in getTag()
72 return std::get<_tag>(_value); in get()
78 return std::get<_tag>(_value); in get()
83 _value.emplace<_tag>(std::forward<_Tp>(_args)...); in set()
90 return _value != rhs._value;
93 return _value < rhs._value;
96 return _value <= rhs._value;
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/unions/
DEnumUnion.h29 return _value != rhs._value;
32 return _value < rhs._value;
35 return _value <= rhs._value;
38 return _value == rhs._value;
41 return _value > rhs._value;
44 return _value >= rhs._value;
55 …EnumUnion() : _value(std::in_place_index<intEnum>, ::android::aidl::tests::IntEnum(::android::aidl… in EnumUnion()
64 : _value(std::forward<_Tp>(_arg)) {} in EnumUnion()
68 : _value(std::in_place_index<_Np>, std::forward<_Tp>(_args)...) {} in EnumUnion()
81 return static_cast<Tag>(_value.index()); in getTag()
[all …]
DUnionInUnion.h29 return _value != rhs._value;
32 return _value < rhs._value;
35 return _value <= rhs._value;
38 return _value == rhs._value;
41 return _value > rhs._value;
44 return _value >= rhs._value;
55 …UnionInUnion() : _value(std::in_place_index<first>, ::android::aidl::tests::unions::EnumUnion()) {… in UnionInUnion()
64 : _value(std::forward<_Tp>(_arg)) {} in UnionInUnion()
68 : _value(std::in_place_index<_Np>, std::forward<_Tp>(_args)...) {} in UnionInUnion()
81 return static_cast<Tag>(_value.index()); in getTag()
[all …]
/system/security/keystore/include/keystore/
Dkeystore_attestation_id.h37 StatusOr(const status_t error) : _status(error), _value() {} in StatusOr()
39 StatusOr(const T& value) : _status(NO_ERROR), _value(value) {} in StatusOr()
41 StatusOr(T&& value) : _status(NO_ERROR), _value(value) {} in StatusOr()
44 operator const T&() const { return _value; }
46 operator T&() { return _value; }
48 operator T &&() && { return std::move(_value); }
54 const T& value() const& { return _value; } in value()
55 T& value() & { return _value; } in value()
56 T&& value() && { return std::move(_value); } in value()
60 T _value; variable
/system/logging/liblog/include/log/
Dlog.h110 #define LOG_EVENT_INT(_tag, _value) \ argument
112 int intBuf = _value; \
117 #define LOG_EVENT_LONG(_tag, _value) \ argument
119 long long longBuf = _value; \
124 #define LOG_EVENT_FLOAT(_tag, _value) \ argument
126 float floatBuf = _value; \
132 #define LOG_EVENT_STRING(_tag, _value) \ argument
133 (void)__android_log_bswrite(_tag, _value);
/system/core/libutils/include/utils/
DLruCache.h74 … Entry(TKey _key, TValue _value) : key(_key), value(_value), parent(nullptr), child(nullptr) { in Entry() argument