Home
last modified time | relevance | path

Searched refs:str2 (Results 1 - 25 of 55) sorted by relevance

123

/kernel/linux/linux-6.6/sound/soc/sof/
H A Dipc3.c24 u8 *str2 = NULL; in ipc3_log_header() local
41 str2 = "COMP_NEW"; break; in ipc3_log_header()
43 str2 = "COMP_FREE"; break; in ipc3_log_header()
45 str2 = "COMP_CONNECT"; break; in ipc3_log_header()
47 str2 = "PIPE_NEW"; break; in ipc3_log_header()
49 str2 = "PIPE_FREE"; break; in ipc3_log_header()
51 str2 = "PIPE_CONNECT"; break; in ipc3_log_header()
53 str2 = "PIPE_COMPLETE"; break; in ipc3_log_header()
55 str2 = "BUFFER_NEW"; break; in ipc3_log_header()
57 str2 in ipc3_log_header()
[all...]
H A Dipc4.c178 const u8 *str2 = NULL; in sof_ipc4_log_header() local
207 str2 = ipc4_dbg_notification_type[notif]; in sof_ipc4_log_header()
208 if (!str2) in sof_ipc4_log_header()
209 str2 = "Unknown Global notification"; in sof_ipc4_log_header()
213 if (str2) { in sof_ipc4_log_header()
216 text, msg->primary, msg->extension, str, str2, in sof_ipc4_log_header()
220 msg->extension, str, str2); in sof_ipc4_log_header()
/kernel/linux/linux-5.10/sound/soc/sof/
H A Dipc.c54 u8 *str2 = NULL; in ipc_log_header() local
71 str2 = "COMP_NEW"; break; in ipc_log_header()
73 str2 = "COMP_FREE"; break; in ipc_log_header()
75 str2 = "COMP_CONNECT"; break; in ipc_log_header()
77 str2 = "PIPE_NEW"; break; in ipc_log_header()
79 str2 = "PIPE_FREE"; break; in ipc_log_header()
81 str2 = "PIPE_CONNECT"; break; in ipc_log_header()
83 str2 = "PIPE_COMPLETE"; break; in ipc_log_header()
85 str2 = "BUFFER_NEW"; break; in ipc_log_header()
87 str2 in ipc_log_header()
[all...]
/kernel/liteos_a/testsuites/unittest/common/include/
H A DiCunit.h218 * 断言指定个数str1和str2字符串内容相同,不同则return
221 #define ICUNIT_ASSERT_SIZE_STRING_EQUAL(str1, str2, strsize, retcode) \
223 if (strncmp((str1), (str2), (strsize)) != 0) { \
244 * 断言指定个数str1和str2字符串内容相同,不同则return
246 #define ICUNIT_ASSERT_SIZE_STRING_EQUAL_VOID(str1, str2, size, retcode) \
248 if (strncmp(str1, str2, size) != 0) { \
255 * 断言指定个数str1和str2字符串内容不同,相同则return
257 #define ICUNIT_ASSERT_SIZE_STRING_NOT_EQUAL(str1, str2, size, retcode) \
259 if (strncmp(str1, str2, size) == 0) { \
267 * 断言str1和str2字符串内容相同,不同则retur
[all...]
/kernel/liteos_m/testsuites/include/
H A DiCunit.h284 #define ICUNIT_ASSERT_SIZE_STRING_EQUAL(str1, str2, strsize, retcode) \
286 if (strncmp((str1), (str2), (strsize)) != 0) { \
292 #define ICUNIT_ASSERT_STRING_EQUAL(str1, str2, retcode) \
294 if (strcmp(str1, str2) != 0) { \
300 #define ICUNIT_ASSERT_STRING_EQUAL_VOID(str1, str2, retcode) \
302 if (strcmp((const char *)str1, (const char *)str2) != 0) { \
308 #define ICUNIT_ASSERT_STRING_NOT_EQUAL(str1, str2, retcode) \
310 if (strcmp(str1, str2) == 0) { \
332 #define ICUNIT_GOTO_STRING_EQUAL(str1, str2, retcode, label) \
334 if (strcmp(str1, str2) !
[all...]
/kernel/liteos_a/testsuites/kernel/include/
H A DiCunit.h327 #define ICUNIT_ASSERT_SIZE_STRING_EQUAL(str1, str2, strsize, retcode) \
329 if (strncmp((str1), (str2), (strsize)) != 0) { \
343 #define ICUNIT_ASSERT_STRING_EQUAL(str1, str2, retcode) \
345 if (strcmp(str1, str2) != 0) { \
351 #define ICUNIT_ASSERT_STRING_EQUAL_VOID(str1, str2, retcode) \
353 if (strcmp(str1, str2) != 0) { \
359 #define ICUNIT_ASSERT_STRING_NOT_EQUAL(str1, str2, retcode) \
361 if (strcmp(str1, str2) == 0) { \
399 #define ICUNIT_GOTO_STRING_EQUAL(str1, str2, retcode, label) \
401 if (strcmp(str1, str2) !
[all...]
/kernel/liteos_a/testsuites/unittest/net/resolv/smoke/
H A Dnet_resolv_test_007.cpp47 char str1[buffer_size], str2[buffer_size]; in EtherNtoarTest() local
51 (void)sprintf_s(str2, sizeof(str2), "%.2x:%.2x:%.2x:%.2x:%.2x:%.2x", r[0], r[1], r[2], r[3], r[4], r[5]); in EtherNtoarTest()
54 ICUNIT_ASSERT_EQUAL((stricmp(str1, buf) == 0 || stricmp(str2, buf) == 0), 1, printf("%s\n", p)); in EtherNtoarTest()
H A Dnet_resolv_test_006.cpp47 char str1[buffer_size], str2[buffer_size]; in EtherNtoaTest() local
51 (void)sprintf_s(str2, sizeof(str2), "%.2x:%.2x:%.2x:%.2x:%.2x:%.2x", r[0], r[1], r[2], r[3], r[4], r[5]); in EtherNtoaTest()
54 ICUNIT_ASSERT_EQUAL((stricmp(str1, buf) == 0 || stricmp(str2, buf) == 0), 1, printf("%s\n", buf)); in EtherNtoaTest()
/kernel/liteos_m/testsuites/unittest/fuzz/src/regex/
H A Dit_test_regex_fuzz.c63 char str2[MAX_STR_BUF_LEN] = {0}; in RegexFuzz() local
77 (void)strncpy_s(str2, MAX_STR_BUF_LEN, string2, maxStrLen); in RegexFuzz()
78 str2[MAX_STR_BUF_LEN - 1] = '\0'; in RegexFuzz()
90 regexec(&preg, str2, nmatch, pmatch, num1); in RegexFuzz()
/kernel/liteos_a/testsuites/unittest/libc/sys/full/
H A Dsys_test_027.cpp44 char *str2 = "/etc/2.txt"; in TestCase() local
50 fd = open(str2, O_CREAT); in TestCase()
61 ret2 = ftok(str2, id1); in TestCase()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dprobe_read_user_str.c6 static const char str2[] = "mestringalittlebigger"; variable
64 if (test_one_str(skel, str2, sizeof(str2))) in test_probe_read_user_str()
H A Dvarlen.c19 const char str2[] = "World!"; in test_varlen() local
22 const int size2 = sizeof(str2); in test_varlen()
38 memcpy(bss->buf_in2, str2, size2); in test_varlen()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dprobe_read_user_str.c6 static const char str2[] = "mestringalittlebigger"; variable
64 if (test_one_str(skel, str2, sizeof(str2))) in test_probe_read_user_str()
H A Dvarlen.c19 const char str2[] = "World!"; in test_varlen() local
22 const int size2 = sizeof(str2); in test_varlen()
38 memcpy(bss->buf_in2, str2, size2); in test_varlen()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_global_data.c49 static char str2[32]; variable
89 test_reloc(string, 2, str2); in load_static_data()
92 __builtin_memcpy(&str2[2], "hello", sizeof("hello")); in load_static_data()
93 test_reloc(string, 4, str2); in load_static_data()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_global_data.c49 static char str2[32]; variable
89 test_reloc(string, 2, str2); in load_static_data()
92 __builtin_memcpy(&str2[2], "hello", sizeof("hello")); in load_static_data()
93 test_reloc(string, 4, str2); in load_static_data()
/kernel/liteos_m/testsuites/sample/kernel/lms/
H A DIt_los_lms_013.c38 char str2[INDEX_MAX + 1] = "1234567890abcdefghij"; in TestCase() local
40 memcpy(str, str2, INDEX_MAX + 1); in TestCase()
/kernel/liteos_a/lib/libc/musl/src/
H A Dmemcmp.c37 int memcmp(const void *str1, const void *str2, size_t n) in memcmp() argument
41 const unsigned char *s2 = str2; in memcmp()
/kernel/liteos_a/testsuites/unittest/libc/io/smoke/
H A DIO_test_005.cpp37 wchar_t str2[] = L"abcdefg"; in Testcase() local
48 if (c[i] != str2[i]) { in Testcase()
/kernel/liteos_a/testsuites/unittest/libc/sys/smoke/
H A Dsys_test_029.cpp40 char str2[] = { 0 }; in TestCase() local
48 ret1 = ftok(str2, id); in TestCase()
/kernel/linux/linux-5.10/arch/loongarch/boot/compressed/
H A Dstring.c72 int __weak strcmp(const char *str1, const char *str2) in strcmp() argument
76 const unsigned char *s2 = (const unsigned char *)str2; in strcmp()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dstrset.c34 const char *str2 = s->strs_data + key2; in strset_equal_fn() local
36 return strcmp(str1, str2) == 0; in strset_equal_fn()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
H A Dcbe_thermal.c301 u64 str2; in init_default_values() local
323 /* str2 in init_default_values()
326 str2 = 0x10; in init_default_values()
354 out_be64(&pmd_regs->tm_str2, str2); in init_default_values()
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/
H A Dcbe_thermal.c300 u64 str2; in init_default_values() local
322 /* str2 in init_default_values()
325 str2 = 0x10; in init_default_values()
353 out_be64(&pmd_regs->tm_str2, str2); in init_default_values()
/kernel/linux/linux-5.10/arch/x86/boot/
H A Dstring.h19 extern int strcmp(const char *str1, const char *str2);

Completed in 14 milliseconds

123