/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | string.h | 74 #define strlen(s) __strlen(s) macro 172 static inline size_t __no_sanitize_prefix_strfunc(strlen)(const char *s) in strlen() function 204 size_t strlen(const char *s);
|
/kernel/linux/linux-6.6/arch/riscv/purgatory/ |
H A D | Makefile | 5 purgatory-y += strcmp.o strlen.o strncmp.o 25 $(obj)/strlen.o: $(srctree)/arch/riscv/lib/strlen.S FORCE
|
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | string.h | 58 #define strlen(s) __strlen(s) macro 165 static inline size_t __no_sanitize_prefix_strfunc(strlen)(const char *s) in strlen() function 202 size_t strlen(const char *s);
|
/kernel/linux/linux-5.10/drivers/iio/ |
H A D | industrialio-sw-trigger.c | 49 iter = __iio_find_sw_trigger_type(t->name, strlen(t->name)); in iio_register_sw_trigger_type() 77 iter = __iio_find_sw_trigger_type(t->name, strlen(t->name)); in iio_unregister_sw_trigger_type() 92 t = __iio_find_sw_trigger_type(name, strlen(name)); in iio_get_sw_trigger_type()
|
H A D | industrialio-sw-device.c | 49 iter = __iio_find_sw_device_type(d->name, strlen(d->name)); in iio_register_sw_device_type() 73 iter = __iio_find_sw_device_type(dt->name, strlen(dt->name)); in iio_unregister_sw_device_type() 88 dt = __iio_find_sw_device_type(name, strlen(name)); in iio_get_sw_device_type()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
H A D | rtw_android.c | 71 strlen(android_wifi_cmd_str[cmd_num]))) in rtw_android_cmdstr_to_num() 115 char *country_code = command + strlen(android_wifi_cmd_str[ANDROID_WIFI_CMD_COUNTRY]) + 1; in android_set_cntry() 223 bytes_written = strlen("OK"); in rtw_android_priv_cmd()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | string.c | 203 int i1 = strlen(s1); in strtailcmp() 204 int i2 = strlen(s2); in strtailcmp() 291 memmove(d, s, strlen(s) + 1); in strdup_esc()
|
/kernel/linux/linux-5.10/lib/ |
H A D | test_string.c | 122 for (i = 0; i < strlen(test_string) + 1; i++) { in strchr_selftest() 150 for (i = 0; i < strlen(test_string) + 1; i++) { in strnchr_selftest() 151 for (j = 0; j < strlen(test_string) + 2; j++) { in strnchr_selftest()
|
/kernel/linux/linux-5.10/drivers/staging/blackbox/ |
H A D | blackbox_storage.c | 102 strlen("blackbox"))) { in is_pstore_part_ready() 105 strncpy(pstore_file, full_path, strlen(full_path)); in is_pstore_part_ready() 109 if (is_ready && strlen(pstore_file)) in is_pstore_part_ready()
|
/kernel/linux/linux-6.6/drivers/staging/blackbox/ |
H A D | blackbox_storage.c | 102 strlen("blackbox"))) { in is_pstore_part_ready() 105 strncpy(pstore_file, full_path, strlen(full_path)); in is_pstore_part_ready() 109 if (is_ready && strlen(pstore_file)) in is_pstore_part_ready()
|
/kernel/linux/linux-6.6/drivers/iio/ |
H A D | industrialio-sw-trigger.c | 49 iter = __iio_find_sw_trigger_type(t->name, strlen(t->name)); in iio_register_sw_trigger_type() 77 iter = __iio_find_sw_trigger_type(t->name, strlen(t->name)); in iio_unregister_sw_trigger_type() 92 t = __iio_find_sw_trigger_type(name, strlen(name)); in iio_get_sw_trigger_type()
|
H A D | industrialio-sw-device.c | 49 iter = __iio_find_sw_device_type(d->name, strlen(d->name)); in iio_register_sw_device_type() 73 iter = __iio_find_sw_device_type(dt->name, strlen(dt->name)); in iio_unregister_sw_device_type() 88 dt = __iio_find_sw_device_type(name, strlen(name)); in iio_get_sw_device_type()
|
/kernel/linux/linux-6.6/tools/lib/subcmd/ |
H A D | exec-cmd.c | 68 if (strlen(cwd) + strlen(path) + 2 >= sz) in make_nonrelative_path() 95 slash = argv0 + strlen(argv0); in extract_argv0_path()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | string.c | 202 int i1 = strlen(s1); in strtailcmp() 203 int i2 = strlen(s2); in strtailcmp() 290 memmove(d, s, strlen(s) + 1); in strdup_esc()
|
/kernel/liteos_a/kernel/extended/blackbox/ |
H A D | los_blackbox_system_adapter.c | 137 (void)memcpy_s(&pLogInfo->flag, sizeof(pLogInfo->flag), LOG_FLAG, strlen(LOG_FLAG)); in Dump() 178 if (memcmp(pLogInfo->flag, LOG_FLAG, strlen(LOG_FLAG)) == 0) { in GetLastLogInfo() 201 if (memcmp(pLogInfo->flag, LOG_FLAG, strlen(LOG_FLAG)) == 0) { in SaveLastLog()
|
/kernel/liteos_a/apps/lms/src/ |
H A D | sample_usr_lms.c | 184 (int)strlen(testStr) + 1);
in LmsStrcpyTest() 204 testStr, buf, strlen(testStr) + strlen(buf) + 1);
in LmsStrcatTest()
|
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_attr.c | 1077 return strlen(buf); in lpfc_link_state_store() 1450 return strlen(buf); in lpfc_issue_reset() 1669 strlen("enable"))) { in lpfc_set_trunking() 1670 pval = buff_out + strlen("enable") + 1; in lpfc_set_trunking() 1675 strlen("disable"))) { in lpfc_set_trunking() 1821 return strlen(buf); in lpfc_board_mode_store() 2247 return strlen(buf); in lpfc_poll_store() 2471 return strlen(buf);\ 2624 return strlen(buf);\ 2759 if ((cnt != strlen(lpfc_soft_wwn_ke in lpfc_soft_wwn_enable_store() [all...] |
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | util.c | 112 * This function assumes that strncmp(w1, w2, strlen(w1)) != 0 if w1 != w2. 141 del = pos + strlen(pos); in tomoyo_read_token() 386 const int len = strlen(find); in tomoyo_str_starts() 515 return tomoyo_correct_word2(string, strlen(string)); in tomoyo_correct_word() 544 return tomoyo_correct_path2(filename, strlen(filename)); in tomoyo_correct_path() 589 len = strlen(buffer); in tomoyo_domain_def() 675 const int len = strlen(name); in tomoyo_fill_path_info() 857 f_delimiter = f + strlen(f); in tomoyo_path_matches_pattern2() 860 p_delimiter = p + strlen(p); in tomoyo_path_matches_pattern2()
|
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | util.c | 112 * This function assumes that strncmp(w1, w2, strlen(w1)) != 0 if w1 != w2. 141 del = pos + strlen(pos); in tomoyo_read_token() 386 const int len = strlen(find); in tomoyo_str_starts() 520 return tomoyo_correct_word2(string, strlen(string)); in tomoyo_correct_word() 549 return tomoyo_correct_path2(filename, strlen(filename)); in tomoyo_correct_path() 594 len = strlen(buffer); in tomoyo_domain_def() 680 const int len = strlen(name); in tomoyo_fill_path_info() 862 f_delimiter = f + strlen(f); in tomoyo_path_matches_pattern2() 865 p_delimiter = p + strlen(p); in tomoyo_path_matches_pattern2()
|
/kernel/liteos_m/testsuites/unittest/xts/ipc/msg_queue/ |
H A D | mq_test.c | 61 ICUNIT_ASSERT_EQUAL(ret, strlen(qName), ret); 105 ICUNIT_ASSERT_EQUAL(ret, strlen(qName), ret); 151 ICUNIT_ASSERT_EQUAL(ret, strlen(qName), ret); 201 ICUNIT_ASSERT_EQUAL(ret, strlen(qName), ret); 270 ICUNIT_ASSERT_EQUAL(ret, strlen(qName), ret); 347 ICUNIT_ASSERT_EQUAL(ret, strlen(qName), ret); 426 ICUNIT_ASSERT_EQUAL(ret, strlen(qName), ret); 470 ICUNIT_ASSERT_EQUAL(ret, strlen(qName), ret);
|
/kernel/linux/linux-5.10/scripts/kconfig/ |
H A D | confdata.c | 136 if (depfile_prefix_len + strlen(name) + 3 > sizeof(depfile_path)) in conf_touch_dep() 269 memmove(p2, p2 + 1, strlen(p2)); in conf_set_sym_val() 417 if (memcmp(line + 2, CONFIG_, strlen(CONFIG_))) in conf_read_simple() 419 p = strchr(line + 2 + strlen(CONFIG_), ' '); in conf_read_simple() 426 sym = sym_find(line + 2 + strlen(CONFIG_)); in conf_read_simple() 432 sym = sym_lookup(line + 2 + strlen(CONFIG_), 0); in conf_read_simple() 448 } else if (memcmp(line, CONFIG_, strlen(CONFIG_)) == 0) { in conf_read_simple() 449 p = strchr(line + strlen(CONFIG_), '='); in conf_read_simple() 460 sym = sym_find(line + strlen(CONFIG_)); in conf_read_simple() 469 conf_touch_dep(line + strlen(CONFIG in conf_read_simple() [all...] |
/kernel/linux/linux-5.10/tools/perf/pmu-events/ |
H A D | jevents.c | 106 unsigned int len = strlen(a) + 1 + strlen(sep); in addfield() 107 int olen = *dst ? strlen(*dst) : 0; in addfield() 135 char *e = s + strlen(s); in fixdesc() 307 for (i = 0; i < (int) strlen(tp); i++) { in get_topic() 730 for (i = 0; i < strlen(tblname); i++) { in file_name_to_table_name() 827 if (line[strlen(line)-1] != '\n') { in process_mapfile() 834 line[strlen(line)-1] = '\0'; in process_mapfile() 950 if (strlen(name) < 5) in is_json_file() 953 suffix = name + strlen(nam in is_json_file() [all...] |
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | efibc.c | 18 for (i = 0; i < strlen(str); i++) in efibc_str_to_str16() 29 size_t size = (strlen(value) + 1) * sizeof(efi_char16_t); in efibc_set_variable()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | dbhistry.c | 50 cmd_len = (u16)strlen(command_line); in acpi_db_add_to_history() 59 strlen(acpi_gbl_history_buffer[acpi_gbl_next_history_index]. in acpi_db_add_to_history()
|
H A D | tbfind.c | 51 if ((strlen(oem_id) > ACPI_OEM_ID_SIZE) || in acpi_tb_find_table() 52 (strlen(oem_table_id) > ACPI_OEM_TABLE_ID_SIZE)) { in acpi_tb_find_table()
|