/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | probe_read_user_str.c | 6 static const char str2[] = "mestringalittlebigger"; variable 64 if (test_one_str(skel, str2, sizeof(str2))) in test_probe_read_user_str()
|
/third_party/jerryscript/tests/jerry/ |
H A D | string-prototype-localecompare.js | 16 var str2 = "cd"; variable 18 assert (str1.localeCompare(str2) === -1); 19 assert (str2.localeCompare(str1) === 1);
|
H A D | string-surrogates-concat.js | 17 var str2 = "\ud801"; variable 20 var str_concat = str2 + str3;
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | string_constant_test.cc | 54 constexpr auto str2 = MakeStringConstant(str); in TEST() local 55 using T = decltype(str2); in TEST() 57 EXPECT_EQ(Callable{}(), str2()); in TEST()
|
/foundation/ability/dmsfwk/test/fuzztest/abilityconnectionwrapperstub_fuzzer/ |
H A D | abilityconnectionwrapperstub_fuzzer.cpp | 49 std::string str2(reinterpret_cast<const char*>(data), size); in OnAbilityConnectDoneFuzzTest() 51 AppExecFwk::ElementName element(str1, str2, str3); in OnAbilityConnectDoneFuzzTest() 77 std::string str2(reinterpret_cast<const char*>(data), size); in OnAbilityDisconnectDoneFuzzTest() 81 AppExecFwk::ElementName element(str1, str2, str3); in OnAbilityDisconnectDoneFuzzTest()
|
/foundation/multimedia/media_foundation/engine/include/plugin/interface/ |
H A D | plugin_definition.h | 171 #define PLUGIN_PASTE_ARGS(str1, str2) str1##str2 174 #define PLUGIN_PASTE(str1, str2) PLUGIN_PASTE_ARGS(str1, str2)
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | test_global_data.c | 49 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 D | test_global_data.c | 49 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()
|
/third_party/skia/tests/ |
H A D | ParsePathTest.cpp | 12 SkString str, str2; in test_to_from() local 19 SkParsePath::ToSVGString(path2, &str2); in test_to_from() 20 REPORTER_ASSERT(reporter, str == str2); in test_to_from() 25 SkDebugf("str1=%s\nstr2=%s\n", str.c_str(), str2.c_str()); in test_to_from()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | varlen.c | 19 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()
|
/third_party/mesa3d/src/util/tests/ |
H A D | string_buffer_test.cpp | 44 const char *str2; member in string_buffer 57 str2 = "test2"; in SetUp() 87 EXPECT_TRUE(_mesa_string_buffer_append(buf, str2)); in TEST_F()
|
/foundation/multimedia/media_foundation/interface/inner_api/plugin/ |
H A D | plugin_definition.h | 291 #define PLUGIN_PASTE_ARGS(str1, str2) str1##str2 294 #define PLUGIN_PASTE(str1, str2) PLUGIN_PASTE_ARGS(str1, str2)
|
/third_party/icu/icu4c/source/common/ |
H A D | unistr_case.cpp | 242 const UnicodeString *str2 = (const UnicodeString*) key2.pointer; in uhash_compareCaselessUnicodeString() local 243 if (str1 == str2) { in uhash_compareCaselessUnicodeString() 246 if (str1 == NULL || str2 == NULL) { in uhash_compareCaselessUnicodeString() 249 return str1->caseCompare(*str2, U_FOLD_CASE_DEFAULT) == 0; in uhash_compareCaselessUnicodeString()
|
/third_party/node/deps/icu-small/source/common/ |
H A D | unistr_case.cpp | 242 const UnicodeString *str2 = (const UnicodeString*) key2.pointer; in uhash_compareCaselessUnicodeString() local 243 if (str1 == str2) { in uhash_compareCaselessUnicodeString() 246 if (str1 == nullptr || str2 == nullptr) { in uhash_compareCaselessUnicodeString() 249 return str1->caseCompare(*str2, U_FOLD_CASE_DEFAULT) == 0; in uhash_compareCaselessUnicodeString()
|
/third_party/ltp/testcases/kernel/syscalls/fmtmsg/ |
H A D | fmtmsg01.c | 62 char *str2 = "TO FIX: This is correct output, no action needed LTP:msg:001"; variable 118 fread(buf, sizeof(buf[0]), strlen(str2), fp); in main() 120 if (strcmp(str2, buf) != 0) { in main() 121 fprintf(temp, "Expected string: %s\n", str2); in main()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unistr_case.cpp | 242 const UnicodeString *str2 = (const UnicodeString*) key2.pointer; in uhash_compareCaselessUnicodeString() local 243 if (str1 == str2) { in uhash_compareCaselessUnicodeString() 246 if (str1 == NULL || str2 == NULL) { in uhash_compareCaselessUnicodeString() 249 return str1->caseCompare(*str2, U_FOLD_CASE_DEFAULT) == 0; in uhash_compareCaselessUnicodeString()
|
/kernel/liteos_m/testsuites/sample/kernel/lms/ |
H A D | It_los_lms_013.c | 38 char str2[INDEX_MAX + 1] = "1234567890abcdefghij";
in TestCase() local 40 memcpy(str, str2, INDEX_MAX + 1);
in TestCase()
|
/third_party/elfutils/tests/ |
H A D | elfstrtab.c | 41 static char *str2; variable 97 if (str == NULL || strcmp (str2, str) != 0) in check_strings() 260 str2 = "strtabelf2"; in check_elf() 261 str2_off = add_string (scn, str2); in check_elf() 322 str2 = "supercalifragilisticexpialidocious"; in check_elf() 323 str2_off = add_string (scn, str2); in check_elf()
|
/foundation/arkui/ace_engine/test/unittest/core/syntax/ |
H A D | lazy_for_each_builder_syntax_test_ng.cpp | 689 std::string str2 = "2"; in HWTEST_F() local 690 lazyForEachBuilder->cachedItems_[2] = LazyForEachChild(str2, nullptr); in HWTEST_F() 691 lazyForEachBuilder->expiringItem_[str2] = LazyForEachCacheChild(2, iter02->second.second); in HWTEST_F() 852 std::string str2 = "2"; in HWTEST_F() local 853 lazyForEachBuilder->cachedItems_[2] = LazyForEachChild(str2, nullptr); in HWTEST_F() 854 lazyForEachBuilder->expiringItem_[str2] = LazyForEachCacheChild(0, nullptr); in HWTEST_F() 858 EXPECT_EQ(lazyForEachBuilder->expiringItem_[str2].first, 0); in HWTEST_F() 894 std::string str2 = "2"; in HWTEST_F() local 895 lazyForEachBuilder->cachedItems_[2] = LazyForEachChild(str2, nullptr); in HWTEST_F() 899 iter->second.second->debugLine_ = str2; in HWTEST_F() 921 std::string str2 = "3"; HWTEST_F() local [all...] |
/kernel/liteos_a/lib/libc/musl/src/ |
H A D | memcmp.c | 37 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 D | IO_test_005.cpp | 37 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 D | sys_test_029.cpp | 40 char str2[] = { 0 }; in TestCase() local 48 ret1 = ftok(str2, id); in TestCase()
|
/third_party/musl/porting/uniproton/kernel/src/string/ |
H A D | memcmp.c | 37 int memcmp(const void *str1, const void *str2, size_t n) in memcmp() argument 41 const unsigned char *s2 = str2; in memcmp()
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/log/ |
H A D | utils_log_test.cpp | 66 const char *str2 = "test_path/1.txt"; in HWTEST_F() local 68 ret = GetFileNameFromFullPath(str2); in HWTEST_F()
|
/third_party/musl/porting/liteos_m/kernel/src/string/ |
H A D | memcmp.c | 37 int memcmp(const void *str1, const void *str2, size_t n) in memcmp() argument 41 const unsigned char *s2 = str2; in memcmp()
|