Searched defs:name (Results 51 - 75 of 111) sorted by relevance

12345

/art/runtime/gc/space/
H A Dmalloc_space.cc38 MallocSpace::MallocSpace(const std::string& name, MemMap* mem_map, argument
42 : ContinuousMemMapAllocSpace(name, mem_map, begin, end, limit, kGcRetentionPolicyAlwaysCollect),
52 StringPrintf("allocspace %s live-bitmap %d", name.c_str(), static_cast<int>(bitmap_index)),
57 StringPrintf("allocspace %s mark-bitmap %d", name.c_str(), static_cast<int>(bitmap_index)),
68 MemMap* MallocSpace::CreateMemMap(const std::string& name, size_t starting_size, size_t* initial_size, argument
75 LOG(ERROR) << "Failed to create alloc space (" << name << ") where the initial size ("
81 LOG(ERROR) << "Failed to create alloc space (" << name << ") where the growth limit capacity ("
92 MemMap* mem_map = MemMap::MapAnonymous(name.c_str(), requested_begin, *capacity,
95 LOG(ERROR) << "Failed to allocate pages for alloc space (" << name << ") of size "
228 << ",name
[all...]
H A Dregion_space.cc31 RegionSpace* RegionSpace::Create(const std::string& name, size_t capacity, argument
35 std::unique_ptr<MemMap> mem_map(MemMap::MapAnonymous(name.c_str(), requested_begin, capacity,
39 LOG(ERROR) << "Failed to allocate pages for alloc space (" << name << ") of size "
44 return new RegionSpace(name, mem_map.release());
47 RegionSpace::RegionSpace(const std::string& name, MemMap* mem_map) argument
48 : ContinuousMemMapAllocSpace(name, mem_map, mem_map->Begin(), mem_map->End(), mem_map->End(),
H A Ddlmalloc_space.cc37 DlMallocSpace::DlMallocSpace(MemMap* mem_map, size_t initial_size, const std::string& name, argument
40 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects,
46 DlMallocSpace* DlMallocSpace::CreateFromMemMap(MemMap* mem_map, const std::string& name, argument
53 LOG(ERROR) << "Failed to initialize mspace for alloc space (" << name << ")";
60 CHECK_MEMORY_CALL(mprotect, (end, capacity - starting_size, PROT_NONE), name);
67 mem_map, initial_size, name, mspace, begin, end, begin + capacity, growth_limit,
70 return new DlMallocSpace(mem_map, initial_size, name, mspace, begin, end, begin + capacity,
75 DlMallocSpace* DlMallocSpace::Create(const std::string& name, size_t initial_size, argument
81 LOG(INFO) << "DlMallocSpace::Create entering " << name
93 MemMap* mem_map = CreateMemMap(name, starting_siz
151 CreateInstance(MemMap* mem_map, const std::string& name, void* allocator, uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit, bool can_move_objects) argument
[all...]
H A Drosalloc_space.cc48 RosAllocSpace::RosAllocSpace(MemMap* mem_map, size_t initial_size, const std::string& name, argument
52 : MallocSpace(name, mem_map, begin, end, limit, growth_limit, true, can_move_objects,
58 RosAllocSpace* RosAllocSpace::CreateFromMemMap(MemMap* mem_map, const std::string& name, argument
69 LOG(ERROR) << "Failed to initialize rosalloc for alloc space (" << name << ")";
76 CHECK_MEMORY_CALL(mprotect, (end, capacity - starting_size, PROT_NONE), name);
85 mem_map, initial_size, name, rosalloc, begin, end, begin + capacity, growth_limit,
88 return new RosAllocSpace(mem_map, initial_size, name, rosalloc, begin, end, begin + capacity,
97 RosAllocSpace* RosAllocSpace::Create(const std::string& name, size_t initial_size, argument
103 VLOG(startup) << "RosAllocSpace::Create entering " << name
115 MemMap* mem_map = CreateMemMap(name, starting_siz
179 CreateInstance(MemMap* mem_map, const std::string& name, void* allocator, uint8_t* begin, uint8_t* end, uint8_t* limit, size_t growth_limit, bool can_move_objects) argument
[all...]
H A Dimage_space.cc101 const char* name = de->d_name; local
102 if (strcmp(name, ".") == 0 || strcmp(name, "..") == 0) {
115 cache_file += name;
858 << ",name=\"" << GetName() << "\"]";
/art/runtime/
H A Dreference_table.cc33 ReferenceTable::ReferenceTable(const char* name, size_t initial_size, size_t max_size) argument
34 : name_(name), max_size_(max_size) {
H A Dthread_pool.cc29 ThreadPoolWorker::ThreadPoolWorker(ThreadPool* thread_pool, const std::string& name, argument
32 name_(name) {
34 stack_.reset(MemMap::MapAnonymous(name.c_str(), nullptr, stack_size, PROT_READ | PROT_WRITE,
78 ThreadPool::ThreadPool(const char* name, size_t num_threads) argument
79 : name_(name),
204 WorkStealingWorker::WorkStealingWorker(ThreadPool* thread_pool, const std::string& name, argument
206 : ThreadPoolWorker(thread_pool, name, stack_size), task_(nullptr) {}
279 WorkStealingThreadPool::WorkStealingThreadPool(const char* name, size_t num_threads) argument
280 : ThreadPool(name, 0),
H A Dcommon_throws.cc291 const StringPiece& type, const StringPiece& name) {
294 msg << "No " << scope << "field " << name << " of type " << type
299 void ThrowNoSuchFieldException(mirror::Class* c, const StringPiece& name) { argument
302 msg << "No field " << name << " in class " << c->GetDescriptor(&temp);
308 void ThrowNoSuchMethodError(InvokeType type, mirror::Class* c, const StringPiece& name, argument
312 msg << "No " << type << " method " << name << signature
290 ThrowNoSuchFieldError(const StringPiece& scope, mirror::Class* c, const StringPiece& type, const StringPiece& name) argument
H A Dclass_linker_test.cc466 void addOffset(size_t offset, const char* name) { argument
467 offsets.push_back(CheckOffset(offset, name));
502 addOffset(OFFSETOF_MEMBER(mirror::Class, name_), "name");
839 // This lets UnboxPrimitive avoid searching for the field by name at runtime.
H A Dcommon_runtime_test.cc442 std::string CommonRuntimeTest::GetTestDexFileName(const char* name) { argument
443 CHECK(name != nullptr);
452 filename += name;
457 std::vector<std::unique_ptr<const DexFile>> CommonRuntimeTest::OpenTestDexFiles(const char* name) { argument
458 std::string filename = GetTestDexFileName(name);
470 std::unique_ptr<const DexFile> CommonRuntimeTest::OpenTestDexFile(const char* name) { argument
471 std::vector<std::unique_ptr<const DexFile>> vector = OpenTestDexFiles(name);
/art/tools/dexfuzz/src/dexfuzz/listeners/
H A DBaseListener.java62 public void handleTiming(String name, float elapsedTime) { } argument
H A DConsoleLoggerListener.java145 public void handleTiming(String name, float elapsedTime) { argument
146 logToConsole(String.format("'%s': %.3fs", name, elapsedTime));
H A DLogFileListener.java195 public void handleTiming(String name, float elapsedTime) { argument
196 write(String.format("'%s': %.3fs", name, elapsedTime));
H A DMultiplexerListener.java151 public void handleTiming(String name, float elapsedTime) { argument
153 listener.handleTiming(name, elapsedTime);
/art/tools/dexfuzz/src/dexfuzz/program/
H A DMutatableCode.java75 * The name of the method this code represents.
77 public String name; field in class:MutatableCode
/art/cmdline/detail/
H A Dcmdline_parse_argument_detail.h152 for (auto&& name : names_) {
153 std::string s(name);
181 // Tokenize every name, turning it from a string to a token list.
388 const char* name = value_pair.first; local
390 if (argument == name) {
398 const char* name = value_pair.first; local
399 allowed_values.push_back(name);
468 // TODO: Obviate the need for each type specialization to hardcode the type name
/art/compiler/utils/
H A Dtest_dex_file_builder.h50 const std::string& name) {
54 AddString(name);
55 FieldKey key = { class_descriptor, type, name };
60 const std::string& name) {
63 AddString(name);
75 class_descriptor, name, proto
201 Write32(raw_offset + 4u, GetStringIdx(entry.first.name));
210 Write32(raw_offset + 4u, GetStringIdx(entry.first.name));
235 const std::string& name) {
236 FieldKey key = { class_descriptor, type, name };
49 AddField(const std::string& class_descriptor, const std::string& type, const std::string& name) argument
59 AddMethod(const std::string& class_descriptor, const std::string& signature, const std::string& name) argument
234 GetFieldIdx(const std::string& class_descriptor, const std::string& type, const std::string& name) argument
242 GetMethodIdx(const std::string& class_descriptor, const std::string& signature, const std::string& name) argument
260 const std::string name; member in struct:art::TestDexFileBuilder::FieldKey
296 std::string name; member in struct:art::TestDexFileBuilder::MethodKey
[all...]
H A Dassembler.h68 const char* name() const { return name_; } function in class:art::ExternalLabel
/art/runtime/base/
H A Darena_allocator.cc317 MemStats::MemStats(const char* name, const ArenaAllocatorStats* stats, const Arena* first_arena, argument
319 : name_(name),
H A Dvariant_map.h193 // Alternative base type for all keys used by VariantMap, supports runtime strings as the name.
196 explicit VariantMapStringKey(const char* name) argument
197 : // VariantMapKey(/*std::hash<std::string>()(name)*/),
198 name_(name) {
/art/runtime/gc/accounting/
H A Dmod_union_table.cc350 ModUnionTableCardCache::ModUnionTableCardCache(const std::string& name, Heap* heap, argument
352 : ModUnionTable(name, heap, space) {
/art/runtime/native/
H A Djava_lang_Class.cc54 // "name" is in "binary name" format, e.g. "dalvik.system.Debug$1".
58 ScopedUtfChars name(env, javaName);
59 if (name.c_str() == nullptr) {
63 // We need to validate and convert the name (from x.y.z to x/y/z). This
66 if (!IsValidBinaryClassName(name.c_str())) {
68 "Invalid name: %s", name.c_str());
72 std::string descriptor(DotToDescriptor(name.c_str()));
191 Thread* self ATTRIBUTE_UNUSED, mirror::String* name, ArtFiel
235 Class_getDeclaredFieldInternal(JNIEnv* env, jobject javaThis, jstring name) argument
242 Class_getDeclaredField(JNIEnv* env, jobject javaThis, jstring name) argument
312 Class_getDeclaredMethodInternal(JNIEnv* env, jobject javaThis, jobject name, jobjectArray args) argument
[all...]
/art/test/
H A DAndroid.run-test.mk199 # Convert's a rule name to the form used in variables, e.g. no-relocate to NO_RELOCATE
200 define name-to-var
202 endef # name-to-var
529 $(foreach target, $(TARGET_TYPES), $(eval ART_RUN_TEST_$(call name-to-var,$(target))_RULES :=))
532 $(eval ART_RUN_TEST_$(call name-to-var,$(target))_$(call name-to-var,$(prebuild))_RULES :=)))
535 $(eval ART_RUN_TEST_$(call name-to-var,$(target))_$(call name-to-var,$(compiler))_RULES :=)))
538 $(eval ART_RUN_TEST_$(call name-to-var,$(target))_$(call name
[all...]
/art/cmdline/
H A Dcmdline_parser.h146 // has been specified, then map the value directly from the arg name (i.e.
366 UntypedArgumentBuilder Define(const char* name) { argument
367 return Define({name});
459 // Assumes that argv[0] is a valid argument (i.e. not the program name).
465 // Assumes that argv[0] is a valid argument (i.e. not the program name).
471 // Assumes that argv[0] is the program name, and ignores it.
473 return Parse(TokenRange(&argv[1], argc - 1)); // ignore argv[0] because it's the program name
H A Dcmdline_types.h61 * Handle one of the JDWP name/value pairs.
71 * onthrow=<exception-name>: connect to debugger when exception thrown
119 Result ParseJdwpOption(const std::string& name, const std::string& value, argument
121 if (name == "transport") {
129 } else if (name == "server") {
137 } else if (name == "suspend") {
145 } else if (name == "address") {
165 } else if (name == "launch" || name == "onthrow" || name
[all...]

Completed in 370 milliseconds

12345