/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
SimpleTempStorage.java | 3 * or more contributor license agreements. See the NOTICE file * 5 * regarding copyright ownership. The ASF licenses this file * 7 * "License"); you may not use this file except in compliance * 24 import java.io.File; 61 File p = null; 65 p = new File(parent.getAbsolutePath(), prefix + n); 88 File f = null; 94 f = new File(parent.getAbsolutePath(), prefix + n + suffix); 99 throw new IOException("Creating temp file failed: " 100 + "Unable to find unique file name") 188 private File file = null; field in class:SimpleTempStorage.SimpleTempFile [all...] |
/packages/experimental/PrintService2/src/foo/bar/printservice2/ |
MyPrintService.java | 23 import java.io.File; 68 final File file = new File(getFilesDir(), info.getLabel() + ".pdf"); local 69 if (file.exists()) { 70 file.delete(); 79 out = new BufferedOutputStream(new FileOutputStream(file)); 109 file.setExecutable(true, false); 110 file.setWritable(true, false); 111 file.setReadable(true, false) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CreateNewConfigJob.java | 5 * you may not use this file except in compliance with the License. 42 /** Job which creates a new layout file for a given configuration */ 69 final IFile file = newParentFolder.getFile(mFromFile.getName()); local 70 if (file.exists()) { 71 String message = String.format("File 'res/%1$s/%2$s' already exists!", 76 // Read current document contents instead of from file: mFromFile.getContents() 79 file.create(input, false, monitor); 91 // Switch to the new file 107 AdtPlugin.openFile(file, null, false); 115 "Failed to create File 'res/%1$s/%2$s' : %3$s" [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
CreateFileChange.java | 5 * you may not use this file except in compliance with the License. 40 import java.io.File; 45 /** Change which lazily copies a file */ 49 private final File mSource; 51 CreateFileChange(@NonNull String name, @NonNull IPath workspacePath, File source) { 71 IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(mPath); local 72 URI location = file.getLocationURI(); 74 result.addFatalError("Unknown location " + file.getFullPath().toString()); 86 pm.beginTask("Creating file", 3); 87 IFile file = (IFile) getModifiedResource() local [all...] |
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
StringDataItem.java | 5 * you may not use this file except in compliance with the License. 31 public void read(DexRandomAccessFile file) throws IOException { 32 file.getOffsetTracker().getNewOffsettable(file, this); 33 size = file.readUleb128(); 35 dataAsBytes = file.readDexUtf(size); 38 Log.warn("Don't have full support for decoding MUTF-8 yet, DEX file " 44 file.readByte(); 49 public void write(DexRandomAccessFile file) throws IOException { 50 file.getOffsetTracker().updatePositionOfNextOffsettable(file) [all...] |
/build/core/combo/ |
HOST_darwin-x86.mk | 5 # you may not use this file except in compliance with the License. 103 # $(1): The file to check 104 define get-file-size
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
DebugInfoConstants.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 130 * Sets the current file that that line numbers refer to. All subsequent 131 * line number entries make reference to this source file name, instead 137 * file name.
|
FieldAnnotationStruct.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 76 public void addContents(DexFile file) { 77 FieldIdsSection fieldIds = file.getFieldIds(); 78 MixedItemSection wordData = file.getWordData(); 85 public void writeTo(DexFile file, AnnotatedOutput out) { 86 int fieldIdx = file.getFieldIds().indexOf(field);
|
FieldIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 28 * Field refs list section of a {@code .dex} file. 38 * Constructs an instance. The file offset is initially unknown. 40 * @param file {@code non-null;} file that this instance is part of 42 public FieldIdsSection(DexFile file) { 43 super("field_ids", file); 73 * Writes the portion of the file header that refers to this instance.
|
MethodAnnotationStruct.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 76 public void addContents(DexFile file) { 77 MethodIdsSection methodIds = file.getMethodIds(); 78 MixedItemSection wordData = file.getWordData(); 85 public void writeTo(DexFile file, AnnotatedOutput out) { 86 int methodIdx = file.getMethodIds().indexOf(method);
|
MethodIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 28 * Method refs list section of a {@code .dex} file. 38 * Constructs an instance. The file offset is initially unknown. 40 * @param file {@code non-null;} file that this instance is part of 42 public MethodIdsSection(DexFile file) { 43 super("method_ids", file); 73 * Writes the portion of the file header that refers to this instance.
|
/dalvik/dx/src/com/android/dx/dex/file/ |
DebugInfoConstants.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 130 * Sets the current file that that line numbers refer to. All subsequent 131 * line number entries make reference to this source file name, instead 137 * file name.
|
FieldAnnotationStruct.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 76 public void addContents(DexFile file) { 77 FieldIdsSection fieldIds = file.getFieldIds(); 78 MixedItemSection wordData = file.getWordData(); 85 public void writeTo(DexFile file, AnnotatedOutput out) { 86 int fieldIdx = file.getFieldIds().indexOf(field);
|
FieldIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 28 * Field refs list section of a {@code .dex} file. 38 * Constructs an instance. The file offset is initially unknown. 40 * @param file {@code non-null;} file that this instance is part of 42 public FieldIdsSection(DexFile file) { 43 super("field_ids", file); 73 * Writes the portion of the file header that refers to this instance.
|
MethodAnnotationStruct.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 76 public void addContents(DexFile file) { 77 MethodIdsSection methodIds = file.getMethodIds(); 78 MixedItemSection wordData = file.getWordData(); 85 public void writeTo(DexFile file, AnnotatedOutput out) { 86 int methodIdx = file.getMethodIds().indexOf(method);
|
MethodIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 28 * Method refs list section of a {@code .dex} file. 38 * Constructs an instance. The file offset is initially unknown. 40 * @param file {@code non-null;} file that this instance is part of 42 public MethodIdsSection(DexFile file) { 43 super("method_ids", file); 73 * Writes the portion of the file header that refers to this instance.
|
StringIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 25 * Representation of a string inside a Dalvik file. 86 public void addContents(DexFile file) { 89 MixedItemSection stringData = file.getStringData(); 97 public void writeTo(DexFile file, AnnotatedOutput out) {
|
/developers/build/prebuilts/gradle/DirectorySelection/Application/tests/src/com/example/android/directoryselection/ |
DirectoryEntryAdapterTest.java | 5 * you may not use this file except in compliance with the License. 20 * you may not use this file except in compliance with the License. 66 DirectoryEntry file = new DirectoryEntry(); local 67 file.fileName = FILE1; 68 file.mimeType = MIME_TYPE1; 69 mDirectoryEntries.add(file);
|
/developers/samples/android/content/documentsUi/DirectorySelection/Application/tests/src/com/example/android/directoryselection/ |
DirectoryEntryAdapterTest.java | 5 * you may not use this file except in compliance with the License. 20 * you may not use this file except in compliance with the License. 66 DirectoryEntry file = new DirectoryEntry(); local 67 file.fileName = FILE1; 68 file.mimeType = MIME_TYPE1; 69 mDirectoryEntries.add(file);
|
/external/boringssl/src/crypto/err/ |
err_test.cc | 57 const char *peeked_file, *file, *peeked_data, *data; local 61 uint32_t packed_error = ERR_get_error_line_data(&file, &line, &data, &flags); 64 peeked_file != file || 71 if (strcmp(file, "test") != 0 ||
|
/external/clang/tools/libclang/ |
CXLoadedDiagnostic.h | 5 |* This file is distributed under the University of Illinois Open Source *| 66 /// \brief Decode the CXSourceLocation into file, line, column, and offset. 68 CXFile *file, 74 CXFile file; member in struct:clang::CXLoadedDiagnostic::Location
|
/external/clang/unittests/Basic/ |
FileManagerTest.cpp | 5 // This file is distributed under the University of Illinois Open Source 22 // Used to create a fake file system for running the tests with such 24 // file system on the machine running the tests. 27 // Maps a file/directory path to its desired stat result. Anything 28 // not in this map is considered to not exist in the file system. 44 // Inject a file with the given inode value to the fake file system. 49 // Inject a directory with the given inode value to the fake file system. 56 std::unique_ptr<vfs::File> *F, 63 return CacheMissing; // This means the file/directory doesn't exist 80 const FileEntry *file = manager.getVirtualFile("foo.cpp", 42, 0); local 141 const FileEntry *file = manager.getFile("\/tmp\/test"); local 165 const FileEntry *file = manager.getFile("virtual\/dir\/bar.h"); local 204 const FileEntry *file = manager.getFile("xyz.txt"); local [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
DebugInfoConstants.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 130 * Sets the current file that that line numbers refer to. All subsequent 131 * line number entries make reference to this source file name, instead 137 * file name.
|
FieldAnnotationStruct.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 76 public void addContents(DexFile file) { 77 FieldIdsSection fieldIds = file.getFieldIds(); 78 MixedItemSection wordData = file.getWordData(); 85 public void writeTo(DexFile file, AnnotatedOutput out) { 86 int fieldIdx = file.getFieldIds().indexOf(field);
|
FieldIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 28 * Field refs list section of a {@code .dex} file. 38 * Constructs an instance. The file offset is initially unknown. 40 * @param file {@code non-null;} file that this instance is part of 42 public FieldIdsSection(DexFile file) { 43 super("field_ids", file); 73 * Writes the portion of the file header that refers to this instance.
|