/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/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/tools/localize/ |
SourcePos.h | 11 string file; member in class:SourcePos 23 static void PrintErrors(FILE* to);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
EntropyServiceTest.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 EntropyService("/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/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/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/llvm/utils/ |
show-diagnostics | 44 file = file_diags.get('main-file') variable 45 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) 56 file := $(TARGET_ROOT_OUT)/init.goldfish.r macro 62 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);
|
/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();
|
MemberIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.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);
|
/external/bison/src/ |
location.h | 4 This file is part of Bison, the GNU Compiler Compiler. 17 along with Bison; see the file COPYING. If not, write to 29 /* The name of the file that contains the boundary. */ 30 uniqstr file; member in struct:__anon1499 49 && UNIQSTR_EQ (a.file, b.file)); 67 void location_print (FILE *out, location loc);
|
/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));
|