Searched refs:s (Results 1 – 7 of 7) sorted by relevance
| /src/klibc/ |
| A D | kstring.c | 44 char *xs = (char *)s; in rt_memset() 49 return s; in rt_memset() 57 char *m = (char *)s; in rt_memset() 102 return s; in rt_memset() 132 if (tmp <= s || tmp > (s + count)) in rt_memcpy() 221 if (s < tmp && tmp < s + n) in rt_memmove() 224 s += n; in rt_memmove() 503 return strlen(s); in rt_strlen() 507 return sc - s; in rt_strlen() 530 for (sc = s; *sc != '\0' && (rt_ubase_t)(sc - s) < maxlen; ++sc); in rt_strnlen() [all …]
|
| A D | rt_vsnprintf_tiny.c | 44 rt_inline int skip_atoi(const char **s) in skip_atoi() argument 47 while (_ISDIGIT(**s)) in skip_atoi() 48 i = i * 10 + *((*s)++) - '0'; in skip_atoi() 70 int s, in print_number() argument 87 size = s; in print_number() 307 const char *s = RT_NULL; in rt_vsnprintf() local 448 s = va_arg(args, char *); in rt_vsnprintf() 449 if (!s) in rt_vsnprintf() 451 s = "(null)"; in rt_vsnprintf() 472 if (str < end) *str = *s; in rt_vsnprintf() [all …]
|
| A D | rt_vsnprintf_std.c | 372 const char* s; in strnlen_s_() local 373 for (s = str; *s && maxsize--; ++s); in strnlen_s_() 374 return (printf_size_t)(s - str); in strnlen_s_()
|
| A D | Kconfig | 56 the integer format specifiers used in Microsoft's Visual C++ (MSVC) compiler. 60 … compatibility with MSVC's environment. It's important to note that these specifiers might
|
| /src/klibc/utest/ |
| A D | TC_rt_memset.c | 38 char *s = (char *)RT_ALIGN(((rt_ubase_t)buf + 64), 64) + align; in test_align() local 43 uassert_false(len + 64 > (size_t)(buf + TEST_BUF_SIZE - s)); in test_align() 56 p = rt_memset(s, '#', len); in test_align() 58 uassert_ptr_equal(p, s); in test_align() 62 uassert_int_equal(s[i], want[i]); in test_align()
|
| A D | TC_rt_memcmp.c | 17 const char* s = "abc 123"; in TC_rt_memcmp_str() local 20 uassert_int_equal(rt_memcmp(s, "abc", 3), 0); in TC_rt_memcmp_str() 21 uassert_int_equal(rt_memcmp("abc", s, 3), 0); in TC_rt_memcmp_str() 25 uassert_value_greater(rt_memcmp(s, "abc", 6), 0); in TC_rt_memcmp_str() 26 uassert_value_less(rt_memcmp("abc", s, 6), 0); in TC_rt_memcmp_str()
|
| /src/ |
| A D | Kconfig | 117 System's tick frequency, Hz.
|
Completed in 15 milliseconds