Home
last modified time | relevance | path

Searched refs:handlers (Results 1 – 19 of 19) sorted by relevance

/art/tools/dexfuzz/src/dexfuzz/rawdex/
DEncodedCatchHandler.java23 public EncodedTypeAddrPair[] handlers; field in EncodedCatchHandler
31 handlers = new EncodedTypeAddrPair[absoluteSize]; in read()
33 (handlers[i] = new EncodedTypeAddrPair()).read(file); in read()
44 if (handlers != null) { in write()
45 for (EncodedTypeAddrPair encodedTypeAddrPair : handlers) { in write()
56 if (handlers != null) { in incrementIndex()
57 for (EncodedTypeAddrPair handler : handlers) { in incrementIndex()
DCodeItem.java35 public EncodedCatchHandlerList handlers; field in CodeItem
67 (handlers = new EncodedCatchHandlerList()).read(file); in read()
112 handlers.write(file); in write()
130 handlers.incrementIndex(kind, insertedIdx); in incrementIndex()
/art/test/305-other-fault-handler/
Dinfo.txt1 Test that we correctly handle basic non-generated-code fault handlers
3 Tests that we can use and remove these handlers and they can change mappings.
/art/tools/dexfuzz/src/dexfuzz/program/mutators/
DTryBlockShifter.java111 if (tryBlock.handlers.isEmpty()) { in generateMutation()
121 shiftingHandlerIdx = rng.nextInt(tryBlock.handlers.size()); in generateMutation()
135 oldInsn = tryBlock.handlers.get(shiftingHandlerIdx); in generateMutation()
202 tryBlock.handlers.set(mutation.shiftingHandlerIdx, newInsn); in applyMutation()
/art/tools/dexfuzz/src/dexfuzz/program/
DMTryBlock.java27 public List<MInsn> handlers; field in MTryBlock
DCodeTranslator.java286 EncodedCatchHandler encodedCatchHandler = codeItem.handlers.list[handlerIdx]; in readTryBlocks()
300 mTryBlock.handlers = new LinkedList<MInsn>(); in readTryBlocks()
304 EncodedTypeAddrPair handler = encodedCatchHandler.handlers[i]; in readTryBlocks()
312 mTryBlock.handlers.add(handlerInsn); in readTryBlocks()
372 codeItem.handlers.list[offsetIndexMap.get(tryItem.handlerOff)]; in updateTryBlocks()
378 MInsn handlerInsn = mTryBlock.handlers.get(i); in updateTryBlocks()
379 EncodedTypeAddrPair handler = encodedCatchHandler.handlers[i]; in updateTryBlocks()
DMutatableCode.java207 for (MInsn handler : mTryBlock.handlers) { in updateTryBlocksWithReplacementInsn()
219 mTryBlock.handlers.set(idxToChange, after); in updateTryBlocksWithReplacementInsn()
224 mTryBlock.handlers.set(idxToChange, before); in updateTryBlocksWithReplacementInsn()
/art/tools/class2greylist/src/com/android/class2greylist/
DAnnotationVisitor.java49 Map<String, AnnotationHandler> handlers) { in AnnotationVisitor() argument
52 mAnnotationHandlers = handlers; in AnnotationVisitor()
DClass2Greylist.java226 Map<String, AnnotationHandler> handlers = createAnnotationHandlers(); in main() local
231 reader.stream().forEach(clazz -> new AnnotationVisitor(clazz, mStatus, handlers) in main()
/art/test/995-breakpoints-throw/src/art/
DTest995.java96 BreakpointHandler[] handlers = new BreakpointHandler[] {
115 for (BreakpointHandler handler : handlers) {
/art/test/1928-exception-event-exception/src/art/
DTest1928.java178 ExceptionHandler[] handlers = new ExceptionHandler[] { in run() local
190 for (ExceptionHandler handler : handlers) { in run()
/art/tools/jvmti-agents/ti-fast/
DREADME.md4 to various JVMTI events. It is called tifast since none of the event handlers do
22 * If 'log' is the first argument the event handlers will LOG(INFO) when they are
/art/test/1929-exception-catch-exception/src/art/
DTest1929.java273 ExceptionHandler[] handlers = new ExceptionHandler[] { in run() local
289 for (ExceptionHandler handler : handlers) { in run()
/art/openjdkjvmti/
Devents-inl.h196 std::vector<impl::EventHandlerFunc<kEvent>> handlers; in CollectEvents() local
200 handlers.push_back(h); in CollectEvents()
203 return handlers; in CollectEvents()
226 std::vector<impl::EventHandlerFunc<kEvent>> handlers = in DispatchClassFileLoadHookEvent() local
238 for (const impl::EventHandlerFunc<kEvent>& event : handlers) { in DispatchClassFileLoadHookEvent()
/art/compiler/optimizing/
Dgraph_checker.cc315 ArrayRef<HBasicBlock* const> handlers = try_boundary->GetExceptionHandlers(); in VisitTryBoundary() local
320 for (HBasicBlock* handler : handlers) { in VisitTryBoundary()
332 for (size_t i = 0, e = handlers.size(); i < e; ++i) { in VisitTryBoundary()
333 if (ContainsElement(handlers, handlers[i], i + 1)) { in VisitTryBoundary()
335 handlers[i]->GetBlockId(), in VisitTryBoundary()
/art/dexlayout/
Ddex_writer.cc553 for (std::unique_ptr<const dex_ir::CatchHandler>& handlers : *code_item->Handlers()) { in WriteCodeItemPostInstructionData()
554 stream->Seek(offset + handlers->GetListOffset()); in WriteCodeItemPostInstructionData()
555 uint32_t size = handlers->HasCatchAll() ? (handlers->GetHandlers()->size() - 1) * -1 : in WriteCodeItemPostInstructionData()
556 handlers->GetHandlers()->size(); in WriteCodeItemPostInstructionData()
558 for (std::unique_ptr<const dex_ir::TypeAddrPair>& handler : *handlers->GetHandlers()) { in WriteCodeItemPostInstructionData()
Ddex_ir_builder.cc835 const CatchHandler* handlers = nullptr; in DedupeOrCreateCodeItem() local
838 handlers = existing_handlers.get(); in DedupeOrCreateCodeItem()
842 if (handlers == nullptr) { in DedupeOrCreateCodeItem()
852 handlers = new CatchHandler(catch_all, handler_off, addr_pairs); in DedupeOrCreateCodeItem()
853 handler_list->push_back(std::unique_ptr<const CatchHandler>(handlers)); in DedupeOrCreateCodeItem()
855 TryItem* try_item = new TryItem(start_addr, insn_count, handlers); in DedupeOrCreateCodeItem()
Ddex_ir.h972 explicit CatchHandler(bool catch_all, uint16_t list_offset, TypeAddrPairVector* handlers) in CatchHandler() argument
973 : catch_all_(catch_all), list_offset_(list_offset), handlers_(handlers) { } in CatchHandler()
991 TryItem(uint32_t start_addr, uint16_t insn_count, const CatchHandler* handlers) in TryItem() argument
992 : start_addr_(start_addr), insn_count_(insn_count), handlers_(handlers) { } in TryItem()
1045 CatchHandlerVector* handlers) in CodeItem() argument
1053 handlers_(handlers) { } in CodeItem()
/art/test/510-checker-try-catch/smali/
DBuilder.smali19 # Basic test case with two try blocks and three catch handlers, one of which