/external/ltp/testcases/kernel/syscalls/sendfile/ |
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) {
|
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);
|
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) {
|
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) {
|
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);
|
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) {
|
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) {
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
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),
|
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);
|
audio_processing_unittest.cc | 1714 FILE* in_file = fopen(in_filename.c_str(), "rb"); local [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
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);
|
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);
|
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);
|
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); [all...] |
/external/webrtc/webrtc/modules/audio_processing/agc/ |
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/e2fsprogs/contrib/android/ |
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);
|
ext2simg.c | 30 char *in_file; member in struct:__anon17625 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) 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/transient/ |
transient_suppression_test.cc | 77 bool ReadBuffers(FILE* in_file, 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);
|
/system/extras/app-launcher/ |
computestats.c | 12 char *in_file; variable 55 in_file = argv[1]; 56 in_fp = fopen(in_file, "r");
|
computestatsf.c | 12 char *in_file; variable 55 in_file = argv[1]; 56 in_fp = fopen(in_file, "r");
|
/system/libufdt/tests/src/ |
extract_dtb.c | 155 const char *in_file = argv[1]; local 158 int ret = extract_dtbs(in_file, out_dtb_file, out_image_file);
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
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();
|
/system/sepolicy/tools/fc_sort/ |
fc_sort.c | 327 FILE *in_file, *out_file; local 342 if (!(in_file = fopen(input_name, "r"))) { 354 while ( getline(&line_buf, &buf_len, in_file) != -1 ){ 486 fclose(in_file);
|
/hardware/qcom/audio/hal/audio_extn/ |
sndmonitor.c | 267 struct dirent* in_file; local 278 while ((in_file = readdir(dp)) != NULL) { 279 if (!strstr(in_file->d_name, "qc_")) 283 events_dir, in_file->d_name); 290 if (!add_new_dev_event(in_file->d_name, fd))
|