/third_party/openssl/doc/ |
H A D | perlvars.pm | 14 $OpenSSL::safe::opt_v_synopsis = "" 45 $OpenSSL::safe::opt_v_item = "" 60 $OpenSSL::safe::opt_x_synopsis = "" 67 $OpenSSL::safe::opt_x_item = "" 76 $OpenSSL::safe::opt_name_synopsis = "" 78 $OpenSSL::safe::opt_name_item = "" 85 $OpenSSL::safe::opt_r_synopsis = "" 88 $OpenSSL::safe::opt_r_item = "" 94 $OpenSSL::safe::opt_provider_synopsis = "" 98 $OpenSSL::safe [all...] |
/third_party/skia/tests/ |
H A D | SafeMathTest.cpp | 17 SkSafeMath safe; in DEF_TEST() local 18 REPORTER_ASSERT(r, safe.add(halfMax, halfMax) == 2 * halfMax); in DEF_TEST() 19 REPORTER_ASSERT(r, safe); in DEF_TEST() 20 REPORTER_ASSERT(r, safe.add(halfMax, halfMaxPlus1) == max); in DEF_TEST() 21 REPORTER_ASSERT(r, safe); in DEF_TEST() 22 REPORTER_ASSERT(r, safe.add(max, 1) == 0); in DEF_TEST() 23 REPORTER_ASSERT(r, !safe); in DEF_TEST() 27 SkSafeMath safe; in DEF_TEST() local 28 (void) safe.add(max, max); in DEF_TEST() 29 REPORTER_ASSERT(r, !safe); in DEF_TEST() 37 SkSafeMath safe; DEF_TEST() local 47 SkSafeMath safe; DEF_TEST() local [all...] |
/third_party/python/Lib/urllib/ |
H A D | parse.py | 824 in either of the specified safe set, or the always safe set. 828 def __init__(self, safe): 829 """safe: bytes object.""" 830 self.safe = _ALWAYS_SAFE.union(safe) 837 res = chr(b) if b in self.safe else '%{:02X}'.format(b) 841 def quote(string, safe='/', encoding=None, errors=None): 862 unreserved chars ("always safe") nor the additional chars set via the 863 safe ar [all...] |
/third_party/skia/src/core/ |
H A D | SkTextBlob.cpp | 41 SkSafeMath* safe) { in StorageSize() 44 auto glyphSize = safe->mul(glyphCount, sizeof(uint16_t)), in StorageSize() 45 posSize = safe->mul(PosCount(glyphCount, positioning, safe), sizeof(SkScalar)); in StorageSize() 49 size = safe->add(size, safe->alignUp(glyphSize, 4)); in StorageSize() 50 size = safe->add(size, posSize); in StorageSize() 53 size = safe->add(size, sizeof(uint32_t)); in StorageSize() 54 size = safe->add(size, safe in StorageSize() 39 StorageSize(uint32_t glyphCount, uint32_t textSize, SkTextBlob::GlyphPositioning positioning, SkSafeMath* safe) StorageSize() argument 99 SkSafeMath safe; NextUnchecked() local 107 PosCount(uint32_t glyphCount, SkTextBlob::GlyphPositioning positioning, SkSafeMath* safe) PosCount() argument 116 SkSafeMath safe; textSizePtr() local 392 SkSafeMath safe; reserve() local 448 SkSafeMath safe; mergeRun() local 488 SkSafeMath safe; allocInternal() local 698 SkSafeMath safe; MakeFromBuffer() local [all...] |
H A D | SkVertices.cpp | 42 SkSafeMath safe; in Sizes() local 44 fVSize = safe.mul(desc.fVertexCount, sizeof(SkPoint)); in Sizes() 45 fTSize = desc.fHasTexs ? safe.mul(desc.fVertexCount, sizeof(SkPoint)) : 0; in Sizes() 46 fCSize = desc.fHasColors ? safe.mul(desc.fVertexCount, sizeof(SkColor)) : 0; in Sizes() 49 fISize = safe.mul(desc.fIndexCount, sizeof(uint16_t)); in Sizes() 68 fISize = safe.mul(numFanTris, 3 * sizeof(uint16_t)); in Sizes() 71 fTotal = safe.add(sizeof(SkVertices), in Sizes() 72 safe.add(fVSize, in Sizes() 73 safe.add(fTSize, in Sizes() 74 safe in Sizes() [all...] |
H A D | SkMask.cpp | 59 SkSafeMath safe; in PrepareDestination() local 65 size_t dstW = safe.add(src.fBounds.width(), safe.add(radiusX, radiusX)); in PrepareDestination() 67 size_t dstH = safe.add(src.fBounds.height(), safe.add(radiusY, radiusY)); in PrepareDestination() 69 size_t toAlloc = safe.mul(dstW, dstH); in PrepareDestination() 72 if (!SkTFitsIn<int>(dstW) || !SkTFitsIn<int>(dstH) || toAlloc > INT_MAX || !safe) { in PrepareDestination()
|
H A D | SkPath_serial.cpp | 107 SkSafeMath safe; in writeToMemory() local 109 size = safe.add(size, safe.mul(pts, sizeof(SkPoint))); in writeToMemory() 110 size = safe.add(size, safe.mul(cnx, sizeof(SkScalar))); in writeToMemory() 111 size = safe.add(size, safe.mul(vbs, sizeof(uint8_t))); in writeToMemory() 112 size = safe.alignUp(size, 4); in writeToMemory() 113 if (!safe) { in writeToMemory()
|
H A D | SkImageInfo.cpp | 63 SkSafeMath safe; in computeByteSize() local 64 size_t bytes = safe.add(safe.mul(safe.addInt(this->height(), -1), rowBytes), in computeByteSize() 65 safe.mul(this->width(), this->bytesPerPixel())); in computeByteSize() 71 return (safe.ok() && (bytes <= kMaxSigned32BitSize)) ? bytes : SIZE_MAX; in computeByteSize()
|
H A D | SkPaint.cpp | 267 static uint32_t unpack_v68(SkPaint* paint, uint32_t packed, SkSafeRange& safe) { in unpack_v68() argument 274 paint->setBlendMode(safe.checkLE(mode, SkBlendMode::kLastMode)); in unpack_v68() 279 paint->setStrokeCap(safe.checkLE(packed & 0x3, SkPaint::kLast_Cap)); in unpack_v68() 281 paint->setStrokeJoin(safe.checkLE(packed & 0x3, SkPaint::kLast_Join)); in unpack_v68() 283 paint->setStyle(safe.checkLE(packed & 0x3, SkPaint::kStrokeAndFill_Style)); in unpack_v68() 333 SkSafeRange safe; in Unflatten() local 334 unsigned flatFlags = unpack_v68(&paint, buffer.readUInt(), safe); in Unflatten() 360 if (!buffer.validate(safe.ok())) { in Unflatten()
|
H A D | SkRegion_path.cpp | 128 SkSafeMath safe; in init() local 134 maxTransitions = safe.addInt(maxTransitions, 2); in init() 138 size_t count = safe.mul(safe.addInt(maxHeight, 1), safe.addInt(3, maxTransitions)); in init() 143 count = safe.add(count, 10); in init() 146 if (!safe || !SkTFitsIn<int32_t>(count)) { in init()
|
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_prime.c | 22 static int probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods, 24 static int probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods, 123 int BN_generate_prime_ex2(BIGNUM *ret, int bits, int safe, in BN_generate_prime_ex2() argument 137 } else if (add == NULL && safe && bits < 6 && bits != 3) { in BN_generate_prime_ex2() 139 * The smallest safe prime (7) is three bits. in BN_generate_prime_ex2() 140 * But the following two safe primes with less than 6 bits (11, 23) in BN_generate_prime_ex2() 160 if (!probable_prime(ret, bits, safe, mods, ctx)) in BN_generate_prime_ex2() 163 if (!probable_prime_dh(ret, bits, safe, mods, add, rem, ctx)) in BN_generate_prime_ex2() 171 if (!safe) { in BN_generate_prime_ex2() 179 * for "safe prim in BN_generate_prime_ex2() 213 BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb) BN_generate_prime_ex() argument 478 probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods, BN_CTX *ctx) probable_prime() argument 536 probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods, const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx) probable_prime_dh() argument [all...] |
/third_party/openssl/crypto/bn/ |
H A D | bn_prime.c | 22 static int probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods, 24 static int probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods, 123 int BN_generate_prime_ex2(BIGNUM *ret, int bits, int safe, in BN_generate_prime_ex2() argument 137 } else if (add == NULL && safe && bits < 6 && bits != 3) { in BN_generate_prime_ex2() 139 * The smallest safe prime (7) is three bits. in BN_generate_prime_ex2() 140 * But the following two safe primes with less than 6 bits (11, 23) in BN_generate_prime_ex2() 160 if (!probable_prime(ret, bits, safe, mods, ctx)) in BN_generate_prime_ex2() 163 if (!probable_prime_dh(ret, bits, safe, mods, add, rem, ctx)) in BN_generate_prime_ex2() 171 if (!safe) { in BN_generate_prime_ex2() 179 * for "safe prim in BN_generate_prime_ex2() 213 BN_generate_prime_ex(BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb) BN_generate_prime_ex() argument 478 probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods, BN_CTX *ctx) probable_prime() argument 536 probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods, const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx) probable_prime_dh() argument [all...] |
/third_party/node/deps/npm/node_modules/ini/lib/ |
H A D | ini.js | 29 // 5. Reduce the set to the longest `safe` key 30 // 6. Get the `safe` length 32 padToChars = safe( 39 .reduce((a, b) => safe(a).length >= safe(b).length ? a : b) 50 out += safe(`${k}${arraySuffix}`).padEnd(padToChars, ' ') + separator + safe(item) + eol 55 out += safe(k).padEnd(padToChars, ' ') + separator + safe(val) + eol 60 out = '[' + safe(op [all...] |
/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/internal/ |
H A D | primordials.js | 326 const makeSafe = (unsafe, safe) => { 332 if (!ReflectGetOwnPropertyDescriptor(safe.prototype, key)) { 346 ReflectDefineProperty(safe.prototype, key, desc); 350 copyProps(unsafe.prototype, safe.prototype); 352 copyProps(unsafe, safe); 354 ObjectSetPrototypeOf(safe.prototype, null); 355 ObjectFreeze(safe.prototype); 356 ObjectFreeze(safe); 357 return safe;
|
/third_party/ltp/testcases/network/mpls/ |
H A D | mpls_lib.sh | 43 tst_set_sysctl net.mpls.conf.lo.input 1 safe 44 tst_set_sysctl net.mpls.platform_labels $label safe 50 tst_set_sysctl net.ipv4.conf.all.rp_filter 2 safe 81 tst_set_sysctl net.mpls.conf.ltp_v0.input 1 safe
|
/third_party/openssl/demos/pkcs12/ |
H A D | pkread.c | 23 PKCS7 *safe; in find_friendly_name() local 31 safe = sk_PKCS7_value(safes, n); in find_friendly_name() 32 if (OBJ_obj2nid(safe->type) != NID_pkcs7_data in find_friendly_name() 33 || (bags = PKCS12_unpack_p7data(safe)) == NULL) in find_friendly_name()
|
/third_party/node/lib/internal/per_context/ |
H A D | primordials.js | 371 const makeSafe = (unsafe, safe) => { 377 if (!ReflectGetOwnPropertyDescriptor(safe.prototype, key)) { 391 ReflectDefineProperty(safe.prototype, key, { __proto__: null, ...desc }); 395 copyProps(unsafe.prototype, safe.prototype); 397 copyProps(unsafe, safe); 399 ObjectSetPrototypeOf(safe.prototype, null); 400 ObjectFreeze(safe.prototype); 401 ObjectFreeze(safe); 402 return safe;
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | prime.c | 33 {"safe", OPT_SAFE, '-', 34 "When used with -generate, generate a safe prime"}, 46 int hex = 0, generate = 0, bits = 0, safe = 0, ret = 1; in prime_main() local 72 safe = 1; in prime_main() 107 if (!BN_generate_prime_ex(bn, bits, safe, NULL, NULL, NULL)) { in prime_main()
|
/third_party/openssl/apps/ |
H A D | prime.c | 33 {"safe", OPT_SAFE, '-', 34 "When used with -generate, generate a safe prime"}, 46 int hex = 0, generate = 0, bits = 0, safe = 0, ret = 1; in prime_main() local 72 safe = 1; in prime_main() 107 if (!BN_generate_prime_ex(bn, bits, safe, NULL, NULL, NULL)) { in prime_main()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
H A D | CompactNotation.java | 68 boolean safe, in withLocaleData() 71 return new CompactHandler(this, locale, nsName, compactType, rules, buildReference, safe, parent); in withLocaleData() 89 boolean safe, in CompactHandler() 99 if (safe) { in CompactHandler() 111 /** Used by the safe code path */ 62 withLocaleData( ULocale locale, String nsName, CompactType compactType, PluralRules rules, MutablePatternModifier buildReference, boolean safe, MicroPropsGenerator parent) withLocaleData() argument 82 CompactHandler( CompactNotation notation, ULocale locale, String nsName, CompactType compactType, PluralRules rules, MutablePatternModifier buildReference, boolean safe, MicroPropsGenerator parent) CompactHandler() argument
|
/third_party/python/Lib/test/ |
H A D | test_pprint.py | 149 for safe in (2, 2.0, 2j, "abc", [3], (2,2), {3: 3}, b"def", 153 self.assertFalse(pprint.isrecursive(safe), 154 "expected not isrecursive for %r" % (safe,)) 155 self.assertTrue(pprint.isreadable(safe), 156 "expected isreadable for %r" % (safe,)) 158 self.assertFalse(pp.isrecursive(safe), 159 "expected not isrecursive for %r" % (safe,)) 160 self.assertTrue(pp.isreadable(safe), 161 "expected isreadable for %r" % (safe,)) 191 for safe i [all...] |
/third_party/node/deps/brotli/c/dec/ |
H A D | decode.c | 426 static BROTLI_INLINE void PreloadSymbol(int safe, in PreloadSymbol() argument 431 if (safe) { in PreloadSymbol() 1023 /* In next stage ReadHuffmanCode uses at least 4 bits, so it is safe in DecodeContextMap() 1121 int safe, BrotliDecoderState* s, int tree_type) { in DecodeBlockTypeAndLength() 1135 if (!safe) { in DecodeBlockTypeAndLength() 1198 int safe, BrotliDecoderState* s) { in DecodeLiteralBlockSwitchInternal() 1199 if (!DecodeBlockTypeAndLength(safe, s, 0)) { in DecodeLiteralBlockSwitchInternal() 1218 int safe, BrotliDecoderState* s) { in DecodeCommandBlockSwitchInternal() 1219 if (!DecodeBlockTypeAndLength(safe, s, 1)) { in DecodeCommandBlockSwitchInternal() 1238 int safe, BrotliDecoderStat in DecodeDistanceBlockSwitchInternal() 1120 DecodeBlockTypeAndLength( int safe, BrotliDecoderState* s, int tree_type) DecodeBlockTypeAndLength() argument 1197 DecodeLiteralBlockSwitchInternal( int safe, BrotliDecoderState* s) DecodeLiteralBlockSwitchInternal() argument 1217 DecodeCommandBlockSwitchInternal( int safe, BrotliDecoderState* s) DecodeCommandBlockSwitchInternal() argument 1237 DecodeDistanceBlockSwitchInternal( int safe, BrotliDecoderState* s) DecodeDistanceBlockSwitchInternal() argument 1618 ReadDistanceInternal( int safe, BrotliDecoderState* s, BrotliBitReader* br) ReadDistanceInternal() argument 1666 ReadCommandInternal( int safe, BrotliDecoderState* s, BrotliBitReader* br, int* insert_length) ReadCommandInternal() argument 1714 CheckInputAmount( int safe, BrotliBitReader* const br, size_t num) CheckInputAmount() argument 1734 ProcessCommandsInternal( int safe, BrotliDecoderState* s) ProcessCommandsInternal() argument [all...] |
/third_party/skia/third_party/externals/brotli/c/dec/ |
H A D | decode.c | 426 static BROTLI_INLINE void PreloadSymbol(int safe, in PreloadSymbol() argument 431 if (safe) { in PreloadSymbol() 1023 /* In next stage ReadHuffmanCode uses at least 4 bits, so it is safe in DecodeContextMap() 1121 int safe, BrotliDecoderState* s, int tree_type) { in DecodeBlockTypeAndLength() 1135 if (!safe) { in DecodeBlockTypeAndLength() 1198 int safe, BrotliDecoderState* s) { in DecodeLiteralBlockSwitchInternal() 1199 if (!DecodeBlockTypeAndLength(safe, s, 0)) { in DecodeLiteralBlockSwitchInternal() 1218 int safe, BrotliDecoderState* s) { in DecodeCommandBlockSwitchInternal() 1219 if (!DecodeBlockTypeAndLength(safe, s, 1)) { in DecodeCommandBlockSwitchInternal() 1238 int safe, BrotliDecoderStat in DecodeDistanceBlockSwitchInternal() 1120 DecodeBlockTypeAndLength( int safe, BrotliDecoderState* s, int tree_type) DecodeBlockTypeAndLength() argument 1197 DecodeLiteralBlockSwitchInternal( int safe, BrotliDecoderState* s) DecodeLiteralBlockSwitchInternal() argument 1217 DecodeCommandBlockSwitchInternal( int safe, BrotliDecoderState* s) DecodeCommandBlockSwitchInternal() argument 1237 DecodeDistanceBlockSwitchInternal( int safe, BrotliDecoderState* s) DecodeDistanceBlockSwitchInternal() argument 1618 ReadDistanceInternal( int safe, BrotliDecoderState* s, BrotliBitReader* br) ReadDistanceInternal() argument 1666 ReadCommandInternal( int safe, BrotliDecoderState* s, BrotliBitReader* br, int* insert_length) ReadCommandInternal() argument 1714 CheckInputAmount( int safe, BrotliBitReader* const br, size_t num) CheckInputAmount() argument 1734 ProcessCommandsInternal( int safe, BrotliDecoderState* s) ProcessCommandsInternal() argument [all...] |
/third_party/node/test/parallel/ |
H A D | test-buffer-safe-unsafe.js | 6 const safe = Buffer.alloc(10); 14 assert(isZeroFilled(safe)); 16 // Test that unsafe allocations doesn't affect subsequent safe allocations
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/ |
H A D | CompactNotation.java | 70 boolean safe, in withLocaleData() 73 return new CompactHandler(this, locale, nsName, compactType, rules, buildReference, safe, parent); in withLocaleData() 91 boolean safe, in CompactHandler() 101 if (safe) { in CompactHandler() 113 /** Used by the safe code path */ 64 withLocaleData( ULocale locale, String nsName, CompactType compactType, PluralRules rules, MutablePatternModifier buildReference, boolean safe, MicroPropsGenerator parent) withLocaleData() argument 84 CompactHandler( CompactNotation notation, ULocale locale, String nsName, CompactType compactType, PluralRules rules, MutablePatternModifier buildReference, boolean safe, MicroPropsGenerator parent) CompactHandler() argument
|