Lines Matching refs:dex
85 using namespace dex;
226 std::pair<dex::u1*, size_t> maybeTransform(const char* name, size_t classDataLen, in maybeTransform()
227 const unsigned char* classData, dex::Writer::Allocator* allocator) { in maybeTransform()
230 dex::Reader reader(classData, classDataLen); in maybeTransform()
232 dex::u4 index = reader.FindClassIndex(classNameToDescriptor(name).c_str()); in maybeTransform()
245 dex::Writer writer(ir); in maybeTransform()
246 dex::u1* newClassData = writer.CreateImage(allocator, &new_size); in maybeTransform()
274 class JvmtiAllocator: public dex::Writer::Allocator { in transformHook()
294 std::pair<dex::u1*, size_t> result = maybeTransform(name, classDataLen, classData, in transformHook()
510 class NewDeleteAllocator: public dex::Writer::Allocator { in locktest_main()
525 std::pair<dex::u1*, size_t> result = maybeTransform(argv[2], statBuf.st_size, in locktest_main()