HomeSort by relevance Sort by last modified time
    Searched refs:rc (Results 201 - 225 of 3721) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/strace/tests/
sched_xetscheduler.c 14 long rc = syscall(__NR_sched_getscheduler, 0); local
16 switch (rc) {
47 rc, scheduler);
49 rc = syscall(__NR_sched_getscheduler, -1);
50 printf("sched_getscheduler(-1) = %s\n", sprintrc(rc));
54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL);
55 printf("sched_setscheduler(0, SCHED_FIFO, NULL) = %s\n", sprintrc(rc));
57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1);
59 sprintrc(rc));
61 rc = syscall(__NR_sched_setscheduler, 0, 0xfaceda7a, param)
    [all...]
reboot.c 28 long rc; local
31 rc = syscall(__NR_reboot, 0, 0, 0, 0);
35 sprintrc(rc));
37 rc = syscall(__NR_reboot, bogus_magic1, bogus_magic2, bogus_cmd, -1);
42 (unsigned int) bogus_cmd, sprintrc(rc));
44 rc = syscall(__NR_reboot, LINUX_REBOOT_MAGIC1,
48 INVALID_MAGIC, buf, sprintrc(rc));
50 rc = syscall(__NR_reboot, LINUX_REBOOT_MAGIC1,
54 INVALID_CMD, sprintrc(rc));
56 rc = syscall(__NR_reboot, INVALID_MAGIC, LINUX_REBOOT_MAGIC2A
    [all...]
  /external/strace/tests-m32/
sched_xetscheduler.c 14 long rc = syscall(__NR_sched_getscheduler, 0); local
16 switch (rc) {
47 rc, scheduler);
49 rc = syscall(__NR_sched_getscheduler, -1);
50 printf("sched_getscheduler(-1) = %s\n", sprintrc(rc));
54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL);
55 printf("sched_setscheduler(0, SCHED_FIFO, NULL) = %s\n", sprintrc(rc));
57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1);
59 sprintrc(rc));
61 rc = syscall(__NR_sched_setscheduler, 0, 0xfaceda7a, param)
    [all...]
reboot.c 28 long rc; local
31 rc = syscall(__NR_reboot, 0, 0, 0, 0);
35 sprintrc(rc));
37 rc = syscall(__NR_reboot, bogus_magic1, bogus_magic2, bogus_cmd, -1);
42 (unsigned int) bogus_cmd, sprintrc(rc));
44 rc = syscall(__NR_reboot, LINUX_REBOOT_MAGIC1,
48 INVALID_MAGIC, buf, sprintrc(rc));
50 rc = syscall(__NR_reboot, LINUX_REBOOT_MAGIC1,
54 INVALID_CMD, sprintrc(rc));
56 rc = syscall(__NR_reboot, INVALID_MAGIC, LINUX_REBOOT_MAGIC2A
    [all...]
  /external/strace/tests-mx32/
sched_xetscheduler.c 14 long rc = syscall(__NR_sched_getscheduler, 0); local
16 switch (rc) {
47 rc, scheduler);
49 rc = syscall(__NR_sched_getscheduler, -1);
50 printf("sched_getscheduler(-1) = %s\n", sprintrc(rc));
54 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, NULL);
55 printf("sched_setscheduler(0, SCHED_FIFO, NULL) = %s\n", sprintrc(rc));
57 rc = syscall(__NR_sched_setscheduler, 0, SCHED_FIFO, param + 1);
59 sprintrc(rc));
61 rc = syscall(__NR_sched_setscheduler, 0, 0xfaceda7a, param)
    [all...]
reboot.c 28 long rc; local
31 rc = syscall(__NR_reboot, 0, 0, 0, 0);
35 sprintrc(rc));
37 rc = syscall(__NR_reboot, bogus_magic1, bogus_magic2, bogus_cmd, -1);
42 (unsigned int) bogus_cmd, sprintrc(rc));
44 rc = syscall(__NR_reboot, LINUX_REBOOT_MAGIC1,
48 INVALID_MAGIC, buf, sprintrc(rc));
50 rc = syscall(__NR_reboot, LINUX_REBOOT_MAGIC1,
54 INVALID_CMD, sprintrc(rc));
56 rc = syscall(__NR_reboot, INVALID_MAGIC, LINUX_REBOOT_MAGIC2A
    [all...]
  /external/ltp/testcases/kernel/device-drivers/include/
userBlockInclude.c 43 int rc; local
45 rc = open_block_device();
47 if (!rc) {
56 rc = ioctl(block_dev_handle, INCDEV_CMD, &cmd);
58 printf("return from ioctl %d \n", rc);
74 int rc; local
86 rc = stat(INCLUDE_DEVICE_PATH, &statbuf);
88 if (rc) {
91 rc = mkdir(INCLUDE_DEVICE_PATH,
101 rc = unlink(INCLUDE_DEVICE_PATH)
    [all...]
  /external/ltp/testcases/kernel/device-drivers/nls/
userBlockNLS.c 43 int rc; local
45 rc = open_block_device();
47 if (!rc) {
56 rc = ioctl(block_dev_handle, NLSDEV_CMD, &cmd);
58 printf("return from ioctl %d \n", rc);
72 int rc; local
84 rc = stat(NLS_DEVICE_PATH, &statbuf);
86 if (rc) {
89 rc = mkdir(NLS_DEVICE_PATH, (S_IFDIR | S_IRWXU |
101 rc = unlink(NLS_DEVICE_PATH)
    [all...]
  /external/rmi4utils/rmi4update/
rmi4update.cpp 92 int rc; local
95 rc = FindUpdateFunctions();
96 if (rc != UPDATE_SUCCESS)
97 return rc;
99 rc = m_device.QueryBasicProperties();
100 if (rc < 0)
107 rc = UPDATE_FAIL_FIRMWARE_IMAGE_IS_OLDER;
108 return rc;
115 rc = DisableNonessentialInterupts();
116 if (rc != UPDATE_SUCCESS
218 int rc; local
244 int rc; local
327 int rc; local
354 int rc; local
370 int rc; local
426 int rc; local
482 int rc = 0; local
    [all...]
  /external/ltp/testcases/kernel/controllers/freezer/
libcgroup_freezer 91 local rc=0
94 rc=$?
100 result=${result:-$rc}
106 rc=$?
107 if [ $rc -ne 0 ]; then
108 result=${result:-$rc}
111 return $rc
116 rc=$?
117 if [ $rc -ne 0 ]; then
118 result=${result:-$rc}
    [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
rate_control.cpp 27 void updateRateControl(rateControl *rc, VideoEncData *video);
28 void updateRC_PostProc(rateControl *rc, VideoEncData *video);
31 ************** RC APIs to core encoding modules *******************
34 PV_STATUS RC_Cleanup(rateControl *rc[],Int numLayers);
35 PV_STATUS RC_VopQPSetting(VideoEncData *video,rateControl *rc[]);
36 PV_STATUS RC_VopUpdateStat(VideoEncData *video,rateControl *rc[]);
54 rateControl **rc = video->rc; local
65 rc[n]->fine_frame_skip = encParams->FineFrameSkip_Enabled;
66 rc[n]->no_frame_skip = encParams->NoFrameSkip_Enabled
192 rateControl *rc = video->rc[currLayer]; local
385 rateControl *rc = video->rc[currLayer]; local
420 rateControl **rc = video->rc; local
534 rateControl *rc = video->rc[video->currLayer]; local
704 rateControl *rc = video->rc[video->currLayer]; local
    [all...]
  /device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg_interface.c 109 int32_t rc = -1; local
114 return rc;
122 return rc;
124 rc = mm_jpeg_start_job(g_jpeg_obj, job, job_id);
126 return rc;
147 int32_t rc = -1; local
151 return rc;
159 return rc;
162 rc = mm_jpeg_create_session(g_jpeg_obj, client_hdl, p_params, p_session_id);
164 return rc;
181 int32_t rc = -1; local
215 int32_t rc = -1; local
249 int32_t rc = -1; local
293 int32_t rc = -1; local
329 int32_t rc = 0; local
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/
common.h 34 #define ERR_MSG(p, f, rc) \
35 printf("Failed: policy: %s, func: %s, rc: %s (%u)\n", \
36 p, f, strerror(rc), rc)
51 int rc; local
54 rc = pthread_getschedparam(self, &policy, &sp);
55 if (rc != 0) {
56 ERR_MSG(p->policy_label, "pthread_getschedparam()", rc);
82 int rc; local
87 rc = pthread_attr_init(attr)
123 int rc; local
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/
6-1.c 28 #define ERR_MSG(f, rc) printf("Failed: func: %s rc: %u errno: %s\n", \
29 f, rc, strerror(errno))
43 int rc; local
45 rc = sigaction(SIGCHLD, &act, 0);
46 if (rc) {
47 ERR_MSG("sigaction()", rc);
58 rc = sigpending(&pendingset);
59 if (rc) {
60 ERR_MSG("sigpending()", rc);
    [all...]
  /hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg_interface.c 109 int32_t rc = -1; local
114 return rc;
122 return rc;
124 rc = mm_jpeg_start_job(g_jpeg_obj, job, job_id);
126 return rc;
147 int32_t rc = -1; local
151 return rc;
159 return rc;
162 rc = mm_jpeg_create_session(g_jpeg_obj, client_hdl, p_params, p_session_id);
164 return rc;
181 int32_t rc = -1; local
215 int32_t rc = -1; local
249 int32_t rc = -1; local
293 int32_t rc = -1; local
329 int32_t rc = 0; local
    [all...]
  /system/core/trusty/libtrusty/
trusty.c 35 int rc; local
39 rc = -errno;
42 return rc < 0 ? rc : -1;
45 rc = ioctl(fd, TIPC_IOC_CONNECT, srv_name);
46 if (rc < 0) {
47 rc = -errno;
51 return rc < 0 ? rc : -1;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getschedpolicy/
2-1.c 32 int rc; local
35 rc = pthread_attr_getschedpolicy(attr, &policy);
36 if (rc != 0) {
65 int rc = 0; local
68 rc = pthread_attr_init(&attr);
69 if (rc != 0) {
74 rc = pthread_attr_setschedpolicy(&attr, FIFOPOLICY);
75 if (rc != 0) {
81 rc = pthread_attr_setschedpolicy(&attr, RRPOLICY);
82 if (rc != 0)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/
2-3.c 39 int rc = 0; local
41 rc = pthread_getschedparam(pthread_self(), &policy, &param);
42 if (rc != 0) {
61 int rc = 0; local
65 rc = pthread_attr_init(&attr);
66 if (rc != 0) {
71 rc = pthread_attr_setinheritsched(&attr, PTHREAD_INHERIT_SCHED);
72 if (rc != 0) {
77 rc = pthread_setschedparam(pthread_self(), POLICY, &param);
78 if (rc != 0)
    [all...]
2-4.c 39 int rc = 0; local
41 rc = pthread_getschedparam(pthread_self(), &policy, &param);
42 if (rc != 0) {
61 int rc = 0; local
65 rc = pthread_setschedparam(pthread_self(), POLICY, &param);
66 if (rc != 0) {
71 rc = pthread_attr_init(&attr);
72 if (rc != 0) {
77 rc = pthread_attr_setinheritsched(&attr, PTHREAD_INHERIT_SCHED);
78 if (rc != 0)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrierattr_init/
2-1.c 29 int rc; local
35 rc = pthread_barrierattr_init(&ba);
36 if (rc != 0) {
51 rc = pthread_barrierattr_destroy(&ba);
52 if (rc != 0) {
54 "return code: %d, %s", rc, strerror(rc));
61 rc = pthread_barrier_wait(&barriers[cnt]);
62 if (rc != 0 && rc != PTHREAD_BARRIER_SERIAL_THREAD)
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_getschedparam/
1-2.c 27 #define ERR_MSG(f, rc) printf("Failed: func %s rc: %s (%u)\n", \
28 f, strerror(rc), rc)
34 int rc; local
40 rc = pthread_setschedparam(pthread_self(), policy, &sparam);
41 if (rc) {
42 ERR_MSG("pthread_setschedparam()", rc);
45 rc = pthread_getschedparam(pthread_self(), &policy_1, &sparam);
46 if (rc != 0)
68 int rc; local
    [all...]
  /external/syslinux/gpxe/src/usr/
dhcpmgmt.c 43 int rc; local
46 if ( ( rc = ifopen ( netdev ) ) != 0 )
47 return rc;
50 if ( ( rc = iflinkwait ( netdev, LINK_WAIT_MS ) ) != 0 )
51 return rc;
59 if ( ( rc = start_dhcp ( &monojob, netdev ) ) == 0 ) {
60 rc = monojob_wait ( "" );
61 } else if ( rc > 0 ) {
63 rc = 0;
66 return rc;
70 int rc; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
dynload_os2.c 22 APIRET rc; local
27 rc = DosLoadModule(failreason,
32 if (rc != NO_ERROR) {
35 "DLL load failed, rc = %d: %.200s",
36 rc, failreason);
42 rc = DosQueryProcAddr(hDLL, 0L, funcname, &p);
43 if (rc != NO_ERROR)
  /external/adhd/cras/src/libcras/
cras_helpers.c 59 int rc; local
61 rc = cras_client_create(client);
62 if (rc < 0)
63 return rc;
67 rc = cras_client_run_thread(*client);
68 if (rc < 0)
71 rc = cras_client_connect_async(*client);
72 if (rc < 0)
79 return rc;
84 int rc; local
122 int rc; local
    [all...]
  /external/ltp/testcases/commands/tpm-tools/tpm/tpm_getpubek/
tpm_getpubek_tests_exp01.sh 38 set rc [lindex $rc_list {3}]
40 if {$pwd_prompt == 1} { set rc 1 }
42 exit $rc

Completed in 488 milliseconds

1 2 3 4 5 6 7 891011>>