/third_party/musl/porting/liteos_a/kernel/src/stdio/ |
H A D | perror.c | 19 fwrite(msg, strlen(msg), 1, f); in perror() 23 fwrite(errstr, strlen(errstr), 1, f); in perror()
|
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
H A D | perror.c | 19 fwrite(msg, strlen(msg), 1, f); in perror() 23 fwrite(errstr, strlen(errstr), 1, f); in perror()
|
/third_party/musl/src/misc/ |
H A D | getsubopt.c | 12 else *opt = s + strlen(s); in getsubopt() 15 size_t l = strlen(keys[i]); in getsubopt()
|
/third_party/node/deps/v8/src/base/ |
H A D | file-utils.cc | 18 size_t basename_start = strlen(exec_path); in RelativePath() 23 size_t name_length = strlen(name); in RelativePath()
|
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/ |
H A D | fortify_memcpy_chk_test.cpp | 26 EXPECT_TRUE(__memcpy_chk(dest, src, strlen(src), static_cast<size_t>(-1))); in HWTEST_F() 41 EXPECT_TRUE(__memcpy_chk(dest, src, strlen(src), sizeof(dest))); in HWTEST_F()
|
H A D | fortify_mempcpy_chk_test.cpp | 25 EXPECT_TRUE(__mempcpy_chk(dest, src, strlen(src), sizeof(dest))); in HWTEST_F() 39 EXPECT_TRUE(__mempcpy_chk(dest, src, strlen(src), static_cast<size_t>(-1))); in HWTEST_F()
|
H A D | fortify_fwrite_chk_test.cpp | 24 int result = __fwrite_chk(buf, sizeof(char), strlen(buf), fptr, sizeof(buf)); in HWTEST_F() 25 EXPECT_EQ(result, strlen(buf)); in HWTEST_F()
|
/third_party/mesa3d/src/util/tests/ |
H A D | mesa-sha1_test.cpp | 50 _mesa_sha1_compute(p.string, strlen(p.string), sha1); in TEST_P() 56 << "For string \"" << p.string << "\", length " << strlen(p.string) << ":\n" in TEST_P()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | vprintf.c | 36 int len = strlen(want); in vprintf_0100() 57 int len = strlen(want); in vprintf_0200()
|
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/ |
H A D | string_memchr_test.cpp | 21 const void* foundChar = memchr(sourceString, 'w', strlen(sourceString)); in HWTEST_F() 47 const void* foundChar = memchr(sourceString, 'w', strlen(sourceString)); in HWTEST_F()
|
H A D | string_strchr_test.cpp | 24 memcpy(bufChar, s, strlen(s) + 1); in HWTEST_F() 25 EXPECT_EQ(strchr(bufChar, '\0'), (bufChar + strlen(s))); in HWTEST_F()
|
/third_party/musl/libc-test/src/functionalext/supplement/temp/temp_gtest/ |
H A D | temp_mkostemp64_test.cpp | 25 int cnt = write(fd, tmpFile, strlen(tmpFile)); in HWTEST_F() 26 EXPECT_TRUE(cnt == strlen(tmpFile)); in HWTEST_F()
|
H A D | temp_mkstemp64_test.cpp | 25 int cnt = write(fd, tmpFile, strlen(tmpFile)); in HWTEST_F() 26 EXPECT_TRUE(cnt == strlen(tmpFile)); in HWTEST_F()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/ |
H A D | unistd_writev_test.cpp | 27 iov[0].iov_len = strlen(str0) + 1; in HWTEST_F() 29 iov[1].iov_len = strlen(str1) + 1; in HWTEST_F()
|
/third_party/skia/gm/ |
H A D | largeglyphblur.cpp | 29 auto blob = SkTextBlob::MakeFromText(text, strlen(text), font); in DEF_SIMPLE_GM() 40 size_t len = strlen(text); in DEF_SIMPLE_GM()
|
/third_party/node/deps/v8/src/objects/ |
H A D | js-locale.cc | 418 if (strlen(source.getBaseName()) != strlen(result.getBaseName())) { 420 if (strlen(source.getBaseName()) != strlen(source.getName())) { 453 if (strlen(source.getBaseName()) != strlen(result.getBaseName())) { 455 if (strlen(source.getBaseName()) != strlen(source.getName())) { 639 if (region == nullptr || strlen(region) == 0) { 781 if (strlen(languag [all...] |
/kernel/linux/linux-5.10/scripts/dtc/libfdt/ |
H A D | fdt_ro.c | 46 *lenp = strlen(s); in fdt_get_string() 247 return fdt_subnode_offset_namelen(fdt, parentoffset, name, strlen(name)); in fdt_subnode_offset() 297 return fdt_path_offset_namelen(fdt, path, strlen(path)); in fdt_path_offset() 328 *len = strlen(nameptr); in fdt_get_name() 448 strlen(name), lenp); in fdt_get_property() 505 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp); in fdt_getprop() 539 return fdt_get_alias_namelen(fdt, name, strlen(name)); in fdt_get_alias() 708 int len = strlen(str); in fdt_stringlist_contains() 758 len = strlen(string) + 1; in fdt_stringlist_search()
|
/kernel/linux/linux-5.10/fs/orangefs/ |
H A D | orangefs-debugfs.c | 201 if (strlen(kernel_debug_string) + 1 < ORANGEFS_MAX_DEBUG_STRING_LEN) { in orangefs_kernel_debug_init() 301 if (strlen(client_debug_string) + 1 < ORANGEFS_MAX_DEBUG_STRING_LEN) { in orangefs_client_debug_init() 511 for (i = 0; i < strlen(debug_array_string); i++) in orangefs_prepare_cdm_array() 604 * "size - strlen(dst) - 1" bytes of src onto dst, in orangefs_prepare_debugfs_help_string() 704 len = strlen(debug_string); in debug_mask_to_string() 730 if ((strlen(kernel_debug_string) + in do_k_string() 731 strlen(s_kmod_keyword_mask_map[index].keyword)) in do_k_string() 757 if ((strlen(client_debug_string) + in do_c_string() 758 strlen(cdm_array[index].keyword) + 1) in do_c_string() 855 if (strlen(unchecked_keywor in debug_string_to_mask() [all...] |
/kernel/linux/linux-6.6/fs/orangefs/ |
H A D | orangefs-debugfs.c | 201 if (strlen(kernel_debug_string) + 1 < ORANGEFS_MAX_DEBUG_STRING_LEN) { in orangefs_kernel_debug_init() 301 if (strlen(client_debug_string) + 1 < ORANGEFS_MAX_DEBUG_STRING_LEN) { in orangefs_client_debug_init() 511 for (i = 0; i < strlen(debug_array_string); i++) in orangefs_prepare_cdm_array() 604 * "size - strlen(dst) - 1" bytes of src onto dst, in orangefs_prepare_debugfs_help_string() 704 len = strlen(debug_string); in debug_mask_to_string() 730 if ((strlen(kernel_debug_string) + in do_k_string() 731 strlen(s_kmod_keyword_mask_map[index].keyword)) in do_k_string() 757 if ((strlen(client_debug_string) + in do_c_string() 758 strlen(cdm_array[index].keyword) + 1) in do_c_string() 855 if (strlen(unchecked_keywor in debug_string_to_mask() [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | crash_core.c | 196 if (strncmp(cur, suffix, strlen(suffix))) { in parse_crashkernel_suffix() 200 cur += strlen(suffix); in parse_crashkernel_suffix() 222 end_p = p + strlen(p); in get_last_crashkernel() 229 q = end_p - strlen(suffix_tbl[i]); in get_last_crashkernel() 231 strlen(suffix_tbl[i]))) in get_last_crashkernel() 236 q = end_p - strlen(suffix); in get_last_crashkernel() 237 if (!strncmp(q, suffix, strlen(suffix))) in get_last_crashkernel() 265 ck_cmdline += strlen(name); in __parse_crashkernel() 510 note->n_namesz = strlen(name) + 1; in append_elf_note()
|
/kernel/linux/linux-6.6/scripts/dtc/libfdt/ |
H A D | fdt_ro.c | 46 *lenp = strlen(s); in fdt_get_string() 247 return fdt_subnode_offset_namelen(fdt, parentoffset, name, strlen(name)); in fdt_subnode_offset() 297 return fdt_path_offset_namelen(fdt, path, strlen(path)); in fdt_path_offset() 328 *len = strlen(nameptr); in fdt_get_name() 448 strlen(name), lenp); in fdt_get_property() 505 return fdt_getprop_namelen(fdt, nodeoffset, name, strlen(name), lenp); in fdt_getprop() 539 return fdt_get_alias_namelen(fdt, name, strlen(name)); in fdt_get_alias() 708 int len = strlen(str); in fdt_stringlist_contains() 758 len = strlen(string) + 1; in fdt_stringlist_search()
|
/third_party/libdrm/tests/amdgpu/ |
H A D | ras_tests.c | 615 strncat(path, "ras_ctrl", sizeof(path) - strlen(path)); in amdgpu_ras_invoke() 634 strncat(name, ras_block_str(block), sizeof(name) - strlen(name)); in amdgpu_ras_query_err_count() 635 strncat(name, "_err_count", sizeof(name) - strlen(name)); in amdgpu_ras_query_err_count() 859 strncat(path, "ras_ctrl", sizeof(path) - strlen(path)); in amdgpu_ras_basic_test() 865 strncat(path, "features", sizeof(path) - strlen(path)); in amdgpu_ras_basic_test() 879 strncat(path, ras_block_str(j), sizeof(path) - strlen(path)); in amdgpu_ras_basic_test() 880 strncat(path, "_err_count", sizeof(path) - strlen(path)); in amdgpu_ras_basic_test() 886 strncat(path, ras_block_str(j), sizeof(path) - strlen(path)); in amdgpu_ras_basic_test() 887 strncat(path, "_err_inject", sizeof(path) - strlen(path)); in amdgpu_ras_basic_test()
|
/third_party/skia/tests/ |
H A D | TextBlobTest.cpp | 160 const size_t txtLen = strlen(txt); in TestBounds() 316 int glyphCount = font.countText(text1, strlen(text1), SkTextEncoding::kUTF8); in DEF_TEST() 318 (void)font.textToGlyphs(text1, strlen(text1), SkTextEncoding::kUTF8, glyphs.get(), glyphCount); in DEF_TEST() 320 auto run = textBlobBuilder.allocRunText(font, glyphCount, 0, 0, SkToInt(strlen(text2))); in DEF_TEST() 322 memcpy(run.utf8text, text2, strlen(text2)); in DEF_TEST() 324 run.clusters[i] = std::min(SkToU32(i), SkToU32(strlen(text2))); in DEF_TEST() 358 int glyphCount = font.countText(text, strlen(text), SkTextEncoding::kUTF8); in add_run() 362 (void)font.textToGlyphs(text, strlen(text), SkTextEncoding::kUTF8, buffer.glyphs, glyphCount); in add_run() 438 REPORTER_ASSERT(reporter, it.glyphCount() == strlen(text)); in DEF_TEST()
|
/third_party/toybox/kconfig/ |
H A D | confdata.c | 162 strlen(CONFIG_PREFIX))) { in conf_read_simple() 165 p = strchr(line + 2 + strlen(CONFIG_PREFIX), ' '); in conf_read_simple() 172 sym = sym_find(line + 2 + strlen(CONFIG_PREFIX)); in conf_read_simple() 174 conf_warning("trying to assign nonexistent symbol %s", line + 2 + strlen(CONFIG_PREFIX)); in conf_read_simple() 197 if (memcmp(line, CONFIG_PREFIX, strlen(CONFIG_PREFIX))) { in conf_read_simple() 201 p = strchr(line + strlen(CONFIG_PREFIX), '='); in conf_read_simple() 212 sym = sym_find(line + strlen(CONFIG_PREFIX)); in conf_read_simple() 218 sym = sym_lookup(line + strlen(CONFIG_PREFIX), 0); in conf_read_simple() 261 memmove(p2, p2 + 1, strlen(p2)); in conf_read_simple()
|
/kernel/linux/linux-5.10/arch/arm64/lib/ |
H A D | strlen.S | 47 SYM_FUNC_START_WEAK_PI(strlen) 114 SYM_FUNC_END_PI(strlen) 115 EXPORT_SYMBOL_NOKASAN(strlen)
|