HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 76 - 100 of 1907) sorted by null

1 2 34 5 6 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/io/
RandomAccessFileTest.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
28 private File file; field in class:RandomAccessFileTest
31 file = File.createTempFile("RandomAccessFileTest", "tmp");
35 file.delete();
39 RandomAccessFile raf = new RandomAccessFile(file, "rw");
48 RandomAccessFile raf = new RandomAccessFile(file, "rw");
57 RandomAccessFile raf = new RandomAccessFile(file, "rw")
70 File file = File.createTempFile("RandomAccessFileTest", "tmp"); local
    [all...]
  /libcore/luni/src/test/java/libcore/xml/
DeclarationTest.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
61 File file = File.createTempFile("temp", "xml"); local
62 file.deleteOnExit();
63 OutputStream out = new FileOutputStream(file);
66 return "file:" + file;
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DumpFileProvider.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
73 /** @return file content */
82 final File file = DataExporter.getOutputFile(getContext(), fileName); local
83 return ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY);
107 // Just return the requested path as the display name. We don't care if the file
111 final File file = DataExporter.getOutputFile(getContext(), fileName); local
113 if (file.exists())
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/model/
GLTrace.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
34 /** GLTrace is the in memory model of a OpenGL trace file. */
38 /** Information regarding the trace file. */
88 RandomAccessFile file; local
90 file = new RandomAccessFile(mTraceFileInfo.getPath(), "r"); //$NON-NLS-1$
97 m = sTraceFileReader.getMessageAtOffset(file, c.getOffsetInTraceFile());
102 file.close();
104 // ignore exception while closing file
112 File f = new File(mTraceFileInfo.getPath())
    [all...]
  /art/runtime/base/unix_file/
mapped_file_test.cc 5 * you may not use this file except in compliance with the License.
35 good_path_ = GetTmpPath("some-file.txt");
57 MappedFile file; local
58 EXPECT_EQ(-1, file.Fd());
59 EXPECT_FALSE(file.IsOpened());
60 EXPECT_FALSE(file.IsMapped());
64 MappedFile file; local
65 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode));
66 EXPECT_GE(file.Fd(), 0);
67 EXPECT_TRUE(file.IsOpened())
84 MappedFile file; local
96 MappedFile file; local
112 MappedFile file; local
131 MappedFile file; local
137 MappedFile file; local
143 MappedFile file; local
150 MappedFile file; local
178 MappedFile file; local
185 MappedFile file; local
193 MappedFile file; local
    [all...]
  /build/core/combo/
HOST_windows-x86.mk 5 # you may not use this file except in compliance with the License.
73 # $(1): The file to check
75 define get-file-size
  /cts/tools/cfassembler/src/dxconvext/util/
FileUtils.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
24 * File I/O utilities.
35 * Reads the named file, translating {@link IOException} to a
38 * @param fileName non-null; name of the file to read
39 * @return non-null; contents of the file
42 File file = new File(fileName); local
43 return readFile(file);
    [all...]
  /cts/tools/dex-tools/src/dex/reader/
TypeFormatter.java 5 * you may not use this file except in compliance with the License.
105 public String formatDexFile(DexFile file) {
108 builder.append("Filename: ").append(file.getName());
110 for (DexClass dexClass : file.getDefinedClasses()) {
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
AnnotationSetRefItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
57 public void addContents(DexFile file) {
58 MixedItemSection wordData = file.getWordData();
71 protected void writeTo0(DexFile file, AnnotatedOutput out) {
EncodedMember.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
69 * @param file {@code non-null;} the file to populate
71 public abstract void addContents(DexFile file);
76 * @param file {@code non-null;} file this instance is part of
84 public abstract int encode(DexFile file, AnnotatedOutput out,
FieldIdItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
22 * Representation of a field reference inside a Dalvik file.
42 public void addContents(DexFile file) {
43 super.addContents(file);
45 TypeIdsSection typeIds = file.getTypeIds();
60 protected int getTypoidIdx(DexFile file) {
61 TypeIdsSection typeIds = file.getTypeIds();
HeaderSection.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
26 * File header section of a {@code .dex} file.
33 * Constructs an instance. The file offset is initially unknown.
35 * @param file {@code non-null;} file that this instance is part of
37 public HeaderSection(DexFile file) {
38 super(null, file, 4);
IndexedItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
20 * An item in a Dalvik file which is referenced by index.
Item.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
23 * repeated piece of a Dalvik file.
59 * This will <i>not</i> add an item to the file for this instance itself
65 * @param file {@code non-null;} the file to populate
67 public abstract void addContents(DexFile file);
76 * @param file {@code non-null;} the file to use for reference
79 public abstract void writeTo(DexFile file, AnnotatedOutput out)
    [all...]
MethodIdItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
22 * Representation of a method reference inside a Dalvik file.
42 public void addContents(DexFile file) {
43 super.addContents(file);
45 ProtoIdsSection protoIds = file.getProtoIds();
60 protected int getTypoidIdx(DexFile file) {
61 ProtoIdsSection protoIds = file.getProtoIds();
TypeIdItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
25 * Representation of a type reference inside a Dalvik file.
28 /** size of instances when written out to a file, in bytes */
54 public void addContents(DexFile file) {
55 file.getStringIds().intern(getDefiningClass().getDescriptor());
60 public void writeTo(DexFile file, AnnotatedOutput out) {
63 int idx = file.getStringIds().indexOf(descriptor);
  /dalvik/dexgen/src/com/android/dexgen/util/
FileUtils.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
24 * File I/O utilities.
35 * Reads the named file, translating {@link IOException} to a
38 * @param fileName {@code non-null;} name of the file to read
39 * @return {@code non-null;} contents of the file
42 File file = new File(fileName); local
43 return readFile(file);
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
AnnotationSetRefItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
57 public void addContents(DexFile file) {
58 MixedItemSection wordData = file.getWordData();
71 protected void writeTo0(DexFile file, AnnotatedOutput out) {
EncodedMember.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
68 * @param file {@code non-null;} the file to populate
70 public abstract void addContents(DexFile file);
75 * @param file {@code non-null;} file this instance is part of
83 public abstract int encode(DexFile file, AnnotatedOutput out,
FieldIdItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
22 * Representation of a field reference inside a Dalvik file.
42 public void addContents(DexFile file) {
43 super.addContents(file);
45 TypeIdsSection typeIds = file.getTypeIds();
60 protected int getTypoidIdx(DexFile file) {
61 TypeIdsSection typeIds = file.getTypeIds();
HeaderSection.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
25 * File header section of a {@code .dex} file.
32 * Constructs an instance. The file offset is initially unknown.
34 * @param file {@code non-null;} file that this instance is part of
36 public HeaderSection(DexFile file) {
37 super(null, file, 4);
IndexedItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
20 * An item in a Dalvik file which is referenced by index.
Item.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
23 * repeated piece of a Dalvik file.
59 * This will <i>not</i> add an item to the file for this instance itself
65 * @param file {@code non-null;} the file to populate
67 public abstract void addContents(DexFile file);
76 * @param file {@code non-null;} the file to use for reference
79 public abstract void writeTo(DexFile file, AnnotatedOutput out)
    [all...]
MethodIdItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
22 * Representation of a method reference inside a Dalvik file.
42 public void addContents(DexFile file) {
43 super.addContents(file);
45 ProtoIdsSection protoIds = file.getProtoIds();
60 protected int getTypoidIdx(DexFile file) {
61 ProtoIdsSection protoIds = file.getProtoIds();
TypeIdItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
26 * Representation of a type reference inside a Dalvik file.
52 public void addContents(DexFile file) {
53 file.getStringIds().intern(getDefiningClass().getDescriptor());
58 public void writeTo(DexFile file, AnnotatedOutput out) {
61 int idx = file.getStringIds().indexOf(descriptor);

Completed in 338 milliseconds

1 2 34 5 6 7 8 91011>>