Home
last modified time | relevance | path

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

12345678910>>...49

/freebsd/crypto/openssl/util/perl/TLSProxy/
H A DRecord.pm1 # Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved.
31 RT_APPLICATION_DATA, "APPLICATION DATA",
61 #Class method to extract records from a packet of data
64 my $class = shift;
65 my $server = shift;
66 my $flight = shift;
67 my $packet = shift;
68 my $isdtls = shift;
77 print " Record $recnum ", $server ? "(server -> client)\n"
78 : "(client -> server)\n";
[all …]
H A DClientHello.pm1 # Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved.
19 my $class = shift;
25 $data,
30 my $self = $class->SUPER::new(
37 $data,
42 $self->{isdtls} = $isdtls;
43 $self->{client_version} = 0;
44 $self->{random} = [];
45 $self->{session_id_len} = 0;
46 $self->{session} = "";
[all …]
H A DServerHello.pm1 # Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved.
24 my $class = shift;
30 $data,
35 my $self = $class->SUPER::new(
42 $data,
47 $self->{server_version} = 0;
48 $self->{random} = [];
49 $self->{session_id_len} = 0;
50 $self->{session} = "";
51 $self->{ciphersuite} = 0;
[all …]
H A DServerKeyExchange.pm1 # Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved.
17 my $class = shift;
23 $data,
28 my $self = $class->SUPER::new(
35 $data,
41 $self->{p} = "";
42 $self->{g} = "";
43 $self->{pub_key} = "";
44 $self->{sigalg} = -1;
45 $self->{sig} = "";
[all …]
H A DMessage.pm1 # Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved.
108 # https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-signaturescheme
150 my $messlen = -1;
152 my $startoffset = -1;
165 $messlen = -1;
166 $startoffset = -1;
179 my $class = shift;
180 my $serverin = shift;
181 my $record = shift;
182 my $isdtls = shift;
[all …]
H A DHelloVerifyRequest.pm1 # Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved.
20 my $class = shift;
26 $data,
31 my $self = $class->SUPER::new(
38 $data,
43 $self->{server_version} = 0;
44 $self->{cookie_len} = 0;
45 $self->{cookie} = "";
52 my $self = shift;
54 my ($server_version) = unpack('n', $self->data);
[all …]
H A DNewSessionTicket.pm1 # Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved.
17 my $class = shift;
23 $data,
28 return $class->init(
34 $data,
43 my $class = shift;
46 $data,
51 return $class->init(
57 $data,
65 my $class = shift;
[all …]
H A DCertificate.pm1 # Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved.
17 my $class = shift;
23 $data,
28 my $self = $class->SUPER::new(
35 $data,
40 $self->{first_certificate} = "";
41 $self->{extension_data} = "";
42 $self->{remaining_certdata} = "";
49 my $self = shift;
51 if (TLSProxy::Proxy->is_tls13()) {
[all …]
H A DCertificateVerify.pm1 # Copyright 2016-2024 The OpenSSL Project Authors. All Rights Reserved.
17 my $class = shift;
23 $data,
28 my $self = $class->SUPER::new(
35 $data,
40 $self->{sigalg} = -1;
41 $self->{signature} = "";
48 my $self = shift;
50 my $sigalg = -1;
51 my $remdata = $self->data;
[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/usr.sbin/virtual_oss/virtual_oss/
H A Dvirtual_oss.c1 /*-
2 * Copyright (c) 2012-2022 Hans Petter Selasky
19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
70 usleep((delay - (nsec % delay)) / 1000); in virtual_oss_wait()
91 pvc->sync_busy = 1; in vclient_read_linear()
97 total -= read; in vclient_read_linear()
99 if (!pvc->profile->synchronized || pvc->sync_wakeup || in vclient_read_linear()
108 pvc->sync_busy = 0; in vclient_read_linear()
109 if (pvc->sync_wakeup) in vclient_read_linear()
112 vclient_tx_equalizer(pvc, dst - total_read, total_read); in vclient_read_linear()
[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/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 = { argument
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 = { argument
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/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/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
23 const u8 *data, u32 size);
40 return rtwdev->hci.ops->tx_write(rtwdev, pkt_info, skb); in rtw_hci_tx_write()
45 return rtwdev->hci.ops->tx_kick_off(rtwdev); in rtw_hci_tx_kick_off()
50 return rtwdev->hci.ops->setup(rtwdev); in rtw_hci_setup()
55 return rtwdev->hci.ops->start(rtwdev); in rtw_hci_start()
60 rtwdev->hci.ops->stop(rtwdev); in rtw_hci_stop()
65 rtwdev->hci.ops->deep_ps(rtwdev, enter); in rtw_hci_deep_ps()
70 rtwdev->hci.ops->link_ps(rtwdev, enter); in rtw_hci_link_ps()
[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
64 /// Reflects the currently pressed shift
91 // Any Shift or Toggle State that is valid should have
94 // Shift state
154 etc.). The KeyData.KeyState is shift state for the character
156 When interpreting the data from this function, it should be
158 normally adjusted by shift modifiers (e.g. Shift Key + "f"
160 without the associated shift state. So in the previous example
161 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