Home
last modified time | relevance | path

Searched +full:data +full:- +full:shift (Results 1 – 25 of 1203) sorted by relevance

12345678910>>...49

/freebsd/crypto/openssl/util/perl/TLSProxy/
H A DRecord.pm1 # Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
30 RT_APPLICATION_DATA, "APPLICATION DATA",
56 #Class method to extract records from a packet of data
59 my $class = shift;
60 my $server = shift;
61 my $flight = shift;
62 my $packet = shift;
69 print " Record $recnum ", $server ? "(server -> client)\n"
70 : "(client -> server)\n";
76 print "Partial data : ".length($packet)." bytes\n";
[all …]
H A DClientHello.pm17 my $class = shift;
19 $data,
24 my $self = $class->SUPER::new(
27 $data,
32 $self->{client_version} = 0;
33 $self->{random} = [];
34 $self->{session_id_len} = 0;
35 $self->{session} = "";
36 $self->{ciphersuite_len} = 0;
37 $self->{ciphersuites} = [];
[all …]
H A DServerHello.pm1 # Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
22 my $class = shift;
24 $data,
29 my $self = $class->SUPER::new(
32 $data,
37 $self->{server_version} = 0;
38 $self->{random} = [];
39 $self->{session_id_len} = 0;
40 $self->{session} = "";
41 $self->{ciphersuite} = 0;
[all …]
H A DServerKeyExchange.pm17 my $class = shift;
19 $data,
24 my $self = $class->SUPER::new(
27 $data,
33 $self->{p} = "";
34 $self->{g} = "";
35 $self->{pub_key} = "";
36 $self->{sigalg} = -1;
37 $self->{sig} = "";
44 my $self = shift;
[all …]
H A DMessage.pm1 # Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved.
96 # https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-signaturescheme
138 my $messlen = -1;
140 my $startoffset = -1;
153 $messlen = -1;
154 $startoffset = -1;
167 my $class = shift;
168 my $serverin = shift;
169 my $record = shift;
176 die "Changed peer, but we still have fragment data\n";
[all …]
H A DNewSessionTicket.pm17 my $class = shift;
19 $data,
24 my $self = $class->SUPER::new(
27 $data,
32 $self->{ticket_lifetime_hint} = 0;
33 $self->{ticket} = "";
40 my $self = shift;
42 my $ticket_lifetime_hint = unpack('N', $self->data);
43 my $ticket_len = unpack('n', $self->data);
44 my $ticket = substr($self->data, 6, $ticket_len);
[all …]
H A DCertificate.pm17 my $class = shift;
19 $data,
24 my $self = $class->SUPER::new(
27 $data,
32 $self->{first_certificate} = "";
33 $self->{extension_data} = "";
34 $self->{remaining_certdata} = "";
41 my $self = shift;
43 if (TLSProxy::Proxy->is_tls13()) {
44 my $context_len = unpack('C', $self->data);
[all …]
H A DCertificateVerify.pm17 my $class = shift;
19 $data,
24 my $self = $class->SUPER::new(
27 $data,
32 $self->{sigalg} = -1;
33 $self->{signature} = "";
40 my $self = shift;
42 my $sigalg = -1;
43 my $remdata = $self->data;
44 my $record = ${$self->records}[0];
[all …]
H A DCertificateRequest.pm17 my $class = shift;
19 $data,
24 my $self = $class->SUPER::new(
27 $data,
32 $self->{extension_data} = "";
39 my $self = shift;
42 if (TLSProxy::Proxy->is_tls13()) {
43 my $request_ctx_len = unpack('C', $self->data);
44 my $request_ctx = substr($self->data, $ptr, $request_ctx_len);
47 my $extensions_len = unpack('n', substr($self->data, $ptr));
[all …]
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_reg_utils.h1 /*-
10 found at http://www.gnu.org/licenses/gpl-2.0.html
30 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
53 /* *INDENT-OFF* */
57 /* *INDENT-ON* */
66 #define AL_REG_FIELD_GET(reg, mask, shift) (((reg) & (mask)) >> (shift)) argument
69 #define AL_REG_FIELD_SET(reg, mask, shift, val) \ argument
72 ((((unsigned)(val)) << (shift)) & (mask)))
75 #define AL_REG_FIELD_SET_64(reg, mask, shift, val) \ argument
78 ((((uint64_t)(val)) << (shift)) & (mask))))
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mmc/
H A Dexynos-dw-mshc.txt7 by synopsys-dw-mshc.txt and the properties used by the Samsung Exynos specific
13 - "samsung,exynos4210-dw-mshc": for controllers with Samsung Exynos4210
15 - "samsung,exynos4412-dw-mshc": for controllers with Samsung Exynos4412
17 - "samsung,exynos5250-dw-mshc": for controllers with Samsung Exynos5250
19 - "samsung,exynos5420-dw-mshc": for controllers with Samsung Exynos5420
21 - "samsung,exynos7-dw-mshc": for controllers with Samsung Exynos7
23 - "samsung,exynos7-dw-mshc-smu": for controllers with Samsung Exynos7
25 - "axis,artpec8-dw-mshc": for controllers with ARTPEC-8 specific
28 * samsung,dw-mshc-ciu-div: Specifies the divider value for the card interface
32 * samsung,dw-mshc-sdr-timing: Specifies the value of CIU clock phase shift value
[all …]
H A Dsamsung,exynos-dw-mshc.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mmc/samsung,exynos-d
[all...]
/freebsd/contrib/sendmail/contrib/
H A DsocketmapServer.pl1 #!/usr/bin/perl -w
4 # $Id: socketmapServer.pl,v 1.1 2003-05-21 15:36:33 ca Exp $
10 my $connection = shift @ARGV;
13 if ($connection =~ /tcp:(.+):([0-9]*)/) {
32 while(my $client = $sock->accept()) {
35 $client->close();
38 $sock->close();
40 $client->close();
45 $sock->close();
48 my $client = shift;
[all …]
H A DsocketmapClient.pl1 #!/usr/bin/perl -w
4 # $Id: socketmapClient.pl,v 1.1 2003-05-21 15:36:33 ca Exp $
11 my $connection = shift @ARGV;
12 my $mapname = shift @ARGV;
16 if ($connection =~ /tcp:(.+):([0-9]*)/) {
33 while(my $key = shift @ARGV) {
36 $sock->flush();
42 $sock->close();
45 my $sock = shift;
46 my $data = shift;
[all …]
/freebsd/crypto/openssl/test/recipes/
H A Dtconversion.pl2 # Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved.
27 die "Missing option -type" unless $opts{-type};
28 die "Missing option -in" unless $opts{-in};
29 my $testtype = $opts{-type};
30 my $t = $opts{-in};
31 my $prefix = $opts{-prefix} // $testtype;
37 if (defined $opts{-args}) {
38 @openssl_args = @{$opts{-args}} if ref $opts{-args} eq 'ARRAY';
39 @openssl_args = ($opts{-args}) if ref $opts{-args} eq '';
49 + $n*($n-1); # comparing first conversion to each form in A with B
[all …]
/freebsd/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_rw.c1 /*-
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 ELFTC_VCSID("$Id: libdwarf_rw.c 3286 2015-12-31 16:45:46Z emaste $");
33 _dwarf_read_lsb(uint8_t *data, uint64_t *offsetp, int bytes_to_read) in _dwarf_read_lsb() argument
38 src = data + *offsetp; in _dwarf_read_lsb()
65 _dwarf_decode_lsb(uint8_t **data, int bytes_to_read) in _dwarf_decode_lsb() argument
70 src = *data; in _dwarf_decode_lsb()
91 *data += bytes_to_read; in _dwarf_decode_lsb()
97 _dwarf_read_msb(uint8_t *data, uint64_t *offsetp, int bytes_to_read) in _dwarf_read_msb() argument
102 src = data + *offsetp; in _dwarf_read_msb()
[all …]
/freebsd/contrib/arm-optimized-routines/math/aarch64/sve/
H A Datan2f.c2 * Single-precision vector atan2f(x) function.
4 * Copyright (c) 2021-2024, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
13 static const struct data struct
17 } data = { variable
19 [2**-128, 1.0]. */
20 .poly = { -0x1.55555p-2f, 0x1.99935ep-3f, -0x1.24051ep-3f, 0x1.bd7368p-4f,
21 -0x1.491f0ep-4f, 0x1.93a2c0p-5f, -0x1.4c3c60p-6f, 0x1.01fd88p-8f },
39 sv_u32 (2 * 0x7f800000lu - 1)); in zeroinfnan()
42 /* Fast implementation of SVE atan2f based on atan(x) ~ shift + z + z^3 *
[all …]
H A Datan2.c2 * Double-precision vector atan2(x) function.
4 * Copyright (c) 2021-2024, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
13 static const struct data struct
17 } data = { variable
19 [2**-1022, 1.0]. */
20 .poly = { -0x1.5555555555555p-2, 0x1.99999999996c1p-3, -0x1.2492492478f88p-3,
21 0x1.c71c71bc3951cp-4, -0x1.745d160a7e368p-4, 0x1.3b139b6a88ba1p-4,
22 -0x1.11100ee084227p-4, 0x1.e1d0f9696f63bp-5, -0x1.aebfe7b418581p-5,
23 0x1.842dbe9b0d916p-5, -0x1.5d30140ae5e99p-5, 0x1.338e31eb2fbbcp-5,
[all …]
H A Dexp10f.c2 * Single-precision SVE 10^x function.
4 * Copyright (c) 2023-2024, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
14 /* For x < -Thres, the result is subnormal and not handled correctly by
18 static const struct data struct
22 float shift, log2_10_hi, thres; member
23 } data = { argument
26 rel error: 0x1.89dafa3p-24
27 abs error: 0x1.167d55p-23 in [-log10(2)/2, log10(2)/2]
33 .c4 = 0x1.12b41ap-1f,
[all …]
/freebsd/tools/tools/locale/tools/
H A Dcharmaps.pm1 #!/usr/local/bin/perl -w
3 # SPDX-License-Identifier: BSD-2-Clause
22 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 use Data::Dumper;
34 my %data = ();
36 my $index = -1;
39 my $etcdir = shift;
51 $xml->parse(join("", @xml));
56 my $expat = shift;
57 my $element = shift;
[all …]
/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_sprom.c1 /*-
2 * Copyright (c) 2015-2016 Landon Fuller <landonf@FreeBSD.org>
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
58 * BHND SPROM NVRAM data class
60 * The SPROM data format is a fixed-layout, non-self-descriptive binary format,
86 struct bhnd_nvram_io *data,
88 uint32_t mask, int8_t shift,
93 struct bhnd_nvram_io *data,
95 uint32_t mask, int8_t shift,
105 (((struct bhnd_sprom_opcode_idx_entry *)(_cookie))->vid)
[all …]
/freebsd/sys/contrib/dev/rtw88/
H A Dhci.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
2 /* Copyright(c) 2018-2019 Realtek Corporation
37 return rtwdev->hci.ops->tx_write(rtwdev, pkt_info, skb); in rtw_hci_tx_write()
42 return rtwdev->hci.ops->tx_kick_off(rtwdev); in rtw_hci_tx_kick_off()
47 return rtwdev->hci.ops->setup(rtwdev); in rtw_hci_setup()
52 return rtwdev->hci.ops->start(rtwdev); in rtw_hci_start()
57 rtwdev->hci.ops->stop(rtwdev); in rtw_hci_stop()
62 rtwdev->hci.ops->deep_ps(rtwdev, enter); in rtw_hci_deep_ps()
67 rtwdev->hci.ops->link_ps(rtwdev, enter); in rtw_hci_link_ps()
72 rtwdev->hci.ops->interface_cfg(rtwdev); in rtw_hci_interface_cfg()
[all …]
/freebsd/sys/contrib/edk2/Include/Protocol/
H A DSimpleTextInEx.h8 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
9 SPDX-License-Identifier: BSD-2-Clause-Patent
66 /// Reflects the currently pressed shift
93 // Any Shift or Toggle State that is valid should have
96 // Shift state
156 etc.). The KeyData.KeyState is shift state for the character
158 When interpreting the data from this function, it should be
160 normally adjusted by shift modifiers (e.g. Shift Key + "f"
162 without the associated shift state. So in the previous example
163 of a Shift Key + "f" key being pressed, the only pertinent
[all …]
/freebsd/sys/contrib/ncsw/inc/
H A Dtypes_freebsd.h1 /*-
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
57 #define _WRITE_UINT32(arg, data) out32(&(arg), (data)) argument
58 #define _WRITE_UINT64(arg, data) out64(&(arg), (data)) argument
65 #define _WRITE_UINT8(arg, data) out8(&(arg), (data)) argument
66 #define _WRITE_UINT16(arg, data) out16(&(arg), (data)) argument
71 #define QE_32_BIT_SHIFT8(__arg) (uint32_t)((3 - ((uint32_t)&(__arg) & 0x3)) * 8)
72 #define QE_32_BIT_SHIFT16(__arg) (uint32_t)((2 - ((uint32_t)&(__arg) & 0x3)) * 8)
77 #define _WRITE_UINT8(arg, data) … argument
81 … uint32_t shift = QE_32_BIT_SHIFT8(arg); \
[all …]
/freebsd/contrib/arm-optimized-routines/math/aarch64/advsimd/
H A Datan2f.c2 * Single-precision vector atan2(x) function.
4 * Copyright (c) 2021-2024, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
12 static const struct data struct
17 } data = { argument
19 [2**-128, 1.0].
21 .c0 = V4 (-0x1.55555p-2f), .c1 = 0x1.99935ep-3f,
22 .c2 = V4 (-0x1.24051ep-3f), .c3 = 0x1.bd7368p-4f,
23 .c4 = V4 (-0x1.491f0ep-4f), .c5 = 0x1.93a2c0p-5f,
24 .c6 = V4 (-0x1.4c3c60p-6f), .c7 = 0x1.01fd88p-8f,
[all …]

12345678910>>...49