Searched refs:strncmp (Results 1 - 25 of 92) sorted by relevance

1234

/fuchsia/zircon/kernel/lib/libc/string/
H A Dstrncmp.c12 strncmp(char const *cs, char const *ct, size_t count) function
H A Drules.mk26 strncmp \
/fuchsia/zircon/third_party/ulib/musl/src/string/
H A Dstrncmp.c3 int strncmp(const char* _l, const char* _r, size_t n) { function
/fuchsia/zircon/third_party/ulib/musl/src/env/
H A Dgetenv.c10 for (i = 0; __environ[i] && (strncmp(name, __environ[i], l) || __environ[i][l] != '='); i++)
/fuchsia/zircon/third_party/ulib/musl/src/misc/
H A Dgetsubopt.c17 if (strncmp(keys[i], s, l))
/fuchsia/zircon/third_party/ulib/musl/src/network/
H A Dresolvconf.c42 if (!strncmp(line, "options", 7) && isspace(line[7])) {
66 if (!strncmp(line, "nameserver", 10) && isspace(line[10])) {
81 if ((strncmp(line, "domain", 6) && strncmp(line, "search", 6)) || !isspace(line[6]))
H A Dlookup_serv.c109 if (!strncmp(z, "/udp", 4)) {
116 if (!strncmp(z, "/tcp", 4)) {
/fuchsia/zircon/bootloader/include/
H A Dstring.h18 int strncmp(const char* s1, const char* s2, size_t len);
/fuchsia/zircon/system/uapp/waitfor/
H A Dwaitfor.c119 if ((r < len) || strncmp(arg, topo, len)) {
208 } else if (!strncmp(argv[1], "timeout=", 8)) {
214 } else if (!strncmp(argv[1], "class=", 6)) {
216 } else if (!strncmp(argv[1], "topo=", 5)) {
218 } else if (!strncmp(argv[1], "part.guid=", 10)) {
220 } else if (!strncmp(argv[1], "part.type.guid=", 15)) {
222 } else if (!strncmp(argv[1], "part.name=", 10)) {
/fuchsia/zircon/third_party/ulib/linenoise/
H A Dexample.c64 } else if (!strncmp(line,"/historylen",11)) {
/fuchsia/zircon/kernel/lib/libc/include/
H A Dstring.h27 int strncmp(char const *, char const *, size_t) __PURE;
/fuchsia/zircon/system/utest/fs/
H A Dtest-append.cpp40 ASSERT_EQ(strncmp(buf, hello, strlen(hello)), 0);
49 ASSERT_EQ(strncmp(buf, world, strlen(world)), 0);
63 ASSERT_EQ(strncmp(buf, hello, strlen(hello)), 0);
72 ASSERT_EQ(strncmp(buf, hello, strlen(hello)), 0);
73 ASSERT_EQ(strncmp(buf + strlen(hello), world, strlen(world)), 0);
/fuchsia/zircon/system/core/netsvc/
H A Dnetsvc.c134 if (!strncmp(argv[1], "--netboot", 9)) {
136 } else if (!strncmp(argv[1], "--advertise", 11)) {
138 } else if (!strncmp(argv[1], "--interface", 11)) {
/fuchsia/zircon/kernel/lib/crypto/entropy/
H A Dquality_test.cpp82 if (strncmp(candidate_name, src_name, ZX_MAX_NAME_LEN) == 0) {
89 if (strncmp(candidate_name, src_name, ZX_MAX_NAME_LEN) == 0) {
/fuchsia/zircon/system/host/loglistener/
H A Dloglistener.c100 if (strncmp(nodename, "*", 1) && strncmp(pkt->nodename, nodename, sizeof(pkt->nodename)))
/fuchsia/zircon/system/host/netprotocol/
H A Dnetls.c29 if (!strncmp(devices[i].nodename, nodename, sizeof(devices[i].nodename))) {
38 if (!strncmp(devices[i].nodename, nodename, sizeof(devices[i].nodename))) {
/fuchsia/zircon/bootloader/lib/
H A Dstring.c80 int strncmp(const char* s1, const char* s2, size_t len) { function
/fuchsia/zircon/system/core/userboot/
H A Doption.c51 !strncmp(arg, string, string_len)) {
/fuchsia/zircon/third_party/lib/acpica/source/include/acpica/
H A Dacclib.h110 strncmp (
/fuchsia/zircon/third_party/ulib/musl/include/
H A Dstring.h27 int strncmp(const char*, const char*, size_t);
/fuchsia/zircon/system/dev/bus/acpi/
H A Dinit.c37 if (!strncmp(info->HardwareId.String, GPE_HID_STRING, HID_LENGTH)) {
43 if (!strncmp(id->String, GPE_CID_STRING, CID_LENGTH)) {
/fuchsia/zircon/system/utest/stdio/
H A Dstdio.c41 ASSERT_EQ(strncmp(buffer, "hello", 5), 0, "Incorrect buffer read from pipe");
118 ASSERT_EQ(strncmp((char*)out, "ID ", 5), 0, "Got wrong stdout");
/fuchsia/zircon/third_party/lib/acpica/source/tools/acpisrc/
H A Dasconvrt.c160 if (!(strncmp (BraceInfo->Operator, SubBuffer, BraceInfo->Length)))
228 while (strncmp ("*/", SubBuffer, 2))
599 if (!strncmp (SubBuffer, "\n\n", 2))
872 if (!strncmp ("\n}", SubBuffer, 2))
960 (!strncmp (StartOfThisLine, "else if", 7) ||
961 !strncmp (StartOfThisLine, "else while", 10) ||
962 strncmp (StartOfThisLine, "else", 4)))
1521 if (!strncmp (SubString - InsertLength, InsertString, InsertLength))
/fuchsia/zircon/system/host/h2md/
H A Dh2md.c125 if (!strncmp(line + 1, "end", 3)) {
129 if (!strncmp(line + 1, "doc(", 4)) {
211 !strncmp(line, "static inline ", 14)) {
/fuchsia/zircon/third_party/lib/cortex-strings/src/aarch64/
H A Dstrncmp.S72 def_fn strncmp
222 .size strncmp, . - strncmp

Completed in 515 milliseconds

1234