Home
last modified time | relevance | path

Searched refs:fmt_ (Results 1 – 14 of 14) sorted by relevance

/external/strace/
Derror_prints.h66 #define error_func_msg(fmt_, ...) \ argument
67 error_msg("%s: " fmt_, __func__, ##__VA_ARGS__)
68 #define perror_func_msg(fmt_, ...) \ argument
69 perror_msg("%s: " fmt_, __func__, ##__VA_ARGS__)
70 #define debug_func_msg(fmt_, ...) \ argument
71 debug_msg("%s: " fmt_, __func__, ##__VA_ARGS__)
72 #define debug_func_perror_msg(fmt_, ...) \ argument
73 debug_perror_msg("%s: " fmt_, __func__, ##__VA_ARGS__)
74 #define error_func_msg_and_die(fmt_, ...) \ argument
75 error_msg_and_die("%s: " fmt_, __func__, ##__VA_ARGS__)
[all …]
Dxstring.h51 #define xsnprintf(str_, size_, fmt_, ...) \ argument
52 xsnprintf_((str_), (size_), __func__, #fmt_ ", " #__VA_ARGS__, \
53 (fmt_), __VA_ARGS__)
63 #define xsprintf(str_, fmt_, ...) \ argument
64 xsnprintf((str_), sizeof(str_) + MUST_BE_ARRAY(str_), (fmt_), \
99 #define xappendstr(str_, pos_, fmt_, ...) \ argument
102 "xappendstr(" #str_ ", " #pos_ ", " #fmt_ ", " \
104 (fmt_), ##__VA_ARGS__) + (pos_))
/external/adhd/cras/src/tests/
Dmix_unittest.cc29 fmt_ = SND_PCM_FORMAT_S16_LE; in SetUp()
76 cras_mix_add_scale_stride(fmt_, (uint8_t*)mix_buffer_, in TestScaleStride()
107 snd_pcm_format_t fmt_; member in __anon7af3c3aa0111::MixTestSuiteS16_LE
111 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F()
117 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F()
119 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F()
128 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F()
132 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F()
141 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F()
150 cras_mix_add(fmt_, (uint8_t*)mix_buffer_, (uint8_t*)src_buffer_, kNumSamples, in TEST_F()
[all …]
Dloopback_iodev_unittest.cc54 fmt_.frame_rate = 48000; in SetUp()
55 fmt_.num_channels = 2; in SetUp()
56 fmt_.format = SND_PCM_FORMAT_S16_LE; in SetUp()
60 loop_in_->format = &fmt_; in SetUp()
86 struct cras_audio_format fmt_; member in __anon900c787d0111::LoopBackTestSuite
95 iodev.format = &fmt_; in TEST_F()
204 loop_hook(buf_, nframes, &fmt_, loop_in_); in TEST_F()
Diodev_list_unittest.cc135 fmt_.format = SND_PCM_FORMAT_S16_LE; in SetUp()
136 fmt_.frame_rate = 48000; in SetUp()
137 fmt_.num_channels = 2; in SetUp()
279 struct cras_audio_format fmt_; member in __anon76f3a6ce0111::IoDevTestSuite
317 d1_.format = &fmt_; in TEST_F()
374 rstream.format = fmt_; in TEST_F()
375 rstream2.format = fmt_; in TEST_F()
384 d1_.format = &fmt_; in TEST_F()
450 d1_.format = &fmt_; in TEST_F()
451 d2_.format = &fmt_; in TEST_F()
[all …]
Drstream_unittest.cc29 fmt_.format = SND_PCM_FORMAT_S16_LE; in SetUp()
30 fmt_.frame_rate = 48000; in SetUp()
31 fmt_.num_channels = 2; in SetUp()
39 config_.format = &fmt_; in SetUp()
79 struct cras_audio_format fmt_; member in __anon20f120fa0111::RstreamTestSuite
145 EXPECT_TRUE(format_equal(&fmt_ret, &fmt_)); in TEST_F()
183 EXPECT_TRUE(format_equal(&fmt_ret, &fmt_)); in TEST_F()
Daudio_thread_unittest_obsolete.cc490 memset(&fmt_, 0, sizeof(fmt_)); in SetUp()
491 fmt_.frame_rate = 44100; in SetUp()
492 fmt_.num_channels = 2; in SetUp()
493 fmt_.format = SND_PCM_FORMAT_S16_LE; in SetUp()
496 iodev_.format = &fmt_; in SetUp()
551 memcpy(&(*rstream)->format, &fmt_, sizeof(fmt_)); in SetupRstream()
638 struct cras_audio_format fmt_; member in WriteStreamSuite
698 (uint64_t)cb_threshold_ * 1000000000ULL / (uint64_t)fmt_.frame_rate; in TEST_F()
745 (uint64_t)cb_threshold_ * 1000000000ULL / (uint64_t)fmt_.frame_rate; in TEST_F()
822 (uint64_t)fmt_.frame_rate; in TEST_F()
[all …]
Dalsa_io_unittest.cc1892 fmt_.frame_rate = 44100; in SetUp()
1893 fmt_.num_channels = 2; in SetUp()
1894 fmt_.format = SND_PCM_FORMAT_S16_LE; in SetUp()
1895 aio_output_->base.format = &fmt_; in SetUp()
1906 struct cras_audio_format fmt_; member in __anon22874f540111::AlsaVolumeMuteSuite
1914 memcpy(fmt, &fmt_, sizeof(fmt_)); in TEST_F()
1950 memcpy(fmt, &fmt_, sizeof(fmt_)); in TEST_F()
1974 memcpy(fmt, &fmt_, sizeof(fmt_)); in TEST_F()
2054 fmt_.format = SND_PCM_FORMAT_S16_LE; in SetUp()
2055 fmt_.frame_rate = 48000; in SetUp()
[all …]
/external/strace/tests-mx32/
Dtests.h98 # define perror_msg_and_fail(fmt_, ...) \ argument
99 perror_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__)
102 # define error_msg_and_fail(fmt_, ...) \ argument
103 error_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__)
/external/strace/tests/
Dtests.h98 # define perror_msg_and_fail(fmt_, ...) \ argument
99 perror_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__)
102 # define error_msg_and_fail(fmt_, ...) \ argument
103 error_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__)
/external/strace/tests-m32/
Dtests.h98 # define perror_msg_and_fail(fmt_, ...) \ argument
99 perror_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__)
102 # define error_msg_and_fail(fmt_, ...) \ argument
103 error_msg_and_fail("%s:%d: " fmt_, __FILE__, __LINE__, ##__VA_ARGS__)
/external/pdfium/xfa/fgas/crt/
Dcfgas_stringformatter_unittest.cpp30 fmt_.reset(); in TearDown()
48 fmt_.reset(); // Can't outlive |mgr_|. in fmt()
50 fmt_ = pdfium::MakeUnique<CFGAS_StringFormatter>(mgr_.get(), pattern); in fmt()
51 return fmt_.get(); in fmt()
56 std::unique_ptr<CFGAS_StringFormatter> fmt_; member in CFGAS_StringFormatterTest
/external/compiler-rt/lib/dfsan/
Ddfsan_custom.cc887 Formatter(char *str_, const char *fmt_, size_t size_) in Formatter()
888 : str(str_), str_off(0), size(size_), fmt_start(fmt_), fmt_cur(fmt_), in Formatter()
/external/llvm-project/compiler-rt/lib/dfsan/
Ddfsan_custom.cpp941 Formatter(char *str_, const char *fmt_, size_t size_) in Formatter()
942 : str(str_), str_off(0), size(size_), fmt_start(fmt_), fmt_cur(fmt_), in Formatter()