Home
last modified time | relevance | path

Searched refs:fmt_ (Results 1 – 12 of 12) 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()
77 fmt_, (uint8_t *)mix_buffer_, (uint8_t *)src_buffer_, in TestScaleStride()
100 snd_pcm_format_t fmt_; member in __anonfcb420430111::MixTestSuiteS16_LE
104 cras_mix_add(fmt_, (uint8_t *)mix_buffer_, (uint8_t *)src_buffer_, in TEST_F()
110 cras_mix_add(fmt_, (uint8_t *)mix_buffer_, (uint8_t *)src_buffer_, in TEST_F()
112 cras_mix_add(fmt_, (uint8_t *)mix_buffer_, (uint8_t *)src_buffer_, in TEST_F()
121 cras_mix_add(fmt_, (uint8_t *)mix_buffer_, (uint8_t *)src_buffer_, in TEST_F()
125 cras_mix_add(fmt_, (uint8_t *)mix_buffer_, (uint8_t *)src_buffer_, in TEST_F()
134 cras_mix_add(fmt_, (uint8_t *)mix_buffer_, (uint8_t *)src_buffer_, in TEST_F()
143 cras_mix_add(fmt_, (uint8_t *)mix_buffer_, (uint8_t *)src_buffer_, in TEST_F()
[all …]
Dloopback_iodev_unittest.cc46 fmt_.frame_rate = 48000; in SetUp()
47 fmt_.num_channels = 2; in SetUp()
48 fmt_.format = SND_PCM_FORMAT_S16_LE; in SetUp()
52 loop_in_->format = &fmt_; in SetUp()
69 struct cras_audio_format fmt_; member in __anon30ce23760111::LoopBackTestSuite
78 iodev.format = &fmt_; in TEST_F()
79 iodev.ext_format = &fmt_; in TEST_F()
150 loop_hook(buf_, nframes, &fmt_, loop_hook_cb_data); in TEST_F()
Drstream_unittest.cc27 fmt_.format = SND_PCM_FORMAT_S16_LE; in SetUp()
28 fmt_.frame_rate = 48000; in SetUp()
29 fmt_.num_channels = 2; in SetUp()
36 config_.format = &fmt_; in SetUp()
74 struct cras_audio_format fmt_; member in __anon0e5022130111::RstreamTestSuite
140 EXPECT_TRUE(format_equal(&fmt_ret, &fmt_)); in TEST_F()
177 EXPECT_TRUE(format_equal(&fmt_ret, &fmt_)); in TEST_F()
Daudio_thread_unittest_obsolete.cc501 memset(&fmt_, 0, sizeof(fmt_)); in SetUp()
502 fmt_.frame_rate = 44100; in SetUp()
503 fmt_.num_channels = 2; in SetUp()
504 fmt_.format = SND_PCM_FORMAT_S16_LE; in SetUp()
507 iodev_.format = &fmt_; in SetUp()
562 memcpy(&(*rstream)->format, &fmt_, sizeof(fmt_)); in SetupRstream()
655 struct cras_audio_format fmt_; member in WriteStreamSuite
715 1000000000ULL / (uint64_t)fmt_.frame_rate; in TEST_F()
762 1000000000ULL / (uint64_t)fmt_.frame_rate; in TEST_F()
839 1000000000ULL / (uint64_t)fmt_.frame_rate; in TEST_F()
[all …]
Dalsa_io_unittest.cc1847 fmt_.frame_rate = 44100; in SetUp()
1848 fmt_.num_channels = 2; in SetUp()
1849 fmt_.format = SND_PCM_FORMAT_S16_LE; in SetUp()
1850 aio_output_->base.format = &fmt_; in SetUp()
1861 struct cras_audio_format fmt_; member in __anon0fe6506d0111::AlsaVolumeMuteSuite
1869 memcpy(fmt, &fmt_, sizeof(fmt_)); in TEST_F()
1893 memcpy(fmt, &fmt_, sizeof(fmt_)); in TEST_F()
1925 memcpy(fmt, &fmt_, sizeof(fmt_)); in TEST_F()
2006 fmt_.format = SND_PCM_FORMAT_S16_LE; in SetUp()
2007 fmt_.frame_rate = 48000; in SetUp()
[all …]
/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/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/pdfium/xfa/fgas/crt/
Dcfgas_formatstring_unittest.cpp30 fmt_.reset(); in TearDown()
48 fmt_ = pdfium::MakeUnique<CFGAS_FormatString>(mgr_.get()); in fmt()
49 return fmt_.get(); in fmt()
54 std::unique_ptr<CFGAS_FormatString> fmt_; member in CFGAS_FormatStringTest
/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()