Home
last modified time | relevance | path

Searched refs:test_format (Results 1 – 16 of 16) sorted by relevance

/external/bluetooth/glib/tests/
Dmarkup-escape-test.c8 static void test_format (const gchar *format,
48 test_format (const gchar *format, in test_format() function
109 test_format ("A", "A"); in main()
110 test_format ("A%s", "A&", "&"); in main()
111 test_format ("%sA", "&A", "&"); in main()
112 test_format ("A%sA", "A&A", "&"); in main()
113 test_format ("%s%sA", "&&A", "&", "&"); in main()
114 test_format ("A%s%s", "A&&", "&", "&"); in main()
115 test_format ("A%s%sA", "A&&A", "&", "&"); in main()
116 test_format ("A%sA%sA", "A&A&A", "&", "&"); in main()
[all …]
/external/icu4c/test/cintltst/
Dtracetst.c70 static void test_format(const char *format, int32_t bufCap, int32_t indent, in test_format() function
297 test_format("hello, world", 50, 0, "hello, world", __LINE__); in TestTraceAPI()
298 test_format("hello, world", 50, 4, " hello, world", __LINE__); in TestTraceAPI()
299 test_format("hello, world", 3, 0, "hello, world", __LINE__); in TestTraceAPI()
301 test_format("a character %c", 50, 0, "a character x", __LINE__, 'x'); in TestTraceAPI()
302 test_format("a string %s ", 50, 0, "a string hello ", __LINE__, "hello"); in TestTraceAPI()
303 test_format("uchars %S ", 50, 0, "uchars 41fe 0042 0043 0000 ", __LINE__, s1, -1); in TestTraceAPI()
304 test_format("uchars %S ", 50, 0, "uchars 41fe 0042 ", __LINE__, s1, 2); in TestTraceAPI()
306 test_format("a byte %b--", 50, 0, "a byte dd--", __LINE__, 0xdd); in TestTraceAPI()
307 test_format("a 16 bit val %h", 50, 0, "a 16 bit val 1234", __LINE__, 0x1234); in TestTraceAPI()
[all …]
/external/chromium/third_party/icu/source/test/cintltst/
Dtracetst.c70 static void test_format(const char *format, int32_t bufCap, int32_t indent, in test_format() function
297 test_format("hello, world", 50, 0, "hello, world", __LINE__); in TestTraceAPI()
298 test_format("hello, world", 50, 4, " hello, world", __LINE__); in TestTraceAPI()
299 test_format("hello, world", 3, 0, "hello, world", __LINE__); in TestTraceAPI()
301 test_format("a character %c", 50, 0, "a character x", __LINE__, 'x'); in TestTraceAPI()
302 test_format("a string %s ", 50, 0, "a string hello ", __LINE__, "hello"); in TestTraceAPI()
303 test_format("uchars %S ", 50, 0, "uchars 41fe 0042 0043 0000 ", __LINE__, s1, -1); in TestTraceAPI()
304 test_format("uchars %S ", 50, 0, "uchars 41fe 0042 ", __LINE__, s1, 2); in TestTraceAPI()
306 test_format("a byte %b--", 50, 0, "a byte dd--", __LINE__, 0xdd); in TestTraceAPI()
307 test_format("a 16 bit val %h", 50, 0, "a 16 bit val 1234", __LINE__, 0x1234); in TestTraceAPI()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/audio/dsp/
DSDL_dspaudio.c169 Uint16 test_format; in DSP_OpenAudio() local
209 for ( test_format = SDL_FirstAudioFormat(spec->format); in DSP_OpenAudio()
210 ! format && test_format; ) { in DSP_OpenAudio()
212 fprintf(stderr, "Trying format 0x%4.4x\n", test_format); in DSP_OpenAudio()
214 switch ( test_format ) { in DSP_OpenAudio()
256 test_format = SDL_NextAudioFormat(); in DSP_OpenAudio()
264 spec->format = test_format; in DSP_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/arts/
DSDL_artsaudio.c266 Uint16 test_format, format; in ARTS_OpenAudio() local
277 for ( test_format = SDL_FirstAudioFormat(spec->format); in ARTS_OpenAudio()
278 ! format && test_format; ) { in ARTS_OpenAudio()
280 fprintf(stderr, "Trying format 0x%4.4x\n", test_format); in ARTS_OpenAudio()
282 switch ( test_format ) { in ARTS_OpenAudio()
296 test_format = SDL_NextAudioFormat(); in ARTS_OpenAudio()
303 spec->format = test_format; in ARTS_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/baudio/
DSDL_beaudio.cc157 Uint16 test_format = SDL_FirstAudioFormat(spec->format); in BE_OpenAudio() local
164 while ((!valid_datatype) && (test_format)) { in BE_OpenAudio()
166 spec->format = test_format; in BE_OpenAudio()
167 switch (test_format) { in BE_OpenAudio()
187 test_format = SDL_NextAudioFormat(); in BE_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/dma/
DSDL_dmaaudio.c314 Uint16 test_format; in DMA_OpenAudio() local
337 for ( test_format = SDL_FirstAudioFormat(spec->format); in DMA_OpenAudio()
338 ! format && test_format; ) { in DMA_OpenAudio()
340 fprintf(stderr, "Trying format 0x%4.4x\n", test_format); in DMA_OpenAudio()
342 switch ( test_format ) { in DMA_OpenAudio()
378 test_format = SDL_NextAudioFormat(); in DMA_OpenAudio()
385 spec->format = test_format; in DMA_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/paudio/
DSDL_paudio.c238 Uint16 test_format; in Paud_OpenAudio() local
323 for ( test_format = SDL_FirstAudioFormat(spec->format); in Paud_OpenAudio()
324 ! format && test_format; ) { in Paud_OpenAudio()
326 fprintf(stderr, "Trying format 0x%4.4x\n", test_format); in Paud_OpenAudio()
328 switch ( test_format ) { in Paud_OpenAudio()
374 test_format = SDL_NextAudioFormat(); in Paud_OpenAudio()
384 spec->format = test_format; in Paud_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/dmedia/
DSDL_irixaudio.c144 Uint16 test_format = SDL_FirstAudioFormat(spec->format); in AL_OpenAudio() local
165 while ((!valid) && (test_format)) { in AL_OpenAudio()
167 spec->format = test_format; in AL_OpenAudio()
169 switch (test_format) { in AL_OpenAudio()
182 test_format = SDL_NextAudioFormat(); in AL_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/nas/
DSDL_nasaudio.c229 Uint16 test_format, format; in NAS_OpenAudio() local
235 for ( test_format = SDL_FirstAudioFormat(spec->format); in NAS_OpenAudio()
236 ! format && test_format; ) { in NAS_OpenAudio()
237 format = sdlformat_to_auformat(test_format); in NAS_OpenAudio()
240 test_format = SDL_NextAudioFormat(); in NAS_OpenAudio()
247 spec->format = test_format; in NAS_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/nto/
DSDL_nto_audio.c351 Uint16 test_format; in NTO_OpenAudio() local
389 for (test_format=SDL_FirstAudioFormat(spec->format); !found ;) in NTO_OpenAudio()
392 switch (test_format) in NTO_OpenAudio()
424 test_format = SDL_NextAudioFormat(); in NTO_OpenAudio()
429 if (test_format == 0) in NTO_OpenAudio()
435 spec->format = test_format; in NTO_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/dc/
DSDL_dcaudio.c204 Uint16 test_format = SDL_FirstAudioFormat(spec->format); in DCAUD_OpenAudio() local
206 while ((!valid_datatype) && (test_format)) { in DCAUD_OpenAudio()
207 spec->format = test_format; in DCAUD_OpenAudio()
208 switch (test_format) { in DCAUD_OpenAudio()
216 test_format = SDL_NextAudioFormat(); in DCAUD_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/mint/
DSDL_mintaudio_gsxb.c204 Uint16 test_format = SDL_FirstAudioFormat(spec->format); in Mint_CheckAudio() local
221 while ((!valid_datatype) && (test_format)) { in Mint_CheckAudio()
224 spec->format = test_format; in Mint_CheckAudio()
228 switch (test_format) { in Mint_CheckAudio()
248 test_format = SDL_NextAudioFormat(); in Mint_CheckAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/ums/
DSDL_umsaudio.c234 Uint16 test_format; in UMS_OpenAudio() local
250 test_format = SDL_FirstAudioFormat(spec->format); in UMS_OpenAudio()
254 fprintf(stderr, "Trying format 0x%4.4x\n", test_format); in UMS_OpenAudio()
256 switch ( test_format ) in UMS_OpenAudio()
306 test_format = SDL_NextAudioFormat(); in UMS_OpenAudio()
309 while ( ! success && test_format ); in UMS_OpenAudio()
316 spec->format = test_format; in UMS_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/alsa/
DSDL_alsa_audio.c377 Uint16 test_format; in ALSA_OpenAudio() local
407 for ( test_format = SDL_FirstAudioFormat(spec->format); in ALSA_OpenAudio()
408 test_format && (status < 0); ) { in ALSA_OpenAudio()
409 switch ( test_format ) { in ALSA_OpenAudio()
436 test_format = SDL_NextAudioFormat(); in ALSA_OpenAudio()
444 spec->format = test_format; in ALSA_OpenAudio()
/external/qemu/distrib/sdl-1.2.12/src/audio/dart/
DSDL_dart.c78 Uint16 test_format = SDL_FirstAudioFormat(spec->format); in DART_OpenAudio() local
114 while ((!valid_datatype) && (test_format)) { in DART_OpenAudio()
115 spec->format = test_format; in DART_OpenAudio()
117 switch (test_format) { in DART_OpenAudio()
132 test_format = SDL_NextAudioFormat(); in DART_OpenAudio()