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

<<11121314151617181920>>

  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
posixfile.py 1 """Extended file operations available in POSIX.
7 will create a posixfile object from a builtin file object
9 f.file()
10 will return the original builtin file object
13 will return a new file object based on a new filedescriptor
16 will return a new file object based on the given filedescriptor
60 """File wrapper class that provides extra POSIX file routines."""
68 file = self._file_
70 (self.states[file.closed], file.name, file.mode,
96 def file(self): member in class:_posixfile_
    [all...]
shlex.py 75 print 'shlex: pushing to file %s' % (self.infile,)
131 self.token = '' # past end of file
135 self.state = None # end of file
168 if not nextchar: # end of file
187 if not nextchar: # end of file
201 self.state = None # end of file
285 file = sys.argv[1] variable
286 lexer = shlex(open(file), file)
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
BinaryXMLMultiPageEditorPart.java 5 * you may not use this file except in compliance with the License.
30 import java.io.File;
33 * The XML editor is an editor that open Android xml files from the android.jar file
35 * The editor checks if the file is contained in jar and is so,
37 * corresponding file from Android SDK.
67 File file = new File(filePath.toOSString()); local
68 if (!(file.isFile())) {
74 new FileStorage(file));
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/
ExportEditor.java 5 * you may not use this file except in compliance with the License.
52 * single source file.
83 IFile file = fileInput.getFile(); local
84 setPartName(String.format("%1$s", file.getName()));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ShowWithinMenu.java 32 IFile file = graphicalEditor.getEditedFile(); local
34 IProject project = file.getProject();
36 final List<Reference> includedBy = finder.getIncludedBy(file);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/
OverviewExportPart.java 5 * you may not use this file except in compliance with the License.
111 * Returns the project of the edited file.
117 IFile file = fileInput.getFile(); local
118 return file.getProject();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/
ValuesTreePage.java 5 * you may not use this file except in compliance with the License.
56 IFile file = mEditor.getInputFile(); local
57 if (file != null) {
58 IContainer parent = file.getParent();
105 "List of all resources elements in this XML file.");
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
ExtractStringFix.java 5 * you may not use this file except in compliance with the License.
65 IFile file = (IFile) mMarker.getResource(); local
69 new ExtractStringRefactoring(file, editorPart, selection);
70 RefactoringWizard wizard = new ExtractStringWizard(refactoring, file.getProject());
UseCompoundDrawableDetectorFix.java 5 * you may not use this file except in compliance with the License.
79 IFile file = (IFile) mMarker.getResource(); local
83 new UseCompoundDrawableRefactoring(file, delegate, textSelection, null);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
FinalPage.java 5 * you may not use this file except in compliance with the License.
29 import java.io.File;
79 Multimap<FileStatus, File> fileStatusMap = mStatus.getFileStatus();
80 Collection<File> files = fileStatusMap.values();
83 for (File file : files) {
84 sb.append("\n").append(file.getAbsolutePath());
100 sb.append("and select the following file:").append("\n\t");
102 File bGradle = new File(
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
ImportProjectWizard.java 5 * you may not use this file except in compliance with the License.
32 import java.io.File;
74 File file = new File(AdtPlugin.getOsSdkFolder(), OS_SDK_TOOLS_LIB_FOLDER + File.separator local
76 if (!file.exists()) {
80 + "first. (Could not find %1$s)", file.getPath()));
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
UnwrapRefactoringTest.java 5 * you may not use this file except in compliance with the License.
44 IFile file = getLayoutFile(getProject(), basename); local
45 TestContext info = setupTestContext(file, basename);
WrapInRefactoringTest.java 5 * you may not use this file except in compliance with the License.
48 IFile file = getLayoutFile(getProject(), basename); local
49 TestContext info = setupTestContext(file, basename);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/
Mocks.java 5 * you may not use this file except in compliance with the License.
126 IFile file = createNiceMock(IFile.class); local
127 expect(file.getName()).andReturn(fileName).anyTimes();
128 expect(file.getLocation()).andReturn(new Path(fileName)).anyTimes();
129 replay(file);
130 return file;
143 IFolder file = createNiceMock(IFolder.class); local
144 expect(file.getName()).andReturn(name).anyTimes();
145 // expect(file.getLocation()).andReturn(new Path(name)).anyTimes();
146 expect(file.members()).andReturn(members).anyTimes()
    [all...]
  /system/core/libcutils/
trace.c 5 * you may not use this file except in compliance with the License.
101 FILE * file = fopen("/proc/self/cmdline", "r"); local
102 if (file) {
104 if (fgets(cmdline, sizeof(cmdline), file)) {
109 fclose(file);
172 ALOGE("Error opening trace file: %s (%d)", strerror(errno), errno);
  /system/core/libzipfile/
zipfile.c 14 Zipfile *file = malloc(sizeof(Zipfile)); local
15 if (file == NULL) return NULL;
16 memset(file, 0, sizeof(Zipfile));
17 file->buf = data;
18 file->bufsize = size;
20 err = read_central_dir(file);
23 return file;
25 free(file);
32 Zipfile* file = (Zipfile*)f; local
33 Zipentry* entry = file->entries
45 Zipfile* file = (Zipfile*)f; local
    [all...]
  /system/extras/fatblock/
fatblock.c 5 * you may not use this file except in compliance with the License.
83 FILE *file; local
85 sprintf(filename, "/sys/devices/platform/usb_mass_storage/lun%d/file",
87 file = fopen(filename, "w");
88 if (!file) {
89 WARN("setting USB mass storage file: fopen(%s) failed: %s\n",
96 fprintf(file, "/dev/block/ublock%d", index);
98 fclose(file);
106 FILE *file local
    [all...]
fatblock.h 5 * you may not use this file except in compliance with the License.
43 struct file { struct
  /system/vold/
Process.cpp 5 * you may not use this file except in compliance with the License.
104 // append the file name, after truncating to parent directory
129 FILE *file; local
133 file = fopen(buffer, "r");
134 if (!file)
137 while (fgets(buffer, sizeof(buffer), file)) {
145 fclose(file);
150 fclose(file);
201 SLOGE("Process %s (%d) has open file %s", name, pid, openfile)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/
SuidFilesActivity.java 5 * you may not use this file except in compliance with the License.
40 import java.io.File;
115 mFindSuidFilesTask.execute(new File("/"));
121 File file = mAdapter.getItem(position); local
122 String message = getMessage(file);
124 .setTitle(file.getName())
129 private String getMessage(File file) {
131 if (FileUtils.getFileStatus(file.getAbsolutePath(), status, true))
161 File file = getItem(position); local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Video_ThumbnailsTest.java 5 * you may not use this file except in compliance with the License.
32 import java.io.File;
95 assertTrue("thumbnail file does not exist", new File(path).exists());
99 assertFalse("thumbnail file should no longer exist", new File(path).exists());
107 File file = new File(Environment.getExternalStorageDirectory(), "testVideo.3gp"); local
110 "_data=?", new String[] { file.getAbsolutePath() })
    [all...]
  /cts/tools/signature-tools/test/signature/converter/doclet/
DocletTestConverter.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
49 separator = System.getProperty("file.separator");
88 File file = new File(directory, filename + ".java"); local
89 File parent = file.getParentFile();
92 FileWriter wr = new FileWriter(file);
98 File file = new File(sourcepath); local
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
CodeItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
42 * {@code dex} file.
45 /** file alignment of this class, in bytes */
116 public void addContents(DexFile file) {
117 MixedItemSection byteData = file.getByteData();
118 TypeIdsSection typeIds = file.getTypeIds();
133 file.internIfAppropriate(c);
193 final DexFile file = addedTo.getFile(); local
202 IndexedItem item = file.findItemOrNull(cst)
    [all...]
MixedItemSection.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
34 * A section of a {@code .dex} file which consists of a sequence of
79 * Constructs an instance. The file offset is initially unknown.
83 * @param file {@code non-null;} file that this instance is part of
88 public MixedItemSection(String name, DexFile file, int alignment,
90 super(name, file, alignment);
128 * Writes the portion of the file header that refers to this instance.
264 DexFile file = getFile() local
334 DexFile file = getFile(); local
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
CodeItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
33 * {@code dex} file.
36 /** file alignment of this class, in bytes */
107 public void addContents(DexFile file) {
108 MixedItemSection byteData = file.getByteData();
109 TypeIdsSection typeIds = file.getTypeIds();
124 file.internIfAppropriate(c);
184 final DexFile file = addedTo.getFile(); local
193 IndexedItem item = file.findItemOrNull(cst)
    [all...]

Completed in 406 milliseconds

<<11121314151617181920>>