Home
last modified time | relevance | path

Searched refs:rval (Results 1 – 25 of 36) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.12/src/audio/nto/
DSDL_nto_audio.c142 int rval; in NTO_AudioAvailable() local
148 rval = snd_pcm_open_preferred(&handle, NULL, NULL, OPEN_FLAGS); in NTO_AudioAvailable()
150 if (rval >= 0) in NTO_AudioAvailable()
154 if ((rval = snd_pcm_close(handle)) < 0) in NTO_AudioAvailable()
156 SDL_SetError("NTO_AudioAvailable(): snd_pcm_close failed: %s\n", snd_strerror(rval)); in NTO_AudioAvailable()
250 int written, rval; in NTO_PlayAudio() local
282 if ((rval = snd_pcm_plugin_status(audio_handle, &cstatus)) < 0) in NTO_PlayAudio()
284 … SDL_SetError("NTO_PlayAudio(): snd_pcm_plugin_status failed: %s\n", snd_strerror(rval)); in NTO_PlayAudio()
289 … if ((rval = snd_pcm_plugin_prepare(audio_handle, SND_PCM_CHANNEL_PLAYBACK)) < 0) in NTO_PlayAudio()
291 … SDL_SetError("NTO_PlayAudio(): snd_pcm_plugin_prepare failed: %s\n", snd_strerror(rval)); in NTO_PlayAudio()
[all …]
/external/webkit/WebKitTools/simplejson/
D_speedups.c78 PyObject *rval; in ascii_escape_unicode() local
86 rval = PyString_FromStringAndSize(NULL, output_size); in ascii_escape_unicode()
87 if (rval == NULL) { in ascii_escape_unicode()
90 output = PyString_AS_STRING(rval); in ascii_escape_unicode()
107 if (_PyString_Resize(&rval, output_size) == -1) { in ascii_escape_unicode()
110 output = PyString_AS_STRING(rval); in ascii_escape_unicode()
114 if (_PyString_Resize(&rval, chars) == -1) { in ascii_escape_unicode()
117 return rval; in ascii_escape_unicode()
126 PyObject *rval; in ascii_escape_str() local
134 rval = PyString_FromStringAndSize(NULL, output_size); in ascii_escape_str()
[all …]
Dscanner.py50 rval, next_pos = action(m, context)
55 yield rval, matchend
/external/stlport/test/unit/
Dstrstream_test.cpp36 _STLP_LONG_LONG rval = 0; in input() local
37 is >> rval; in input()
38 CPPUNIT_ASSERT( rval == 652208307 ); in input()
42 _STLP_LONG_LONG rval = 0; in input() local
43 is >> rval; in input()
44 CPPUNIT_ASSERT( rval == -652208307 ); in input()
/external/qemu/distrib/sdl-1.2.12/src/audio/dc/
DSDL_dcaudio.c115 unsigned lval,rval; in spu_memload_stereo8() local
117 rval = *src++; in spu_memload_stereo8()
119 rval|= (*src++)<<8; in spu_memload_stereo8()
121 rval|= (*src++)<<16; in spu_memload_stereo8()
123 rval|= (*src++)<<24; in spu_memload_stereo8()
125 g2_write_32(right++,rval); in spu_memload_stereo8()
137 unsigned lval,rval; in spu_memload_stereo16() local
139 rval = *src++; in spu_memload_stereo16()
141 rval|= (*src++)<<16; in spu_memload_stereo16()
143 g2_write_32(right++,rval); in spu_memload_stereo16()
/external/iproute2/misc/
Drtacct.c249 unsigned long long rval[4]; in dump_incr_db() local
258 rval[k] = val[k]; in dump_incr_db()
259 if (rval[k] < hist_db->val[realm*4+k]) in dump_incr_db()
262 rval[k] -= hist_db->val[realm*4+k]; in dump_incr_db()
266 rval[k] = val[k]; in dump_incr_db()
276 !rval[0] && !rate[0] && in dump_incr_db()
277 !rval[1] && !rate[1] && in dump_incr_db()
278 !rval[2] && !rate[2] && in dump_incr_db()
279 !rval[3] && !rate[3]) in dump_incr_db()
285 format_count(fp, rval[i]); in dump_incr_db()
/external/freetype/src/sfnt/
Dttsbit0.c518 FT_UShort rval; in tt_sbit_decoder_load_bit_aligned() local
558 rval = 0; in tt_sbit_decoder_load_bit_aligned()
574 rval = *p++; in tt_sbit_decoder_load_bit_aligned()
580 rval |= *p++; in tt_sbit_decoder_load_bit_aligned()
585 rval >>= 8; in tt_sbit_decoder_load_bit_aligned()
589 *write++ |= ( ( rval >> nbits ) & 0xFF ) & in tt_sbit_decoder_load_bit_aligned()
591 rval <<= 8; in tt_sbit_decoder_load_bit_aligned()
599 rval |= *p++; in tt_sbit_decoder_load_bit_aligned()
600 *write++ |= ( rval >> nbits ) & 0xFF; in tt_sbit_decoder_load_bit_aligned()
602 rval <<= 8; in tt_sbit_decoder_load_bit_aligned()
[all …]
/external/icu4c/test/intltest/
Dintltest.cpp548 UBool rval = this->verbose; in setVerbose() local
550 return rval; in setVerbose()
555 UBool rval = this->warn_on_missing_data; in setWarnOnMissingData() local
557 return rval; in setWarnOnMissingData()
562 UBool rval = this->no_err_msg; in setNoErrMsg() local
564 return rval; in setNoErrMsg()
569 UBool rval = this->quick; in setQuick() local
571 return rval; in setQuick()
576 UBool rval = this->leaks; in setLeaks() local
578 return rval; in setLeaks()
[all …]
/external/chromium/third_party/icu/source/test/intltest/
Dintltest.cpp547 UBool rval = this->verbose; in setVerbose() local
549 return rval; in setVerbose()
554 UBool rval = this->warn_on_missing_data; in setWarnOnMissingData() local
556 return rval; in setWarnOnMissingData()
561 UBool rval = this->no_err_msg; in setNoErrMsg() local
563 return rval; in setNoErrMsg()
568 UBool rval = this->quick; in setQuick() local
570 return rval; in setQuick()
575 UBool rval = this->leaks; in setLeaks() local
577 return rval; in setLeaks()
[all …]
/external/icu4c/tools/ctestfw/
Duperf.cpp280 UBool rval; in runTest() local
293 rval = runTestLoop( NULL, NULL ); in runTest()
297 rval = TRUE; in runTest()
300 rval = runTestLoop( name, par ); in runTest()
305 return rval; in runTest()
336 UBool rval = FALSE; in runTestLoop() local
356 rval=TRUE; in runTestLoop()
463 return rval; in runTestLoop()
/external/chromium/third_party/icu/source/tools/ctestfw/
Duperf.cpp280 UBool rval; in runTest() local
293 rval = runTestLoop( NULL, NULL ); in runTest()
297 rval = TRUE; in runTest()
300 rval = runTestLoop( name, par ); in runTest()
305 return rval; in runTest()
336 UBool rval = FALSE; in runTestLoop() local
356 rval=TRUE; in runTestLoop()
463 return rval; in runTestLoop()
/external/libffi/src/sparc/
Dffi.c371 void *rval = rvalue; in ffi_call() local
383 rval = alloca(64); in ffi_call()
386 rval = NULL; in ffi_call()
406 cif->flags, rval, fn); in ffi_call()
407 if (rvalue && rval && cif->rtype->type == FFI_TYPE_STRUCT) in ffi_call()
408 ffi_v9_layout_struct(cif->rtype, 0, (char *)rvalue, (char *)rval, ((char *)rval)+32); in ffi_call()
/external/libffi/testsuite/libffi.call/
Dcls_multi_uchar.c23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
33 *(ffi_arg *)rval = test_func_fn(a1, a2, a3, a4); in test_func_gn()
40 void test_func(ffi_cif *cif __UNUSED__, void *rval __UNUSED__, void **avals, in test_func()
Dcls_multi_sshort.c22 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
30 *(ffi_arg *)rval = test_func_fn(a1, a2); in test_func_gn()
Dcls_multi_ushort.c22 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
30 *(ffi_arg *)rval = test_func_fn(a1, a2); in test_func_gn()
Dcls_multi_schar.c22 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
30 *(ffi_arg *)rval = test_func_fn(a1, a2); in test_func_gn()
Dcls_multi_sshortchar.c23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
34 *(ffi_arg *)rval = test_func_fn(a1, a2, a3, a4); in test_func_gn()
Dcls_multi_ushortchar.c23 static void test_func_gn(ffi_cif *cif __UNUSED__, void *rval, void **avals, in test_func_gn() argument
34 *(ffi_arg *)rval = test_func_fn(a1, a2, a3, a4); in test_func_gn()
/external/blktrace/
Dblkrawverify.c280 int i, cpu, nbad, rval = 0; in main() local
303 rval = 1; in main()
311 rval = 1; in main()
321 return rval; in main()
/external/strace/
Dsyscall.c1696 force_result(tcp, error, rval) in force_result() argument
1699 long rval;
1703 gpr2 = error ? -error : rval;
1708 eax = error ? -error : rval;
1713 rax = error ? -error : rval;
1719 r8 = error ? -error : rval;
1729 r8 = rval;
1743 r2 = rval;
1759 result = rval;
1766 d0 = error ? -error : rval;
[all …]
/external/qemu/
Dcpu-all.h1005 uint64_t rval; in cpu_get_real_ticks() local
1006 asm volatile("rd %%tick,%0" : "=r"(rval)); in cpu_get_real_ticks()
1007 return rval; in cpu_get_real_ticks()
1015 } rval; in cpu_get_real_ticks()
1017 : "=r"(rval.i32.high), "=r"(rval.i32.low)); in cpu_get_real_ticks()
1018 return rval.i64; in cpu_get_real_ticks()
/external/libvpx/libmkv/
DWebMElement.c54 UInt64 rval = t ^ r; in generateTrackID() local
55 return rval; in generateTrackID()
/external/blktrace/btt/
Dseek.c285 long long rval = 0LL; in seeki_median() local
290 &rval); in seeki_median()
292 return rval; in seeki_median()
/external/bluetooth/glib/glib/
Dgstring.c560 const gchar *rval) in g_string_assign() argument
563 g_return_val_if_fail (rval != NULL, string); in g_string_assign()
566 if (string->str != rval) in g_string_assign()
571 g_string_append (string, rval); in g_string_assign()
/external/skia/src/xml/
DSkJSDisplayable.cpp75 static JSBool Draw(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval);
83 jsval *argv, jsval *rval) in Draw() argument
104 … JSBool _class##Constructor(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) { \

12