Home
last modified time | relevance | path

Searched refs:rand (Results 1 – 25 of 30) sorted by relevance

12

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
Dpostproc_x86.c13 #define rand __rand macro
15 #undef rand
17 extern int rand(void) in rand() function
Dpostproc_mmx.asm249 extern sym(rand)
261 call sym(rand) WRT_PLT
268 ; rdx could be trashed by rand()
Dpostproc_sse2.asm663 extern sym(rand)
675 call sym(rand) WRT_PLT
682 ; rdx could be trashed by rand()
/hardware/bsp/intel/peripheral/libmraa/examples/python/
Dspi.py26 import random as rand namespace
37 txbuf[y] = rand.randrange(0, 256)
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c452 i = rand(); in random_delay()
511 g = rand()%2; in run_enable_sequence()
512 a = rand()%2; in run_enable_sequence()
524 if (rand()%2) { in run_enable_sequence()
525 out = rand()%2; in run_enable_sequence()
548 if(rand()%2) in run_enable_sequence()
556 if(rand()%2) in run_enable_sequence()
615 if(rand()%2) in run_disable_sequence()
629 g = rand()%2; in run_dmp_off()
630 a = rand()%2; in run_dmp_off()
[all …]
/hardware/intel/common/libva/test/putsurface/
Dputsurface_common.c390 cliprects[0].x = (rand() % width); in update_clipbox()
391 cliprects[0].y = (rand() % height); in update_clipbox()
392 cliprects[0].width = (rand() % (width - cliprects[0].x)); in update_clipbox()
393 cliprects[0].height = (rand() % (height - cliprects[0].y)); in update_clipbox()
395 cliprects[1].x = (rand() % width); in update_clipbox()
396 cliprects[1].y = (rand() % height); in update_clipbox()
397 cliprects[1].width = (rand() % (width - cliprects[1].x)); in update_clipbox()
398 cliprects[1].height = (rand() % (height - cliprects[1].y)); in update_clipbox()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libmkv/
DWebMElement.c49 uint64_t r = rand(); in generateTrackID()
51 r += rand(); in generateTrackID()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/
DAacEncTest.c1454 pInputBufferHeader[i]->nTimeStamp= rand() % 100;
1455 pInputBufferHeader[i]->nTickCount = rand() % 100;
1548 pBuffer->nTimeStamp= rand() % 100;
1549 pBuffer->nTickCount = rand() % 100;
1634 pBuffer->nTimeStamp= rand() % 100; /* random value for time stamp */
1635 pBuffer->nTickCount = rand() % 100;
1693 pBuffer->nTimeStamp= rand() % 100; /* random value for time stamp */
1694 pBuffer->nTickCount = rand() % 100;
1870 pBuffer->nTimeStamp= rand() % 100; /* random value for time stamp */
1871 pBuffer->nTickCount = rand() % 100;
/hardware/intel/common/libmix/mix_video/test/src/
Dtest_framemanager.c37 jdx = rand() % len; in shuffle()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Ddecode_with_partial_drops.c175 int loss_event = ((rand() + 1.0)/(RAND_MAX + 1.0) < loss_rate/100.0); in throw_packets()
/hardware/qcom/gps/msm8909/utils/
DLocHeap.cpp319 int r = rand(); in main()
DLocTimer.cpp694 int r = rand() % tries; in main()
/hardware/qcom/gps/msm8996/utils/
DLocHeap.cpp319 int r = rand(); in main()
DLocTimer.cpp694 int r = rand() % tries; in main()
/hardware/intel/common/utils/ISV/base/
Disv_bufmanager.cpp122 random_buf[i] = (char)(((double)rand()/(double)RAND_MAX) * 255.0); in clearIfNeed()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/
DG729EncTest.c938 pBuffer->nTimeStamp = (OMX_S64)rand() % 70; in main()
939 pBuffer->nTickCount = rand() % 70; in main()
1012 pBuffer->nTimeStamp = (OMX_S64)rand() % 2; in main()
1013 pBuffer->nTickCount = (OMX_S64)rand() % 70; in main()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_postproc.c257 const short *rv3 = &vp9_rv[63 & rand()]; // NOLINT in vp9_mbpost_proc_down_c()
415 state->noise[i] = char_dist[rand() & 0xff]; // NOLINT in fillrd()
437 char *ref = (char *)(noise + (rand() & 0xff)); // NOLINT in vp9_plane_add_noise_c()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dpostproc.c271 const short *rv3 = &vp8_rv[63&rand()]; in vp8_mbpost_proc_down_c()
475 state->noise[i] = char_dist[rand() & 0xff]; in fillrd()
521 char *Ref = (char *)(noise + (rand() & 0xff)); in vp8_plane_add_noise_c()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/tests/
DG726DecTest.c1373 pBuffer->nTimeStamp = (OMX_S64) rand() % 2; in send_input_buffer()
1374 pBuffer->nTickCount = rand() % 70; in send_input_buffer()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/
Dmkvmuxerutil.cpp703 const int32 nn = rand(); in MakeUID()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
DG711EncTest.c1463 pBuffer->nTimeStamp = rand()% 100; in send_input_buffer()
1464 pBuffer->nTickCount = rand() % 70; in send_input_buffer()
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/tests/
DG711DecTest.c1594 pBuffer->nTimeStamp = rand()%100; in send_input_buffer()
1595 pBuffer->nTickCount = rand() % 70; in send_input_buffer()
/hardware/intel/common/omx-components/videocodec/securevideo/moorefield/
DOMXVideoDecoderAVCSecure.cpp623 native->data[2] = rand(); in MemAllocDataBuffer()
/hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/tests/
DG722DecTest.c1488 pBuffer->nTimeStamp = (OMX_S64) rand() % 70; in testCases()
1489 pBuffer->nTickCount = (OMX_S64) rand() % 70; in testCases()
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/tests/
DG729DecTest.c1360 pBuffer->nTimeStamp = (OMX_S64) rand() % 70; in send_input_buffer()
1361 pBuffer->nTickCount = (OMX_S64) rand() % 70; in send_input_buffer()

12