/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
IdItem.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 reference to an item inside a Dalvik file. 47 public void addContents(DexFile file) { 48 TypeIdsSection typeIds = file.getTypeIds();
|
HeaderItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 26 * File header section of a {@code .dex} file. 50 public void addContents(DexFile file) { 56 public void writeTo(DexFile file, AnnotatedOutput out) { 57 int mapOff = file.getMap().getFileOffset(); 58 Section firstDataSection = file.getFirstDataSection(); 59 Section lastDataSection = file.getLastDataSection(); 64 String magic = file.getDexOptions().getMagic() [all...] |
UniformItemSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 25 * A section of a {@code .dex} file which consists of a sequence of 31 * Constructs an instance. The file offset is initially unknown. 35 * @param file {@code non-null;} file that this instance is part of 39 public UniformItemSection(String name, DexFile file, int alignment) { 40 super(name, file, alignment); 71 DexFile file = getFile(); local 76 one.addContents(file); 83 DexFile file = getFile(); local [all...] |
/external/doclava/src/com/google/doclava/apicheck/ |
ApiParseException.java | 5 * you may not use this file except in compliance with the License. 20 public String file; field in class:ApiParseException
|
/external/icu4c/test/intltest/ |
textfile.h | 18 * This class implements access to a text data file located in the 24 * Open a file with the given name, in the given encoding, in the 34 * this file's encoding to Unicode. The EOL character(s) are not 60 FileStream* file; member in class:TextFile
|
/external/icu4c/tools/gentest/ |
genres32.c | 8 * file name: genres32.c 53 char file[512]; local 54 FILE *out; 56 uprv_strcpy(file,path); 57 if(file[strlen(file)-1]!=U_FILE_SEP_CHAR) { 58 uprv_strcat(file,U_FILE_SEP_STRING); 60 uprv_strcat(file,"testtable32.txt"); 61 out = fopen(file, "w"); 62 /*puts(file);*/ [all...] |
/external/libmtp/examples/ |
emptyfolders.c | 2 * \file emptyfolders.c 31 // therefore, check every file for this parent_id 33 LIBMTP_file_t *file; local 34 file = files; 35 while (file != NULL) { 36 if(file->parent_id == folderlist->folder_id) { // folder has a child 40 file = file->next; 93 // Get file listing.
|
files.c | 2 * \file files.c 26 static void dump_fileinfo(LIBMTP_file_t *file) 28 printf("File ID: %u\n", file->item_id); 29 if (file->filename != NULL) 30 printf(" Filename: %s\n", file->filename); 33 if (file->filesize == (uint32_t) -1) { 34 printf(" None. (abstract file, size = -1)\n"); 37 printf(" File size %llu (0x%016I64X) bytes\n", file->filesize, file->filesize) 105 LIBMTP_file_t *file, *tmp; local [all...] |
/external/linux-tools-perf/scripts/perl/Perf-Trace-Util/ |
Context.c | 2 * This file was generated automatically by ExtUtils::ParseXS version 2.18_02 from the 3 * contents of Context.xs. Do not edit this file, edit Context.xs instead. 122 const char* file = __FILE__; local 128 newXSproto("Perf::Trace::Context::common_pc", XS_Perf__Trace__Context_common_pc, file, "$"); 129 newXSproto("Perf::Trace::Context::common_flags", XS_Perf__Trace__Context_common_flags, file, "$"); 130 newXSproto("Perf::Trace::Context::common_lock_depth", XS_Perf__Trace__Context_common_lock_depth, file, "$");
|
/external/llvm/utils/ |
clang-parse-diagnostics-file | 67 file = file_diags.get('main-file') variable 69 # Ignore diagnostics for 'conftest.c', which is the file autoconf uses 71 if os.path.basename(file) == 'conftest.c': 79 to_report.append((file, selected_diags)) 88 for file,selected_diags in to_report: 89 print "*** %s ***" % file
|
/external/lzma/C/ |
7zFile.h | 1 /* 7zFile.h -- File IO
21 /* ---------- File ---------- */
28 FILE *file;
43 /* reads max(*size, remain file's size) bytes */
58 CSzFile file;
member in struct:__anon22567 67 CSzFile file;
member in struct:__anon22568 76 CSzFile file;
member in struct:__anon22569
|
/external/lzma/CPP/Common/ |
ListFileUtils.cpp | 22 NWindows::NFile::NIO::CInFile file;
local 23 if (!file.Open(fileName))
26 if (!file.GetLength(length))
33 if (!file.Read(p, (UInt32)length, processed))
37 file.Close();
|
/system/extras/tests/bionic/libstdc++/ |
test_cstdio.cpp | 31 #error "Wrong header file included!!" 156 volatile std::FILE file; local
|
/system/extras/tests/cpueater/ |
daemonize.c | 5 * you may not use this file except in compliance with the License. 36 char *file = 0; local 53 file = *argv; 55 file = *++argv; 71 if (file) { 72 if(open(file, O_WRONLY|mode|O_CREAT, 0666) < 0) { 73 perror(file);
|
/dalvik/dx/src/com/android/dx/dex/file/ |
HeaderItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 26 * File header section of a {@code .dex} file. 50 public void addContents(DexFile file) { 56 public void writeTo(DexFile file, AnnotatedOutput out) { 57 int mapOff = file.getMap().getFileOffset(); 58 Section firstDataSection = file.getFirstDataSection(); 59 Section lastDataSection = file.getLastDataSection(); 64 String magic = file.getDexOptions().getMagic() [all...] |
UniformItemSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 24 * A section of a {@code .dex} file which consists of a sequence of 30 * Constructs an instance. The file offset is initially unknown. 34 * @param file {@code non-null;} file that this instance is part of 38 public UniformItemSection(String name, DexFile file, int alignment) { 39 super(name, file, alignment); 70 DexFile file = getFile(); local 75 one.addContents(file); 82 DexFile file = getFile(); local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/ |
RSSFeedGetPropertyTask.java | 13 import java.io.File; 25 * file - path to the XML file that will be read - eg., /path/to/file.to.read.xml 36 private File file; field in class:RSSFeedGetPropertyTask 44 public void setFile(String file) { 45 if (isNullString(file)) 48 { this.file = new File(file); } [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityMediumTests.java | 5 * you may not use this file except in compliance with the License. 33 import java.io.File; 116 // Generate a file name in our data directory, and use that for contentUri 117 File file = mMockContext.getFileStreamPath("test.att"); local 118 // Delete the file if it already exists 119 if (file.exists()) { 120 assertTrue(file.delete()); 122 // Should return false, because the file doesn't exist 125 assertTrue(file.createNewFile()) [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetFileDescriptor_AutoCloseOutputStreamTest.java | 5 * you may not use this file except in compliance with the License. 18 import java.io.File; 52 * 1. Write file data into test file. 55 File file = new File(getContext().getFilesDir(), FILE_NAME); local 56 file.createNewFile(); 57 ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, 69 fd = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE) [all...] |
/cts/tools/signature-tools/src/signature/io/impl/ |
BinaryApi.java | 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
35 File directory = new File(fileName);
40 File file = new File(directory, getFileName(api));
local 41 file.createNewFile();
44 file));
63 "Only one file can be processed by the binary signature " + 67 File file = new File(fileName); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
HeaderItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 24 * File header section of a {@code .dex} file. 28 * {@code non-null;} the file format magic number, represented as the 60 public void addContents(DexFile file) { 66 public void writeTo(DexFile file, AnnotatedOutput out) { 67 int mapOff = file.getMap().getFileOffset(); 68 Section firstDataSection = file.getFirstDataSection(); 69 Section lastDataSection = file.getLastDataSection() [all...] |
UniformItemSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 25 * A section of a {@code .dex} file which consists of a sequence of 31 * Constructs an instance. The file offset is initially unknown. 35 * @param file {@code non-null;} file that this instance is part of 39 public UniformItemSection(String name, DexFile file, int alignment) { 40 super(name, file, alignment); 71 DexFile file = getFile(); local 76 one.addContents(file); 83 DexFile file = getFile(); local [all...] |
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
TestFileUtil.java | 3 // found in the LICENSE file. 7 import java.io.File; 24 File file = new File(name); local 25 if (!file.createNewFile()) { 26 throw new IOException("File \"" + name + "\" already exists"); 31 writer = new OutputStreamWriter(new FileOutputStream(file), "UTF-8"); 46 File file = new File(name) local [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureLibraries.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 36 return fromFile(new File(path)); 39 public static GestureLibrary fromFile(File path) { 52 private final File mPath; 54 public FileGestureLibrary(File path) { 66 final File file = mPath; 68 final File parentFile = file.getParentFile() 92 final File file = mPath; local [all...] |
/libcore/benchmarks/src/benchmarks/ |
BufferedZipFileBenchmark.java | 5 * you may not use this file except in compliance with the License. 22 import java.io.File; 34 private File file; field in class:BufferedZipFileBenchmark 37 file = File.createTempFile(getClass().getName(), ".zip"); 38 file.deleteOnExit(); 41 ZipOutputStream out = new ZipOutputStream(new FileOutputStream(file)); 56 ZipFile zipFile = new ZipFile(file); 69 ZipFile zipFile = new ZipFile(file); [all...] |