/system/tools/aidl/ |
D | generate_ndk.cpp | 221 for (const auto& constant : interface.GetConstantDeclarations()) { in GenerateConstantDeclarations() local 222 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDeclarations() 226 out << "static const char* " << constant->GetName() << ";\n"; in GenerateConstantDeclarations() 232 for (const auto& constant : interface.GetConstantDeclarations()) { in GenerateConstantDeclarations() local 233 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDeclarations() 247 for (const auto& constant : interface.GetConstantDeclarations()) { in GenerateConstantDeclarations() local 248 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDeclarations() 252 out << constant->GetName() << " = " << constant->ValueString(ConstantValueDecorator) in GenerateConstantDeclarations() 263 for (const auto& constant : interface.GetConstantDeclarations()) { in GenerateConstantDefinitions() local 264 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDefinitions() [all …]
|
D | aidl_language.cpp | 976 AidlConstantDeclaration* constant = local->AsConstantDeclaration(); in AidlInterface() local 978 CHECK(method == nullptr || constant == nullptr); in AidlInterface() 983 } else if (constant) { in AidlInterface() 984 constants_.emplace_back(constant); in AidlInterface() 1093 for (const std::unique_ptr<AidlConstantDeclaration>& constant : GetConstantDeclarations()) { in CheckValid() local 1094 if (constant_names.count(constant->GetName()) > 0) { in CheckValid() 1095 LOG(ERROR) << "Found duplicate constant name '" << constant->GetName() << "'"; in CheckValid() 1098 constant_names.insert(constant->GetName()); in CheckValid() 1099 success = success && constant->CheckValid(typenames); in CheckValid()
|
D | generate_cpp.cpp | 809 for (const auto& constant : interface.GetConstantDeclarations()) { in BuildInterfaceSource() local 810 const AidlConstantValue& value = constant->GetValue(); in BuildInterfaceSource() 813 std::string cppType = CppNameOf(constant->GetType(), typenames); in BuildInterfaceSource() 816 constant->GetName(), {})); in BuildInterfaceSource() 819 constant->ValueString(ConstantValueDecorator).c_str())); in BuildInterfaceSource() 976 for (const auto& constant : interface.GetConstantDeclarations()) { in BuildInterfaceHeader() local 977 const AidlConstantValue& value = constant->GetValue(); in BuildInterfaceHeader() 981 std::string cppType = CppNameOf(constant->GetType(), typenames); in BuildInterfaceHeader() 982 unique_ptr<Declaration> getter(new MethodDecl("const " + cppType + "&", constant->GetName(), in BuildInterfaceHeader() 990 int_constant_enum->AddValue(constant->GetName(), in BuildInterfaceHeader() [all …]
|
D | aidl.cpp | 658 for (const auto& constant : interface->GetConstantDeclarations()) { in load_and_validate_aidl() local 659 switch (constant->GetValue().GetType()) { in load_and_validate_aidl() 667 bool success = constant->CheckValid(*typenames); in load_and_validate_aidl() 671 if (constant->ValueString(cpp::ConstantValueDecorator).empty()) { in load_and_validate_aidl() 678 << static_cast<int>(constant->GetValue().GetType()); in load_and_validate_aidl()
|
D | generate_java_binder.cpp | 1092 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()
|
D | aidl_language_y.yy | 89 AidlMember* constant; 158 %type<constant> constant_decl
|
/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 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/ |
D | README | 20 uses a constant nonce.
|
/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/tools/mkbootimg/ |
D | pylintrc | 175 # Regular expression matching correct constant names 178 # Naming hint for constant names
|
/system/bt/build/secondary/third_party/aac/ |
D | BUILD.gn | 227 "-Wno-constant-logical-operand",
|
/system/chre/doc/ |
D | nanoapp_overview.md | 167 * `spammer`: Sends a constant stream of messages and events to stress test the
|
/system/update_engine/ |
D | pylintrc | 295 # Naming hint for constant names
|
/system/media/audio_utils/ |
D | Doxyfile.bak | 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.
|
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.
|
/system/chre/pal/doc/ |
D | Doxyfile | 83 # information to generate all constant output in the proper language.
|