/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/libchrome/base/synchronization/ |
D | lock_impl_posix.cc | 19 int rv = pthread_mutexattr_init(&mta); in LockImpl() local 20 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl() 21 rv = pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_ERRORCHECK); in LockImpl() 22 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl() 23 rv = pthread_mutex_init(&native_handle_, &mta); in LockImpl() 24 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl() 25 rv = pthread_mutexattr_destroy(&mta); in LockImpl() 26 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl() 34 int rv = pthread_mutex_destroy(&native_handle_); in ~LockImpl() local 35 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in ~LockImpl() [all …]
|
D | condition_variable_posix.cc | 24 int rv = 0; in ConditionVariable() local 34 rv = pthread_condattr_init(&attrs); in ConditionVariable() 35 DCHECK_EQ(0, rv); in ConditionVariable() 37 rv = pthread_cond_init(&condition_, &attrs); in ConditionVariable() 40 rv = pthread_cond_init(&condition_, NULL); in ConditionVariable() 42 DCHECK_EQ(0, rv); in ConditionVariable() 60 int rv = pthread_cond_destroy(&condition_); in ~ConditionVariable() local 61 DCHECK_EQ(0, rv); in ~ConditionVariable() 69 int rv = pthread_cond_wait(&condition_, user_mutex_); in Wait() local 70 DCHECK_EQ(0, rv); in Wait() [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/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/curl/docs/examples/ |
D | cacertinmem.c | 111 CURLcode rv; in main() local 113 rv=curl_global_init(CURL_GLOBAL_ALL); in main() 115 rv=curl_easy_setopt(ch, CURLOPT_VERBOSE, 0L); in main() 116 rv=curl_easy_setopt(ch, CURLOPT_HEADER, 0L); in main() 117 rv=curl_easy_setopt(ch, CURLOPT_NOPROGRESS, 1L); in main() 118 rv=curl_easy_setopt(ch, CURLOPT_NOSIGNAL, 1L); in main() 119 rv=curl_easy_setopt(ch, CURLOPT_WRITEFUNCTION, *writefunction); in main() 120 rv=curl_easy_setopt(ch, CURLOPT_WRITEDATA, stdout); in main() 121 rv=curl_easy_setopt(ch, CURLOPT_HEADERFUNCTION, *writefunction); in main() 122 rv=curl_easy_setopt(ch, CURLOPT_HEADERDATA, stderr); in main() [all …]
|
D | usercertinmem.c | 179 CURLcode rv; in main() local 181 rv = curl_global_init(CURL_GLOBAL_ALL); in main() 183 rv = curl_easy_setopt(ch, CURLOPT_VERBOSE, 0L); in main() 184 rv = curl_easy_setopt(ch, CURLOPT_HEADER, 0L); in main() 185 rv = curl_easy_setopt(ch, CURLOPT_NOPROGRESS, 1L); in main() 186 rv = curl_easy_setopt(ch, CURLOPT_NOSIGNAL, 1L); in main() 187 rv = curl_easy_setopt(ch, CURLOPT_WRITEFUNCTION, writefunction); in main() 188 rv = curl_easy_setopt(ch, CURLOPT_WRITEDATA, stdout); in main() 189 rv = curl_easy_setopt(ch, CURLOPT_HEADERFUNCTION, writefunction); in main() 190 rv = curl_easy_setopt(ch, CURLOPT_HEADERDATA, stderr); in main() [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/autotest/client/common_lib/ |
D | revision_control.py | 146 rv = self._run(cmd, ignore_status=ignore_status) 147 if rv.exit_status != 0 and error_class is not None: 150 logging.error(rv.stderr) 152 else rv.stderr) 154 return rv 177 rv = self.gitcmd(cmd, True) 178 if rv.exit_status != 0: 179 logging.error(rv.stderr) 180 raise GitCloneError('Failed to clone git url', rv) 182 logging.info(rv.stdout) [all …]
|
/external/libmicrohttpd/src/examples/ |
D | mhd2spdy_spdy.c | 147 ssize_t rv; in spdy_cb_send() local 167 rv = SSL_write(connection->ssl, data, length); in spdy_cb_send() 168 if(rv < 0) { in spdy_cb_send() 169 int err = SSL_get_error(connection->ssl, rv); in spdy_cb_send() 173 rv = SPDYLAY_ERR_WOULDBLOCK; in spdy_cb_send() 175 rv = SPDYLAY_ERR_CALLBACK_FAILURE; in spdy_cb_send() 181 rv = write(connection->fd, in spdy_cb_send() 185 if (rv < 0) in spdy_cb_send() 194 rv = SPDYLAY_ERR_WOULDBLOCK; in spdy_cb_send() 198 rv = SPDYLAY_ERR_CALLBACK_FAILURE; in spdy_cb_send() [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/syslinux/dos/ |
D | syslinux.c | 75 uint16_t rv; in creat() local 80 rv = 0x3C00; in creat() 82 : "=bcdm" (err), "+a" (rv) in creat() 85 dprintf("rv = %d\n", rv); in creat() 89 return rv; in creat() 94 uint16_t rv = 0x3E00; in close() local 98 asm volatile ("int $0x21":"+a" (rv) in close() 107 uint16_t rv = 0x5600; /* Also support 43FFh? */ in rename() local 112 asm volatile ("int $0x21 ; setc %0":"=bcdm" (err), "+a"(rv) in rename() 116 dprintf("rv = %d\n", rv); in rename() [all …]
|
/external/libmicrohttpd/src/testspdy/ |
D | test_new_connection.c | 204 int rv; in check_gzip() local 208 rv = spdylay_gzip_inflate_new(&req->inflater); in check_gzip() 209 if(rv != 0) { in check_gzip() 229 ssize_t rv; in send_callback() local 233 rv = SSL_write(connection->ssl, data, length); in send_callback() 234 if(rv < 0) { in send_callback() 235 int err = SSL_get_error(connection->ssl, rv); in send_callback() 239 rv = SPDYLAY_ERR_WOULDBLOCK; in send_callback() 241 rv = SPDYLAY_ERR_CALLBACK_FAILURE; in send_callback() 244 return rv; in send_callback() [all …]
|
D | test_request_response.c | 186 int rv; in check_gzip() local 190 rv = spdylay_gzip_inflate_new(&req->inflater); in check_gzip() 191 if(rv != 0) { in check_gzip() 211 ssize_t rv; in send_callback() local 215 rv = SSL_write(connection->ssl, data, length); in send_callback() 216 if(rv < 0) { in send_callback() 217 int err = SSL_get_error(connection->ssl, rv); in send_callback() 221 rv = SPDYLAY_ERR_WOULDBLOCK; in send_callback() 223 rv = SPDYLAY_ERR_CALLBACK_FAILURE; in send_callback() 226 return rv; in send_callback() [all …]
|
D | test_notls.c | 183 int rv; in check_gzip() local 187 rv = spdylay_gzip_inflate_new(&req->inflater); in check_gzip() 188 if(rv != 0) { in check_gzip() 208 ssize_t rv; in send_callback() local 212 rv = write(connection->fd, in send_callback() 216 if (rv < 0) in send_callback() 225 rv = SPDYLAY_ERR_WOULDBLOCK; in send_callback() 229 rv = SPDYLAY_ERR_CALLBACK_FAILURE; in send_callback() 232 return rv; in send_callback() 249 ssize_t rv; in recv_callback() local [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/libedit/src/ |
D | el.c | 202 int rv = 0; in FUN() local 213 rv = prompt_set(el, p, 0, op, 1); in FUN() 220 rv = ch_resizefun(el, p, arg); in FUN() 229 rv = prompt_set(el, p, c, op, 1); in FUN() 234 rv = terminal_set(el, va_arg(ap, char *)); in FUN() 238 rv = map_set_editor(el, va_arg(ap, Char *)); in FUN() 264 rv = map_bind(el, i, argv); in FUN() 269 rv = terminal_telltc(el, i, argv); in FUN() 274 rv = terminal_settc(el, i, argv); in FUN() 279 rv = terminal_echotc(el, i, argv); in FUN() [all …]
|
/external/libchrome/base/memory/ |
D | shared_memory_unittest.cc | 61 bool rv = memory.CreateNamedDeprecated(s_test_name_, true, kDataSize); in ThreadMain() local 62 EXPECT_TRUE(rv); in ThreadMain() 63 rv = memory.Map(kDataSize); in ThreadMain() 64 EXPECT_TRUE(rv); in ThreadMain() 103 bool rv = memory1.Delete(test_name); in TEST() local 104 EXPECT_TRUE(rv); in TEST() 105 rv = memory1.Delete(test_name); in TEST() 106 EXPECT_TRUE(rv); in TEST() 107 rv = memory1.Open(test_name, false); in TEST() 108 EXPECT_FALSE(rv); in TEST() [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 …]
|