/system/tools/aidl/ |
D | aidl_typenames.cpp | 108 bool AidlTypenames::IsBuiltinTypename(const string& type_name) { in IsBuiltinTypename() argument 109 return kBuiltinTypes.find(type_name) != kBuiltinTypes.end() || in IsBuiltinTypename() 110 kJavaLikeTypeToAidlType.find(type_name) != kJavaLikeTypeToAidlType.end(); in IsBuiltinTypename() 113 bool AidlTypenames::IsPrimitiveTypename(const string& type_name) { in IsPrimitiveTypename() argument 114 return kPrimitiveTypes.find(type_name) != kPrimitiveTypes.end(); in IsPrimitiveTypename() 117 const AidlDefinedType* AidlTypenames::TryGetDefinedType(const string& type_name) const { in TryGetDefinedType() 119 auto found_def = defined_types_.find(type_name); in TryGetDefinedType() 124 auto found_prep = preprocessed_types_.find(type_name); in TryGetDefinedType() 132 if (it->second->GetName() == type_name) { in TryGetDefinedType() 138 if (it->second->GetName() == type_name) { in TryGetDefinedType() [all …]
|
D | aidl_typenames.h | 56 static bool IsBuiltinTypename(const string& type_name); 57 static bool IsPrimitiveTypename(const string& type_name); 58 const AidlDefinedType* TryGetDefinedType(const string& type_name) const; 59 pair<string, bool> ResolveTypename(const string& type_name) const;
|
D | type_namespace.h | 56 const std::string& package, const std::string& type_name, 148 bool HasTypeByCanonicalName(const std::string& type_name) const { in HasTypeByCanonicalName() argument 149 return FindTypeByCanonicalName(type_name) != nullptr; in HasTypeByCanonicalName() 180 bool IsContainerType(const std::string& type_name) const; 267 const std::string& type_name = aidl_type.ToString(); in MaybeAddContainerType() local 268 if (!IsContainerType(type_name)) { in MaybeAddContainerType() 302 const std::string& type_name) const { in IsContainerType() argument 303 const size_t opening_brace = type_name.find('<'); in IsContainerType() 304 const size_t closing_brace = type_name.find('>'); in IsContainerType() 324 std::string type_name = type_arg->ToString(); in CanonicalizeContainerType() local [all …]
|
D | type_namespace.cpp | 68 int kind, const string& package, const string& type_name, in ValidatableType() argument 71 type_name_(type_name), in ValidatableType() 72 canonical_name_((package.empty()) ? type_name in ValidatableType() 73 : package + "." + type_name), in ValidatableType()
|
D | type_cpp.cpp | 487 bool TypeNamespace::AddListType(const std::string& type_name) { in AddListType() argument 488 const Type* contained_type = FindTypeByCanonicalName(type_name); in AddListType() 490 LOG(ERROR) << "Cannot create List<" << type_name << "> because contained " in AddListType() 495 LOG(ERROR) << "Cannot create List<" << type_name << "> because contained " in AddListType() 509 LOG(ERROR) << "aidl-cpp does not yet support List<" << type_name << ">"; in AddListType()
|
D | aidl_to_java.cpp | 312 const string type_name = c.type.GetName() + (c.type.IsArray() ? "[]" : ""); in WriteToParcelFor() local 313 const auto found = method_map.find(type_name); in WriteToParcelFor() 511 const string type_name = c.type.GetName() + (c.type.IsArray() ? "[]" : ""); in CreateFromParcelFor() local 512 const auto found = method_map.find(type_name); in CreateFromParcelFor() 634 const string type_name = c.type.GetName() + (c.type.IsArray() ? "[]" : ""); in ReadFromParcelFor() local 635 const auto& found = method_map.find(type_name); in ReadFromParcelFor()
|
D | type_cpp.h | 98 bool AddListType(const std::string& type_name) override;
|
D | aidl_language.cpp | 197 const string& type_name = GetName(); in CheckValid() local 199 if (type_name == "List") { in CheckValid() 205 } else if (type_name == "Map") { in CheckValid()
|
/system/extras/simpleperf/ |
D | cmd_stat.cpp | 59 std::string type_name; member 68 CounterSummary(const std::string& type_name, const std::string& modifier, in CounterSummary() 71 : type_name(type_name), in CounterSummary() 91 return type_name; in Name() 93 return type_name + ":" + modifier; in Name() 98 if (type_name == "cpu-clock" || type_name == "task-clock") { in ReadableCountValue() 138 const CounterSummary* FindSummary(const std::string& type_name, in FindSummary() argument 141 if (s.type_name == type_name && s.modifier == modifier) { in FindSummary() 157 const CounterSummary* other = FindSummary(s.type_name, "k"); in AutoGenerateSummaries() 159 if (FindSummary(s.type_name, "") == nullptr) { in AutoGenerateSummaries() [all …]
|
D | generate_event_type_table.py | 99 for (type_name, type_config) in hw_cache_types: 103 event_type_name = type_name + '-' + op_name_access 105 event_type_name = type_name + '-' + \
|
D | cmd_list.cpp | 71 static void PrintEventTypesOfType(uint32_t type, const std::string& type_name, in PrintEventTypesOfType() argument 73 printf("List of %s:\n", type_name.c_str()); in PrintEventTypesOfType()
|
D | record.cpp | 1114 const char* type_name = ""; in DumpData() local 1116 case CallChainJoiner::ORIGINAL_OFFLINE: type_name = "ORIGINAL_OFFLINE"; break; in DumpData() 1117 case CallChainJoiner::ORIGINAL_REMOTE: type_name = "ORIGINAL_REMOTE"; break; in DumpData() 1118 case CallChainJoiner::JOINED_OFFLINE: type_name = "JOINED_OFFLINE"; break; in DumpData() 1119 case CallChainJoiner::JOINED_REMOTE: type_name = "JOINED_REMOTE"; break; in DumpData() 1123 PrintIndented(indent, "chain_type %s\n", type_name); in DumpData()
|
/system/tools/aidl/tests/ |
D | aidl_test_client_nullables.cpp | 92 bool ConfirmNullableType(const sp<ITestService>& s, const string& type_name, in ConfirmNullableType() argument 96 cout << "... Confirming nullables for " << type_name << " ..." << endl; in ConfirmNullableType() 103 cerr << "Could not repeat nullable " << type_name << "." << endl; in ConfirmNullableType() 108 cerr << "Got back null when repeating " << type_name << "." << endl; in ConfirmNullableType() 113 cerr << "Got back a non-matching value when repeating " << type_name in ConfirmNullableType() 122 cerr << "Could not repeat null as " << type_name << "." << endl; in ConfirmNullableType() 127 cerr << "Got back a value when sent null for " << type_name << "." in ConfirmNullableType()
|
/system/core/libcutils/ |
D | fs_config_test.cpp | 126 static bool check_unique(const fs_path_config* paths, const char* type_name, in check_unique() argument 129 config += type_name; in check_unique() 221 void check_two(const fs_path_config* paths, const char* type_name, const char* prefix) { in check_two() argument 223 ASSERT_FALSE(type_name == nullptr); in check_two() 225 bool check_internal = check_unique(paths, type_name, prefix); in check_two() 228 check_unique(std::string("/") + prefix + "etc/fs_config_" + type_name, prefix); in check_two()
|
/system/sepolicy/tools/ |
D | checkfc.c | 109 static bool is_type_of_attribute_set(policydb_t *policydb, const char *type_name, in is_type_of_attribute_set() argument 112 struct type_datum *type = hashtab_search(policydb->p_types.table, (char *)type_name); in is_type_of_attribute_set() 114 fprintf(stderr, "Error: \"%s\" is not defined in this policy.\n", type_name); in is_type_of_attribute_set() 119 fprintf(stderr, "Error: \"%s\" is not a type in this policy.\n", type_name); in is_type_of_attribute_set() 172 const char *type_name = sepol_context_get_type(ctx); in validate() local 176 res = !is_type_of_attribute_set(global_state.sepolicy.pdb, type_name, in validate() 179 fprintf(stderr, "Error: type \"%s\" is not of set: ", type_name); in validate()
|
/system/iorap/include/binder/ |
D | auto_parcelable.h | 133 #define AUTO_PARCELABLE_WRITE_TO_PARCEL(fn_name, type_name) \ in writeAnyToParcel() argument 134 } else if constexpr (std::is_same_v<D, std::decay_t<type_name>>) { \ in writeAnyToParcel() 164 #define AUTO_PARCELABLE_READ_FROM_PARCEL(fn_name, type_name) \ in readAnyFromParcel() argument 165 } else if constexpr (std::is_same_v<D, std::decay_t<type_name>>) { \ in readAnyFromParcel()
|
/system/media/camera/docs/ |
D | metadata_helpers.py | 432 def _jtype_box(type_name): argument 442 return mapping.get(type_name, type_name)
|
D | metadata_model.py | 263 def insert_type(self, type_name, type_selector="typedef", **kwargs): argument 288 self._types.append(Typedef(type_name, self, kwargs.get('languages')))
|
/system/media/camera/src/ |
D | camera_metadata.c | 1118 const char *type_name; in dump_indented_camera_metadata() local 1120 type_name = "unknown"; in dump_indented_camera_metadata() 1122 type_name = camera_metadata_type_names[entry->type]; in dump_indented_camera_metadata() 1129 type_name, in dump_indented_camera_metadata()
|