/external/webrtc/webrtc/base/ |
H A D | diskcache_win32.h | 23 virtual bool FileExists(const std::string& filename) const; 24 virtual bool DeleteFile(const std::string& filename) const;
|
/external/webrtc/webrtc/modules/video_processing/test/ |
H A D | writeYUV420file.m | 1 function writeYUV420file(filename, Y, U, V) 2 % writeYUV420file(filename, Y, U, V) 4 fid = fopen(filename,'wb'); 6 error(['Cannot open file ' filename]);
|
/external/ImageMagick/coders/ |
H A D | url.c | 138 filename[MagickPathExtent]; 156 (void) CopyMagickString(read_info->filename,image_info->filename+2, 164 unique_file=AcquireUniqueFileResource(read_info->filename); 170 read_info->filename); 174 (void) CopyMagickString(filename,image_info->magick,MagickPathExtent); 175 (void) ConcatenateMagickString(filename,":",MagickPathExtent); 176 LocaleLower(filename); 177 (void) ConcatenateMagickString(filename,image_info->filename, 136 filename[MagickPathExtent]; local [all...] |
/external/autotest/client/site_tests/platform_CleanShutdown/ |
H A D | platform_CleanShutdown.py | 25 def _log_remove_if_exists(self, filename, message): 26 if not os.path.exists(filename): 29 contents = utils.read_file(filename).strip() 30 os.remove(filename) 32 if filename == SHUTDOWN_KILLED_PROCESSES_LOG:
|
/external/dtc/tests/ |
H A D | dumptrees.c | 34 const char *filename; member in struct:__anon4974 50 const char *filename = trees[i].filename; local 57 printf("Tree \"%s\", %d bytes\n", filename, size); 59 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666);
|
/external/eigen/bench/btl/generic_bench/utils/ |
H A D | xy_file.hh | 28 bool read_xy_file(const std::string & filename, std::vector<int> & tab_sizes, argument 32 std::ifstream input_file (filename.c_str(),std::ios::in); 36 INFOS("!!! Error opening "<<filename); 64 void dump_xy_file(const Vector_A & X, const Vector_B & Y, const std::string & filename){ argument 66 ofstream outfile (filename.c_str(),ios::out) ;
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
H A D | run_translate.py | 21 print "usage: %s filename" % sys.argv[0] 24 for filename in argv[1:]: 25 with open(filename) as f: 26 print "%s:" % filename 27 print Translate(Parse(f.read(), filename), 28 os.path.splitext(os.path.basename(filename))[0])
|
/external/ltp/testcases/kernel/syscalls/fdatasync/ |
H A D | fdatasync01.c | 41 * Initialize filename and open it in write mode for each child process. 75 static char filename[30]; variable 128 /* Initialize unique filename for each child process */ 129 if (sprintf(filename, "fdatasync_%d", getpid()) <= 0) { 130 tst_brkm(TBROK, cleanup, "Failed to initialize filename"); 132 if ((fd = open(filename, O_CREAT | O_WRONLY, 0777)) == -1) { //mode must be specified when O_CREATE is in the flag 135 if ((write(fd, filename, strlen(filename) + 1)) == -1) {
|
/external/skia/src/utils/ |
H A D | SkOSPath.cpp | 23 const char* filename = strrchr(fullPath, SEPARATOR); local 24 if (nullptr == filename) { 25 filename = fullPath; 27 ++filename; 29 return SkString(filename);
|
/external/ImageMagick/PerlMagick/t/ |
H A D | ping.t | 27 my (@blob, $filename, $format, $height, $image, $size, $status, $width); 29 $filename='input_p6.ppm'; 30 print "Ping \"$filename\" ...\n"; 32 ($width, $height, $size, $format)=$image->Ping("$filename"); 46 $status=$image->Read($filename);
|
/external/autotest/client/site_tests/logging_UdevCrash/ |
H A D | logging_UdevCrash.py | 21 for filename in os.listdir(self._SYSTEM_CRASH_DIR): 22 if not filename.startswith('change__i2c_atmel_mxt_ts'): 24 filename) 25 if filename.endswith('meta'): 28 filepath = os.path.join(self._SYSTEM_CRASH_DIR, filename) 29 if filename.endswith('.log.gz'): 31 elif filename.endswith('.log'): 35 filename) 59 for filename in os.listdir(DRIVER_DIR): 60 if os.path.isdir(os.path.join(DRIVER_DIR, filename)) [all...] |
/external/eigen/bench/btl/data/ |
H A D | regularize.cxx | 30 void read_xy_file(const string & filename, vector<int> & tab_sizes, vector<double> & tab_mflops); 31 void regularize_curve(const string & filename, 43 INFOS("!!! Error ... usage : main filename start_cut_size stop_cut_size regularize_filename"); 51 string filename=argv[1]; local 54 INFOS(filename); 60 read_xy_file(filename,tab_sizes,tab_mflops); 71 void regularize_curve(const string & filename, argument 77 ofstream output_file (filename.c_str(),ios::out) ; 109 void read_xy_file(const string & filename, vector<int> & tab_sizes, vector<double> & tab_mflops){ argument 111 ifstream input_file (filename [all...] |
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | dio_truncate.c | 65 int dio_read(char *filename) argument 76 while ((fd = open(filename, O_DIRECT | O_RDONLY)) < 0) { 101 void dio_append(char *filename, int fill) argument 108 fd = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666); 132 char filename[PATH_MAX]; local 137 snprintf(filename, sizeof(filename), "%s/aiodio/file", 143 return dio_read(filename); 160 dio_append(filename, 0); 161 truncate(filename, [all...] |
/external/skia/tests/ |
H A D | 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, argument 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), boo [all...] |
/external/iptables/ |
H A D | 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, linen [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/ |
H A D | crx_id.py | 96 def HasPublicKey(filename): 97 if os.path.isdir(filename): 98 with open(os.path.join(filename, 'manifest.json'), 'rb') as f: 103 def GetPublicKey(filename, from_file_path, is_win_path=False): 106 filename, is_win_path=is_win_path) 109 if os.path.isdir(filename): 111 f = open(os.path.join(filename, 'manifest.json'), 'rb') 112 pub_key = GetPublicKeyUnpacked(f, filename) 116 f = open(filename, 'rb') 121 def GetCRXHash(filename, from_file_pat [all...] |
/external/v8/ |
H A D | .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 [all...] |
/external/ppp/pppd/plugins/radius/ |
H A D | config.c | 53 static int set_option_str(char *filename, int line, OPTION *option, char *p) argument 63 static int set_option_int(char *filename, int line, OPTION *option, char *p) argument 68 error("%s: line %d: bogus option value", filename, line); 83 static int set_option_srv(char *filename, int line, OPTION *option, char *p) argument 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) argument 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, 186 rc_read_config(char *filename) argument 308 test_config(char *filename) argument [all...] |
/external/ltp/testcases/network/stress/ftp/ |
H A D | 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 \
|
/external/libvorbis/test/ |
H A D | test.c | 50 char filename [64] ; local 51 snprintf (filename, sizeof (filename), "vorbis_%dch_q%.1f_%u.ogg", ch,q*10,sample_rates [k]); 53 printf (" %-20s : ", filename); 59 write_vorbis_data_or_die (filename, sample_rates [k], q, data_out, ARRAY_LEN (data_out),ch); 60 read_vorbis_data_or_die (filename, sample_rates [k], data_in, ARRAY_LEN (data_in)); 66 remove (filename);
|
/external/ltp/testcases/kernel/syscalls/dup/ |
H A D | dup01.c | 125 char filename[255]; variable 148 filename, TEST_ERRNO, strerror(TEST_ERRNO)); 151 filename, TEST_RETURN); 156 "closing %s failed", filename); 176 sprintf(filename, "dupfile"); 177 if ((fd = open(filename, O_RDWR | O_CREAT, 0700)) == -1) 185 tst_resm(TWARN | TERRNO, "closing %s failed", filename);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_flush.c | 60 char filename[256]; local 64 util_snprintf(filename, sizeof(filename), "cbuf%u_%u", i, frame_no); 65 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.cbufs[i]); 69 util_snprintf(filename, sizeof(filename), "zsbuf_%u", frame_no); 70 debug_dump_surface_bmp(&llvmpipe->pipe, filename, llvmpipe->framebuffer.zsbuf);
|
/external/mesa3d/src/gallium/targets/graw-null/ |
H A D | graw_util.c | 80 const char *filename) 82 if (!filename || !*filename) { 83 filename = out_filename; 84 if (!filename || !*filename) { 91 debug_dump_surface_bmp(pipe, filename, surface); 78 graw_save_surface_to_file(struct pipe_context *pipe, struct pipe_surface *surface, const char *filename) argument
|
/external/skia/tools/ |
H A D | chrome_fuzz.cpp | 15 static bool read_test_case(const char* filename, SkString* testdata) { argument 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, argument 62 SkDebugf("Test case: %s\n", filename); 64 if (!read_test_case(filename, &testdata))
|
/external/syslinux/com32/libupload/ |
H A D | 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) argument 57 return cpio_hdr(be, MODE_DIR, 0, filename); 60 int cpio_writefile(struct upload_backend *be, const char *filename, argument 65 rv = cpio_hdr(be, MODE_FILE, len, filename); 24 cpio_hdr(struct upload_backend *be, uint32_t mode, size_t datalen, const char *filename) argument
|