/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);
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
MmsFileProvider.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 76 File file = new File(getContext().getCacheDir(), uri.getPath()); local 81 return ParcelFileDescriptor.open(file, mode);
|
/external/bison/src/ |
location.h | 5 This file is part of Bison, the GNU Compiler Compiler. 28 /* The name of the file that contains the boundary. */ 29 uniqstr file; member in struct:__anon5002 53 b->file = f; 63 int res = strcmp (a.file, b.file); 77 && UNIQSTR_EQ (a.file, b.file)); 101 /* Print location to file. Return number of actually printed 103 unsigned location_print (FILE *out, location loc) [all...] |
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
ArchiveTest.java | 3 // found in the LICENSE file. 17 import java.io.File; 42 File file = new File(path); local 43 if (file.exists()) 44 assertTrue(file.delete()); 45 assertFalse(file.exists()); 76 File file = new File(expectedPath) local [all...] |
/external/chromium_org/base/third_party/xdg_user_dirs/ |
xdg_user_dir_lookup.cc | 2 This file is not licenced under the GPL like the rest of the code. 51 FILE *file; local 84 file = fopen (config_file, "r"); 86 if (file == NULL) 90 while (fgets (buffer, sizeof (buffer), file)) 162 fclose (file);
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_task_executor_unittest.cc | 3 // found in the LICENSE file. 51 scoped_ptr<google_apis::FileResource> file; local 59 google_apis::test_util::CreateCopyResultCallback(&result, &file)); 66 scoped_ptr<google_apis::FileResource> file; local 74 google_apis::test_util::CreateCopyResultCallback(&result, &file));
|
/external/chromium_org/chrome/browser/media/ |
webrtc_log_util_unittest.cc | 3 // found in the LICENSE file. 20 : file_thread_(content::BrowserThread::FILE, &message_loop_) {} 28 base::FilePath file; local 29 ASSERT_TRUE(CreateTemporaryFileInDir(dir_.path(), &file)); 30 ASSERT_TRUE(CreateTemporaryFileInDir(dir_.path(), &file)); 34 TouchFile(file, time_expect_to_keep, time_expect_to_keep); 35 ASSERT_TRUE(CreateTemporaryFileInDir(dir_.path(), &file)); 39 TouchFile(file, time_expect_to_delete, time_expect_to_delete);
|