/freebsd-src/crypto/openssl/crypto/stack/ |
H A D | stack.c | 159 const int limit = (max_nodes / 3) * 2 + (max_nodes % 3 ? 1 : 0); in compute_growth() 173 static int sk_reserve(OPENSSL_STACK *st, int n, int exact) in sk_reserve() argument 179 if (n > max_nodes - st->num) { in sk_reserve() 185 num_alloc = st->num + n; in sk_reserve() 189 /* If |st->data| allocation was postponed */ in sk_reserve() 190 if (st->data == NULL) { in sk_reserve() 192 * At this point, |st->num_alloc| and |st->num| are 0; in sk_reserve() 195 if ((st->data = OPENSSL_zalloc(sizeof(void *) * num_alloc)) == NULL) { in sk_reserve() 199 st->num_alloc = num_alloc; in sk_reserve() 200 return 1; in sk_reserve() [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/iio/accel/ |
H A D | lis302.txt | 8 - compatible: should be set to "st,lis3lv02d-spi" 15 - compatible: should be set to "st,lis3lv02d" 23 - st,click-single-{x,y,z}: if present, tells the device to issue an 26 - st,click-double-{x,y,z}: if present, tells the device to issue an 29 - st,click-thresh-{x,y,z}: set the x/y/z axis threshold 30 - st,click-click-time-limit: click time limit, from 0 to 127.5msec 32 - st,click-latency: click latency, from 0 to 255 msec with 33 step of 1 msec. 34 - st,click-window: click window, from 0 to 255 msec with 35 step of 1 mse [all...] |
/freebsd-src/sys/contrib/device-tree/Bindings/iio/ |
H A D | st,st-sensors.yaml | 4 $id: http://devicetree.org/schemas/iio/st,st-sensors.yaml# 16 - Denis Ciocca <denis.ciocca@st.com> 24 - st,h3lis331dl-accel 25 - st,lis2de12 26 - st,lis2dw12 27 - st,lis2hh12 28 - st,lis2dh12-accel 29 - st,lis2ds12 30 - st,lis302d [all...] |
/freebsd-src/contrib/bsddialog/lib/ |
H A D | textbox.c | 9 * 1. Redistributions of source code must retain the above copyright 48 static void updateborders(struct dialog *d, struct scrolltext *st) in updateborders() argument 60 if (st->xpad > 0) { in updateborders() 69 if (st->xpad + d->w - 2 - st->margin < st->wpad) { in updateborders() 71 mvwvline(d->widget, (d->h / 2) - 2, d->w - 1, arrowch, 4); in updateborders() 74 mvwvline_set(d->widget, (d->h / 2) - 2, d->w - 1, &borderch, 4); in updateborders() 78 if (st->hpad > d->h - 4) { in updateborders() 81 "%3d%%", 100 * (st->ypad + d->h - 4) / st->hpad); in updateborders() 86 static int textbox_size_position(struct dialog *d, struct scrolltext *st) in textbox_size_position() argument 93 d->text, NULL, &d->bs, st->hpad, st->wpad + st->margin) != 0) in textbox_size_position() [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/mfd/ |
H A D | st,stmpe.yaml | 4 $id: http://devicetree.org/schemas/mfd/st,stmpe.yaml# 23 - st,stmpe601 24 - st,stmpe801 25 - st,stmpe811 26 - st,stmpe1600 27 - st,stmpe1601 28 - st,stmpe2401 29 - st,stmpe2403 32 maxItems: 1 35 maxItems: 1 [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/iio/adc/ |
H A D | st,stm32-dfsdm-adc.yaml | 4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-dfsdm-adc.yaml# 10 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 11 - Olivier Moysan <olivier.moysan@foss.st.com> 28 - st,stm32h7-dfsdm 29 - st,stm32mp1-dfsdm 32 maxItems: 1 40 minItems: 1 46 minItems: 1 49 const: 1 63 minItems: 1 [all...] |
H A D | st,stm32-adc.yaml | 4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml# 22 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 27 - st,stm32f4-adc-core 28 - st,stm32h7-adc-core 29 - st,stm32mp1-adc-core 30 - st,stm32mp13-adc-core 33 maxItems: 1 42 minItems: 1 46 minItems: 1 58 minItems: 1 [all...] |
/freebsd-src/contrib/elftoolchain/libelftc/ |
H A D | elftc_string_table.c | 8 * 1. Redistributions of source code must retain the above copyright 52 #define ELFTC_STRING_TABLE_LENGTH(st) ((st)->st_len >> 1) argument 53 #define ELFTC_STRING_TABLE_CLEAR_COMPACTION_FLAG(st) do { \ argument 54 (st)->st_len &= ~ELFTC_STRING_TABLE_COMPACTION_FLAG; \ 56 #define ELFTC_STRING_TABLE_SET_COMPACTION_FLAG(st) do { \ argument 57 (st)->st_len |= ELFTC_STRING_TABLE_COMPACTION_FLAG; \ 59 #define ELFTC_STRING_TABLE_UPDATE_LENGTH(st, len) do { \ argument 60 (st)->st_len = \ 61 ((st)->st_len & \ 63 ((len) << 1); \ [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm/st/ |
H A D | stm32f746.dtsi | 48 #address-cells = <1>; 49 #size-cells = <1>; 79 #address-cells = <1>; 81 compatible = "st,stm32-timers"; 88 compatible = "st,stm32-pwm"; 93 timer@1 { 94 compatible = "st,stm32-timer-trigger"; 95 reg = <1>; 101 #address-cells = <1>; 103 compatible = "st,stm3 [all...] |
H A D | stm32f429.dtsi | 21 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 53 #address-cells = <1>; 54 #size-cells = <1>; 83 romem: efuse@1fff7800 { 84 compatible = "st,stm32f4-otp"; 86 #address-cells = <1>; 87 #size-cells = <1>; 97 #address-cells = <1>; 99 compatible = "st,stm32-timers"; 106 compatible = "st,stm3 [all...] |
H A D | stih407-family.dtsi | 4 * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> 7 #include <dt-bindings/mfd/st-lpc.h> 10 #include <dt-bindings/interrupt-controller/irq-st.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 16 #address-cells = <1>; 17 #size-cells = <1>; 34 #address-cells = <1>; 54 st,syscfg = <&syscfg_core 0x8e0>; 57 cpu1: cpu@1 { [all...] |
H A D | spear320-hmi.dts | 12 model = "ST SPEAr320 HMI Board"; 13 compatible = "st,spear320-hmi", "st,spear320"; 14 #address-cells = <1>; 15 #size-cells = <1>; 23 st,pinmux-mode = <4>; 29 st,pins = "i2c0_grp"; 30 st,function = "i2c0"; 33 st,pins = "ssp0_grp"; 34 st,function = "ssp0"; 37 st,pins = "uart0_grp"; [all …]
|
H A D | spear1340-evb.dts | 12 model = "ST SPEAr1340 Evaluation Board"; 13 compatible = "st,spear1340-evb", "st,spear1340"; 14 #address-cells = <1>; 15 #size-cells = <1>; 28 st,pins = "pads_as_gpio_grp"; 29 st,function = "pads_as_gpio"; 32 st,pins = "fsmc_8bit_grp"; 33 st,function = "fsmc"; 36 st,pins = "uart0_grp"; 37 st,function = "uart0"; [all …]
|
H A D | spear1310-evb.dts | 12 model = "ST SPEAr1310 Evaluation Board"; 13 compatible = "st,spear1310-evb", "st,spear1310"; 14 #address-cells = <1>; 15 #size-cells = <1>; 28 st,pins = "i2c0_grp"; 29 st,function = "i2c0"; 32 st,pins = "i2s0_grp"; 33 st,function = "i2s0"; 36 st,pins = "i2s1_grp"; 37 st,function = "i2s1"; [all …]
|
H A D | stih407-pinctrl.dtsi | 4 * Author: Giuseppe Cavallaro <peppe.cavallaro@st.com> 6 #include "st-pincfg.h" 46 #address-cells = <1>; 47 #size-cells = <1>; 48 compatible = "st,stih407-sbc-pinctrl"; 49 st,syscfg = <&syscfg_sbc>; 62 st,bank-name = "PIO0"; 70 st,bank-name = "PIO1"; 78 st,bank-name = "PIO2"; 86 st,ban [all...] |
H A D | stm32mp151.dtsi | 4 * Author: Ludovic Barre <ludovic.barre@st.com> for STMicroelectronics. 11 #address-cells = <1>; 12 #size-cells = <1>; 15 #address-cells = <1>; 48 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, 49 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, 50 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, 51 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>; 114 compatible = "st,stm32mp1-booster"; 115 st,syscf [all...] |
H A D | stih410-clock.dtsi | 24 #address-cells = <1>; 25 #size-cells = <1>; 28 compatible = "st,stih410-clk", "simple-bus"; 34 compatible = "st,clkgen-c32"; 38 #clock-cells = <1>; 39 compatible = "st,stih407-clkgen-plla9"; 49 compatible = "st,stih407-clkgen-a9-mux", "st,clkgen-mux"; 64 clock-mult = <1>; 70 compatible = "st,clkgen-c32"; 74 #clock-cells = <1>; [all …]
|
H A D | stih418-clock.dtsi | 24 #address-cells = <1>; 25 #size-cells = <1>; 28 compatible = "st,stih418-clk", "simple-bus"; 34 compatible = "st,clkgen-c32"; 38 #clock-cells = <1>; 39 compatible = "st,stih418-clkgen-plla9"; 49 compatible = "st,stih407-clkgen-a9-mux", "st,clkgen-mux"; 64 clock-mult = <1>; 70 compatible = "st,clkgen-c32"; 74 #clock-cells = <1>; [all …]
|
/freebsd-src/contrib/googletest/googletest/test/ |
H A D | googletest-listener-test.cc | 268 new EventRecordingListener("1st")); in main() 286 const char* const expected_events[] = {"1st.OnTestProgramStart", in main() 289 "1st.OnTestIterationStart(0)", in main() 292 "1st.OnEnvironmentsSetUpStart", in main() 298 "1st.OnEnvironmentsSetUpEnd", in main() 300 "1st.OnTestCaseStart", in main() 303 "1st.OnTestStart", in main() 308 "1st.OnTestPartResult", in main() 314 "1st.OnTestEnd", in main() 315 "1st.OnTestStart", in main() [all …]
|
/freebsd-src/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/ |
H A D | poly1305_donna32.h | 29 poly1305_init(poly1305_state_internal_t *st, const unsigned char key[32]) in poly1305_init() argument 32 st->r[0] = (LOAD32_LE(&key[0])) & 0x3ffffff; in poly1305_init() 33 st->r[1] = (LOAD32_LE(&key[3]) >> 2) & 0x3ffff03; in poly1305_init() 34 st->r[2] = (LOAD32_LE(&key[6]) >> 4) & 0x3ffc0ff; in poly1305_init() 35 st->r[3] = (LOAD32_LE(&key[9]) >> 6) & 0x3f03fff; in poly1305_init() 36 st->r[4] = (LOAD32_LE(&key[12]) >> 8) & 0x00fffff; in poly1305_init() 39 st->h[0] = 0; in poly1305_init() 40 st->h[1] = 0; in poly1305_init() 41 st->h[2] = 0; in poly1305_init() 42 st->h[3] = 0; in poly1305_init() [all …]
|
H A D | poly1305_donna64.h | 35 poly1305_init(poly1305_state_internal_t *st, const unsigned char key[32]) in poly1305_init() argument 44 st->r[0] = (t0) &0xffc0fffffff; in poly1305_init() 45 st->r[1] = ((t0 >> 44) | (t1 << 20)) & 0xfffffc0ffff; in poly1305_init() 46 st->r[2] = ((t1 >> 24)) & 0x00ffffffc0f; in poly1305_init() 49 st->h[0] = 0; in poly1305_init() 50 st->h[1] = 0; in poly1305_init() 51 st->h[2] = 0; in poly1305_init() 54 st->pad[0] = LOAD64_LE(&key[16]); in poly1305_init() 55 st->pad[1] = LOAD64_LE(&key[24]); in poly1305_init() 57 st->leftover = 0; in poly1305_init() [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/sound/ |
H A D | st,sta350.txt | 7 - compatible: "st,sta350" 22 - st,output-conf: number, Selects the output configuration: 24 1: 2 (half-bridge). 1 (full-bridge) on-board power 25 2: 2 Channel (Full-Bridge) Power, 1 Channel FFX 26 3: 1 Channel Mono-Parallel 30 - st,ch1-output-mapping: Channel 1 output mapping 31 - st,ch2-output-mapping: Channel 2 output mapping 32 - st,ch [all...] |
/freebsd-src/sys/contrib/device-tree/Bindings/input/touchscreen/ |
H A D | stmpe.txt | 5 - compatible: "st,stmpe-ts" 8 - st,ave-ctrl : Sample average control 9 0 -> 1 sample 10 1 -> 2 samples 13 - st,touch-det-delay : Touch detect interrupt delay (recommended is 3) 15 1 -> 50 us 18 4 -> 1 ms 22 - st,settling : Panel driver settling time (recommended is 2) 24 1 -> 100 us 26 3 -> 1 ms [all …]
|
/freebsd-src/sys/contrib/libsodium/test/default/ |
H A D | generichash2.c | 9 crypto_generichash_state *st; in main() local 15 assert(crypto_generichash_statebytes() >= sizeof *st); in main() 16 st = (crypto_generichash_state *) in main() 23 if (crypto_generichash_init(st, k, in main() 24 1 + i % crypto_generichash_KEYBYTES_MAX, in main() 25 1 + i % crypto_generichash_BYTES_MAX) != 0) { in main() 27 return 1; in main() 29 crypto_generichash_update(st, in, i); in main() 30 crypto_generichash_update(st, in, i); in main() 31 crypto_generichash_update(st, in, i); in main() [all …]
|
/freebsd-src/crypto/openssh/regress/misc/fuzz-harness/ |
H A D | kex_fuzz.cc | 25 /* #define STANDALONE 1 */ 27 static int prepare_key(struct shared_state *st, int keytype, int bits); 123 store_key(struct shared_state *st, struct sshkey *pubkey, in store_key() argument 126 if (st == NULL || pubkey->type < 0 || pubkey->type > INT_MAX || in store_key() 128 ((size_t)pubkey->type < st->nkeys && in store_key() 129 st->pubkeys[pubkey->type] != NULL)) in store_key() 131 if ((size_t)pubkey->type >= st->nkeys) { in store_key() 132 st->pubkeys = (struct sshkey **)xrecallocarray(st->pubkeys, in store_key() 133 st->nkeys, pubkey->type + 1, sizeof(*st->pubkeys)); in store_key() 134 st->privkeys = (struct sshkey **)xrecallocarray(st->privkeys, in store_key() [all …]
|