Home
last modified time | relevance | path

Searched refs:constant (Results 1 – 20 of 20) sorted by relevance

/system/tools/aidl/
Dgenerate_ndk.cpp254 for (const auto& constant : interface.GetConstantDeclarations()) { in GenerateConstantDeclarations() local
255 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDeclarations()
259 out << "static const char* " << constant->GetName() << ";\n"; in GenerateConstantDeclarations()
265 for (const auto& constant : interface.GetConstantDeclarations()) { in GenerateConstantDeclarations() local
266 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDeclarations()
280 for (const auto& constant : interface.GetConstantDeclarations()) { in GenerateConstantDeclarations() local
281 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDeclarations()
285 out << constant->GetName() << " = " << constant->ValueString(ConstantValueDecorator) in GenerateConstantDeclarations()
296 for (const auto& constant : interface.GetConstantDeclarations()) { in GenerateConstantDefinitions() local
297 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDefinitions()
[all …]
Daidl_language.cpp1066 AidlConstantDeclaration* constant = local->AsConstantDeclaration(); in AidlInterface() local
1068 CHECK(method == nullptr || constant == nullptr); in AidlInterface()
1073 } else if (constant) { in AidlInterface()
1074 constants_.emplace_back(constant); in AidlInterface()
1198 for (const std::unique_ptr<AidlConstantDeclaration>& constant : GetConstantDeclarations()) { in CheckValid() local
1199 if (constant_names.count(constant->GetName()) > 0) { in CheckValid()
1200 AIDL_ERROR(constant) << "Found duplicate constant name '" << constant->GetName() << "'"; in CheckValid()
1203 constant_names.insert(constant->GetName()); in CheckValid()
1204 success = success && constant->CheckValid(typenames); in CheckValid()
Dgenerate_cpp.cpp803 for (const auto& constant : interface.GetConstantDeclarations()) { in BuildInterfaceSource() local
804 const AidlConstantValue& value = constant->GetValue(); in BuildInterfaceSource()
807 std::string cppType = CppNameOf(constant->GetType(), typenames); in BuildInterfaceSource()
810 constant->GetName(), {})); in BuildInterfaceSource()
813 constant->ValueString(ConstantValueDecorator).c_str())); in BuildInterfaceSource()
970 for (const auto& constant : interface.GetConstantDeclarations()) { in BuildInterfaceHeader() local
971 const AidlConstantValue& value = constant->GetValue(); in BuildInterfaceHeader()
975 std::string cppType = CppNameOf(constant->GetType(), typenames); in BuildInterfaceHeader()
976 unique_ptr<Declaration> getter(new MethodDecl("const " + cppType + "&", constant->GetName(), in BuildInterfaceHeader()
984 int_constant_enum->AddValue(constant->GetName(), in BuildInterfaceHeader()
[all …]
Daidl.cpp666 for (const auto& constant : interface->GetConstantDeclarations()) { in load_and_validate_aidl() local
667 switch (constant->GetValue().GetType()) { in load_and_validate_aidl()
675 bool success = constant->CheckValid(*typenames); in load_and_validate_aidl()
679 if (constant->ValueString(cpp::ConstantValueDecorator).empty()) { in load_and_validate_aidl()
686 << static_cast<int>(constant->GetValue().GetType()); in load_and_validate_aidl()
Dgenerate_java_binder.cpp1092 for (const auto& constant : iface->GetConstantDeclarations()) { in generate_binder_interface_class() local
1093 const AidlConstantValue& value = constant->GetValue(); in generate_binder_interface_class()
1094 auto comment = constant->GetType().GetComments(); in generate_binder_interface_class()
1101 generate_string_constant(interface.get(), constant->GetName(), in generate_binder_interface_class()
1102 constant->ValueString(ConstantValueDecorator)); in generate_binder_interface_class()
1108 generate_int_constant(interface.get(), constant->GetName(), in generate_binder_interface_class()
1109 constant->ValueString(ConstantValueDecorator)); in generate_binder_interface_class()
Daidl_language_y.yy90 AidlMember* constant;
161 %type<constant> constant_decl
/system/chre/build/arch/
Dcortexm.mk33 TARGET_CFLAGS += -fsingle-precision-constant
/system/core/adb/
Dprotocol.txt32 unsigned command; /* command identifier constant (A_CNXN, ...) */
58 Command constant: A_CNXN
84 Command constant: A_STLS
93 Command constant: A_AUTH
113 Command constant: A_OPEN
137 Command constant: A_OKAY
156 Command constant: A_WRTE
174 Command constant: A_CLSE
192 Command constant: A_SYNC
/system/core/trusty/confirmationui/
DREADME20 uses a constant nonce.
/system/tools/hidl/test/vendor/1.0/
Dtypes.hal28 * constant values defined in a .hal file can be used in a C library.
/system/core/toolbox/
Dgetevent.c21 #define LABEL(constant) { #constant, constant } argument
/system/core/libutils/
DREADME238 idmap-magic constant spells "idmp" in ASCII. Offsets are given relative
275 0x706d6469 # magic: all idmap files begin with this constant
/system/tools/mkbootimg/
Dpylintrc175 # Regular expression matching correct constant names
178 # Naming hint for constant names
/system/bt/build/secondary/third_party/aac/
DBUILD.gn227 "-Wno-constant-logical-operand",
/system/update_engine/
Dpylintrc295 # Naming hint for constant names
/system/media/audio_utils/
DDoxyfile.orig75 # information to generate all constant output in the proper language.
DDoxyfile.bak75 # information to generate all constant output in the proper language.
DDoxyfile83 # information to generate all constant output in the proper language.
/system/chre/chre_api/doc/
DDoxyfile83 # information to generate all constant output in the proper language.
/system/chre/pal/doc/
DDoxyfile83 # information to generate all constant output in the proper language.