Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 58) sorted by relevance

123

/Zephyr-Core-3.7.0/lib/libc/minimal/source/string/
Dstring.c126 int strcmp(const char *s1, const char *s2) in strcmp() argument
128 while ((*s1 == *s2) && (*s1 != '\0')) { in strcmp()
130 s2++; in strcmp()
133 return *s1 - *s2; in strcmp()
143 int strncmp(const char *s1, const char *s2, size_t n) in strncmp() argument
145 while ((n > 0) && (*s1 == *s2) && (*s1 != '\0')) { in strncmp()
147 s2++; in strncmp()
151 return (n == 0) ? 0 : (*s1 - *s2); in strncmp()
Dstrncasecmp.c11 strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp() argument
20 lower2 = tolower((unsigned char)*s2++); in strncasecmp()
/Zephyr-Core-3.7.0/tests/ztest/zexpect/src/
Dmain.c179 const char s2[] = {'a', 's', 'd', 'f', '\0'}; in ZTEST() local
181 zexpect_str_equal(s1, s2); in ZTEST()
188 const char s2[] = {'a', 's', 'd', 'f', 'q', '\0'}; in ZTEST() local
190 zexpect_str_equal(s1, s2); in ZTEST()
/Zephyr-Core-3.7.0/tests/ztest/base/src/
Dmain.c42 const char s2[] = {'a', 's', 'd', 'f', '\0'}; in ZTEST() local
44 zassert_str_equal(s1, s2); in ZTEST()
51 const char s2[] = {'a', 's', 'd', 'f', 'q', '\0'}; in ZTEST() local
53 zassert_str_equal(s1, s2); in ZTEST()
/Zephyr-Core-3.7.0/subsys/testsuite/ztest/include/zephyr/
Dztest_assert.h399 #define zassert_str_equal(s1, s2, ...) \ argument
400 zassert(strcmp(s1, s2) == 0, #s1 " not equal to " #s2, ##__VA_ARGS__)
577 #define zassume_str_equal(s1, s2, ...) \ argument
578 zassume(strcmp(s1, s2) == 0, #s1 " not equal to " #s2, ##__VA_ARGS__)
722 #define zexpect_str_equal(s1, s2, ...) \ argument
723 zexpect(strcmp(s1, s2) == 0, #s1 " not equal to " #s2, ##__VA_ARGS__)
/Zephyr-Core-3.7.0/scripts/build/
Dcheck_init_priorities_test.py76 s2 = mock.Mock()
77 s2.name = "b"
78 s2.entry.st_info.type = "STT_FUNC"
79 s2.entry.st_size = 8
80 s2.entry.st_value = 0xbb
81 s2.entry.st_shndx = 2
83 sts.iter_symbols.return_value = [s0, s1, s2]
107 s2 = mock.Mock()
108 s2.name = "__init_PRE_KERNEL_2_start"
109 s2.entry.st_value = 0x22
[all …]
/Zephyr-Core-3.7.0/lib/libc/minimal/include/
Dstring.h28 extern int strcmp(const char *s1, const char *s2);
29 extern int strncmp(const char *s1, const char *s2, size_t n);
Dstrings.h18 extern int strncasecmp(const char *s1, const char *s2, size_t n);
/Zephyr-Core-3.7.0/arch/x86/zefi/
Dzefi.c69 static inline bool efi_guid_compare(efi_guid_t *s1, efi_guid_t *s2) in efi_guid_compare() argument
71 return ((s1->Part1 == s2->Part1) && (s1->Part2 == s2->Part2)); in efi_guid_compare()
/Zephyr-Core-3.7.0/include/zephyr/arch/mips/
Dthread.h36 unsigned long s2; /* saved register */ member
/Zephyr-Core-3.7.0/arch/mips/include/mips/
Dregdef.h44 #define s2 $18 macro
/Zephyr-Core-3.7.0/include/zephyr/arch/riscv/
Dthread.h36 unsigned long s2; /* saved register */ member
/Zephyr-Core-3.7.0/subsys/net/lib/http/
Dhttp_server_core.c646 static int compare_strings(const char *s1, const char *s2) in compare_strings() argument
648 while ((*s1 && *s2) && (*s1 == *s2) && (*s1 != '?')) { in compare_strings()
650 s2++; in compare_strings()
654 if ((*s1 == '\0' || *s1 == '?') && (*s2 == '\0' || *s2 == '?')) { in compare_strings()
/Zephyr-Core-3.7.0/arch/mips/core/offsets/
Doffsets.c18 GEN_OFFSET_SYM(_callee_saved_t, s2);
/Zephyr-Core-3.7.0/arch/riscv/core/
Dswitch.S21 RV_I( op s2, _thread_offset_to_s2(reg) );\
Dfatal.c94 LOG_ERR(" s2: " PR_REG " s8: " PR_REG, csf->s2, csf->s8); in z_riscv_fatal_error_csf()
/Zephyr-Core-3.7.0/arch/mips/core/
Disr.S25 op s2, THREAD_O(s2)(reg) ;\
/Zephyr-Core-3.7.0/samples/sensor/lsm6dsl/
DREADME.rst69 accel (-3.184000 -0.697000 9.207000) m/s2
/Zephyr-Core-3.7.0/subsys/mgmt/osdp/src/
Dosdp_sc.c98 static int osdp_ct_compare(const void *s1, const void *s2, size_t len) in osdp_ct_compare() argument
102 const uint8_t *_s2 = s2; in osdp_ct_compare()
Dosdp_cp.c100 char *tok, *s1, *s2, addr_buf[32 * CONFIG_OSDP_NUM_CONNECTED_PD]; in osdp_extract_address() local
106 addr = strtoul(tok, &s2, 10); in osdp_extract_address()
107 if (*s2 != '\0') { /* tok must be number-ish */ in osdp_extract_address()
/Zephyr-Core-3.7.0/arch/riscv/core/offsets/
Doffsets.c36 GEN_OFFSET_SYM(_callee_saved_t, s2);
/Zephyr-Core-3.7.0/boards/wemos/esp32s2_lolin_mini/doc/
Dindex.rst94 .. [1] https://www.espressif.com/en/products/socs/esp32-s2
/Zephyr-Core-3.7.0/samples/boards/96b_argonkey/sensors/
DREADME.rst68 accel (0.004000 -0.540000 9.757000) m/s2
/Zephyr-Core-3.7.0/drivers/modem/
Dwncm14a2a.c989 static int net_buf_ncmp(struct net_buf *buf, const uint8_t *s2, size_t n) in net_buf_ncmp() argument
994 while ((n > 0) && (*(frag->data + offset) == *s2) && (*s2 != '\0')) { in net_buf_ncmp()
1005 s2++; in net_buf_ncmp()
1009 return (n == 0) ? 0 : (*(frag->data + offset) - *s2); in net_buf_ncmp()
/Zephyr-Core-3.7.0/boards/espressif/esp32s2_devkitc/doc/
Dindex.rst249 .. [1] https://www.espressif.com/en/products/socs/esp32-s2
250 ….espressif.com/projects/esp-idf/en/latest/esp32s2/hw-reference/esp32s2/user-guide-s2-devkitc-1.html

123