Home
last modified time | relevance | path

Searched refs:rand (Results 1 – 25 of 27) 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/intel/img/libdrm/libdrm/
Dxf86drmRandom.c190 unsigned long rand; in main() local
194 rand = drmRandom(state); in main()
197 rand, state->check, in main()
198 rand - state->check ? "*INCORRECT*" : "CORRECT"); in main()
/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/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/
DTrustletSession.cpp45 sessionMagic = rand(); in TrustletSession()
/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/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/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/qcom/wlan/qcwcn/wifi_hal/
Dgscan.cpp54 requestId = rand(); in wifi_get_valid_channels()
146 requestId = rand(); in wifi_get_gscan_capabilities()
1095 requestId = rand(); in wifi_get_cached_gscan_results()
/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/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()
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
DWmaDecTest.c1190 pBuffer->nTimeStamp = rand() % 100; in main()
1191 pBuffer->nTickCount = rand() % 70; in main()
/hardware/samsung_slsi/exynos5/librotator/
Dexynos_rotator.c608 op_id = rand() % 1000000; // just make random id in exynos_rotator_create()
/hardware/samsung_slsi/exynos5/libgscaler/
Dexynos_gscaler.c736 op_id = rand() % 1000000; // just make random id in exynos_gsc_create()
915 op_id = rand() % 1000000; // just make random id in exynos_gsc_create_exclusive()
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/
DG726EncTest.c1639 pBuffer->nTimeStamp = rand() % 100;
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/tests/
DWBAmrDecTest.c1843 pBuffer->nTimeStamp = rand() % 100;

12