Home
last modified time | relevance | path

Searched defs:val (Results 1 – 25 of 216) sorted by relevance

123456789

/system/incremental_delivery/incfs/tests/
Dhardening_benchmark.cpp43 int val = 0; in TestEmpty() local
54 int val = 0; in TestSignal() local
64 int val = 0; in TestRead() local
77 int val = 0; in TestMapPtrRaw() local
91 int val = 0; in TestMapPtr() local
101 int val = 0; in TestAccess() local
111 int val = 0; in TestAccessFast() local
123 int val = 0; in TestAccessVal() local
133 int val = 0; in TestAccessNested() local
145 int val = 0; in TestAccessDoubleNested() local
[all …]
/system/core/libutils/binder/
DString8_fuzz.cpp105 int val = dataProvider->ConsumeIntegral<int>(); in fuzzFormat() local
119 uint val = dataProvider->ConsumeIntegral<uint>(); in fuzzFormat() local
137 float val = dataProvider->ConsumeFloatingPoint<float>(); in fuzzFormat() local
147 char val = dataProvider->ConsumeIntegral<char>(); in fuzzFormat() local
157 std::string val = dataProvider->ConsumeRandomLengthString(MAX_STRING_BYTES); in fuzzFormat() local
166 uintptr_t val = dataProvider->ConsumeIntegral<uintptr_t>(); in fuzzFormat() local
/system/keymaster/tests/
Dandroid_keymaster_test_utils.h43 KeymasterEnum val) { in contains()
50 KeymasterEnum val) { in contains()
58 bool contains(const AuthorizationSet& set, TypedTag<KM_UINT, Tag> tag, uint32_t val) { in contains()
64 bool contains(const AuthorizationSet& set, TypedTag<KM_UINT_REP, Tag> tag, uint32_t val) { in contains()
72 bool contains(const AuthorizationSet& set, TypedTag<KM_ULONG, Tag> tag, uint64_t val) { in contains()
78 bool contains(const AuthorizationSet& set, TypedTag<KM_BYTES, Tag> tag, const std::string& val) { in contains()
85 bool contains(const AuthorizationSet& set, TypedTag<KM_BIGNUM, Tag> tag, const std::string& val) { in contains()
Dauthorization_set_test.cpp267 uint32_t val; in read_uint32() local
273 uint32_t val; in add_to_uint32() local
445 uint32_t val; in TEST() local
465 uint64_t val; in TEST() local
487 uint64_t val; in TEST() local
507 keymaster_algorithm_t val; in TEST() local
526 keymaster_purpose_t val; in TEST() local
547 uint64_t val; in TEST() local
565 keymaster_blob_t val; in TEST() local
/system/libcppbor/tests/
Dcppbor_test.cpp63 Uint val(testCase.first); in TEST() local
472 Uint val(100000); in TEST() local
478 Tstr val("01234567890123456789012345"s); in TEST() local
487 Bstr val("01234567890123456789012345"s); in TEST() local
496 Array val("a", 5, -100); in TEST() local
522 Uint val(99); in TEST() local
537 Nint val(-1); in TEST() local
552 Tstr val("99"); in TEST() local
568 Bstr val("99"); in TEST() local
584 Bool val(false); in TEST() local
[all …]
/system/keymaster/include/keymaster/
Dauthorization_set.h236 bool Contains(TypedEnumTag<KM_ENUM_REP, Tag, T> tag, T val) const { in Contains()
244 bool Contains(TypedEnumTag<KM_ENUM, Tag, T> tag, T val) const { in Contains()
251 template <keymaster_tag_t Tag> bool Contains(TypedTag<KM_UINT, Tag> tag, uint32_t val) const { in Contains()
260 inline bool GetTagValue(TypedTag<KM_UINT, T> tag, uint32_t* val) const { in GetTagValue()
270 bool GetTagValue(TypedTag<KM_UINT_REP, Tag> tag, size_t instance, uint32_t* val) const { in GetTagValue()
279 inline bool GetTagValue(TypedTag<KM_ULONG, T> tag, uint64_t* val) const { in GetTagValue()
289 bool GetTagValue(TypedTag<KM_ULONG_REP, Tag> tag, size_t instance, uint64_t* val) const { in GetTagValue()
298 bool GetTagValue(TypedEnumTag<KM_ENUM, Tag, T> tag, T* val) const { in GetTagValue()
308 bool GetTagValue(TypedEnumTag<KM_ENUM_REP, Tag, T> tag, size_t instance, T* val) const { in GetTagValue()
318 bool GetTagValue(TypedEnumTag<KM_ENUM_REP, Tag, T> tag, T* val) const { in GetTagValue()
[all …]
DList.h48 explicit _Node(const T& val) : mVal(val) {} in _Node()
54 inline void setVal(const T& val) { mVal = val; } in setVal()
186 void push_front(const T& val) { insert(begin(), val); } in push_front()
187 void push_back(const T& val) { insert(end(), val); } in push_back()
190 iterator insert(iterator posn, const T& val) { in insert()
/system/libhwbinder/
DDebug.cpp61 static inline char makehexdigit(uint32_t val) in makehexdigit()
66 static char* appendhexnum(uint32_t val, char* out) in appendhexnum()
239 const unsigned char val = *(pos+startIndex-index); in printHexData() local
256 const unsigned char val = *(pos+startIndex-index); in printHexData() local
274 const unsigned char val = pos[index]; in printHexData() local
DTextOutput.cpp46 TextOutput& operator<<(TextOutput& to, const TypeCode& val) in operator <<()
65 TextOutput& operator<<(TextOutput& to, const HexDump& val) in operator <<()
/system/core/libutils/include/utils/
DList.h52 explicit _Node(const T& val) : mVal(val) {} in _Node()
58 inline void setVal(const T& val) { mVal = val; } in setVal()
209 void push_front(const T& val) { insert(begin(), val); } in push_front()
210 void push_back(const T& val) { insert(end(), val); } in push_back()
213 iterator insert(iterator posn, const T& val) in insert()
/system/chre/apps/test/chqts/src/general_test/
Dcell_info_base.cc39 uint32_t val = static_cast<uint32_t>(value); in sendFatalFailureInt32() local
44 uint32_t val = value; in sendFatalFailureUint8() local
/system/netd/server/
DInterfaceControllerTest.cpp95 void expectGetProperty(const std::string& key, const std::string& val) { in expectGetProperty()
100 void expectSetProperty(const std::string& key, const std::string& val, Status status) { in expectSetProperty()
104 void expectWriteToFile(const Fd fd, const std::string& val, int err) { in expectWriteToFile()
127 [this](const std::string& key, const std::string& val) { in __anon59499ded0702()
191 const auto val = std::find( in TEST_F() local
/system/media/audio_utils/
DMetadata.cpp84 int32_t *val = reinterpret_cast<Data *>(metadata)->get_ptr(Key<int32_t>(key)); in audio_metadata_get_int32() local
96 int64_t *val = reinterpret_cast<Data *>(metadata)->get_ptr(Key<int64_t>(key)); in audio_metadata_get_int64() local
108 float *val = reinterpret_cast<Data *>(metadata)->get_ptr(Key<float>(key)); in audio_metadata_get_float() local
120 double *val = reinterpret_cast<Data *>(metadata)->get_ptr(Key<double>(key)); in audio_metadata_get_double() local
/system/core/init/
Dfirst_stage_console.cpp120 int val = 0; in FirstStageConsole() local
132 int val = 0; in FirstStageConsole() local
/system/chre/apps/wifi_offload/test/
Dutility.cc23 void init(uint8_t &val, RandomGenerator &rand_gen) { in init()
27 void init(uint16_t &val, RandomGenerator &rand_gen) { in init()
31 void init(uint32_t &val, RandomGenerator &rand_gen) { in init()
35 void init(uint64_t &val, RandomGenerator &rand_gen) { in init()
/system/core/trusty/utils/rpmb_dev/
Drpmb_protocol.h89 static inline struct rpmb_u16 rpmb_u16(uint16_t val) { in rpmb_u16()
97 static inline struct rpmb_u32 rpmb_u32(uint32_t val) { in rpmb_u32()
109 uint16_t val; in rpmb_get_u16() local
120 uint32_t val; in rpmb_get_u32() local
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk-source/gen/include/aidl/android/aidl/loggable/
DEnum.h34 [[nodiscard]] static inline std::string toString(Enum val) { in toString()
/system/tools/aidl/tests/golden_output/frozen/aidl_test_loggable_interface-ndk-source/gen/include/aidl/android/aidl/loggable/
DEnum.h34 [[nodiscard]] static inline std::string toString(Enum val) { in toString()
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/include/android/aidl/loggable/
DEnum.h24 [[nodiscard]] static inline std::string toString(Enum val) { in toString()
/system/tools/aidl/tests/golden_output/frozen/aidl_test_loggable_interface-cpp-source/gen/include/android/aidl/loggable/
DEnum.h24 [[nodiscard]] static inline std::string toString(Enum val) { in toString()
/system/linkerconfig/contents/context/
Dcontext.cc97 auto val = modules::Variables::GetValue(name); in Var() local
106 auto val = modules::Variables::GetValue(name); in Var() local
/system/extras/tests/lib/testUtil/
DtestUtil.c44 double ts2double(const struct timespec *val) in ts2double()
55 double tv2double(const struct timeval *val) in tv2double()
182 uint32_t val; in testRand() local
209 uint32_t val = (mod <= lrand48maxVal) ? (uint32_t) lrand48() : testRand(); in testRandMod() local
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/
DDeprecatedEnum.h28 [[nodiscard]] static inline std::string toString(DeprecatedEnum val) { in toString()
DLongEnum.h26 [[nodiscard]] static inline std::string toString(LongEnum val) { in toString()
/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-ndk-source/gen/include/aidl/android/aidl/tests/
DByteEnum.h36 [[nodiscard]] static inline std::string toString(ByteEnum val) { in toString()

123456789