Home
last modified time | relevance | path

Searched refs:file (Results 76 – 100 of 645) sorted by relevance

12345678910>>...26

/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/
DFormat22t.java26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument
27 file.writeByte((byte) insn.info.value); in writeToFile()
28 file.writeByte((byte) (insn.vregA | (insn.vregB << 4))); in writeToFile()
29 file.writeUShort((short) insn.vregC); in writeToFile()
DFormat22s.java26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument
27 file.writeByte((byte) insn.info.value); in writeToFile()
28 file.writeByte((byte) (insn.vregA | (insn.vregB << 4))); in writeToFile()
29 file.writeUShort((short) insn.vregC); in writeToFile()
DFormat31c.java27 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument
28 file.writeByte((byte) insn.info.value); in writeToFile()
29 file.writeByte((byte) insn.vregA); in writeToFile()
30 file.writeUInt((int) insn.vregB); in writeToFile()
DFormat10x.java26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument
27 file.writeByte((byte) insn.info.value); in writeToFile()
28 file.writeByte((byte) 0); // padding in writeToFile()
DFormat11x.java26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument
27 file.writeByte((byte) insn.info.value); in writeToFile()
28 file.writeByte((byte) insn.vregA); in writeToFile()
DFormat21c.java28 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument
29 file.writeByte((byte) insn.info.value); in writeToFile()
30 file.writeByte((byte) insn.vregA); in writeToFile()
31 file.writeUShort((short) insn.vregB); in writeToFile()
DFormat22c.java28 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument
29 file.writeByte((byte) insn.info.value); in writeToFile()
30 file.writeByte((byte) (insn.vregA | (insn.vregB << 4))); in writeToFile()
31 file.writeUShort((short) insn.vregC); in writeToFile()
DFormat12x.java26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument
27 file.writeByte((byte) insn.info.value); in writeToFile()
28 file.writeByte((byte) (insn.vregA | (insn.vregB << 4))); in writeToFile()
DFormat10t.java26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { in writeToFile() argument
27 file.writeByte((byte) insn.info.value); in writeToFile()
28 file.writeByte((byte) insn.vregA); in writeToFile()
/art/test/151-OpenFileLimit/src/
DMain.java17 import static java.nio.file.StandardOpenOption.*;
18 import java.nio.file.*;
33 File file = createTempFile(); in main() local
34 files.add(file); in main()
35 streams.add(Files.newOutputStream(file.toPath(), CREATE, APPEND)); in main()
/art/libelffile/stream/
Dfile_output_stream.cc26 FileOutputStream::FileOutputStream(File* file) : OutputStream(file->GetPath()), file_(file) {} in FileOutputStream() argument
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DOffsetTracker.java127 public void getNewOffsettable(DexRandomAccessFile file, RawDexObject item) throws IOException { in getNewOffsettable() argument
129 offsettable.setOriginalPosition((int) file.getFilePointer()); in getNewOffsettable()
184 public void updatePositionOfNextOffsettable(DexRandomAccessFile file) throws IOException { in updatePositionOfNextOffsettable() argument
190 offsettable.setNewPosition((int) file.getFilePointer()); in updatePositionOfNextOffsettable()
204 public void tryToWriteOffset(Offset offset, DexRandomAccessFile file, boolean useUleb128) in tryToWriteOffset() argument
208 file.writeUleb128(0); in tryToWriteOffset()
210 file.writeUInt(0); in tryToWriteOffset()
217 file.writeUleb128(offset.getNewPositionOfItem()); in tryToWriteOffset()
219 file.writeUInt(offset.getNewPositionOfItem()); in tryToWriteOffset()
222 offset.setOutputLocation((int) file.getFilePointer()); in tryToWriteOffset()
[all …]
/art/runtime/
Delf_file.h43 static ElfFile* Open(File* file,
50 static ElfFile* Open(File* file,
57 bool Load(File* file,
87 static bool Strip(File* file, std::string* error_msg);
91 static bool Fixup(File* file, uint64_t oat_data_begin);
/art/dex2oat/linker/
Delf_writer.cc33 void ElfWriter::GetOatElfInformation(File* file, in GetOatElfInformation() argument
37 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, in GetOatElfInformation()
51 bool ElfWriter::Fixup(File* file, uintptr_t oat_data_begin) { in Fixup() argument
53 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, /*low_4gb*/false, &error_msg)); in Fixup()
/art/tools/veridex/
Dappcompat.sh65 file="${OUT}/soong/hiddenapi/hiddenapi-flags.csv"
66 if [ ! -f $file ]; then
67 echo "Missing API flags file $file"
70 extra_flags="--api-flags=$file"
/art/dt_fd_forward/
DNOTICE4 This file implements interfaces from the file jdwpTransport.h. This
5 implementation is licensed under the same terms as the file
6 jdwpTransport.h. The copyright and license information for the file
15 particular file as subject to the "Classpath" exception as provided
16 by Oracle in the LICENSE file that accompanied this code.
21 version 2 for more details (a copy is included in the LICENSE file that
/art/openjdkjvmti/
DNOTICE4 This file implements interfaces from the file jvmti.h. This implementation
5 is licensed under the same terms as the file jvmti.h. The
6 copyright and license information for the file jvmti.h follows.
14 particular file as subject to the "Classpath" exception as provided
15 by Oracle in the LICENSE file that accompanied this code.
20 version 2 for more details (a copy is included in the LICENSE file that
/art/test/1949-short-dex-file/
Dinfo.txt6 The transformed dex file is specifically crafted to have exactly 4 methodIDs in
13 In the transformed version of the dex file there is a new method. The new list of methodIDs is:
20 This test tries to get the JIT to read out-of-bounds on the initial dex file by getting it to
21 read the 5th method id of the new file (Lxyz/Transform;->foo()V) from the old dex file (which
26 JIT will read an incorrect (but valid) method-id from the old-dex file. This is why the error
30 method-type the jit uses dex-file information to keep track of.
/art/openjdkjvm/
DNOTICE4 This file implements interfaces from the file jvm.h. This implementation
5 is licensed under the same terms as the file jvm.h. The
6 copyright and license information for the file jvm.h follows.
14 particular file as subject to the "Classpath" exception as provided
15 by Oracle in the LICENSE file that accompanied this code.
20 version 2 for more details (a copy is included in the LICENSE file that
/art/tools/jvmti-agents/chain-agents/
DREADME.md3 The chainagents agent is a JVMTI agent that chain loads other agents from a file found at a
7 It will open the file `chain_agents.txt` from the directory passed in as an argument and read it
8 line-by-line loading the agents (with the arguments) listed in the file.
26 ### chain_agents.txt file format.
28 The chain-agents file is a list of agent files and arguments to load in the same format as the
31 #### Example chain_agents.txt file
/art/tools/jvmti-agents/wrapagentproperties/
DREADME.md15 …agentpath:$ANDROID_HOST_OUT/lib64/libwrapagentproperties.so=/path/to/prop.file,/path/to/agent=agen…
20 ### prop file format.
22 The property file is a text file containing the values of java properties you
26 #### Example prop file
/art/tools/ahat/src/test-dump/
DMain.java34 String file = args[0]; in main() local
55 System.err.println("Dumping hprof data to " + file); in main()
56 VMDebug.dumpHprofData(file); in main()
/art/libartbase/base/
Dmemfd.cc87 FILE* file = tmpfile(); in memfd_create_compat() local
88 if (file != nullptr) { in memfd_create_compat()
92 int nfd = fcntl(fileno(file), F_DUPFD, /*lowest allowed fd*/ 0); in memfd_create_compat()
93 fclose(file); in memfd_create_compat()
Dzip_archive_test.cc45 std::unique_ptr<File> file(new File(DupCloexec(tmp.GetFd()), tmp.GetFilename(), false)); in TEST_F() local
46 ASSERT_TRUE(file.get() != nullptr); in TEST_F()
47 bool success = zip_entry->ExtractToFile(*file, &error_msg); in TEST_F()
50 file.reset(nullptr); in TEST_F()
/art/compiler/utils/
Dassembler_test_base.h182 std::unique_ptr<File> file(OS::OpenFileForReading(filename.c_str())); in ReadFile()
183 CHECK(file.get() != nullptr); in ReadFile()
184 std::vector<uint8_t> data(file->GetLength()); in ReadFile()
185 bool success = file->ReadFully(&data[0], data.size()); in ReadFile()
191 std::unique_ptr<File> file(OS::CreateEmptyFile(filename.c_str())); in WriteFile()
192 CHECK(file.get() != nullptr); in WriteFile()
193 bool success = file->WriteFully(data, size); in WriteFile()
195 CHECK_EQ(file->FlushClose(), 0); in WriteFile()
213 std::unique_ptr<File> file(OS::CreateEmptyFile(filename.c_str())); in WriteElf()
214 CHECK(file.get() != nullptr); in WriteElf()
[all …]

12345678910>>...26