/external/boringssl/src/ssl/test/runner/ |
D | dtls.go | 26 func versionToWire(vers uint16, isDTLS bool) uint16 { 28 switch vers { 35 switch vers { 37 return vers 46 func wireToVersion(vers uint16, isDTLS bool) (uint16, bool) { 48 switch vers { 55 switch vers { 57 return vers, true 99 vers := uint16(b.data[1])<<8 | uint16(b.data[2]) 105 if wireVers := versionToWire(c.vers, c.isDTLS); vers != wireVers { [all …]
|
D | handshake_client.go | 64 vers: versionToWire(maxVersion, c.isDTLS), 230 if candidateSession.vers <= VersionTLS12 { 243 versOk := candidateSession.vers >= minVersion && 244 candidateSession.vers <= maxVersion 265 if session.vers >= VersionTLS13 || c.config.Bugs.SendBothTickets { 287 if session.vers < VersionTLS13 || c.config.Bugs.SendBothTickets { 312 if hello.vers >= VersionTLS13 { 313 hello.vers = VersionTLS12 325 hello.vers = c.config.Bugs.SendClientVersion 349 vers: hello.vers, [all …]
|
D | handshake_server.go | 57 if c.vers >= VersionTLS13 { 162 vers: versionToWire(VersionTLS10, c.isDTLS), 204 if c.clientVersion != hs.clientHello.vers { 209 c.clientVersion = hs.clientHello.vers 214 if hs.clientHello.vers <= 0xfefd { 216 } else if hs.clientHello.vers <= 0xfeff { 220 if hs.clientHello.vers >= VersionTLS12 { 222 } else if hs.clientHello.vers >= VersionTLS11 { 224 } else if hs.clientHello.vers >= VersionTLS10 { 226 } else if hs.clientHello.vers >= VersionSSL30 { [all …]
|
D | conn.go | 38 vers uint16 // TLS version member 764 vers := uint16(b.data[1])<<8 | uint16(b.data[2]) 773 expect = c.vers 774 if c.vers >= VersionTLS13 { 780 if expect != 0 && vers != expect { 782 …rLocked(fmt.Errorf("tls: received record with version %x when expecting version %x", vers, expect)) 798 if (typ != recordTypeAlert && typ != want) || vers >= 0x1000 || n >= 0x3000 { 835 if c.vers >= VersionTLS13 && c.in.cipher != nil { 1095 if c.vers >= VersionTLS13 && c.out.cipher != nil { 1101 vers := c.vers [all …]
|
D | handshake_messages.go | 135 vers uint16 member 180 m.vers == m1.vers && 226 hello.addU16(m.vers) 460 m.vers = uint16(data[4])<<8 | uint16(data[5]) 818 vers uint16 member 845 vers, ok := wireToVersion(m.vers, m.isDTLS) 852 hello.addU16(m.vers) 856 if vers < VersionTLS13 { 861 if vers < VersionTLS13 { 867 if vers >= VersionTLS13 { [all …]
|
D | shim_ticket.go | 180 func SetShimTicketVersion(in []byte, vers uint16) ([]byte, error) { 206 if len(version) != 2 || vers < 0x80 || vers >= 0x8000 { 210 version[0] = byte(vers >> 8) 211 version[1] = byte(vers)
|
D | ticket.go | 22 vers uint16 member 37 msg.addU16(s.vers) 55 if s.vers >= VersionTLS13 { 73 s.vers = uint16(data[0])<<8 | uint16(data[1]) 131 if s.vers >= VersionTLS13 {
|
D | cipher_suites.go | 151 func noIV(vers uint16) int { 155 func ivLenChaCha20Poly1305(vers uint16) int { 159 func ivLenAESGCM(vers uint16) int { 160 if vers >= VersionTLS13 { 166 func ivLenAES(vers uint16) int { 170 func ivLen3DES(vers uint16) int {
|
D | key_agreement.go | 42 ka.clientVersion = clientHello.vers 128 vers := uint16(preMasterSecret[0])<<8 | uint16(preMasterSecret[1]) 129 if ka.clientVersion != vers { 130 …return nil, fmt.Errorf("tls: invalid version in RSA premaster (got %04x, wanted %04x)", vers, ka.c… 142 vers := clientHello.vers 144 vers ^= 1 146 preMasterSecret[0] = byte(vers >> 8) 147 preMasterSecret[1] = byte(vers)
|
/external/toolchain-utils/cwp/interpreter/ |
D | symbolizer.py | 55 key, time, board, vers = filename.split('~') 57 vers = misc.GetChromeOSVersionFromLSBVersion(vers) 58 return (key, time, board, vers) 70 _, _, board, vers = _ParseFilename(filename, canonical=True) 73 tarball_subdir = _FormReleaseDir(board, vers) 86 download_cmd = GSUTIL_CMD % (board, vers, tarball_path + tmp_suffix) 115 _, _, board, vers = _ParseFilename(filename, canonical=True) 116 symbol_cache_tld = _FormReleaseDir(board, vers)
|
/external/libpng/contrib/tools/ |
D | chkfmt | 21 vers= 61 vers="`sed -n -e \ 64 echo "chkfmt: checking version $vers" 66 if test -z "$vers" 105 if test -n "$vers" 107 sed -e "s/$vers/a.b.cc/g" "$file" >"$file".$$
|
/external/curl/docs/libcurl/ |
D | symbols.pl | 67 my ($sym, $vers)=($1, $2); 74 if($vers =~ /([\d.]+)[ \t-]+([\d.-]+)[ \t]+([\d.]+)/) { 78 elsif($vers =~ /([\d.]+)[ \t-]+([\d.]+)/) { 82 $intr = $vers;
|
/external/selinux/libselinux/src/ |
D | policyvers.c | 18 unsigned vers = DEFAULT_POLICY_VERSION; in security_policyvers() local 29 return vers; in security_policyvers() 39 if (sscanf(buf, "%u", &vers) != 1) in security_policyvers() 42 return vers; in security_policyvers()
|
D | load_policy.c | 59 int maxvers = kernvers, minvers = DEFAULT_POLICY_VERSION, vers; in selinux_mkload_policy() local 172 vers = maxvers; in selinux_mkload_policy() 175 selinux_binary_policy_path(), vers); in selinux_mkload_policy() 178 && --vers >= minvers) { in selinux_mkload_policy() 181 selinux_binary_policy_path(), vers); in selinux_mkload_policy() 211 if (vers > kernvers && usesepol) { in selinux_mkload_policy() 235 vers--; in selinux_mkload_policy()
|
D | selinux_config.c | 351 int vers = 0; in hidden_def() local 360 vers = security_policyvers(); in hidden_def() 364 selinux_binary_policy_path(), vers); in hidden_def() 365 } while ((rc = access(policy_path, F_OK)) && --vers > 0); in hidden_def()
|
/external/tcpdump/tests/ |
D | decnet.out | 1 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 2 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 3 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 4 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 5 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 19 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 33 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 44 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 95 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 128 endnode-hello endnode vers 2 eco 0 ueco 0 src 1.1 blksize 16434 rtr 0.0 hello 10 data 2 [all …]
|
/external/selinux/libsepol/src/ |
D | policydb_public.c | 116 int sepol_policydb_set_vers(sepol_policydb_t * sp, unsigned int vers) in sepol_policydb_set_vers() argument 121 if (vers < POLICYDB_VERSION_MIN || vers > POLICYDB_VERSION_MAX) in sepol_policydb_set_vers() 126 if (vers < MOD_POLICYDB_VERSION_MIN in sepol_policydb_set_vers() 127 || vers > MOD_POLICYDB_VERSION_MAX) in sepol_policydb_set_vers() 133 p->policyvers = vers; in sepol_policydb_set_vers()
|
D | avtab.c | 433 int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a, in avtab_read_item() argument 451 if (vers < POLICYDB_VERSION_AVTAB) { in avtab_read_item() 542 if ((vers < POLICYDB_VERSION_XPERMS_IOCTL) && in avtab_read_item() 545 "permissions rules and one was specified\n", vers); in avtab_read_item() 585 int avtab_read(avtab_t * a, struct policy_file *fp, uint32_t vers) in avtab_read() argument 610 rc = avtab_read_item(fp, vers, a, avtab_insertf, NULL); in avtab_read()
|
/external/ltp/tools/apicmds/ |
D | ltpapicmd.c | 236 struct tst_kern_exv vers[100]; in apicmd_kvercmp2() local 275 vers[count].dist_name = strtok_r(token1, ":", &saveptr2); in apicmd_kvercmp2() 276 vers[count].extra_ver = strtok_r(NULL, ":", &saveptr2); in apicmd_kvercmp2() 278 if (vers[count].extra_ver == NULL) { in apicmd_kvercmp2() 287 vers[count].dist_name = NULL; in apicmd_kvercmp2() 288 vers[count].extra_ver = NULL; in apicmd_kvercmp2() 291 atoi(argv[2]), vers); in apicmd_kvercmp2()
|
/external/compiler-rt/cmake/Modules/ |
D | SanitizerUtils.cmake | 50 set(vers ${CMAKE_CURRENT_BINARY_DIR}/${name}.vers) variable 59 add_custom_command(OUTPUT ${vers} 62 > ${vers} 69 DEPENDS ${vers})
|
/external/ltp/lib/ |
D | tst_kvercmp.c | 110 int tst_kvercmp2(int r1, int r2, int r3, struct tst_kern_exv *vers) in tst_kvercmp2() argument 132 for (i = 0; vers[i].dist_name; i++) { in tst_kvercmp2() 133 if (!strcmp(vers[i].dist_name, cur_dist_name)) { in tst_kvercmp2() 136 return tst_kexvcmp(vers[i].extra_ver, kver); in tst_kvercmp2()
|
/external/libpng/ |
D | Makefile.am | 118 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS += -Wl,-M -Wl,libpng.vers 120 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS += -Wl,--version-script=libpng.vers 123 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.vers 153 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers libpng.sym \ 182 scripts/sym.out scripts/vers.out: png.h pngconf.h pnglibconf.h 190 libpng.vers: scripts/vers.out
|
/external/tcpdump/ |
D | print-gre.c | 88 u_int len = length, vers; in gre_print() local 94 vers = EXTRACT_16BITS(bp) & GRE_VERS_MASK; in gre_print() 95 ND_PRINT((ndo, "GREv%u",vers)); in gre_print() 97 switch(vers) { in gre_print()
|
/external/selinux/libsepol/include/sepol/policydb/ |
D | avtab.h | 122 extern int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a, 126 extern int avtab_read(avtab_t * a, struct policy_file *fp, uint32_t vers);
|
/external/ltp/include/ |
D | tst_kvercmp.h | 56 int tst_kvercmp2(int r1, int r2, int r3, struct tst_kern_exv *vers);
|