/external/e2fsprogs/intl/ |
D | bindtextdom.c | 134 const char *dirname = *dirnamep; in __libc_rwlock_define() local 136 if (dirname == NULL) in __libc_rwlock_define() 138 *dirnamep = binding->dirname; in __libc_rwlock_define() 144 char *result = binding->dirname; in __libc_rwlock_define() 145 if (strcmp (dirname, result) != 0) in __libc_rwlock_define() 147 if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0) in __libc_rwlock_define() 152 result = strdup (dirname); in __libc_rwlock_define() 154 size_t len = strlen (dirname) + 1; in __libc_rwlock_define() 157 memcpy (result, dirname, len); in __libc_rwlock_define() 163 if (binding->dirname != INTUSE(_nl_default_dirname)) in __libc_rwlock_define() [all …]
|
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io_demo/ |
D | example.js | 175 var dirname = $('opendirDirname').value; 176 postCall('opendir', dirname, function(dirname, dirhandle) { argument 177 dirhandle_map[dirhandle] = dirname; 179 addNameToSelectElements('.dir-handle', dirhandle, dirname); 180 common.logMessage('Directory ' + dirname + ' opened successfully.'); 187 var dirname = dirhandle_map[dirhandle]; 192 ') from directory ' + dirname + '.'); 200 var dirname = dirhandle_map[dirhandle]; 203 removeNameFromSelectElements('.dir-handle', dirhandle, dirname); 204 common.logMessage('Directory ' + dirname + ' closed successfully.'); [all …]
|
/external/chromium_org/chrome/test/chromeos/autotest/files/client/deps/pyauto_dep/ |
D | setup_test_links.sh | 9 ln -f -s /opt/google/chrome/chrome $(dirname $0)/chrome 10 [ -L $(dirname $0)/locales ] || ln -f -s /opt/google/chrome/locales \ 11 $(dirname $0)/locales 12 [ -L $(dirname $0)/resources ] || ln -f -s /opt/google/chrome/resources \ 13 $(dirname $0)/resources 14 ln -f -s /opt/google/chrome/*.pak $(dirname $0)/ 15 ln -f -s /opt/google/chrome/libffmpegsumo.so $(dirname $0)/libffmpegsumo.so
|
/external/lldb/examples/customization/import-python/ |
D | importcmd.py | 2 def check_has_dir_in_path(dirname): argument 3 return sys.path.__contains__(dirname); 5 def ensure_has_dir_in_path(dirname): argument 6 dirname = os.path.abspath(dirname) 7 if not (check_has_dir_in_path(dirname)): 8 sys.path.append(dirname);
|
/external/chromium_org/tools/ |
D | remove_stale_pyc_files.py | 12 for dirname, _, filenames in os.walk(base_dir): 13 if '.svn' in dirname or '.git' in dirname: 20 pyc_path = os.path.join(dirname, filename) 21 py_path = os.path.join(dirname, root + '.py') 31 os.removedirs(dirname)
|
/external/chromium_org/ppapi/tests/ |
D | test_flash_file.cc | 189 std::string dirname = "def"; in TestDeleteFileOrDir() local 205 ASSERT_TRUE(FileModuleLocal::CreateDir(instance_, dirname)); in TestDeleteFileOrDir() 206 ASSERT_TRUE(FileModuleLocal::DeleteFileOrDir(instance_, dirname, false)); in TestDeleteFileOrDir() 207 ASSERT_FALSE(FileModuleLocal::QueryFile(instance_, dirname, &unused)); in TestDeleteFileOrDir() 210 ASSERT_TRUE(FileModuleLocal::CreateDir(instance_, dirname)); in TestDeleteFileOrDir() 212 instance_, dirname + "/" + filename, in TestDeleteFileOrDir() 217 ASSERT_FALSE(FileModuleLocal::DeleteFileOrDir(instance_, dirname, false)); in TestDeleteFileOrDir() 218 ASSERT_TRUE(FileModuleLocal::DeleteFileOrDir(instance_, dirname, true)); in TestDeleteFileOrDir() 226 std::string dirname = "abc"; in TestCreateDir() local 228 ASSERT_FALSE(FileModuleLocal::QueryFile(instance_, dirname, &info)); in TestCreateDir() [all …]
|
/external/clang/tools/diag-build/ |
D | diag-build.sh | 36 if [[ -x $(dirname $0)/clang ]]; then 37 CC=$(dirname $0)/clang 49 if [[ -x $(dirname $0)/clang++ ]]; then 50 CXX=$(dirname $0)/clang++ 60 if [[ -x $(dirname $0)/diagtool ]]; then 61 diagtool=$(dirname $0)/diagtool
|
/external/ceres-solver/internal/ceres/ |
D | file.cc | 78 string JoinPath(const string& dirname, const string& basename) { in JoinPath() argument 85 if ((!basename.empty() && basename[0] == separator) || dirname.empty()) { in JoinPath() 87 } else if (dirname[dirname.size() - 1] == separator) { in JoinPath() 88 return dirname + basename; in JoinPath() 90 return dirname + string(&separator, 1) + basename; in JoinPath()
|
/external/chromium_org/tools/grit/grit/gather/ |
D | admin_template_unittest.py | 11 sys.path.append(os.path.join(os.path.dirname(__file__), '../..')) 99 dirname = tempfile.mkdtemp() 103 tool.output_directory = dirname 108 os.path.join(dirname, 'de_GoogleDesktop.adm'))) 110 os.path.join(dirname, 'de_README.txt'))) 112 for f in os.listdir(dirname): 113 os.unlink(os.path.join(dirname, f)) 114 os.rmdir(dirname)
|
/external/libedit/src/ |
D | filecomplete.c | 148 static char *filename = NULL, *dirname = NULL, *dirpath = NULL; in fn_filename_completion_function() local 170 nptr = el_realloc(dirname, (len + 1) * in fn_filename_completion_function() 173 el_free(dirname); in fn_filename_completion_function() 174 dirname = NULL; in fn_filename_completion_function() 177 dirname = nptr; in fn_filename_completion_function() 178 (void)strncpy(dirname, text, len); in fn_filename_completion_function() 179 dirname[len] = '\0'; in fn_filename_completion_function() 189 el_free(dirname); in fn_filename_completion_function() 190 dirname = NULL; in fn_filename_completion_function() 202 if (dirname == NULL) { in fn_filename_completion_function() [all …]
|
/external/elfutils/0.153/src/ |
D | ylwrap | 68 dirname=ylwrap$$ 69 trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15 70 mkdir $dirname || exit 1 72 cd $dirname 152 rm -rf $dirname
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
D | optimize_png_images.py | 44 scripts_path = os.path.dirname(os.path.abspath(__file__)) 45 devtools_path = os.path.dirname(scripts_path) 46 blink_source_path = os.path.dirname(devtools_path) 47 blink_path = os.path.dirname(blink_source_path) 48 chromium_src_path = os.path.dirname(os.path.dirname(blink_path))
|
/external/chromium_org/native_client_sdk/src/tools/ |
D | httpd.py | 22 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 23 NACL_SDK_ROOT = os.path.dirname(SCRIPT_DIR) 31 def SanityCheckDirectory(dirname): argument 32 abs_serve_dir = os.path.abspath(dirname) 78 def __init__(self, dirname, port): argument 82 args=(child_conn, dirname, port, {})) 148 def _HTTPServerProcess(conn, dirname, port, server_kwargs): argument 164 os.chdir(dirname)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
D | import-w3c-performance-wg-tests | 74 for dirname in directories_to_ignore: 75 if dirname in dirs: 76 dirs.remove(dirname) 77 for dirname in dirs: 78 os.makedirs(os.path.join(destination_directory, root, dirname))
|
/external/chromium_org/native_client_sdk/src/tools/tests/ |
D | sel_ldr_test.py | 10 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 11 PARENT_DIR = os.path.dirname(SCRIPT_DIR) 13 CHROME_SRC = os.path.dirname(os.path.dirname(os.path.dirname(PARENT_DIR)))
|
D | create_html_test.py | 11 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 12 PARENT_DIR = os.path.dirname(SCRIPT_DIR) 13 CHROME_SRC = os.path.dirname(os.path.dirname(os.path.dirname(PARENT_DIR)))
|
D | getos_test.py | 12 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 13 TOOLS_DIR = os.path.dirname(SCRIPT_DIR) 14 CHROME_SRC = os.path.dirname(os.path.dirname(os.path.dirname(TOOLS_DIR))) 40 {'NACL_SDK_ROOT': os.path.dirname(TOOLS_DIR)}) 58 self.assertEqual(getos.GetSDKPath(), os.path.dirname(TOOLS_DIR))
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
D | page_unittest.py | 45 ps = page_set.PageSet(file_path=os.path.dirname(__file__)) 60 ps = page_set.PageSet(file_path=os.path.dirname(__file__)) 68 ps = page_set.PageSet(file_path=os.path.dirname(__file__)) 76 ps = page_set.PageSet(file_path=os.path.dirname(__file__)) 84 ps = page_set.PageSet(file_path=os.path.dirname(__file__)) 92 ps = page_set.PageSet(file_path=os.path.dirname(__file__)) 100 ps = page_set.PageSet(file_path=os.path.dirname(__file__)) 108 ps = page_set.PageSet(file_path=os.path.dirname(__file__)) 114 ps = page_set.PageSet(file_path=os.path.dirname(__file__))
|
/external/chromium_org/native_client_sdk/src/build_tools/tests/ |
D | verify_ppapi_test.py | 10 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 11 BUILD_TOOLS_DIR = os.path.dirname(SCRIPT_DIR) 12 CHROME_SRC = os.path.dirname(os.path.dirname(os.path.dirname(BUILD_TOOLS_DIR))) 75 for dirname in ignored_directories: 76 filenames = os.path.join('ppapi', dirname, 'foo.cc') 77 filenames = os.path.join('ppapi', dirname, 'subdir', 'foo.h') 78 filenames = os.path.join('ppapi', dirname, 'DEPS')
|
/external/chromium_org/native_client_sdk/src/examples/api/file_io/ |
D | test.js | 122 function listDir(dirname, onDirectoryListed, onError) { argument 124 setInputValue(dirname); 128 function makeDir(dirname, onDirectoryMade, onError) { argument 130 setInputValue(dirname); 235 var dirname = '/new_directory'; 237 makeDir(dirname, function() { 241 var relativeDirname = dirname.slice(1); 245 var filename = dirname + '/file.txt';
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
D | build_paths.py | 8 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 9 SDK_SRC_DIR = os.path.dirname(SCRIPT_DIR) 13 SDK_DIR = os.path.dirname(SDK_SRC_DIR) 14 SRC_DIR = os.path.dirname(SDK_DIR)
|
/external/elfutils/0.153/config/ |
D | ylwrap | 101 dirname=ylwrap$$ 102 trap "cd '`pwd`'; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15 103 mkdir $dirname || exit 1 105 cd $dirname 210 rm -rf $dirname
|
/external/bison/build-aux/ |
D | ylwrap | 101 dirname=ylwrap$$ 102 do_exit="cd '`pwd`' && rm -rf $dirname > /dev/null 2>&1;"' (exit $ret); exit $ret' 107 mkdir $dirname || exit 1 109 cd $dirname 214 rm -rf $dirname
|
/external/lldb/test/pexpect-2.4/examples/ |
D | fix_cvs_files.py | 69 def walk_and_clean_cvs_binaries (arg, dirname, names): argument 74 if len(dirname)>3 and dirname[-3:]=='CVS': 77 fullpath = os.path.join (dirname, n)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/ |
D | baselineoptimizer_unittest.py | 114 for dirname, contents in results_by_directory.items(): 115 path = fs.join(webkit_base, 'LayoutTests', dirname, baseline_name) 121 for dirname, contents in expected_new_results_by_directory.items(): 122 path = fs.join(webkit_base, 'LayoutTests', dirname, baseline_name) 129 for dirname in results_by_directory: 130 path = fs.join(webkit_base, 'LayoutTests', dirname, baseline_name) 131 if not dirname in expected_new_results_by_directory:
|