Searched refs:strncmp (Results 26 - 50 of 92) sorted by relevance

1234

/fuchsia/zircon/kernel/target/arm64/boot-shim/
H A Dboot-shim.c82 } else if (!strncmp(name, "cpu@", 4)) {
135 if (!strncmp((const char *)data, "arm,gic-v3", size)) {
137 } else if (!strncmp((const char *)data, "arm,cortex-a15-gic", size)) {
H A Drules.mk22 kernel/lib/libc/string/strncmp.c \
/fuchsia/zircon/system/dev/bus/acpi/
H A Ddev-pwrbtn.cpp135 !strncmp(info->HardwareId.String, "PNP0C0C", info->HardwareId.Length)) {
139 (!strncmp(info->HardwareId.String, "MSHW0028", info->HardwareId.Length) ||
140 !strncmp(info->HardwareId.String, "MSHW0040", info->HardwareId.Length))) {
H A Dpciroot.cpp94 if (!strncmp(cid->String, I2C_HID_CID_STRING, CID_LENGTH)) {
/fuchsia/zircon/kernel/kernel/
H A Dcmdline.cpp98 if (!strncmp(ptr, key, sz) && (ptr[sz] == '=' || ptr[sz] == '\0')) {
/fuchsia/zircon/system/uapp/clock/
H A Dclkctl.c32 if (!strncmp(*arg, prefix, strlen(prefix))) {
/fuchsia/zircon/third_party/lib/acpica/source/tools/acpixtract/
H A Daxutils.c131 if (!strncmp (Signature, "RSD ", 4))
H A Dacpixtract.c429 if (!strncmp (TableHeader->Signature, "RSD PTR ", 8))
/fuchsia/zircon/system/utest/runtests-utils/
H A Druntests-utils-test.cpp676 EXPECT_EQ(0, strncmp(kExpectedJSONOutputPrefix, &buf[buf_index],
680 if (!strncmp(expected_pass_output_buf.c_str(), &buf[buf_index],
683 EXPECT_EQ(0, strncmp(",\n", &buf[buf_index], sizeof(",\n") - 1));
685 EXPECT_EQ(0, strncmp(expected_fail_output_buf.c_str(), &buf[buf_index],
688 } else if (!strncmp(expected_fail_output_buf.c_str(), &buf[buf_index],
691 EXPECT_EQ(0, strncmp(",\n", &buf[buf_index], sizeof(",\n") - 1));
693 EXPECT_EQ(0, strncmp(expected_pass_output_buf.c_str(), &buf[buf_index],
754 if (!strncmp(kExpectedOutputsStr, &buf[buf_index],
/fuchsia/zircon/kernel/lib/counters/
H A Dcounters.cpp45 return strncmp(pre, str, strlen(pre)) == 0;
/fuchsia/zircon/system/uapp/ping/
H A Dping.cpp40 if (!strncmp(argv[0], "-c", strlen("-c"))) {
/fuchsia/zircon/system/ulib/minfs/include/minfs/
H A Dhost.h30 if (strncmp(path, PATH_PREFIX, PREFIX_SIZE)) {
/fuchsia/zircon/system/utest/digest/
H A Ddigest.cpp38 ASSERT_EQ(strncmp(kZeroDigest, buf, sizeof(buf)), 0, __FUNCTION__);
/fuchsia/zircon/third_party/lib/acpica/source/compiler/
H A Daslfileio.c280 if (!strncmp (Format, "#line", 5))
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dtab.c84 if (strncmp(state->file_prefix, de->d_name, file_prefix_len)) {
/fuchsia/zircon/bootloader/src/
H A Dnetboot.c120 if (!strncmp((char*)msg->data, NB_FILENAME_PREFIX, prefix_len)) {
195 if (!strncmp(filename, NB_FILENAME_PREFIX, prefix_len)) {
/fuchsia/zircon/system/ulib/tftp/
H A Dtftp-example.c305 if (!strncmp(argv[1], "-s", 2)) {
315 } else if (!strncmp(argv[1], "-r", 2)) {
/fuchsia/zircon/system/utest/core/resource/
H A Dresource.cpp82 EXPECT_EQ(0, strncmp(root_name, info.name, ZX_MAX_NAME_LEN));
98 EXPECT_EQ(0, strncmp(info.name, mmio_name, ZX_MAX_NAME_LEN));
/fuchsia/zircon/system/host/bootserver/
H A Dbootserver.c86 if (!strncmp(name, NB_FILENAME_PREFIX, prefix_len)) {
553 if (!strncmp(var, "nodename=", 9)) {
555 } else if (!strncmp(var, "version=", 8)) {
/fuchsia/zircon/system/host/minfs/
H A Dmain.cpp43 if (strncmp(path, PATH_PREFIX, PREFIX_SIZE)) {
397 if (strncmp(path, PATH_PREFIX, PREFIX_SIZE)) {
495 if (!strncmp(path, PATH_PREFIX, strlen(path))) {
/fuchsia/zircon/system/uapp/netdump/
H A Dnetdump.c342 if (!strncmp(argv[0], "-c", strlen("-c"))) {
380 } else if (!strncmp(argv[0], "-vv", sizeof("-vv"))) {
/fuchsia/zircon/system/core/devmgr/
H A Ddevmgr.cpp345 if (!strncmp(*e, "virtcon.", 8)) {
778 if (!strncmp(*e, "zircon.system", strlen("zircon.system"))) {
794 if (strncmp(path, "/boot/", 6)) {
843 } else if (!strncmp(path, "dev/", 4)) {
/fuchsia/zircon/system/uapp/dd/
H A Dmain.c39 if (!strncmp(*arg, prefix, strlen(prefix))) {
/fuchsia/zircon/system/uapp/ethtool/
H A Dethtool.c78 if (strncmp(argv[0], "/dev/", strlen("/dev/"))) {
/fuchsia/zircon/system/uapp/psutils/
H A Dthreads.cpp227 } else if (strncmp(arg, "-v", 2) == 0) {

Completed in 107 milliseconds

1234