/external/sl4a/Common/src/com/googlecode/android_scripting/facade/webcam/ |
WebCamFacade.java | 77 * <li><b>filename</b> - Name of file where image was saved. Only relevant if filepath defined. 79 * <li><b>encoding</b> - Data encoding. If filepath defined, will be "file" otherwise "base64" 337 @RpcParameter(name = "filepath", description = "Path to store jpeg files.") @RpcOptional String filepath) 340 if (filepath!=null && (filepath.length()>0)) { 341 mDest = new File(filepath);
|
/prebuilts/go/darwin-x86/src/cmd/asm/internal/flags/ |
flags.go | 13 "path/filepath" 72 input := filepath.Base(flag.Arg(0))
|
/prebuilts/go/darwin-x86/src/cmd/go/internal/clean/ |
clean.go | 12 "path/filepath" 111 subdirs, _ := filepath.Glob(filepath.Join(dir, "[0-9a-f][0-9a-f]")) 135 err := ioutil.WriteFile(filepath.Join(dir, "testexpire.txt"), []byte(fmt.Sprintf("%d\n", time.Now().UnixNano())), 0666) 202 _, elem := filepath.Split(p.Dir) 254 if err := os.RemoveAll(filepath.Join(p.Dir, name)); err != nil { 265 if cleanFile[name] || cleanExt[filepath.Ext(name)] || toRemove[name] { 266 removeFile(filepath.Join(p.Dir, name))
|
/prebuilts/go/darwin-x86/src/cmd/go/internal/vet/ |
vet.go | 12 "path/filepath" 44 work.VetTool, err = filepath.Abs(vetTool)
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue19658.go | 18 "path/filepath" 43 tmpFile := filepath.Join(tempDir, "tmp.go")
|
/prebuilts/go/linux-x86/src/cmd/asm/internal/flags/ |
flags.go | 13 "path/filepath" 72 input := filepath.Base(flag.Arg(0))
|
/prebuilts/go/linux-x86/src/cmd/go/internal/clean/ |
clean.go | 12 "path/filepath" 111 subdirs, _ := filepath.Glob(filepath.Join(dir, "[0-9a-f][0-9a-f]")) 135 err := ioutil.WriteFile(filepath.Join(dir, "testexpire.txt"), []byte(fmt.Sprintf("%d\n", time.Now().UnixNano())), 0666) 202 _, elem := filepath.Split(p.Dir) 254 if err := os.RemoveAll(filepath.Join(p.Dir, name)); err != nil { 265 if cleanFile[name] || cleanExt[filepath.Ext(name)] || toRemove[name] { 266 removeFile(filepath.Join(p.Dir, name))
|
/prebuilts/go/linux-x86/src/cmd/go/internal/vet/ |
vet.go | 12 "path/filepath" 44 work.VetTool, err = filepath.Abs(vetTool)
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue19658.go | 18 "path/filepath" 43 tmpFile := filepath.Join(tempDir, "tmp.go")
|
/external/autotest/server/site_tests/telemetry_Crosperf/ |
telemetry_Crosperf.py | 210 filepath = os.path.join(self.resultsdir, 'results-chart.json') 211 if not os.path.exists(filepath): 212 raise RuntimeError('Missing results file: %s' % filepath)
|
/external/e2fsprogs/lib/support/ |
profile_helpers.c | 269 profile_init_path(const char * filepath, 279 for(s = filepath, n_entries = 1; *s; s++) { 290 for(s = filepath, i=0; (t = strchr(s, ':')) || (t=s+strlen(s)); s=t+1, i++) {
|
/external/tensorflow/tensorflow/python/keras/_impl/keras/ |
models.py | 58 def save_model(model, filepath, overwrite=True, include_optimizer=True): 72 filepath: String, path where to save the model. 122 if not overwrite and os.path.isfile(filepath): 123 proceed = ask_to_proceed_with_overwrite(filepath) 127 with h5py.File(filepath, mode='w') as f: 189 def load_model(filepath, custom_objects=None, compile=True): # pylint: disable=redefined-builtin 193 filepath: String, path to the saved model. 243 with h5py.File(filepath, mode='r') as f: 675 def load_weights(self, filepath, by_name=False): 678 f = h5py.File(filepath, mode='r' [all...] |
/external/webrtc/webrtc/modules/audio_processing/test/ |
apmtest.m | 1 function apmtest(task, testname, filepath, casenumber, legacy) 20 % FILEPATH specifies the path to the test data files. 35 if nargin < 3 || isempty(filepath) 36 filepath = 'data/'; 55 inpath = [filepath 'input/']; 56 outpath = [filepath 'output/']; 57 refpath = [filepath 'reference/'];
|
/prebuilts/go/darwin-x86/src/go/internal/gccgoimporter/ |
importer.go | 16 "path/filepath" 44 pkgfullpath := filepath.Join(spath, pkgpath) 45 pkgdir, name := filepath.Split(pkgfullpath) 47 for _, filepath := range [...]string{ 54 fi, err := os.Stat(filepath) 56 return filepath, nil
|
/prebuilts/go/linux-x86/src/go/internal/gccgoimporter/ |
importer.go | 16 "path/filepath" 44 pkgfullpath := filepath.Join(spath, pkgpath) 45 pkgdir, name := filepath.Split(pkgfullpath) 47 for _, filepath := range [...]string{ 54 fi, err := os.Stat(filepath) 56 return filepath, nil
|
/system/extras/simpleperf/ |
event_type.cpp | 43 bool SetTracepointEventsFilePath(const std::string& filepath) { 44 if (!android::base::ReadFileToString(filepath, &tracepoint_events)) { 45 PLOG(ERROR) << "Failed to read " << filepath;
|
/test/vts-testcase/kernel/api/sysfs/ |
KernelApiSysfsTest.py | 115 filepath = '/sys/devices/system/cpu/online' 116 self.IsReadOnly(filepath) 117 content = target_file_utils.ReadFileContent(filepath, self.shell) 184 filepath = '/sys/kernel/wakeup_reasons/last_resume_reason' 185 self.IsReadOnly(filepath) 189 filepath = '/sys/devices/system/cpu/kernel_max' 190 self.IsReadOnly(filepath) 191 content = target_file_utils.ReadFileContent(filepath, self.shell) 248 filepath = '/sys/power/wakeup_count' 249 self.IsReadWrite(filepath) [all...] |
/test/vts-testcase/kernel/ltp/ |
test_cases_parser.py | 155 def ReadCommentedTxt(self, filepath): 159 filepath: string, path of file to read 164 if not filepath: 168 with open(filepath, 'r') as f:
|
/build/kati/ |
pathutil.go | 23 "path/filepath" 118 if filepath.IsAbs(path) { 121 paths := strings.Split(path, string(filepath.Separator)) 129 parent := strings.Join(dir, string(filepath.Separator)) 156 return strings.Join(names, string(filepath.Separator)) 201 path = filepath.Join(dir, name) 240 case "", string(filepath.Separator): 243 dir += string(filepath.Separator) // add trailing separator back 246 matched, err := filepath.Match(pattern, ent.name) 262 dir, file := filepath.Split(pat [all...] |
/prebuilts/go/darwin-x86/src/go/build/ |
deps_test.go | 15 "path/filepath" 160 "path/filepath": {"L2", "os", "syscall", "internal/syscall/windows"}, 161 "io/ioutil": {"L2", "os", "path/filepath", "time"}, 162 "os/exec": {"L2", "os", "context", "path/filepath", "syscall"}, 171 "path/filepath", 226 "go/internal/srcimporter": {"L4", "fmt", "go/ast", "go/build", "go/parser", "go/token", "go/types", "path/filepath"}, 461 src := filepath.Join(goroot, "src") + string(filepath.Separator) 467 base := filepath.Base(path) 469 return filepath.SkipDi [all...] |
/prebuilts/go/linux-x86/src/go/build/ |
deps_test.go | 15 "path/filepath" 160 "path/filepath": {"L2", "os", "syscall", "internal/syscall/windows"}, 161 "io/ioutil": {"L2", "os", "path/filepath", "time"}, 162 "os/exec": {"L2", "os", "context", "path/filepath", "syscall"}, 171 "path/filepath", 226 "go/internal/srcimporter": {"L4", "fmt", "go/ast", "go/build", "go/parser", "go/token", "go/types", "path/filepath"}, 461 src := filepath.Join(goroot, "src") + string(filepath.Separator) 467 base := filepath.Base(path) 469 return filepath.SkipDi [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_common.cc | 170 const char *StripPathPrefix(const char *filepath, 172 if (!filepath) return nullptr; 173 if (!strip_path_prefix) return filepath; 174 const char *res = filepath; 175 if (const char *pos = internal_strstr(filepath, strip_path_prefix))
|
/external/devlib/devlib/ |
target.py | 446 def file_exists(self, filepath): 448 output = self.execute(command.format(filepath), as_root=self.is_rooted) 451 def directory_exists(self, filepath): 452 output = self.execute('if [ -d \'{}\' ]; then echo 1; else echo 0; fi'.format(filepath)) 515 def capture_screen(self, filepath): 518 def install(self, filepath, timeout=None, with_name=None): 849 def install(self, filepath, timeout=None, with_name=None): # pylint: disable=W022 [all...] |
/external/skia/tools/fonts/ |
create_test_font.cpp | 355 SkString filepath(SkOSPath::Join(basepath, fontDesc.fFile)); 356 SkASSERTF(sk_exists(filepath.c_str()), "The file %s does not exist.", filepath.c_str()); 357 sk_sp<SkTypeface> resourceTypeface = SkTypeface::MakeFromFile(filepath.c_str()); 358 SkASSERTF(resourceTypeface, "The file %s is not a font.", filepath.c_str());
|
/external/skqp/tools/ |
create_test_font.cpp | 354 SkString filepath(SkOSPath::Join(basepath, fontDesc.fFile)); 355 SkASSERTF(sk_exists(filepath.c_str()), "The file %s does not exist.", filepath.c_str()); 356 sk_sp<SkTypeface> resourceTypeface = SkTypeface::MakeFromFile(filepath.c_str()); 357 SkASSERTF(resourceTypeface, "The file %s is not a font.", filepath.c_str());
|