/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/ |
H A D | strncmp.c | 3 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 D | strncmp-2.c | 3 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 D | strstr-asm-lib.c | 6 extern int strncmp(const char *, const char *, size_t); 26 if (strncmp (s1, s2, len) == 0)
|
/haiku-buildtools/binutils/libiberty/ |
H A D | rust-demangle.c | 44 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 D | strstr.c | 26 extern int strncmp (const void *, const void *, size_t); 37 if (strncmp (p, s2, len) == 0)
|
H A D | strncmp.c | 0 /* 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 D | strstr.c | 26 extern int strncmp (const void *, const void *, size_t); 37 if (strncmp (p, s2, len) == 0)
|
H A D | strncmp.c | 0 /* 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 D | strstr.c | 26 extern int strncmp (const void *, const void *, size_t); 37 if (strncmp (p, s2, len) == 0)
|
H A D | strncmp.c | 0 /* 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 D | strstr.c | 37 extern int strncmp (); 45 if (strncmp (p, s2, len) == 0)
|
/haiku-buildtools/legacy/binutils/cpu/ |
H A D | mt.opc | 161 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 D | mt.opc | 159 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 D | nextstep.h | 291 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 D | 20050218-1.c | 4 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 D | string-opt-18.c | 16 extern int strncmp(const char*, const char*, size_t); 57 if (strncmp(ptr,ptr,8) != 0)
|
/haiku-buildtools/legacy/gcc/libio/tests/ |
H A D | hounddog.cc | 39 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 D | putbackdog.cc | 49 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 D | sgs.h | 259 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 D | mt-asm.c | 120 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 D | mt-asm.c | 120 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 D | nested-3.c | 12 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 D | strncmp.c | 8 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 D | 3.cc | 43 VERIFY( std::strncmp(strlit, buf, strlitsize) == 0 );
|
H A D | 2.cc | 40 VERIFY( std::strncmp(strlit, buf, strlitsize) == 0 );
|