/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);
|
/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("/dev/null", file.getCanonicalPath()) [all...] |
/device/moto/wingray/ |
AndroidBoard.mk | 8 file := $(INSTALLED_KERNEL_TARGET) macro 9 ALL_PREBUILT += $(file) 10 $(file): $(TARGET_PREBUILT_KERNEL) | $(ACP)
|
/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 23 if (!file) 24 errx(1, "Usage: %s <normal-file>", argv[0]); 26 fd = open(file, O_RDWR); 28 err(1, "Opening %s", file); 37 err(1, "Locking %s", file); 39 /* If under valgrind, mmap re-opens and closes file, screwing us */ 41 err(1, "mmap of %s", file);
|
/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);
|
/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/bluetooth/bluez/src/ |
log.h | 34 const char *file; member in struct:btd_debug_desc 51 .file = __FILE__, .flags = BTD_DEBUG_FLAG_DEFAULT, \
|
/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("myfile.txt"); 21 * File createdFolder= folder.newFolder("subfolder"); 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/llvm/utils/ |
clang-parse-diagnostics-file | 69 file = file_diags.get('main-file') variable 70 print "*** %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/fastboot/ |
util_windows.c | 53 HANDLE file; local 57 file = CreateFile( fn, 65 if (file == INVALID_HANDLE_VALUE) 68 file_size = GetFileSize( file, NULL ); 79 if ( !ReadFile( file, data, file_size, &out_bytes, NULL ) || 89 CloseHandle( 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 | 21 # to run the dex pre-optimization *in* the emulator. So keep the file until 40 file := $(TARGET_ROOT_OUT)/init.rc macro 41 $(file) : $(LOCAL_PATH)/init.rc | $(ACP) 43 ALL_PREBUILT += $(file) 44 $(INSTALLED_RAMDISK_TARGET): $(file) 47 file := $(TARGET_ROOT_OUT)/ueventd.rc macro 48 $(file) : $(LOCAL_PATH)/ueventd.rc | $(ACP) 50 ALL_PREBUILT += $(file) 51 $(INSTALLED_RAMDISK_TARGET): $(file) 58 file := $(TARGET_ROOT_OUT)/init.goldfish.r macro 64 file := $(TARGET_ROOT_OUT)\/ueventd.goldfish.rc macro [all...] |
/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) 49 # $(2): the dist files to add to those goals. If the file contains ':', 50 # the text following the colon is the name that the file is copied 54 $(foreach file,$(2), \ 55 $(eval fw := $(subst :,$(space),$(file))) \ [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);
|