Home
last modified time | relevance | path

Searched +full:1 +full:b (Results 1 – 25 of 1032) sorted by relevance

12345678910>>...42

/Zephyr-latest/tests/bluetooth/addr/src/
Dtest_bt_addr_le_eq.c13 bt_addr_le_t b = a; in ZTEST() local
15 zassert_true(bt_addr_le_eq(&a, &b)); in ZTEST()
20 bt_addr_le_t a = {.type = 1, .a = {{1, 2, 3, 4, 5, 6}}}; in ZTEST()
21 bt_addr_le_t b = a; in ZTEST() local
23 zassert_true(bt_addr_le_eq(&a, &b)); in ZTEST()
28 bt_addr_le_t a = {.type = 0, .a = {{1, 2, 3, 4, 5, 6}}}; in ZTEST()
29 bt_addr_le_t b = a; in ZTEST() local
31 zassume_true(bt_addr_le_eq(&a, &b)); in ZTEST()
32 a.type = 1; in ZTEST()
33 zassert_false(bt_addr_le_eq(&a, &b)); in ZTEST()
[all …]
/Zephyr-latest/scripts/coredump/gdbstubs/
Dgdbstub.py41 data = b''
45 ch = socket.recv(1)
46 if ch == b'$':
51 ch = socket.recv(1)
52 if ch == b'#':
68 socket.send(b'+')
74 socket.send(b'-')
87 pkt = b'$' + data + b'#'
107 barray = b''
119 barray += r['data'][offset:offset+1]
[all …]
/Zephyr-latest/samples/subsys/nvs/
Dsample.yaml15 - "Id: 1, Address: 192.168.1.1"
19 - "Id: 5, Longarray: 0 1 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b \
20 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35 36 37 38 \
21 39 3a 3b 3c 3d 3e 3f 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50 51 52 53 54 55 \
22 56 57 58 59 5a 5b 5c 5d 5e 5f 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 \
23 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f"
/Zephyr-latest/arch/arm64/core/
Dearly_mem_funcs.S27 b.ne 2f
31 b.lo 2f
38 1: /* 8 bytes at a time */
42 b.hi 1b
48 subs x2, x2, #1
49 strb w8, [x0], #1
50 b.ne 3b
61 b.ne 2f
65 b.lo 2f
67 1: /* 8 bytes at a time */
[all …]
/Zephyr-latest/soc/microchip/mec/mec172x/
Dsoc.h29 #define __VTOR_PRESENT 1 /*!< Set to 1 if VTOR is present */
32 #define __FPU_DP 0 /*!< Set to 1 if FPU is double precision */
33 #define __ICACHE_PRESENT 0 /*!< Set to 1 if I-Cache is present */
34 #define __DCACHE_PRESENT 0 /*!< Set to 1 if D-Cache is present */
35 #define __DTCM_PRESENT 0 /*!< Set to 1 if DTCM is present */
39 * negative numbers [-15, -1]. Lower numerical value indicates higher
54 * -1 SysTick NVIC system timer.
69 SysTick_IRQn = -1, /*!< SysTick */
74 GIRQ09_IRQn = 1, /*!< GPIO 0100 - 0136 */
94 I2C_SMB_0_IRQn = 20, /*!< GIRQ13 b[0] */
[all …]
/Zephyr-latest/tests/kernel/timer/timepoints/src/
Dmain.c27 timeout = K_SECONDS(1); in ZTEST()
40 k_timepoint_t a, b; in ZTEST() local
43 b = a; in ZTEST()
44 zassert_true(sys_timepoint_cmp(a, b) == 0); in ZTEST()
45 zassert_true(sys_timepoint_cmp(b, a) == 0); in ZTEST()
48 b = a; in ZTEST()
49 zassert_true(sys_timepoint_cmp(a, b) == 0); in ZTEST()
50 zassert_true(sys_timepoint_cmp(b, a) == 0); in ZTEST()
53 b = sys_timepoint_calc(K_MSEC(1)); in ZTEST()
54 zassert_true(sys_timepoint_cmp(a, b) < 0); in ZTEST()
[all …]
/Zephyr-latest/subsys/ipc/ipc_service/backends/
Dipc_rpmsg_static_vrings.h15 * >>> Case #1: Endpoint registered on HOST first <<<
17 * [B] backend
22 * [B] register_ept **
23 * [B] register_ept **
24 * [B] ipc_rpmsg_register_ept
25 * [B] rpmsg_create_ept
29 * [B] mbox_send
30 * [B] mbox_callback
31 * [B] mbox_callback_process
32 * [B] virtqueue_notification
[all …]
/Zephyr-latest/samples/subsys/fs/zms/
DREADME.rst14 #. A string representing an IP address: stored at id=1, data="192.168.1.1"
58 Adding IP_ADDRESS 172.16.254.1 at id 1
65 ITERATION: 1
66 ID: 1, IP Address: 172.16.254.1
67 Adding IP_ADDRESS 172.16.254.1 at id 1
721 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 26…
73 …4 55 56 57 58 59 5a 5b 5c 5d 5e 5f 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 73 74 …
85 ID: 1, IP Address: 172.16.254.1
86 Adding IP_ADDRESS 172.16.254.1 at id 1
911 2 3 4 5 6 7 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 26…
[all …]
/Zephyr-latest/subsys/net/lib/ptp/
Dbtca.c16 #define A_BETTER (1)
18 #define B_BETTER (-1)
32 static int btca_ds_cmp2(const struct ptp_dataset *a, const struct ptp_dataset *b) in btca_ds_cmp2() argument
36 if (b->steps_rm + 1 < a->steps_rm) { in btca_ds_cmp2()
39 if (a->steps_rm + 1 < b->steps_rm) { in btca_ds_cmp2()
42 if (a->steps_rm > b->steps_rm) { in btca_ds_cmp2()
50 /* error-1 */ in btca_ds_cmp2()
53 if (a->steps_rm < b->steps_rm) { in btca_ds_cmp2()
54 diff = btca_port_id_cmp(&b->receiver, &b->sender); in btca_ds_cmp2()
61 /* error-1 */ in btca_ds_cmp2()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Daes_ccm.c20 static inline void xor16(uint8_t *dst, const uint8_t *a, const uint8_t *b) in xor16() argument
22 dst[0] = a[0] ^ b[0]; in xor16()
23 dst[1] = a[1] ^ b[1]; in xor16()
24 dst[2] = a[2] ^ b[2]; in xor16()
25 dst[3] = a[3] ^ b[3]; in xor16()
26 dst[4] = a[4] ^ b[4]; in xor16()
27 dst[5] = a[5] ^ b[5]; in xor16()
28 dst[6] = a[6] ^ b[6]; in xor16()
29 dst[7] = a[7] ^ b[7]; in xor16()
30 dst[8] = a[8] ^ b[8]; in xor16()
[all …]
/Zephyr-latest/drivers/interrupt_controller/
Dintc_nuclei_eclic.c23 uint8_t _reserved0 : 1;
27 uint8_t _reserved2 : 1;
28 } b; member
41 } b; member
52 uint8_t IP : 1;
54 } b; member
61 uint8_t IE : 1;
63 } b; member
69 /** 0: non-vectored 1:vectored */
70 uint8_t shv : 1;
[all …]
/Zephyr-latest/dts/bindings/flash_controller/
Dst,stm32-ospi-nor.yaml45 - OSPI_SPI_MODE <1> = SPI mode on 1 data line
50 - 1
61 - OSPI_STR_TRANSFER <1> = Single Rate Transfer
64 - 1
70 - "PP_1_1_2" # Dual page program, PP 1-1-2 (0xA2)
71 - "PP_1_1_4" # Quad data line SPI, PP 1-1-4 (0x32)
72 - "PP_1_4_4" # Quad data line SPI, PP 1-4-4 (0x38)
79 supporting 1-4-4 mode also would support fast page programming.
86 * OSPI_SPI_MODE -> PP 1-1-1 (0x02)
87 * OSPI_DUAL_MODE -> PP 1-1-2 (0xA2)
[all …]
/Zephyr-latest/tests/lib/cmsis_dsp/filtering/src/
Dmisc_q31.c56 #define DEFINE_CORRELATE_TEST(a, b) \ argument
58 arm_correlate_q31, a##_##b, a, b, \
59 ref_correlate_##a##_##b, ARRAY_SIZE(ref_correlate_##a##_##b))
61 DEFINE_CORRELATE_TEST(4, 1);
66 DEFINE_CORRELATE_TEST(5, 1);
71 DEFINE_CORRELATE_TEST(6, 1);
76 DEFINE_CORRELATE_TEST(9, 1);
81 DEFINE_CORRELATE_TEST(10, 1);
86 DEFINE_CORRELATE_TEST(11, 1);
91 DEFINE_CORRELATE_TEST(12, 1);
[all …]
Dmisc_f16.c52 #define DEFINE_CORRELATE_TEST(a, b) \ argument
54 arm_correlate_f16, a##_##b, a, b, \
55 ref_correlate_##a##_##b, ARRAY_SIZE(ref_correlate_##a##_##b))
57 DEFINE_CORRELATE_TEST(4, 1);
62 DEFINE_CORRELATE_TEST(5, 1);
67 DEFINE_CORRELATE_TEST(6, 1);
72 DEFINE_CORRELATE_TEST(9, 1);
77 DEFINE_CORRELATE_TEST(10, 1);
82 DEFINE_CORRELATE_TEST(11, 1);
87 DEFINE_CORRELATE_TEST(12, 1);
[all …]
Dmisc_f32.c60 #define DEFINE_CORRELATE_TEST(a, b) \ argument
62 arm_correlate_f32, a##_##b, a, b, \
63 ref_correlate_##a##_##b, ARRAY_SIZE(ref_correlate_##a##_##b))
65 DEFINE_CORRELATE_TEST(4, 1);
70 DEFINE_CORRELATE_TEST(5, 1);
75 DEFINE_CORRELATE_TEST(6, 1);
80 DEFINE_CORRELATE_TEST(9, 1);
85 DEFINE_CORRELATE_TEST(10, 1);
90 DEFINE_CORRELATE_TEST(11, 1);
95 DEFINE_CORRELATE_TEST(12, 1);
[all …]
/Zephyr-latest/samples/subsys/ipc/ipc_service/multi_endpoint/
DREADME.rst24 * Stop bits: 1
33 IPC-service HOST [INST 0 - ENDP B] demo started
34 IPC-service HOST [INST 1] demo started
35 HOST [0A]: 1
37 HOST [0B]: 1
38 HOST [1]: 1
42 HOST [0B]: 99
43 IPC-service HOST [INST 0 - ENDP B] demo ended.
44 HOST [1]: 99
45 IPC-service HOST [INST 1] demo ended.
[all …]
/Zephyr-latest/samples/subsys/zbus/uart_bridge/
Ddecoder.py13 {"name":"start_measurement","on_changed": false, "read_only": false, "message_size": 1},
14 {"name":"finish","on_changed": false, "read_only": false, "message_size": 1}
27 name = b""
29 b = ser.read(size=1)
30 if b == b",":
32 name += b
34 found_msg_size = int.from_bytes(ser.read(size=1), byteorder="little")
43 if d == b'$':
/Zephyr-latest/scripts/kconfig/
Ddiffconfig45 line = line[:-1]
47 name, val = line[7:].split("=", 1)
79 merge_style = 1
83 if not (argc==1 or argc == 3):
87 if argc == 1:
95 configa_filename = sys.argv[1]
100 b = readconfig(open(configb_filename))
102 e = sys.exc_info()[1]
103 print("I/O error[%s]: %s\n" % (e.args[0],e.args[1]))
106 # print items in a but not b (accumulate, sort and print)
[all …]
/Zephyr-latest/include/zephyr/drivers/sensor/
Dmcux_lpcmp.h51 * 0b: disable
52 * 1b: enable
57 * 0b: disable
58 * 1b: enable
79 * 00b: latched
80 * 01b: set to low
81 * 11b: set to high
87 * 001b: COUT rising edge event close an active window
88 * 011b: COUT falling edge event close an active window
89 * 1x1b: COUT both edges event close an active window
/Zephyr-latest/samples/net/capture/
DREADME.rst16 bearer. For example if you are capturing network traffic for interface 1,
18 via interface 1 or via some other network interface if the device has
45 In terminal #1, type:
59 RX packets 0 bytes 0 (0.0 B)
61 TX packets 0 bytes 0 (0.0 B)
68 RX packets 0 bytes 0 (0.0 B)
70 TX packets 0 bytes 0 (0.0 B)
77 RX packets 0 bytes 0 (0.0 B)
79 TX packets 0 bytes 0 (0.0 B)
86 RX packets 0 bytes 0 (0.0 B)
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/bridge/
Dbrg_net_key_refresh.sh18 # Subnet Bridge (bridges subnets 0 <-> 1)
20 # (subnet 1)
27 # 1. Tester configures itself and creates a subnet for the remote node.
29 # 3. Tester provisions and configures the non-bridge node for subnet 1.
32 # b. Tester sends DATA and GET messages to the non-bridge node encrypted
37 # d. Messaging is verified like in step 4b.
40 # f Messaging is verified like in step 4b.
42 # 6. Messaging is verified like in step 4b.
44 # 8. Messaging is verified like in step 4b.
46 # 10. Messaging is verified like in step 4b.
/Zephyr-latest/samples/subsys/debug/fuzz/
DREADME.rst29 $ west build -t run -b native_sim/native/64 samples/subsys/debug/fuzz
41 [0/1] cd /home/andy/z/zephyr/build && .../andy/z/zephyr/build/zephyr/zephyr.exe
44 INFO: Loaded 1 modules (2112 inline 8-bit counters): 2112 [0x55cbe336ec55, 0x55cbe336f495),
45 INFO: Loaded 1 PC tables (2112 PCs): 2112 [0x55cbe336f498,0x55cbe3377898),
50 #2 INITED cov: 101 ft: 102 corp: 1/1b exec/s: 0 rss: 30Mb
54 …NEW_FUNC[1/6]: 0x55cbe3339c45 in check1 /home/andy/z/zephyr/samples/subsys/debug/fuzz/src/main.c:43
59 …#418965 REDUCE cov: 165 ft: 166 corp: 15/400b lim: 4052 exec/s: 38087 rss: 31Mb L: 5/256 MS: 1 Era…
60 #524288 pulse cov: 165 ft: 166 corp: 15/400b lim: 4096 exec/s: 40329 rss: 31Mb
64 …NEW_FUNC[1/1]: 0x55cbe3339ff7 in check6 /home/andy/z/zephyr/samples/subsys/debug/fuzz/src/main.c:48
65 …#579131 NEW cov: 168 ft: 169 corp: 16/406b lim: 4096 exec/s: 38608 rss: 31Mb L: 6/256 MS: 1 Ins…
[all …]
/Zephyr-latest/include/zephyr/sys/
Dmath_extras_impl.h32 static inline bool u16_add_overflow(uint16_t a, uint16_t b, uint16_t *result) in u16_add_overflow() argument
34 return __builtin_add_overflow(a, b, result); in u16_add_overflow()
37 static inline bool u32_add_overflow(uint32_t a, uint32_t b, uint32_t *result) in u32_add_overflow() argument
39 return __builtin_add_overflow(a, b, result); in u32_add_overflow()
42 static inline bool u64_add_overflow(uint64_t a, uint64_t b, uint64_t *result) in u64_add_overflow() argument
44 return __builtin_add_overflow(a, b, result); in u64_add_overflow()
47 static inline bool size_add_overflow(size_t a, size_t b, size_t *result) in size_add_overflow() argument
49 return __builtin_add_overflow(a, b, result); in size_add_overflow()
52 static inline bool u16_add_overflow(uint16_t a, uint16_t b, uint16_t *result) in u16_add_overflow() argument
54 uint16_t c = a + b; in u16_add_overflow()
[all …]
/Zephyr-latest/lib/libc/minimal/source/stdlib/
Dqsort.c14 * Normally parent is defined parent(k) = floor((k-1) / 2) but we can avoid a
15 * divide by noticing that floor((k-1) / 2) = ((k - 1) >> 1).
18 #define parent(k) (((k) - 1) >> 1)
20 * Normally left is defined left(k) = (2 * k + 1) but we can avoid a
21 * multiply by noticing that (2 * k + 1) = ((k << 1) + 1).
24 #define left(k) (((k) << 1) + 1)
28 * multiply by noticing that right(k) = left(k) + 1
30 #define right(k) (left(k) + 1)
38 int (*comp2)(const void *a, const void *b);
39 int (*comp3)(const void *a, const void *b, void *arg);
[all …]
/Zephyr-latest/soc/intel/intel_adsp/cavs/
Dasm_memory_management.h35 1 :
37 bne \ax, \ay, 1b
39 /* SEGMENT #1 */
40 movi \az, SHIM_HSPGCTL(1)
41 movi \ax, SHIM_HSPGISTS(1)
42 movi \ay, 0x0FFFFFFF /* HPSRAM_MASK(1) */
45 1 :
47 bne \ax, \ay, 1b
56 1 :
58 bne \ax, \mask, 1b
[all …]

12345678910>>...42