HomeSort by relevance Sort by last modified time
    Searched defs:in_file (Results 1 - 25 of 26) sorted by null

1 2

  /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 48 static char *in_file = "sendfile08.in"; variable
102 in_fd = SAFE_CREAT(cleanup, in_file, 0700);
106 tst_brkm(TBROK | TERRNO, cleanup, "Write %s failed", in_file);
109 in_fd = SAFE_OPEN(cleanup, in_file, O_RDONLY);
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 63 char in_file[100]; variable
89 if ((in_fd = open(in_file, O_RDONLY)) < 0) {
92 SAFE_STAT(cleanup, in_file, &sb);
147 sprintf(in_file, "in.%d", getpid());
148 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 69 char in_file[100]; variable
108 if ((in_fd = open(in_file, O_RDONLY)) < 0) {
111 SAFE_STAT(cleanup, in_file, &sb);
185 sprintf(in_file, "in.%d", getpid());
186 if ((fd = creat(in_file, 00700)) < 0) {
sendfile04.c 68 char in_file[100]; variable
115 if ((in_fd = open(in_file, O_RDONLY)) < 0) {
118 SAFE_STAT(cleanup, in_file, &sb);
182 sprintf(in_file, "in.%d", getpid());
183 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);
  /external/tensorflow/tensorflow/contrib/lite/models/
speech_test.cc 34 std::ifstream* in_file) {
36 in_file->open(string(kDataPath) + in_file_name, std::ifstream::in);
37 return in_file->is_open();
57 std::ifstream in_file(in_file_name);
58 if (!in_file.is_open()) {
71 while (std::getline(in_file, in_values, '\n')) {
155 std::ifstream in_file; local
157 ASSERT_TRUE(Init("speech_asr_lm_model.test_spec", &test_driver, &in_file));
158 ASSERT_TRUE(testing::ParseAndRunTests(&in_file, &test_driver))
  /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/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/e2fsprogs/contrib/android/
e2fsdroid.c 17 static char *in_file; variable
136 if (asprintf(&in_file, "(%s)", argv[optind]) == -1) {
142 in_file = strdup(argv[optind]);
144 retval = ext2fs_open(in_file, flags, 0, 0, io_mgr, &fs);
146 com_err(prog_name, retval, "while opening file %s\n", in_file);
ext2simg.c 30 char *in_file; member in struct:__anon19011
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);
204 params.in_file = strdup(argv[optind++]);
206 params.overwrite_input = same_file(params.in_file, params.out_file);
208 s = ext_to_sparse(params.in_file);
218 free(params.in_file);
    [all...]
  /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();
  /tools/dexter/dexter/
dexter.cc 321 FILE* in_file = fopen(dex_filename_, "rb"); local
322 if (in_file == nullptr) {
328 fclose(in_file);
332 fseek(in_file, 0, SEEK_END);
333 size_t in_size = ftell(in_file);
339 fseek(in_file, 0, SEEK_SET);
340 SLICER_CHECK(fread(in_buff.get(), 1, in_size, in_file) == in_size);
  /system/sepolicy/tools/fc_sort/
fc_sort.c 341 FILE *in_file, *out_file; local
355 if (!(in_file = fopen(input_name, "r"))) {
370 while ( getline(&line_buf, &buf_len, in_file) != -1 ){
526 fclose(in_file);
  /hardware/qcom/audio/hal/audio_extn/
sndmonitor.c 281 struct dirent* in_file; local
292 while ((in_file = readdir(dp)) != NULL) {
293 if (!strstr(in_file->d_name, "qc_"))
297 events_dir, in_file->d_name);
304 if (!add_new_dev_event(in_file->d_name, fd))

Completed in 983 milliseconds

1 2