HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 1 - 25 of 1402) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/io/
OldAndroidFileTest.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
23 * Checks creation and deletion of a file.
28 File file = File.createTempFile(String.valueOf(System.currentTimeMillis()), null, null); local
30 assertTrue(file.exists());
31 assertTrue(file.delete());
32 assertFalse(file.exists());
  /external/elfutils/libdwfl/
dwfl_lineinfo.c 3 This file is part of Red Hat elfutils.
25 those well defined interfaces identified in the file named EXCEPTION
36 covered by this exception. If you modify this file, you may extend this
37 exception to your version of the file, but you are not obligated to do
40 this file solely under the GPL without exception.
70 struct Dwarf_Fileinfo_s *file = &info->files->info[info->file]; local
72 *mtime = file->mtime;
74 *length = file->length;
75 return file->name
    [all...]
  /external/webkit/Source/WebCore/fileapi/
FileEntry.cpp 38 #include "File.h"
54 void FileEntry::file(PassRefPtr<FileCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) function in class:WebCore::FileEntry
FileEntrySync.cpp 36 #include "File.h"
46 PassRefPtr<File> FileEntrySync::file(ExceptionCode& ec) function in class:WebCore::FileEntrySync
  /frameworks/base/tools/aapt/
SourcePos.h 12 String8 file; member in class:SourcePos
24 static void printErrors(FILE* to);
  /external/webkit/Source/WebCore/platform/efl/
SharedBufferEfl.cpp 42 FILE* file; local
49 if (!(file = fopen(filePath.utf8().data(), "rb")))
52 if (fstat(fileno(file), &fileStat)) {
53 fclose(file);
60 fclose(file);
64 fread(result->m_buffer.data(), 1, fileStat.st_size, file);
65 fclose(file);
  /frameworks/base/services/tests/servicestests/src/com/android/server/
EntropyMixerTest.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE);
32 File file = File.createTempFile("testInitialWrite", "dat", dir); local
33 file.deleteOnExit();
34 assertEquals(0, FileUtils.readTextFile(file, 0, null).length());
36 // The constructor has the side effect of writing to file
37 new EntropyMixer(getContext(), "/dev/null", file.getCanonicalPath())
    [all...]
  /cts/tests/tests/net/src/android/net/cts/
VpnServiceTest.java 5 * you may not use this file except in compliance with the License.
23 import java.io.File;
112 File file = new File("/dev/tun"); local
113 assertTrue(file.exists());
114 assertFalse(file.isFile());
115 assertFalse(file.isDirectory());
116 assertFalse(file.canExecute());
117 assertFalse(file.canRead())
    [all...]
  /cts/libs/vogar-expect/src/vogar/commands/
Rm.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
26 public void file(File file) { method in class:Rm
27 new Command("rm", "-f", file.getPath()).execute();
30 public void directoryTree(File directory) {
  /external/iproute2/tc/
tc_monitor.c 40 FILE *fp = (FILE*)arg;
70 char *file = NULL; local
74 if (matches(*argv, "file") == 0) {
76 file = *argv;
88 if (file) {
89 FILE *fp;
90 fp = fopen(file, "r");
  /external/junit/src/org/junit/rules/
TemporaryFolder.java 3 import java.io.File;
20 * File createdFile= folder.newFile(&quot;myfile.txt&quot;);
21 * File createdFolder= folder.newFolder(&quot;subfolder&quot;);
28 private File folder;
49 * Returns a new fresh file with the given name under the temporary folder.
51 public File newFile(String fileName) throws IOException {
52 File file= new File(getRoot(), fileName); local
53 file.createNewFile()
68 File file = getRoot(); local
    [all...]
  /external/libmtp/examples/
getfile.c 2 * \file getfile.c
3 * Example program to retrieve a file off the device.
48 printf("\nError getting file from MTP device.\n");
60 char *file; local
62 // We need file ID and filename
74 fprintf(stderr, "bad file/track id %u\n", id);
79 file = argv[2];
80 printf("Getting file/track %d to local file %s\n", id, file);
    [all...]
  /external/valgrind/main/none/tests/
mmap_fcntl_bug.c 3 * mmap. Feed it a r/w file, such as its own source code. */
19 const char *file = /* argv[1]; */ local
24 if (!file)
25 errx(1, "Usage: %s <normal-file>", argv[0]);
27 fd = open(file, O_RDWR);
29 err(1, "Opening %s", file);
45 err(1, "Locking %s", file);
47 /* If under valgrind, mmap re-opens and closes file, screwing us */
49 err(1, "mmap of %s", file);
  /external/webkit/Source/ThirdParty/ANGLE/src/common/
debug.cpp 4 // found in the LICENSE file.
29 FILE *file = fopen(TRACE_OUTPUT_FILE, "a"); local
31 if (file)
35 vfprintf(file, format, vararg);
38 fclose(file);
  /system/core/libcutils/
cpu_info.c 6 ** you may not use this file except in compliance with the License.
31 FILE* file; local
37 file = fopen("proc/cpuinfo", "r");
38 if (! file)
41 while ((chp = fgets(serial_number, sizeof(serial_number), file)) != NULL)
79 fclose(file);
  /system/core/rootdir/
Android.mk 24 file := $(TARGET_ROOT_OUT)/init.rc macro
25 $(file) : $(LOCAL_PATH)/init.rc | $(ACP)
27 ALL_PREBUILT += $(file)
28 $(INSTALLED_RAMDISK_TARGET): $(file)
31 file := $(TARGET_ROOT_OUT)/ueventd.rc macro
32 $(file) : $(LOCAL_PATH)/ueventd.rc | $(ACP)
34 ALL_PREBUILT += $(file)
35 $(INSTALLED_RAMDISK_TARGET): $(file)
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
OpenRandomFileTest.java 2 * contributor license agreements. See the NOTICE file distributed with
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
37 File file = File.createTempFile("test", "tmp"); local
38 assertTrue(file.exists());
39 file.deleteOnExit();
40 FileOutputStream fos = new FileOutputStream(file);
50 File file = File.createTempFile("test", "tmp"); local
    [all...]
  /build/core/combo/
HOST_linux-x86.mk 5 # you may not use this file except in compliance with the License.
20 # $(1): The file to check
21 define get-file-size
  /build/core/
distdir.mk 5 # you may not use this file except in compliance with the License.
33 # $(1): source file
34 # $(2): destination file
35 # $(3): goals that should copy the file
37 define copy-one-dist-file
41 $$(copy-file-to-new-target-with-cp)
47 # copy-one-dist-file to avoid multiple rules for the same target.
54 # $(2): the dist files to add to those goals. If the file contains ':',
55 # the text following the colon is the name that the file is copied
59 $(foreach file,$(2),
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
IdItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
22 * Representation of a reference to an item inside a Dalvik file.
47 public void addContents(DexFile file) {
48 TypeIdsSection typeIds = file.getTypeIds();
MemberIdsSection.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
20 * Member (field or method) refs list section of a {@code .dex} file.
24 * Constructs an instance. The file offset is initially unknown.
28 * @param file {@code non-null;} file that this instance is part of
30 public MemberIdsSection(String name, DexFile file) {
31 super(name, file, 4);
  /dalvik/dx/src/com/android/dx/dex/file/
IdItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
22 * Representation of a reference to an item inside a Dalvik file.
47 public void addContents(DexFile file) {
48 TypeIdsSection typeIds = file.getTypeIds();
  /external/bison/examples/calc++/
calc++-driver.hh 35 std::string file; member in class:calcxx_driver
  /external/chromium/base/memory/
scoped_temp_dir_unittest.cc 3 // found in the LICENSE file.
100 base::PlatformFile file = base::CreatePlatformFile(file_path, file_flags, local
102 EXPECT_NE(base::kInvalidPlatformFileValue, file);
106 EXPECT_TRUE(base::ClosePlatformFile(file));
  /external/chromium/chrome/browser/
browsing_data_indexed_db_helper_browsertest.cc 3 // found in the LICENSE file.
57 const FilePath::CharType file[] = local
73 EXPECT_EQ(FilePath(file).value(), result[0].file_path.BaseName().value());

Completed in 1382 milliseconds

1 2 3 4 5 6 7 8 91011>>