Home
last modified time | relevance | path

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

123

/Zephyr-latest/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-latest/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-latest/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-latest/subsys/testsuite/ztest/include/zephyr/
Dztest_assert.h405 #define zassert_str_equal(s1, s2, ...) \ argument
406 zassert(strcmp(s1, s2) == 0, #s1 " not equal to " #s2, ##__VA_ARGS__)
583 #define zassume_str_equal(s1, s2, ...) \ argument
584 zassume(strcmp(s1, s2) == 0, #s1 " not equal to " #s2, ##__VA_ARGS__)
728 #define zexpect_str_equal(s1, s2, ...) \ argument
729 zexpect(strcmp(s1, s2) == 0, #s1 " not equal to " #s2, ##__VA_ARGS__)
/Zephyr-latest/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-latest/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-latest/include/zephyr/arch/mips/
Dthread.h36 unsigned long s2; /* saved register */ member
/Zephyr-latest/arch/x86/zefi/
Dzefi.c77 static inline bool efi_guid_compare(efi_guid_t *s1, efi_guid_t *s2) in efi_guid_compare() argument
79 return ((s1->Part1 == s2->Part1) && (s1->Part2 == s2->Part2)); in efi_guid_compare()
/Zephyr-latest/arch/mips/include/mips/
Dregdef.h44 #define s2 $18 macro
/Zephyr-latest/include/zephyr/arch/riscv/
Dthread.h36 unsigned long s2; /* saved register */ member
/Zephyr-latest/arch/mips/core/offsets/
Doffsets.c18 GEN_OFFSET_SYM(_callee_saved_t, s2);
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_core.c682 static int compare_strings(const char *s1, const char *s2) in compare_strings() argument
684 while ((*s1 && *s2) && (*s1 == *s2) && (*s1 != '?')) { in compare_strings()
686 s2++; in compare_strings()
690 if ((*s1 == '\0' || *s1 == '?') && (*s2 == '\0' || *s2 == '?')) { in compare_strings()
/Zephyr-latest/arch/riscv/core/
Dswitch.S21 RV_I( op s2, _thread_offset_to_s2(reg) );\
/Zephyr-latest/arch/mips/core/
Disr.S25 op s2, THREAD_O(s2)(reg) ;\
/Zephyr-latest/boards/renesas/ek_ra4m2/
Dek_ra4m2.dts48 button1: s2 {
/Zephyr-latest/boards/renesas/ek_ra4m3/
Dek_ra4m3.dts48 button1: s2 {
/Zephyr-latest/boards/renesas/ek_ra6m4/
Dek_ra6m4.dts49 button1: s2 {
/Zephyr-latest/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()
/Zephyr-latest/boards/renesas/ek_ra6m5/
Dek_ra6m5.dts49 button1: s2 {
/Zephyr-latest/samples/sensor/lsm6dsl/
DREADME.rst72 accel (-3.184000 -0.697000 9.207000) m/s2
/Zephyr-latest/arch/riscv/core/offsets/
Doffsets.c36 GEN_OFFSET_SYM(_callee_saved_t, s2);
/Zephyr-latest/boards/renesas/ek_ra4e2/
Dek_ra4e2.dts50 button1: s2 {
/Zephyr-latest/boards/renesas/ek_ra6m3/
Dek_ra6m3.dts50 button1: s2 {

123