Searched refs:zip_path (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/PC/os2emx/ |
D | getpathp.c | 266 char zip_path[MAXPATHLEN+1]; in calculate_path() local 286 strncpy(zip_path, progpath, MAXPATHLEN); in calculate_path() 287 zip_path[MAXPATHLEN] = '\0'; in calculate_path() 288 len = strlen(zip_path); in calculate_path() 290 zip_path[len-3] = 'z'; /* change ending to "zip" */ in calculate_path() 291 zip_path[len-2] = 'i'; in calculate_path() 292 zip_path[len-1] = 'p'; in calculate_path() 295 zip_path[0] = 0; in calculate_path() 321 bufsz += strlen(zip_path) + 1; in calculate_path() 345 if (zip_path[0]) { in calculate_path() [all …]
|
/external/python/cpython2/Modules/ |
D | getpath.c | 375 char zip_path[MAXPATHLEN+1]; in calculate_path() local 515 strncpy(zip_path, prefix, MAXPATHLEN); in calculate_path() 516 zip_path[MAXPATHLEN] = '\0'; in calculate_path() 518 reduce(zip_path); in calculate_path() 519 reduce(zip_path); in calculate_path() 522 strncpy(zip_path, PREFIX, MAXPATHLEN); in calculate_path() 523 joinpath(zip_path, "lib/python00.zip"); in calculate_path() 524 bufsz = strlen(zip_path); /* Replace "00" with version */ in calculate_path() 525 zip_path[bufsz - 6] = VERSION[0]; in calculate_path() 526 zip_path[bufsz - 5] = VERSION[2]; in calculate_path() [all …]
|
/external/python/cpython2/PC/ |
D | getpathp.c | 475 char zip_path[MAXPATHLEN+1]; in calculate_path() local 499 strncpy(zip_path, dllpath, MAXPATHLEN); in calculate_path() 501 strncpy(zip_path, progpath, MAXPATHLEN); in calculate_path() 502 zip_path[MAXPATHLEN] = '\0'; in calculate_path() 503 len = strlen(zip_path); in calculate_path() 505 zip_path[len-3] = 'z'; /* change ending to "zip" */ in calculate_path() 506 zip_path[len-2] = 'i'; in calculate_path() 507 zip_path[len-1] = 'p'; in calculate_path() 510 zip_path[0] = 0; in calculate_path() 556 bufsz += strlen(zip_path) + 1; in calculate_path() [all …]
|
/external/libmojo/build/android/gyp/util/ |
D | build_utils.py | 221 def ExtractAll(zip_path, path=None, no_clobber=True, pattern=None, argument 228 if not zipfile.is_zipfile(zip_path): 229 raise Exception('Invalid zip file: %s' % zip_path) 231 with zipfile.ZipFile(zip_path) as z: 246 % (zip_path, name, output_path)) 255 def AddToZipHermetic(zip_file, zip_path, src_path=None, data=None, argument 269 CheckZipPath(zip_path) 270 zipinfo = zipfile.ZipInfo(filename=zip_path, date_time=_HERMETIC_TIMESTAMP) 274 zipinfo.filename = zip_path 313 for zip_path, fs_path in input_tuples: [all …]
|
/external/libmojo/third_party/catapult/devil/devil/android/ |
D | device_utils.py | 1422 def _CreateDeviceZip(zip_path, host_device_tuples): argument 1423 with zipfile.ZipFile(zip_path, 'w') as zip_file:
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | device_utils.py | 1514 def _CreateDeviceZip(zip_path, host_device_tuples): argument 1515 with zipfile.ZipFile(zip_path, 'w') as zip_file:
|