| /src/external/gpl2/dtc/dist/tests/ |
| truncated_string.c | 23 const struct fdt_property *good, *bad; local 32 good = fdt_get_property_by_offset(fdt, off, NULL); 37 if (fdt32_to_cpu(good->len) != 0) 38 FAIL("Unexpected length for good property"); 39 name = fdt_get_string(fdt, fdt32_to_cpu(good->nameoff), &len); 41 FAIL("fdt_get_string() failed on good property: %s", 44 FAIL("fdt_get_string() returned length %d (not 4) on good property", 46 if (!streq(name, "good")) 47 FAIL("fdt_get_string() returned \"%s\" (not \"good\") on good property" [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| pkey_meth_test.c | 23 int good = 1; local 31 good = 0; 35 if (!good) { 47 return good; 55 int good = 1; local 63 good = 0; 67 if (!good) { 75 return good;
|
| x509_internal_test.c | 41 int prev = -1, good = 1; local 47 good = 0; 51 if (!good) { 57 return good; 92 int good = 1; local 99 good = 0; 107 good = 0; 111 return good;
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| pkey_meth_test.c | 26 int good = 1; local 34 good = 0; 37 if (!good) { 49 return good; 58 int good = 1; local 66 good = 0; 69 if (!good) { 77 return good;
|
| x509_internal_test.c | 32 int prev = -1, good = 1; local 38 good = 0; 41 if (!good) { 47 return good; 151 int good = 1; local 158 good = 0; 166 good = 0; 170 return good;
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| pkey_meth_test.c | 26 int good = 1; local 34 good = 0; 38 if (!good) { 50 return good; 59 int good = 1; local 67 good = 0; 71 if (!good) { 79 return good;
|
| x509_internal_test.c | 32 int prev = -1, good = 1; local 38 good = 0; 42 if (!good) { 48 return good; 83 int good = 1; local 90 good = 0; 98 good = 0; 102 return good;
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/rsa/ |
| rsa_pk1.c | 161 unsigned int good, found_zero_byte, mask; local 196 good = constant_time_is_zero(em[0]); 197 good &= constant_time_eq(em[1], 2); 214 good &= constant_time_ge(zero_index, 2 + 8); 224 * For good measure, do this check in constant time as well. 226 good &= constant_time_ge(tlen, mlen); 230 * Then if |good| move |mlen| bytes from |em|+RSA_PKCS1_PADDING_SIZE to |to|. 246 mask = good & constant_time_lt(i, mlen); 252 err_clear_last_constant_time(1 & good); 254 return constant_time_select_int(good, mlen, -1) [all...] |
| rsa_ssl.c | 67 unsigned int good, found_zero_byte, mask, threes_in_row; local 96 good = constant_time_is_zero(em[0]); 97 good &= constant_time_eq(em[1], 2); 98 err = constant_time_select_int(good, 0, RSA_R_BLOCK_TYPE_IS_NOT_02); 99 mask = ~good; 120 good &= constant_time_ge(zero_index, 2 + 8); 121 err = constant_time_select_int(mask | good, err, 123 mask = ~good; 131 good &= constant_time_lt(threes_in_row, 8); 132 err = constant_time_select_int(mask | good, err [all...] |
| rsa_oaep.c | 123 unsigned int good = 0, found_one_byte, mask; local 188 good = constant_time_is_zero(em[0]); 206 good &= constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen)); 218 good &= (found_one_byte | equals0); 221 good &= found_one_byte; 224 * At this point |good| is zero unless the plaintext was valid, 232 * For good measure, do this check in constant time as well. 234 good &= constant_time_ge(tlen, mlen); 238 * Then if |good| move |mlen| bytes from |db|+|mdlen|+1 to |to|. 254 mask = good & constant_time_lt(i, mlen) [all...] |
| /src/external/bsd/kyua-cli/dist/engine/ |
| test_result.cpp | 69 if (!std::getline(input, line).good() && line.empty()) 86 if (input.good()) { 88 while (std::getline(input, line).good() && !line.empty()) { 134 /// \return Whether the test case is good or not. 136 engine::test_result::good(void) const function in class:engine::test_result
|
| /src/crypto/external/bsd/openssl/dist/crypto/rsa/ |
| rsa_pk1.c | 174 unsigned int good, found_zero_byte, mask; local 208 good = constant_time_is_zero(em[0]); 209 good &= constant_time_eq(em[1], 2); 226 good &= constant_time_ge(zero_index, 2 + 8); 236 * For good measure, do this check in constant time as well. 238 good &= constant_time_ge(tlen, mlen); 242 * Then if |good| move |mlen| bytes from |em|+RSA_PKCS1_PADDING_SIZE to |to|. 258 mask = good & constant_time_lt(i, mlen); 270 err_clear_last_constant_time(1 & good); 273 return constant_time_select_int(good, mlen, -1) 303 unsigned int i, good, version_good; local [all...] |
| rsa_oaep.c | 165 unsigned int good = 0, found_one_byte, mask; local 235 good = constant_time_is_zero(em[0]); 253 good &= constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen)); 265 good &= (found_one_byte | equals0); 268 good &= found_one_byte; 271 * At this point |good| is zero unless the plaintext was valid, 279 * For good measure, do this check in constant time as well. 281 good &= constant_time_ge(tlen, mlen); 285 * Then if |good| move |mlen| bytes from |db|+|mdlen|+1 to |to|. 301 mask = good & constant_time_lt(i, mlen) [all...] |
| /src/lib/libc/gen/ |
| getpass.c | 92 bool lnext, havetty, allocated, opentty, good; local 102 good = false; 288 good = true; 297 if (good && (flags & GETPASS_ECHO_NL)) 306 if (good)
|
| /src/crypto/external/apache2/openssl/dist/ssl/record/methods/ |
| tls_pad.c | 33 size_t good, 62 size_t good; local 72 good = constant_time_ge_s(*reclen, padding_length + overhead); 74 good &= constant_time_ge_s(block_size, padding_length + 1); 75 *reclen -= good & (padding_length + 1); 78 block_size, mac_size, good, libctx); 107 size_t good = -1; local 129 good = constant_time_ge_s(*reclen, overhead + padding_length); 150 good &= ~(mask & (padding_length ^ b)); 155 * or more of the lower eight bits of |good| will be cleared [all...] |
| /src/crypto/external/bsd/openssl/dist/ssl/record/ |
| tls_pad.c | 31 size_t good, 77 size_t good; local 87 good = constant_time_ge_s(*reclen, padding_length + overhead); 89 good &= constant_time_ge_s(block_size, padding_length + 1); 90 *reclen -= good & (padding_length + 1); 93 block_size, mac_size, good, libctx); 122 size_t good = -1; local 144 good = constant_time_ge_s(*reclen, overhead + padding_length); 165 good &= ~(mask & (padding_length ^ b)); 170 * or more of the lower eight bits of |good| will be cleared [all...] |
| /src/games/atc/ |
| log.c | 157 int i, num_scores = 0, good, changed = 0, found = 0; local 186 good = fscanf(score_fp, SCORE_SCANF_FMT, 193 if (good != 6 || ++num_scores >= NUM_SCORES)
|
| /src/games/monop/ |
| houses.c | 64 bool good, got_morg; local 69 good = TRUE; 78 got_morg = good = FALSE; 83 good = TRUE; 86 if (!good || got_morg) 94 else if (!good) 224 bool good; local 229 good = TRUE; 235 good = 0; 237 if (!good && op->sqr->desc->houses != 0 [all...] |
| /src/usr.sbin/rpc.pcnfsd/ |
| pcnfsd_test.c | 18 void good(); 55 good(); 57 good(); 61 good(); 63 good(); 65 good(); 67 good(); 71 good(); 76 good(); 83 good(); 523 good() function [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/rsa/ |
| rsa_oaep.c | 175 unsigned int good = 0, found_one_byte, mask; local 253 good = constant_time_is_zero(em[0]); 271 good &= constant_time_is_zero(CRYPTO_memcmp(db, phash, mdlen)); 283 good &= (found_one_byte | equals0); 286 good &= found_one_byte; 289 * At this point |good| is zero unless the plaintext was valid, 297 * For good measure, do this check in constant time as well. 299 good &= constant_time_ge(tlen, mlen); 303 * Then if |good| move |mlen| bytes from |db|+|mdlen|+1 to |to|. 319 mask = good & constant_time_lt(i, mlen) [all...] |
| rsa_pk1.c | 177 unsigned int good, found_zero_byte, mask; local 209 good = constant_time_is_zero(em[0]); 210 good &= constant_time_eq(em[1], 2); 227 good &= constant_time_ge(zero_index, 2 + 8); 237 * For good measure, do this check in constant time as well. 239 good &= constant_time_ge(tlen, mlen); 243 * Then if |good| move |mlen| bytes from |em|+RSA_PKCS1_PADDING_SIZE to |to|. 259 mask = good & constant_time_lt(i, mlen); 271 err_clear_last_constant_time(1 & good); 274 return constant_time_select_int(good, mlen, -1) 409 unsigned int good, found_zero_byte; local 552 unsigned int i, good, version_good; local [all...] |
| /src/crypto/external/bsd/openssh/dist/ |
| misc-agent.c | 97 int good, sock = -1; local 109 for (good = 0; !good;) { 145 good = 1; 148 if (good) {
|
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| Comment.cpp | 50 struct good {}; struct in namespace:clang::comments::__anon2641 54 good implements_child_begin_end(Comment::child_iterator (T::*)() const) { 55 return good(); 65 (void) good(implements_child_begin_end(function)) 226 // Defaults are should be good for declarations we don't handle explicitly.
|
| /src/lib/libc/yp/ |
| yplib.c | 343 int good; local 349 good = 0; 355 good = yp_bind(_yp_domain) == 0; 358 return good;
|
| /src/libexec/telnetd/ |
| utility.c | 202 char *good; local 219 good = nclearto > netobuf ? nclearto : netobuf; 221 good = netobuf; /* where the good bytes go */ 236 memmove(good, thisitem, length); 237 good += length; 245 nfrontp = good; /* next byte to be sent */
|