HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 251 - 275 of 965) sorted by null

<<11121314151617181920>>

  /libcore/luni/src/test/java/libcore/xml/
NodeTest.java 5 * you may not use this file except in compliance with the License.
29 import java.io.File;
49 File file = Support_Resources.resourceToTempFile("/simple.xml"); local
50 Document document = builder.parse(file);
52 assertFileUriEquals(file, document.getBaseURI());
58 assertFileUriEquals(file, node.getBaseURI());
69 private void assertFileUriEquals(File expectedFile, String actual) {
71 actual.equals("file:" + expectedFile)
72 || actual.equals("file://" + expectedFile))
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_GetLocal.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
22 import java.io.File;
35 static Hashtable<String, File> cache = new Hashtable<String, File>(20);
37 public static File getLocalFile(String url) throws IOException,
40 File temp = cache.get(url);
43 temp = File.createTempFile("hyts_local", ".tmp", null);
58 public static File getExternalLocalFile(String url) throws IOException
96 File file = getLocalFile("hyts_att.jar"); local
    [all...]
  /packages/apps/Email/emailcommon/src/org/apache/commons/io/
DirectoryWalker.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
59 * public List clean(File startDirectory) {
65 * protected boolean handleDirectory(File directory, int depth, Collection results) {
76 * protected void handleFile(File file, int depth, Collection results) {
77 * // delete file and add to list of deleted
78 * file.delete();
572 private File file; field in class:DirectoryWalker.CancelException
    [all...]
  /packages/inputmethods/LatinIME/native/jni/
com_android_inputmethod_latin_BinaryDictionary.cpp 6 ** you may not use this file except in compliance with the License.
77 FILE *file = NULL; local
78 file = fopen(sourceDirChars, "rb");
79 if (file == NULL) {
88 int ret = fseek(file, (long)dictOffset, SEEK_SET);
93 ret = fread(dictBuf, sizeof(char) * dictSize, 1, file);
98 ret = fclose(file);
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaUpgradeReceiver.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
59 File dbDir = context.getDatabasePath("foo").getParentFile();
63 String file = files[i]; local
64 if (MediaProvider.isMediaDatabaseName(file)) {
72 Slog.i(TAG, "---> Start upgrade of media database " + file);
76 context, file, MediaProvider.isInternalMediaDatabaseName(file),
80 Log.wtf(TAG, "Error during upgrade of media db " + file, t);
86 Slog.i(TAG, "<--- Finished upgrade of media database " + file
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/
stdio_sync_filebuf.h 1 // Iostreams wrapper for stdio FILE* -*- C++ -*-
5 // This file is part of the GNU ISO C++ Library. This library is free
25 /** @file ext/stdio_sync_filebuf.h
26 * This file is a GNU extension to the Standard C++ Library.
58 // Underlying stdio FILE
72 * @return The underlying FILE*.
74 * This function can be used to access the underlying "C" file pointer.
76 * with the file, so be careful.
79 file() { return this->_M_file; } function in class:stdio_sync_filebuf::std
  /prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/ext/
stdio_sync_filebuf.h 1 // Iostreams wrapper for stdio FILE* -*- C++ -*-
5 // This file is part of the GNU ISO C++ Library. This library is free
25 /** @file ext/stdio_sync_filebuf.h
26 * This file is a GNU extension to the Standard C++ Library.
58 // Underlying stdio FILE
72 * @return The underlying FILE*.
74 * This function can be used to access the underlying "C" file pointer.
76 * with the file, so be careful.
79 file() { return this->_M_file; } function in class:stdio_sync_filebuf::std
  /prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/ext/
stdio_sync_filebuf.h 1 // Iostreams wrapper for stdio FILE* -*- C++ -*-
5 // This file is part of the GNU ISO C++ Library. This library is free
25 /** @file ext/stdio_sync_filebuf.h
26 * This file is a GNU extension to the Standard C++ Library.
58 // Underlying stdio FILE
72 * @return The underlying FILE*.
74 * This function can be used to access the underlying "C" file pointer.
76 * with the file, so be careful.
79 file() { return this->_M_file; } function in class:stdio_sync_filebuf::std
  /sdk/common/src/com/android/io/
FileWrapper.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
30 * An implementation of {@link IAbstractFile} extending {@link File}.
32 public class FileWrapper extends File implements IAbstractFile {
36 * Creates a new File instance matching a given {@link File} object.
37 * @param file the file to match
39 public FileWrapper(File file) {
    [all...]
  /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.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.
119 IFile file = createNiceMock(IFile.class); local
120 expect(file.getName()).andReturn(fileName).anyTimes();
121 expect(file.getLocation()).andReturn(new Path(fileName)).anyTimes();
122 replay(file);
123 return file;
136 IFolder file = createNiceMock(IFolder.class); local
137 expect(file.getName()).andReturn(name).anyTimes();
138 // expect(file.getLocation()).andReturn(new Path(name)).anyTimes();
139 expect(file.members()).andReturn(members).anyTimes()
    [all...]
  /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/webkit/src/android/webkit/cts/
CacheManager_CacheResultTest.java 5 * you may not use this file except in compliance with the License.
34 import java.io.File;
159 File file = new File(CacheManager.getCacheFileBaseDir().getPath(), result.getLocalPath()); local
160 assertTrue(file.exists());
  /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...]

Completed in 1546 milliseconds

<<11121314151617181920>>