/external/python/cpython2/Tools/scripts/ |
D | pysource.py | 33 def _open(fullpath): argument 35 size = os.stat(fullpath).st_size 37 print_debug("%s: permission denied: %s" % (fullpath, err)) 41 print_debug("%s: the file is too big: %d bytes" % (fullpath, size)) 45 return open(fullpath, 'rU') 47 print_debug("%s: access denied: %s" % (fullpath, err)) 50 def has_python_ext(fullpath): argument 51 return fullpath.endswith(".py") or fullpath.endswith(".pyw") 53 def looks_like_python(fullpath): argument 54 infile = _open(fullpath) [all …]
|
D | findnocoding.py | 52 def needs_declaration(fullpath): argument 54 infile = open(fullpath, 'rU') 101 for fullpath in pysource.walk_python_files(args, is_python): 103 print "Testing for coding: %s" % fullpath 104 result = needs_declaration(fullpath) 106 print fullpath
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
D | common.h | 45 char fullpath[PATH_MAX]; \ 53 snprintf(fullpath, sizeof(fullpath), "%s%s", basepath, \ 55 pathlen = strlen(fullpath); \ 57 if ((dp = opendir(fullpath)) == NULL) \ 64 if (fullpath[pathlen - 1] == '/') { \ 65 fullpath[pathlen - 1] = '\0'; \ 68 sprintf(fullpath + pathlen, "/%s", direntp->d_name); \ 69 stat(fullpath, &st); \ 75 fullpath + start);
|
/external/python/cpython2/Python/ |
D | dynload_beos.c | 163 char fullpath[PATH_MAX]; in _PyImport_GetDynLoadFunc() local 175 (void)getcwd( fullpath, PATH_MAX ); in _PyImport_GetDynLoadFunc() 176 (void)strncat( fullpath, "/", PATH_MAX ); in _PyImport_GetDynLoadFunc() 177 (void)strncat( fullpath, pathname, PATH_MAX ); in _PyImport_GetDynLoadFunc() 180 printf( "load_add_on( %s )\n", fullpath ); in _PyImport_GetDynLoadFunc() 183 (void)strcpy( fullpath, pathname ); in _PyImport_GetDynLoadFunc() 186 the_id = load_add_on( fullpath ); in _PyImport_GetDynLoadFunc() 193 printf( "load_add_on( %s ) failed", fullpath ); in _PyImport_GetDynLoadFunc() 199 fullpath ); in _PyImport_GetDynLoadFunc() 203 fullpath ); in _PyImport_GetDynLoadFunc() [all …]
|
/external/ltp/testcases/kernel/controllers/libcontrollers/ |
D | libcontrollers.c | 53 if (lstat(fullpath, &statbuffer) < 0) { in scan_shares_files() 54 error_function("Can not read stat for file ", fullpath); in scan_shares_files() 64 && (strcmp(fullpath, "/dev/cpuctl/cpu.shares") != 0) in scan_shares_files() 66 *shares_pointer += read_shares_file(fullpath); in scan_shares_files() 76 path_pointer = fullpath + strlen(fullpath); in scan_shares_files() 80 if ((dp = opendir(fullpath)) == NULL) { /* Error in opening directory */ in scan_shares_files() 81 error_function("Can't open ", fullpath); in scan_shares_files() 107 error_function("Could not close dir ", fullpath); in scan_shares_files()
|
D | libcontrollers.h | 48 char fullpath[PATH_MAX]; variable 50 char fullpath[1024]; /* Guess */ variable
|
/external/dtc/ |
D | checks.c | 103 TRACE(c, "%s", node->fullpath); in check_nodes_props() 175 propname, node->fullpath); in check_is_string() 194 propname, node->fullpath); in check_is_cell() 216 child->fullpath); in check_duplicate_node_names() 231 prop->name, node->fullpath); in check_duplicate_property_names() 250 node->name[n], node->fullpath); in check_node_name_chars() 261 node->name[n], node->fullpath); in check_node_name_chars_strict() 270 node->fullpath); in check_node_name_format() 289 node->fullpath); in check_unit_address_vs_reg() 293 node->fullpath); in check_unit_address_vs_reg() [all …]
|
/external/autotest/client/profilers/powertop/src/ |
D | urbnum.c | 66 char fullpath[4096]; in update_urbnum() local 73 sprintf(fullpath, "%s/power/active_duration", path); in update_urbnum() 74 file = fopen(fullpath, "r"); in update_urbnum() 80 sprintf(fullpath, "%s/power/connected_duration", path); in update_urbnum() 81 file = fopen(fullpath, "r"); in update_urbnum() 100 sprintf(fullpath, "%s/product", path); in update_urbnum() 101 file = fopen(fullpath, "r"); in update_urbnum() 107 sprintf(fullpath, "%s/manufacturer", path); in update_urbnum() 108 file = fopen(fullpath, "r"); in update_urbnum()
|
/external/autotest/client/site_tests/kernel_CrosECSysfs/ |
D | kernel_CrosECSysfs.py | 39 fullpath = os.path.join(self.sysfs_path, filename) 40 return self._read_file(fullpath) 49 fullpath = os.path.join(self.sysfs_path, filename) 50 content = self._read_file(fullpath) 53 raise error.TestFail("no '%s' field in %s" % (field, fullpath))
|
/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
D | filetransfermsg.c | 211 char fullpath[PATH_MAX]; in CreateFileListInfo() local 212 fullpath[0] = 0; in CreateFileListInfo() 214 strncpy_s(fullpath, PATH_MAX, basePath, basePathLength); in CreateFileListInfo() 215 …strncpy_s(fullpath + basePathLength, PATH_MAX - basePathLength, winFindData.cFileName, (int)strlen… in CreateFileListInfo() 220 " list failed\n", __FILE__, __FUNCTION__, fullpath); in CreateFileListInfo() 229 "list failed\n", __FILE__, __FUNCTION__, fullpath); in CreateFileListInfo() 279 char fullpath[PATH_MAX]; in CreateFileListInfo() local 281 memset(fullpath, 0, PATH_MAX); in CreateFileListInfo() 283 strcpy(fullpath, path); in CreateFileListInfo() 285 strcat(fullpath, "/"); in CreateFileListInfo() [all …]
|
/external/autotest/client/cros/video/ |
D | import_screenshot_capturer.py | 50 fullpath = os.path.join(self.destination_dir, filename) 55 graphics_utils.take_screenshot_crop_by_height(fullpath, 60 return fullpath
|
D | chameleon_screenshot_capturer.py | 97 fullpath = os.path.join(self.dest_dir, filename) 103 img.crop(box).save(fullpath) 105 return fullpath
|
/external/fsck_msdos/ |
D | dir.c | 100 static char *fullpath(struct dosDirEntry *); 170 fullpath(struct dosDirEntry *dir) in fullpath() function 407 fullpath(dir), dir->size, physicalSize); in checksize() 419 fullpath(dir)); in checksize() 591 fullpath(dir)); in readDosDirSection() 717 fullpath(dir), 2); in readDosDirSection() 756 fullpath(&dirent), 0); in readDosDirSection() 772 fullpath(&dirent)); in readDosDirSection() 798 fullpath(&dirent)); in readDosDirSection() 802 fullpath(&dirent), in readDosDirSection() [all …]
|
/external/autotest/client/tests/unixbench/ |
D | unixbench.patch | 42 - execl(fullpath, fullpath, "0", dur_str, count_str, start_str, 0); 43 + execl(fullpath, fullpath, "0", dur_str, count_str, start_str, (char *)0);
|
/external/syslinux/core/fs/pxe/ |
D | pxe.c | 275 char fullpath[2*FILENAME_MAX]; in __pxe_searchdir() local 290 strlcpy(fullpath, filename, sizeof fullpath); in __pxe_searchdir() 292 strcpy(urlsave, fullpath); in __pxe_searchdir() 294 parse_url(&url, fullpath); in __pxe_searchdir() 296 snprintf(fullpath, sizeof fullpath, "%s%s", fs->cwd_name, filename); in __pxe_searchdir() 298 strcpy(urlsave, fullpath); in __pxe_searchdir() 300 parse_url(&url, fullpath); in __pxe_searchdir()
|
/external/autotest/server/cros/dynamic_suite/ |
D | control_file_getter.py | 203 fullpath = os.path.join(directory, name) 204 if os.path.isfile(fullpath): 207 self._files.append(fullpath) 208 elif os.path.isdir(fullpath): 209 directories.append(fullpath)
|
/external/valgrind/memcheck/tests/ |
D | badfree3.vgtest | 2 vgopts: -q --fullpath-after=memcheck/ --fullpath-after=coregrind/
|
D | varinfo5.vgtest | 2 vgopts: --fullpath-after=memcheck/ --fullpath-after=coregrind/ --read-var-info=yes --read-inline-i…
|
/external/pdfium/core/fxge/ge/ |
D | cfx_folderfontinfo.cpp | 138 CFX_ByteString fullpath = path; in ScanPath() local 140 fullpath += "\\"; in ScanPath() 142 fullpath += "/"; in ScanPath() 145 fullpath += filename; in ScanPath() 146 bFolder ? ScanPath(fullpath) : ScanFile(fullpath); in ScanPath()
|
/external/autotest/client/cros/graphics/ |
D | graphics_utils.py | 424 def take_screenshot_crop_by_height(fullpath, final_height, x_offset_pixels, argument 445 cropped.save(fullpath) 446 return fullpath 449 def take_screenshot_crop_x(fullpath, box=None): argument 465 utils.system('%s %s' % (cmd, fullpath)) 474 def take_screenshot_crop(fullpath, box=None, crtc_id=None): argument 486 image.save(fullpath) 487 return fullpath
|
/external/pdfium/core/fxge/android/ |
D | cfpf_skiafontmgr.cpp | 439 CFX_ByteString fullpath(path); in ScanPath() local 440 fullpath += "/"; in ScanPath() 441 fullpath += filename; in ScanPath() 443 ScanPath(fullpath); in ScanPath() 445 ScanFile(fullpath); in ScanPath()
|
/external/ltp/testcases/kernel/controllers/cpuctl/ |
D | cpuctl_def_task01.c | 155 if (!strncpy(fullpath, path, len)) in main() 161 "From function scan_shares_files in %s ", fullpath); in main()
|
D | cpuctl_test04.c | 178 if (!strncpy(fullpath, path, len)) in main() 184 "From function scan_shares_files in %s ", fullpath); in main()
|
D | cpuctl_def_task02.c | 167 if (!strncpy(fullpath, path, len)) in main() 173 "From function scan_shares_files in %s ", fullpath); in main()
|
/external/autotest/client/site_tests/kernel_CrosECSysfsAccel/ |
D | kernel_CrosECSysfsAccel.py | 36 def _read_sysfs_accel_file(cls, fullpath): argument 44 content = utils.read_file(fullpath)
|