OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:dev_zero
(Results
1 - 2
of
2
) sorted by null
/external/pcre/dist/sljit/
sljitUtils.c
166
static sljit_si
dev_zero
= -1;
variable
172
dev_zero
= open("/dev/zero", O_RDWR);
173
return
dev_zero
< 0;
185
dev_zero
= open("/dev/zero", O_RDWR);
187
return
dev_zero
< 0;
256
if (
dev_zero
< 0) {
262
base.ptr = mmap(NULL, max_limit, PROT_READ | PROT_WRITE, MAP_PRIVATE,
dev_zero
, 0);
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
filesystem_test.cc
331
ScopedNode
dev_zero
;
local
335
ASSERT_EQ(0, fs.Open(Path("/zero"), O_RDWR, &
dev_zero
));
336
ASSERT_NE(NULL_NODE,
dev_zero
.get());
337
ASSERT_EQ(0,
dev_zero
->GetStat(&buf));
343
EXPECT_EQ(0,
dev_zero
->Write(attrs, &msg[0], strlen(msg), &result_bytes));
351
EXPECT_EQ(0,
dev_zero
->Read(attrs, &buffer[0], kBufferLength, &result_bytes));
Completed in 100 milliseconds