Home
last modified time | relevance | path

Searched full:rc (Results 1 – 25 of 6692) sorted by relevance

12345678910>>...268

/external/v4l-utils/utils/keytable/
Drc_maps.cfg13 # ./ir-keytable -a -s rc1 # for RC at rc1
18 # table - RC keymap table, provided via uevent - use * for any table
24 # * rc-avermedia-m135a-rm-jx ./keycodes/kworld_315u.toml
25 # saa7134 rc-avermedia-m135a-rm-jx ./keycodes/keycodes/nec_terratec_cinergy_xs.toml
29 # Table to automatically load the rc maps for the bundled IR's provided with the
33 * rc-adstech-dvb-t-pci adstech_dvb_t_pci.toml
34 * rc-alink-dtu-m alink_dtu_m.toml
35 * rc-anysee anysee.toml
36 * rc-apac-viewcomp apac_viewcomp.toml
37 * rc-astrometa-t2hybrid astrometa_t2hybrid.toml
[all …]
/external/tpm2-tss/test/integration/
Dsapi-system-api.int.c35 TSS2_RC rc; in test_invoke() local
39 rc = Tss2_Sys_GetTestResult_Prepare(0); in test_invoke()
40 if (rc != TSS2_SYS_RC_BAD_REFERENCE) { in test_invoke()
41 LOG_ERROR("Invalid prepare test FAILED! Response Code : 0x%x", rc); in test_invoke()
46 rc = Tss2_Sys_GetTestResult_Prepare(sapi_context); in test_invoke()
47 if (rc != TSS2_RC_SUCCESS) { in test_invoke()
48 LOG_ERROR("Prepare test FAILED! Response Code : 0x%x", rc); in test_invoke()
52 rc = Tss2_Sys_ExecuteAsync(sapi_context); in test_invoke()
53 if (rc != TSS2_RC_SUCCESS) { in test_invoke()
54 LOG_ERROR("Prepare test FAILED! Response Code : 0x%x", rc); in test_invoke()
[all …]
Dsapi-hmac-auth.int.c36 TSS2_RC rc; in create_policy() local
45 rc = Tss2_Sys_GetTctiContext (sys_ctx, &tcti_ctx); in create_policy()
46 if (rc != TSS2_RC_SUCCESS || tcti_ctx == NULL) { in create_policy()
48 return rc; in create_policy()
51 rc = create_auth_session (&trialPolicySession, in create_policy()
62 if (rc != TSS2_RC_SUCCESS) { in create_policy()
63 LOG_ERROR ("create_auth_session failed with rc: 0x%x", rc); in create_policy()
64 return rc; in create_policy()
66 rc = Tss2_Sys_PolicyAuthValue (sys_ctx, in create_policy()
70 if (rc != TSS2_RC_SUCCESS) { in create_policy()
[all …]
Dsapi-param-encrypt-decrypt.int.c30 TSS2_RC rc, rc2; in test_invoke() local
62 rc = Tss2_Sys_GetTctiContext(sapi_context, &tcti_ctx); in test_invoke()
63 if (rc) { in test_invoke()
64 LOG_ERROR("Tss2_Sys_GetTctiContext failed 0x%" PRIx32, rc); in test_invoke()
65 return rc; in test_invoke()
75 rc = Tss2_Sys_NV_DefineSpace(sapi_context, TPM2_RH_OWNER, &req_auth, in test_invoke()
77 if (rc) { in test_invoke()
78 LOG_ERROR("Tss2_Sys_NV_DefineSpace failed 0x%" PRIx32, rc); in test_invoke()
79 return rc; in test_invoke()
87 rc = create_auth_session(&session, TPM2_RH_NULL, 0, in test_invoke()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedpolicy/
D2-1.c47 #define FAIL_AND_EXIT(f, rc) { \ argument
48 printf("Failed: function: %s status: %s(%u)\n", f, strerror(rc), rc); \
56 int rc; in thread_func() local
58 rc = pthread_getschedparam(pthread_self(), &policy, &sp); in thread_func()
59 if (rc) in thread_func()
60 FAIL_AND_EXIT("pthread_getschedparam()", rc); in thread_func()
62 rc = pthread_mutex_lock(&c_mutex); in thread_func()
63 if (rc) in thread_func()
64 FAIL_AND_EXIT("pthread_mutex_lock()", rc); in thread_func()
66 rc = pthread_cond_signal(&cond); in thread_func()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonBitTracker.cpp82 const TargetRegisterClass *RC = MRI.getRegClass(Reg); in mask() local
83 unsigned ID = RC->getID(); in mask()
180 #define rc(i) RegisterCell::ref(getCell(Reg[i], Inputs)) in evaluate() macro
202 return rc(N); in evaluate()
205 auto lo = [this] (const BT::RegisterCell &RC, uint16_t RW) in evaluate()
207 assert(RW <= RC.width()); in evaluate()
208 return eXTR(RC, 0, RW); in evaluate()
211 auto hi = [this] (const BT::RegisterCell &RC, uint16_t RW) in evaluate() argument
213 uint16_t W = RC.width(); in evaluate()
215 return eXTR(RC, W-RW, W); in evaluate()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Hexagon/
DHexagonBitTracker.cpp92 const TargetRegisterClass &RC = *MRI.getRegClass(Reg); in mask() local
93 unsigned ID = RC.getID(); in mask()
96 bool IsSubLo = (Sub == HRI.getHexagonSubRegIndex(RC, Hexagon::ps_sub_lo)); in mask()
108 << TRI.getRegClassName(&RC) << '\n'; in mask()
117 for (auto &RC : {HvxVRRegClass, HvxWRRegClass, HvxQRRegClass, in getPhysRegBitWidth()
119 if (RC.contains(Reg)) in getPhysRegBitWidth()
120 return TRI.getRegSizeInBits(RC); in getPhysRegBitWidth()
123 if (const TargetRegisterClass *RC = TRI.getMinimalPhysRegClass(Reg)) in getPhysRegBitWidth() local
124 return TRI.getRegSizeInBits(*RC); in getPhysRegBitWidth()
131 const TargetRegisterClass &RC, unsigned Idx) const { in composeWithSubRegIndex() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonBitTracker.cpp92 const TargetRegisterClass &RC = *MRI.getRegClass(Reg); in mask() local
93 unsigned ID = RC.getID(); in mask()
96 bool IsSubLo = (Sub == HRI.getHexagonSubRegIndex(RC, Hexagon::ps_sub_lo)); in mask()
108 << TRI.getRegClassName(&RC) << '\n'; in mask()
119 for (auto &RC : {HvxVRRegClass, HvxWRRegClass, HvxQRRegClass, in getPhysRegBitWidth()
121 if (RC.contains(Reg)) in getPhysRegBitWidth()
122 return TRI.getRegSizeInBits(RC); in getPhysRegBitWidth()
125 if (const TargetRegisterClass *RC = TRI.getMinimalPhysRegClass(Reg)) in getPhysRegBitWidth() local
126 return TRI.getRegSizeInBits(*RC); in getPhysRegBitWidth()
133 const TargetRegisterClass &RC, unsigned Idx) const { in composeWithSubRegIndex() argument
[all …]
/external/libxml2/example/
DtestWriter.c68 int rc; in testXmlwriterFilename() local
81 rc = xmlTextWriterStartDocument(writer, NULL, MY_ENCODING, NULL); in testXmlwriterFilename()
82 if (rc < 0) { in testXmlwriterFilename()
90 rc = xmlTextWriterStartElement(writer, BAD_CAST "EXAMPLE"); in testXmlwriterFilename()
91 if (rc < 0) { in testXmlwriterFilename()
97 rc = xmlTextWriterWriteComment(writer, BAD_CAST "This is a comment"); in testXmlwriterFilename()
98 if (rc < 0) { in testXmlwriterFilename()
105 rc = xmlTextWriterStartElement(writer, BAD_CAST "ORDER"); in testXmlwriterFilename()
106 if (rc < 0) { in testXmlwriterFilename()
113 rc = xmlTextWriterWriteAttribute(writer, BAD_CAST "version", in testXmlwriterFilename()
[all …]
/external/libvpx/vp9/encoder/
Dvp9_ratectrl.c219 const RATE_CONTROL *rc = &cpi->rc; in vp9_rc_clamp_pframe_target_size() local
223 VPXMAX(rc->min_frame_bandwidth, rc->avg_frame_bandwidth >> 5); in vp9_rc_clamp_pframe_target_size()
225 if (cpi->refresh_golden_frame && rc->is_src_frame_alt_ref) { in vp9_rc_clamp_pframe_target_size()
234 if (target > rc->max_frame_bandwidth) target = rc->max_frame_bandwidth; in vp9_rc_clamp_pframe_target_size()
238 (int64_t)rc->avg_frame_bandwidth * oxcf->rc_max_inter_bitrate_pct / 100; in vp9_rc_clamp_pframe_target_size()
246 const RATE_CONTROL *rc = &cpi->rc; in vp9_rc_clamp_iframe_target_size() local
250 (int64_t)rc->avg_frame_bandwidth * oxcf->rc_max_intra_bitrate_pct / 100; in vp9_rc_clamp_iframe_target_size()
253 if (target > rc->max_frame_bandwidth) target = rc->max_frame_bandwidth; in vp9_rc_clamp_iframe_target_size()
262 RATE_CONTROL *const rc = &cpi->rc; in vp9_update_buffer_level_preencode() local
263 rc->bits_off_target += rc->avg_frame_bandwidth; in vp9_update_buffer_level_preencode()
[all …]
/external/deqp-deps/SPIRV-Tools/test/
Dparse_number_test.cpp286 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
290 rc = ParseAndEncodeIntegerNumber(nullptr, type, AssertEmitFunc, &err_msg); in TEST()
291 EXPECT_EQ(EncodeNumberStatus::kInvalidText, rc); in TEST()
293 rc = ParseAndEncodeIntegerNumber("", type, AssertEmitFunc, &err_msg); in TEST()
294 EXPECT_EQ(EncodeNumberStatus::kInvalidText, rc); in TEST()
296 rc = ParseAndEncodeIntegerNumber("=", type, AssertEmitFunc, &err_msg); in TEST()
297 EXPECT_EQ(EncodeNumberStatus::kInvalidText, rc); in TEST()
299 rc = ParseAndEncodeIntegerNumber("-", type, AssertEmitFunc, &err_msg); in TEST()
300 EXPECT_EQ(EncodeNumberStatus::kInvalidText, rc); in TEST()
302 rc = ParseAndEncodeIntegerNumber("0=", type, AssertEmitFunc, &err_msg); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dparse_number_test.cpp286 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
290 rc = ParseAndEncodeIntegerNumber(nullptr, type, AssertEmitFunc, &err_msg); in TEST()
291 EXPECT_EQ(EncodeNumberStatus::kInvalidText, rc); in TEST()
293 rc = ParseAndEncodeIntegerNumber("", type, AssertEmitFunc, &err_msg); in TEST()
294 EXPECT_EQ(EncodeNumberStatus::kInvalidText, rc); in TEST()
296 rc = ParseAndEncodeIntegerNumber("=", type, AssertEmitFunc, &err_msg); in TEST()
297 EXPECT_EQ(EncodeNumberStatus::kInvalidText, rc); in TEST()
299 rc = ParseAndEncodeIntegerNumber("-", type, AssertEmitFunc, &err_msg); in TEST()
300 EXPECT_EQ(EncodeNumberStatus::kInvalidText, rc); in TEST()
302 rc = ParseAndEncodeIntegerNumber("0=", type, AssertEmitFunc, &err_msg); in TEST()
[all …]
/external/angle/third_party/spirv-tools/src/test/
Dparse_number_test.cpp286 EncodeNumberStatus rc = EncodeNumberStatus::kSuccess; in TEST() local
290 rc = ParseAndEncodeIntegerNumber(nullptr, type, AssertEmitFunc, &err_msg); in TEST()
291 EXPECT_EQ(EncodeNumberStatus::kInvalidText, rc); in TEST()
293 rc = ParseAndEncodeIntegerNumber("", type, AssertEmitFunc, &err_msg); in TEST()
294 EXPECT_EQ(EncodeNumberStatus::kInvalidText, rc); in TEST()
296 rc = ParseAndEncodeIntegerNumber("=", type, AssertEmitFunc, &err_msg); in TEST()
297 EXPECT_EQ(EncodeNumberStatus::kInvalidText, rc); in TEST()
299 rc = ParseAndEncodeIntegerNumber("-", type, AssertEmitFunc, &err_msg); in TEST()
300 EXPECT_EQ(EncodeNumberStatus::kInvalidText, rc); in TEST()
302 rc = ParseAndEncodeIntegerNumber("0=", type, AssertEmitFunc, &err_msg); in TEST()
[all …]
/external/selinux/libsepol/src/
Dkernel_to_conf.c37 int rc; in cond_expr_to_str() local
39 rc = strs_stack_init(&stack); in cond_expr_to_str()
40 if (rc != 0) { in cond_expr_to_str()
91 rc = strs_stack_push(stack, new_val); in cond_expr_to_str()
92 if (rc != 0) { in cond_expr_to_str()
127 int rc; in constraint_expr_to_str() local
131 rc = strs_stack_init(&stack); in constraint_expr_to_str()
132 if (rc != 0) { in constraint_expr_to_str()
241 rc = strs_stack_push(stack, new_val); in constraint_expr_to_str()
242 if (rc != 0) { in constraint_expr_to_str()
[all …]
Dkernel_to_cil.c38 int rc; in cond_expr_to_str() local
40 rc = strs_stack_init(&stack); in cond_expr_to_str()
41 if (rc != 0) { in cond_expr_to_str()
93 rc = strs_stack_push(stack, new_val); in cond_expr_to_str()
94 if (rc != 0) { in cond_expr_to_str()
129 int rc; in constraint_expr_to_str() local
133 rc = strs_stack_init(&stack); in constraint_expr_to_str()
134 if (rc != 0) { in constraint_expr_to_str()
245 rc = strs_stack_push(stack, new_val); in constraint_expr_to_str()
246 if (rc != 0) { in constraint_expr_to_str()
[all …]
/external/tpm2-tss/test/unit/
Desys-crypto.c33 TSS2_RC rc; in check_hash_functions() local
39 rc = iesys_crypto_hash_start(NULL, TPM2_ALG_SHA384); in check_hash_functions()
40 assert_int_equal (rc, TSS2_ESYS_RC_BAD_REFERENCE); in check_hash_functions()
43 rc = iesys_crypto_hash_start(&context, TPM2_ALG_SHA512); in check_hash_functions()
44 assert_int_equal (rc, TSS2_ESYS_RC_NOT_IMPLEMENTED); in check_hash_functions()
47 rc = iesys_crypto_hash_start(&context, 0); in check_hash_functions()
48 assert_int_equal (rc, TSS2_ESYS_RC_NOT_IMPLEMENTED); in check_hash_functions()
50 rc = iesys_crypto_hash_start(&context, TPM2_ALG_SHA384); in check_hash_functions()
51 assert_int_equal (rc, TSS2_RC_SUCCESS); in check_hash_functions()
53 rc = iesys_crypto_hash_finish(NULL, &buffer[0], &size); in check_hash_functions()
[all …]
/external/coreboot/src/security/tpm/tss/tcg-2.0/
Dtss_marshaling.c34 int rc = 0; in marshal_get_capability() local
36 rc |= obuf_write_be32(ob, cmd_body->capability); in marshal_get_capability()
37 rc |= obuf_write_be32(ob, cmd_body->property); in marshal_get_capability()
38 rc |= obuf_write_be32(ob, cmd_body->propertyCount); in marshal_get_capability()
40 return rc; in marshal_get_capability()
45 int rc = 0; in marshal_TPM2B() local
47 rc |= obuf_write_be16(ob, data->size); in marshal_TPM2B()
48 rc |= obuf_write(ob, data->buffer, data->size); in marshal_TPM2B()
50 return rc; in marshal_TPM2B()
63 int rc = 0; in marshal_TPMS_NV_PUBLIC() local
[all …]
/external/selinux/libsepol/cil/src/
Dcil_resolve_ast.c73 int rc = SEPOL_ERR; in __cil_resolve_perms() local
81 rc = __cil_resolve_perms(class_symtab, common_symtab, curr->data, &sub_list, class_flavor); in __cil_resolve_perms()
82 if (rc != SEPOL_OK) { in __cil_resolve_perms()
89 rc = cil_symtab_get_datum(class_symtab, curr->data, &perm_datum); in __cil_resolve_perms()
90 if (rc == SEPOL_ENOENT) { in __cil_resolve_perms()
92 rc = cil_symtab_get_datum(common_symtab, curr->data, &perm_datum); in __cil_resolve_perms()
95 if (rc != SEPOL_OK) { in __cil_resolve_perms()
113 return rc; in __cil_resolve_perms()
118 int rc = SEPOL_ERR; in cil_resolve_classperms() local
127 rc = cil_resolve_name(current, cp->class_str, CIL_SYM_CLASSES, db, &datum); in cil_resolve_classperms()
[all …]
Dcil_binary.c242 int rc = SEPOL_ERR; in cil_common_to_policydb() local
251 rc = symtab_insert(pdb, SYM_COMMONS, key, sepol_common, SCOPE_DECL, 0, &value); in cil_common_to_policydb()
252 if (rc != SEPOL_OK) { in cil_common_to_policydb()
258 rc = symtab_init(&sepol_common->permissions, PERM_SYMTAB_SIZE); in cil_common_to_policydb()
259 if (rc != SEPOL_OK) { in cil_common_to_policydb()
269 rc = hashtab_insert(sepol_common->permissions.table, key, sepol_perm); in cil_common_to_policydb()
270 if (rc != SEPOL_OK) { in cil_common_to_policydb()
285 return rc; in cil_common_to_policydb()
290 int rc = SEPOL_ERR; in cil_classorder_to_policydb() local
304 rc = symtab_insert(pdb, SYM_CLASSES, key, sepol_class, SCOPE_DECL, 0, &value); in cil_classorder_to_policydb()
[all …]
/external/ltp/testcases/commands/tpm-tools/tpmtoken/tpmtoken_import/
Dtpmtoken_import_tests.sh22 RC=0 # Return code from commands.
63 which tpmtoken_import 1>$TPM_TMPFILE 2>&1 || RC=$?
64 if [ $RC -ne 0 ]
68 return $RC
71 which openssl 1>$TPM_TMPFILE 2>&1 || RC=$?
72 if [ $RC -ne 0 ]
76 return $RC
81 if [ $RC -ne 0 ]
85 return $RC
87 cat $TPM_CERTFILE $TPM_KEYFILE 1>$TPM_COMBFILE 2>&1 || RC=$?
[all …]
/external/gsc-utils/tpm_generated/
Dtpm_generated.cc8107 TPM_RC rc = TPM_RC_SUCCESS; in SerializeCommand_Startup() local
8116 rc = Serialize_TPM_CC(command_code, &command_code_bytes); in SerializeCommand_Startup()
8117 if (rc != TPM_RC_SUCCESS) { in SerializeCommand_Startup()
8118 return rc; in SerializeCommand_Startup()
8121 rc = Serialize_TPM_SU(startup_type, &startup_type_bytes); in SerializeCommand_Startup()
8122 if (rc != TPM_RC_SUCCESS) { in SerializeCommand_Startup()
8123 return rc; in SerializeCommand_Startup()
8145 rc = Serialize_UINT32(authorization_section_bytes.size(), in SerializeCommand_Startup()
8147 if (rc != TPM_RC_SUCCESS) { in SerializeCommand_Startup()
8148 return rc; in SerializeCommand_Startup()
[all …]
/external/trusty/bootloader/ql-tipc/
Dipc.c52 int rc; in wait_for_complete() local
56 rc = trusty_ipc_poll_for_event(chan->dev); in wait_for_complete()
57 if (rc < 0) in wait_for_complete()
58 return rc; in wait_for_complete()
63 if (rc == TRUSTY_EVENT_NONE && !trusty_ipc_dev_has_event(chan->dev, 0)) in wait_for_complete()
108 int rc; in trusty_ipc_connect() local
115 rc = trusty_ipc_dev_connect(chan->dev, port, (uint64_t)(uintptr_t)chan); in trusty_ipc_connect()
116 if (rc < 0) { in trusty_ipc_connect()
117 trusty_error("%s: init connection failed (%d)\n", __func__, rc); in trusty_ipc_connect()
118 return rc; in trusty_ipc_connect()
[all …]
/external/coreboot/src/security/tpm/tspi/
Dtspi.c18 tpm_result_t rc = TPM_SUCCESS; in tpm1_invoke_state_machine() local
21 return rc; in tpm1_invoke_state_machine()
24 rc = tlcl1_get_flags(&disabled, &deactivated, NULL); in tpm1_invoke_state_machine()
25 if (rc != TPM_SUCCESS) { in tpm1_invoke_state_machine()
26 printk(BIOS_ERR, "TPM Error (%#x): Can't read capabilities.\n", rc); in tpm1_invoke_state_machine()
27 return rc; in tpm1_invoke_state_machine()
33 rc = tlcl1_set_enable(); in tpm1_invoke_state_machine()
34 if (rc != TPM_SUCCESS) { in tpm1_invoke_state_machine()
35 printk(BIOS_ERR, "TPM Error (%#x): Can't set enabled state.\n", rc); in tpm1_invoke_state_machine()
36 return rc; in tpm1_invoke_state_machine()
[all …]
/external/linux-kselftest/tools/testing/selftests/rtc/
Drtctest.c42 int rc; in TEST_F() local
46 rc = ioctl(self->fd, RTC_RD_TIME, &rtc_tm); in TEST_F()
47 ASSERT_NE(-1, rc); in TEST_F()
83 int rc; variable
91 rc = ioctl(self->fd, RTC_RD_TIME, &rtc_tm);
92 ASSERT_NE(-1, rc);
99 rc = ioctl(self->fd, RTC_RD_TIME, &rtc_tm);
100 ASSERT_NE(-1, rc);
120 int i, rc, irq = 0; variable
124 rc = ioctl(self->fd, RTC_UIE_ON, 0);
[all …]
/external/ltp/testcases/kernel/controllers/freezer/
Dlibcgroup_freezer91 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 …]

12345678910>>...268