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

1 2 3 4 5 6 7 891011>>

  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/
stdio_filebuf.h 0 // File descriptor layer for filebuf -*- C++ -*-
6 // This file is part of the GNU ISO C++ Library. This library is free
26 /** @file ext/stdio_filebuf.h
27 * This file is a GNU extension to the Standard C++ Library.
46 * FILE*'s and POSIX file descriptors. It must be instantiated by the
47 * user with the type of character used in the file stream, e.g.,
69 * @param __fd An open file descriptor.
74 * This constructor associates a file stream buffer with an open
75 * POSIX file descriptor. The file descriptor will be automaticall
120 file() { return this->_M_file.file(); } function in class:stdio_filebuf
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/
stdio_filebuf.h 0 // File descriptor layer for filebuf -*- C++ -*-
6 // This file is part of the GNU ISO C++ Library. This library is free
26 /** @file ext/stdio_filebuf.h
27 * This file is a GNU extension to the Standard C++ Library.
46 * FILE*'s and POSIX file descriptors. It must be instantiated by the
47 * user with the type of character used in the file stream, e.g.,
69 * @param fd An open file descriptor.
73 * This constructor associates a file stream buffer with an open
74 * POSIX file descriptor. The file descriptor will be automaticall
119 file() { return this->_M_file.file(); } function in class:stdio_filebuf
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/
stdio_filebuf.h 0 // File descriptor layer for filebuf -*- C++ -*-
6 // This file is part of the GNU ISO C++ Library. This library is free
26 /** @file ext/stdio_filebuf.h
27 * This file is a GNU extension to the Standard C++ Library.
46 * FILE*'s and POSIX file descriptors. It must be instantiated by the
47 * user with the type of character used in the file stream, e.g.,
69 * @param __fd An open file descriptor.
74 * This constructor associates a file stream buffer with an open
75 * POSIX file descriptor. The file descriptor will be automaticall
120 file() { return this->_M_file.file(); } function in class:stdio_filebuf
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/ext/
stdio_filebuf.h 0 // File descriptor layer for filebuf -*- C++ -*-
5 // This file is part of the GNU ISO C++ Library. This library is free
25 /** @file ext/stdio_filebuf.h
26 * This file is a GNU extension to the Standard C++ Library.
45 * FILE*'s and POSIX file descriptors. It must be instantiated by the
46 * user with the type of character used in the file stream, e.g.,
68 * @param __fd An open file descriptor.
73 * This constructor associates a file stream buffer with an open
74 * POSIX file descriptor. The file descriptor will be automaticall
119 file() { return this->_M_file.file(); } function in class:stdio_filebuf
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
CreateAssetSetWizard.java 5 * you may not use this file except in compliance with the License.
106 IFile file = project.getFile(dest); local
107 if (file.exists()) {
108 // Warn that the file already exists and ask the user what to do
110 MessageDialog dialog = new MessageDialog(null, "File Already Exists", null,
113 file.getProjectRelativePath().toOSString()),
138 file.delete(true, new NullProgressMonitor());
144 AdtUtils.createWsParentDirectory(file.getParent());
152 file.create(is, true /*force*/, null /*progress*/);
153 mCreatedFiles.add(file);
    [all...]
  /sdk/monitor/
Android.mk 18 define mk-rcp-monitor-atree-file
52 $(call mk-rcp-monitor-atree-file,linux.gtk,x86) ; \
53 $(call mk-rcp-monitor-atree-file,linux.gtk,x86_64) ; \
55 $(call mk-rcp-monitor-atree-file,macosx.cocoa,x86_64) ; \
57 $(call mk-rcp-monitor-atree-file,win32.win32,x86) ; \
58 $(call mk-rcp-monitor-atree-file,win32.win32,x86_64) ; \
  /system/core/toolbox/
insmod.c 20 /* open the file */
51 void *file; local
62 /* read the file into memory */
63 file = read_file(argv[1], &size);
64 if (!file) {
85 ret = init_module(file, size, opts);
92 /* free the file buffer */
93 free(file);
touch.c 12 fprintf(stderr, "touch: usage: touch [-alm] [-t YYYYMMDD[.hhmmss]] <file>\n");
46 char *file = 0; local
79 file = argv[i];
83 if (! file) {
84 fprintf(stderr, "touch: no file specified\n");
88 if (access(file, F_OK))
89 if ((fd=creat(file, 0666)) != -1)
106 fprintf(stderr, "file = %s\n", file);
112 return utimensat(AT_FDCWD, file, times, flags)
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
FileAccessPermissionTest.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
30 * This is testing for file access permissions.
39 * create a sdcard image file then start emulator with command emulator -sdcard <filepath>
42 * mksdcard <size> <file>
45 * TODO: Combine this file with {@link android.permission.cts.FileSystemPermissionTest}
53 File file = new File("/system"); local
54 assertTrue(file.canRead())
82 File file = new File("\/system\/app"); local
100 File file = new File("\/data\/app"); local
    [all...]
  /cts/tools/signature-tools/src/signature/io/html/
HtmlDeltaExternalizer.java 5 * you may not use this file except in compliance with the License.
31 import java.io.File;
44 private static final String DELTA_FOLDER = "changes" + File.separator;
48 if (!location.endsWith(File.separator)) {
49 location += File.separator;
52 File directory = new File(location);
77 File file = new File(location + DELTA_FOLDER) local
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
Section.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
24 * A section of a {@code .dex} file. Each section consists of a list
31 /** {@code non-null;} file that this instance is part of */
32 private final DexFile file; field in class:Section
38 /** {@code >= -1;} offset from the start of the file to this part, or
61 * Constructs an instance. The file offset is initially unknown.
65 * @param file {@code non-null;} file that this instance is part of
69 public Section(String name, DexFile file, int alignment)
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
Section.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
23 * A section of a {@code .dex} file. Each section consists of a list
30 /** {@code non-null;} file that this instance is part of */
31 private final DexFile file; field in class:Section
37 /** {@code >= -1;} offset from the start of the file to this part, or
60 * Constructs an instance. The file offset is initially unknown.
64 * @param file {@code non-null;} file that this instance is part of
68 public Section(String name, DexFile file, int alignment)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
OutputStreamTesterTest.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
29 import java.io.File;
77 private File file; field in class:OutputStreamTesterTest.FileOutputStreamSinkTester
84 file = File.createTempFile("FileOutputStreamSinkTester", "tmp");
85 file.deleteOnExit();
86 return new FileOutputStream(file, append)
    [all...]
WriterTesterTest.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
28 import java.io.File;
72 private File file; field in class:WriterTesterTest.FileWriterCharSinkTester
79 file = File.createTempFile("FileOutputStreamSinkTester", "tmp");
80 file.deleteOnExit();
81 return new FileWriter(file, append)
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
Section.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. Each section consists of a list
31 /** {@code non-null;} file that this instance is part of */
32 private final DexFile file; field in class:Section
38 /** {@code >= -1;} offset from the start of the file to this part, or
61 * Constructs an instance. The file offset is initially unknown.
65 * @param file {@code non-null;} file that this instance is part of
69 public Section(String name, DexFile file, int alignment)
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
FileBackedOutputStreamTest.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
50 final File file = out.getFile(); local
51 assertEquals(100, file.length());
52 assertTrue(file.exists());
55 // Make sure that finalize deletes the file
62 return !file.exists();
92 File file = out.getFile() local
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
ResourceLoaderAdaptor.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
58 File file = locateFile(name); local
59 if (file == null) {
60 throw new FileNotFoundException("Could not locate file " + name);
62 return new InputStreamReader(new FileInputStream(file), "UTF-8");
71 text.append("No file '");
97 * @param name name of the file to locate.
98 * @return a File object corresponding to the existing file or {@code null} if it does not exist
103 File file = newFile(name); local
106 File file = null; local
144 File file = newFile(path, filename); local
174 File file = locateFile(filename); local
191 File file = locateFile(filename); local
    [all...]
  /frameworks/base/drm/java/android/drm/
DrmUtils.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
38 /* Should be used when we need to read from local file */
40 File file = new File(path); local
41 return readBytes(file);
44 /* Should be used when we need to read from local file */
45 /* package */ static byte[] readBytes(File file) throws IOException
79 File file = new File(path); local
    [all...]
  /packages/apps/Camera/tests/src/com/android/camera/functional/
ImageCaptureIntentTest.java 5 * you may not use this file except in compliance with the License.
34 import java.io.File;
69 File file = new File(Environment.getExternalStorageDirectory(), local
75 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file));
85 // Verify the jpeg file
86 int fileLength = (int) file.length();
89 stream = new BufferedInputStream(new FileInputStream(file));
93 file.delete()
    [all...]
  /packages/apps/Camera2/tests/src/com/android/camera/functional/
ImageCaptureIntentTest.java 5 * you may not use this file except in compliance with the License.
34 import java.io.File;
69 File file = new File(Environment.getExternalStorageDirectory(), local
75 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file));
85 // Verify the jpeg file
86 int fileLength = (int) file.length();
89 stream = new BufferedInputStream(new FileInputStream(file));
93 file.delete()
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
LockableFileWriter.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;
32 * cross thread file lock handling.
35 * that will use a lock file to prevent duplicate writes.
37 * By default, the file will be overwritten, but this may be changed to append.
54 /** The extension for the lock file. */
59 /** The lock file. */
60 private final File lockFile;
    [all...]
  /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...]

Completed in 711 milliseconds

1 2 3 4 5 6 7 891011>>