Home
last modified time | relevance | path

Searched refs:src_path (Results 1 – 23 of 23) sorted by relevance

/external/autotest/client/cros/
Dnetwork_chroot.py231 src_path = os.path.join('/', rootdir)
233 if not os.path.exists(src_path):
235 elif os.path.islink(src_path):
236 link_path = os.readlink(src_path)
240 mount_arg = '%s,%s' % (src_path, src_path)
246 src_path = os.path.join('/', config_file)
248 if os.path.exists(src_path):
249 shutil.copyfile(src_path, dst_path)
251 for src_path, target_path in self.ROOT_SYMLINKS:
252 link_path = self.chroot_path(src_path)
/external/libxcam/tests/
Dtest-binary-kernel.cpp50 char *src_path = NULL, *bin_path = NULL; in main() local
71 src_path = optarg; in main()
89 if (!src_path || !bin_path) { in main()
98 if (src_file.open (src_path, "r") != XCAM_RETURN_NO_ERROR || in main()
105 CHECK_STATEMENT (ret, FAILED_STATEMENT, "get source sizes from %s failed", src_path); in main()
111 CHECK_STATEMENT (ret, FAILED_STATEMENT, "read source from %s failed", src_path); in main()
/external/autotest/client/tools/
Dmake_clean14 src_path = os.path.abspath(os.path.join('tests', dir, 'src'))
15 if not os.path.exists(src_path):
18 cmd = 'rm -rf ' + src_path
20 cmd = 'cd %s; make clean > /dev/null 2>&1 ' % src_path
/external/owasp/sanitizer/tools/
Dcut_release.py100 def copy_directory_structure_template(src_path, container_path): argument
103 replace_fields(os.path.basename(src_path)))
104 if os.path.isdir(src_path):
106 for child in os.listdir(src_path):
110 os.path.join(src_path, child), dest_path)
112 shutil.copyfile(src_path, dest_path)
/external/pdfium/testing/tools/
Dapi_check.py64 def _GetFunctionsFromPublicHeaders(src_path): argument
65 public_path = os.path.join(src_path, 'public')
101 src_path = os.path.dirname(os.path.dirname(os.path.dirname(script_abspath)))
102 public_functions = _GetFunctionsFromPublicHeaders(src_path)
105 api_test_path = os.path.join(src_path, api_test_relative_path)
/external/skia/third_party/icu/
Dmake_data_cpp.py29 def convert(fmt, name, src_path, dst_path): argument
31 assert os.path.exists(src_path)
32 src = iterate_as_uint32(src_path)
/external/skia/infra/bots/recipes/
Dupload_nano_results.py24 src_path = api.path['start_dir'].join('perf')
25 with api.context(cwd=src_path):
28 src_path,
Dupload_buildstats_results.py24 src_path = api.path['start_dir'].join('perf')
25 with api.context(cwd=src_path):
28 src_path,
/external/skqp/infra/bots/recipes/
Dupload_buildstats_results.py24 src_path = api.path['start_dir'].join('perf')
25 with api.context(cwd=src_path):
28 src_path,
Dupload_nano_results.py24 src_path = api.path['start_dir'].join('perf')
25 with api.context(cwd=src_path):
28 src_path,
/external/libchrome/build/android/gyp/util/
Dbuild_utils.py292 def AddToZipHermetic(zip_file, zip_path, src_path=None, data=None, argument
304 assert (src_path is None) != (data is None), (
310 if src_path and os.path.islink(src_path):
313 zip_file.writestr(zipinfo, os.readlink(src_path))
316 if src_path:
317 with file(src_path) as f:
354 AddToZipHermetic(outfile, zip_path, src_path=fs_path, compress=compress)
/external/pdfium/public/
DPRESUBMIT.py13 src_path = input_api.os_path.dirname(input_api.PresubmitLocalPath())
15 src_path, 'testing' , 'tools' , 'api_check.py')
/external/autotest/client/deps/camera_hal3/
Dcamera_hal3.py14 src_path = os.path.join(os.environ['SYSROOT'], 'usr', 'bin')
17 utils.get_file(os.path.join(src_path, binary),
/external/cldr/tools/scripts/
Dcoll2icu.py269 for src_path in glob.iglob(src_pattern):
270 basename = os.path.basename(src_path)
272 with codecs.open(src_path, "r", "UTF-8") as src:
/external/brotli/scripts/dictionary/
Dstep-04-generate-java-literals.py76 src_path = "DictionaryData.inc.java" variable
78 with open(src_path, "w") as source:
/external/swiftshader/third_party/llvm-7.0/llvm/tools/sancov/
Dcoverage-report-server.py127 src_path = None variable in ServerHandler
151 filepath = os.path.join(self.src_path, filename)
191 ServerHandler.src_path = args.srcpath
/external/autotest/utils/
Dcompile_gwt_clients.py30 src_path = os.path.join(_DEFAULT_APP_DIR, 'src')
32 for project in os.listdir(src_path):
34 project_path = os.path.join(src_path, project)
/external/syzkaller/sys/akaros/
Dsys.txt98 nbind(src_path ptr[in, filename], src_l len[src_path], onto_path ptr[in, filename], onto_l len[onto…
100 nunmount(src_path ptr[in, filename], src_l len[src_path], onto_path ptr[in, filename], onto_l len[o…
/external/tensorflow/tensorflow/contrib/ignite/kernels/igfs/
Digfs.cc286 string src_path = TranslateName(src); in RenameFile() local
295 TF_RETURN_IF_ERROR(client->Rename(&rename_response, src_path, dst_path)); in RenameFile()
298 return errors::NotFound("File ", src_path, " not found"); in RenameFile()
/external/python/cpython3/Modules/
D_winapi.c475 _winapi_CreateJunction_impl(PyObject *module, LPWSTR src_path, in _winapi_CreateJunction_impl() argument
493 if (src_path == NULL || dst_path == NULL) in _winapi_CreateJunction_impl()
496 if (wcsncmp(src_path, L"\\??\\", prefix_len) == 0) in _winapi_CreateJunction_impl()
513 if (GetFileAttributesW(src_path) == INVALID_FILE_ATTRIBUTES) in _winapi_CreateJunction_impl()
517 print_len = (USHORT)GetFullPathNameW(src_path, 0, NULL, NULL); in _winapi_CreateJunction_impl()
565 if (GetFullPathNameW(src_path, print_len + 1, in _winapi_CreateJunction_impl()
/external/python/cpython3/Modules/clinic/
D_winapi.c.h179 _winapi_CreateJunction_impl(PyObject *module, LPWSTR src_path,
186 LPWSTR src_path; in _winapi_CreateJunction() local
190 &src_path, &dst_path)) { in _winapi_CreateJunction()
193 return_value = _winapi_CreateJunction_impl(module, src_path, dst_path); in _winapi_CreateJunction()
/external/autotest/server/hosts/
Dadb_host.py845 src_path = os.path.join(tmp_dir, os.path.basename(dest))
849 source, src_path, preserve_symlinks=preserve_symlinks,
855 self.adb_run('push %s %s' % (src_path, dest))
/external/fonttools/Lib/fontTools/varLib/
D__init__.py932 def __call__(self, src_path): argument
933 fullname = os.path.abspath(src_path)