/third_party/node/test/parallel/ |
H A D | test-webcrypto-webidl.js | 129 for (const good of [{}, [], new Array(), function() {}]) { 130 assert.deepStrictEqual(converters.object(good), good); 144 for (const good of [Buffer.alloc(0), new Uint8Array()]) { 145 assert.deepStrictEqual(converters.Uint8Array(good), good); 165 for (const good of [ 181 assert.deepStrictEqual(converters.BufferSource(good), good); 226 for (const good o [all...] |
/third_party/ltp/tools/sparse/sparse-src/validation/ |
H A D | enum-typecheck.c | 1 enum good { G, }; enum 3 enum good g; 5 enum good compat_int(void) { return 1; } in compat_int() 7 void parg(enum good); 10 void farg(enum good a); 13 enum good pret(void); 16 enum good fret(void); 20 enum good *ptr; 23 enum good *gptr = &g;
|
/third_party/node/deps/openssl/openssl/ssl/record/ |
H A D | tls_pad.c | 31 size_t good, 77 size_t good; in ssl3_cbc_remove_padding_and_mac() local 87 good = constant_time_ge_s(*reclen, padding_length + overhead); in ssl3_cbc_remove_padding_and_mac() 89 good &= constant_time_ge_s(block_size, padding_length + 1); in ssl3_cbc_remove_padding_and_mac() 90 *reclen -= good & (padding_length + 1); in ssl3_cbc_remove_padding_and_mac() 93 block_size, mac_size, good, libctx); in ssl3_cbc_remove_padding_and_mac() 122 size_t good = -1; in tls1_cbc_remove_padding_and_mac() local 144 good = constant_time_ge_s(*reclen, overhead + padding_length); in tls1_cbc_remove_padding_and_mac() 165 good &= ~(mask & (padding_length ^ b)); in tls1_cbc_remove_padding_and_mac() 170 * or more of the lower eight bits of |good| wil in tls1_cbc_remove_padding_and_mac() 197 ssl3_cbc_copy_mac(size_t *reclen, size_t origreclen, unsigned char *recdata, unsigned char **mac, int *alloced, size_t block_size, size_t mac_size, size_t good, OSSL_LIB_CTX *libctx) ssl3_cbc_copy_mac() argument [all...] |
/third_party/openssl/ssl/record/ |
H A D | tls_pad.c | 31 size_t good, 77 size_t good; in ssl3_cbc_remove_padding_and_mac() local 87 good = constant_time_ge_s(*reclen, padding_length + overhead); in ssl3_cbc_remove_padding_and_mac() 89 good &= constant_time_ge_s(block_size, padding_length + 1); in ssl3_cbc_remove_padding_and_mac() 90 *reclen -= good & (padding_length + 1); in ssl3_cbc_remove_padding_and_mac() 93 block_size, mac_size, good, libctx); in ssl3_cbc_remove_padding_and_mac() 122 size_t good = -1; in tls1_cbc_remove_padding_and_mac() local 144 good = constant_time_ge_s(*reclen, overhead + padding_length); in tls1_cbc_remove_padding_and_mac() 165 good &= ~(mask & (padding_length ^ b)); in tls1_cbc_remove_padding_and_mac() 170 * or more of the lower eight bits of |good| wil in tls1_cbc_remove_padding_and_mac() 197 ssl3_cbc_copy_mac(size_t *reclen, size_t origreclen, unsigned char *recdata, unsigned char **mac, int *alloced, size_t block_size, size_t mac_size, size_t good, OSSL_LIB_CTX *libctx) ssl3_cbc_copy_mac() argument [all...] |
/third_party/libabigail/src/ |
H A D | abg-ini.cc | 971 /// Test if the status of the input stream is good. 973 /// @return true iff the status of the input stream is good. 975 good() const in good() function in abigail::ini::read_context 979 return in_.good(); in good() 1019 if (!good()) in handle_escape() 1025 if (!good()) in handle_escape() 1047 if (!good()) in handle_escape() 1083 if (!good()) in read_next_char() 1130 for (char c = peek(); good(); c = peek()) in skip_white_spaces() 1135 return good() || eo in skip_white_spaces() [all...] |
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_pk1.c | 174 unsigned int good, found_zero_byte, mask; in RSA_padding_check_PKCS1_type_2() local 208 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_type_2() 209 good &= constant_time_eq(em[1], 2); in RSA_padding_check_PKCS1_type_2() 226 good &= constant_time_ge(zero_index, 2 + 8); in RSA_padding_check_PKCS1_type_2() 236 * For good measure, do this check in constant time as well. in RSA_padding_check_PKCS1_type_2() 238 good &= constant_time_ge(tlen, mlen); in RSA_padding_check_PKCS1_type_2() 242 * Then if |good| move |mlen| bytes from |em|+RSA_PKCS1_PADDING_SIZE to |to|. in RSA_padding_check_PKCS1_type_2() 258 mask = good & constant_time_lt(i, mlen); in RSA_padding_check_PKCS1_type_2() 270 err_clear_last_constant_time(1 & good); in RSA_padding_check_PKCS1_type_2() 273 return constant_time_select_int(good, mle in RSA_padding_check_PKCS1_type_2() 303 unsigned int i, good, version_good; ossl_rsa_padding_check_PKCS1_type_2_TLS() local [all...] |
H A D | rsa_oaep.c | 165 unsigned int good = 0, found_one_byte, mask; in RSA_padding_check_PKCS1_OAEP_mgf1() local 235 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_OAEP_mgf1() 253 good &= constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen)); in RSA_padding_check_PKCS1_OAEP_mgf1() 265 good &= (found_one_byte | equals0); in RSA_padding_check_PKCS1_OAEP_mgf1() 268 good &= found_one_byte; in RSA_padding_check_PKCS1_OAEP_mgf1() 271 * At this point |good| is zero unless the plaintext was valid, in RSA_padding_check_PKCS1_OAEP_mgf1() 279 * For good measure, do this check in constant time as well. in RSA_padding_check_PKCS1_OAEP_mgf1() 281 good &= constant_time_ge(tlen, mlen); in RSA_padding_check_PKCS1_OAEP_mgf1() 285 * Then if |good| move |mlen| bytes from |db|+|mdlen|+1 to |to|. in RSA_padding_check_PKCS1_OAEP_mgf1() 301 mask = good in RSA_padding_check_PKCS1_OAEP_mgf1() [all...] |
/third_party/openssl/crypto/rsa/ |
H A D | rsa_pk1.c | 174 unsigned int good, found_zero_byte, mask; in RSA_padding_check_PKCS1_type_2() local 208 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_type_2() 209 good &= constant_time_eq(em[1], 2); in RSA_padding_check_PKCS1_type_2() 226 good &= constant_time_ge(zero_index, 2 + 8); in RSA_padding_check_PKCS1_type_2() 236 * For good measure, do this check in constant time as well. in RSA_padding_check_PKCS1_type_2() 238 good &= constant_time_ge(tlen, mlen); in RSA_padding_check_PKCS1_type_2() 242 * Then if |good| move |mlen| bytes from |em|+RSA_PKCS1_PADDING_SIZE to |to|. in RSA_padding_check_PKCS1_type_2() 258 mask = good & constant_time_lt(i, mlen); in RSA_padding_check_PKCS1_type_2() 270 err_clear_last_constant_time(1 & good); in RSA_padding_check_PKCS1_type_2() 273 return constant_time_select_int(good, mle in RSA_padding_check_PKCS1_type_2() 303 unsigned int i, good, version_good; ossl_rsa_padding_check_PKCS1_type_2_TLS() local [all...] |
H A D | rsa_oaep.c | 165 unsigned int good = 0, found_one_byte, mask; in RSA_padding_check_PKCS1_OAEP_mgf1() local 235 good = constant_time_is_zero(em[0]); in RSA_padding_check_PKCS1_OAEP_mgf1() 253 good &= constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen)); in RSA_padding_check_PKCS1_OAEP_mgf1() 265 good &= (found_one_byte | equals0); in RSA_padding_check_PKCS1_OAEP_mgf1() 268 good &= found_one_byte; in RSA_padding_check_PKCS1_OAEP_mgf1() 271 * At this point |good| is zero unless the plaintext was valid, in RSA_padding_check_PKCS1_OAEP_mgf1() 279 * For good measure, do this check in constant time as well. in RSA_padding_check_PKCS1_OAEP_mgf1() 281 good &= constant_time_ge(tlen, mlen); in RSA_padding_check_PKCS1_OAEP_mgf1() 285 * Then if |good| move |mlen| bytes from |db|+|mdlen|+1 to |to|. in RSA_padding_check_PKCS1_OAEP_mgf1() 301 mask = good in RSA_padding_check_PKCS1_OAEP_mgf1() [all...] |
/third_party/openssl/test/ |
H A D | x509_internal_test.c | 32 int prev = -1, good = 1; in test_standard_exts() local 38 good = 0; in test_standard_exts() 42 if (!good) { in test_standard_exts() 48 return good; in test_standard_exts() 83 int good = 1; in test_a2i_ipaddress() local 90 good = 0; in test_a2i_ipaddress() 98 good = 0; in test_a2i_ipaddress() 102 return good; in test_a2i_ipaddress()
|
H A D | pkey_meth_test.c | 26 int good = 1; in test_asn1_meths() local 34 good = 0; in test_asn1_meths() 38 if (!good) { in test_asn1_meths() 50 return good; in test_asn1_meths() 59 int good = 1; in test_pkey_meths() local 67 good = 0; in test_pkey_meths() 71 if (!good) { in test_pkey_meths() 79 return good; in test_pkey_meths()
|
/third_party/python/Lib/test/ |
H A D | test_robotparser.py | 15 good = [] variable in BaseRobotTest 31 for url in self.good: 53 good = ['/', '/test.html'] variable in UserAgentWildcardTest 70 good = ['/', '/test.html', ('cybermapper', '/cyberworld/map/index.html')] variable in CrawlDelayAndCustomAgentTest 85 good = ['/', '/test.html'] variable in SitemapTest 97 good = [] variable in RejectAllRobotsTest 107 for url in self.good + self.bad: 131 good = ['/foo'] variable in EmptyFileTest 147 good = [('figtree', '/foo.html')] variable in CrawlDelayAndRequestRateTest 166 good variable in InvalidRequestRateTest 179 good = ['/foo.html'] global() variable in InvalidCrawlDelayTest 193 good = ['/folder1/myfile.html'] global() variable in AnotherInvalidRequestRateTest 225 good = ['/folder1/myfile.html'] global() variable in GoogleURLOrderingTest 235 good = ['/some/path'] global() variable in DisallowQueryStringTest 248 good = ['/another/path'] global() variable in UseFirstUserAgentWildcardTest 259 good = ['/some/path?'] global() variable in EmptyQueryStringTest 272 good = ['/', '/test.html'] global() variable in DefaultEntryTest [all...] |
/third_party/ltp/testcases/kernel/controllers/cgroup_xattr/ |
H A D | cgroup_xattr.c | 62 int good; member 67 { .name = "security.", .good = 0, }, /* see setup() */ 68 { .name = "trusted.test", .good = 1, }, 69 { .name = "trusted.", .good = 0, }, /* see setup() */ 70 { .name = "user.", .good = 0, }, 71 { .name = "system.", .good = 0, }, 155 tkeys[i].good = tst_kvercmp(3, 15, 0) < 0; in setup() 157 tkeys[i].good = tst_kvercmp(4, 5, 0) < 0; in setup() 332 fail = err && tkeys[i].good; in set_xattrs() 337 (tkeys[i].good) in set_xattrs() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | ratelimit.c | 60 goto good; in pa_ratelimit_test() 64 goto good; in pa_ratelimit_test() 70 good: in pa_ratelimit_test()
|
/third_party/rust/crates/clap/src/error/ |
H A D | format.rs | 102 styled.good("note: "); in format_error() 205 styled.good(escape(v)); in write_dynamic_context() 208 styled.good(escape(last)); in write_dynamic_context() 236 styled.good(&**v); in write_dynamic_context() 258 styled.good(escape(v)); in write_dynamic_context() 261 styled.good(escape(last)); in write_dynamic_context() 432 styled.good("note: "); in did_you_mean() 435 styled.good(valid); in did_you_mean() 439 styled.good("note: "); in did_you_mean() 450 styled.good(vali in did_you_mean() [all...] |
/third_party/curl/scripts/ |
H A D | schemetable.c | 179 int good = 1; in main() local 184 for(i = 0; scheme[i].n && good; ++i) { in main() 189 good = 0; in main() 194 if(good) { in main()
|
/third_party/lame/ACM/tinyxml/ |
H A D | tinyxmlparser.cpp | 63 if ( !in->good() ) return false; in StreamWhiteSpace() 75 while ( in->good() ) in StreamTo() 265 while ( in->good() ) in StreamIn() 268 while ( in->good() && in->peek() != '>' ) in StreamIn() 274 if ( in->good() ) in StreamIn() 419 while( in->good() ) in StreamIn() 436 // All good! in StreamIn() 463 if ( !in->good() ) return; in StreamIn() 472 if ( !in->good() ) in StreamIn() 676 while ( in->good() ) in StreamIn() [all...] |
/third_party/skia/tools/skqp/ |
H A D | jitter_gms.cpp | 88 for (const std::string& good : testOnlyThese) { in do_this_test() 89 if (good == name) { in do_this_test() 147 std::ofstream good("good.txt"); in main() 149 for (const std::string& s : goodResults) { good << s << '\n'; } in main() 151 fprintf(stderr, "good = %u\nbad = %u\n\n", in main()
|
H A D | cut_release.py | 73 def make_rendertest_list(models, good, bad): 74 assert good.isdisjoint(bad) 75 do_score = good & models 76 no_score = bad | (good - models) 153 o.write(make_rendertest_list(models, gset('good.txt'), gset('bad.txt'))) 155 remove('good.txt')
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/ |
H A D | tinyxmlparser.cpp | 369 if ( !in->good() ) return false; in StreamWhiteSpace() 383 while ( in->good() ) in StreamTo() 656 while ( in->good() ) in StreamIn() 659 while ( in->good() && in->peek() != '>' ) in StreamIn() 670 if ( in->good() ) in StreamIn() 907 while( in->good() ) in StreamIn() 931 // All good! in StreamIn() 946 if ( in->good() && in->peek() != '<' ) in StreamIn() 959 if ( !in->good() ) return; in StreamIn() 968 if ( !in->good() ) in StreamIn() [all...] |
/third_party/jerryscript/tests/jerry/ |
H A D | regression-test-issue-2178.js | 17 good = "'detailForm','detailForm:j_id166');\" ><img alt=\"Export to XLS format\" />\n</a>" 19 assert(!!good.match(r) && !!bad.match(r));
|
/third_party/skia/experimental/tools/ |
H A D | gerrit_percent_encode | 14 good = re.compile('^[A-Za-z0-9]$') 15 return ''.join(c if good.match(c) else '%%%02X' % ord(c) for c in value)
|
/third_party/typescript/tests/baselines/reference/ |
H A D | tsxInvokeComponentType.js | 9 const good = <Elem someKey="ok" />; 24 var good = react_1["default"].createElement(Elem, { someKey: "ok" });
variable
|
/third_party/skia/third_party/icu/ |
H A D | SkLoadICU.cpp | 100 static bool good = false; in SkLoadICU() local 103 good = load_from(executable_directory()) || load_from(library_directory()); in SkLoadICU() 105 return good; in SkLoadICU()
|
/third_party/skia/tools/ |
H A D | check-headers-self-sufficient | 84 class N: good = True 85 # N.good is a global scoped to this function to make a print_and_exit_if() a closure 90 N.good = False 97 if N.good: 98 sys.stdout.write('all good :)\n')
|