Home
last modified time | relevance | path

Searched refs:filetype (Results 1 - 25 of 44) sorted by relevance

12

/third_party/libsnd/tests/
H A Dlong_read_write_test.c41 static void short_lrw_test (const char *filename, int filetype, const short * output, int out_len) ;
42 static void int_lrw_test (const char *filename, int filetype, const int * output, int out_len) ;
43 static void float_lrw_test (const char *filename, int filetype, const float * output, int out_len) ;
44 static void double_lrw_test (const char *filename, int filetype, const double * output, int out_len) ;
90 short_lrw_test (const char *filename, int filetype, const short * output, int out_len) in short_lrw_test() argument
103 sfinfo.format = filetype ; in short_lrw_test()
115 exit_if_true (sfinfo.format != filetype, "\n\nLine %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, filetype, sfinfo.format) ; in short_lrw_test()
136 int_lrw_test (const char *filename, int filetype, const int * output, int out_len) in int_lrw_test() argument
149 sfinfo.format = filetype ; in int_lrw_test()
182 float_lrw_test(const char *filename, int filetype, const float * output, int out_len) float_lrw_test() argument
228 double_lrw_test(const char *filename, int filetype, const double * output, int out_len) double_lrw_test() argument
[all...]
H A Dstdio_test.c66 static void stdio_test (const char *filetype) ;
86 stdio_test (const char *filetype) in stdio_test() argument
91 print_test_name ("stdio_test", filetype) ; in stdio_test()
93 snprintf (buffer, sizeof (buffer), "./tests/stdout_test %s > stdio.%s", filetype, filetype) ; in stdio_test()
100 snprintf (buffer, sizeof (buffer), "stdio.%s", filetype) ; in stdio_test()
106 snprintf (buffer, sizeof (buffer), "./tests/stdin_test %s < stdio.%s", filetype, filetype) ; in stdio_test()
113 snprintf (buffer, sizeof (buffer), "rm stdio.%s", filetype) ; in stdio_test()
H A Dlossy_comp_test.c49 static void lcomp_test_short (const char *filename, int filetype, int chan, double margin) ;
50 static void lcomp_test_int (const char *filename, int filetype, int chan, double margin) ;
51 static void lcomp_test_float (const char *filename, int filetype, int chan, double margin) ;
52 static void lcomp_test_double (const char *filename, int filetype, int chan, double margin) ;
54 static void sdlcomp_test_short (const char *filename, int filetype, int chan, double margin) ;
55 static void sdlcomp_test_int (const char *filename, int filetype, int chan, double margin) ;
56 static void sdlcomp_test_float (const char *filename, int filetype, int chan, double margin) ;
57 static void sdlcomp_test_double (const char *filename, int filetype, int chan, double margin) ;
59 static void read_raw_test (const char *filename, int filetype, int chan) ;
73 static int is_lossy (int filetype) ;
649 lcomp_test_short(const char *filename, int filetype, int channels, double margin) lcomp_test_short() argument
836 lcomp_test_int(const char *filename, int filetype, int channels, double margin) lcomp_test_int() argument
1034 lcomp_test_float(const char *filename, int filetype, int channels, double margin) lcomp_test_float() argument
1229 lcomp_test_double(const char *filename, int filetype, int channels, double margin) lcomp_test_double() argument
1425 sdlcomp_test_short(const char *filename, int filetype, int channels, double margin) sdlcomp_test_short() argument
1645 sdlcomp_test_int(const char *filename, int filetype, int channels, double margin) sdlcomp_test_int() argument
1869 sdlcomp_test_float(const char *filename, int filetype, int channels, double margin) sdlcomp_test_float() argument
2116 sdlcomp_test_double(const char *filename, int filetype, int channels, double margin) sdlcomp_test_double() argument
2360 read_raw_test(const char *filename, int filetype, int channels) read_raw_test() argument
2585 is_lossy(int filetype) is_lossy() argument
[all...]
H A Dcommand_test.c48 static void calc_peak_test (int filetype, const char *filename, int channels) ;
49 static void truncate_test (const char *filename, int filetype) ;
50 static void instrument_test (const char *filename, int filetype) ;
51 static void cue_test (const char *filename, int filetype) ;
52 static void cue_test_var (const char *filename, int filetype, int count) ;
53 static void channel_map_test (const char *filename, int filetype) ;
55 static void raw_needs_endswap_test (const char *filename, int filetype) ;
57 static void broadcast_test (const char *filename, int filetype) ;
58 static void broadcast_rdwr_test (const char *filename, int filetype) ;
63 static void cart_test (const char *filename, int filetype) ;
556 calc_peak_test(int filetype, const char *filename, int channels) calc_peak_test() argument
671 truncate_test(const char *filename, int filetype) truncate_test() argument
735 instrument_test(const char *filename, int filetype) instrument_test() argument
934 cue_test(const char *filename, int filetype) cue_test() argument
995 cue_test_var(const char *filename, int filetype, int count) cue_test_var() argument
1101 broadcast_test(const char *filename, int filetype) broadcast_test() argument
1189 broadcast_rdwr_test(const char *filename, int filetype) broadcast_rdwr_test() argument
1464 cart_test(const char *filename, int filetype) cart_test() argument
1625 cart_rdwr_test(const char *filename, int filetype) cart_rdwr_test() argument
1677 channel_map_test(const char *filename, int filetype) channel_map_test() argument
1743 raw_needs_endswap_test(const char *filename, int filetype) raw_needs_endswap_test() argument
[all...]
H A Dheaderless_test.c121 int k, filetype ; in old_test() local
129 filetype = SF_FORMAT_WAV | SF_FORMAT_PCM_16 ; in old_test()
134 sfinfo.format = filetype ; in old_test()
150 sfinfo.format = filetype = SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_PCM_16 ; in old_test()
154 if (sfinfo.format != filetype) in old_test()
155 { printf ("Line %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, filetype, sfinfo.format) ; in old_test()
H A Dpeak_chunk_test.c41 static void test_float_peak (const char *filename, int filetype) ;
42 static void read_write_peak_test (const char *filename, int filetype) ;
115 test_float_peak (const char *filename, int filetype) in test_float_peak() argument
124 sfinfo.format = filetype ; in test_float_peak()
158 if (sfinfo.format != filetype) in test_float_peak()
159 { printf ("\n\nLine %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, filetype, sfinfo.format) ; in test_float_peak()
316 read_write_peak_test (const char *filename, int filetype) in read_write_peak_test() argument
330 sfinfo.format = filetype ; in read_write_peak_test()
H A Dlargefile_test.c38 static void largefile_test (int filetype, const char * filename) ;
50 largefile_test (int filetype, const char * filename) in largefile_test() argument
61 sfinfo.format = (filetype | SF_FORMAT_PCM_32) ; in largefile_test()
H A Dfix_this.c43 static void lcomp_test_int (const char *str, const char *filename, int filetype, double margin) ;
76 lcomp_test_int (const char *str, const char *filename, int filetype, double margin) in lcomp_test_int() argument
104 sfinfo.format = filetype ; in lcomp_test_int()
120 if ((filetype & SF_FORMAT_TYPEMASK) != SF_FORMAT_RAW) in lcomp_test_int()
129 if ((sfinfo.format & (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK)) != (filetype & (SF_FORMAT_TYPEMASK | SF_FORMAT_SUBMASK))) in lcomp_test_int()
130 { printf ("Line %d: Returned format incorrect (0x%08X => 0x%08X).\n", __LINE__, filetype, sfinfo.format) ; in lcomp_test_int()
H A Ddither_test.c38 static void dither_test (const char *filename, int filetype) ;
137 dither_test (const char *filename, int filetype) in dither_test() argument
145 sfinfo.format = filetype ; in dither_test()
H A Dmulti_file_test.c45 static void write_file_at_end (int fd, int filetype, int channels, int file_num) ;
205 write_file_at_end (int fd, int filetype, int channels, int file_num) in write_file_at_end() argument
218 sfinfo.format = filetype ; in write_file_at_end()
/third_party/ffmpeg/libavformat/
H A Dsauce.c36 int datatype, filetype, t1, t2, nb_comments; in ff_sauce_read() local
57 filetype = avio_r8(pb); in ff_sauce_read()
65 if (got_width && datatype && filetype) { in ff_sauce_read()
66 if ((datatype == 1 && filetype <=2) || (datatype == 5 && filetype == 255) || datatype == 6) { in ff_sauce_read()
74 if (filetype) { in ff_sauce_read()
75 avctx->streams[0]->codecpar->width = (filetype == 1 ? t1 : filetype) << 4; in ff_sauce_read()
/third_party/python/Mac/PythonLauncher/
H A DFileSettings.h44 + (id)getDefaultsForFileType: (NSString *)filetype;
45 + (id)getFactorySettingsForFileType: (NSString *)filetype;
46 + (id)newSettingsForFileType: (NSString *)filetype;
48 - (id)initForFileType: (NSString *)filetype;
49 - (id)initForFSDefaultFileType: (NSString *)filetype;
50 - (id)initForDefaultFileType: (NSString *)filetype;
H A DPreferencesWindowController.h9 IBOutlet NSPopUpButton *filetype; variable
H A DMyDocument.h30 NSString *filetype; variable
/third_party/libsnd/examples/
H A Dgenerate.c42 static void encode_file (const char *infilename, const char *outfilename, int filetype) ;
86 encode_file (const char *infilename, const char *outfilename, int filetype) in encode_file() argument
107 sfinfo.format = filetype ; in encode_file()
/third_party/curl/lib/
H A Dftplistparser.c341 if((finfo->filetype == CURLFILETYPE_SYMLINK) && finfo->strings.target && in ftp_pl_insert_finfo()
468 finfo->filetype = CURLFILETYPE_FILE; in Curl_ftp_parselist()
471 finfo->filetype = CURLFILETYPE_DIRECTORY; in Curl_ftp_parselist()
474 finfo->filetype = CURLFILETYPE_SYMLINK; in Curl_ftp_parselist()
477 finfo->filetype = CURLFILETYPE_NAMEDPIPE; in Curl_ftp_parselist()
480 finfo->filetype = CURLFILETYPE_SOCKET; in Curl_ftp_parselist()
483 finfo->filetype = CURLFILETYPE_DEVICE_CHAR; in Curl_ftp_parselist()
486 finfo->filetype = CURLFILETYPE_DEVICE_BLOCK; in Curl_ftp_parselist()
489 finfo->filetype = CURLFILETYPE_DOOR; in Curl_ftp_parselist()
720 if(finfo->filetype in Curl_ftp_parselist()
[all...]
/third_party/curl/tests/libtest/
H A Dlib576.c57 switch(finfo->filetype) { in chunk_bgn()
72 if(finfo->filetype == CURLFILETYPE_FILE) { in chunk_bgn()
/third_party/gn/misc/vim/ftdetect/
H A Dgnfiletype.vim16 setlocal filetype=gn
25 au BufNewFile *.gn,*.gni setlocal filetype=gn fileencoding=utf-8 fileformat=unix
/third_party/curl/docs/examples/
H A Dftp-wildcard.c103 switch(finfo->filetype) { in file_is_coming()
115 if(finfo->filetype == CURLFILETYPE_FILE) { in file_is_coming()
/third_party/python/Lib/
H A Dsndhdr.py42 'filetype framerate nchannels nframes sampwidth')
44 SndHeaders.filetype.__doc__ = ("""The value for type indicates the data type
111 filetype = 'au'
132 return filetype, rate, nchannels, nframe, sample_bits
/third_party/toybox/toys/other/
H A Dstat.c97 int i, filetype = stat->st_mode & S_IFMT; in print_stat() local
99 for (i = 1; filetype != (i*8192) && i < 7; i++) t += strlen(t)+1; in print_stat()
100 if (!stat->st_size && filetype == S_IFREG) t = "regular empty file"; in print_stat()
/third_party/libsnd/src/
H A Dsvx.c134 int filetype = 0, parsestage = 0, done = 0 ; in svx_read_header() local
164 filetype = marker ; in svx_read_header()
200 if (filetype == SVX8_MARKER) in svx_read_header()
204 else if (filetype == SV16_MARKER) in svx_read_header()
/third_party/python/Lib/test/
H A Dtest_sndhdr.py25 self.assertEqual(what.filetype, expected[0])
/third_party/python/Modules/
H A D_stat.c351 filetype(mode_t mode) in filetype() function
409 buf[0] = filetype(mode); in stat_filemode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DMachOObjectFile.cpp302 if (Obj.getHeader().filetype != MachO::MH_DYLIB_STUB && in parseSegmentLoadCommand()
303 Obj.getHeader().filetype != MachO::MH_DSYM && in parseSegmentLoadCommand()
310 if (Obj.getHeader().filetype != MachO::MH_DYLIB_STUB && in parseSegmentLoadCommand()
311 Obj.getHeader().filetype != MachO::MH_DSYM && in parseSegmentLoadCommand()
320 if (Obj.getHeader().filetype != MachO::MH_DYLIB_STUB && in parseSegmentLoadCommand()
321 Obj.getHeader().filetype != MachO::MH_DSYM && in parseSegmentLoadCommand()
329 if (Obj.getHeader().filetype != MachO::MH_DYLIB_STUB && in parseSegmentLoadCommand()
330 Obj.getHeader().filetype != MachO::MH_DSYM && in parseSegmentLoadCommand()
338 if (Obj.getHeader().filetype != MachO::MH_DYLIB_STUB && in parseSegmentLoadCommand()
339 Obj.getHeader().filetype ! in parseSegmentLoadCommand()
[all...]

Completed in 13 milliseconds

12