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

1 2 3 45 6 7 8 91011>>

  /frameworks/compile/libbcc/lib/ExecutionEngine/
Sha1Helper.cpp 5 * you may not use this file except in compliance with the license.
53 FileHandle file; local
55 if (file.open(filename, OpenMode::Read) < 0) {
66 ssize_t nread = file.read(buf, sizeof(buf));
86 FileHandle file; local
87 if (file.open(filename, OpenMode::Read) < 0) {
88 LOGE("Unable to read binary sha1 file %s\n", filename);
92 file.read((char *)result, result_size);
  /frameworks/ex/carousel/java/com/android/ex/carousel/
CarouselViewUtilities.java 3 import java.io.File;
16 * Debug utility to write the given bitmap to a file.
20 * @param filename the name of the file to write
24 File path = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);
25 File file = new File(path, filename); local
29 OutputStream os = new FileOutputStream(file);
30 MediaScannerConnection.scanFile(context, new String[] { file.toString() }, null, null);
34 Log.w("ExternalStorage", "Error writing " + file, e)
    [all...]
  /ndk/sources/host-tools/make-3.81/
dep.h 5 This file is part of GNU Make.
16 GNU Make; see the file COPYING. If not, write to the Free Software
26 #define RM_NO_TILDE (1 << 3) /* Don't expand ~ in file name. */
29 /* Structure representing one dependency of a file.
30 Each struct file's `deps' points to a chain of these,
41 struct file *file; member in struct:dep
71 #define dep_name(d) ((d)->name == 0 ? (d)->file->name : (d)->name)
  /prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/plugin/include/
input.h 1 /* Declarations for variables relating to reading the source file.
6 This file is part of GCC.
19 along with GCC; see the file COPYING3. If not see
37 /* The name of the source file involved. */
38 const char *file; local
40 /* The line-location in the source file. */
55 /* Top-level source file. */
60 #define LOCATION_FILE(LOC) ((expand_location (LOC)).file)
  /prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/lib/gcc/arm-eabi/4.4.3/plugin/include/
input.h 1 /* Declarations for variables relating to reading the source file.
6 This file is part of GCC.
19 along with GCC; see the file COPYING3. If not see
37 /* The name of the source file involved. */
38 const char *file; local
40 /* The line-location in the source file. */
55 /* Top-level source file. */
60 #define LOCATION_FILE(LOC) ((expand_location (LOC)).file)
  /prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/lib/gcc/arm-linux-androideabi/4.4.3/plugin/include/
input.h 1 /* Declarations for variables relating to reading the source file.
6 This file is part of GCC.
19 along with GCC; see the file COPYING3. If not see
37 /* The name of the source file involved. */
38 const char *file; local
40 /* The line-location in the source file. */
55 /* Top-level source file. */
60 #define LOCATION_FILE(LOC) ((expand_location (LOC)).file)
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/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.
42 * FILE*'s and POSIX file descriptors. It must be instantiated by the
43 * user with the type of character used in the file stream, e.g.,
65 * @param fd An open file descriptor.
69 * This constructor associates a file stream buffer with an open
70 * POSIX file descriptor. The file descriptor will be automaticall
115 file() { return this->_M_file.file(); } function in class:stdio_filebuf
    [all...]
  /prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/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.
42 * FILE*'s and POSIX file descriptors. It must be instantiated by the
43 * user with the type of character used in the file stream, e.g.,
65 * @param fd An open file descriptor.
69 * This constructor associates a file stream buffer with an open
70 * POSIX file descriptor. The file descriptor will be automaticall
115 file() { return this->_M_file.file(); } function in class:stdio_filebuf
    [all...]
  /prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/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.
42 * FILE*'s and POSIX file descriptors. It must be instantiated by the
43 * user with the type of character used in the file stream, e.g.,
65 * @param fd An open file descriptor.
69 * This constructor associates a file stream buffer with an open
70 * POSIX file descriptor. The file descriptor will be automaticall
115 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.
109 IFile file = project.getFile(dest); local
110 if (file.exists()) {
111 // Warn that the file already exists and ask the user what to do
113 MessageDialog dialog = new MessageDialog(null, "File Already Exists", null,
116 file.getProjectRelativePath().toOSString()),
141 file.delete(true, new NullProgressMonitor());
147 NewXmlFileWizard.createWsParentDirectory(file.getParent());
155 file.create(is, true /*force*/, null /*progress*/);
156 mCreatedFiles.add(file);
    [all...]
  /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 11 fprintf(stderr, "touch: usage: touch [-alm] [-t time_t] <file>\n");
19 char *file = 0; local
52 file = argv[i];
56 if (! file) {
57 fprintf(stderr, "touch: no file specified\n");
61 if (access(file, F_OK))
62 if ((fd=creat(file, 0666)) != -1)
79 fprintf(stderr, "file = %s\n", file);
85 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;
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/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/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...]
  /frameworks/base/services/java/com/android/server/
DockObserver.java 5 * you may not use this file except in compliance with the License.
105 FileReader file = new FileReader(DOCK_STATE_PATH); local
106 int len = file.read(buffer, 0, 1024);
107 file.close();
183 final Uri soundUri = Uri.parse("file://" + soundPath);
  /packages/apps/Email/emailcommon/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/Email/emailcommon/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...]
  /sdk/anttasks/src/com/android/ant/
SingleDependencyTask.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
38 InputPath createPath(File file, Set<String> extensionsToCheck);
42 public InputPath createPath(File file, Set<String> extensionsToCheck) {
43 return new InputPath(file, extensionsToCheck);
48 * Creates a list of {@link InputPath} from a list of {@link File} and an optional list of
56 protected static List<InputPath> getInputPaths(List<File> paths,
64 for (File f : paths)
135 File file = input.getFile(); local
    [all...]
  /build/core/tasks/
sdk-addon.mk 4 # you may not use this file except in compliance with the License.
30 define stub-addon-jar-file
35 $(call stub-addon-jar-file,$(1)): $(1) | mkstubs
46 $(eval _src := $(call stub-addon-jar-file,$(_src))) \
68 $(eval $(call copy-one-file,$(_src),$(_dest))) \
99 # When not building an sdk_repo, just dist the addon zip file

Completed in 1382 milliseconds

1 2 3 45 6 7 8 91011>>