/external/tensorflow/tensorflow/tools/ci_build/ |
copy_binary.py | 49 def copy_binary(directory, origin_tag, new_tag, version, gpu=False): 53 directory: string of directory 67 zip_ref = zipfile.ZipFile(directory + origin_binary, "r") 76 zout = zipfile.ZipFile(directory + new_binary, "w", zipfile.ZIP_DEFLATED) 115 directory = regex_groups.group(1) 125 copy_binary(directory, origin_tag, new_tag, version, gpu)
|
/prebuilts/go/darwin-x86/src/os/ |
path.go | 13 // MkdirAll creates a directory named path, 18 // If path is already a directory, MkdirAll does nothing 21 // Fast path: if we can tell whether path is a directory or file, stop with success or error. 53 // double-checking that directory doesn't exist. 74 // Otherwise, is this a directory we need to recurse into? 83 // Not a directory; return the error from Remove. 87 // Directory. 102 // Reset read offset after removing directory entries. 125 // Close directory, because windows won't remove opened directory [all...] |
/prebuilts/go/linux-x86/src/os/ |
path.go | 13 // MkdirAll creates a directory named path, 18 // If path is already a directory, MkdirAll does nothing 21 // Fast path: if we can tell whether path is a directory or file, stop with success or error. 53 // double-checking that directory doesn't exist. 74 // Otherwise, is this a directory we need to recurse into? 83 // Not a directory; return the error from Remove. 87 // Directory. 102 // Reset read offset after removing directory entries. 125 // Close directory, because windows won't remove opened directory [all...] |
/external/chromium-trace/catapult/devil/devil/android/ |
fastboot_utils.py | 38 def _FindAndVerifyPartitionsAndImages(partitions, directory): 46 directory: directory containing the images. 52 files = os.listdir(directory) 58 return os.path.join(directory, filename) 83 fastboot.FlashDevice('/path/to/build/directory') 146 def _VerifyBoard(self, directory): 153 directory: directory where build files are located. 155 files = os.listdir(directory) [all...] |
/external/libmojo/third_party/catapult/devil/devil/android/ |
fastboot_utils.py | 36 def _FindAndVerifyPartitionsAndImages(partitions, directory): 44 directory: directory containing the images. 50 files = os.listdir(directory) 56 return os.path.join(directory, filename) 81 fastboot.FlashDevice('/path/to/build/directory') 144 def _VerifyBoard(self, directory): 151 directory: directory where build files are located. 153 files = os.listdir(directory) [all...] |
/external/autotest/site_utils/bootperf-bin/ |
bootperf | 41 DEFINE_string output_dir "" "output directory for results" o 67 # Structure of a results directory: 68 # $RUNDIR.$ITER/ - directory 70 # $RUNDIR_SUMMARY/ - directory 71 # $RUNDIR_ALL_RESULTS/ - optional directory 73 # If you add any other content under the results directory, you'll 88 --output_dir <directory> 89 --o <directory> Specify output directory for results 97 given destination directory. The test target is specified b [all...] |
/external/python/cpython2/Doc/includes/ |
email-dir.py | 3 """Send the contents of a directory as a MIME message.""" 26 Send the contents of a directory as a MIME message. 34 parser.add_option('-d', '--directory', 36 help="""Mail the contents of the specified directory, 37 otherwise use the current directory. Only the regular 38 files in the directory are sent, and we don't recurse to 55 directory = opts.directory 56 if not directory: 57 directory = '. [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
FilmstripItemBase.java | 142 private void deleteIfEmptyCameraSubDir(File directory) { 143 // Make sure 'directory' refers to a valid existing empty directory. 144 if (!directory.exists() || !directory.isDirectory() || directory.list().length != 0) { 148 // Check if this is a 'Camera' sub-directory. 150 String fileParentPathStr = directory.getParentFile().getAbsolutePath(); 153 // Delete the directory if it's an empty sub-directory of the Camer [all...] |
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
CancelFromNotificationUiTest.java | 205 bots.directory.findDocument(TARGET_FILE); 208 bots.directory.selectDocument(TARGET_FILE); 217 bots.directory.waitForDocument(TARGET_FILE); 222 bots.directory.findDocument(TARGET_FILE); 225 bots.directory.selectDocument(TARGET_FILE); 245 assertFalse(bots.directory.hasDocuments(TARGET_FILE)); 249 assertTrue(bots.directory.hasDocuments(TARGET_FILE)); 255 bots.directory.findDocument(TARGET_FILE); 258 bots.directory.selectDocument(TARGET_FILE); 267 bots.directory.waitForDocument(TARGET_FILE) [all...] |
/external/ImageMagick/MagickCore/ |
nt-base.h | 96 # define closedir(directory) NTCloseDirectory(directory) 200 # define opendir(directory) NTOpenDirectory(directory) 218 # define readdir(directory) NTReadDirectory(directory) 221 # define seekdir(directory,offset) NTSeekDirectory(directory,offset) 258 # define telldir(directory) NTTellDirectory(directory) [all...] |
/external/curl/packages/vms/ |
compare_curl_source.com | 15 $! 3. Keep a copy directory up to date. The third is needed by 19 $! First the files in the original source directory which is assumed to be 20 $! under source codde control are compared with the copy directory. 22 $! Then the files are are only in the copy directory are listed. 26 $! 2. Files missing in the copy directory. 27 $! 3. Files in the copy directory not in the source directory. 28 $! 4. Files different from the source directory. 34 $! copy directory will be updated. 37 $! The directory src_root:[project_name] will be translated to something lik [all...] |
/prebuilts/go/darwin-x86/src/crypto/x509/ |
root_unix.go | 15 // reading at least one file from a directory. 29 // certDirEnv is the environment variable which identifies which directory 63 for _, directory := range dirs { 64 fis, err := ioutil.ReadDir(directory) 73 data, err := ioutil.ReadFile(directory + "/" + fi.Name())
|
/prebuilts/go/linux-x86/src/crypto/x509/ |
root_unix.go | 15 // reading at least one file from a directory. 29 // certDirEnv is the environment variable which identifies which directory 63 for _, directory := range dirs { 64 fis, err := ioutil.ReadDir(directory) 73 data, err := ioutil.ReadFile(directory + "/" + fi.Name())
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_compileall.py | 15 self.directory = tempfile.mkdtemp()
16 self.source_path = os.path.join(self.directory, '_test.py')
20 self.source_path2 = os.path.join(self.directory, '_test2.py')
25 shutil.rmtree(self.directory)
47 compileall.compile_dir(self.directory, force=False, quiet=True)
59 # Test compiling a single file, and complete directory
69 compileall.compile_dir(self.directory, force=False, quiet=True)
|
/external/flatbuffers/samples/ |
go_sample.sh | 18 # and 'flatc' to be built (using `cmake` in the root directory). 25 echo Error: This script must be run from inside the $sampledir directory. 26 echo You executed it from the $currentdir directory. 31 # root `/flatbuffers` directory. 38 $rootdir directory.
|
/external/ltp/testcases/kernel/power_management/ |
README | 80 For CPU consolidation verification ebizzy is included in utils directory of LTP. 82 Refer to README in LTPROOT/utils/benchmark/ebizzy-0.2 directory for details of ebizzy. 84 To test CPU consolidation for sched_mc 2 kernbench has to run. Kernbench needs linux kernel source as input in /root directory . For example download from http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.4.tar.bz2. If Linux kernel source not found kernbench wiil not execute.
|
/external/mesa3d/src/hgl/ |
GLRendererRoster.cpp | 17 #include <Directory.h> 121 BDirectory directory(path); 122 status_t status = directory.InitCheck(); 128 BEntry entry(&directory, fABISubDirectory); 130 status = directory.SetTo(&entry); 137 status = directory.GetNodeRef(&nodeRef); 146 while (directory.GetNextRef(&ref) == B_OK) {
|
/external/python/cpython2/Demo/rpc/ |
mountclient.py | 58 directory = self.unpack_string() 59 return (hostname, directory) 137 def Mnt(self, directory): 138 return self.make_call(1, directory, \ 146 def Umnt(self, directory): 147 return self.make_call(3, directory, \
|
/external/python/cpython2/Lib/test/ |
test_compileall.py | 15 self.directory = tempfile.mkdtemp() 16 self.source_path = os.path.join(self.directory, '_test.py') 20 self.source_path2 = os.path.join(self.directory, '_test2.py') 25 shutil.rmtree(self.directory) 46 compileall.compile_dir(self.directory, force=False, quiet=True) 58 # Test compiling a single file, and complete directory 68 compileall.compile_dir(self.directory, force=False, quiet=True)
|
/external/vogar/src/vogar/android/ |
AdbTarget.java | 59 @Override public void await(File directory) { 61 ensureDirectory(directory); 73 * Make sure the directory exists. 75 private void ensureDirectory(File directory) { 76 String pathArgument = directory.getPath() + "/"; 90 && output.get(0).equals(pathArgument + ": No such file or directory")) { 93 // Otherwise the directory exists. 135 @Override public List<File> ls(File directory) throws FileNotFoundException { 136 return deviceFilesystem.ls(directory);
|
/frameworks/base/tools/obbtool/ |
mkobb.sh | 20 # Directory where we should temporarily mount the OBB loopback to copy files 151 echo " -d <directory> Use <directory> as input for OBB files" 169 -d) directory=$2; shift 2;; 180 if [ "${directory}x" = "x" -o ! -d "${directory}" ]; then \ 181 echo "ERROR: Must specify valid input directory" 205 echo "ERROR: Output directory does not exist: ${outdir}" 214 block_count=`du -s --apparent-size --block-size=512 ${directory} | awk '{ print $1; }'` 216 echo "ERROR: Couldn't read size of input directory ${directory} [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_compileall.py | 15 self.directory = tempfile.mkdtemp() 16 self.source_path = os.path.join(self.directory, '_test.py') 20 self.source_path2 = os.path.join(self.directory, '_test2.py') 25 shutil.rmtree(self.directory) 47 compileall.compile_dir(self.directory, force=False, quiet=True) 59 # Test compiling a single file, and complete directory 69 compileall.compile_dir(self.directory, force=False, quiet=True)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_compileall.py | 15 self.directory = tempfile.mkdtemp() 16 self.source_path = os.path.join(self.directory, '_test.py') 20 self.source_path2 = os.path.join(self.directory, '_test2.py') 25 shutil.rmtree(self.directory) 47 compileall.compile_dir(self.directory, force=False, quiet=True) 59 # Test compiling a single file, and complete directory 69 compileall.compile_dir(self.directory, force=False, quiet=True)
|
/prebuilts/go/darwin-x86/src/syscall/ |
const_plan9.go | 19 MBEFORE = 0x0001 // mount goes before others in union directory 20 MAFTER = 0x0002 // mount goes after others in union directory 21 MCREATE = 0x0004 // permit creation in mounted directory
|
/prebuilts/go/linux-x86/src/syscall/ |
const_plan9.go | 19 MBEFORE = 0x0001 // mount goes before others in union directory 20 MAFTER = 0x0002 // mount goes after others in union directory 21 MCREATE = 0x0004 // permit creation in mounted directory
|