/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
pysource.py | 33 def _open(fullpath):
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):
51 return fullpath.endswith(".py") or fullpath.endswith(".pyw")
53 def looks_like_python(fullpath): [all...] |
findnocoding.py | 51 def needs_declaration(fullpath):
53 infile = open(fullpath, 'rU')
99 for fullpath in pysource.walk_python_files(args, is_python):
101 print "Testing for coding: %s" % fullpath
102 result = needs_declaration(fullpath)
104 print fullpath
|
/external/python/cpython2/Tools/scripts/ |
pysource.py | 33 def _open(fullpath): 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): 51 return fullpath.endswith(".py") or fullpath.endswith(".pyw") 53 def looks_like_python(fullpath) [all...] |
findnocoding.py | 52 def needs_declaration(fullpath): 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/ |
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) [all...] |
/external/ltp/testcases/kernel/controllers/libcontrollers/ |
libcontrollers.c | 53 if (lstat(fullpath, &statbuffer) < 0) { 54 error_function("Can not read stat for file ", fullpath); 64 && (strcmp(fullpath, "/dev/cpuctl/cpu.shares") != 0) 66 *shares_pointer += read_shares_file(fullpath); 73 * of fullpath to append new files names 76 path_pointer = fullpath + strlen(fullpath); 80 if ((dp = opendir(fullpath)) == NULL) { /* Error in opening directory */ 81 error_function("Can't open ", fullpath); 94 strcpy(path_pointer, dir_pointer->d_name); /* append name to fullpath */ [all...] |
libcontrollers.h | 48 char fullpath[PATH_MAX]; variable 50 char fullpath[1024]; /* Guess */ variable
|
/external/autotest/client/site_tests/kernel_CrosECSysfs/ |
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/autotest/client/cros/video/ |
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
|
chameleon_screenshot_capturer.py | 93 @returns a fullpath to the image just captured. 97 fullpath = os.path.join(self.dest_dir, filename) 103 img.crop(box).save(fullpath) 105 return fullpath
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
dynload_beos.c | 163 char fullpath[PATH_MAX];
local 175 (void)getcwd( fullpath, PATH_MAX );
176 (void)strncat( fullpath, "/", PATH_MAX );
177 (void)strncat( fullpath, pathname, PATH_MAX );
180 printf( "load_add_on( %s )\n", fullpath );
183 (void)strcpy( fullpath, pathname );
186 the_id = load_add_on( fullpath );
193 printf( "load_add_on( %s ) failed", fullpath );
199 fullpath );
203 fullpath );
[all...] |
/external/python/cpython2/Python/ |
dynload_beos.c | 163 char fullpath[PATH_MAX]; local 175 (void)getcwd( fullpath, PATH_MAX ); 176 (void)strncat( fullpath, "/", PATH_MAX ); 177 (void)strncat( fullpath, pathname, PATH_MAX ); 180 printf( "load_add_on( %s )\n", fullpath ); 183 (void)strcpy( fullpath, pathname ); 186 the_id = load_add_on( fullpath ); 193 printf( "load_add_on( %s ) failed", fullpath ); 199 fullpath ); 203 fullpath ); [all...] |
/hardware/interfaces/drm/1.0/vts/functional/ |
vendor_modules.cpp | 43 string fullpath = directory + "/" + entry->d_name; local 44 if (endsWith(fullpath, ".so")) { 45 mPathList.push_back(fullpath);
|
/external/autotest/client/profilers/powertop/src/ |
urbnum.c | 66 char fullpath[4096]; local 73 sprintf(fullpath, "%s/power/active_duration", path); 74 file = fopen(fullpath, "r"); 80 sprintf(fullpath, "%s/power/connected_duration", path); 81 file = fopen(fullpath, "r"); 100 sprintf(fullpath, "%s/product", path); 101 file = fopen(fullpath, "r"); 107 sprintf(fullpath, "%s/manufacturer", path); 108 file = fopen(fullpath, "r");
|
/external/dtc/ |
checks.c | 103 TRACE(c, "%s", node->fullpath); 175 propname, node->fullpath); 194 propname, node->fullpath); 216 child->fullpath); 231 prop->name, node->fullpath); 250 node->name[n], node->fullpath); 261 node->name[n], node->fullpath); 270 node->fullpath); 289 node->fullpath); 293 node->fullpath); [all...] |
/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
filetransfermsg.c | 211 char fullpath[PATH_MAX]; local 212 fullpath[0] = 0; 214 strncpy_s(fullpath, PATH_MAX, basePath, basePathLength); 215 strncpy_s(fullpath + basePathLength, PATH_MAX - basePathLength, winFindData.cFileName, (int)strlen(winFindData.cFileName)); 220 " list failed\n", __FILE__, __FUNCTION__, fullpath); 229 "list failed\n", __FILE__, __FUNCTION__, fullpath); 279 char fullpath[PATH_MAX]; local 281 memset(fullpath, 0, PATH_MAX); 283 strcpy(fullpath, path); 285 strcat(fullpath, "/"); [all...] |
/external/syslinux/core/fs/pxe/ |
pxe.c | 275 char fullpath[2*FILENAME_MAX]; local 290 strlcpy(fullpath, filename, sizeof fullpath); 292 strcpy(urlsave, fullpath); 294 parse_url(&url, fullpath); 296 snprintf(fullpath, sizeof fullpath, "%s%s", fs->cwd_name, filename); 298 strcpy(urlsave, fullpath); 300 parse_url(&url, fullpath);
|
/external/autotest/server/cros/dynamic_suite/ |
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/fsck_msdos/ |
dir.c | 100 static char *fullpath(struct dosDirEntry *); 170 fullpath(struct dosDirEntry *dir) function 407 fullpath(dir), dir->size, physicalSize); 419 fullpath(dir)); 591 fullpath(dir)); 717 fullpath(dir), 2); 756 fullpath(&dirent), 0); 772 fullpath(&dirent)); 798 fullpath(&dirent)); 802 fullpath(&dirent) [all...] |
/external/pdfium/core/fxge/ge/ |
cfx_folderfontinfo.cpp | 138 CFX_ByteString fullpath = path; local 140 fullpath += "\\"; 142 fullpath += "/"; 145 fullpath += filename; 146 bFolder ? ScanPath(fullpath) : ScanFile(fullpath);
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
FtpURLConnection.java | 104 String fullpath; field in class:FtpURLConnection 385 fullpath = pathname + "/" + (filename != null ? filename : ""); 387 fullpath = filename; 498 String ftype = guessContentTypeFromName(fullpath); 508 cd(fullpath); 518 throw new FileNotFoundException(fullpath); 520 throw new FileNotFoundException(fullpath);
|
/external/autotest/client/site_tests/kernel_CrosECSysfsAccel/ |
kernel_CrosECSysfsAccel.py | 36 def _read_sysfs_accel_file(cls, fullpath): 40 @param fullpath Name of the file within the accel sysfs interface 44 content = utils.read_file(fullpath)
|
/external/ltp/testcases/kernel/controllers/cpuctl/ |
cpuctl_def_task01.c | 155 if (!strncpy(fullpath, path, len)) 161 "From function scan_shares_files in %s ", fullpath);
|
cpuctl_def_task02.c | 167 if (!strncpy(fullpath, path, len)) 173 "From function scan_shares_files in %s ", fullpath);
|
cpuctl_def_task03.c | 162 if (!strncpy(fullpath, path, len)) 168 "From function scan_shares_files in %s ", fullpath);
|