/system/tools/aidl/ |
D | aidl_language.cpp | 910 if (auto constant = m->AsConstantDeclaration(); constant) { in AidlDefinedType() local 911 constants_.emplace_back(constant); in AidlDefinedType() 972 for (const auto& constant : GetConstantDeclarations()) { in CheckValidWithMembers() local 973 if (constant_names.count(constant->GetName()) > 0) { in CheckValidWithMembers() 974 AIDL_ERROR(constant) << "Found duplicate constant name '" << constant->GetName() << "'"; in CheckValidWithMembers() 977 constant_names.insert(constant->GetName()); in CheckValidWithMembers() 978 success = success && constant->CheckValid(typenames); in CheckValidWithMembers() 1461 for (const auto& constant : GetConstantDeclarations()) { in CheckValid() local 1462 if (constant_names.count(constant->GetName()) > 0) { in CheckValid() 1463 AIDL_ERROR(constant) << "Found duplicate constant name '" << constant->GetName() << "'"; in CheckValid() [all …]
|
D | generate_cpp.cpp | 521 for (const auto& constant : type.GetConstantDeclarations()) { in BuildConstantDefinitions() local 522 const AidlConstantValue& value = constant->GetValue(); in BuildConstantDefinitions() 525 std::string cppType = CppNameOf(constant->GetType(), typenames); in BuildConstantDefinitions() 527 new MethodImpl("const " + cppType + "&", class_name, constant->GetName(), type_params, {})); in BuildConstantDefinitions() 530 constant->ValueString(ConstantValueDecorator).c_str())); in BuildConstantDefinitions() 542 for (const auto& constant : type.GetConstantDeclarations()) { in BuildConstantDeclarations() local 543 const AidlTypeSpecifier& type = constant->GetType(); in BuildConstantDeclarations() 544 const AidlConstantValue& value = constant->GetValue(); in BuildConstantDeclarations() 546 const string attribute = GetDeprecatedAttribute(*constant); in BuildConstantDeclarations() 548 std::string cppType = CppNameOf(constant->GetType(), typenames); in BuildConstantDeclarations() [all …]
|
D | generate_rust.cpp | 331 for (const auto& constant : type.GetConstantDeclarations()) { in GenerateConstantDeclarations() local 332 const AidlTypeSpecifier& type = constant->GetType(); in GenerateConstantDeclarations() 333 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDeclarations() 345 GenerateDeprecated(out, *constant); in GenerateConstantDeclarations() 346 out << "pub const " << constant->GetName() << ": " << const_type << " = " in GenerateConstantDeclarations() 347 << constant->ValueString(ConstantValueDecoratorRef) << ";\n"; in GenerateConstantDeclarations()
|
D | generate_ndk.cpp | 313 for (const auto& constant : type.GetConstantDeclarations()) { in GenerateConstantDeclarations() local 314 const AidlTypeSpecifier& type = constant->GetType(); in GenerateConstantDeclarations() 318 cpp::GenerateDeprecated(out, *constant); in GenerateConstantDeclarations() 319 out << " " << constant->GetName() << ";\n"; in GenerateConstantDeclarations() 322 out << constant->GetName(); in GenerateConstantDeclarations() 323 cpp::GenerateDeprecated(out, *constant); in GenerateConstantDeclarations() 324 out << " = " << constant->ValueString(ConstantValueDecorator) << " };\n"; in GenerateConstantDeclarations() 333 for (const auto& constant : interface.GetConstantDeclarations()) { in GenerateConstantDefinitions() local 334 const AidlConstantValue& value = constant->GetValue(); in GenerateConstantDefinitions() 340 out << "const char* " << clazz << "::" << constant->GetName() << " = " in GenerateConstantDefinitions() [all …]
|
D | generate_java_binder.cpp | 394 for (const auto& constant : type.GetConstantDeclarations()) { in generate_constant_declarations() local 395 const AidlTypeSpecifier& type = constant->GetType(); in generate_constant_declarations() 396 out << GenerateComments(*constant); in generate_constant_declarations() 397 out << GenerateAnnotations(*constant); in generate_constant_declarations() 398 out << "public static final " << type.Signature() << " " << constant->GetName() << " = " in generate_constant_declarations() 399 << constant->ValueString(ConstantValueDecorator) << ";\n"; in generate_constant_declarations()
|
D | aidl.cpp | 705 for (const auto& constant : defined_type->GetConstantDeclarations()) { in load_and_validate_aidl() local 706 if (constant->ValueString(AidlConstantValueDecorator).empty()) { in load_and_validate_aidl()
|
D | aidl_language_y.yy | 88 AidlMember* constant; 161 %type<constant> constant_decl
|
/system/chre/build/arch/ |
D | cortexm.mk | 33 TARGET_CFLAGS += -fsingle-precision-constant
|
/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/bt/build/secondary/third_party/aac/ |
D | BUILD.gn | 227 "-Wno-constant-logical-operand",
|
/system/apex/ |
D | pylintrc | 97 misplaced-comparison-constant, 210 # Regular expression matching correct constant names
|
/system/tools/mkbootimg/ |
D | pylintrc | 91 misplaced-comparison-constant, 204 # Regular expression matching correct constant names
|
/system/bt/gd/packet/parser/ |
D | packet_def.cc | 1211 auto constant = value.substr(value.find("::") + 2, std::string::npos); in GenRustBuilderStructImpls() local 1212 s << field->GetDataType() << "::" << util::ConstantCaseToCamelCase(constant); in GenRustBuilderStructImpls()
|
/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/apex/docs/ |
D | README.md | 551 constant in `system/apex/apexd/apexd.cpp`.
|
/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.
|
/system/media/audio_utils/ |
D | Doxyfile | 83 # information to generate all constant output in the proper language.
|