Home
last modified time | relevance | path

Searched refs:S_IREAD (Results 1 – 22 of 22) sorted by relevance

/external/yaffs2/yaffs2/direct/
Ddtest.c23 outh = yaffs_open(yaffsName, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in copy_in_a_file()
45 outh = yaffs_open(yaffsName, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in make_a_file()
68 outh = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in make_pattern_file()
173 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in create_file_of_size()
195 h = yaffs_open(fn, O_RDONLY, S_IREAD | S_IWRITE); in verify_file_of_size()
221 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in create_resized_file_of_size()
302 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IWRITE | S_IREAD); in yaffs_device_flush_test()
378 h = yaffs_open(str, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in fill_disk()
423 h = yaffs_open(str, O_CREAT | O_TRUNC | O_RDWR,S_IREAD | S_IWRITE); in fill_files()
463 h = yaffs_open(str, O_CREAT | O_TRUNC | O_RDWR,S_IREAD | S_IWRITE); in leave_unlinked_file()
[all …]
Dyaffsfs.h134 #ifndef S_IREAD
135 #define S_IREAD 0000400 macro
Dyaffs_fileem.c85 filedisk.handle = open("yaffsemfile", O_RDWR | O_CREAT, S_IREAD | S_IWRITE); in CheckInit()
Dyaffs_fileem2k.c82 h = open(name, O_RDWR | O_CREAT, S_IREAD | S_IWRITE); in GetBlockFileHandle()
Dyaffsfs.c409 !(obj->yst_mode & S_IREAD)) in yaffs_open()
415 !(obj->yst_mode & S_IREAD)) in yaffs_open()
/external/stlport/src/details/
Dfstream_stdio.cpp52 # define S_IREAD _S_IREAD macro
94 # define S_IREAD S_IRUSR macro
98 # define _S_IREAD S_IREAD
283 switch ( mode & (S_IWRITE | S_IREAD) ) { in _M_open()
284 case S_IREAD: in _M_open()
290 case (S_IWRITE | S_IREAD): in _M_open()
/external/chromium_org/tools/gyp/test/win/win-tool/
Dgyptest-win-tool-handles-readonly-files.py26 test.chmod(f, stat.S_IREAD)
37 test.chmod(test.built_file_path(f), stat.S_IREAD)
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dsyscalls_test.cc51 ASSERT_EQ(0, mkdir("/tmp", S_IREAD | S_IWRITE)); in TEST_F()
54 result = mkdir("/tmp/bar", S_IREAD | S_IWRITE); in TEST_F()
Dkernel_proxy_test.cc268 EXPECT_EQ(0, ki_mkdir("/foo", S_IREAD | S_IWRITE)); in TEST_F()
269 EXPECT_EQ(-1, ki_mkdir("/foo", S_IREAD | S_IWRITE)); in TEST_F()
291 EXPECT_EQ(0, ki_mkdir("/foo", S_IREAD | S_IWRITE)); in TEST_F()
292 EXPECT_EQ(0, ki_mkdir("/foo/bar", S_IREAD | S_IWRITE)); in TEST_F()
293 EXPECT_EQ(0, ki_mkdir("/example", S_IREAD | S_IWRITE)); in TEST_F()
352 EXPECT_EQ(0, ki_mkdir("/foo", S_IREAD | S_IWRITE)); in TEST_F()
353 EXPECT_EQ(-1, ki_mkdir("/foo", S_IREAD | S_IWRITE)); in TEST_F()
360 EXPECT_EQ(0, ki_mkdir("/foo", S_IREAD | S_IWRITE)); in TEST_F()
518 ASSERT_EQ(0, ki_mkdir("/bar", S_IREAD | S_IWRITE)); in TEST_F()
Dkernel_wrap_test.cc681 EXPECT_EQ(0, mkdir("./foo", S_IREAD | S_IWRITE)); in TEST_F()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dosstat.h18 #define S_IREAD _S_IREAD macro
Dkernel_proxy.cc869 if (((amode & R_OK) && !(buf.st_mode & S_IREAD)) || in access()
/external/valgrind/main/none/tests/mips32/
Dbug320057-mips32.c20 (S_IREAD | S_IWRITE)); in main()
/external/qemu/android/utils/
Dmapfile.c57 if ((share_mode & S_IREAD) != 0) { in mapfile_open()
Dpath.c535 fs = open(source, S_IREAD); in path_copy_file()
/external/bison/lib/
Dsys_stat.in.h249 #if !S_IRUSR && S_IREAD
250 # define S_IRUSR S_IREAD
/external/bison/linux-lib/sys/
Dstat.h561 #if !S_IRUSR && S_IREAD
562 # define S_IRUSR S_IREAD
/external/bison/darwin-lib/sys/
Dstat.h561 #if !S_IRUSR && S_IREAD
562 # define S_IRUSR S_IREAD
/external/chromium_org/tools/gyp/test/lib/
DTestCmd.py1451 else: os.chmod(fname, stat.S_IMODE(st[stat.ST_MODE]|stat.S_IREAD))
1456 else: os.chmod(fname, stat.S_IMODE(st[stat.ST_MODE]&~stat.S_IREAD))
1502 try: os.chmod(fname, stat.S_IREAD)
/external/iputils/
Dtftpd.c311 if ((stbuf.st_mode&(S_IREAD >> 6)) == 0) { in validate_access()
/external/yaffs2/yaffs2/utils/
Dmkyaffsimage.c561 outFile = open(argv[2],O_CREAT | O_TRUNC | O_WRONLY, S_IREAD | S_IWRITE); in main()
Dmkyaffs2image.c611 outFile = open(image,O_CREAT | O_TRUNC | O_WRONLY, S_IREAD | S_IWRITE); in main()