/external/vboot_reference/firmware/lib21/ |
D | misc.c | 39 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 …]
|
D | common.c | 103 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 …]
|
D | api.c | 21 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/ |
D | misc.c | 30 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 …]
|
D | api.c | 20 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/clang/lib/Headers/ |
D | __clang_cuda_intrinsics.h | 133 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/synchronization/ |
D | lock_impl_posix.cc | 59 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 …]
|
D | condition_variable_posix.cc | 25 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/curl/docs/examples/ |
D | cacertinmem.c | 40 CURLcode rv = CURLE_ABORTED_BY_CALLBACK; in sslctx_function() local 95 return rv; in sslctx_function() 102 return rv; in sslctx_function() 120 rv = CURLE_OK; in sslctx_function() 121 return rv; in sslctx_function() 127 CURLcode rv; in main() local 129 rv = curl_global_init(CURL_GLOBAL_ALL); in main() 131 rv = curl_easy_setopt(ch, CURLOPT_VERBOSE, 0L); in main() 132 rv = curl_easy_setopt(ch, CURLOPT_HEADER, 0L); in main() 133 rv = curl_easy_setopt(ch, CURLOPT_NOPROGRESS, 1L); in main() [all …]
|
D | usercertinmem.c | 178 CURLcode rv; in main() local 180 rv = curl_global_init(CURL_GLOBAL_ALL); in main() 182 rv = curl_easy_setopt(ch, CURLOPT_VERBOSE, 0L); in main() 183 rv = curl_easy_setopt(ch, CURLOPT_HEADER, 0L); in main() 184 rv = curl_easy_setopt(ch, CURLOPT_NOPROGRESS, 1L); in main() 185 rv = curl_easy_setopt(ch, CURLOPT_NOSIGNAL, 1L); in main() 186 rv = curl_easy_setopt(ch, CURLOPT_WRITEFUNCTION, writefunction); in main() 187 rv = curl_easy_setopt(ch, CURLOPT_WRITEDATA, stdout); in main() 188 rv = curl_easy_setopt(ch, CURLOPT_HEADERFUNCTION, writefunction); in main() 189 rv = curl_easy_setopt(ch, CURLOPT_HEADERDATA, stderr); in main() [all …]
|
/external/oj-libjdwp/src/solaris/transport/socket/ |
D | socket_md.c | 53 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/vboot_reference/tests/ |
D | vb20_verify_fw.c | 95 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/python/cpython2/Modules/ |
D | imageop.c | 126 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/autotest/client/common_lib/ |
D | revision_control.py | 150 rv = self._run(cmd, ignore_status=ignore_status) 151 if rv.exit_status != 0 and error_class is not None: 154 logging.error(rv.stderr) 156 else rv.stderr) 158 return rv 184 rv = self.gitcmd(cmd, True) 185 if rv.exit_status != 0: 186 logging.error(rv.stderr) 187 raise GitCloneError('Failed to clone git url', rv) 189 logging.info(rv.stdout) [all …]
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcMCJITReplacement.cpp | 54 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/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/ |
D | OrcMCJITReplacement.cpp | 54 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/vboot_reference/firmware/2lib/ |
D | 2api.c | 39 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 …]
|
D | 2misc.c | 36 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/openssh/ |
D | ssh-pkcs11.c | 94 CK_RV rv; in pkcs11_provider_finalize() local 103 (rv = p->function_list->C_CloseSession( in pkcs11_provider_finalize() 105 error("C_CloseSession failed: %lu", rv); in pkcs11_provider_finalize() 107 if ((rv = p->function_list->C_Finalize(NULL)) != CKR_OK) in pkcs11_provider_finalize() 108 error("C_Finalize failed: %lu", rv); in pkcs11_provider_finalize() 178 int rv = -1; in pkcs11_rsa_finish() local 182 rv = k11->orig_finish(rsa); in pkcs11_rsa_finish() 188 return (rv); in pkcs11_rsa_finish() 199 CK_RV rv; in pkcs11_find() local 204 if ((rv = f->C_FindObjectsInit(session, attr, nattr)) != CKR_OK) { in pkcs11_find() [all …]
|
/external/mesa3d/src/egl/generate/ |
D | genCommon.py | 111 rv = str(self.type) 112 if not rv.endswith("*"): 113 rv += " " 114 rv += self.name 115 return rv 200 rv = typeName.strip() 203 rv = re.sub(r"\bGLvoid\b", "void", rv) 206 rv = re.sub(r"\b(GLhalf|GLintptr|GLsizeiptr|GLint64|GLuint64)(?:ARB|EXT|NV|ATI)\b", r"\1", rv) 208 rv = re.sub(r"\bGLvoid\b", "void", rv) 211 rv = rv.strip() [all …]
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 149 GenericValue rv; in runFunction() local 150 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction() 153 return rv; in runFunction() 162 GenericValue rv; in runFunction() local 163 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue(), in runFunction() 165 return rv; in runFunction() 171 GenericValue rv; in runFunction() local 173 rv.IntVal = APInt(32, PF(ArgValues[0].IntVal.getZExtValue())); in runFunction() 174 return rv; in runFunction() 182 GenericValue rv; in runFunction() local [all …]
|
/external/compiler-rt/test/dfsan/ |
D | custom.cc | 69 int rv = fstat(fd, &s); in test_fstat() local 70 assert(0 == rv); in test_fstat() 79 int rv = memcmp(str1, str2, sizeof(str1)); in test_memcmp() local 80 assert(rv < 0); in test_memcmp() 82 ASSERT_ZERO_LABEL(rv); in test_memcmp() 84 ASSERT_LABEL(rv, i_j_label); in test_memcmp() 116 int rv = strcmp(str1, str2); in test_strcmp() local 117 assert(rv < 0); in test_strcmp() 119 ASSERT_ZERO_LABEL(rv); in test_strcmp() 121 ASSERT_LABEL(rv, i_j_label); in test_strcmp() [all …]
|
/external/libchrome/mojo/core/ |
D | message_pipe_dispatcher.cc | 123 int rv = node_controller_->MergeLocalPorts(port0, port1); in Fuse() local 124 return rv == ports::OK; in Fuse() 143 int rv = node_controller_->SendUserMessage(port_, std::move(message)); in WriteMessage() local 146 << " [port=" << port_.name() << "; rv=" << rv << "]"; in WriteMessage() 148 if (rv != ports::OK) { in WriteMessage() 149 if (rv == ports::ERROR_PORT_UNKNOWN || in WriteMessage() 150 rv == ports::ERROR_PORT_STATE_UNEXPECTED || in WriteMessage() 151 rv == ports::ERROR_PORT_CANNOT_SEND_PEER) { in WriteMessage() 153 } else if (rv == ports::ERROR_PORT_PEER_CLOSED) { in WriteMessage() 170 int rv = node_controller_->node()->GetMessage(port_, message, nullptr); in ReadMessage() local [all …]
|
/external/python/cpython2/Mac/Modules/cf/ |
D | pycfbridge.c | 35 PyObject *rv; in PyCF_CF2Python_sequence() local 40 if ( (rv=PyList_New(size)) == NULL ) in PyCF_CF2Python_sequence() 47 if (PyList_SetItem(rv, i, item_py) < 0) goto err; in PyCF_CF2Python_sequence() 50 return rv; in PyCF_CF2Python_sequence() 53 Py_DECREF(rv); in PyCF_CF2Python_sequence() 60 PyObject *rv = NULL; in PyCF_CF2Python_mapping() local 76 if ( (rv=PyDict_New()) == NULL ) goto err; in PyCF_CF2Python_mapping() 85 if (PyDict_SetItem(rv, key_py, value_py) < 0) goto err; in PyCF_CF2Python_mapping() 89 return rv; in PyCF_CF2Python_mapping() 93 Py_XDECREF(rv); in PyCF_CF2Python_mapping() [all …]
|
/external/u-boot/board/st/stm32f746-disco/ |
D | stm32f746-disco.c | 39 int rv; in dram_init() local 44 rv = uclass_get_device(UCLASS_RAM, 0, &dev); in dram_init() 45 if (rv) { in dram_init() 46 debug("DRAM init failed: %d\n", rv); in dram_init() 47 return rv; in dram_init() 51 rv = get_memory_base_size(&mr_base, &mr_size); in dram_init() 52 if (rv) in dram_init() 53 return rv; in dram_init() 57 return rv; in dram_init() 91 int rv; in spl_dram_init() local [all …]
|