Lines Matching refs:strncmp
260 if (!strncmp(arch, "x86_64", 6) || !strncmp(arch, "aarch64", 7) || in perf_env__init_kernel_mode()
261 !strncmp(arch, "arm64", 5) || !strncmp(arch, "mips64", 6) || in perf_env__init_kernel_mode()
262 !strncmp(arch, "parisc64", 8) || !strncmp(arch, "riscv64", 7) || in perf_env__init_kernel_mode()
263 !strncmp(arch, "s390x", 5) || !strncmp(arch, "sparc64", 7)) in perf_env__init_kernel_mode()
433 if (!strcmp(arch, "sun4u") || !strncmp(arch, "sparc", 5)) in normalize_arch()
435 if (!strncmp(arch, "aarch64", 7) || !strncmp(arch, "arm64", 5)) in normalize_arch()
437 if (!strncmp(arch, "arm", 3) || !strcmp(arch, "sa110")) in normalize_arch()
439 if (!strncmp(arch, "s390", 4)) in normalize_arch()
441 if (!strncmp(arch, "parisc", 6)) in normalize_arch()
443 if (!strncmp(arch, "powerpc", 7) || !strncmp(arch, "ppc", 3)) in normalize_arch()
445 if (!strncmp(arch, "mips", 4)) in normalize_arch()
447 if (!strncmp(arch, "sh", 2) && isdigit(arch[2])) in normalize_arch()
449 if (!strncmp(arch, "loongarch", 9)) in normalize_arch()
569 if (!strncmp(env->cpu_pmu_caps[i], cap_eq, cap_size + 1)) { in perf_env__find_pmu_cap()
584 if (!strncmp(ptr[j], cap_eq, cap_size + 1)) { in perf_env__find_pmu_cap()