HomeSort by relevance Sort by last modified time
    Searched refs:filename (Results 276 - 300 of 8141) sorted by null

<<11121314151617181920>>

  /test/suite_harness/tools/cts-test-metrics/
parse_test_metrics.py 31 def _Parse(self, filename):
32 json_file = open(filename)
35 self._PrintJson(filename, json_data)
37 def _PrintJson(self, filename, json_data):
38 print "\nFilename: %s" % filename
50 for filename in self._args.filenames:
51 self._Parse(filename)
  /external/adhd/cras/src/dsp/tests/
raw.c 13 float *read_raw(const char *filename, size_t *frames)
22 if (stat(filename, &st) < 0) {
23 fprintf(stderr, "cannot stat file %s\n", filename);
27 fd = open(filename, O_RDONLY);
29 fprintf(stderr, "cannot open file %s\n", filename);
66 int write_raw(const char *filename, float *input, size_t frames)
79 int fd = open(filename, O_WRONLY | O_CREAT, 0644);
81 fprintf(stderr, "cannot open file %s\n", filename);
85 fprintf(stderr, "short write file %s\n", filename);
  /external/llvm/utils/lint/
cpp_lint.py 13 def VerifyIncludes(filename, lines):
18 filename: the file under consideration as string
46 lint.append((filename, line_num,
57 lint.append((filename, line_num,
62 lint.append((filename, line_num,
76 def RunOnFile(self, filename, lines):
78 lint.extend(VerifyIncludes(filename, lines))
79 lint.extend(common_lint.VerifyLineLength(filename, lines,
81 lint.extend(common_lint.VerifyTabs(filename, lines))
82 lint.extend(common_lint.VerifyTrailingWhitespace(filename, lines)
    [all...]
  /external/ltp/testcases/kernel/io/ltp-aiodio/
dio_append.c 50 int read_eof(char *filename)
57 while ((fd = open(filename, O_RDONLY)) < 0) {
78 void dio_append(char *filename)
85 fd = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666);
109 char filename[PATH_MAX]; local
114 snprintf(filename, sizeof(filename), "%s/aiodio/file",
122 return read_eof(filename);
137 dio_append(filename);
  /external/mesa3d/src/gallium/drivers/etnaviv/
etnaviv_compiler_cmdline.c 59 read_file(const char *filename, void **ptr, size_t *size)
66 fd = open(filename, O_RDONLY);
68 warnx("couldn't open `%s'", filename);
74 errx(1, "couldn't stat `%s'", filename);
79 errx(1, "couldn't map `%s'", filename);
98 const char *filename; local
122 filename = argv[n];
124 ret = read_file(filename, &ptr, &size);
133 errx(1, "could not parse `%s'", filename);
  /external/protobuf/src/google/protobuf/compiler/java/
java_plugin_unittest.cc 67 string filename = "Test.java"; local
68 TryInsert(filename, "outer_class_scope", context);
69 TryInsert(filename, "class_scope:foo.Bar", context);
70 TryInsert(filename, "class_scope:foo.Bar.Baz", context);
71 TryInsert(filename, "builder_scope:foo.Bar", context);
72 TryInsert(filename, "builder_scope:foo.Bar.Baz", context);
73 TryInsert(filename, "enum_scope:foo.Qux", context);
77 void TryInsert(const string& filename, const string& insertion_point,
80 context->OpenForInsert(filename, insertion_point));
  /external/python/cpython3/Parser/
parsetok.c 16 static int initerr(perrdetail *err_ret, PyObject * filename);
34 PyParser_ParseStringFlagsFilename(const char *s, const char *filename,
39 return PyParser_ParseStringFlagsFilenameEx(s, filename, g, start,
44 PyParser_ParseStringObject(const char *s, PyObject *filename,
51 if (initerr(err_ret, filename) < 0)
64 Py_INCREF(err_ret->filename);
65 tok->filename = err_ret->filename;
76 PyObject *filename = NULL; local
79 filename = PyUnicode_DecodeFSDefault(filename_str)
    [all...]
  /external/swiftshader/third_party/LLVM/utils/lint/
cpp_lint.py 13 def VerifyIncludes(filename, lines):
18 filename: the file under consideration as string
46 lint.append((filename, line_num,
57 lint.append((filename, line_num,
62 lint.append((filename, line_num,
76 def RunOnFile(self, filename, lines):
78 lint.extend(VerifyIncludes(filename, lines))
79 lint.extend(common_lint.VerifyLineLength(filename, lines,
81 lint.extend(common_lint.VerifyTabs(filename, lines))
82 lint.extend(common_lint.VerifyTrailingWhitespace(filename, lines)
    [all...]
  /external/valgrind/memcheck/tests/
file_locking.c 37 const char* const filename)
42 fd = open(filename, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
82 char filename[256]; local
84 snprintf(filename, sizeof(filename), "/tmp/valgrind-file-locking-test.%ld",
87 unlink(filename);
89 if ((fd1 = open_lock_and_map("parent", filename)) >= 0)
102 fd2 = open_lock_and_map("child", filename);
124 unlink(filename);
  /frameworks/base/core/java/android/webkit/
MimeTypeMap.java 59 String filename = local
62 // if the filename contains special characters, we don't
64 if (!filename.isEmpty() &&
65 Pattern.matches("[a-zA-Z_0-9\\.\\-\\(\\)\\%]+", filename)) {
66 int dotPos = filename.lastIndexOf('.');
68 return filename.substring(dotPos + 1);
138 // for attachment, use the filename in the Content-Disposition
140 String filename = null; local
142 filename = URLUtil.parseContentDisposition(contentDisposition);
144 if (filename != null)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
listcodecs.py 15 for filename in os.listdir(dir):
16 if filename[-3:] != '.py':
18 name = filename[:-3]
  /external/clang/tools/clang-format/
clang-format-diff.py 63 filename = None
68 filename = match.group(2)
69 if filename == None:
73 if not re.match('^%s$' % args.regex, filename):
76 if not re.match('^%s$' % args.iregex, filename, re.IGNORECASE):
88 lines_by_file.setdefault(filename, []).extend(
92 for filename, lines in lines_by_file.iteritems():
94 print 'Formatting', filename
95 command = [args.binary, filename]
110 with open(filename) as f
    [all...]
  /external/curl/tests/server/
util.h 61 int write_pidfile(const char *filename);
63 void set_advisor_read_lock(const char *filename);
65 void clear_advisor_read_lock(const char *filename);
  /external/eigen/bench/btl/generic_bench/static/
bench_static.hh 42 string filename = "bench_" + Action<Interface<REAL_TYPE,10> >::name() + ".dat";
44 INFOS("starting " << filename);
53 dump_xy_file(tab_sizes,tab_mflops,filename);
  /external/libcxx/test/std/experimental/filesystem/class.path/path.member/path.modifiers/
replace_filename.pass.cpp 32 const char* filename; member in struct:ReplaceFilenameTestcase
57 path& Ref = (p.replace_filename(TC.filename));
60 // Tests Effects "as-if": remove_filename() append(filename)
63 path replace(TC.filename);
  /external/libvpx/libvpx/test/
invalid_file_test.cc 30 const char *filename; member in struct:__anon26027::DecodeParam
34 return os << "threads: " << dp.threads << " file: " << dp.filename;
49 << "Result file open failed. Filename: " << res_file_name_;
89 const std::string filename = input.filename; local
93 if (filename.substr(filename.length() - 3, 3) == "ivf") {
94 video.reset(new libvpx_test::IVFVideoSource(filename));
95 } else if (filename.substr(filename.length() - 4, 4) == "webm")
    [all...]
  /external/ltp/testcases/kernel/sched/sched_stress/
sched.c 54 int openlog(char *filename)
57 if (filename == NULL)
63 if ((logfile = fopen(filename, "a")) == (FILE *) NULL)
  /external/ltp/testcases/kernel/security/integrity/ima/src/
ima_mmap.c 32 char *filename; local
35 printf("%s: filename\n", argv[1]);
36 filename = argv[1];
38 fd = open(filename, O_CREAT | O_RDWR, S_IRWXU);
  /external/ply/ply/test/pkg_test4/
__init__.py 12 def patched_open(filename, mode):
14 raise IOError("Permission denied %r" % filename)
15 return open(filename, mode)
  /external/python/cpython2/Tools/unicode/
listcodecs.py 15 for filename in os.listdir(dir):
16 if filename[-3:] != '.py':
18 name = filename[:-3]
  /external/python/cpython3/Lib/dbm/
__init__.py 97 def whichdb(filename):
112 f = io.open(filename + ".pag", "rb")
114 f = io.open(filename + ".dir", "rb")
121 f = io.open(filename + ".db", "rb")
127 d = ndbm.open(filename)
136 os.stat(filename + ".dat")
137 size = os.stat(filename + ".dir").st_size
141 f = io.open(filename + ".dir", "rb")
152 f = io.open(filename, "rb")
187 for filename in sys.argv[1:]
    [all...]
  /external/python/cpython3/Tools/unicode/
listcodecs.py 15 for filename in os.listdir(dir):
16 if filename[-3:] != '.py':
18 name = filename[:-3]
  /external/skia/tools/skdiff/
skdiff_utils.h 33 /** Given an image filename, returns the name of the file containing
36 SkString filename_to_diff_filename(const SkString& filename);
38 /** Given an image filename, returns the name of the file containing
41 SkString filename_to_white_filename(const SkString& filename);
50 const SkString& filename);
  /external/skqp/tools/skdiff/
skdiff_utils.h 33 /** Given an image filename, returns the name of the file containing
36 SkString filename_to_diff_filename(const SkString& filename);
38 /** Given an image filename, returns the name of the file containing
41 SkString filename_to_white_filename(const SkString& filename);
50 const SkString& filename);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
PreferencesFacade.java 37 * <b>filename</b> - Filename indicates which preference file to refer to. If no filename is
61 @RpcParameter(name = "filename", description = "Desired preferences file. If not defined, uses the default Shared Preferences.") @RpcOptional String filename) {
62 SharedPreferences p = getPref(filename);
70 @RpcParameter(name = "filename", description = "Desired preferences file. If not defined, uses the default Shared Preferences.") @RpcOptional String filename)
72 if (filename == null || filename.equals(""))
    [all...]

Completed in 1518 milliseconds

<<11121314151617181920>>