/external/ltp/testcases/kernel/syscalls/sendfile/ |
H A D | sendfile07.c | 66 char in_file[100]; variable 127 sprintf(in_file, "in.%d", getpid()); 128 if ((in_fd = creat(in_file, 00700)) < 0) { 137 if ((in_fd = open(in_file, O_RDONLY)) < 0) {
|
H A D | sendfile08.c | 47 static char *in_file = "sendfile08.in"; variable 104 in_fd = creat(in_file, 0700); 106 tst_brkm(TBROK | TERRNO, cleanup, "Create %s failed", in_file); 110 tst_brkm(TBROK | TERRNO, cleanup, "Write %s failed", in_file); 113 in_fd = open(in_file, O_RDONLY); 115 tst_brkm(TBROK | TERRNO, cleanup, "Open %s failed", in_file);
|
H A D | sendfile03.c | 65 char in_file[100], out_file[100]; variable 144 sprintf(in_file, "in.%d", getpid()); 145 if ((in_fd = creat(in_file, 00700)) < 0) { 154 if ((in_fd = open(in_file, O_RDONLY)) < 0) {
|
H A D | sendfile09.c | 61 static char *in_file = "in"; variable 92 in_fd = SAFE_OPEN(cleanup, in_file, O_RDONLY); 143 fd = SAFE_CREAT(cleanup, in_file, 00700);
|
H A D | sendfile02.c | 68 char in_file[100]; variable 107 if ((in_fd = open(in_file, O_RDONLY)) < 0) { 110 if (stat(in_file, &sb) < 0) { 186 sprintf(in_file, "in.%d", getpid()); 187 if ((fd = creat(in_file, 00700)) < 0) {
|
H A D | sendfile04.c | 67 char in_file[100]; variable 114 if ((in_fd = open(in_file, O_RDONLY)) < 0) { 117 if (stat(in_file, &sb) < 0) { 184 sprintf(in_file, "in.%d", getpid()); 185 if ((fd = creat(in_file, 00700)) < 0) {
|
H A D | sendfile05.c | 62 char in_file[100]; variable 88 if ((in_fd = open(in_file, O_RDONLY)) < 0) { 91 if (stat(in_file, &sb) < 0) { 148 sprintf(in_file, "in.%d", getpid()); 149 if ((fd = creat(in_file, 00700)) < 0) {
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
H A D | audio_classifier_test.cc | 59 FILE* in_file = fopen(input_filename.c_str(), "rb"); local 60 if (!in_file) { 75 data_size, in_file) == (size_t) data_size) { 102 fclose(in_file);
|
H A D | RTPchange.cc | 27 FILE* in_file = fopen(argv[1], "rb"); local 28 if (!in_file) { 73 if (fgets(first_line, FIRSTLINELEN, in_file) == NULL) { 80 if (fread(first_line, 1, kRtpDumpHeaderSize, in_file) 100 if (new_packet->readFromFile(in_file) < 0) { 129 fclose(in_file);
|
H A D | RTPjitter.cc | 100 FILE* in_file=fopen(argv[1],"rb"); local 101 CHECK_NOT_NULL(in_file); 132 rtp_vec = (unsigned char *) malloc(sizeof(unsigned char)*filelen(in_file)); 139 EXPECT_TRUE(fgets(firstline, FIRSTLINELEN, in_file) != NULL); 142 in_file)); 151 len=(uint16_t) fread(&rtp_vec[rtp_len], sizeof(unsigned char), 2, in_file); 156 len-2, in_file)!=(unsigned) (len-2)) { 164 len=(uint16_t) fread(&rtp_vec[rtp_len], sizeof(unsigned char), 2, in_file); 212 fclose(in_file);
|
H A D | RTPencode.cc | 465 FILE* in_file = fopen(argv[1], "rb"); local 466 CHECK_NOT_NULL(in_file); 612 len = fread(org_data, 2, packet_size * numChannels, in_file) / numChannels; 812 len = fread(org_data, 2, packet_size * numChannels, in_file) / numChannels; 827 fclose(in_file);
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
H A D | audio_file_processor.cc | 45 scoped_ptr<WavReader> in_file, 48 in_buf_(GetChannelBuffer(*in_file)), 50 input_config_(GetStreamConfig(*in_file)), 52 buffer_reader_(std::move(in_file)), 44 WavFileProcessor(scoped_ptr<AudioProcessing> ap, scoped_ptr<WavReader> in_file, scoped_ptr<WavWriter> out_file) argument
|
H A D | audioproc_float.cc | 135 auto in_file = rtc_make_scoped_ptr(new WavReader(FLAGS_i)); local 136 std::cout << FLAGS_i << ": " << in_file->FormatAsString() << std::endl; 137 processor.reset(new WavFileProcessor(std::move(ap), std::move(in_file),
|
H A D | debug_dump_test.cc | 272 FILE* in_file = fopen(in_filename.c_str(), "rb"); local 273 ASSERT_TRUE(in_file); 276 while (ReadMessageFromFile(in_file, &event_msg)) { 295 fclose(in_file);
|
H A D | audio_processing_unittest.cc | 1714 FILE* in_file = fopen(in_filename.c_str(), "rb"); local 1715 ASSERT_TRUE(in_file != NULL); 1719 while (ReadMessageFromFile(in_file, &event_msg)) { 1798 fclose(in_file);
|
/external/e2fsprogs/contrib/android/ |
H A D | e2fsdroid.c | 15 static char *in_file; variable 107 in_file = strdup(argv[optind]); 110 retval = ext2fs_open(in_file, flags, 0, 0, io_mgr, &fs); 112 com_err(prog_name, retval, "while opening file %s\n", in_file);
|
H A D | ext2simg.c | 30 char *in_file; member in struct:__anon4977 74 if (sparse_file_add_file(s, params.in_file, offset, len, chunk_start) < 0) 109 static struct sparse_file *ext_to_sparse(const char *in_file) argument 117 retval = ext2fs_open(in_file, 0, 0, 0, unix_io_manager, &fs); 119 ext2fs_fatal(retval, "while reading %s", in_file); 123 ext2fs_fatal(retval, "while reading block bitmap of %s", in_file); 205 params.in_file = strdup(argv[optind++]); 207 params.overwrite_input = same_file(params.in_file, params.out_file); 209 s = ext_to_sparse(params.in_file); 219 free(params.in_file); [all...] |
/external/webrtc/webrtc/modules/audio_processing/agc/ |
H A D | histogram_unittest.cc | 50 FILE* in_file = fopen(filename, "rb"); local 51 ASSERT_TRUE(in_file != NULL); 54 EXPECT_EQ(fread(&buffer_size, sizeof(buffer_size), 1, in_file), 1u); 64 while (fread(&io, sizeof(InputOutput), 1, in_file) == 1) { 72 if (fread(&io, sizeof(InputOutput), 1, in_file) != 1) 89 fclose(in_file);
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
H A D | TestVADDTX.cc | 87 PCMFile in_file; local 88 in_file.Open(in_filename, frequency, "rb"); 89 in_file.ReadStereo(channels > 1); 91 in_file.SetNum10MsBlocksToRead(100); 94 in_file.FastForward(50); 103 uint16_t frame_size_samples = in_file.PayloadLength10Ms(); 106 while (!in_file.EndOfFile()) { 107 in_file.Read10MsData(audio_frame); 115 in_file.Close();
|
/external/webrtc/webrtc/modules/audio_processing/transient/ |
H A D | transient_suppression_test.cc | 77 bool ReadBuffers(FILE* in_file, argument 95 in_file) != num_channels * audio_buffer_size) { 148 FILE* in_file = fopen(FLAGS_in_file_name.c_str(), "rb"); local 149 ASSERT_TRUE(in_file != NULL); 197 while (ReadBuffers(in_file, 233 fclose(in_file);
|