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

<<11121314151617181920>>

  /external/skqp/tests/
PathOpsExtendedTest.h 19 void (*fun)(skiatest::Reporter*, const char* filename);
24 extern int comparePaths(skiatest::Reporter* reporter, const char* filename,
27 inline int comparePaths(skiatest::Reporter* reporter, const char* filename,
30 return comparePaths(reporter, filename, one, two, bitmap);
45 extern bool testSimplify(skiatest::Reporter* reporter, const SkPath& path, const char* filename);
47 const char* filename, bool checkFail);
49 const char* filename);
54 void (*firstTest)(skiatest::Reporter* , const char* filename),
55 void (*skipTest)(skiatest::Reporter* , const char* filename),
56 void (*stopTest)(skiatest::Reporter* , const char* filename), bool reverse)
    [all...]
  /frameworks/base/tools/streaming_proto/
Errors.cpp 18 :filename(that.filename),
25 :filename(f),
41 Errors::Add(const string& filename, int lineno, const char* format, ...)
45 AddImpl(filename, lineno, format, args);
50 Errors::AddImpl(const string& filename, int lineno, const char* format, va_list args)
59 Error error(filename, lineno, buffer);
69 if (it->filename == UNKNOWN_FILE) {
72 fprintf(stderr, "%s:%s", it->filename.c_str(), it->message.c_str());
74 fprintf(stderr, "%s:%d:%s", it->filename.c_str(), it->lineno, it->message.c_str())
    [all...]
  /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
unittest.h 65 inline FILE* TempFile(char *filename) {
67 filename = tmpnam(filename);
70 if (filename[0] == '\\')
71 for (int i = 0; filename[i] != '\0'; i++)
72 filename[i] = filename[i + 1];
74 return fopen(filename, "wb");
76 strcpy(filename, "/tmp/fileXXXXXX");
77 int fd = mkstemp(filename);
    [all...]
  /external/iptables/
iptables-test.py 42 def print_error(reason, filename=None, lineno=None):
46 print (filename + ": " + Colors.RED + "ERROR" +
50 def delete_rule(iptables, rule, filename, lineno):
55 ret = execute_cmd(cmd, filename, lineno)
58 print_error(reason, filename, lineno)
64 def run_test(iptables, rule, rule_save, res, filename, lineno):
73 :param filename: name of the file tested (used for print_error purposes)
79 ret = execute_cmd(cmd, filename, lineno)
87 print_error(reason, filename, lineno)
95 print_error(reason, filename, lineno
    [all...]
  /external/google-benchmark/tools/gbench/
util.py 15 def is_executable_file(filename):
17 Return 'True' if 'filename' names a valid file which is likely
21 if not os.path.isfile(filename):
23 with open(filename, mode='rb') as f:
40 def is_json_file(filename):
42 Returns 'True' if 'filename' names a valid JSON output file.
46 with open(filename, 'r') as f:
54 def classify_input_file(filename):
57 of 'filename'. If 'type' is 'IT_Invalid' then 'msg' is a human readable
62 if not os.path.exists(filename)
    [all...]
  /external/libcxx/utils/google-benchmark/tools/gbench/
util.py 15 def is_executable_file(filename):
17 Return 'True' if 'filename' names a valid file which is likely
21 if not os.path.isfile(filename):
23 with open(filename, mode='rb') as f:
40 def is_json_file(filename):
42 Returns 'True' if 'filename' names a valid JSON output file.
46 with open(filename, 'r') as f:
54 def classify_input_file(filename):
57 of 'filename'. If 'type' is 'IT_Invalid' then 'msg' is a human readable
62 if not os.path.exists(filename)
    [all...]
  /external/perf_data_converter/src/quipper/
test_utils.cc 61 bool ReadExistingProtobufText(const string& filename, string* output_string) {
63 if (!quipper::FileToBuffer(filename, &output_buffer)) {
64 LOG(ERROR) << "Could not open file " << filename;
73 bool PerfDataToProtoRepresentation(const string& filename, string* output_text,
76 if (!SerializeFromFile(filename, &perf_data_proto)) {
116 string GetTestInputFilePath(const string& filename) {
117 return "testdata/" + filename;
124 int64_t GetFileSize(const string& filename) {
125 FileReader reader(filename);
141 bool GetPerfBuildIDMap(const string& filename,
168 string filename = line.substr(separator + 1); local
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/tools/gbench/
util.py 15 def is_executable_file(filename):
17 Return 'True' if 'filename' names a valid file which is likely
21 if not os.path.isfile(filename):
23 with open(filename, mode='rb') as f:
40 def is_json_file(filename):
42 Returns 'True' if 'filename' names a valid JSON output file.
46 with open(filename, 'r') as f:
54 def classify_input_file(filename):
57 of 'filename'. If 'type' is 'IT_Invalid' then 'msg' is a human readable
62 if not os.path.exists(filename)
    [all...]
  /external/v8/
.ycm_extra_conf.py 55 def FindV8SrcFromFilename(filename):
61 filename: (String) Path to source file being edited.
66 curdir = os.path.normpath(os.path.dirname(filename))
77 def GetClangCommandFromNinjaForFilename(v8_root, filename):
78 """Returns the command line to build |filename|.
85 filename: (String) Path to source file being edited.
105 if filename.endswith('.h'):
108 alt_name = filename[:-2] + alt_extension
110 filename = alt_name
113 if filename.endswith('-inl.h')
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppReceiveFileInfo.java 82 public BluetoothOppReceiveFileInfo(String filename, long length, FileOutputStream outputStream,
84 mFileName = filename;
99 String filename = null, hint = null, mimeType = null; local
149 filename = choosefilename(hint);
150 if (filename == null) {
155 int dotIndex = filename.lastIndexOf(".");
164 extension = filename.substring(dotIndex);
165 filename = filename.substring(0, dotIndex);
168 Log.d(Constants.TAG, " File Name " + filename);
292 String filename = null; local
    [all...]
  /external/ppp/pppd/plugins/radius/
config.c 53 static int set_option_str(char *filename, int line, OPTION *option, char *p)
63 static int set_option_int(char *filename, int line, OPTION *option, char *p)
68 error("%s: line %d: bogus option value", filename, line);
83 static int set_option_srv(char *filename, int line, OPTION *option, char *p)
91 error("%s: line %d: bogus option value", filename, line);
120 error("%s: line %d: no default port for %s", filename, line, option->name);
133 static int set_option_auo(char *filename, int line, OPTION *option, char *p)
138 warn("%s: line %d: bogus option value", filename, line);
155 error("%s: auth_order: unknown keyword: %s", filename, p);
167 error("%s: auth_order: unknown or unexpected keyword: %s", filename, p)
    [all...]
  /external/ltp/testcases/network/stress/ftp/
ftp-upload-stress02-rmt 32 filename="$3"
39 rm -f $filename
48 echo -n "A" > $filename
49 echo -n "Z" | dd of=$filename bs=1 seek=$(($filesize - 1)) > /dev/null 2>&1 || \
50 tst_brkm TBROK "Failed to create $filename"
63 ps auxw | grep -l -- "curl.*${filename}${num}" >/dev/null 2>&1
68 curl -s --noproxy '*' -u anonymous:ftp@ltp-ns.org -T $filename \
69 -g "ftp://${server_ipaddr}/${urldir}/${filename}${num}" &
76 out=$(curl --noproxy '*' -sS -u anonymous:ftp@ltp-ns.org -T $filename \
  /cts/tests/tests/security/jni/
android_security_cts_MMapExecutableTest.cpp 41 ScopedUtfChars filename(env, jfilename);
42 int fd = open(filename.c_str(), O_RDONLY);
44 ALOGE("open %s: %s", filename.c_str(), strerror(errno));
50 ALOGE("fstat %s: %s", filename.c_str(), strerror(errno));
55 ALOGE("file %s is too small", filename.c_str());
63 ALOGE("mmap %s: %s", filename.c_str(), strerror(errno));
68 ALOGE("munmap %s: %s", filename.c_str(), strerror(errno));
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
which.py 29 filename = os.path.join(dir, prog)
31 st = os.stat(filename)
35 msg(filename + ': not a disk file')
40 print filename
47 msg(s + filename)
49 msg(filename + ': not executable')
51 sts = os.system('ls ' + longlist + ' ' + filename)
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_flush.c 61 char filename[256]; local
65 util_snprintf(filename, sizeof(filename), "cbuf%u_%u", i, frame_no);
66 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.cbufs[i]);
70 util_snprintf(filename, sizeof(filename), "zsbuf_%u", frame_no);
71 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.zsbuf);
  /external/mesa3d/src/gallium/targets/graw-null/
graw_util.c 84 const char *filename)
86 if (!filename || !*filename) {
87 filename = out_filename;
88 if (!filename || !*filename) {
95 debug_dump_surface_bmp(pipe, filename, surface);
  /external/python/cpython2/Lib/idlelib/
ScriptBinding.py 61 filename = self.getfilename()
62 if not filename:
64 if not self.checksyntax(filename):
66 if not self.tabnanny(filename):
69 def tabnanny(self, filename):
70 f = open(filename, 'r')
86 def checksyntax(self, filename):
90 with open(filename, 'r') as f:
102 return compile(source, filename, "exec")
107 err.args = msg, (filename, lineno, offset, line
    [all...]
  /external/python/cpython2/Tools/scripts/
which.py 29 filename = os.path.join(dir, prog)
31 st = os.stat(filename)
35 msg(filename + ': not a disk file')
40 print filename
47 msg(s + filename)
49 msg(filename + ': not executable')
51 sts = os.system('ls ' + longlist + ' ' + filename)
  /external/python/cpython3/Lib/test/
test_sndhdr.py 8 for filename, expected in (
18 filename = findfile(filename, subdir="sndhdrdata")
19 what = sndhdr.what(filename)
20 self.assertNotEqual(what, None, filename)
29 filename = findfile('sndhdr.aifc', subdir="sndhdrdata")
30 what = sndhdr.what(filename)
  /external/python/cpython3/Tools/scripts/
which.py 29 filename = os.path.join(dir, prog)
31 st = os.stat(filename)
35 msg(filename + ': not a disk file')
40 print(filename)
47 msg(s + filename)
49 msg(filename + ': not executable')
51 sts = os.system('ls ' + longlist + ' ' + filename)
  /external/skia/tools/
chrome_fuzz.cpp 15 static bool read_test_case(const char* filename, SkString* testdata) {
16 FILE* file = sk_fopen(filename, kRead_SkFILE_Flag);
18 SkDebugf("couldn't open file %s\n", filename);
23 SkDebugf("couldn't read file %s\n", filename);
59 static bool read_and_run_test_case(const char* filename, const SkBitmap& bitmap,
62 SkDebugf("Test case: %s\n", filename);
64 if (!read_test_case(filename, &testdata))
  /external/skqp/tools/
chrome_fuzz.cpp 15 static bool read_test_case(const char* filename, SkString* testdata) {
16 FILE* file = sk_fopen(filename, kRead_SkFILE_Flag);
18 SkDebugf("couldn't open file %s\n", filename);
23 SkDebugf("couldn't read file %s\n", filename);
59 static bool read_and_run_test_case(const char* filename, const SkBitmap& bitmap,
62 SkDebugf("Test case: %s\n", filename);
64 if (!read_test_case(filename, &testdata))
  /external/syslinux/com32/libupload/
cpio.c 25 const char *filename)
29 int nlen = strlen(filename)+1;
50 rv |= write_data(be, filename, nlen);
55 int cpio_mkdir(struct upload_backend *be, const char *filename)
57 return cpio_hdr(be, MODE_DIR, 0, filename);
60 int cpio_writefile(struct upload_backend *be, const char *filename,
65 rv = cpio_hdr(be, MODE_FILE, len, filename);
  /frameworks/rs/rsov/compiler/spirit/
file_utils.h 28 template <typename T> std::vector<T> readFile(const char *filename) {
31 fb->open(filename, std::ios::in);
34 std::cerr << "failed opening " << filename << std::endl;
51 template <typename T> std::vector<T> readFile(const std::string &filename) {
52 return readFile<T>(filename.c_str());
56 void writeFile(const char *filename, const std::vector<T> &data) {
57 std::ofstream ofs(filename, std::ios::out);
  /prebuilts/ndk/r16/sources/third_party/shaderc/libshaderc_util/src/
file_finder.cc 34 const std::string& filename) const {
35 assert(!filename.empty());
40 prefix + MaybeSlash(prefix) + filename;
47 const std::string& requesting_file, const std::string& filename) const {
48 assert(!filename.empty());
65 dir_name.str() + MaybeSlash(dir_name) + filename;
68 return FindReadableFilepath(filename);

Completed in 1791 milliseconds

<<11121314151617181920>>