OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TempFile
(Results
1 - 25
of
74
) sorted by null
1
2
3
/hardware/libhardware/tests/input/evdev/
TestHelpers.h
43
class
TempFile
{
45
TempFile
(const char* path);
46
~
TempFile
();
49
TempFile
(const
TempFile
&) = delete;
50
TempFile
& operator=(const
TempFile
&) = delete;
75
TempFile
* newTempFile();
TestHelpers.cpp
35
TempFile
::
TempFile
(const char* path) {
57
TempFile
::~
TempFile
() {
89
TempFile
* TempDir::newTempFile() {
90
return new
TempFile
(mName);
InputHub_test.cpp
108
std::unique_ptr<
TempFile
>
tempFile
;
113
tempFile
.reset(tempDir->newTempFile());
123
EXPECT_EQ(
tempFile
->getName(), pathname);
130
auto deviceFile = std::unique_ptr<
TempFile
>(tempDir->newTempFile());
161
auto deviceFile = std::unique_ptr<
TempFile
>(tempDir->newTempFile());
203
auto deviceFile1 = std::unique_ptr<
TempFile
>(tempDir->newTempFile());
204
auto deviceFile2 = std::unique_ptr<
TempFile
>(tempDir->newTempFile());
Android.mk
27
# TestHelpers uses mktemp. As the path is given to
TempFile
, we can't do too much
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
TempPath.java
40
TempFile
createTempFile() throws IOException;
52
TempFile
createTempFile(String prefix, String suffix) throws IOException;
69
TempFile
createTempFile(String prefix, String suffix,
TempFile.java
27
* @version $Id:
TempFile
.java,v 1.3 2004/10/02 12:41:11 ntherning Exp $
29
public interface
TempFile
{
34
* <code>
TempFile
</code> creates a <code>FileInputStream</code> or any
36
* <code>
TempFile
</code>'s responsibility to wrap it.
47
* <code>
TempFile
</code> creates a <code>FileOutputStream</code> or any
49
* <code>
TempFile
</code>'s responsibility to wrap it.
58
* <code>
TempFile
</code>. The path may be <code>null</code> if this is
SimpleTempStorage.java
78
private
TempFile
createTempFile(TempPath parent, String prefix,
135
public
TempFile
createTempFile() throws IOException {
142
public
TempFile
createTempFile(String prefix, String suffix)
151
public
TempFile
createTempFile(String prefix, String suffix,
187
private class SimpleTempFile implements
TempFile
{
196
* @see org.apache.james.mime4j.util.
TempFile
#getInputStream()
203
* @see org.apache.james.mime4j.util.
TempFile
#getOutputStream()
210
* @see org.apache.james.mime4j.util.
TempFile
#getAbsolutePath()
224
* @see org.apache.james.mime4j.util.
TempFile
#isInMemory()
231
* @see org.apache.james.mime4j.util.
TempFile
#length(
[
all
...]
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/
TempFilesServer.java
52
private final List<
TempFile
> tempFiles;
56
this.tempFiles = new ArrayList<
TempFile
>();
64
for (
TempFile
file : this.tempFiles) {
75
public
TempFile
createTempFile(String filename_hint) throws Exception {
76
DefaultTempFile
tempFile
= new DefaultTempFile(this.tmpdir);
77
this.tempFiles.add(
tempFile
);
78
System.out.println("Created
tempFile
: " +
tempFile
.getName());
79
return
tempFile
;
/prebuilts/go/darwin-x86/src/io/ioutil/
tempfile_test.go
15
f, err :=
TempFile
("/_not_exists_", "foo")
17
t.Errorf("
TempFile
(`/_not_exists_`, `foo`) = %v, %v", f, err)
21
f, err =
TempFile
(dir, "ioutil_test")
23
t.Errorf("
TempFile
(dir, `ioutil_test`) = %v, %v", f, err)
30
t.Errorf("
TempFile
(`"+dir+"`, `ioutil_test`) created bad name %s", f.Name())
tempfile.go
18
//
TempFile
to a minimum.
38
//
TempFile
creates a new temporary file in the directory dir
41
// If dir is the empty string,
TempFile
uses the default directory
43
// Multiple programs calling
TempFile
simultaneously
47
func
TempFile
(dir, prefix string) (f *os.File, err error) {
/prebuilts/go/linux-x86/src/io/ioutil/
tempfile_test.go
15
f, err :=
TempFile
("/_not_exists_", "foo")
17
t.Errorf("
TempFile
(`/_not_exists_`, `foo`) = %v, %v", f, err)
21
f, err =
TempFile
(dir, "ioutil_test")
23
t.Errorf("
TempFile
(dir, `ioutil_test`) = %v, %v", f, err)
30
t.Errorf("
TempFile
(`"+dir+"`, `ioutil_test`) created bad name %s", f.Name())
tempfile.go
18
//
TempFile
to a minimum.
38
//
TempFile
creates a new temporary file in the directory dir
41
// If dir is the empty string,
TempFile
uses the default directory
43
// Multiple programs calling
TempFile
simultaneously
47
func
TempFile
(dir, prefix string) (f *os.File, err error) {
/external/llvm/tools/lto/
Makefile
38
TempFile
:= $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/llvm-lto.XXXXXX)
40
-Wl,-object_path_lto -Wl,$(
TempFile
)
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
TempFileBinaryBody.java
31
import org.apache.james.mime4j.util.
TempFile
;
37
* Binary body backed by a {@link org.apache.james.mime4j.util.
TempFile
}.
46
private
TempFile
tempFile
= null;
57
tempFile
= tempPath.createTempFile("attachment", ".bin");
59
OutputStream out =
tempFile
.getOutputStream();
82
return
tempFile
.getInputStream();
TempFileTextBody.java
35
import org.apache.james.mime4j.util.
TempFile
;
41
* Text body backed by a {@link org.apache.james.mime4j.util.
TempFile
}.
50
private
TempFile
tempFile
= null;
62
tempFile
= tempPath.createTempFile("attachment", ".txt");
64
OutputStream out =
tempFile
.getOutputStream();
104
return new InputStreamReader(
tempFile
.getInputStream());
107
return new InputStreamReader(
tempFile
.getInputStream(), javaCharset);
115
IOUtils.copy(
tempFile
.getInputStream(), out);
/prebuilts/go/darwin-x86/src/runtime/debug/
heapdump_test.go
18
f, err := ioutil.
TempFile
("", "heapdumptest")
20
t.Fatalf("
TempFile
failed: %v", err)
47
f, err := ioutil.
TempFile
("", "heapdumptest")
49
t.Fatalf("
TempFile
failed: %v", err)
/prebuilts/go/linux-x86/src/runtime/debug/
heapdump_test.go
18
f, err := ioutil.
TempFile
("", "heapdumptest")
20
t.Fatalf("
TempFile
failed: %v", err)
47
f, err := ioutil.
TempFile
("", "heapdumptest")
49
t.Fatalf("
TempFile
failed: %v", err)
/external/clang/tools/libclang/
Makefile
61
TempFile
:= $(shell mkdir -p ${OBJROOT}/dSYMs ; mktemp ${OBJROOT}/dSYMs/clang-lto.XXXXXX)
62
LLVMLibsOptions += -Wl,-object_path_lto -Wl,$(
TempFile
)
/prebuilts/go/darwin-x86/src/os/
error_test.go
16
f, err := ioutil.
TempFile
("", "_Go_ErrIsExist")
18
t.Fatalf("open ErrIsExist
tempfile
: %s", err)
111
f, err := ioutil.
TempFile
("", "_Go_ErrPathNUL\x00")
114
t.Fatal("
TempFile
should have failed")
116
f, err = ioutil.
TempFile
("", "_Go_ErrPathNUL")
118
t.Fatalf("open ErrPathNUL
tempfile
: %s", err)
/prebuilts/go/linux-x86/src/os/
error_test.go
16
f, err := ioutil.
TempFile
("", "_Go_ErrIsExist")
18
t.Fatalf("open ErrIsExist
tempfile
: %s", err)
111
f, err := ioutil.
TempFile
("", "_Go_ErrPathNUL\x00")
114
t.Fatal("
TempFile
should have failed")
116
f, err = ioutil.
TempFile
("", "_Go_ErrPathNUL")
118
t.Fatalf("open ErrPathNUL
tempfile
: %s", err)
/external/llvm/tools/verify-uselistorder/
verify-uselistorder.cpp
73
struct
TempFile
{
109
bool
TempFile
::init(const std::string &Ext) {
125
bool
TempFile
::writeBitcode(const Module &M) const {
138
bool
TempFile
::writeAssembly(const Module &M) const {
151
std::unique_ptr<Module>
TempFile
::readBitcode(LLVMContext &Context) const {
172
std::unique_ptr<Module>
TempFile
::readAssembly(LLVMContext &Context) const {
351
TempFile
F;
363
TempFile
F;
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
filestreamtest.cpp
88
FILE* fp =
TempFile
(filename);
unittest.h
65
inline FILE*
TempFile
(char *filename) {
/external/llvm/tools/dsymutil/
dsymutil.cpp
177
bool
TempFile
= false) {
178
if (
TempFile
) {
/prebuilts/go/darwin-x86/src/runtime/
memmove_linux_amd64_test.go
20
tmp, err := ioutil.
TempFile
("", "go-memmovetest")
Completed in 677 milliseconds
1
2
3