| /third_party/python/Modules/ |
| D | gc_weakref.txt | 7 Once gc has computed the set of unreachable objects, no Python-level 21 OTOH, it's OK to run Python-level code that can't access unreachable 28 still exist, and be accessible to the callback -- there are lots of painful 35 I'm leaving it as-is because it's more right than wrong, and serves as a 41 trash (CT) exists, then any call to any Python code whatsoever can end up 42 materializing a strong reference to that weakref's CT referent, and so 43 possibly resurrect an insane object (one for which cyclic gc has called-- or 44 will call before it's done --tp_clear()). It's not even necessarily that a 48 CT while gc is running. 68 below. We do clear all weakrefs to CT now before breaking cycles, but not [all …]
|
| /third_party/skia/src/gpu/mock/ |
| D | GrMockCaps.h | 4 * Use of this source code is governed by a BSD-style license that can be 32 fShaderCaps->fIntegerSupport = options.fIntegerSupport; in GrMockCaps() 33 fShaderCaps->fFlatInterpolationSupport = options.fFlatInterpolationSupport; in GrMockCaps() 34 fShaderCaps->fMaxFragmentSamplers = options.fMaxFragmentSamplers; in GrMockCaps() 35 fShaderCaps->fShaderDerivativeSupport = options.fShaderDerivativeSupport; in GrMockCaps() 36 fShaderCaps->fDualSourceBlendingSupport = options.fDualSourceBlendingSupport; in GrMockCaps() 37 fShaderCaps->fSampleMaskSupport = true; in GrMockCaps() 38 fShaderCaps->fMaxTessellationSegments = options.fMaxTessellationSegments; in GrMockCaps() 40 this->finishInitialization(contextOptions); in GrMockCaps() 49 auto ct = format.asMockColorType(); in isFormatSRGB() local [all …]
|
| /third_party/openssl/include/openssl/ |
| D | ct.h.in | 2 * {- join("\n * ", @autowarntext) -} 4 * Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved. 12 {- 14 -} 43 {- 46 -} 50 CT_LOG_ENTRY_TYPE_NOT_SET = -1, 56 SCT_VERSION_NOT_SET = -1, 77 * CT policy evaluation context functions * 118 /* Gets the CT logs that are trusted sources of SCTs */ [all …]
|
| /third_party/openssl/ohos_lite/include/openssl/ |
| D | ct.h | 2 * Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved. 32 CT_LOG_ENTRY_TYPE_NOT_SET = -1, 38 SCT_VERSION_NOT_SET = -1, 62 * CT policy evaluation context functions * 95 /* Gets the CT logs that are trusted sources of SCTs */ 128 * Creates a new SCT from some base64-encoded strings. 205 * For CT v1, this will be either NID_sha256WithRSAEncryption or 212 * For CT v1, this should be either NID_sha256WithRSAEncryption or 276 * Pretty-prints an |sct| to |out|. 278 * If |logs| is not NULL, it will be used to lookup the CT log that the SCT came [all …]
|
| /third_party/skia/src/gpu/ |
| D | SkGr.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 85 (*listener)->markShouldDeregister(); in GrMakeUniqueKeyInvalidationListener() 92 SkASSERT(!key->getCustomData()); in GrMakeUniqueKeyInvalidationListener() 93 key->setCustomData(std::move(data)); in GrMakeUniqueKeyInvalidationListener() 105 if (baseProxy->isPromiseProxy()) { in GrCopyBaseMipMapToTextureProxy() 108 if (!ctx->priv().caps()->isFormatCopyable(baseProxy->backendFormat())) { in GrCopyBaseMipMapToTextureProxy() 116 SkASSERT(copy->asTextureProxy()); in GrCopyBaseMipMapToTextureProxy() 132 if (!caps->mipmapSupport() || bitmap.dimensions().area() <= 1) { in adjust_mipmapped() 139 GrColorType ct = SkColorTypeToGrColorType(bitmap.info().colorType()); in choose_bmp_texture_colortype() local 140 if (caps->getDefaultBackendFormat(ct, GrRenderable::kNo).isValid()) { in choose_bmp_texture_colortype() [all …]
|
| /third_party/libwebsockets/lib/secure-streams/protocols/ |
| D | ss-mqtt.c | 2 * libwebsockets - small server side websockets and web server implementation 4 * Copyright (C) 2019 - 2021 Andy Green <andy@warmcat.com> 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 25 #include <private-lib-core.h> 32 if (h->u.mqtt.heap_baggage) { in secstream_mqtt_cleanup() 33 lws_free(h->u.mqtt.heap_baggage); in secstream_mqtt_cleanup() 34 h->u.mqtt.heap_baggage = NULL; in secstream_mqtt_cleanup() 37 if (h->u.mqtt.sub_info.topic) { in secstream_mqtt_cleanup() 38 for (i = 0; i < h->u.mqtt.sub_info.num_topics; i++) { in secstream_mqtt_cleanup() 39 if (h->u.mqtt.sub_info.topic[i].name) { in secstream_mqtt_cleanup() [all …]
|
| /third_party/mksh/ |
| D | Build.sh | 3 #- 11 # is granted to deal in this work without restriction, including un- 17 # implied; without malicious intent or gross negligence. In no event 23 #- 36 if test -n "${ZSH_VERSION+x}" && (emulate sh) >/dev/null 2>&1; then 41 if test -d /usr/xpg4/bin/. >/dev/null 2>&1; then 83 rm -f "$bn.gen" 121 test -f "$srcfile" || genopt_die Source file \$srcfile not set. 152 0:/\*-|0:\ \**|0:) 216 set x -G "$srcfile" [all …]
|
| /third_party/openssl/doc/man3/ |
| D | CTLOG_STORE_new.pod | 7 CTLOG_STORE_load_default_file, CTLOG_STORE_load_file - 12 #include <openssl/ct.h> 27 CTLOG_STORE_new_ex() creates an empty list of CT logs associated with 36 L<openssl-version(1)>). This can be overridden using an environment variable 37 named B<CTLOG_FILE>. CTLOG_STORE_load_file() loads from a caller-specified file 38 path instead. Both of these functions append any loaded CT logs to the 47 key = <base64-encoded DER SubjectPublicKeyInfo here> 51 key = <base64-encoded DER SubjectPublicKeyInfo here> 53 Once a CTLOG_STORE is no longer required, it should be passed to 59 If there are any invalid CT logs in a file, they are skipped and the remaining [all …]
|
| D | SSL_CTX_set_ct_validation_callback.pod | 8 SSL_ct_is_enabled, SSL_CTX_ct_is_enabled - 35 This is accomplished by setting a built-in CT validation callback. 42 presents no valid SCTs the handshake will be aborted. 45 However, in that case if the verification status before the built-in callback 70 and the callback returns a non-positive result. 77 If no callback is set, SCTs will not be requested and Certificate Transparency 80 No callback will be invoked when the peer presents no certificate, e.g. by 82 In that case the handshake continues as it would had no callback been 85 validated via DANE-TA(2) or DANE-EE(3) TLSA records which use a private X.509 86 PKI, or no X.509 PKI at all, respectively. [all …]
|
| D | CTLOG_new.pod | 7 CTLOG_get0_name, CTLOG_get0_log_id, CTLOG_get0_public_key - 12 #include <openssl/ct.h> 32 Transparency (CT) log with the given public key and associates it with the 41 public key in base64-encoded DER form and sets the ct_log pointer to point to 51 caller's responsibility to pass the CTLOG to CTLOG_free() once it is no longer 60 v1 CT log, the LogID will be a SHA-256 hash (i.e. 32 bytes long). Ownership of 63 CTLOG_get0_public_key() returns the public key of the CT log. Ownership of the 74 L<ct(7)> 83 Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
| /third_party/skia/third_party/externals/opengl-registry/extensions/NV/ |
| D | NV_texgen_emboss.txt | 25 NVIDIA no longer supports this extension in driver updates 49 suitable for multitexture-based embossing (or bump mapping) effects. 52 coordinates of a second texture unit (an odd-numbered texture unit) 53 as a perturbation of a first texture unit (an even-numbered texture 59 coordinate. The perturbation is also scaled by program-supplied 64 filtered texels, programs can achieve a per-pixel embossing effect. 70 NO. Just odd numbered units. This meets a constraint of the 91 NO. Too much work and there may be reasons for the programmer to 100 What is the interpretation of CT? 102 For the purposes of embossing, CT should be thought of as the [all …]
|
| /third_party/openGLES/extensions/NV/ |
| D | NV_texgen_emboss.txt | 25 NVIDIA no longer supports this extension in driver updates 49 suitable for multitexture-based embossing (or bump mapping) effects. 52 coordinates of a second texture unit (an odd-numbered texture unit) 53 as a perturbation of a first texture unit (an even-numbered texture 59 coordinate. The perturbation is also scaled by program-supplied 64 filtered texels, programs can achieve a per-pixel embossing effect. 70 NO. Just odd numbered units. This meets a constraint of the 91 NO. Too much work and there may be reasons for the programmer to 100 What is the interpretation of CT? 102 For the purposes of embossing, CT should be thought of as the [all …]
|
| /third_party/openssl/test/recipes/ |
| D | 70-test_sslmessages.t | 2 # Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved. 23 if disabled("engine") || disabled("dynamic-engine"); 34 my $proxy = TLSProxy::Proxy->new( 176 $proxy->serverconnects(2); 177 $proxy->clientflags("-no_tls1_3 -sess_out ".$session); 178 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 185 $proxy->clearClient(); 186 $proxy->clientflags("-no_tls1_3 -sess_in ".$session); 187 $proxy->clientstart(); 195 skip "No OCSP support in this OpenSSL build", 3 [all …]
|
| /third_party/python/Lib/idlelib/idle_test/ |
| D | test_calltip.py | 28 def t6(no, self): 'doc' argument 29 t6.tip = "(no, self)" 32 def nd(self): pass # No doc. 61 # Simulate builtin with no docstring for default tip test 87 non-overlapping occurrences of the pattern in string by the 94 non-overlapping occurrences o...''') 142 self.assertEqual(get_spec(f), f"()\n{'a'*(calltip._MAX_COLS-3) + '...'}") 147 "range(stop) -> range object\n" 148 "range(start, stop[, step]) -> range object") 152 bytes(iterable_of_ints) -> bytes [all …]
|
| /third_party/skia/src/gpu/vk/ |
| D | GrVkCaps.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 72 this->init(contextOptions, vkInterface, physDev, features, physicalDeviceVersion, extensions, in GrVkCaps() 156 if (!this->formatCanBeDstofBlit(dstFormat, dstIsLinear) || in canCopyAsBlit() 157 !this->formatCanBeSrcofBlit(srcFormat, srcIsLinear)) { in canCopyAsBlit() 200 if (src->isProtected() == GrProtected::kYes && dst->isProtected() != GrProtected::kYes) { in onCanCopySurface() 213 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() 217 if (rtProxy->wrapsVkSecondaryCB()) { in onCanCopySurface() 220 if (this->preferDiscardableMSAAAttachment() && dst->asTextureProxy() && in onCanCopySurface() 221 rtProxy->supportsVkInputAttachment()) { in onCanCopySurface() 224 dstSampleCnt = rtProxy->numSamples(); in onCanCopySurface() [all …]
|
| /third_party/flutter/skia/src/gpu/vk/ |
| D | GrVkCaps.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 60 this->init(contextOptions, vkInterface, physDev, features, physicalDeviceVersion, extensions, in GrVkCaps() 138 if (!this->formatCanBeDstofBlit(dstFormat, dstIsLinear) || in canCopyAsBlit() 139 !this->formatCanBeSrcofBlit(srcFormat, srcIsLinear)) { in canCopyAsBlit() 182 if (src->isProtected() && !dst->isProtected()) { in onCanCopySurface() 195 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() 199 if (rtProxy->wrapsVkSecondaryCB()) { in onCanCopySurface() 202 dstSampleCnt = rtProxy->numSamples(); in onCanCopySurface() 204 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() 208 if (rtProxy->wrapsVkSecondaryCB()) { in onCanCopySurface() [all …]
|
| /third_party/python/Lib/ |
| D | pstats.py | 14 # http://www.apache.org/licenses/LICENSE-2.0 92 addition to the old -1, 0, 1, or 2 that are respectively interpreted as 133 (self.files[-1] if self.files else ''), file=self.stream) 159 for func, (cc, nc, tt, ct, callers) in self.stats.items(): 202 "calls" : (((1,-1), ), "call count"), 203 "ncalls" : (((1,-1), ), "call count"), 204 "cumtime" : (((3,-1), ), "cumulative time"), 205 "cumulative": (((3,-1), ), "cumulative time"), 211 "pcalls" : (((0,-1), ), "primitive call count"), 213 "time" : (((2,-1), ), "internal time"), [all …]
|
| /third_party/flutter/skia/tests/ |
| D | GrTestingBackendTextureUploadTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 16 void testing_only_texture_test(skiatest::Reporter* reporter, GrContext* context, SkColorType ct, in testing_only_texture_test() argument 22 SkImageInfo ii = SkImageInfo::Make(kWidth, kHeight, ct, kPremul_SkAlphaType); in testing_only_texture_test() 28 const GrCaps* caps = context->priv().caps(); in testing_only_texture_test() 30 GrColorType grCT = SkColorTypeToGrColorType(ct); in testing_only_texture_test() 32 GrBackendFormat backendFormat = context->defaultBackendFormat(ct, renderable); in testing_only_texture_test() 44 backendTex = context->priv().createBackendTexture(&expectedPixels, 1, in testing_only_texture_test() 47 backendTex = context->createBackendTexture(kWidth, kHeight, ct, SkColors::kTransparent, in testing_only_texture_test() 51 // createBackendTexture will fill the texture with 0's if no data is provided, so in testing_only_texture_test() 60 caps->supportedReadPixelsColorType(grCT, backendTex.getBackendFormat(), grCT); in testing_only_texture_test() [all …]
|
| /third_party/skia/tests/ |
| D | GrDDLImageTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 16 for (int ct = 0; ct < sk_gpu_test::GrContextFactory::kContextTypeCnt; ++ct) { in DEF_GPUTEST() local 17 auto contextType = static_cast<sk_gpu_test::GrContextFactory::ContextType>(ct); in DEF_GPUTEST() 32 REPORTER_ASSERT(reporter, rasterImg->isValid(static_cast<GrRecordingContext*>(nullptr))); in DEF_GPUTEST() 35 auto subImg1 = rasterImg->makeSubset(subsetBounds, dContext); in DEF_GPUTEST() 36 REPORTER_ASSERT(reporter, subImg1->isValid(dContext)); in DEF_GPUTEST() 38 // raster + no context: in DEF_GPUTEST() 39 auto subImg2 = rasterImg->makeSubset(subsetBounds, nullptr); in DEF_GPUTEST() 40 REPORTER_ASSERT(reporter, subImg2->isValid(static_cast<GrRecordingContext*>(nullptr))); in DEF_GPUTEST() 45 REPORTER_ASSERT(reporter, surf->characterize(&sc)); in DEF_GPUTEST() [all …]
|
| D | ReadWritePixelsGpuTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 30 static constexpr int min_rgb_channel_bits(SkColorType ct) { in min_rgb_channel_bits() argument 31 switch (ct) { in min_rgb_channel_bits() 58 static constexpr int alpha_channel_bits(SkColorType ct) { in alpha_channel_bits() argument 59 switch (ct) { in alpha_channel_bits() 91 SkIRect::MakeLTRB(-10, -10, w + 10, h + 10), in make_long_rect_array() 95 SkIRect::MakeLTRB(-10, -10, -1, -1), in make_long_rect_array() 97 SkIRect::MakeLTRB(-10, -10, 0, 0), in make_long_rect_array() 99 SkIRect::MakeLTRB(-10, -10, w/4, h/4), in make_long_rect_array() 101 SkIRect::MakeLTRB(-10, -10, w + 10, h/4), in make_long_rect_array() [all …]
|
| /third_party/skia/src/gpu/d3d/ |
| D | GrD3DCaps.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 63 this->init(contextOptions, adapter, device); in GrD3DCaps() 90 // D3D12 can resolve between typeless and non-typeless formats, but we are not using in canCopyAsResolve() 101 if (src->isProtected() == GrProtected::kYes && dst->isProtected() != GrProtected::kYes) { in onCanCopySurface() 107 if (const GrRenderTargetProxy* rtProxy = dst->asRenderTargetProxy()) { in onCanCopySurface() 108 dstSampleCnt = rtProxy->numSamples(); in onCanCopySurface() 110 if (const GrRenderTargetProxy* rtProxy = src->asRenderTargetProxy()) { in onCanCopySurface() 111 srcSampleCnt = rtProxy->numSamples(); in onCanCopySurface() 113 SkASSERT((dstSampleCnt > 0) == SkToBool(dst->asRenderTargetProxy())); in onCanCopySurface() 114 SkASSERT((srcSampleCnt > 0) == SkToBool(src->asRenderTargetProxy())); in onCanCopySurface() [all …]
|
| /third_party/googletest/googlemock/include/gmock/ |
| D | gmock-function-mocker.h | 21 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 // Google Mock - a framework for writing C++ mock classes. 42 #include "gmock/gmock-spec-builders.h" 43 #include "gmock/internal/gmock-internal-utils.h" 44 #include "gmock/internal/gmock-pp.h" 379 #define MOCK_METHOD0_WITH_CALLTYPE(ct, m, ...) \ argument 380 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 0, __VA_ARGS__) 381 #define MOCK_METHOD1_WITH_CALLTYPE(ct, m, ...) \ argument 382 GMOCK_INTERNAL_MOCK_METHODN(, ct, m, 1, __VA_ARGS__) 383 #define MOCK_METHOD2_WITH_CALLTYPE(ct, m, ...) \ argument [all …]
|
| /third_party/skia/src/images/ |
| D | SkWebpEncoder.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 31 // updated accordingly. Here, we enforce using local copy in webp sub-directory. 38 SkWStream* const stream = (SkWStream*)picture->custom_ptr; in stream_writer() 39 return stream->write(data, data_size) ? 1 : 0; in stream_writer() 50 // Maintain the existing behavior of not supporting encoding alpha-only images. in Encode() 51 // TODO: Support encoding alpha only to an image with alpha but no color? in Encode() 87 // If there is no need to embed an ICC profile, we write directly to the input stream. in Encode() 95 const SkColorType ct = pixmap.colorType(); in Encode() local 101 if ( ct == kRGB_888x_SkColorType) { importProc = WebPPictureImportRGBX; } in Encode() 102 else if (!premul && ct == kRGBA_8888_SkColorType) { importProc = WebPPictureImportRGBA; } in Encode() [all …]
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
| D | tlsv1_record.c | 3 * Copyright (c) 2006-2011, Jouni Malinen <j@w1.fi> 20 * tlsv1_record_set_cipher_suite - TLS record layer: Set cipher suite 23 * Returns: 0 on success, -1 on failure 38 rl->cipher_suite = cipher_suite; in tlsv1_record_set_cipher_suite() 42 return -1; in tlsv1_record_set_cipher_suite() 44 if (suite->hash == TLS_HASH_MD5) { in tlsv1_record_set_cipher_suite() 45 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_MD5; in tlsv1_record_set_cipher_suite() 46 rl->hash_size = MD5_MAC_LEN; in tlsv1_record_set_cipher_suite() 47 } else if (suite->hash == TLS_HASH_SHA) { in tlsv1_record_set_cipher_suite() 48 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA1; in tlsv1_record_set_cipher_suite() [all …]
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
| D | tlsv1_record.c | 3 * Copyright (c) 2006-2011, Jouni Malinen <j@w1.fi> 20 * tlsv1_record_set_cipher_suite - TLS record layer: Set cipher suite 23 * Returns: 0 on success, -1 on failure 38 rl->cipher_suite = cipher_suite; in tlsv1_record_set_cipher_suite() 42 return -1; in tlsv1_record_set_cipher_suite() 44 if (suite->hash == TLS_HASH_MD5) { in tlsv1_record_set_cipher_suite() 45 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_MD5; in tlsv1_record_set_cipher_suite() 46 rl->hash_size = MD5_MAC_LEN; in tlsv1_record_set_cipher_suite() 47 } else if (suite->hash == TLS_HASH_SHA) { in tlsv1_record_set_cipher_suite() 48 rl->hash_alg = CRYPTO_HASH_ALG_HMAC_SHA1; in tlsv1_record_set_cipher_suite() [all …]
|