/external/autotest/client/site_tests/security_Minijail0/src/ |
mountns-enter-child.py | 9 test_file = sys.argv[1] variable 11 # We entered a mount namespace where |test_file| should not be accessible. 12 if os.access(test_file, os.F_OK):
|
mountns-enter.py | 16 test_file = os.path.join(tmpdir, "test") variable 17 with open(test_file, "w") as t: 22 sys.executable, child_path, test_file])
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-scripts/ |
include.exp | 33 foreach test_file $test_list { 34 set test_name [file rootname $test_file]
|
rgn-at.exp | 28 foreach test_file $test_list { 29 set test_name [file rootname $test_file]
|
rgn-over.exp | 33 foreach test_file $test_list { 34 set test_name [file rootname $test_file] 39 if { ! [regexp ".*-ok.d" $test_file] } { 44 if [regexp_diff $map_file $test_file] {
|
/external/clang/bindings/python/tests/cindex/ |
test_file.py | 3 def test_file(): function
|
/external/autotest/client/site_tests/audio_SeekAudioFeedback/ |
audio_SeekAudioFeedback.py | 25 def run_once(self, test_file, test_duration): 42 self.rms_test(tab, test_file, noiseprof_file.name, test_duration) 46 def rms_test(self, tab, test_file, noiseprof_file, test_duration): 47 logging.info('rms test on media file %s.', test_file) 52 # Plays the test_file in the browser and seek 6 times. 54 self.play_media(tab, test_file, x) 75 self._rms_values['%s_rms_value' % test_file.replace('.', '_')]=rms 85 def play_media(self, tab, test_file, value): 88 @param test_file: Media file to test. 91 tab.EvaluateJavaScript('play("%s")' % test_file) [all...] |
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
object_unittest.cc | 41 Sized_object_test(const unsigned char* test_file, unsigned int test_file_size) 46 Input_file input_file(task, "test.o", test_file, test_file_size); 48 test_file, test_file_size, NULL);
|
/external/autotest/server/site_tests/android_ACTS/ |
android_ACTS.py | 53 test_case=None, test_file=None): 56 Exactly one of test_case and test_file should be provided. 63 @param test_file: A string that's passed to act.py's -tf option. 72 if test_file: 73 self.fetch_file(test_file, TEST_CAMPAIGN_FILE_FOLDER) 80 elif test_file: 82 os.path.join(self.ts_tempfolder, os.path.basename(test_file)))
|
/external/libchrome/base/files/ |
file_path_watcher_unittest.cc | 178 FilePath test_file() { function in class:base::__anon14254::FilePathWatcherTest 231 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); 233 ASSERT_TRUE(WriteFile(test_file(), "content")); 240 ASSERT_TRUE(WriteFile(test_file(), "content")); 244 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); 247 ASSERT_TRUE(WriteFile(test_file(), "new content")); 259 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); 262 ASSERT_TRUE(base::Move(source_file, test_file())); 268 ASSERT_TRUE(WriteFile(test_file(), "content")); 272 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)) [all...] |
/external/webrtc/webrtc/modules/audio_processing/transient/ |
wpd_tree_unittest.cc | 126 rtc::scoped_ptr<FileWrapper> test_file(FileWrapper::Create()); 128 test_file->OpenFile(test_file_name.c_str(), 133 bool file_opened = test_file->Open(); 146 size_t file_samples_read = ReadInt16FromFileToFloatBuffer(test_file.get(), 188 file_samples_read = ReadInt16FromFileToFloatBuffer(test_file.get(), 199 test_file->CloseFile();
|
/development/testrunner/test_defs/ |
gtest.py | 89 for test_file in test_file_list: 90 logger.SilentLog('Creating gtest suite for file %s' % test_file) 93 # expect tests in /data/nativetest/test_file/test_file 94 suite.SetTargetExecPath(os.path.join(target_root_path, test_file, test_file))
|
/external/vboot_reference/tests/ |
gen_test_cases.sh | 12 TEST_FILE=${TESTCASE_DIR}/test_file 24 openssl dgst -${hashalgo} -binary ${TEST_FILE} > \ 25 ${TEST_FILE}.${hashalgo}.digest 27 ${TEST_FILE} | openssl rsautl \ 29 > ${TEST_FILE}.rsa${keylen}_${hashalgo}.sig 38 dd if=/dev/urandom of=${TEST_FILE} bs=${TEST_FILE_SIZE} count=1
|
run_rsa_tests.sh | 15 TEST_FILE=${TESTCASE_DIR}/test_file 26 ${TEST_FILE}.rsa${keylen}_${hashalgo}.sig \ 27 ${TEST_FILE}
|
vb2_rsa_tests.sh | 15 TEST_FILE=${TESTCASE_DIR}/test_file 26 ${TEST_FILE}.rsa${keylen}_${hashalgo}.sig \ 27 ${TEST_FILE}
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
common_unittest_utils.py | 44 with open(filepath) as test_file: 45 return mtb.MtbParser().parse(test_file)
|
/external/autotest/client/site_tests/login_Cryptohome/ |
login_Cryptohome.py | 38 test_file = os.path.join(cryptohome.user_path(TEST_USER), 'hello') 39 open(test_file, 'w').close() 46 if os.path.exists(test_file):
|
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
full_test.py | 112 for test_file in test_files: 113 resource_path = os.path.join(_RESOURCE_PREFIX, test_file)
|
not_strict_test.py | 66 for test_file in test_files: 67 resource_path = os.path.join(_RESOURCE_PREFIX, test_file)
|
/external/google-breakpad/src/common/linux/ |
memory_mapped_file_unittest.cc | 86 string test_file = temp_dir.path() + "/empty_file"; local 87 ASSERT_TRUE(WriteFile(test_file.c_str(), NULL, 0)); 90 MemoryMappedFile mapped_file(test_file.c_str(), 0); 95 EXPECT_TRUE(mapped_file.Map(test_file.c_str(), 0)); 108 string test_file = temp_dir.path() + "/test_file"; local 109 ASSERT_TRUE(WriteFile(test_file.c_str(), data, data_size)); 112 MemoryMappedFile mapped_file(test_file.c_str(), 0); 120 EXPECT_TRUE(mapped_file.Map(test_file.c_str(), 0));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_refactor.py | 185 def check_file_refactoring(self, test_file, fixers=_2TO3_FIXERS, 191 shutil.copy(test_file, tmpdir) 192 test_file = os.path.join(tmpdir, os.path.basename(test_file)) 193 os.chmod(test_file, 0o644) 196 with open(test_file, "rb") as fp: 204 rt.refactor_file(test_file) 209 rt.refactor_file(test_file, True) 215 test_file = os.path.join(FIXER_DIR, "parrot_example.py") 216 self.check_file_refactoring(test_file, _DEFAULT_FIXERS [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/ |
test_refactor.py | 185 def check_file_refactoring(self, test_file, fixers=_2TO3_FIXERS, 191 shutil.copy(test_file, tmpdir) 192 test_file = os.path.join(tmpdir, os.path.basename(test_file)) 193 os.chmod(test_file, 0o644) 196 with open(test_file, "rb") as fp: 204 rt.refactor_file(test_file) 209 rt.refactor_file(test_file, True) 215 test_file = os.path.join(FIXER_DIR, "parrot_example.py") 216 self.check_file_refactoring(test_file, _DEFAULT_FIXERS [all...] |
/external/autotest/client/site_tests/audio_PlaybackPower/ |
audio_PlaybackPower.py | 80 def run_once(self, test_file, checksum): 81 local_path = os.path.join(self.bindir, '%s' % test_file) 82 file_utils.download_file(_DOWNLOAD_BASE + test_file, local_path)
|
/external/autotest/client/site_tests/audio_CrasSanity/ |
audio_CrasSanity.py | 61 for test_file in self._audio: 62 url = _DOWNLOAD_BASE + 'audio_test/' + test_file 67 for test_file in self._video: 68 url = _DOWNLOAD_BASE + 'traffic/' + test_file
|
/build/tools/releasetools/ |
test_common.py | 76 test_file = tempfile.NamedTemporaryFile(delete=False) 77 test_file_name = test_file.name 91 test_file.write(contents) 92 test_file.close() 146 test_file = tempfile.NamedTemporaryFile(delete=False) 147 test_file_name = test_file.name 160 test_file.write(large) 161 test_file.close()
|