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

1234567891011>>

/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/
H A Dstrncmp.c3 Ensure all expected transformations of builtin strncmp occur and
10 extern int strncmp (const char *, const char *, size_t);
18 if (strncmp (s1, "hello world", 12) != 0)
20 if (strncmp ("hello world", s1, 12) != 0)
22 if (strncmp ("hello", "hello", 6) != 0)
24 if (strncmp ("hello", "hello", 2) != 0)
26 if (strncmp ("hello", "hello", 100) != 0)
28 if (strncmp (s1+10, "d", 100) != 0)
30 if (strncmp (10+s1, "d", 100) != 0)
32 if (strncmp ("
[all...]
H A Dstrncmp-2.c3 Ensure all expected transformations of builtin strncmp occur and
10 extern int strncmp (const char *, const char *, size_t);
17 at -O0 on all platforms to ensure the strncmp logic is correct. */
23 if (strncmp (++s2, "ello", 3) != 0 || s2 != s1+1)
26 if (strncmp ("ello", ++s2, 3) != 0 || s2 != s1+1)
29 if (strncmp (++s2, "ello", 4) != 0 || s2 != s1+1)
32 if (strncmp ("ello", ++s2, 4) != 0 || s2 != s1+1)
35 if (strncmp (++s2, "ello", 5) <= 0 || s2 != s1+1)
38 if (strncmp ("ello", ++s2, 5) >= 0 || s2 != s1+1)
41 if (strncmp (
[all...]
H A Dstrstr-asm-lib.c6 extern int strncmp(const char *, const char *, size_t);
26 if (strncmp (s1, s2, len) == 0)
/haiku-buildtools/binutils/libiberty/
H A Drust-demangle.c44 extern int strncmp(const char *s1, const char *s2, size_t n);
153 if (strncmp (str, hash_prefix, hash_prefix_len))
184 if (!strncmp (str, "$C$", 3))
186 else if (!strncmp (str, "$SP$", 4)
187 || !strncmp (str, "$BP$", 4)
188 || !strncmp (str, "$RF$", 4)
189 || !strncmp (str, "$LT$", 4)
190 || !strncmp (str, "$GT$", 4)
191 || !strncmp (str, "$LP$", 4)
192 || !strncmp (st
[all...]
H A Dstrstr.c26 extern int strncmp (const void *, const void *, size_t);
37 if (strncmp (p, s2, len) == 0)
H A Dstrncmp.c0 /* strncmp -- compare two strings, stop after n bytes.
6 @deftypefn Supplemental int strncmp (const char *@var{s1}, @
20 strncmp(const char *s1, const char *s2, register size_t n) function
/haiku-buildtools/gcc/libiberty/
H A Dstrstr.c26 extern int strncmp (const void *, const void *, size_t);
37 if (strncmp (p, s2, len) == 0)
H A Dstrncmp.c0 /* strncmp -- compare two strings, stop after n bytes.
6 @deftypefn Supplemental int strncmp (const char *@var{s1}, @
20 strncmp(const char *s1, const char *s2, register size_t n) function
/haiku-buildtools/legacy/binutils/libiberty/
H A Dstrstr.c26 extern int strncmp (const void *, const void *, size_t);
37 if (strncmp (p, s2, len) == 0)
H A Dstrncmp.c0 /* strncmp -- compare two strings, stop after n bytes.
6 @deftypefn Supplemental int strncmp (const char *@var{s1}, const char *@var{s2}, size_t @var{n})
19 strncmp(const char *s1, const char *s2, register size_t n) function
/haiku-buildtools/legacy/gcc/libiberty/
H A Dstrstr.c37 extern int strncmp ();
45 if (strncmp (p, s2, len) == 0)
/haiku-buildtools/legacy/binutils/cpu/
H A Dmt.opc161 else if (strncmp (*strp, "%hi16", 5) == 0)
166 else if (strncmp (*strp, "%lo16", 5) == 0)
262 if (strncmp (*strp, "dup", 3) == 0 || strncmp (*strp, "DUP", 3) == 0)
267 else if (strncmp (*strp, "xx", 2) == 0 || strncmp (*strp, "XX", 2) == 0)
287 if (strncmp (*strp, "all", 3) == 0 || strncmp (*strp, "ALL", 3) == 0)
292 else if (strncmp (*strp, "one", 3) == 0 || strncmp (*str
[all...]
/haiku-buildtools/binutils/cpu/
H A Dmt.opc159 else if (strncmp (*strp, "%hi16", 5) == 0)
164 else if (strncmp (*strp, "%lo16", 5) == 0)
260 if (strncmp (*strp, "dup", 3) == 0 || strncmp (*strp, "DUP", 3) == 0)
265 else if (strncmp (*strp, "xx", 2) == 0 || strncmp (*strp, "XX", 2) == 0)
285 if (strncmp (*strp, "all", 3) == 0 || strncmp (*strp, "ALL", 3) == 0)
290 else if (strncmp (*strp, "one", 3) == 0 || strncmp (*str
[all...]
/haiku-buildtools/legacy/gcc/gcc/config/
H A Dnextstep.h291 else if (!strncmp (NAME, "_OBJC_", 6)) fprintf (FILE, "L%s", NAME); \
292 else if (!strncmp (NAME, ".objc_class_name_", 17)) \
516 !strncmp (IDENTIFIER_POINTER (DECL_NAME (exp)), "_OBJC_", 6)) \
520 if (!strncmp (name, "_OBJC_CLASS_METHODS_", 20)) \
522 else if (!strncmp (name, "_OBJC_INSTANCE_METHODS_", 23)) \
524 else if (!strncmp (name, "_OBJC_CATEGORY_CLASS_METHODS_", 20)) \
526 else if (!strncmp (name, "_OBJC_CATEGORY_INSTANCE_METHODS_", 23)) \
528 else if (!strncmp (name, "_OBJC_CLASS_VARIABLES_", 22)) \
530 else if (!strncmp (name, "_OBJC_INSTANCE_VARIABLES_", 25)) \
532 else if (!strncmp (nam
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20050218-1.c4 extern int strncmp (const char *s1, const char *s2, size_t n);
15 if (strncmp (x + j, a[i], strlen (a[i])) != 0)
H A Dstring-opt-18.c16 extern int strncmp(const char*, const char*, size_t);
57 if (strncmp(ptr,ptr,8) != 0)
/haiku-buildtools/legacy/gcc/libio/tests/
H A Dhounddog.cc39 if (sb->sgetn(buffer, 8) == 8 && strncmp(buffer, "hounddog", 8) == 0)
44 if (sb->sgetn(buffer, 3) == 3 && strncmp(buffer, "dog", 3) == 0)
49 if (sb->sgetn(buffer, 5) == 5 && strncmp(buffer, "hound", 5) == 0)
59 if (argc > 1 && strncmp(argv[1], "-b", 2) == 0) {
H A Dputbackdog.cc49 if (count == 8 && strncmp(buffer, "hounddog", 8) == 0)
55 if (count == 3 && strncmp(buffer, "dog", 3) == 0)
61 if (count == 5 && strncmp(buffer, "hound", 5) == 0)
71 if (argc > 1 && strncmp(argv[1], "-b", 2) == 0) {
/haiku-buildtools/legacy/gcc/gcc/config/m68k/
H A Dsgs.h259 if (!strncmp ((PTR), "jbsr", 4)) \
272 if (!strncmp ((PTR), "swap", 4)) \
278 if (!strncmp ((PTR), "fmove", 5)) \
280 else if (!strncmp ((PTR), "ftst", 4)) \
282 else if (!strncmp ((PTR), "fbne", 4)) \
284 else if (!strncmp ((PTR), "fsne", 4)) \
286 else if (!strncmp ((PTR), "f%$move", 7)) \
291 else if (!strncmp ((PTR), "f%&move", 7)) \
332 if (!strncmp ((PTR), "jbsr", 4)) \
346 if (!strncmp ((PT
[all...]
/haiku-buildtools/legacy/binutils/opcodes/
H A Dmt-asm.c120 else if (strncmp (*strp, "%hi16", 5) == 0)
125 else if (strncmp (*strp, "%lo16", 5) == 0)
221 if (strncmp (*strp, "dup", 3) == 0 || strncmp (*strp, "DUP", 3) == 0)
226 else if (strncmp (*strp, "xx", 2) == 0 || strncmp (*strp, "XX", 2) == 0)
246 if (strncmp (*strp, "all", 3) == 0 || strncmp (*strp, "ALL", 3) == 0)
251 else if (strncmp (*strp, "one", 3) == 0 || strncmp (*str
[all...]
/haiku-buildtools/binutils/opcodes/
H A Dmt-asm.c120 else if (strncmp (*strp, "%hi16", 5) == 0)
125 else if (strncmp (*strp, "%lo16", 5) == 0)
221 if (strncmp (*strp, "dup", 3) == 0 || strncmp (*strp, "DUP", 3) == 0)
226 else if (strncmp (*strp, "xx", 2) == 0 || strncmp (*strp, "XX", 2) == 0)
246 if (strncmp (*strp, "all", 3) == 0 || strncmp (*strp, "ALL", 3) == 0)
251 else if (strncmp (*strp, "one", 3) == 0 || strncmp (*str
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/torture/stackalign/
H A Dnested-3.c12 extern int strncmp (const char *, const char *, size_t);
34 if (strncmp (p, "good", size) != 0)
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/lib/
H A Dstrncmp.c8 strncmp(const char *s1, const char *s2, size_t n) function
/haiku-buildtools/gcc/libstdc++-v3/testsuite/27_io/basic_filebuf/setbuf/char/
H A D3.cc43 VERIFY( std::strncmp(strlit, buf, strlitsize) == 0 );
H A D2.cc40 VERIFY( std::strncmp(strlit, buf, strlitsize) == 0 );

Completed in 382 milliseconds

1234567891011>>