/external/ipsec-tools/src/racoon/ |
policy.h | 61 u_int8_t dir; /* direction of packet flow, see blow */ member in struct:policyindex 115 (idx)->dir = (_dir); \ 128 (idx)->dir = (_dir); \
|
/external/jacoco/org.jacoco.ant/src/org/jacoco/ant/ |
AbstractCoverageTask.java | 196 * @param dir 199 public void setClassdumpdir(final File dir) { 200 agentOptions.setClassDumpDir(dir.getAbsolutePath());
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
AntJarProcessor.java | 59 protected void zipDir(File dir, ZipOutputStream zOut, String vPath, int mode) 84 String dir = file.substring(0, slash); local 85 if (dirs.add(dir)) { 86 addParentDirs(dir, zOut); 87 super.zipDir((File) null, zOut, dir + "/", ZipFileSet.DEFAULT_DIR_MODE, JAR_MARKER);
|
/external/javassist/src/main/javassist/util/proxy/ |
FactoryHelper.java | 219 String dir = filename.substring(0, pos); local 220 if (!dir.equals(".")) 221 new File(dir).mkdirs();
|
/external/kmod/tools/ |
static-nodes.c | 88 const char *dir; local 91 dir = strrchr(devname, '/'); 92 if (dir) { 94 (int)(dir - devname), devname);
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.copy/ |
copy.pass.cpp | 70 const path dir = env.create_dir("dir"); local 95 fs::copy(dir, file, ec); 98 TEST_CHECK(checkThrow(dir, file, ec)); 102 fs::copy(fifo, dir, ec); 105 TEST_CHECK(checkThrow(fifo, dir, ec)); 155 const path dir = env.create_dir("dir"); local 209 const path dir = env.create_dir("dir"); local 268 const path dir = env.create_dir("dir"); local 285 const path dir = env.create_dir("dir1"); local 306 const path dir = env.create_dir("dir1"); local [all...] |
/external/libedit/examples/ |
wtc1.c | 59 DIR *dd = opendir("."); 66 wchar_t dir[1024]; local 91 mbstowcs(dir, &dp->d_name[mblen], 92 sizeof(dir) / sizeof(*dir)); 93 if (el_winsertstr(el, dir) == -1)
|
/external/libmtp/util/ |
mtp-probe.c | 166 DIR *dir; local 179 dir = opendir(sysfspath); 180 if (!dir) 189 closedir(dir); 193 while ((dent = readdir(dir))) { 219 closedir(dir); 237 DIR *dir; local 243 dir = opendir(sysfspath) [all...] |
/external/llvm/utils/unittest/googletest/src/ |
gtest-filepath.cc | 113 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 114 // FilePath("dir/file"). If a case-insensitive extension is not 155 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 159 String dir; local 161 dir = String(c_str(), last_sep + 1 - c_str()); 163 dir = kCurrentDirectoryString; 165 return FilePath(dir); 170 // Given directory = "dir", base_name = "test", number = 0, 171 // extension = "xml", returns "dir/test.xml". If number is greater 172 // than zero (e.g., 12), returns "dir/test_12.xml" [all...] |
/external/ltp/testcases/kernel/firmware/fw_load_user/ |
fw_load.c | 52 char *dir; member in struct:fw_file_info 162 offset = (fw[i].dir) ? strlen(fw[i].dir) : 0; 182 if (fw[i].remove_dir && remove(fw[i].dir) == -1) 183 tst_resm(TWARN, "Can't remove %s", fw[i].dir); 184 free(fw[i].dir); 195 fi->dir = strdup(fw_paths[i]); 196 if (access(fi->dir, X_OK) == -1) { 197 /* create dir */ 198 SAFE_MKDIR(cleanup, fi->dir, 0755) [all...] |
/external/ltp/testcases/kernel/syscalls/fanotify/ |
fanotify04.c | 56 static char dir[BUF_SIZE]; variable 215 FAN_OPEN | FAN_ONDIR, AT_FDCWD, dir) < 0) { 219 dir); 223 open_dir(dir); 232 open_dir(dir); 247 sprintf(dir, "dir_%d", getpid()); 248 SAFE_MKDIR(dir, 0755);
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
hud_cpufreq.c | 202 DIR *dir = opendir("/sys/devices/system/cpu"); local 203 if (!dir) { 208 while ((dp = readdir(dir)) != NULL) { 236 closedir(dir);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_clip_unfilled.c | 94 brw_MUL(p, c->reg.dir, c->reg.dir, vec4(e)); 114 get_element(c->reg.dir, 2), 151 get_element(c->reg.dir, 2), 187 GLfloat iz = 1.0 / dir.z; 188 GLfloat ac = dir.x * iz; 189 GLfloat bc = dir.y * iz; 204 struct brw_reg dir = c->reg.dir; local 206 brw_math_invert(p, get_element(off, 2), get_element(dir, 2)) [all...] |
/external/minijail/ |
system.c | 224 char *dir = strdup(path); local 225 if (!dir) 229 char *p = strchr(dir + 1, '/'); 232 if (mkdir(dir, mode) && errno != EEXIST) { 233 free(dir); 244 free(dir);
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/ |
CachedDependencyResolver.java | 104 private final File dir; field in class:CachedDependencyResolver.FileCache 107 FileCache(File dir, long validTime) { 108 this.dir = dir; 115 File file = new File(dir, id); 132 try (ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(new File(dir, id)))) {
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/dependency/ |
CachedDependencyResolverFileCacheTest.java | 87 File dir = temporaryFolder.getRoot(); local 89 File dest = new File(dir, ID); 101 File dir = temporaryFolder.getRoot(); local 103 File dest = new File(dir, ID);
|
/external/selinux/libselinux/src/ |
stringrep.c | 55 DIR *dir; local 98 dir = opendir(path); 99 if (dir == NULL) 102 dentry = readdir(dir); 119 dentry = readdir(dir); 139 dentry = readdir(dir); 141 closedir(dir); 149 closedir(dir); 205 return string_to_security_class("dir"); [all...] |
/external/selinux/restorecond/ |
watch.c | 31 char *dir; member in struct:watchList 49 char *dir = dirname(x); local 73 if (strcmp(dir, ptr->dir) == 0) { 84 ptr->wd = inotify_add_watch(fd, dir, IN_CREATE | IN_MOVED_TO); 93 ptr->dir = strdup(dir); 94 if (!ptr->dir) 104 printf("%d: Dir=%s, File=%s\n", ptr->wd, ptr->dir, file) [all...] |
/external/skia/gm/ |
occludedrrectblur.cpp | 66 SkVector dir = { 0, 0 }; local 75 dir.set(-SK_ScalarRoot2Over2, -SK_ScalarRoot2Over2); 80 dir.set(SK_ScalarRoot2Over2, -SK_ScalarRoot2Over2); 85 dir.set(SK_ScalarRoot2Over2, SK_ScalarRoot2Over2); 90 dir.set(-SK_ScalarRoot2Over2, SK_ScalarRoot2Over2); 103 offset_center_to(r.roundOut(), center.fX + dist*dir.fX, center.fY + dist*dir.fY), 109 offset_center_to(r.roundOut(), center.fX + dist*dir.fX, center.fY + dist*dir.fY),
|
/external/skia/src/core/ |
SkStrokerPriv.cpp | 108 SkRotationDirection dir = kCW_SkRotationDirection; local 114 dir = kCCW_SkRotationDirection; 121 int count = SkConic::BuildUnitArc(before, after, dir, &matrix, conics);
|
/external/skia/src/gpu/effects/ |
GrConvexPolyEffect.cpp | 101 SkPathPriv::FirstDirection dir; local 105 if (!SkPathPriv::CheapComputeFirstDirection(path, &dir)) { 140 if (SkPathPriv::kCCW_FirstDirection == dir) {
|
/external/skqp/gm/ |
occludedrrectblur.cpp | 66 SkVector dir = { 0, 0 }; local 75 dir.set(-SK_ScalarRoot2Over2, -SK_ScalarRoot2Over2); 80 dir.set(SK_ScalarRoot2Over2, -SK_ScalarRoot2Over2); 85 dir.set(SK_ScalarRoot2Over2, SK_ScalarRoot2Over2); 90 dir.set(-SK_ScalarRoot2Over2, SK_ScalarRoot2Over2); 103 offset_center_to(r.roundOut(), center.fX + dist*dir.fX, center.fY + dist*dir.fY), 109 offset_center_to(r.roundOut(), center.fX + dist*dir.fX, center.fY + dist*dir.fY),
|
/external/skqp/src/core/ |
SkStrokerPriv.cpp | 108 SkRotationDirection dir = kCW_SkRotationDirection; local 114 dir = kCCW_SkRotationDirection; 121 int count = SkConic::BuildUnitArc(before, after, dir, &matrix, conics);
|
/external/skqp/src/gpu/effects/ |
GrConvexPolyEffect.cpp | 101 SkPathPriv::FirstDirection dir; local 105 if (!SkPathPriv::CheapComputeFirstDirection(path, &dir)) { 140 if (SkPathPriv::kCCW_FirstDirection == dir) {
|
/external/squashfs-tools/squashfs-tools/ |
unsquash-3.c | 148 squashfs_dir_inode_header_3 *inode = &header.dir; 152 memcpy(&sinode, block_ptr, sizeof(header.dir)); 153 SQUASHFS_SWAP_DIR_INODE_HEADER_3(&header.dir, 156 memcpy(&header.dir, block_ptr, 157 sizeof(header.dir)); 281 struct dir *squashfs_opendir_3(unsigned int block_start, unsigned int offset, 292 struct dir *dir; local 299 dir = malloc(sizeof(struct dir)); [all...] |