Home
last modified time | relevance | path

Searched refs:rv (Results 1 – 25 of 821) sorted by relevance

12345678910>>...33

/external/vboot_reference/firmware/lib21/
Dmisc.c39 int rv; in vb2_read_resource_object() local
44 rv = vb2ex_read_resource(ctx, index, offset, &c, sizeof(c)); in vb2_read_resource_object()
45 if (rv) in vb2_read_resource_object()
46 return rv; in vb2_read_resource_object()
54 rv = vb2ex_read_resource(ctx, index, offset, buf, c.total_size); in vb2_read_resource_object()
55 if (rv) { in vb2_read_resource_object()
57 return rv; in vb2_read_resource_object()
76 int rv; in vb2_load_fw_keyblock() local
86 rv = vb2ex_read_resource(ctx, VB2_RES_GBB, sd->gbb_rootkey_offset, in vb2_load_fw_keyblock()
88 if (rv) in vb2_load_fw_keyblock()
[all …]
Dcommon.c103 int rv; in vb2_verify_common_subobject() local
109 rv = vb2_verify_common_member(parent, min_offset, member_offset, in vb2_verify_common_subobject()
111 if (rv) in vb2_verify_common_subobject()
112 return rv; in vb2_verify_common_subobject()
119 rv = vb2_verify_common_header(m, p->total_size - member_offset); in vb2_verify_common_subobject()
120 if (rv) in vb2_verify_common_subobject()
121 return rv; in vb2_verify_common_subobject()
180 int rv; in vb2_verify_signature() local
187 rv = vb2_verify_common_header(sig, size); in vb2_verify_signature()
188 if (rv) in vb2_verify_signature()
[all …]
Dapi.c21 int rv; in vb2api_fw_phase3() local
24 rv = vb2_load_fw_keyblock(ctx); in vb2api_fw_phase3()
25 if (rv) { in vb2api_fw_phase3()
26 vb2_fail(ctx, VB2_RECOVERY_RO_INVALID_RW, rv); in vb2api_fw_phase3()
27 return rv; in vb2api_fw_phase3()
31 rv = vb2_load_fw_preamble(ctx); in vb2api_fw_phase3()
32 if (rv) { in vb2api_fw_phase3()
33 vb2_fail(ctx, VB2_RECOVERY_RO_INVALID_RW, rv); in vb2api_fw_phase3()
34 return rv; in vb2api_fw_phase3()
50 int i, rv; in vb2api_init_hash2() local
[all …]
/external/vboot_reference/firmware/lib20/
Dmisc.c30 int rv; in vb2_load_fw_keyblock() local
40 rv = vb2ex_read_resource(ctx, VB2_RES_GBB, sd->gbb_rootkey_offset, in vb2_load_fw_keyblock()
42 if (rv) in vb2_load_fw_keyblock()
43 return rv; in vb2_load_fw_keyblock()
46 rv = vb2_unpack_key(&root_key, key_data, key_size); in vb2_load_fw_keyblock()
47 if (rv) in vb2_load_fw_keyblock()
48 return rv; in vb2_load_fw_keyblock()
55 rv = vb2ex_read_resource(ctx, VB2_RES_FW_VBLOCK, 0, kb, sizeof(*kb)); in vb2_load_fw_keyblock()
56 if (rv) in vb2_load_fw_keyblock()
57 return rv; in vb2_load_fw_keyblock()
[all …]
Dapi.c20 int rv; in vb2api_fw_phase3() local
23 rv = vb2_load_fw_keyblock(ctx); in vb2api_fw_phase3()
24 if (rv) { in vb2api_fw_phase3()
25 vb2_fail(ctx, VB2_RECOVERY_RO_INVALID_RW, rv); in vb2api_fw_phase3()
26 return rv; in vb2api_fw_phase3()
30 rv = vb2_load_fw_preamble(ctx); in vb2api_fw_phase3()
31 if (rv) { in vb2api_fw_phase3()
32 vb2_fail(ctx, VB2_RECOVERY_RO_INVALID_RW, rv); in vb2api_fw_phase3()
33 return rv; in vb2api_fw_phase3()
46 int rv; in vb2api_init_hash() local
[all …]
/external/libchrome/base/synchronization/
Dlock_impl_posix.cc59 int rv = pthread_mutexattr_init(&mta); in LockImpl() local
60 DCHECK_EQ(rv, 0) << ". " << SystemErrorCodeToString(rv); in LockImpl()
63 rv = pthread_mutexattr_setprotocol(&mta, PTHREAD_PRIO_INHERIT); in LockImpl()
64 DCHECK_EQ(rv, 0) << ". " << SystemErrorCodeToString(rv); in LockImpl()
69 rv = pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_ERRORCHECK); in LockImpl()
70 DCHECK_EQ(rv, 0) << ". " << SystemErrorCodeToString(rv); in LockImpl()
72 rv = pthread_mutex_init(&native_handle_, &mta); in LockImpl()
73 DCHECK_EQ(rv, 0) << ". " << SystemErrorCodeToString(rv); in LockImpl()
74 rv = pthread_mutexattr_destroy(&mta); in LockImpl()
75 DCHECK_EQ(rv, 0) << ". " << SystemErrorCodeToString(rv); in LockImpl()
[all …]
Dcondition_variable_posix.cc25 int rv = 0; in ConditionVariable() local
35 rv = pthread_condattr_init(&attrs); in ConditionVariable()
36 DCHECK_EQ(0, rv); in ConditionVariable()
38 rv = pthread_cond_init(&condition_, &attrs); in ConditionVariable()
41 rv = pthread_cond_init(&condition_, NULL); in ConditionVariable()
43 DCHECK_EQ(0, rv); in ConditionVariable()
61 int rv = pthread_cond_destroy(&condition_); in ~ConditionVariable() local
62 DCHECK_EQ(0, rv); in ~ConditionVariable()
71 int rv = pthread_cond_wait(&condition_, user_mutex_); in Wait() local
72 DCHECK_EQ(0, rv); in Wait()
[all …]
/external/clang/lib/Headers/
D__clang_cuda_intrinsics.h133 c2 rv = __nvvm_ldg_c2(reinterpret_cast<const c2 *>(ptr)); in __ldg() local
135 ret.x = rv[0]; in __ldg()
136 ret.y = rv[1]; in __ldg()
141 c4 rv = __nvvm_ldg_c4(reinterpret_cast<const c4 *>(ptr)); in __ldg() local
143 ret.x = rv[0]; in __ldg()
144 ret.y = rv[1]; in __ldg()
145 ret.z = rv[2]; in __ldg()
146 ret.w = rv[3]; in __ldg()
151 s2 rv = __nvvm_ldg_s2(reinterpret_cast<const s2 *>(ptr)); in __ldg() local
153 ret.x = rv[0]; in __ldg()
[all …]
/external/libchrome/base/memory/
Ddiscardable_shared_memory_unittest.cc39 bool rv = memory.CreateAndMap(kDataSize); in TEST() local
40 ASSERT_TRUE(rv); in TEST()
49 bool rv = memory1.CreateAndMap(kDataSize); in TEST() local
50 ASSERT_TRUE(rv); in TEST()
56 rv = memory2.Map(kDataSize); in TEST()
57 ASSERT_TRUE(rv); in TEST()
65 bool rv = memory1.CreateAndMap(kDataSize); in TEST() local
66 ASSERT_TRUE(rv); in TEST()
88 rv = memory2.Map(kDataSize); in TEST()
89 ASSERT_TRUE(rv); in TEST()
[all …]
/external/vboot_reference/tests/
Dvb20_verify_fw.c95 int rv; in hash_body() local
101 rv = vb2api_init_hash(ctx, VB2_HASH_TAG_FW_BODY, &expect_size); in hash_body()
102 if (rv) in hash_body()
103 return rv; in hash_body()
119 rv = vb2api_extend_hash(ctx, block, size); in hash_body()
120 if (rv) in hash_body()
121 return rv; in hash_body()
127 rv = vb2api_check_hash(ctx); in hash_body()
128 if (rv) in hash_body()
129 return rv; in hash_body()
[all …]
/external/oj-libjdwp/src/solaris/transport/socket/
Dsocket_md.c53 int rv = connect(fd, name, namelen); in dbgsysConnect() local
54 if (rv < 0 && (errno == EINPROGRESS || errno == EINTR)) { in dbgsysConnect()
57 return rv; in dbgsysConnect()
63 int rv = dbgsysPoll(fd, 0, 1, timeout); in dbgsysFinishConnect() local
64 if (rv == 0) { in dbgsysFinishConnect()
67 if (rv > 0) { in dbgsysFinishConnect()
70 return rv; in dbgsysFinishConnect()
75 int rv; in dbgsysAccept() local
77 rv = accept(fd, name, namelen); in dbgsysAccept()
78 if (rv >= 0) { in dbgsysAccept()
[all …]
/external/llvm-project/clang/lib/Headers/
D__clang_cuda_intrinsics.h297 c2 rv = __nvvm_ldg_c2(reinterpret_cast<const c2 *>(ptr)); in __ldg() local
299 ret.x = rv[0]; in __ldg()
300 ret.y = rv[1]; in __ldg()
305 c4 rv = __nvvm_ldg_c4(reinterpret_cast<const c4 *>(ptr)); in __ldg() local
307 ret.x = rv[0]; in __ldg()
308 ret.y = rv[1]; in __ldg()
309 ret.z = rv[2]; in __ldg()
310 ret.w = rv[3]; in __ldg()
315 s2 rv = __nvvm_ldg_s2(reinterpret_cast<const s2 *>(ptr)); in __ldg() local
317 ret.x = rv[0]; in __ldg()
[all …]
/external/python/cpython2/Modules/
Dimageop.c126 PyObject *rv; in imageop_crop() local
145 rv = PyString_FromStringAndSize(NULL, nlen); in imageop_crop()
146 if ( rv == 0 ) in imageop_crop()
148 ncp = (char *)PyString_AsString(rv); in imageop_crop()
170 return rv; in imageop_crop()
182 PyObject *rv; in imageop_scale() local
198 rv = PyString_FromStringAndSize(NULL, nlen); in imageop_scale()
199 if ( rv == 0 ) in imageop_scale()
201 ncp = (char *)PyString_AsString(rv); in imageop_scale()
216 return rv; in imageop_scale()
[all …]
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp54 GenericValue rv; in runFunction() local
55 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
58 return rv; in runFunction()
67 GenericValue rv; in runFunction() local
68 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
70 return rv; in runFunction()
75 GenericValue rv; in runFunction() local
77 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); in runFunction()
78 return rv; in runFunction()
86 GenericValue rv; in runFunction() local
[all …]
/external/autotest/client/common_lib/
Drevision_control.py158 rv = self._run(cmd, ignore_status=ignore_status)
159 if rv.exit_status != 0 and error_class is not None:
162 logging.error(rv.stderr)
164 else rv.stderr)
166 return rv
192 rv = self.gitcmd(cmd, True)
193 if rv.exit_status != 0:
194 logging.error(rv.stderr)
195 raise GitCloneError('Failed to clone git url', rv)
197 logging.info(rv.stdout)
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.cpp53 GenericValue rv; in runFunction() local
54 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
57 return rv; in runFunction()
66 GenericValue rv; in runFunction() local
67 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction()
69 return rv; in runFunction()
74 GenericValue rv; in runFunction() local
76 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); in runFunction()
77 return rv; in runFunction()
85 GenericValue rv; in runFunction() local
[all …]
/external/llvm-project/compiler-rt/test/dfsan/
Dcustom.cpp72 int rv = fstat(fd, &s); in test_fstat() local
73 assert(0 == rv); in test_fstat()
82 int rv = memcmp(str1, str2, sizeof(str1)); in test_memcmp() local
83 assert(rv < 0); in test_memcmp()
85 ASSERT_ZERO_LABEL(rv); in test_memcmp()
87 ASSERT_LABEL(rv, i_j_label); in test_memcmp()
96 int rv = bcmp(str1, str2, sizeof(str1)); in test_bcmp() local
97 assert(rv != 0); in test_bcmp()
99 ASSERT_ZERO_LABEL(rv); in test_bcmp()
101 ASSERT_LABEL(rv, i_j_label); in test_bcmp()
[all …]
/external/vboot_reference/firmware/2lib/
D2api.c39 int rv; in vb2api_fw_phase1() local
48 rv = vb2_secdata_init(ctx); in vb2api_fw_phase1()
49 if (rv) in vb2api_fw_phase1()
50 vb2_fail(ctx, VB2_RECOVERY_SECDATA_INIT, rv); in vb2api_fw_phase1()
53 rv = vb2_fw_parse_gbb(ctx); in vb2api_fw_phase1()
54 if (rv) in vb2api_fw_phase1()
55 vb2_fail(ctx, VB2_RECOVERY_GBB_HEADER, rv); in vb2api_fw_phase1()
58 rv = vb2_check_dev_switch(ctx); in vb2api_fw_phase1()
59 if (rv) in vb2api_fw_phase1()
60 vb2_fail(ctx, VB2_RECOVERY_DEV_SWITCH, rv); in vb2api_fw_phase1()
[all …]
D2misc.c36 int rv; in vb2_read_gbb_header() local
39 rv = vb2ex_read_resource(ctx, VB2_RES_GBB, 0, gbb, sizeof(*gbb)); in vb2_read_gbb_header()
40 if (rv) in vb2_read_gbb_header()
41 return rv; in vb2_read_gbb_header()
44 rv = vb2_validate_gbb_signature(gbb->signature); in vb2_read_gbb_header()
45 if (rv) in vb2_read_gbb_header()
46 return rv; in vb2_read_gbb_header()
182 int rv; in vb2_fw_parse_gbb() local
191 rv = vb2_read_gbb_header(ctx, gbb); in vb2_fw_parse_gbb()
192 if (rv) in vb2_fw_parse_gbb()
[all …]
/external/linux-kselftest/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c75 int rv, cap; in main() local
93 rv = _vcpu_run(vm, VCPU_ID); in main()
94 TEST_ASSERT(rv < 0 && errno == EINVAL, in main()
96 rv); in main()
100 rv = _vcpu_run(vm, VCPU_ID); in main()
101 TEST_ASSERT(rv < 0 && errno == EINVAL, in main()
103 rv); in main()
108 rv = _vcpu_run(vm, VCPU_ID); in main()
109 TEST_ASSERT(rv < 0 && errno == EINVAL, in main()
111 rv); in main()
[all …]
/external/python/cpython3/Lib/distutils/tests/
Dtest_spawn.py60 rv = find_executable(program, path=tmp_dir)
61 self.assertEqual(rv, filename)
65 rv = find_executable(program_noeext, path=tmp_dir)
66 self.assertEqual(rv, filename)
70 rv = find_executable(program)
71 self.assertEqual(rv, program)
75 rv = find_executable(dont_exist_program , path=tmp_dir)
76 self.assertIsNone(rv)
85 rv = find_executable(program)
86 self.assertIsNone(rv)
[all …]
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/NetBSD/
Dcdb.cpp32 int rv = cdbw_put_data(cdbw, data1, __arraycount(data1), &idx); in test_cdbw() local
33 assert(!rv); in test_cdbw()
35 rv = cdbw_put_key(cdbw, key1, __arraycount(key1), idx); in test_cdbw()
36 assert(!rv); in test_cdbw()
38 rv = cdbw_put(cdbw, key2, __arraycount(key2), data2, __arraycount(data2)); in test_cdbw()
39 assert(!rv); in test_cdbw()
54 rv = close(fd); in test_cdbw()
55 assert(rv != -1); in test_cdbw()
68 int rv = cdbr_get(cdbr, idx - 1, &data, &data_len); in test_cdbr1() local
69 assert(rv == 0); in test_cdbr1()
[all …]
/external/mesa3d/src/mapi/new/
DgenCommon.py129 rv = str(self.type)
130 if not rv.endswith("*"):
131 rv += " "
132 rv += self.name
133 return rv
218 rv = typeName.strip()
221 rv = re.sub(r"\bGLvoid\b", "void", rv)
224 rv = re.sub(r"\b(GLhalf|GLintptr|GLsizeiptr|GLint64|GLuint64)(?:ARB|EXT|NV|ATI)\b", r"\1", rv)
226 rv = re.sub(r"\bGLDEBUGPROCKHR\b", "GLDEBUGPROC", rv)
229 rv = rv.strip()
[all …]
/external/autotest/server/site_tests/firmware_Cr50DeepSleepStress/
Dfirmware_Cr50DeepSleepStress.py110 rv = self.check_cr50_deep_sleep(0)
111 if rv:
112 raise error.TestError('Issue setting up test %s' % rv)
129 rv = self.check_cr50_deep_sleep(i + 1)
130 if rv:
131 errors.append(rv)
178 rv = self.wait_for_client_after_changing_ccd(False)
179 if rv:
180 raise error.TestFail('Network connection issue %s' % rv)
182 rv = self.check_cr50_deep_sleep(0)
[all …]
/external/openssh/
Dssh-pkcs11.c111 CK_RV rv; in pkcs11_provider_finalize() local
120 (rv = p->function_list->C_CloseSession( in pkcs11_provider_finalize()
122 error("C_CloseSession failed: %lu", rv); in pkcs11_provider_finalize()
124 if ((rv = p->function_list->C_Finalize(NULL)) != CKR_OK) in pkcs11_provider_finalize()
125 error("C_Finalize failed: %lu", rv); in pkcs11_provider_finalize()
222 CK_RV rv; in pkcs11_find() local
227 if ((rv = f->C_FindObjectsInit(session, attr, nattr)) != CKR_OK) { in pkcs11_find()
228 error("C_FindObjectsInit failed (nattr %lu): %lu", nattr, rv); in pkcs11_find()
231 if ((rv = f->C_FindObjects(session, obj, 1, &nfound)) != CKR_OK || in pkcs11_find()
234 nfound, nattr, rv); in pkcs11_find()
[all …]

12345678910>>...33