/external/mesa3d/src/mesa/ |
SConscript | 463 if not os.path.exists(filename): 464 # create an empty file if none already exists 474 if not os.path.exists(filename) or not filecmp.cmp(tempfile, filename): 477 if os.path.exists(filename):
|
/external/oprofile/ |
opimport_pull | 10 print " -r : reuse the directory if it already exists" 45 if (os.path.exists(output_dir) and (replace_dir == 1)): 51 if os.path.exists(output_dir): 52 print "Directory already exists:", output_dir 112 if not os.path.exists(dir):
|
/external/smali/util/src/main/java/org/jf/util/ |
ClassFileNameHandler.java | 111 if (f.exists()) { 278 if (path.exists() && path.isFile()) { 282 if ((!file.exists() && !file.mkdirs())) { 301 } while(f.exists() || f2.exists()); 314 if (f2.exists()) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_shutil.py | 179 if os.path.exists(path): 184 if os.path.exists(path): 202 exists = os.path.exists 223 self.assertTrue(exists(join(dst_dir, 'test.txt'))) 224 self.assertTrue(not exists(join(dst_dir, 'test.tmp'))) 225 self.assertTrue(not exists(join(dst_dir, 'test_dir2'))) 227 if os.path.exists(dst_dir): 233 self.assertTrue(not exists(join(dst_dir, 'test.tmp'))) 234 self.assertTrue(not exists(join(dst_dir, 'test_dir2', 'subdir2')) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_shutil.py | 179 if os.path.exists(path): 184 if os.path.exists(path): 202 exists = os.path.exists 223 self.assertTrue(exists(join(dst_dir, 'test.txt'))) 224 self.assertTrue(not exists(join(dst_dir, 'test.tmp'))) 225 self.assertTrue(not exists(join(dst_dir, 'test_dir2'))) 227 if os.path.exists(dst_dir): 233 self.assertTrue(not exists(join(dst_dir, 'test.tmp'))) 234 self.assertTrue(not exists(join(dst_dir, 'test_dir2', 'subdir2')) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Images_ThumbnailsTest.java | 75 if (!camfile.exists()) { 139 assertTrue("image file does not exist", new File(imagePath).exists()); 164 assertTrue("thumbnail file does not exist", new File(thumbPath).exists()); 172 assertFalse("image file should no longer exist", new File(imagePath).exists()); 179 assertFalse("thumbnail file should no longer exist", new File(thumbPath).exists()); 190 assertTrue("image file does not exist", new File(imagePath).exists()); 193 assertFalse("image file should no longer exist", new File(imagePath).exists()); 208 assertTrue("thumbnail file does not exist", new File(thumbPath).exists()); 216 assertFalse("thumbnail file should no longer exist", new File(thumbPath).exists()); 217 assertTrue("image file should still exist", new File(imagePath).exists()); [all...] |
/external/srec/portable/src/ |
PANSIFileSystemImpl.c | 104 ESR_BOOL exists; local 157 CHKLOG(rc, PHashTableContainsKey(impl->directoryMap, key, &exists)); 158 if (exists) 287 ESR_BOOL exists; local 313 CHKLOG(rc, PHashTableContainsKey(impl->directoryMap, key, &exists)); 314 if (exists) 333 CHKLOG(rc, PHashTableContainsKey(impl->directoryMap, L(""), &exists)); 334 if (exists) 342 CHKLOG(rc, PHashTableContainsKey(PFileSystemPathMap, L(""), &exists)); 343 if (exists) [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
TrustedCertificateStore.java | 157 if (!file.exists() || isTombstone(file)) { 204 return getCertificateFile(deletedDir, x).exists(); 279 if (user.exists()) { 286 if (system.exists()) { 297 return getCertificateFile(addedDir, cert).exists(); 301 * Returns a File for where the certificate is found if it exists 304 * File.exists()} on the result. 443 // could not find a match, no file exists, bail 490 * silently ignores the certificate if it already exists in the 498 if (system.exists()) { [all...] |
FileClientSessionCache.java | 80 boolean exists = directory.exists(); 81 if (exists && !directory.isDirectory()) { 82 throw new IOException(directory + " exists but is not a directory."); 85 if (exists) { 96 throw new IOException(directory + " exists but cannot list contents."); 192 boolean existedBefore = file.exists(); 316 * @throws IOException if the file exists and is not a directory or if
|
/external/chromium_org/third_party/sqlite/src/test/ |
tester.tcl | 101 if {[info exists ::G(perm:sqlite3_args)]} { 104 if {[sqlite_orig -has-codec] && ![info exists ::do_not_use_codec]} { 109 if {[info exists ::G(perm:presql)]} { 112 if {[info exists ::G(perm:dbconfig)]} { 128 if {[info exists ::G(perm:presql)]} { 145 if {[info exists cmdlinearg]==0} { 254 if {[info exists ::SETUP_SQL]} { 262 if {[info exists TC(count)]} return 272 if {0==[info exists ::SLAVE]} { 338 if {[info exists ::G(perm:prefix)]} [all...] |
/external/clang/tools/arcmt-test/ |
arcmt-test.cpp | 275 bool exists = false; local 276 sys::fs::exists(It->second, exists); 277 if (!exists) { 281 sys::fs::exists(inputResultFname, exists); 282 if (!exists) {
|
/external/srec/shared/src/ |
SessionTypeImpl.c | 274 const LCHAR* name, ESR_BOOL* exists) 278 return HashMapContainsKey(data->value, name, exists); 308 ESR_BOOL exists; local 311 CHKLOG(rc, HashMapContainsKey(data->value, name, &exists)); 312 if ( exists ) 453 ESR_BOOL exists; local 456 CHK(rc, self->contains(self, name, &exists)); 457 if (exists) 467 ESR_BOOL exists; local 470 CHK(rc, self->contains(self, name, &exists)); 481 ESR_BOOL exists; local 495 ESR_BOOL exists; local 509 ESR_BOOL exists; local 523 ESR_BOOL exists; local 1078 ESR_BOOL exists; local [all...] |
/external/chromium_org/v8/test/cctest/ |
test-log.cc | 353 bool exists = false; local 355 i::ReadFile(initialize_logger.StopLoggingGetTempFile(), &exists, true)); 356 CHECK(exists); 395 bool exists = false; local 397 i::ReadFile(initialize_logger.StopLoggingGetTempFile(), &exists, true)); 398 CHECK(exists); 453 bool exists = false; local 455 i::ReadFile(initialize_logger.StopLoggingGetTempFile(), &exists, true)); 456 CHECK(exists);
|
/external/clang/utils/analyzer/ |
SATestBuild.py | 83 if os.path.exists(command): 101 if os.path.exists(p): 119 if not os.path.exists(ProjectMapPath): 184 if os.path.exists(ScriptPath): 204 if not os.path.exists(BuildScriptPath): 251 if os.path.exists(os.path.join(Dir, BuildScript)): 307 if (os.path.exists(BuildLogPath)) : 314 if (os.path.exists(SBOutputDir)) : 319 assert(not os.path.exists(SBOutputDir))
|
/bionic/libc/kernel/tools/ |
utils.py | 85 if os.path.exists(path): 108 if not os.path.exists(path): 130 if os.path.exists(path): 146 if os.path.exists(dst): 179 if not os.path.exists(os.path.dirname(dst)):
|
find_headers.py | 61 if not os.path.exists(kernel_root): 74 if not os.path.exists(wanted_config): 85 if os.path.exists("%s/arch/%s/include/asm" % (kernel_root, archdir)):
|
/external/chromium_org/tools/find_runtime_symbols/ |
prepare_symbol_info.py | 44 if os.path.exists(filename_err): 51 if os.path.exists(filename_out) and ( 56 if not os.path.exists(filename_out): 113 if os.path.exists(output_dir_path): 117 LOGGER.warn('A file or a directory exists at "%s".' % output_dir_path) 118 if os.path.exists(os.path.join(output_dir_path, 'files.json')):
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileTest.java | 181 assertTrue(dir.exists()); 184 assertTrue(subDir.exists()); 200 assertFalse(dir.exists()); 201 assertFalse(subDir.exists()); 234 if (tempFile.exists() && !tempFile.delete())
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
UsabilityStudyLogUtils.java | 82 if ((mFile == null || !mFile.exists()) 83 && (mDirectory != null && mDirectory.exists())) { 232 if (!destFile.exists()) { 263 if (mFile != null && mFile.exists()) { 286 if (mFile.exists()) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
file_util.py | 36 if os.path.exists(dst): 76 otherwise, it must be a filename. (If the file exists, it will be 97 # XXX if the destination file already exists, we clobber it if 100 # should probably blow up if destination exists and we would be 139 if not (os.path.exists(dst) and os.path.samefile(src, dst)): 142 if not (os.path.exists(dst) and os.path.samefile(src, dst)): 172 from os.path import exists, isfile, isdir, basename, dirname namespace 186 elif exists(dst): 188 "can't move '%s': destination '%s' already exists" %
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
file_util.py | 36 if os.path.exists(dst): 76 otherwise, it must be a filename. (If the file exists, it will be 97 # XXX if the destination file already exists, we clobber it if 100 # should probably blow up if destination exists and we would be 139 if not (os.path.exists(dst) and os.path.samefile(src, dst)): 142 if not (os.path.exists(dst) and os.path.samefile(src, dst)): 172 from os.path import exists, isfile, isdir, basename, dirname namespace 186 elif exists(dst): 188 "can't move '%s': destination '%s' already exists" %
|
/build/tools/ |
adbs | 123 if (not os.path.exists(path)): 148 if (not os.path.exists(addr2line_cmd)): 156 if (not os.path.exists(addr2line_cmd)):
|
/development/samples/BackupRestore/src/com/example/android/backuprestore/ |
BackupRestoreActivity.java | 160 boolean exists = mDataFile.exists(); 163 if (exists) { 164 Log.v(TAG, "datafile exists");
|
/external/chromium_org/build/android/ |
adb_logcat_printer.py | 16 Additionally, if a <base_dir>/LOGCAT_MONITOR_PID exists, the script 138 if not os.path.exists(monitor_pid_path): 140 if not os.path.exists('/proc/%d' % monitor_pid): 194 assert os.path.exists(base_dir), '%s does not exist' % base_dir
|
/external/chromium_org/build/android/gyp/util/ |
build_utils.py | 24 if os.path.exists(dir_path): 66 if os.path.exists(path): 128 if not os.path.exists(output):
|