Lines Matching refs:caps
48 static void AddCapsForEvent(jvmtiEvent event, jvmtiCapabilities* caps) { in AddCapsForEvent() argument
52 caps->cap_name = 1; \ in AddCapsForEvent()
620 jvmtiCapabilities caps{}; in GetAllAvailableEvents() local
621 jvmti->GetPotentialCapabilities(&caps); in GetAllAvailableEvents()
622 uint8_t caps_bytes[sizeof(caps)]; in GetAllAvailableEvents()
623 memcpy(caps_bytes, &caps, sizeof(caps)); in GetAllAvailableEvents()
630 for (size_t i = 0; i < sizeof(caps); i++) { in GetAllAvailableEvents()
689 jvmtiCapabilities caps{}; in AgentStart() local
691 AddCapsForEvent(e, &caps); in AgentStart()
694 caps.can_get_line_numbers = 1; in AgentStart()
695 caps.can_get_source_file_name = 1; in AgentStart()
696 caps.can_get_source_debug_extension = 1; in AgentStart()
698 error = jvmti->AddCapabilities(&caps); in AgentStart()