/external/ltp/testcases/kernel/syscalls/pipe/ |
pipe07.c | 109 DIR *dir = opendir("/proc/self/fd"); local 113 if (dir == NULL) 116 dir_fd = dirfd(dir); 123 while ((file = readdir(dir))) { 143 closedir(dir);
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
rmdir02.c | 79 char *dir; member in struct:test_case_t 156 test_cases[4].dir = SAFE_MMAP(cleanup, 0, 1, PROT_NONE, 173 TEST(rmdir(tc->dir));
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/example/ |
SpringConfigurationTest.java | 51 String dir = ftpClient.printWorkingDirectory();
local 52 assertEquals("PWD", "foo/bar", dir);
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/example/ |
SpringConfigurationTest.java | 50 String dir = ftpClient.printWorkingDirectory();
local 51 assertEquals("PWD", "foo/bar", dir);
|
/external/python/cpython3/PCbuild/ |
build.bat | 54 set dir=%~dp0
variable 91 if "%IncludeExternals%"=="true" call "%dir%get_externals.bat"
113 call "%dir%env.bat" %vs_platf% >nul
120 del /s "%dir%\*.pgc"
121 del /s "%dir%\..\Lib\*.pyc"
123 call "%dir%\..\python.bat" %pgo_job%
132 msbuild "%dir%\pythoncore.vcxproj" /t:KillPython %verbose%^
144 msbuild "%dir%pcbuild.proj" /t:%target% %parallel% %verbose%^
156 msbuild "%dir%python.props" /t:ShowVersionInfo /v:m /nologo %1 %2 %3 %4 %5 %6 %7 %8 %9
|
/external/skia/src/pathops/ |
SkOpBuilder.cpp | 45 SkPathPriv::FirstDirection dir; local 46 if (one_contour(*path) && SkPathPriv::CheapComputeFirstDirection(*path, &dir)) { 47 if (dir != SkPathPriv::kCCW_FirstDirection) { 139 SkPathPriv::FirstDirection dir; local 140 if (!SkPathPriv::CheapComputeFirstDirection(*test, &dir)) { 145 firstDir = dir; 146 } else if (firstDir != dir) {
|
/external/skia/tests/ |
PathOpsBuilderTest.cpp | 33 SkPath::Direction dir; local 34 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); 36 REPORTER_ASSERT(reporter, dir == SkPath::kCCW_Direction); 45 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); 47 REPORTER_ASSERT(reporter, dir == SkPath::kCCW_Direction); 61 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir));
|
/external/skqp/src/pathops/ |
SkOpBuilder.cpp | 45 SkPathPriv::FirstDirection dir; local 46 if (one_contour(*path) && SkPathPriv::CheapComputeFirstDirection(*path, &dir)) { 47 if (dir != SkPathPriv::kCCW_FirstDirection) { 139 SkPathPriv::FirstDirection dir; local 140 if (!SkPathPriv::CheapComputeFirstDirection(*test, &dir)) { 145 firstDir = dir; 146 } else if (firstDir != dir) {
|
/external/skqp/tests/ |
PathOpsBuilderTest.cpp | 33 SkPath::Direction dir; local 34 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); 36 REPORTER_ASSERT(reporter, dir == SkPath::kCCW_Direction); 45 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir)); 47 REPORTER_ASSERT(reporter, dir == SkPath::kCCW_Direction); 61 REPORTER_ASSERT(reporter, result.isRect(nullptr, &closed, &dir));
|
/external/squashfs-tools/squashfs-tools/ |
unsquash-1.c | 113 squashfs_dir_inode_header_1 *inode = &header.dir; 117 memcpy(&sinode, block_ptr, sizeof(header.dir)); 121 memcpy(inode, block_ptr, sizeof(header.dir)); 204 struct dir *squashfs_opendir_1(unsigned int block_start, unsigned int offset, 215 struct dir *dir; local 222 dir = malloc(sizeof(struct dir)); 223 if(dir == NULL) 226 dir->dir_count = 0 [all...] |
unsquash-4.c | 122 struct squashfs_dir_inode_header *inode = &header.dir; 250 struct dir *squashfs_opendir_4(unsigned int block_start, unsigned int offset, 261 struct dir *dir; local 268 dir = malloc(sizeof(struct dir)); 269 if(dir == NULL) 272 dir->dir_count = 0; 273 dir->cur_entry = 0; 274 dir->mode = (*i)->mode [all...] |
/external/strace/ |
ioctlsort.c | 43 unsigned int dir; member in struct:ioctlent 92 (e->dir << _IOC_DIRSHIFT); 129 ioctls[i].dir =
|
/external/tcpdump/ |
print-sl.c | 130 int dir; local 133 dir = p[SLX_DIR]; 134 switch (dir) { 145 ND_PRINT((ndo, "Invalid direction %d ", dir)); 146 dir = -1; 172 if (dir == -1) { 178 lastlen[dir][lastconn] = length - (hlen << 2); 182 if (dir == -1) { 188 length, dir); 229 u_int length, int dir) [all...] |
/external/tensorflow/tensorflow/core/platform/hadoop/ |
hadoop_file_system_test.cc | 145 const string dir = TmpDir("CreateDirStat"); local 146 TF_EXPECT_OK(hdfs.CreateDir(dir)); 148 TF_EXPECT_OK(hdfs.Stat(dir, &stat)); 153 const string dir = TmpDir("DeleteDir"); local 154 EXPECT_FALSE(hdfs.DeleteDir(dir).ok()); 155 TF_EXPECT_OK(hdfs.CreateDir(dir)); 156 TF_EXPECT_OK(hdfs.DeleteDir(dir)); 158 EXPECT_FALSE(hdfs.Stat(dir, &stat).ok());
|
/external/tensorflow/tensorflow/core/platform/s3/ |
s3_file_system_test.cc | 177 const string dir = TmpDir("CreateDir"); local 178 TF_EXPECT_OK(s3fs.CreateDir(dir)); 180 const string file = io::JoinPath(dir, "CreateDirFile.csv"); 183 TF_EXPECT_OK(s3fs.Stat(dir, &stat)); 190 const string dir = TmpDir("DeleteDir"); local 191 const string file = io::JoinPath(dir, "DeleteDirFile.csv"); 193 EXPECT_FALSE(s3fs.DeleteDir(dir).ok()); 196 TF_EXPECT_OK(s3fs.DeleteDir(dir)); 198 EXPECT_FALSE(s3fs.Stat(dir, &stat).ok());
|
/external/tensorflow/tensorflow/core/util/ |
memmapped_file_system_test.cc | 68 const string dir = testing::TmpDir(); local 69 const string filename = io::JoinPath(dir, "memmapped_env_test"); 130 const string dir = testing::TmpDir(); local 131 const string filename = io::JoinPath(dir, "memmapped_env_corrupted_test"); 140 const string dir = testing::TmpDir(); local 141 const string filename = io::JoinPath(dir, "test_file");
|
/external/webrtc/webrtc/base/ |
optionsfile_unittest.cc | 39 Pathname dir; local 40 ASSERT(Filesystem::GetTemporaryFolder(dir, true, NULL)); 41 test_file_ = Filesystem::TempFilename(dir, ".testfile");
|
/frameworks/base/libs/androidfw/ |
ApkAssets.cpp | 232 std::string dir = local 234 dirs.insert(std::move(dir)); 243 for (const std::string& dir : dirs) { 244 f(dir, kFileTypeDirectory);
|
/frameworks/base/libs/hwui/tests/unit/ |
ShaderCacheTests.cpp | 70 DIR* dir = opendir(folderName.c_str()); local 71 if (dir) { 72 closedir(dir);
|
/frameworks/base/tools/bit/ |
make.cpp | 68 DIR* dir = opendir(base.c_str()); local 69 if (dir == NULL) { 74 while ((entry = readdir(dir)) != NULL) { 90 closedir(dir);
|
/frameworks/multidex/library/src/androidx/multidex/ |
ZipUtil.java | 57 CentralDirectory dir = findCentralDirectory(raf); local 59 return computeCrcOfCentralDir(raf, dir); 99 CentralDirectory dir = new CentralDirectory(); local 100 dir.size = Integer.reverseBytes(raf.readInt()) & 0xFFFFFFFFL; 101 dir.offset = Integer.reverseBytes(raf.readInt()) & 0xFFFFFFFFL; 102 return dir; 106 static long computeCrcOfCentralDir(RandomAccessFile raf, CentralDirectory dir) 109 long stillToRead = dir.size; 110 raf.seek(dir.offset);
|
/hardware/invensense/6515/libsensors_iio/ |
SensorBase.cpp | 155 DIR *dir; local 157 dir = opendir(dirname); 158 if(dir == NULL) 163 while((de = readdir(dir))) { 187 closedir(dir);
|
/hardware/invensense/65xx/libsensors_iio/ |
SensorBase.cpp | 152 DIR *dir; local 154 dir = opendir(dirname); 155 if(dir == NULL) 160 while((de = readdir(dir))) { 184 closedir(dir);
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
LinuxFileStore.java | 85 byte[] dir = path.asByteArray(); 87 if (Arrays.equals(dir, entry.dir())) 143 UnixPath dir = new UnixPath(file().getFileSystem(), entry().dir()); local 144 xattrEnabled = isExtendedAttributesEnabled(dir);
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
BasicFileAttributeViewCreationTimeTest.java | 127 Path dir = TestUtil.createTemporaryDirectory(); local 129 test(dir); 131 TestUtil.removeAll(dir);
|