Home
last modified time | relevance | path

Searched refs:orig (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/tests/kernel/common/src/
Datomic.c101 atomic_t target, orig; in ZTEST_USER() local
232 orig = ATOMIC_WORD(0x0F0F0F0F0F0F0F0F, 0x0F0F0F0F); in ZTEST_USER()
233 target = orig; in ZTEST_USER()
234 zassert_true(!!(atomic_test_and_clear_bit(&target, i)) == !!(orig & BIT(i)), in ZTEST_USER()
236 zassert_true(target == (orig & ~BIT(i)), "atomic_test_and_clear_bit"); in ZTEST_USER()
241 orig = ATOMIC_WORD(0x0F0F0F0F0F0F0F0F, 0x0F0F0F0F); in ZTEST_USER()
242 target = orig; in ZTEST_USER()
243 zassert_true(!!(atomic_test_and_set_bit(&target, i)) == !!(orig & BIT(i)), in ZTEST_USER()
245 zassert_true(target == (orig | BIT(i)), "atomic_test_and_set_bit"); in ZTEST_USER()
250 orig = ATOMIC_WORD(0x0F0F0F0F0F0F0F0F, 0x0F0F0F0F); in ZTEST_USER()
[all …]
/Zephyr-latest/subsys/net/ip/
Dicmpv6.c190 int net_icmpv6_send_error(struct net_pkt *orig, uint8_t type, uint8_t code, in net_icmpv6_send_error() argument
201 net_pkt_cursor_init(orig); in net_icmpv6_send_error()
203 ip_hdr = (struct net_ipv6_hdr *)net_pkt_get_data(orig, &ipv6_access); in net_icmpv6_send_error()
213 net_pkt_acknowledge_data(orig, &ipv6_access); in net_icmpv6_send_error()
216 orig, &icmpv6_access); in net_icmpv6_send_error()
223 net_pkt_cursor_init(orig); in net_icmpv6_send_error()
233 copy_len = net_pkt_get_len(orig); in net_icmpv6_send_error()
236 pkt = net_pkt_alloc_with_buffer(net_pkt_iface(orig), in net_icmpv6_send_error()
237 net_pkt_lladdr_src(orig)->len * 2 + in net_icmpv6_send_error()
260 ret = net_pkt_write(pkt, net_pkt_lladdr_src(orig)->addr, in net_icmpv6_send_error()
[all …]
Dicmpv4.c513 int net_icmpv4_send_error(struct net_pkt *orig, uint8_t type, uint8_t code) in net_icmpv4_send_error() argument
521 net_pkt_cursor_init(orig); in net_icmpv4_send_error()
523 ip_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(orig, &ipv4_access); in net_icmpv4_send_error()
534 orig, &icmpv4_access); in net_icmpv4_send_error()
542 if (net_ipv4_is_addr_bcast(net_pkt_iface(orig), in net_icmpv4_send_error()
563 pkt = net_pkt_alloc_with_buffer(net_pkt_iface(orig), in net_icmpv4_send_error()
576 net_pkt_copy(pkt, orig, copy_len)) { in net_icmpv4_send_error()
583 net_pkt_lladdr_dst(pkt)->addr = net_pkt_lladdr_src(orig)->addr; in net_icmpv4_send_error()
584 net_pkt_lladdr_dst(pkt)->len = net_pkt_lladdr_src(orig)->len; in net_icmpv4_send_error()
592 net_stats_update_icmp_sent(net_pkt_iface(orig)); in net_icmpv4_send_error()
[all …]
/Zephyr-latest/lib/posix/options/
DKconfig.mem25 https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/V2_chap02.html
35 https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/V2_chap02.html
46 https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/V2_chap02.html
57 https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/V2_chap02.html
68 https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/V2_chap02.html
/Zephyr-latest/tests/net/ptp/clock/src/
Dmain.c446 uint64_t orig, new_value; in test_ptp_clock_iface() local
455 orig = timestamp_to_nsec(&tm); in test_ptp_clock_iface()
469 zassert_equal(orig + rnd_value, new_value, in test_ptp_clock_iface()
471 orig + rnd_value, new_value); in test_ptp_clock_iface()
/Zephyr-latest/tests/lib/heap/src/
Dmain.c281 bool realloc_check_block(uint8_t *data, uint8_t *orig, size_t sz) in realloc_check_block() argument
283 uint8_t val = (uint8_t)((uintptr_t)orig >> 3); in realloc_check_block()
/Zephyr-latest/samples/net/sockets/big_http_download/
DREADME.rst82 https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/git/1:2.34.1-1ubuntu1/git_2.34.1.orig.ta…
/Zephyr-latest/scripts/
Dcheckpatch.pl4253 my $orig = $1;
4254 my $level = lc($orig);
4259 …em]dev, ... then dev_$level2(dev, ... then pr_$level(... to printk(KERN_$orig ...\n" . $herecurr);
4263 my $orig = $1;
4264 my $level = lc($orig);
4268 "Prefer dev_$level(... to dev_printk(KERN_$orig, ...\n" . $herecurr);
/Zephyr-latest/subsys/bluetooth/host/
Dsmp.c5094 uint8_t orig[len + sizeof(uint32_t) + 8]; in sign_test() local
5104 memcpy(orig, msg, sizeof(msg)); in sign_test()
5112 if (!memcmp(msg, orig, len + sizeof(uint32_t))) { in sign_test()
5116 LOG_DBG("%s: orig %s", prefix, bt_hex(orig, sizeof(orig))); in sign_test()