Home
last modified time | relevance | path

Searched refs:name_ (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/tools/aapt2/java/
DClassDefinition.h63 : name_(name), val_(val), staged_api_(staged_api) { in name_() function
71 return name_; in GetName()
84 printer->Print("int ").Print(name_);
87 printer->Print("; static { ").Print(name_);
98 std::string name_; variable
108 : name_(name), val_(val) { in name_() function
116 return name_; in GetName()
127 printer->Print("String ").Print(name_).Print("=\"").Print(val_).Print("\";");
133 std::string name_; variable
144 explicit PrimitiveArrayMember(android::StringPiece name) : name_(name) { in PrimitiveArrayMember()
[all …]
DClassDefinition.cpp88 printer->Print("final class ").Print(name_).Println(" {"); in Print()
/frameworks/libs/binary_translation/tiny_loader/
Dtiny_loader.cc164 const char* name_; member in __anon8a8229810111::TinyElfLoader
203 name_(name), in TinyElfLoader()
226 set_error_msg(&error_msg_, "\"%s\" has bad ELF magic", name_); in CheckElfHeader()
232 set_error_msg(&error_msg_, "\"%s\" %s is not supported, expected %s.", name_, in CheckElfHeader()
238 set_error_msg(&error_msg_, "\"%s\" not little-endian: %d", name_, header->e_ident[EI_DATA]); in CheckElfHeader()
243 set_error_msg(&error_msg_, "\"%s\" has unexpected e_version: %d", name_, header->e_version); in CheckElfHeader()
248 set_error_msg(&error_msg_, "\"%s\" has unsupported e_shentsize: 0x%x (expected 0x%zx)", name_, in CheckElfHeader()
254 set_error_msg(&error_msg_, "\"%s\" has invalid e_shstrndx", name_); in CheckElfHeader()
261 set_error_msg(&error_msg_, "\"%s\" has invalid e_phnum: %zd", name_, header->e_phnum); in CheckElfHeader()
271 set_error_msg(&error_msg_, "can't read file \"%s\": %s", name_, strerror(errno)); in ReadElfHeader()
[all …]
/frameworks/base/libs/androidfw/
DAssetsProvider.cpp91 name_(std::move(path)), in ZipAssetsProvider()
178 name_.GetDebugName().c_str(), incremental_hardening)) { in OpenInternal()
179 LOG(ERROR) << "Failed to mmap file '" << path << "' in APK '" << name_.GetDebugName() in OpenInternal()
187 LOG(ERROR) << "Failed to decompress '" << path << "' in APK '" << name_.GetDebugName() in OpenInternal()
195 name_.GetDebugName().c_str(), incremental_hardening)) { in OpenInternal()
196 LOG(ERROR) << "Failed to mmap file '" << path << "' in APK '" << name_.GetDebugName() << "'"; in OpenInternal()
201 if (name_.GetPath() == nullptr) { in OpenInternal()
207 LOG(ERROR) << "Unable to dup fd '" << path << "' in APK '" << name_.GetDebugName() << "'"; in OpenInternal()
214 LOG(ERROR) << "Failed to mmap file '" << path << "' in APK '" << name_.GetDebugName() << "'"; in OpenInternal()
275 if (name_.GetPath() != nullptr) { in GetPath()
[all …]
/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dfile_test.cc466 name_ = strdup(TempFileTemplate()); in TempDir()
467 if (mkdtemp(name_) != name_) { in TempDir()
468 free(name_); in TempDir()
469 name_ = nullptr; in TempDir()
476 name_ = reinterpret_cast<char*>(malloc(max_len)); in TempDir()
477 snprintf(name_, max_len, "%s%s", dir, kDirTemplate); in TempDir()
478 if (mkdtemp(name_) != name_) { in TempDir()
479 free(name_); in TempDir()
480 name_ = nullptr; in TempDir()
485 if (name_ != nullptr) { in ~TempDir()
[all …]
/frameworks/libs/binary_translation/tools/nogrod/
Ddwarf_abbrev.h41 [[nodiscard]] uint32_t name() const { return name_; } in name()
54 uint32_t name_;
162 const char* name_;
176 [[nodiscard]] uint32_t name() const { return name_; } in name()
182 uint32_t name_;
Dmain.cc53 JsonNameValue(const std::string name, const Json::Value& value) : name_(name), value_(value) {} in JsonNameValue()
54 const std::string& name() const { return name_; } in name()
59 std::string name_; member in __anon23a93e9b0111::JsonNameValue
66 : id_(id), kind_(kind), name_(name), size_bits_(size_bits) {} in TypeInfo()
72 const std::string& name() const { return name_; } in name()
79 return kind_ == other->kind_ && size_bits_ == other->size_bits_ && name_ == other->name_; in EqualsTo()
92 std::string name_; member in __anon23a93e9b0111::TypeInfo
178 return JsonNameValue(name_, obj); in GetJson()
212 return JsonNameValue(name_, obj); in GetJson()
237 return JsonNameValue(name_, obj); in GetJson()
[all …]
Ddwarf_abbrev.cc932 DwarfClass::DwarfClass(const char* name) : name_{name} {} in DwarfClass()
935 return name_; in name()
938 DwarfAttribute::DwarfAttribute(uint32_t name) : name_(name) {} in DwarfAttribute()
1038 : name_{0}, form_{0}, value_{0}, dwarf_class_{nullptr} {} in DwarfAbbrevAttribute()
1044 : name_(name), form_(form), value_(value), dwarf_class_(dwarf_class) {} in DwarfAbbrevAttribute()
/frameworks/base/tools/aapt2/cmd/
DCommand.cpp114 subcommand->full_subcommand_name_ = StringPrintf("%s %s", name_.data(), subcommand->name_.data()); in AddOptionalSubcommand()
147 std::string argline = subcommand->name_; in Usage()
190 if (arg == subcommand->name_ || (!subcommand->short_name_.empty() in Execute()
197 if (arg == subcommand->name_ || (!subcommand->short_name_.empty() in Execute()
DCommand.h33 explicit Command(android::StringPiece name) : name_(name), full_subcommand_name_(name){}; in Command()
36 : name_(name), short_name_(short_name), full_subcommand_name_(name){}; in Command()
104 std::string name_; variable
/frameworks/native/services/vr/performanced/
Dtask.h30 std::string name() const { return name_; } in name()
54 std::string name_; variable
Dcpu_set.h27 std::string name() const { return name_; } in name()
52 std::string name_; variable
Dcpu_set.cpp193 : parent_(parent), name_(name), cpuset_fd_(std::move(cpuset_fd)) { in CpuSet()
195 path_ = name_; in CpuSet()
197 path_ = parent_->name() + name_; in CpuSet()
199 path_ = parent_->path() + "/" + name_; in CpuSet()
Dtask.cpp60 task_id_, name_.c_str(), thread_group_id_, parent_process_id_, in Task()
132 name_ = value; in ReadStatusFields()
/frameworks/base/cmds/idmap2/include/idmap2/
DCommandLineOptions.h38 explicit CommandLineOptions(const std::string& name) : name_(name) { in CommandLineOptions()
69 std::string name_; variable
DFabricatedOverlay.h80 std::string name_; member
/frameworks/native/libs/vr/libpdx/
Dservice.cpp58 svc->name_.c_str(), info_.op, info_.pid, info_.cid); in Destroy()
442 : name_(name), endpoint_{std::move(endpoint)} { in Service()
480 ALOGE("%s::SetChannel: Failed to set channel context: %s\n", name_.c_str(), in SetChannel()
538 name_.c_str(), strerror(ret.error())); in PushChannel()
584 ALOGD("%s::OnChannelOpen: pid=%d cid=%d\n", name_.c_str(), info.pid, in HandleSystemMessage()
591 ALOGD("%s::OnChannelClose: pid=%d cid=%d\n", name_.c_str(), info.pid, in HandleSystemMessage()
599 ALOGD("%s:REPORT_SYSPROP_CHANGE: pid=%d cid=%d\n", name_.c_str(), in HandleSystemMessage()
606 ALOGD("%s:DUMP_STATE: pid=%d cid=%d\n", name_.c_str(), info.pid, in HandleSystemMessage()
/frameworks/base/cmds/idmap2/libidmap2/
DCommandLineOptions.cpp144 out << "usage: " << name_; in Usage()
DFabricatedOverlay.cpp79 name_ = name; in Builder()
239 overlay_pb.set_name(name_); in Build()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetsProvider.h136 PathOrDebugName name_; member
/frameworks/av/media/codec2/tests/
DC2ComponentInterface_test.cpp109 paramTestInfo(const char *name_, int result_) in paramTestInfo()
110 : name(name_), result(result_) {} in paramTestInfo()
/frameworks/native/cmds/dumpstate/
DDumpstateService.cpp272 dprintf(fd, "name: %s\n", ds_->name_.c_str()); in dump()
Ddumpstate.h498 std::string name_; variable
Ddumpstate.cpp2726 std::string entry_name = base_name_ + "-" + name_ + ".txt"; in FinishZipFile()
2824 ds.name_ = date; in PrepareToWriteToFile()
2848 destination.c_str(), ds.base_name_.c_str(), ds.name_.c_str(), ds.log_path_.c_str(), in PrepareToWriteToFile()
3945 name_.c_str(), suffix.c_str()); in GetPath()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice.h635 const std::string name_; variable