| /third_party/skia/tests/ |
| 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() [all …]
|
| /third_party/flutter/skia/tests/ |
| 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() [all …]
|
| /third_party/node/deps/npm/node_modules/string_decoder/node_modules/safe-buffer/ |
| D | package.json | 2 "_from": "safe-buffer@~5.2.0", 3 "_id": "safe-buffer@5.2.0", 6 "_location": "/string_decoder/safe-buffer", 11 "raw": "safe-buffer@~5.2.0", 12 "name": "safe-buffer", 13 "escapedName": "safe-buffer", 21 "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", 23 "_spec": "safe-buffer@~5.2.0", 31 "url": "https://github.com/feross/safe-buffer/issues" 40 "homepage": "https://github.com/feross/safe-buffer", [all …]
|
| /third_party/node/deps/npm/node_modules/npm-registry-fetch/node_modules/safe-buffer/ |
| D | package.json | 2 "_from": "safe-buffer@^5.2.0", 3 "_id": "safe-buffer@5.2.1", 6 "_location": "/npm-registry-fetch/safe-buffer", 11 "raw": "safe-buffer@^5.2.0", 12 "name": "safe-buffer", 13 "escapedName": "safe-buffer", 21 "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 23 "_spec": "safe-buffer@^5.2.0", 31 "url": "https://github.com/feross/safe-buffer/issues" 54 "homepage": "https://github.com/feross/safe-buffer", [all …]
|
| /third_party/node/deps/npm/node_modules/tar/node_modules/safe-buffer/ |
| D | package.json | 2 "_from": "safe-buffer@^5.2.1", 3 "_id": "safe-buffer@5.2.1", 6 "_location": "/tar/safe-buffer", 11 "raw": "safe-buffer@^5.2.1", 12 "name": "safe-buffer", 13 "escapedName": "safe-buffer", 22 "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 24 "_spec": "safe-buffer@^5.2.1", 32 "url": "https://github.com/feross/safe-buffer/issues" 55 "homepage": "https://github.com/feross/safe-buffer", [all …]
|
| /third_party/openssl/external/perl/Text-Template-1.56/t/ |
| D | safe.t | 11 unless (eval { require Safe; 1 }) { 12 plan skip_all => 'Safe.pm is required for this test'; 32 my $c = Safe->new or die; 43 my $text2 = $template1->fill_in(SAFE => $c); 46 my $text3 = $template2->fill_in(SAFE => $c); 49 # (4) Safe and non-safe fills of different template objects with the 53 # uses package main, while the safe fill uses the secret safe package. 54 # We could alias the secret safe package to be identical to main, 55 # but that wouldn't be safe. If you want the aliasing, you have to 58 # (5) Safe and non-safe fills of the same template object [all …]
|
| D | safe2.t | 10 unless (eval { require Safe; 1 }) { 11 plan skip_all => 'Safe.pm is required for this test'; 19 my $c = Safe->new or die; 22 $c->reval('$P = "safe root"'); 40 # (3) When no package is specified in safe mode, we should use the 41 # default safe root. 42 $text = $t->fill_in(SAFE => $c); 43 is $text, 'package is safe root'; 45 # (4) When a package is specified in safe mode, we should use the 46 # default safe root, after aliasing to the specified package [all …]
|
| D | safe3.t | 9 unless (eval { require Safe; 1 }) { 10 plan skip_all => 'Safe.pm is required for this test'; 18 # Test the OUT feature with safe compartments 34 my $c = Safe->new; 40 SAFE => $c) or die; 45 SAFE => $c) or die; 59 # is never undefined after it is used once if you are using the SAFE 70 my $s = Safe->new; 76 my $r = $o->fill_in(SAFE => $s);
|
| /third_party/node/deps/npm/node_modules/safe-buffer/ |
| D | package.json | 4 "safe-buffer@5.1.2", 8 "_from": "safe-buffer@5.1.2", 9 "_id": "safe-buffer@5.1.2", 12 "_location": "/safe-buffer", 17 "raw": "safe-buffer@5.1.2", 18 "name": "safe-buffer", 19 "escapedName": "safe-buffer", 43 "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 52 "url": "https://github.com/feross/safe-buffer/issues" 59 "homepage": "https://github.com/feross/safe-buffer", [all …]
|
| /third_party/node/deps/npm/node_modules/json-stringify-safe/ |
| D | package.json | 2 "_from": "json-stringify-safe@~5.0.1", 3 "_id": "json-stringify-safe@5.0.1", 6 "_location": "/json-stringify-safe", 11 "raw": "json-stringify-safe@~5.0.1", 12 "name": "json-stringify-safe", 13 "escapedName": "json-stringify-safe", 21 "_resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", 23 "_spec": "json-stringify-safe@~5.0.1", 31 "url": "https://github.com/isaacs/json-stringify-safe/issues" 48 "homepage": "https://github.com/isaacs/json-stringify-safe", [all …]
|
| /third_party/ltp/tools/sparse/sparse-src/validation/ |
| D | typeof-safe.c | 1 #define __safe __attribute__((safe)) 26 * check-name: typeof-safe 29 typeof-safe.c:13:21: warning: incorrect type in initializer (different modifiers) 30 typeof-safe.c:13:21: expected int *ptr5 31 typeof-safe.c:13:21: got int [safe] *ptr 32 typeof-safe.c:17:30: warning: incorrect type in initializer (different modifiers) 33 typeof-safe.c:17:30: expected int *ptr7 34 typeof-safe.c:17:30: got int [safe] *ptr
|
| /third_party/openssl/doc/ |
| 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::opt_provider_item = "" [all …]
|
| /third_party/openssl/doc/man1/ |
| D | openssl-srp.pod.in | 2 {- OpenSSL::safe::output_do_not_edit_headers(); -} 23 {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_r_synopsis -} 24 {- $OpenSSL::safe::opt_provider_synopsis -} 25 {- $OpenSSL::safe::opt_config_synopsis -} 93 {- $OpenSSL::safe::opt_engine_item -} 95 {- $OpenSSL::safe::opt_r_item -} 97 {- $OpenSSL::safe::opt_provider_item -} 99 {- $OpenSSL::safe::opt_config_item -} 101 {- $OpenSSL::safe::opt_r_synopsis -}
|
| D | openssl-verify.pod.in | 2 {- OpenSSL::safe::output_do_not_edit_headers(); -} 19 {- $OpenSSL::safe::opt_name_synopsis -} 20 {- $OpenSSL::safe::opt_trust_synopsis -} 21 {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_v_synopsis -} 22 {- $OpenSSL::safe::opt_provider_synopsis -} 78 {- $OpenSSL::safe::opt_name_item -} 80 {- $OpenSSL::safe::opt_engine_item -} 87 {- $OpenSSL::safe::opt_trust_item -} 89 {- $OpenSSL::safe::opt_v_item -} 91 {- $OpenSSL::safe::opt_provider_item -}
|
| D | openssl-rand.pod.in | 2 {- OpenSSL::safe::output_do_not_edit_headers(); -} 15 {- $OpenSSL::safe::opt_engine_synopsis -}{- $OpenSSL::safe::opt_r_synopsis -} 16 {- $OpenSSL::safe::opt_provider_synopsis -} 50 {- $OpenSSL::safe::opt_engine_item -} 52 {- $OpenSSL::safe::opt_r_item -} 54 {- $OpenSSL::safe::opt_provider_item -}
|
| /third_party/python/Doc/library/ |
| D | xml.rst | 68 external entity expansion Safe (5) Safe (2) Safe (3) Safe (5) … 69 `DTD`_ retrieval Safe (5) Safe Safe Safe (5) … 70 decompression bomb Safe Safe Safe Safe …
|
| /third_party/openssl/doc/man7/ |
| D | EVP_PKEY-DH.pod | 11 "safe" domain parameters that are associated with approved named safe-prime 14 applications that cannot be upgraded to use the approved safe-prime groups. 35 Sets or gets a string that associates a B<DH> or B<DHX> named safe prime group 69 Used for DH generation of safe primes using the old safe prime generator code. 71 It is recommended to use a named safe prime group instead, if domain parameter 74 Randomly generated safe primes are not allowed by FIPS, so setting this value 75 for the OpenSSL FIPS provider will instead choose a named safe prime group 104 This specifies that a named safe prime name will be chosen using the "pbits" 109 A safe prime generator. See the "safeprime-generator" type above. 141 named safe prime group instead. [all …]
|
| /third_party/node/deps/npm/node_modules/safer-buffer/ |
| D | Readme.md | 34 ## Why not [safe-buffer](https://npmjs.com/safe-buffer)? 36 _In short: while `safe-buffer` serves as a polyfill for the new API, it allows old API usage and 39 `safe-buffer` could be used safely to get the new API while still keeping support for older 41 I found out that `safe-buffer` is itself causing problems in some cases. 52 …e 'Buffer.alloc()' or 'Buffer.from()' (use 'https://www.npmjs.com/package/safe-buffer' for '<4.5.0… 59 Let's now throw in `safe-buffer`! 62 $ cat example.safe-buffer.js 63 const Buffer = require('safe-buffer').Buffer 65 $ standard example.safe-buffer.js 66 $ ./node-v6.13.0-linux-x64/bin/node example.safe-buffer.js [all …]
|
| /third_party/rust/crates/minimal-lexical/src/ |
| D | stackvec.rs | 45 /// Safe as long as `len` is less than `BIGINT_LIMBS`. 76 /// Safe if `self.len() < self.capacity()`. 80 // SAFETY: safe, capacity is less than the current size. in push_unchecked() 91 // SAFETY: safe, capacity is less than the current size. in try_push() 103 /// Safe if `self.len() > 0`. 107 // SAFETY: safe if `self.length > 0`. in pop_unchecked() 108 // We have a trivial drop and copy, so this is safe. in pop_unchecked() 119 // SAFETY: safe, since `self.len() > 0`. in pop() 128 /// Safe if `self.len() + slc.len() <= self.capacity()`. 135 // SAFETY: safe if `self.len() + slc.len() <= self.capacity()`. in extend_unchecked() [all …]
|
| /third_party/flutter/skia/src/core/ |
| D | SkTextBlob.cpp | 41 SkSafeMath* safe) { in StorageSize() argument 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->mul(glyphCount, sizeof(uint32_t))); in StorageSize() 55 size = safe->add(size, textSize); in StorageSize() 58 return safe->alignUp(size, sizeof(void*)); in StorageSize() 99 SkSafeMath safe; in NextUnchecked() local [all …]
|
| /third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
| D | number_formatimpl.h | 29 * Builds a "safe" MicroPropsGenerator, which is thread-safe and can be used repeatedly. 52 * Evaluates the "safe" MicroPropsGenerator created by "fromMacros". 62 * Like getPrefixSuffixStatic() but uses the safe compiled object. 104 NumberFormatterImpl(const MacroProps ¯os, bool safe, UErrorCode &status); 126 * @param safe 127 …* If true, the returned MicroPropsGenerator will be thread-safe. If false, the returned… 128 …* <em>not</em> be thread-safe, intended for a single "one-shot" use only. Building the … 132 macrosToMicroGenerator(const MacroProps ¯os, bool safe, UErrorCode &status);
|
| /third_party/openssl/crypto/bn/ |
| 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 prime" generation, check that (p-1)/2 is prime. Since a in BN_generate_prime_ex2() [all …]
|
| /third_party/skia/src/core/ |
| D | SkTextBlob.cpp | 45 SkSafeMath* safe) { in StorageSize() argument 48 auto glyphSize = safe->mul(glyphCount, sizeof(uint16_t)), in StorageSize() 49 posSize = safe->mul(PosCount(glyphCount, positioning, safe), sizeof(SkScalar)); in StorageSize() 53 size = safe->add(size, safe->alignUp(glyphSize, 4)); in StorageSize() 54 size = safe->add(size, posSize); in StorageSize() 57 size = safe->add(size, sizeof(uint32_t)); in StorageSize() 58 size = safe->add(size, safe->mul(glyphCount, sizeof(uint32_t))); in StorageSize() 59 size = safe->add(size, textSize); in StorageSize() 62 return safe->alignUp(size, sizeof(void*)); in StorageSize() 103 SkSafeMath safe; in NextUnchecked() local [all …]
|
| /third_party/node/deps/icu-small/source/i18n/ |
| D | number_formatimpl.h | 31 * Builds a "safe" MicroPropsGenerator, which is thread-safe and can be used repeatedly. 59 * Evaluates the "safe" MicroPropsGenerator created by "fromMacros". 69 * Like getPrefixSuffixStatic() but uses the safe compiled object. 118 NumberFormatterImpl(const MacroProps ¯os, bool safe, UErrorCode &status); 140 * @param safe 141 …* If true, the returned MicroPropsGenerator will be thread-safe. If false, the returned… 142 …* <em>not</em> be thread-safe, intended for a single "one-shot" use only. Building the … 146 macrosToMicroGenerator(const MacroProps ¯os, bool safe, UErrorCode &status);
|
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| D | number_formatimpl.h | 31 * Builds a "safe" MicroPropsGenerator, which is thread-safe and can be used repeatedly. 53 * Evaluates the "safe" MicroPropsGenerator created by "fromMacros". 63 * Like getPrefixSuffixStatic() but uses the safe compiled object. 118 NumberFormatterImpl(const MacroProps ¯os, bool safe, UErrorCode &status); 140 * @param safe 141 …* If true, the returned MicroPropsGenerator will be thread-safe. If false, the returned… 142 …* <em>not</em> be thread-safe, intended for a single "one-shot" use only. Building the … 146 macrosToMicroGenerator(const MacroProps ¯os, bool safe, UErrorCode &status);
|