Searched refs:constant (Results 1 – 17 of 17) sorted by relevance
/system/tools/aidl/ |
D | generate_ndk.cpp | 174 for (const auto& constant : interface.GetConstantDeclarations()) { in GenerateConstantDeclarations() local 175 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDeclarations() 177 out << "static const char* " << constant->GetName() << ";\n"; in GenerateConstantDeclarations() 183 for (const auto& constant : interface.GetConstantDeclarations()) { in GenerateConstantDeclarations() local 184 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDeclarations() 195 for (const auto& constant : interface.GetConstantDeclarations()) { in GenerateConstantDeclarations() local 196 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDeclarations() 199 out << constant->GetName() << " = " << constant->ValueString(AidlConstantValueDecorator) in GenerateConstantDeclarations() 210 for (const auto& constant : interface.GetConstantDeclarations()) { in GenerateConstantDefinitions() local 211 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDefinitions() [all …]
|
D | aidl_language.cpp | 692 AidlConstantDeclaration* constant = local->AsConstantDeclaration(); in AidlInterface() local 694 CHECK(method == nullptr || constant == nullptr); in AidlInterface() 699 } else if (constant) { in AidlInterface() 700 constants_.emplace_back(constant); in AidlInterface() 776 for (const std::unique_ptr<AidlConstantDeclaration>& constant : GetConstantDeclarations()) { in CheckValid() local 777 if (constant_names.count(constant->GetName()) > 0) { in CheckValid() 778 LOG(ERROR) << "Found duplicate constant name '" << constant->GetName() << "'"; in CheckValid() 781 constant_names.insert(constant->GetName()); in CheckValid() 782 success = success && constant->CheckValid(typenames); in CheckValid()
|
D | generate_cpp.cpp | 743 for (const auto& constant : interface.GetConstantDeclarations()) { in BuildInterfaceSource() local 744 const AidlConstantValue& value = constant->GetValue(); in BuildInterfaceSource() 747 std::string cppType = constant->GetType().GetLanguageType<Type>()->CppType(); in BuildInterfaceSource() 751 constant->GetName(), {})); in BuildInterfaceSource() 754 constant->ValueString(ConstantValueDecorator).c_str())); in BuildInterfaceSource() 929 for (const auto& constant : interface.GetConstantDeclarations()) { in BuildInterfaceHeader() local 930 const AidlConstantValue& value = constant->GetValue(); in BuildInterfaceHeader() 934 std::string cppType = constant->GetType().GetLanguageType<Type>()->CppType(); in BuildInterfaceHeader() 935 unique_ptr<Declaration> getter(new MethodDecl("const " + cppType + "&", constant->GetName(), in BuildInterfaceHeader() 942 int_constant_enum->AddValue(constant->GetName(), in BuildInterfaceHeader() [all …]
|
D | generate_java_binder.cpp | 1021 for (const auto& constant : iface->GetConstantDeclarations()) { in generate_binder_interface_class() local 1022 const AidlConstantValue& value = constant->GetValue(); in generate_binder_interface_class() 1026 generate_string_constant(interface, constant->GetName(), in generate_binder_interface_class() 1027 constant->ValueString(ConstantValueDecorator)); in generate_binder_interface_class() 1032 generate_int_constant(interface, constant->GetName(), in generate_binder_interface_class() 1033 constant->ValueString(ConstantValueDecorator)); in generate_binder_interface_class()
|
D | aidl_language_y.yy | 60 AidlMember* constant; 101 %type<constant> constant_decl
|
D | aidl.cpp | 199 for (const std::unique_ptr<AidlConstantDeclaration>& constant : c->GetConstantDeclarations()) { in register_types() local 200 AidlTypeSpecifier* specifier = constant->GetMutableType(); in register_types()
|
/system/chre/build/arch/ |
D | cortexm.mk | 33 TARGET_CFLAGS += -fsingle-precision-constant
|
/system/core/adb/ |
D | protocol.txt | 32 unsigned command; /* command identifier constant (A_CNXN, ...) */ 58 Command constant: A_CNXN 85 Command constant: A_AUTH 105 Command constant: A_OPEN 129 Command constant: A_OKAY 148 Command constant: A_WRTE 166 Command constant: A_CLSE 184 Command constant: A_SYNC
|
/system/tools/hidl/test/vendor/1.0/ |
D | types.hal | 28 * constant values defined in a .hal file can be used in a C library.
|
/system/core/toolbox/ |
D | getevent.c | 21 #define LABEL(constant) { #constant, constant } argument
|
/system/core/libutils/ |
D | README | 238 idmap-magic constant spells "idmp" in ASCII. Offsets are given relative 275 0x706d6469 # magic: all idmap files begin with this constant
|
/system/bt/build/secondary/third_party/aac/ |
D | BUILD.gn | 227 "-Wno-constant-logical-operand",
|
/system/update_engine/ |
D | pylintrc | 295 # Naming hint for constant names
|
/system/media/audio_utils/ |
D | Doxyfile | 75 # information to generate all constant output in the proper language.
|
D | Doxyfile.orig | 75 # information to generate all constant output in the proper language.
|
/system/chre/pal/doc/ |
D | Doxyfile | 83 # information to generate all constant output in the proper language.
|
/system/chre/chre_api/doc/ |
D | Doxyfile | 83 # information to generate all constant output in the proper language.
|