Home
last modified time | relevance | path

Searched refs:VALUE (Results 1 – 10 of 10) sorted by relevance

/system/core/libutils/include/utils/
DKeyedVector.h35 template <typename KEY, typename VALUE>
40 typedef VALUE value_type;
69 const VALUE& valueFor(const KEY& key) const;
70 const VALUE& valueAt(size_t index) const;
73 const VALUE& operator[](size_t index) const;
79 VALUE& editValueFor(const KEY& key);
80 VALUE& editValueAt(size_t index);
86 ssize_t add(const KEY& key, const VALUE& item);
87 ssize_t replaceValueFor(const KEY& key, const VALUE& item);
88 ssize_t replaceValueAt(size_t index, const VALUE& item);
[all …]
DTypeHelpers.h257 template <typename KEY, typename VALUE>
260 typedef VALUE value_t;
263 VALUE value;
271 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { }
279 inline const VALUE& getValue() const {
/system/tools/aidl/
Daidl_to_rust.h28 VALUE, enumerator
38 VALUE, enumerator
Daidl_to_rust.cpp234 element_mode = StorageMode::VALUE; in RustNameOf()
307 return StorageMode::VALUE; in ArgumentStorageMode()
336 return ReferenceMode::VALUE; in ArgumentReferenceMode()
Dgenerate_rust.cpp141 auto method_type = RustNameOf(method.GetType(), typenames, StorageMode::VALUE, lifetime); in BuildMethod()
219 auto return_type = RustNameOf(method.GetType(), typenames, StorageMode::VALUE, Lifetime::NONE); in GenerateClientMethodHelpers()
256 RustNameOf(method.GetType(), typenames, StorageMode::VALUE, Lifetime::NONE); in GenerateClientMethodHelpers()
458 arg_mode = StorageMode::VALUE; in GenerateServerTransaction()
596 const_type = RustNameOf(type, typenames, StorageMode::VALUE, Lifetime::NONE); in GenerateConstantDeclarations()
1396 auto backing_type = RustNameOf(aidl_backing_type, typenames, StorageMode::VALUE, Lifetime::NONE); in GenerateRustEnumDeclaration()
Daidl_unittest.cpp5637 EXPECT_EQ(rust::RustNameOf(*pfd, typenames_, rust::StorageMode::VALUE, rust::Lifetime::NONE), in TEST_F()
5653 EXPECT_EQ(rust::RustNameOf(*pfd, typenames_, rust::StorageMode::VALUE, rust::Lifetime::NONE), in TEST_F()
/system/core/libutils/binder/include/utils/
DTypeHelpers.h257 template <typename KEY, typename VALUE>
260 typedef VALUE value_t;
263 VALUE value;
271 key_value_pair_t(const KEY& k, const VALUE& v) : key(k), value(v) { }
279 inline const VALUE& getValue() const {
/system/tools/hidl/c2hal/
Dc2hal_l.ll210 {D}+{E}{FS}? { yylval->str = strdup(yytext); return VALUE; }
211 {D}+\.{E}?{FS}? { yylval->str = strdup(yytext); return VALUE; }
212 {D}*\.{D}+{E}?{FS}? { yylval->str = strdup(yytext); return VALUE; }
213 L?\"(\\.|[^\\"])*\" { yylval->str = strdup(yytext); return VALUE; }
Dc2hal_y.yy121 %token<str> VALUE
472 | VALUE { $$ = Expression::atom(Expression::Type::UNKNOWN, $1); }
/system/tools/hidl/test/hidl_test/
Dstatic_test.cpp30 static_assert((int32_t) decltype(IFoo::S2::foo)::VALUE == 0,