HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 851 - 875 of 2724) sorted by null

<<31323334353637383940>>

  /frameworks/native/opengl/libs/EGL/
Loader.cpp 5 ** you may not use this file except in compliance with the License.
105 FILE * file = fopen(procPath, "r"); local
106 if (file) {
108 char *str = fgets(cmdline, sizeof(cmdline) - 1, file);
109 fclose(file);
egl.cpp 5 ** you may not use this file except in compliance with the License.
141 FILE * file = fopen("/proc/self/cmdline", "r"); local
142 if (file) {
144 if (fgets(cmdline, sizeof(cmdline), file)) {
151 fclose(file);
  /frameworks/rs/api/
GenerateHeaderFiles.cpp 5 * you may not use this file except in compliance with the License.
26 // Convert a file name into a string that can be used to guard the include file with #ifdef...
45 static void writeVersionGuardStart(GeneratedFile* file, VersionInfo info, int finalVersion) {
47 *file << "#ifndef __LP64__\n";
49 *file << "#ifdef __LP64__\n";
64 *file << "#if !defined(RS_VERSION) || " << checkMaxVersion.str() << "\n";
67 *file << "#if (defined(RS_VERSION) && (RS_VERSION >= " << info.minVersion << ")";
69 *file << " && " << checkMaxVersion.str();
71 *file << ")\n"
316 GeneratedFile file; local
    [all...]
GenerateStubsWhiteList.cpp 5 * you may not use this file except in compliance with the License.
366 /* Generate the white list file of the mangled function prototypes. This generated list is used
384 GeneratedFile file; local
385 if (!file.start(".", "RSStubsWhiteList.cpp")) {
389 file.writeNotices();
390 file << "#include \"RSStubsWhiteList.h\"\n\n";
391 file << "std::vector<std::string> stubList = {\n";
393 file << "\"" << e << "\",\n";
395 file << "};\n";
400 // Add a uniquely named variable definition to the file and return its name
455 GeneratedFile file; local
    [all...]
  /frameworks/wilhelm/tests/native-media/jni/
native-media-jni.c 5 * you may not use this file except in compliance with the License.
66 // handle of the file to play
67 FILE *file; variable
69 // has the app reached the end of the file
120 rewind(file);
193 nbRead = fread(pBufferData, BUFFER_SIZE, 1, file);
301 nbRead = fread(dataCache, BUFFER_SIZE, NB_BUFFERS, file);
349 // open the file to play
350 file = fopen(utf8, "rb")
    [all...]
  /frameworks/wilhelm/tests/sandbox/streamSource/
slesTestPlayStream.cpp 5 * you may not use this file except in compliance with the License.
44 FILE *file; variable
45 /* Has the app reached the end of the file */
87 // to play a .ts file, but rather shows more ways to exercise the API
108 size_t nbRead = fread((void*)dataCache, 1, BUFFER_SIZE*(NB_BUFFERS/2), file);
150 size_t nbRead = fread((void*)pBufferData, 1, BUFFER_SIZE, file);
208 file = fopen(path, "rb");
297 if (fread(dataCache, 1, BUFFER_SIZE * NB_BUFFERS, file) <= 0) {
311 if (fread(dataCache, 1, BUFFER_SIZE * 1, file) <= 0)
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
tools_common.h 5 * that can be found in the LICENSE file in the root of the source
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
50 /* Use 32-bit file operations in WebM file format when building ARM
92 FILE *file; member in struct:VpxInputContext
112 FILE *set_binary_mode(FILE *stream);
120 /* The tool including this file must define usage_exit() *
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
and_constructor.c 36 FILE *file; member in struct:inv_construct_t
61 MPL_LOGE("Error : file name and path too long, 100 characters limit\n");
126 if (inv_construct.file == NULL) {
127 inv_construct.file = fopen(playback_filename, "rb");
128 if (!inv_construct.file) {
129 MPL_LOGE("Error : cannot find or open playback file '%s'\n",
136 r = fread(&type, sizeof(type), 1, inv_construct.file);
138 MPL_LOGV("read 0 bytes, PLAYBACK file closed\n");
140 fclose(inv_construct.file);
    [all...]
  /hardware/ti/omap4-aah/domx/mm_osal/inc/
timm_osal_trace.h 34 * @file timm_osal_trace.h
35 * The timm_osal_types header file defines the primative osal type definitions.
111 const char *file; member in struct:__anon27558
  /libcore/dalvik/src/main/java/dalvik/system/
DexFile.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
33 * Note we don't directly open and read the DEX file here. They're memory-mapped
42 * Opens a DEX file from a given File object. This will usually be a ZIP/JAR
43 * file with a "classes.dex" inside.
45 * The VM will generate the name of the corresponding file in
48 * a file in /data/dalvik-cache, as the named file is expected to be
51 * @param file
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
JarEntryTest.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
20 import java.io.File;
50 private File resources;
56 jarFile = new JarFile(new File(resources, jarName));
87 assertNotNull("Jar file is null", jarFile);
103 File file = null; local
106 file = new File(resources, attJarName)
130 File file = new File(resources, jarFileName); local
154 File file = new File(resources, jarFileName); local
    [all...]
  /libcore/luni/src/main/java/libcore/io/
IoUtils.java 5 * you may not use this file except in compliance with the License.
21 import java.io.File;
126 public static void deleteContents(File dir) throws IOException {
127 File[] files = dir.listFiles();
129 for (File file : files) {
130 if (file.isDirectory()) {
131 deleteContents(file);
133 file.delete();
141 public static File createTemporaryDirectory(String prefix)
    [all...]
  /libcore/support/src/test/java/tests/support/
Support_TestWebData.java 5 * you may not use this file except in compliance with the License.
20 import java.io.File;
33 // Although the tests report the content length of this file as being large, a file is created
34 // that is much shorter. Actually creating a large file is not practical during tests. This
35 // file should only be used for checking header information.
110 File file = new File(path); local
111 testLength = file.length()
    [all...]
  /ndk/sources/host-tools/make-3.81/
filedef.h 1 /* Definition of target file data structures for GNU Make.
5 This file is part of GNU Make.
16 GNU Make; see the file COPYING. If not, write to the Free Software
20 /* Structure that represents the info on one file
26 struct file struct
37 FILE_TIMESTAMP last_mtime; /* File's modtime, if already known. */
38 FILE_TIMESTAMP mtime_before_update; /* File's modtime before any updating
40 struct file *prev; /* Previous entry for same file name;
42 entries for the same file. *
    [all...]
  /ndk/sources/third_party/googletest/googletest/include/gtest/internal/
gtest-death-test-internal.h 34 // This header file defines internal utilities needed for implementing
80 const char* file, int line, DeathTest** test);
144 const char* file, int line, DeathTest** test) = 0;
151 const char* file, int line, DeathTest** test);
248 const std::string& file() const { return file_; } function in class:testing::internal::InternalRunDeathTestFlag
  /ndk/sources/third_party/googletest/googletest/src/
gtest-filepath.cc 69 // noted, a file path can contain either kind of path separators, or a mixture
116 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns
117 // FilePath("dir/file"). If a case-insensitive extension is not
145 // Example: FilePath("path/to/file").RemoveDirectoryName() returns
146 // FilePath("file"). If there is no directory part ("just_a_file"), it returns
147 // the FilePath unmodified. If there is no file part ("just_a_dir/") it
156 // Example: FilePath("path/to/file").RemoveFileName() returns "path/to/".
159 // not have a file, like "just/a/dir/", it returns the FilePath unmodified.
182 std::string file; local
184 file = base_name.string() + "." + extension
    [all...]
  /packages/apps/Browser/src/com/android/browser/
WebStorageSizeManager.java 5 * you may not use this file except in compliance with the License.
31 import java.io.File;
114 // The maximum size of the application cache file.
119 * about the underlying file system. This functionality is separated
124 * @return the size of the free space in the file system.
129 * @return the total size of the file system.
154 * about the appcache file. This functionality is separated into its own
159 * @return the current size of the appcache file.
166 // The name of the application cache file. Keep in sync with
176 File file = new File(mAppCachePat local
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/debug/
DebugSmsMmsFromDumpFileDialogFragment.java 5 * you may not use this file except in compliance with the License.
110 final String file = getItem(position); local
111 actionItemView.setText(file);
117 receiveFromDumpFile(file);
119 emailDumpFile(file);
128 * Load MMS/SMS from the dump file
138 "receiveFromDumpFile: invalid sms dump file " + dumpFileName);
148 "receiveFromDumpFile: invalid mms dump file " + dumpFileName);
152 "receiveFromDumpFile: invalid dump file name " + dumpFileName);
157 * Launch email app to send the dump file
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
NfceeAccessControl.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
182 File file = new File(Environment.getRootDirectory(), NFCEE_ACCESS_PATH); local
186 reader = new FileReader(file);
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
PublicVolumeSettings.java 5 * you may not use this file except in compliance with the License.
44 import java.io.File;
139 final File file = mVolume.getPath(); local
140 final long totalBytes = file.getTotalSpace();
141 final long freeBytes = file.getFreeSpace();
  /packages/experimental/BugReportSender/src/com/android/bugreportsender/
BugReportListActivity.java 5 * you may not use this file except in compliance with the License.
34 import java.io.File;
45 private static final File REPORT_DIR = new File("/sdcard/bugreports");
60 private ArrayList<File> mFiles = null;
68 mFiles = new ArrayList<File>();
109 File file = mFiles.get(position); local
111 intent.putExtra("subject", file.getName());
113 intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(file));
139 File file = mFiles.get(info.position); local
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
BinaryDictDecoderUtils.java 5 * you may not use this file except in compliance with the License.
22 import java.io.File;
36 * TODO: Move this file to makedict/internal.
278 * This follows the character format documented earlier in this source file.
406 * Helper method to pass a file name instead of a File object to isBinaryDictionary.
409 final File file = new File(filename); local
410 return isBinaryDictionary(file);
    [all...]
  /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
BinaryDictOffdeviceUtils.java 5 * use this file except in compliance with the License. You may obtain a copy of
32 import java.io.File;
108 public InputStream getStream(final File src) throws FileNotFoundException, IOException {
130 public static class CopyProcessor implements InputProcessor<File> {
132 public File process(@Nonnull final InputStream input) throws IOException,
134 final File dst = File.createTempFile(PREFIX, SUFFIX);
159 throw new UnsupportedFormatException("File too short, not a dictionary");
203 throw new UnsupportedFormatException("File shorter than specified in the header"
224 public static <T> DecoderChainSpec<T> decodeDictionaryForProcess(@Nonnull final File src
265 final File file = new File(filename); local
    [all...]
DictionaryMaker.java 5 * use this file except in compliance with the License. You may obtain a copy of
32 import java.io.File;
73 throw new RuntimeException("No input file specified");
86 * Utility method that throws an exception if path1 and path2 point to the same file.
91 if (new File(path1).getCanonicalPath().equals(new File(path2).getCanonicalPath())) {
92 throw new RuntimeException(path1 + " and " + path2 + " are the same file: "
108 + " Converts a source dictionary file to one or several outputs.\n"
109 + " Source can be a binary dictionary file or a combined format file.\n
233 final File file = new File(binaryFilename); local
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoStore.java 5 * use this file except in compliance with the License. You may obtain a copy of
28 import java.io.File;
55 /** The file path for photo storage. */
56 private final File mStorePath;
69 public PhotoStore(File rootDirectory, ContactsDatabaseHelper databaseHelper) {
70 mStorePath = new File(rootDirectory, DIRECTORY);
88 File[] files = mStorePath.listFiles();
90 for (File file : files) {
91 cleanupFile(file);
194 File file = null; local
    [all...]

Completed in 503 milliseconds

<<31323334353637383940>>