Home
last modified time | relevance | path

Searched refs:vers (Results 1 – 25 of 152) sorted by relevance

1234567

/external/python/cpython2/Demo/rpc/
Drpc.py62 def pack_callheader(self, xid, prog, vers, proc, cred, verf): argument
67 self.pack_uint(vers)
103 vers = self.unpack_uint()
107 return xid, prog, vers, proc, cred, verf
204 def __init__(self, host, prog, vers, port): argument
207 self.vers = vers
259 p.pack_callheader(xid, self.prog, self.vers, proc, cred, verf)
402 def __init__(self, bcastaddr, prog, vers, port): argument
403 RawUDPClient.__init__(self, bcastaddr, prog, vers, port)
489 prog, vers, prot, port = mapping
[all …]
/external/toolchain-utils/cwp/interpreter/
Dsymbolizer.py55 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/
Dchkfmt21 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/boringssl/src/ssl/test/runner/
Dhandshake_client.go39 func mapClientHelloVersion(vers uint16, isDTLS bool) uint16 {
41 return vers
44 switch vers {
135 hello.vers = mapClientHelloVersion(VersionTLS12, c.isDTLS)
141 hello.vers = mapClientHelloVersion(maxVersion, c.isDTLS)
145 hello.vers = c.config.Bugs.SendClientVersion
301 if candidateSession.vers <= VersionTLS12 {
314 versOk := candidateSession.vers >= minVersion &&
315 candidateSession.vers <= maxVersion
336 if session.vers >= VersionTLS13 || c.config.Bugs.SendBothTickets {
[all …]
Dhandshake_server.go59 if c.vers >= VersionTLS13 {
164 vers: VersionDTLS10,
206 if c.clientVersion != hs.clientHello.vers {
231 c.clientVersion = hs.clientHello.vers
236 if hs.clientHello.vers <= VersionDTLS12 {
239 if hs.clientHello.vers <= VersionDTLS10 {
243 if hs.clientHello.vers >= VersionTLS12 {
246 if hs.clientHello.vers >= VersionTLS11 {
249 if hs.clientHello.vers >= VersionTLS10 {
252 if hs.clientHello.vers >= VersionSSL30 {
[all …]
Dconn.go39 vers uint16 // TLS version member
815 vers := uint16(b.data[1])<<8 | uint16(b.data[2])
824 expect = c.vers
825 if c.vers >= VersionTLS13 {
831 if expect != 0 && vers != expect {
833 …rLocked(fmt.Errorf("tls: received record with version %x when expecting version %x", vers, expect))
849 if (typ != recordTypeAlert && typ != want) || vers >= 0x1000 || n >= 0x3000 {
886 if c.vers >= VersionTLS13 && c.in.cipher != nil {
928 if c.vers >= VersionTLS13 {
1222 if c.vers >= VersionTLS13 && c.out.cipher != nil {
[all …]
Ddtls.go59 vers := uint16(b.data[1])<<8 | uint16(b.data[2])
65 if vers != c.wireVersion {
67 …fmt.Errorf("dtls: received record with version %x when expecting version %x", vers, c.wireVersion))
71 if expect := c.config.Bugs.ExpectInitialRecordVersion; expect != 0 && vers != expect {
73 …Locked(fmt.Errorf("dtls: received record with version %x when expecting version %x", vers, expect))
364 vers := c.wireVersion
365 if vers == 0 {
369 vers = VersionDTLS10
371 vers = VersionTLS10
374 b.data[1] = byte(vers >> 8)
[all …]
Dhandshake_messages.go256 vers uint16 member
311 m.vers == m1.vers &&
378 hello.addU16(m.vers)
682 if !reader.readU16(&m.vers) ||
975 vers uint16 member
1006 vers, ok := wireToVersion(m.vers, m.isDTLS)
1012 } else if vers >= VersionTLS13 {
1015 hello.addU16(m.vers)
1026 if vers >= VersionTLS13 {
1045 extensions.addU16(m.vers)
[all …]
Dcommon.go281 vers uint16 // SSL/TLS version negotiated for the session member
1752 func wireToVersion(vers uint16, isDTLS bool) (uint16, bool) {
1754 switch vers {
1761 switch vers {
1763 return vers, true
1774 vers, ok := wireToVersion(wireVers, isDTLS)
1775 if !ok || c.minVersion(isDTLS) > vers || vers > c.maxVersion(isDTLS) {
1778 return vers, true
1787 for _, vers := range versions {
1788 if _, ok := c.isSupportedVersion(vers, isDTLS); ok {
[all …]
Dshim_ticket.go180 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)
Dticket.go22 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 {
Drunner.go417 func recordVersionToWire(vers uint16, protocol protocol) uint16 {
419 switch vers {
426 switch vers {
428 return vers
793 if vers := connState.Version; expectedVersion != 0 && vers != expectedVersion {
794 return fmt.Errorf("got version %x, expected %x", vers, expectedVersion)
1505 func (vers tlsVersion) shimFlag(protocol protocol) string {
1508 if protocol == dtls && vers.versionDTLS != 0 {
1509 return strconv.Itoa(int(vers.versionDTLS))
1511 return strconv.Itoa(int(vers.version))
[all …]
Dcipher_suites.go131 func noIV(vers uint16) int {
135 func ivLenChaCha20Poly1305(vers uint16) int {
139 func ivLenAESGCM(vers uint16) int {
140 if vers >= VersionTLS13 {
146 func ivLenAES(vers uint16) int {
150 func ivLen3DES(vers uint16) int {
Dkey_agreement.go44 ka.clientVersion = clientHello.vers
130 vers := uint16(preMasterSecret[0])<<8 | uint16(preMasterSecret[1])
131 if ka.clientVersion != vers {
132 …return nil, fmt.Errorf("tls: invalid version in RSA premaster (got %04x, wanted %04x)", vers, ka.c…
177 vers := clientHello.vers
179 vers ^= 1
181 vers ^= 0x100
183 preMasterSecret[0] = byte(vers >> 8)
184 preMasterSecret[1] = byte(vers)
/external/curl/docs/libcurl/
Dsymbols.pl67 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/
Dpolicyvers.c18 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()
Dload_policy.c59 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()
/external/tcpdump/tests/
Ddecnet.out1 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/
Dpolicydb_public.c116 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()
/external/u-boot/disk/
Dpart_iso.h16 unsigned char vers; /* Version */ member
26 unsigned char vers; /* Version */ member
64 unsigned char vers; /* Version */ member
102 unsigned char vers; /* Version */ member
/external/syzkaller/syz-fuzzer/
Dtesting.go192 vers := strings.Split(strings.TrimSpace(string(out)), " ")
193 if len(vers) != 4 {
196 if args.target.Arch != vers[1] {
197 return fmt.Errorf("mismatching target/executor arches: %v vs %v", args.target.Arch, vers[1])
199 if sys.GitRevision != vers[3] {
201 sys.GitRevision, vers[3])
207 if args.target.Revision != vers[2] {
209 args.target.Revision, vers[2])
/external/compiler-rt/cmake/Modules/
DSanitizerUtils.cmake50 set(vers ${CMAKE_CURRENT_BINARY_DIR}/${name}.vers) variable
59 add_custom_command(OUTPUT ${vers}
62 > ${vers}
69 DEPENDS ${vers})
/external/ltp/lib/
Dtst_kvercmp.c145 int tst_kvercmp2(int r1, int r2, int r3, struct tst_kern_exv *vers) in tst_kvercmp2() argument
159 for (i = 0; vers[i].dist_name; i++) { in tst_kvercmp2()
160 if (!strcmp(vers[i].dist_name, cur_dist_name)) { in tst_kvercmp2()
163 return tst_kvexcmp(vers[i].extra_ver, kver); in tst_kvercmp2()
/external/libpng/
DMakefile.am124 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS += -Wl,-M -Wl,libpng.vers
126 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_LDFLAGS += -Wl,--version-script=libpng.vers
129 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@_la_DEPENDENCIES = libpng.vers
159 libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@-config libpng.vers libpng.sym \
188 scripts/sym.out scripts/vers.out: png.h pngconf.h pnglibconf.h
196 libpng.vers: scripts/vers.out
/external/tcpdump/
Dprint-gre.c90 u_int len = length, vers; in gre_print() local
95 vers = EXTRACT_16BITS(bp) & GRE_VERS_MASK; in gre_print()
96 ND_PRINT((ndo, "GREv%u",vers)); in gre_print()
98 switch(vers) { in gre_print()

1234567