Home
last modified time | relevance | path

Searched refs:str1 (Results 1 – 2 of 2) sorted by relevance

/hal_ambiq-3.5.0/utils/
Dam_util_string.c359 am_util_string_strcmp(const char *str1, const char *str2) in am_util_string_strcmp() argument
361 return am_util_string_strncmp(str1, str2, 0xffffffff); in am_util_string_strcmp()
370 am_util_string_strncmp(const char *str1, const char *str2, uint32_t num) in am_util_string_strncmp() argument
375 if ( *str1 != *str2 || *str1 == '\0' ) in am_util_string_strncmp()
377 return *str1 - *str2; in am_util_string_strncmp()
380 str1++; in am_util_string_strncmp()
397 am_util_string_strnicmp(const char *str1, const char *str2, int num) in am_util_string_strnicmp() argument
401 while ( *str1 && *str2 && num ) in am_util_string_strnicmp()
403 cChar1 = *str1; in am_util_string_strnicmp()
414 str1++; in am_util_string_strnicmp()
[all …]
Dam_util_string.h114 extern int32_t am_util_string_strcmp(const char *str1, const char *str2);
135 extern int32_t am_util_string_stricmp(const char *str1, const char *str2);
155 extern int32_t am_util_string_strncmp(const char *str1, const char *str2,
177 extern int32_t am_util_string_strnicmp(const char *str1, const char *str2,