/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
H A D | handlefiletransferrequest.c | 66 * for Xvnc. This sets the ftproot to the Home dir of the user running the Xvnc 106 DIR* dir = NULL; local 128 if((dir = opendir(path)) == NULL) { 134 closedir(dir); 135 dir = NULL; 251 * In case of dir open failure an empty list will be sent, just the header of 275 rfbLog("File [%s]: Method [%s]: Socket error while reading dir name" 295 rfbLog("File [%s]: Method [%s]: Socket error while reading dir name\n", 362 rfbLog("File [%s]: Method [%s]: Error while reading dir name length\n", 385 rfbLog("File [%s]: Method [%s]: Error while reading dir nam [all...] |
/external/libvpx/libvpx/third_party/googletest/src/src/ |
H A D | gtest-filepath.cc | 121 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 122 // FilePath("dir/file"). If a case-insensitive extension is not 164 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 168 std::string dir; local 170 dir = std::string(c_str(), last_sep + 1 - c_str()); 172 dir = kCurrentDirectoryString; 174 return FilePath(dir); 179 // Given directory = "dir", base_name = "test", number = 0, 180 // extension = "xml", returns "dir/test.xml". If number is greater 181 // than zero (e.g., 12), returns "dir/test_1 [all...] |
/external/llvm/utils/unittest/googletest/src/ |
H A D | 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_1 [all...] |
/external/ltp/testcases/kernel/controllers/cgroup_xattr/ |
H A D | cgroup_xattr.c | 52 char dir[MAX_DIR_NAME]; member in struct:cgrp_option 194 SAFE_CHDIR(cleanup, cgrp_opt[i].dir); 230 tst_brkm(TBROK, NULL, "Failed to close dir\n"); 239 SAFE_CHDIR(NULL, cgrp_opt[i].dir); 242 "Can't remove dir"); 247 if (umount(cgrp_opt[i].dir) == -1) { 249 "Can't unmount: %s", cgrp_opt[i].dir); 312 char dir[MAX_DIR_NAME]; local 316 snprintf(opt->dir, MAX_DIR_NAME, "cgx_%d", opt->hier); 317 SAFE_MKDIR(cleanup, opt->dir, 075 404 DIR *dir = opendir(path); local [all...] |
/external/ltp/testcases/kernel/firmware/fw_load_user/ |
H A D | 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, 075 [all...] |
/external/ltp/testcases/kernel/fs/ftest/ |
H A D | ftest02.c | 319 char dir[MAXPATHLEN], fname[MAXPATHLEN], savedir[MAXPATHLEN]; local 321 ft_mkname(dir, dirname, me, count); 322 rmdir(dir); 323 unlink(dir); 325 val = mkdir(dir, 0755); 326 warn(val, "mkdir", dir); 334 val = chdir(dir); 335 warn(val, "chdir", dir); 343 val = rmdir(dir); 348 dir); [all...] |
/external/ltp/testcases/kernel/fs/proc/ |
H A D | proc01.c | 243 DIR *dir = NULL; /* pointer to a directory */ local 284 } else if ((dir = opendir(obj)) == NULL) { 295 for (dir_ent = (struct dirent *)readdir(dir); 297 dir_ent = (struct dirent *)readdir(dir)) { 327 if (dir) 328 (void)closedir(dir); 334 } else { /* if it's not a dir, read it! */
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify04.c | 62 static char dir[BUF_SIZE]; variable 232 FAN_OPEN | FAN_ONDIR, AT_FDCWD, dir) < 0) { 236 dir); 240 open_dir(dir); 249 open_dir(dir); 273 sprintf(dir, "dir_%d", getpid()); 274 SAFE_MKDIR(cleanup, dir, 0755);
|
/external/ltp/testcases/network/nfsv4/acl/ |
H A D | acl1.c | 300 void test_acl_default(char *dir, acl_t acl) argument 308 res = acl_set_file(dir, ACL_TYPE_DEFAULT, acl); 309 acl1 = acl_get_file(dir, ACL_TYPE_DEFAULT); 311 printf("path = %s **** errno = %d", dir, errno); 312 char *path = strcat(dir, "/testfile"); 318 strcat(cmd, dir);
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_graph.h | 79 EdgeIterator(Graph::Edge *first, int dir, bool reverse) argument 80 : d(dir), rev(reverse)
|
/external/mesa3d/src/gtest/src/ |
H A D | gtest-filepath.cc | 115 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 116 // FilePath("dir/file"). If a case-insensitive extension is not 157 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 161 String dir; local 163 dir = String(c_str(), last_sep + 1 - c_str()); 165 dir = kCurrentDirectoryString; 167 return FilePath(dir); 172 // Given directory = "dir", base_name = "test", number = 0, 173 // extension = "xml", returns "dir/test.xml". If number is greater 174 // than zero (e.g., 12), returns "dir/test_1 [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_clip.h | 95 struct brw_reg dir; member in struct:brw_clip_compile::__anon15069
|
/external/protobuf/gtest/src/ |
H A D | gtest-filepath.cc | 115 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 116 // FilePath("dir/file"). If a case-insensitive extension is not 157 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 161 String dir; local 163 dir = String(c_str(), last_sep + 1 - c_str()); 165 dir = kCurrentDirectoryString; 167 return FilePath(dir); 172 // Given directory = "dir", base_name = "test", number = 0, 173 // extension = "xml", returns "dir/test.xml". If number is greater 174 // than zero (e.g., 12), returns "dir/test_1 [all...] |
/external/selinux/libselinux/src/ |
H A D | 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");
|
/external/selinux/policycoreutils/sestatus/ |
H A D | sestatus.c | 64 DIR *dir; local 68 if (!(dir = opendir(PROC_BASE))) { 73 while ((de = readdir(dir)) != NULL) { 84 closedir(dir);
|
/external/skia/experimental/SkV8Example/ |
H A D | Path2DBuilder.cpp | 212 SkPath::Direction dir = SkPath::kCW_Direction; local 214 dir = SkPath::kCCW_Direction; 224 path->fSkPath.addOval(rect, dir);
|
/external/skia/gm/ |
H A D | convex_all_line_paths.cpp | 175 static SkPath GetPath(int index, SkPath::Direction dir) { argument 230 if (SkPath::kCW_Direction == dir) { 251 SkASSERT(SkPathPriv::AsFirstDirection(dir) == actualDir); 367 static void GetPath(int index, SkPath::Direction dir, argument 373 if (SkPath::kCW_Direction == dir) { 424 if (SkPath::kCCW_Direction == dir) {
|
H A D | 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/include/core/ |
H A D | SkLights.h | 47 static Light MakeDirectional(const SkColor3f& color, const SkVector3& dir, argument 49 Light light(kDirectional_LightType, color, dir, isRadial); 63 const SkVector3& dir() const { function in class:SkLights::Light
|
/external/skia/src/core/ |
H A D | SkStrokerPriv.cpp | 107 SkRotationDirection dir = kCW_SkRotationDirection; local 113 dir = kCCW_SkRotationDirection; 120 int count = SkConic::BuildUnitArc(before, after, dir, &matrix, conics);
|
/external/skia/src/gpu/ |
H A D | GrShape.h | 64 GrShape(const SkRRect& rrect, SkPath::Direction dir, unsigned start, bool inverted, argument 71 fRRectData.fDir = dir; 136 bool asRRect(SkRRect* rrect, SkPath::Direction* dir, unsigned* start, bool* inverted) const { argument 143 if (dir) { 144 *dir = fRRectData.fDir; 401 SkPath::Direction* dir) { 402 *dir = kDefaultRRectDir; 418 *dir = SkPath::kCCW_Direction; 422 *dir = SkPath::kCCW_Direction; 430 SkPath::Direction* dir) { 400 DefaultRectDirAndStartIndex(const SkRect& rect, bool hasPathEffect, SkPath::Direction* dir) argument 429 DefaultRRectDirAndStartIndex(const SkRRect& rrect, bool hasPathEffect, SkPath::Direction* dir) argument [all...] |
/external/skia/src/gpu/effects/ |
H A D | GrConvexPolyEffect.cpp | 248 SkPathPriv::FirstDirection dir; local 252 if (!SkPathPriv::CheapComputeFirstDirection(path, &dir)) { 287 if (SkPathPriv::kCCW_FirstDirection == dir) {
|
H A D | GrGaussianConvolutionFragmentProcessor.cpp | 228 Direction dir; local 230 dir = kX_Direction; 234 dir = kY_Direction; 244 dir, radius, sigma, useBounds, bounds);
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
H A D | gtest-filepath.cc | 115 // Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns 116 // FilePath("dir/file"). If a case-insensitive extension is not 157 // not have a file, like "just/a/dir/", it returns the FilePath unmodified. 161 String dir; local 163 dir = String(c_str(), last_sep + 1 - c_str()); 165 dir = kCurrentDirectoryString; 167 return FilePath(dir); 172 // Given directory = "dir", base_name = "test", number = 0, 173 // extension = "xml", returns "dir/test.xml". If number is greater 174 // than zero (e.g., 12), returns "dir/test_1 [all...] |
/external/syslinux/com32/lua/src/ |
H A D | lfs.c | 14 ** lfs.dir (path) 48 DIR *dir; member in struct:dir_data 60 DIR *dir = opendir (path); local 61 if (!dir) return -1; 62 closedir (dir); 122 if ((entry = readdir (d->dir)) != NULL) { 127 closedir (d->dir); 139 if (!d->closed && d->dir) { 140 closedir (d->dir); 158 d->dir [all...] |