/Zephyr-Core-3.7.0/tests/lib/heap_align/src/ |
D | main.c | 24 size_t prefix, size_t align, size_t size) in check_heap_align() argument 28 p = sys_heap_alloc(h, prefix); in check_heap_align() 29 zassert_true(prefix == 0 || p != NULL, "prefix allocation failed"); in check_heap_align() 44 prefix, align, size); in check_heap_align() 78 for (size_t prefix = 0; prefix <= align; prefix += 8) { in ZTEST() local 80 check_heap_align(&heap, prefix, align, size); in ZTEST()
|
/Zephyr-Core-3.7.0/subsys/net/ip/ |
D | ipv6_pe.c | 91 static bool ipv6_pe_use_this_prefix(const struct in6_addr *prefix) in ipv6_pe_use_this_prefix() argument 106 if (net_ipv6_addr_cmp(prefix, &ipv6_pe_filter[i])) { in ipv6_pe_use_this_prefix() 130 ARG_UNUSED(prefix); in ipv6_pe_use_this_prefix() 137 const struct in6_addr *prefix) in ipv6_pe_prefix_already_exists() argument 149 (uint8_t *)prefix, 64)) { in ipv6_pe_prefix_already_exists() 159 const struct in6_addr *prefix) in ipv6_pe_prefix_remove() argument 169 (uint8_t *)prefix, 64)) { in ipv6_pe_prefix_remove() 180 const struct in6_addr *prefix, in ipv6_pe_prefix_update_lifetimes() argument 192 (uint8_t *)prefix, 64))) { in ipv6_pe_prefix_update_lifetimes() 220 const struct in6_addr *prefix, in gen_temporary_iid() argument [all …]
|
D | net_if.c | 2309 net_sprint_ipv6_addr(&ifprefix->prefix), in prefix_lifetime_expired() 2320 remove_prefix_addresses(ifprefix->iface, ipv6, &ifprefix->prefix, in prefix_lifetime_expired() 2326 net_ipaddr_copy(&info.addr, &ifprefix->prefix); in prefix_lifetime_expired() 2346 net_sprint_ipv6_addr(&ifprefix->prefix), in prefix_timer_remove() 2422 struct in6_addr *prefix, in ipv6_prefix_find() argument 2431 ARRAY_FOR_EACH(ipv6->prefix, i) { in ipv6_prefix_find() 2432 if (!ipv6->prefix[i].is_used) { in ipv6_prefix_find() 2436 if (net_ipv6_addr_cmp(prefix, &ipv6->prefix[i].prefix) && in ipv6_prefix_find() 2437 prefix_len == ipv6->prefix[i].len) { in ipv6_prefix_find() 2438 return &ipv6->prefix[i]; in ipv6_prefix_find() [all …]
|
D | ipv6.h | 630 void net_ipv6_pe_start(struct net_if *iface, const struct in6_addr *prefix, 635 const struct in6_addr *prefix, in net_ipv6_pe_start() argument 640 ARG_UNUSED(prefix); in net_ipv6_pe_start() 685 typedef void (*net_ipv6_pe_filter_cb_t)(struct in6_addr *prefix,
|
D | ipv6_nbr.c | 2156 struct net_if_ipv6_prefix *prefix; in handle_prefix_onlink() local 2158 prefix = net_if_ipv6_prefix_lookup(net_pkt_iface(pkt), in handle_prefix_onlink() 2159 (struct in6_addr *)prefix_info->prefix, in handle_prefix_onlink() 2161 if (!prefix) { in handle_prefix_onlink() 2166 prefix = net_if_ipv6_prefix_add(net_pkt_iface(pkt), in handle_prefix_onlink() 2167 (struct in6_addr *)prefix_info->prefix, in handle_prefix_onlink() 2170 if (prefix) { in handle_prefix_onlink() 2174 net_sprint_ipv6_addr(&prefix_info->prefix), in handle_prefix_onlink() 2180 net_sprint_ipv6_addr(&prefix_info->prefix), in handle_prefix_onlink() 2194 net_sprint_ipv6_addr(&prefix_info->prefix), in handle_prefix_onlink() [all …]
|
/Zephyr-Core-3.7.0/subsys/net/lib/lwm2m/ |
D | lwm2m_obj_gateway.c | 47 char prefix[CONFIG_LWM2M_GATEWAY_PREFIX_MAX_STR_SIZE]; member 80 length = strlen(device_table[i].prefix); in prefix_validation_cb() 82 if (strncmp(device_table[i].prefix, data, length) == 0) { in prefix_validation_cb() 122 snprintk(device_table[index].prefix, CONFIG_LWM2M_GATEWAY_PREFIX_MAX_STR_SIZE, in lwm2m_gw_create() 137 true, device_table[index].prefix, CONFIG_LWM2M_GATEWAY_PREFIX_MAX_STR_SIZE, in lwm2m_gw_create() 138 strlen(device_table[index].prefix) + 1, NULL, NULL, prefix_validation_cb, in lwm2m_gw_create() 168 char *prefix = device_table[index].prefix; in lwm2m_gw_handle_req() local 169 size_t prefix_len = strlen(prefix); in lwm2m_gw_handle_req() 174 if (strncmp(options[0].value, prefix, prefix_len) != 0) { in lwm2m_gw_handle_req()
|
/Zephyr-Core-3.7.0/subsys/net/lib/shell/ |
D | ipv6.c | 60 static void ipv6_pe_filter_cb(struct in6_addr *prefix, bool is_denylist, in ipv6_pe_filter_cb() argument 68 net_addr_ntop(AF_INET6, prefix, ipaddr, sizeof(ipaddr) - 1); in ipv6_pe_filter_cb() 102 struct net_if_ipv6_prefix *prefix; in address_lifetime_cb() local 115 prefix = net_if_ipv6_prefix_get(iface, in address_lifetime_cb() 117 if (prefix) { in address_lifetime_cb() 118 prefix_len = prefix->len; in address_lifetime_cb() 332 struct in6_addr prefix; in cmd_net_ip6_pe() local 387 ret = net_addr_pton(AF_INET6, argv[arg], &prefix); in cmd_net_ip6_pe() 398 ret = net_ipv6_pe_add_filter(&prefix, !do_allowlisting); in cmd_net_ip6_pe() 400 ret = net_ipv6_pe_del_filter(&prefix); in cmd_net_ip6_pe() [all …]
|
D | route.c | 120 struct in6_addr prefix = {0}; in cmd_net_ip6_route_add() local 139 if (net_addr_pton(AF_INET6, argv[2], &prefix)) { in cmd_net_ip6_route_add() 149 route = net_route_add(iface, &prefix, NET_IPV6_DEFAULT_PREFIX_LEN, in cmd_net_ip6_route_add() 171 struct in6_addr prefix = { 0 }; in cmd_net_ip6_route_del() local 188 if (net_addr_pton(AF_INET6, argv[2], &prefix)) { in cmd_net_ip6_route_del() 193 route = net_route_lookup(iface, &prefix); in cmd_net_ip6_route_del()
|
D | iface.c | 160 struct net_if_ipv6_prefix *prefix; in iface_cb() local 399 ARRAY_FOR_EACH(ipv6->prefix, i) { in iface_cb() 400 prefix = &ipv6->prefix[i]; in iface_cb() 402 if (!prefix->is_used) { in iface_cb() 407 net_sprint_ipv6_addr(&prefix->prefix), in iface_cb() 408 prefix->len, prefix->is_infinite ? " infinite" : ""); in iface_cb()
|
/Zephyr-Core-3.7.0/lib/os/ |
D | cbprintf_nano.c | 81 char *prefix, *data; in z_cbvprintf_impl() local 102 prefix = ""; in z_cbvprintf_impl() 237 prefix = "-"; in z_cbvprintf_impl() 240 prefix = " "; in z_cbvprintf_impl() 243 prefix = "+"; in z_cbvprintf_impl() 286 prefix = (*fmt & 0x20) ? "0x" : "0X"; in z_cbvprintf_impl() 341 while (*prefix) { in z_cbvprintf_impl() 342 OUTC(*prefix++); in z_cbvprintf_impl()
|
/Zephyr-Core-3.7.0/scripts/build/ |
D | gen_kobject_placeholders.py | 30 def write_define(out_fp, prefix, name, value): argument 48 prefix = one_sect['define_prefix'] 50 write_define(out_fp, prefix, 'ALIGN', align) 51 write_define(out_fp, prefix, 'SZ', size)
|
D | gen_isr_tables_parser_carrays.py | 69 prefix = self.__config.endian_prefix() 72 intlist_header_fmt = prefix + "II" 83 intlist_entry_fmt = prefix + "iiQQ" 85 intlist_entry_fmt = prefix + "iiII"
|
/Zephyr-Core-3.7.0/subsys/retention/ |
D | retention.c | 26 #define INST_HAS_PREFIX(n) COND_CODE_1(DT_INST_NODE_HAS_PROP(n, prefix), (1), (0)) || 58 uint8_t prefix[]; member 200 if (memcmp(&config->prefix[pos], buffer, read_size) != 0) { in retention_is_valid() 316 rc = retained_mem_write(config->parent, config->offset, (void *)config->prefix, in retention_write() 414 .reserved_size = (COND_CODE_1(DT_INST_NODE_HAS_PROP(inst, prefix), \ 415 (DT_INST_PROP_LEN(inst, prefix)), (0)) + \ 417 .prefix_len = COND_CODE_1(DT_INST_NODE_HAS_PROP(inst, prefix), \ 418 (DT_INST_PROP_LEN(inst, prefix)), (0)), \ 419 .prefix = DT_INST_PROP_OR(inst, prefix, {0}), \
|
/Zephyr-Core-3.7.0/subsys/net/lib/http/ |
D | http_hpack.c | 414 uint8_t prefix; in http_hpack_decode_header() local 425 prefix = *buf; in http_hpack_decode_header() 427 if ((prefix & HPACK_PREFIX_INDEXED_MASK) == HPACK_PREFIX_INDEXED) { in http_hpack_decode_header() 429 } else if ((prefix & HPACK_PREFIX_LITERAL_INDEXING_MASK) == in http_hpack_decode_header() 432 } else if (((prefix & HPACK_PREFIX_LITERAL_NO_INDEXING_MASK) == in http_hpack_decode_header() 434 ((prefix & HPACK_PREFIX_LITERAL_NEVER_INDEXED_MASK) == in http_hpack_decode_header() 437 } else if ((prefix & HPACK_PREFIX_DYNAMIC_TABLE_SIZE_MASK) == in http_hpack_decode_header() 448 uint8_t prefix, uint8_t n) in hpack_integer_encode() argument 459 *buf = prefix | (uint8_t)value; in hpack_integer_encode() 464 *buf++ = prefix | limit; in hpack_integer_encode() [all …]
|
/Zephyr-Core-3.7.0/subsys/bluetooth/host/classic/ |
D | at.c | 66 static bool str_has_prefix(const char *str, const char *prefix) in str_has_prefix() argument 68 if (strncmp(str, prefix, strlen(prefix)) != 0) { in str_has_prefix() 337 const char *prefix, parse_val_t func, in at_cmd_start() argument 340 if (!str_has_prefix(at->buf, prefix)) { in at_cmd_start() 360 const char *prefix, parse_val_t func, in at_cmd_get_value() argument 369 const char *prefix, parse_val_t func, in at_cmd_process_value() argument 381 const char *prefix, parse_val_t func, in at_cmd_state_end_lf() argument 405 const char *prefix, parse_val_t func, in at_parse_cmd_input() argument 415 ret = cmd_parser_cb[at->cmd_state](at, buf, prefix, func, type); in at_parse_cmd_input()
|
D | at.h | 88 const char *prefix, parse_val_t func, 111 const char *prefix, parse_val_t func,
|
/Zephyr-Core-3.7.0/soc/atmel/sam0/common/ |
D | adc_fixup_sam0.h | 77 #define ADC_SAM0_CALIB(prefix, val) \ argument 79 (((*(uint32_t *)UTIL_CAT(UTIL_CAT(UTIL_CAT(prefix, FUSES_), val), _ADDR)) \ 80 >> UTIL_CAT(UTIL_CAT(UTIL_CAT(prefix, FUSES_), val), _Pos)) \ 81 & UTIL_CAT(UTIL_CAT(UTIL_CAT(prefix, FUSES_), val), _Msk)) \
|
/Zephyr-Core-3.7.0/tests/net/dhcpv6/src/ |
D | main.c | 89 memcpy(&test_ctx.iface->config.dhcpv6.prefix, &test_prefix, in set_test_addr_on_iface() 90 sizeof(test_ctx.iface->config.dhcpv6.prefix)); in set_test_addr_on_iface() 98 memset(&test_ctx.iface->config.dhcpv6.prefix, 0, in clear_test_addr_on_iface() 99 sizeof(test_ctx.iface->config.dhcpv6.prefix)); in clear_test_addr_on_iface() 359 struct in6_addr *prefix, uint8_t prefix_len) in verify_dhcpv6_ia_pd() argument 371 if (prefix == NULL) { in verify_dhcpv6_ia_pd() 384 zassert_mem_equal(&ia_pd.iaprefix.prefix, prefix, in verify_dhcpv6_ia_pd() 385 sizeof(ia_pd.iaprefix.prefix), "Incorrect prefix"); in verify_dhcpv6_ia_pd() 659 .iaprefix.prefix = test_prefix, in set_advertise_options() 761 .iaprefix.prefix = test_prefix, in set_reply_options() [all …]
|
/Zephyr-Core-3.7.0/doc/build/dts/ |
D | bindings-upstream.rst | 105 should have a vendor prefix. 109 prefix. 112 invent a vendor prefix. Vendor prefixes are not mandatory parts of compatible 118 file unless you also include users of the new prefix. This means at least a 119 binding and a devicetree using the vendor prefix, and should ideally include 133 the vendor prefix. See :ref:`dt_vendor_zephyr` for examples. 212 The ``zephyr,`` prefix 215 You must add this prefix to property names in the following cases: 221 Zephyr-specific extensions are marked as such with the prefix. 229 long as they use this prefix to show that they are Zephyr specific. [all …]
|
/Zephyr-Core-3.7.0/doc/develop/toolchains/ |
D | other_x_compilers.rst | 35 - Set ``CROSS_COMPILE`` to the common path prefix which your 54 directory and have a common file name prefix. The ``CROSS_COMPILE`` variable 55 is set to the directory concatenated with the file name prefix. In the Debian 58 the common prefix is ``/usr/bin/arm-none-eabi-`` (including the trailing dash,
|
/Zephyr-Core-3.7.0/subsys/net/lib/zperf/ |
D | zperf_common.c | 53 struct net_if_ipv6_prefix *prefix; in zperf_get_ipv6_addr() local 76 prefix = net_if_ipv6_prefix_add(net_if_get_default(), in zperf_get_ipv6_addr() 79 if (!prefix) { in zperf_get_ipv6_addr()
|
/Zephyr-Core-3.7.0/drivers/led_strip/ |
D | apa102.c | 59 uint8_t prefix = 0xE0 | 31; in apa102_update_rgb() local 67 *p++ = prefix; in apa102_update_rgb()
|
/Zephyr-Core-3.7.0/subsys/shell/ |
D | shell_utils.c | 500 const char *prefix, in shell_device_internal() argument 512 && ((prefix == NULL) in shell_device_internal() 513 || (strncmp(prefix, dev->name, in shell_device_internal() 514 strlen(prefix)) == 0)) in shell_device_internal() 534 const char *prefix) in shell_device_lookup() argument 536 return shell_device_internal(idx, prefix, NULL); in shell_device_lookup()
|
/Zephyr-Core-3.7.0/drivers/serial/ |
D | uart_nrfx_uarte2.c | 26 #define INSTANCE_INT_DRIVEN(periph, prefix, i, _) \ argument 27 IS_ENABLED(CONFIG_UART_##prefix##i##_INTERRUPT_DRIVEN) 29 #define INSTANCE_ASYNC(periph, prefix, i, _) \ argument 30 IS_ENABLED(CONFIG_UART_##prefix##i##_ASYNC) 32 #define INSTANCE_POLLING(periph, prefix, id, _) \ argument 33 UTIL_AND(CONFIG_HAS_HW_NRF_UARTE##prefix##id, \ 34 UTIL_AND(COND_CODE_1(CONFIG_UART_##prefix##id##_INTERRUPT_DRIVEN, (0), (1)), \ 35 COND_CODE_1(CONFIG_UART_##prefix##id##_ASYNC, (0), (1)))) 37 #define INSTANCE_ENHANCED_POLL_OUT(periph, prefix, i, _) \ argument 38 IS_ENABLED(CONFIG_UART_##prefix##i##_ENHANCED_POLL_OUT) [all …]
|
/Zephyr-Core-3.7.0/doc/services/retention/ |
D | index.rst | 24 accessed or updated independently. The prefix and checksum can be set 59 * bytes which includes the prefix and 66 /* This is the prefix which must appear 69 prefix = [08 04]; 83 * includes the prefix and checksum, 89 /* This is the prefix which must appear 92 prefix = [00 11 55 88 fa bc];
|