/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_tempfile.py | 45 def nameCheck(self, name, dir, pre, suf): argument 51 self.assertEqual(os.path.abspath(ndir), os.path.abspath(dir), 52 "file '%s' not in directory '%s'" % (name, dir)) 204 def __init__(self, dir, pre, suf, bin): argument 208 (self.fd, self.name) = tempfile._mkstemp_inner(dir, pre, suf, flags) 217 def do_create(self, dir=None, pre="", suf="", bin=1): argument 218 if dir is None: 219 dir = tempfile.gettempdir() 221 file = self.mkstemped(dir, pre, suf, bin) 225 self.nameCheck(file.name, dir, pre, suf) [all …]
|
D | test_filecmp.py | 20 self.dir = tempfile.gettempdir() 40 self.assertFalse(filecmp.cmp(self.name, self.dir), 46 self.dir = os.path.join(tmpdir, 'dir') 51 for dir in [self.dir, self.dir_same, self.dir_diff]: 52 shutil.rmtree(dir, True) 53 os.mkdir(dir) 54 if self.caseinsensitive and dir is self.dir_same: 58 output = open(os.path.join(dir, fn), 'w') 67 shutil.rmtree(self.dir) 72 self.assertTrue(filecmp.cmpfiles(self.dir, self.dir, ['file']) == [all …]
|
D | test_commands.py | 33 dir = None 35 dir = tempfile.mkdtemp() 36 name = os.path.join(dir, "foo") 41 if dir is not None: 42 os.rmdir(dir)
|
/device/generic/goldfish-opengl/system/renderControl_enc/ |
D | renderControl.attrib | 6 dir major out 8 dir minor out 12 dir buffer out 16 dir buffer out 20 dir numAttribs out 24 dir buffer out 28 dir attribs in 30 dir configs out 35 dir pixels out 39 dir pixels in [all …]
|
/device/lge/bullhead/sepolicy/ |
D | device_domain_deprecated.te | 4 allow device_domain_deprecated rootfs:dir r_dir_perms; 8 allow device_domain_deprecated system_file:dir r_dir_perms; 11 allow device_domain_deprecated vendor_file_type:dir r_dir_perms; 16 allow device_domain_deprecated apk_data_file:dir { getattr search }; 19 allow device_domain_deprecated dalvikcache_data_file:dir { search getattr }; 21 allow device_domain_deprecated cache_file:dir r_dir_perms; 25 allow device_domain_deprecated proc:dir r_dir_perms; 27 allow device_domain_deprecated sysfs:dir r_dir_perms; 29 allow device_domain_deprecated inotify:dir r_dir_perms; 31 allow device_domain_deprecated cgroup:dir r_dir_perms; [all …]
|
D | tee.te | 4 allow tee block_device:dir r_dir_perms; 10 allow tee device:dir r_dir_perms; 13 allow tee firmware_file:dir r_dir_perms; 18 allow tee persist_file:dir r_dir_perms; 21 allow tee persist_drm_file:dir create_dir_perms; 25 allow tee persist_data_file:dir create_dir_perms; 33 allow tee graphics_device:dir r_dir_perms; 45 allow tee system_data_file:dir r_dir_perms; 48 allow tee fingerprintd_data_file:dir rw_dir_perms;
|
/device/huawei/angler/sepolicy/ |
D | device_domain_deprecated.te | 4 allow device_domain_deprecated rootfs:dir r_dir_perms; 8 allow device_domain_deprecated system_file:dir r_dir_perms; 11 allow device_domain_deprecated vendor_file_type:dir r_dir_perms; 16 allow device_domain_deprecated apk_data_file:dir { getattr search }; 19 allow device_domain_deprecated dalvikcache_data_file:dir { search getattr }; 21 allow device_domain_deprecated cache_file:dir r_dir_perms; 25 allow device_domain_deprecated proc:dir r_dir_perms; 27 allow device_domain_deprecated sysfs:dir r_dir_perms; 29 allow device_domain_deprecated inotify:dir r_dir_perms; 31 allow device_domain_deprecated cgroup:dir r_dir_perms; [all …]
|
D | tee.te | 3 allow tee block_device:dir { getattr search }; 7 allow tee firmware_file:dir r_dir_perms; 10 #allow tee to access dir /data/system/users/0-N/fpdata and the file 12 allow tee fingerprintd_data_file:dir r_dir_perms; 19 allow tee persist_file:dir r_dir_perms; 20 allow tee persist_data_file:dir create_dir_perms; 22 allow tee persist_drm_file:dir rw_dir_perms; 27 allow tee system_data_file:dir r_dir_perms; 28 allow tee fingerprintd_data_file:dir create_dir_perms;
|
/device/asus/fugu/sepolicy/ |
D | device_domain_deprecated.te | 4 allow device_domain_deprecated rootfs:dir r_dir_perms; 8 allow device_domain_deprecated system_file:dir r_dir_perms; 11 allow device_domain_deprecated vendor_file_type:dir r_dir_perms; 16 allow device_domain_deprecated apk_data_file:dir { getattr search }; 19 allow device_domain_deprecated dalvikcache_data_file:dir { search getattr }; 21 allow device_domain_deprecated cache_file:dir r_dir_perms; 25 allow device_domain_deprecated proc:dir r_dir_perms; 27 allow device_domain_deprecated sysfs:dir r_dir_perms; 29 allow device_domain_deprecated inotify:dir r_dir_perms; 31 allow device_domain_deprecated cgroup:dir r_dir_perms; [all …]
|
/device/google/dragon/sepolicy/ |
D | device_domain_deprecated.te | 4 allow device_domain_deprecated rootfs:dir r_dir_perms; 8 allow device_domain_deprecated system_file:dir r_dir_perms; 11 allow device_domain_deprecated vendor_file_type:dir r_dir_perms; 16 allow device_domain_deprecated apk_data_file:dir { getattr search }; 19 allow device_domain_deprecated dalvikcache_data_file:dir { search getattr }; 21 allow device_domain_deprecated cache_file:dir r_dir_perms; 25 allow device_domain_deprecated proc:dir r_dir_perms; 27 allow device_domain_deprecated sysfs:dir r_dir_perms; 29 allow device_domain_deprecated inotify:dir r_dir_perms; 31 allow device_domain_deprecated cgroup:dir r_dir_perms; [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/ |
D | websucker.py | 79 dir, base = os.path.split(path) 80 makedirs(dir) 103 def makedirs(dir): argument 104 if not dir: 106 if os.path.exists(dir): 107 if not os.path.isdir(dir): 109 os.rename(dir, dir + ".bak") 110 os.mkdir(dir) 111 os.rename(dir + ".bak", os.path.join(dir, "index.html")) 115 head, tail = os.path.split(dir) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/ |
D | install_data.py | 58 dir = convert_path(f[0]) 59 if not os.path.isabs(dir): 60 dir = os.path.join(self.install_dir, dir) 62 dir = change_root(self.root, dir) 63 self.mkpath(dir) 69 self.outfiles.append(dir) 74 (out, _) = self.copy_file(data, dir)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | tempfile.py | 181 for dir in dirlist: 182 if dir != _os.curdir: 183 dir = _os.path.normcase(_os.path.abspath(dir)) 187 filename = _os.path.join(dir, name) 195 return dir 219 def _mkstemp_inner(dir, pre, suf, flags): argument 226 file = _os.path.join(dir, pre + name + suf) 259 def mkstemp(suffix="", prefix=template, dir=None, text=False): argument 285 if dir is None: 286 dir = gettempdir() [all …]
|
D | site.py | 80 dir = os.path.join(*paths) 82 dir = os.path.abspath(dir) 85 return dir, os.path.normcase(dir) 106 for dir in sys.path: 110 dir, dircase = makepath(dir) 112 L.append(dir) 133 for dir in sys.path: 135 if os.path.isdir(dir): 136 dir, dircase = makepath(dir) 167 dir, dircase = makepath(sitedir, line) [all …]
|
D | compileall.py | 21 def compile_dir(dir, maxlevels=10, ddir=None, argument 35 print 'Listing', dir, '...' 37 names = os.listdir(dir) 39 print "Can't list", dir 44 fullname = os.path.join(dir, name) 124 for dir in sys.path: 125 if (not dir or dir == os.curdir) and skip_curdir: 128 success = success and compile_dir(dir, maxlevels, None,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
D | rcsbump | 16 dir = rcslib.RCS() 21 files = dir.listfiles() 25 headbranch = dir.info(file)['head'] 29 if not dir.islocked(file): 30 dir.checkout(file, WITHLOCK) 33 dir.checkin((file, "%s.0" % majorrev), msg, "-f")
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
D | filelist.py | 39 def findall(self, dir=os.curdir): argument 40 self.allfiles = findall(dir) 82 patterns = dir = dir_pattern = None 97 dir = convert_path(words[1]) 110 return (action, patterns, dir, dir_pattern) 118 action, patterns, dir, dir_pattern = self._parse_template_line(line) 154 (dir, ' '.join(patterns))) 156 if not self.include_pattern(pattern, prefix=dir): 159 pattern, dir) 163 (dir, ' '.join(patterns))) [all …]
|
D | unixccompiler.py | 266 def library_dir_option(self, dir): argument 267 return "-L" + dir 272 def runtime_library_dir_option(self, dir): argument 288 return "-L" + dir 291 return ["-Wl,+s", "-L" + dir] 292 return ["+s", "-L" + dir] 294 return ["-rpath", dir] 296 return "-Wl,-R" + dir 298 return "-R" + dir 321 for dir in dirs: [all …]
|
/device/google/marlin/dataservices/datatop/src/ |
D | datatop_gen_poll.c | 155 static void dpg_construction(char *dir, char *name) in dpg_construction() argument 158 int both_len = strlen(dir) + strlen(name) + 1; in dpg_construction() 163 strlcpy(both, dir, both_len); in dpg_construction() 165 maindir = malloc(strlen(dir) + 1); in dpg_construction() 166 strlcpy(maindir, dir, strlen(dir) + 1); in dpg_construction() 221 static int dtop_search(char *dir) in dtop_search() argument 233 dp = opendir(dir); in dtop_search() 236 fprintf(stderr, "Cannot open directory: %s\n", dir); in dtop_search() 240 chdir(dir); in dtop_search() 252 dpg_construction(dir, entry->d_name); in dtop_search() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/ |
D | site.py | 87 dir = os.path.join(*paths) 89 dir = os.path.abspath(dir) 92 return dir, os.path.normcase(dir) 113 for dir in sys.path: 117 dir, dircase = makepath(dir) 119 L.append(dir) 128 for dir in sys.path: 130 if os.path.isdir(dir): 131 dir, dircase = makepath(dir) 162 dir, dircase = makepath(sitedir, line) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/ |
D | regrtest.py | 31 def compile_files(dir): argument 32 print "Compiling", dir, "\n\t", 34 for file in os.listdir(dir): 37 source = os.path.join(dir, file) 53 path = os.path.join(dir, file) 67 def cleanup(dir): argument 68 os.system("rm -rf %s" % dir)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/ |
D | site.py | 89 dir = os.path.join(*paths) 91 dir = os.path.abspath(dir) 94 return dir, os.path.normcase(dir) 115 for dir in sys.path: 119 dir, dircase = makepath(dir) 121 L.append(dir) 130 for dir in sys.path: 132 if os.path.isdir(dir): 133 dir, dircase = makepath(dir) 164 dir, dircase = makepath(sitedir, line) [all …]
|
/device/google/marlin/sepolicy/ |
D | tee.te | 4 allow tee device:dir r_dir_perms; 8 allow tee block_device:dir r_dir_perms; 14 allow tee system_data_file:dir r_dir_perms; 15 allow tee fingerprintd_data_file:dir rw_dir_perms; 20 allow tee persist_data_file:dir create_dir_perms;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | compileall.py | 21 def compile_dir(dir, maxlevels=10, ddir=None, argument 35 print 'Listing', dir, '...' 37 names = os.listdir(dir) 39 print "Can't list", dir 44 fullname = os.path.join(dir, name) 124 for dir in sys.path: 125 if (not dir or dir == os.curdir) and skip_curdir: 128 success = success and compile_dir(dir, maxlevels, None,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/versioncheck/ |
D | checkversions.py | 25 def check1dir(dummy, dir, files): argument 27 fullname = os.path.join(dir, CHECKNAME) 48 for dir in arguments: 49 walk1tree(dir)
|