/third_party/FreeBSD/contrib/gdtoa/ |
D | strtod.c | 72 double rv; local 75 rv = ulp(x); 77 return rv; /* Is there an example where i <= 0 ? */ 80 return rv * u.d; 100 U adj, aadj1, rv, rv0; local 146 dval(&rv) = 0.; 195 ULtod(((U*)&rv)->L, bits, exp, i); 308 word0(&rv) = 0x7ff00000; 309 word1(&rv) = 0; 320 word0(&rv) = 0x7ff80000 | bits[1]; [all …]
|
/third_party/nghttp2/tests/ |
D | nghttp2_buf_test.c | 35 int rv; in test_nghttp2_bufs_add() local 42 rv = nghttp2_bufs_init(&bufs, 1000, 3, mem); in test_nghttp2_bufs_add() 43 CU_ASSERT(0 == rv); in test_nghttp2_bufs_add() 47 rv = nghttp2_bufs_add(&bufs, data, 493); in test_nghttp2_bufs_add() 48 CU_ASSERT(0 == rv); in test_nghttp2_bufs_add() 53 rv = nghttp2_bufs_add(&bufs, data, 507); in test_nghttp2_bufs_add() 54 CU_ASSERT(0 == rv); in test_nghttp2_bufs_add() 59 rv = nghttp2_bufs_add(&bufs, data, 1); in test_nghttp2_bufs_add() 60 CU_ASSERT(0 == rv); in test_nghttp2_bufs_add() 70 int rv; in test_nghttp2_bufs_add_stack_buffer_overflow_bug() local [all …]
|
D | failmalloc_test.c | 135 int rv; in run_nghttp2_session_send() local 147 rv = nghttp2_session_client_new3(&session, &callbacks, &ud, NULL, in run_nghttp2_session_send() 149 if (rv != 0) { in run_nghttp2_session_send() 152 rv = nghttp2_submit_request(session, NULL, nv, ARRLEN(nv), &data_prd, NULL); in run_nghttp2_session_send() 153 if (rv < 0) { in run_nghttp2_session_send() 156 rv = nghttp2_submit_headers(session, NGHTTP2_FLAG_NONE, -1, NULL, nv, in run_nghttp2_session_send() 158 if (rv < 0) { in run_nghttp2_session_send() 161 rv = nghttp2_session_send(session); in run_nghttp2_session_send() 162 if (rv != 0) { in run_nghttp2_session_send() 167 rv = nghttp2_submit_headers(session, NGHTTP2_FLAG_NONE, 3, NULL, nv, in run_nghttp2_session_send() [all …]
|
D | nghttp2_http_test.c | 37 int rv; in test_nghttp2_http_parse_priority() local 43 rv = nghttp2_http_parse_priority(&pri, v, sizeof(v) - 1); in test_nghttp2_http_parse_priority() 45 CU_ASSERT(0 == rv); in test_nghttp2_http_parse_priority() 54 rv = nghttp2_http_parse_priority(&pri, v, sizeof(v) - 1); in test_nghttp2_http_parse_priority() 56 CU_ASSERT(0 == rv); in test_nghttp2_http_parse_priority() 65 rv = nghttp2_http_parse_priority(&pri, v, sizeof(v) - 1); in test_nghttp2_http_parse_priority() 67 CU_ASSERT(0 == rv); in test_nghttp2_http_parse_priority() 76 rv = nghttp2_http_parse_priority(&pri, v, sizeof(v) - 1); in test_nghttp2_http_parse_priority() 78 CU_ASSERT(0 == rv); in test_nghttp2_http_parse_priority() 87 rv = nghttp2_http_parse_priority(&pri, v, sizeof(v) - 1); in test_nghttp2_http_parse_priority() [all …]
|
/third_party/nghttp2/lib/ |
D | nghttp2_session.c | 163 int rv; in session_call_error_callback() local 174 rv = vsnprintf(NULL, 0, fmt, ap); in session_call_error_callback() 177 if (rv < 0) { in session_call_error_callback() 181 bufsize = (size_t)(rv + 1); in session_call_error_callback() 189 rv = vsnprintf(buf, bufsize, fmt, ap); in session_call_error_callback() 192 if (rv < 0) { in session_call_error_callback() 202 rv = session->callbacks.error_callback2(session, lib_error_code, buf, in session_call_error_callback() 203 (size_t)rv, session->user_data); in session_call_error_callback() 205 rv = session->callbacks.error_callback(session, buf, (size_t)rv, in session_call_error_callback() 211 if (rv != 0) { in session_call_error_callback() [all …]
|
D | sfparse.c | 346 int rv; in parser_date() local 358 rv = parser_number(sfp, &val); in parser_date() 359 if (rv != 0) { in parser_date() 360 return rv; in parser_date() 626 int rv; in sf_parser_param() local 630 rv = parser_skip_inner_list(sfp); in sf_parser_param() 631 if (rv != 0) { in sf_parser_param() 632 return rv; in sf_parser_param() 660 rv = parser_key(sfp, dest_key); in sf_parser_param() 661 if (rv != 0) { in sf_parser_param() [all …]
|
D | nghttp2_hd.c | 655 int rv; in hd_ringbuf_push_front() local 657 rv = hd_ringbuf_reserve(ringbuf, ringbuf->len + 1, mem); in hd_ringbuf_push_front() 659 if (rv != 0) { in hd_ringbuf_push_front() 660 return rv; in hd_ringbuf_push_front() 675 int rv; in hd_context_init() local 679 rv = hd_ringbuf_init( in hd_context_init() 682 if (rv != 0) { in hd_context_init() 683 return rv; in hd_context_init() 704 int rv; in nghttp2_hd_deflate_init2() local 705 rv = hd_context_init(&deflater->ctx, mem); in nghttp2_hd_deflate_init2() [all …]
|
D | nghttp2_submit.c | 73 int rv; in submit_headers_shared() local 84 rv = NGHTTP2_ERR_NOMEM; in submit_headers_shared() 102 rv = NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE; in submit_headers_shared() 120 rv = nghttp2_session_add_item(session, item); in submit_headers_shared() 122 if (rv != 0) { in submit_headers_shared() 139 return rv; in submit_headers_shared() 148 int rv; in submit_headers_shared_nva() local 162 rv = nghttp2_nv_array_copy(&nva_copy, nva, nvlen, mem); in submit_headers_shared_nva() 163 if (rv < 0) { in submit_headers_shared_nva() 164 return rv; in submit_headers_shared_nva() [all …]
|
/third_party/cef/libcef_dll/base/ |
D | cef_lock_impl.cc | 54 int rv = pthread_mutexattr_init(&mta); in LockImpl() local 55 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl() 56 rv = pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_ERRORCHECK); in LockImpl() 57 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl() 58 rv = pthread_mutex_init(&native_handle_, &mta); in LockImpl() 59 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl() 60 rv = pthread_mutexattr_destroy(&mta); in LockImpl() 61 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in LockImpl() 69 int rv = pthread_mutex_destroy(&native_handle_); in ~LockImpl() local 70 DCHECK_EQ(rv, 0) << ". " << strerror(rv); in ~LockImpl() [all …]
|
/third_party/node/deps/nghttp2/lib/ |
D | nghttp2_session.c | 163 int rv; in session_call_error_callback() local 174 rv = vsnprintf(NULL, 0, fmt, ap); in session_call_error_callback() 177 if (rv < 0) { in session_call_error_callback() 181 bufsize = (size_t)(rv + 1); in session_call_error_callback() 189 rv = vsnprintf(buf, bufsize, fmt, ap); in session_call_error_callback() 192 if (rv < 0) { in session_call_error_callback() 202 rv = session->callbacks.error_callback2(session, lib_error_code, buf, in session_call_error_callback() 203 (size_t)rv, session->user_data); in session_call_error_callback() 205 rv = session->callbacks.error_callback(session, buf, (size_t)rv, in session_call_error_callback() 211 if (rv != 0) { in session_call_error_callback() [all …]
|
D | sfparse.c | 346 int rv; in parser_date() local 358 rv = parser_number(sfp, &val); in parser_date() 359 if (rv != 0) { in parser_date() 360 return rv; in parser_date() 626 int rv; in sf_parser_param() local 630 rv = parser_skip_inner_list(sfp); in sf_parser_param() 631 if (rv != 0) { in sf_parser_param() 632 return rv; in sf_parser_param() 660 rv = parser_key(sfp, dest_key); in sf_parser_param() 661 if (rv != 0) { in sf_parser_param() [all …]
|
D | nghttp2_hd.c | 655 int rv; in hd_ringbuf_push_front() local 657 rv = hd_ringbuf_reserve(ringbuf, ringbuf->len + 1, mem); in hd_ringbuf_push_front() 659 if (rv != 0) { in hd_ringbuf_push_front() 660 return rv; in hd_ringbuf_push_front() 675 int rv; in hd_context_init() local 679 rv = hd_ringbuf_init( in hd_context_init() 682 if (rv != 0) { in hd_context_init() 683 return rv; in hd_context_init() 704 int rv; in nghttp2_hd_deflate_init2() local 705 rv = hd_context_init(&deflater->ctx, mem); in nghttp2_hd_deflate_init2() [all …]
|
D | nghttp2_submit.c | 73 int rv; in submit_headers_shared() local 84 rv = NGHTTP2_ERR_NOMEM; in submit_headers_shared() 102 rv = NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE; in submit_headers_shared() 120 rv = nghttp2_session_add_item(session, item); in submit_headers_shared() 122 if (rv != 0) { in submit_headers_shared() 139 return rv; in submit_headers_shared() 148 int rv; in submit_headers_shared_nva() local 162 rv = nghttp2_nv_array_copy(&nva_copy, nva, nvlen, mem); in submit_headers_shared_nva() 163 if (rv < 0) { in submit_headers_shared_nva() 164 return rv; in submit_headers_shared_nva() [all …]
|
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
D | nghttp3_conn.c | 53 int rv; in conn_call_begin_headers() local 59 rv = conn->callbacks.begin_headers(conn, stream->node.nid.id, conn->user_data, in conn_call_begin_headers() 61 if (rv != 0) { in conn_call_begin_headers() 71 int rv; in conn_call_end_headers() local 77 rv = conn->callbacks.end_headers(conn, stream->node.nid.id, fin, in conn_call_end_headers() 79 if (rv != 0) { in conn_call_end_headers() 89 int rv; in conn_call_begin_trailers() local 95 rv = conn->callbacks.begin_trailers(conn, stream->node.nid.id, in conn_call_begin_trailers() 97 if (rv != 0) { in conn_call_begin_trailers() 107 int rv; in conn_call_end_trailers() local [all …]
|
D | nghttp3_stream.c | 229 int rv; in nghttp3_stream_frq_add() local 233 rv = nghttp3_ringbuf_reserve(frq, nlen); in nghttp3_stream_frq_add() 234 if (rv != 0) { in nghttp3_stream_frq_add() 235 return rv; in nghttp3_stream_frq_add() 249 int rv; in nghttp3_stream_fill_outq() local 257 rv = nghttp3_stream_write_settings(stream, frent); in nghttp3_stream_fill_outq() 258 if (rv != 0) { in nghttp3_stream_fill_outq() 259 return rv; in nghttp3_stream_fill_outq() 263 rv = nghttp3_stream_write_headers(stream, frent); in nghttp3_stream_fill_outq() 264 if (rv != 0) { in nghttp3_stream_fill_outq() [all …]
|
/third_party/openh264/test/api/ |
D | decoder_ec_test.cpp | 24 int rv = encoder_->InitializeExt (¶m_); in TEST_P() local 25 ASSERT_TRUE (rv == cmResultSuccess); in TEST_P() 34 rv = decoder_->Initialize (&decParam); in TEST_P() 35 ASSERT_EQ (0, rv); in TEST_P() 68 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P() 70 LTRRecoveryRequest (decoder_, encoder_, &m_LTR_Recover_Request, rv, true); in TEST_P() 71 rv = decoder_->DecodeFrame2 (NULL, 0, pData, &dstBufInfo_); //reconstruction in TEST_P() 72 LTRRecoveryRequest (decoder_, encoder_, &m_LTR_Recover_Request, rv, true); in TEST_P() 73 LTRMarkFeedback (decoder_, encoder_, &m_LTR_Marking_Feedback, rv); in TEST_P() 90 int rv = encoder_->InitializeExt (¶m_); in TEST_P() local [all …]
|
D | encode_options_test.cpp | 309 int rv = encoder_->InitializeExt (¶m_); in TEST_F() local 310 ASSERT_TRUE (rv == cmResultSuccess); in TEST_F() 313 rv = encoder_->SetOption (ENCODER_OPTION_TRACE_LEVEL, &iTraceLevel); in TEST_F() 314 ASSERT_TRUE (rv == cmResultSuccess); in TEST_F() 359 int rv = encoder_->InitializeExt (¶m_); in TEST_F() local 360 ASSERT_TRUE (rv == cmResultSuccess); in TEST_F() 363 rv = encoder_->SetOption (ENCODER_OPTION_TRACE_LEVEL, &iTraceLevel); in TEST_F() 364 ASSERT_TRUE (rv == cmResultSuccess); in TEST_F() 445 int rv = encoder_->InitializeExt (&sParam1); in TEST_F() local 446 …ASSERT_TRUE (rv == cmResultSuccess) << "InitializeExt: rv = " << rv << " at " << sParam1.iPicWidth… in TEST_F() [all …]
|
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
D | ngtcp2_conn.c | 74 int rv; in conn_call_recv_client_initial() local 78 rv = conn->callbacks.recv_client_initial(conn, dcid, conn->user_data); in conn_call_recv_client_initial() 79 if (rv != 0) { in conn_call_recv_client_initial() 87 int rv; in conn_call_handshake_completed() local 93 rv = conn->callbacks.handshake_completed(conn, conn->user_data); in conn_call_handshake_completed() 94 if (rv != 0) { in conn_call_handshake_completed() 104 int rv; in conn_call_recv_stream_data() local 110 rv = conn->callbacks.recv_stream_data(conn, flags, strm->stream_id, offset, in conn_call_recv_stream_data() 113 if (rv != 0) { in conn_call_recv_stream_data() 124 int rv; in conn_call_recv_crypto_data() local [all …]
|
/third_party/skia/third_party/externals/microhttpd/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 …]
|
/third_party/nghttp2/examples/ |
D | client.c | 165 int rv; in send_callback() local 172 rv = SSL_write(connection->ssl, data, (int)length); in send_callback() 173 if (rv <= 0) { in send_callback() 174 int err = SSL_get_error(connection->ssl, rv); in send_callback() 178 rv = NGHTTP2_ERR_WOULDBLOCK; in send_callback() 180 rv = NGHTTP2_ERR_CALLBACK_FAILURE; in send_callback() 183 return rv; in send_callback() 195 int rv; in recv_callback() local 202 rv = SSL_read(connection->ssl, buf, (int)length); in recv_callback() 203 if (rv < 0) { in recv_callback() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | OrcMCJITReplacement.cpp | 53 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 …]
|
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
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_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 …]
|
/third_party/nghttp2/src/ |
D | h2load_http3_session.cc | 91 int rv; in submit_request_internal() local 97 rv = ngtcp2_conn_open_bidi_stream(client_->quic.conn, &stream_id, nullptr); in submit_request_internal() 98 if (rv != 0) { in submit_request_internal() 99 return rv; in submit_request_internal() 105 rv = nghttp3_conn_submit_request( in submit_request_internal() 108 if (rv != 0) { in submit_request_internal() 109 return rv; in submit_request_internal() 227 auto rv = ngtcp2_conn_shutdown_stream_read(client_->quic.conn, 0, stream_id, in stop_sending() local 229 if (rv != 0) { in stop_sending() 230 std::cerr << "ngtcp2_conn_shutdown_stream_read: " << ngtcp2_strerror(rv) in stop_sending() [all …]
|
/third_party/musl/src/passwd/ |
D | getgr_a.c | 23 int rv = 0; in __getgr_a() local 31 rv = errno; in __getgr_a() 35 while (!(rv = __getgrent_a(f, gr, buf, size, mem, nmem, res)) && *res) { in __getgr_a() 43 if (!*res && (rv == 0 || rv == ENOENT || rv == ENOTDIR)) { in __getgr_a() 58 rv = 0; in __getgr_a() 65 if (!f) { rv = errno; goto done; } in __getgr_a() 67 if (!groupbuf[GRFOUND]) { rv = 0; goto cleanup_f; } in __getgr_a() 70 rv = EIO; in __getgr_a() 75 rv = ENOMEM; in __getgr_a() 83 rv = ferror(f) ? errno : EIO; in __getgr_a() [all …]
|