/external/chromium-trace/trace-viewer/build/ |
fixjsstyle | 5 src_dir = os.path.join(os.path.dirname(__file__), '..') variable 7 sys.path.append(os.path.join(src_dir, 'third_party/python_gflags')) 8 sys.path.append(os.path.join(src_dir, 'third_party/closure_linter')) 13 os.chdir(src_dir)
|
gjslint | 5 src_dir = os.path.join(os.path.dirname(__file__), '..') variable 7 sys.path.append(os.path.join(src_dir, 'third_party/python_gflags')) 8 sys.path.append(os.path.join(src_dir, 'third_party/closure_linter')) 13 os.chdir(src_dir)
|
/packages/apps/Launcher3/ |
update_system_wallpaper_cropper.py | 8 src_dir = "WallpaperPicker/src/" variable 52 file_path = src_dir + file_path 55 dir = dir.replace(src_dir, "src/")
|
/bionic/libc/kernel/tools/ |
generate_uapi_headers.sh | 59 local src_dir=$1 68 for file in $(ls -d ${src_dir}/* 2> /dev/null); do 85 local src_dir=$2 91 for file in $(ls -d ${src_dir}/* 2> /dev/null); do 152 src_dir="linux-stable" 154 src_dir="common" 168 elif [[ ! -d "${KERNEL_DIR}" ]] || [[ ! -d "${KERNEL_DIR}/${src_dir}" ]]; then 169 echo "The kernel directory $KERNEL_DIR or $KERNEL_DIR/${src_dir} does not exist." 172 cd "${KERNEL_DIR}/${src_dir}" 184 copy_hdrs "${KERNEL_DIR}/${src_dir}/include/uapi" "${ANDROID_KERNEL_DIR}/uapi [all...] |
/external/chromium_org/third_party/zlib/google/ |
zip.h | 15 // Zip the contents of src_dir into dest_file. src_path must be a directory. 17 // of src_dir will be at the root level of the created zip. For each file in 18 // src_dir, include it only if the callback |filter_cb| returns true. Otherwise 21 bool ZipWithFilterCallback(const base::FilePath& src_dir, 28 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file, 34 // to the |src_dir| and will be used as the file names in the created zip file. 35 // All source paths must be under |src_dir| in the file system hierarchy. 36 bool ZipFiles(const base::FilePath& src_dir,
|
zip.cc | 29 bool AddFileToZip(zipFile zip_file, const base::FilePath& src_dir) { 30 base::File file(src_dir, base::File::FLAG_OPEN | base::File::FLAG_READ); 32 DLOG(ERROR) << "Could not open file for path " << src_dir.value(); 43 << src_dir.value(); 124 bool ZipWithFilterCallback(const base::FilePath& src_dir, 127 DCHECK(base::DirectoryExists(src_dir)); 138 base::FileEnumerator file_enumerator(src_dir, true /* recursive */, 146 if (!AddEntryToZip(zip_file, path, src_dir)) { 160 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file, 164 src_dir, dest_file, base::Bind(&ExcludeNoFilesFilter)) [all...] |
zip_unittest.cc | 122 base::FilePath src_dir = temp_dir.path().AppendASCII("input"); local 125 base::FilePath src_file = src_dir.AppendASCII("test.txt"); 128 EXPECT_TRUE(base::CreateDirectory(src_dir)); 146 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); 212 base::FilePath src_dir; local 213 ASSERT_TRUE(GetTestDataDirectory(&src_dir)); 214 src_dir = src_dir.AppendASCII("test"); 220 EXPECT_TRUE(zip::Zip(src_dir, zip_file, true)); 225 base::FilePath src_dir; local 238 base::FilePath src_dir; local 279 base::FilePath src_dir; local [all...] |
/external/chromium_org/webkit/tools/layout_tests/ |
run_webkit_tests.py | 13 src_dir = os.path.abspath(os.path.join(sys.path[0], '..', '..', '..')) 14 script_dir=os.path.join(src_dir, "third_party", "WebKit", "Tools",
|
/external/chromium_org/tools/ |
check_grd_for_unused_strings.py | 81 for src_dir in src_dirs: 82 for root, dirs, files in os.walk(src_dir): 116 src_dir = os.path.dirname(tools_dir) 129 ash_base_dir = os.path.join(src_dir, 'ash') 130 athena_strings_dir = os.path.join(src_dir, 'athena', 'strings') 131 chrome_dir = os.path.join(src_dir, 'chrome') 134 device_base_dir = os.path.join(src_dir, 'device') 135 ui_dir = os.path.join(src_dir, 'ui') 157 os.path.join(src_dir, 'extensions', 'extensions_strings.grd'), 158 os.path.join(src_dir, 'ui', 'resources', 'ui_resources.grd') [all...] |
/external/chromium_org/components/cronet/tools/ |
jar_src.py | 19 def JarSources(src_dir, jar_path): 22 # options.src_dir so the .java file paths in the jar are correct. 23 jar_cwd = src_dir 37 JarSources(options.src_dir, options.jar_path)
|
/external/chromium_org/chrome/test/nacl_test_injection/ |
find_chrome.py | 16 def FindChrome(src_dir, configs, verbose=False): 46 chrome_filename = os.path.join(src_dir, chrome) 92 src_dir = args[0] 93 chrome_path = FindChrome(src_dir, options.config, options.verbose)
|
/external/zlib/ |
update_zlib.sh | 24 src_dir=$base_dir/src 25 rm -rf $src_dir
|
/external/chromium_org/build/android/pylib/host_driven/ |
test_server.py | 82 src_dir = constants.DIR_SOURCE_ROOT 84 abs_dirs = [os.path.join(src_dir, d) for d in _PYTHONPATH_DIRS] 86 abs_dirs.extend([os.path.join(src_dir, constants.GetOutDirectory(), d) 97 cmd = ['python', os.path.join(src_dir, test_server_path),
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/compiler-runner/ |
build_compiler_runner_jar.py | 20 src_dir = 'src' variable 23 src_path = rel_to_abs(src_dir) 62 print 'Builds compiler-runner.jar from the %s directory contents' % src_dir
|
/external/chromium_org/third_party/closure_compiler/runner/ |
build_runner_jar.py | 24 src_dir = 'src' variable 26 src_path = rel_to_abs(src_dir) 71 print 'Builds runner.jar from the %s directory contents' % src_dir
|
/external/chromium_org/tools/ipc_fuzzer/mutate/ |
cf_package_builder.py | 37 src_dir = os.path.join(self.mutate_dir, os.pardir, os.pardir, os.pardir) 38 src_dir = os.path.abspath(src_dir) 39 out_dir = os.path.join(src_dir, self.args.out_dir)
|
/external/ceres-solver/scripts/ |
make_docs.py | 47 src_dir = sys.argv[1] + '/docs/source' variable 61 os.system('%s -b html -d %s %s %s' %(sphinx_exe, cache_dir, src_dir, html_dir))
|
/external/chromium_org/build/ |
download_nacl_toolchains.py | 18 src_dir = os.path.dirname(script_dir) 19 nacl_dir = os.path.join(src_dir, 'native_client')
|
/external/chromium_org/content/test/ |
PRESUBMIT.py | 19 src_dir = os.path.dirname(tools_dir) 23 input_api.os.path.join(src_dir, 'third_party', 'WebKit', 'Tools',
|
/external/chromium_org/testing/gtest/scripts/ |
gtest-config.in | 212 src_dir=`cd ${this_bindir}; cd @top_srcdir@; pwd -P` 224 gtest_cppflags="-I${build_dir}/include -I${src_dir}/include"
|
/external/protobuf/gtest/scripts/ |
gtest-config.in | 212 src_dir=`cd ${this_bindir}/@top_srcdir@; pwd -P` 224 gtest_cppflags="-I${build_dir}/include -I${src_dir}/include"
|
/external/chromium-trace/ |
systrace-legacy.py | 133 src_dir = os.path.join(script_dir, options.asset_dir, 'src') 136 js_files, js_flattenizer, css_files, templates = get_assets(src_dir, build_dir) 138 css = '\n'.join(linked_css_tag % (os.path.join(src_dir, f)) for f in css_files) 140 js += '\n'.join(linked_js_tag % (os.path.join(src_dir, f)) for f in js_files) 211 def read_asset(src_dir, filename): 212 return open(os.path.join(src_dir, filename)).read() 214 def get_assets(src_dir, build_dir): 220 load_sequence = parse_deps.calc_load_sequence(filenames, src_dir) 228 js_files.append(os.path.relpath(module.filename, src_dir)) 236 css_files.append(os.path.relpath(style_sheet.filename, src_dir)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_shutil.py | 154 src_dir = tempfile.mkdtemp() 157 write_data(os.path.join(src_dir, 'test.txt'), '123') 159 os.mkdir(os.path.join(src_dir, 'test_dir')) 160 write_data(os.path.join(src_dir, 'test_dir', 'test.txt'), '456') 163 shutil.copytree(src_dir, dst_dir) 174 os.path.join(src_dir, 'test.txt'), 176 os.path.join(src_dir, 'test_dir', 'test.txt'), 181 for path in (src_dir, 203 src_dir = tempfile.mkdtemp() 206 write_data(join(src_dir, 'test.txt'), '123' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_shutil.py | 154 src_dir = tempfile.mkdtemp() 157 write_data(os.path.join(src_dir, 'test.txt'), '123') 159 os.mkdir(os.path.join(src_dir, 'test_dir')) 160 write_data(os.path.join(src_dir, 'test_dir', 'test.txt'), '456') 163 shutil.copytree(src_dir, dst_dir) 174 os.path.join(src_dir, 'test.txt'), 176 os.path.join(src_dir, 'test_dir', 'test.txt'), 181 for path in (src_dir, 203 src_dir = tempfile.mkdtemp() 206 write_data(join(src_dir, 'test.txt'), '123' [all...] |
/external/chromium_org/content/browser/fileapi/ |
file_system_operation_impl_unittest.cc | 496 FileSystemURL src_dir(CreateDirectory("src")); 500 Move(src_dir, dest_dir, FileSystemOperation::OPTION_NONE)); 506 FileSystemURL src_dir(CreateDirectory("src")); 511 Move(src_dir, dest_file, FileSystemOperation::OPTION_NONE)); 518 FileSystemURL src_dir(CreateDirectory("src")); 523 Move(src_dir, dest_dir, FileSystemOperation::OPTION_NONE)); 529 FileSystemURL src_dir(CreateDirectory("src")); 540 FileSystemURL src_dir(CreateDirectory("src")); 542 Move(src_dir, 577 FileSystemURL src_dir(CreateDirectory("src")) [all...] |