Home
last modified time | relevance | path

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

/external/perfetto/src/traced/probes/ftrace/
Dftrace_config_utils.cc38 int slash_count = 0; in IsValidFtraceEventName() local
43 slash_count++; in IsValidFtraceEventName()
45 if (slash_count > 1 || i == 0 || i == str.size() - 1) in IsValidFtraceEventName()
/external/iproute2/devlink/
Ddevlink.c572 unsigned int slash_count; in dl_argv_handle_port() local
578 slash_count = strslashcount(str); in dl_argv_handle_port()
579 switch (slash_count) { in dl_argv_handle_port()
598 unsigned int slash_count; in dl_argv_handle_both() local
607 slash_count = strslashcount(str); in dl_argv_handle_both()
608 if (slash_count == 1) { in dl_argv_handle_both()
613 } else if (slash_count == 2) { in dl_argv_handle_both()
619 } else if (slash_count == 0) { in dl_argv_handle_both()