/external/clang/test/CXX/lex/lex.literal/lex.ext/ |
p8.cpp | 7 constexpr bool streq(const char *p, const char *q) { function 8 return *p == *q && (!*p || streq(p+1, q+1)); 10 static_assert(streq(s, "foobarbazquux"), ""); 16 static_assert(streq(t, "foo"), "");
|
/toolchain/binutils/binutils-2.25/ld/ |
ldbuildid.c | 28 #define streq(a,b) strcmp ((a), (b)) == 0 macro 34 if ((streq (style, "md5")) || (streq (style, "sha1")) 36 || (streq (style, "uuid")) 47 if (streq (style, "md5") || streq (style, "uuid")) 50 if (streq (style, "sha1")) 103 if (streq (style, "md5")) 112 else if (streq (style, "sha1")) 122 else if (streq (style, "uuid") [all...] |
/external/clang/test/SemaCXX/ |
constexpr-duffs-device.cpp | 26 constexpr bool streq(const char *a, const char *b) { function 31 static_assert(streq(S().stuff, "Hello, world!"), "should be same"); 32 static_assert(!streq(S().stuff, "Something else"), "should be different");
|
cxx11-user-defined-literals.cpp | 47 constexpr bool streq(const char *p, const char *q) { function 48 return *p == *q && (!*p || streq(p+1, q+1)); 51 static_assert(streq(143.97_fractional_digits, "97"), ""); 52 static_assert(streq(0x786_fractional_digits, "0x786"), ""); 53 static_assert(streq(.4_fractional_digits, "4"), ""); 54 static_assert(streq(4._fractional_digits, ""), ""); 55 static_assert(streq(1e+97_fractional_digits, "1e+97"), ""); 56 static_assert(streq(0377_fractional_digits, "0377"), ""); 57 static_assert(streq(0377.5_fractional_digits, "5"), "");
|
/external/dtc/tests/ |
path-references.c | 38 if (!streq(p, checkpath)) 45 if (!streq(p, checkpath)) 59 if (!streq(p, "/")) 92 if ((!streq(p, "/node1") || !streq(p + strlen("/node1") + 1, "/node2")))
|
phandle_format.c | 47 if (streq(argv[2], "legacy")) 49 else if (streq(argv[2], "epapr")) 51 else if (streq(argv[2], "both"))
|
dtbs_equal_ordered.c | 113 if (!streq(name1, name2)) 128 if (!streq(name1, name2)) 155 && ((argc != 4) || !streq(argv[1], "-n")))
|
sw_tree1.c | 95 if (streq(argv[1], "resize")) { 98 } else if (streq(argv[1], "realloc")) {
|
/external/compiler-rt/make/ |
lib_util.mk | 20 $(if $(call streq,1,$(words $(Tmp.SelectFunctionDir))),\ 23 $(if $(call streq,0,$(words $(Tmp.SelectFunctionDir))),\ 31 $(if $(and $(call streq,Optimized,$($(key).Implementation)),\ 36 $(if $(and $(call streq,Optimized,$($(key).Implementation)),\ 40 $(if $(and $(call streq,Optimized,$($(key).Implementation)),\ 44 $(if $(call streq,Generic,$($(key).Implementation)),$(key)))) 63 $(if $(call streq,1,$(4)),\
|
util.mk | 6 # Function: streq LHS RHS 11 streq = $(if $(1),$(if $(subst $(1),,$(2))$(subst $(2),,$(1)),,true),$(if $(2),,true)) macro 16 strneq = $(if $(call streq,$(1),$(2)),,true) 21 contains = $(if $(strip $(foreach i,$(1),$(if $(call streq,$(2),$(i)),T,))),true,) 49 IsUndefined = $(call streq,undefined,$(flavor $(1))) 63 # foo = $(call streq,a,a) 66 # CHECKVALUE: foo: $(call streq,,) - true 88 $(if $(call streq,$($(1)),$(2)),,\
|
/external/compiler-rt/make/test/ |
test-util.mk | 3 streq_t0 = $(call streq,,) 5 streq_t1 = $(call streq,b,) 7 streq_t2 = $(call streq,,b) 9 streq_t3 = $(call streq,b,b) 11 streq_t4 = $(call streq,bb,b) 13 streq_t5 = $(call streq,b,bb) 15 streq_t6 = $(call streq,bb,bb)
|
/external/kmod/testsuite/ |
test-strbuf.c | 46 assert_return(streq(result1, TEXT), EXIT_FAILURE); 50 assert_return(streq(result1, result2), EXIT_FAILURE); 79 assert_return(streq(result1, TEXT), EXIT_FAILURE); 83 assert_return(!streq(TEXT, result2), EXIT_FAILURE);
|
test-dependencies.c | 59 if (streq(name, "mod_foo_a")) 61 if (streq(name, "mod_foo_b")) 63 else if (streq(name, "mod_foo_c"))
|
test-blacklist.c | 75 if (streq("pcspkr", modname) || streq("floppy", modname))
|
test-testsuite.c | 45 if (!streq(u.release, TEST_UNAME)) { 75 if (!streq(s, "kmod-test-chroot-works")) 108 if (!streq(buf, "kmod-test-chroot-works\n"))
|
test-util.c | 110 assert_return(streq(s, res), EXIT_FAILURE); 137 assert_return(streq(val, iter->res), EXIT_FAILURE);
|
/external/dtc/ |
dtc.c | 235 if (streq(optarg, "legacy")) 237 else if (streq(optarg, "epapr")) 239 else if (streq(optarg, "both")) 296 if (streq(inform, "dts")) 302 if (streq(inform, "dts")) 304 else if (streq(inform, "fs")) 306 else if(streq(inform, "dtb")) 343 if (streq(outname, "-")) { 352 if (streq(outform, "dts")) { 354 } else if (streq(outform, "dtb")) [all...] |
fstree.c | 42 if (streq(de->d_name, ".") 43 || streq(de->d_name, ".."))
|
/external/kmod/tools/ |
kmod.c | 135 if (streq(kmod_cmds[i]->name, cmd)) { 162 if (streq(kmod_compat_cmds[i]->name, cmd)) 173 if (streq(program_invocation_short_name, "kmod"))
|
modinfo.c | 100 if (streq(key, "parm")) { 130 if (!streq(key, "parm") && !streq(key, "parmtype")) 177 if (field != NULL && streq(field, "filename")) { 192 if (field != NULL && streq(field, "parm")) { 203 if (!streq(field, key)) 210 if (streq(key, "parm") || streq(key, "parmtype")) {
|
/bionic/libc/arch-arm/generic/bionic/ |
strcpy.S | 58 streq r3, [ip], #4 78 streq r4, [ip], #4
|
/toolchain/binutils/binutils-2.25/binutils/ |
elfcomm.h | 57 #define streq(a,b) (strcmp ((a), (b)) == 0) 56 #define streq macro
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
libcpuset.c | 295 static int streq(const char *s1, const char *s2) function 699 if (streq(optionname, "cpu_exclusive")) { 703 } else if (streq(optionname, "mem_exclusive")) { 707 } else if (streq(optionname, "mem_hardwall")) { 711 } else if (streq(optionname, "notify_on_release")) { 715 } else if (streq(optionname, "memory_pressure_enabled")) { 719 } else if (streq(optionname, "memory_migrate")) { 723 } else if (streq(optionname, "memory_spread_page")) { 727 } else if (streq(optionname, "memory_spread_slab")) { 731 } else if (streq(optionname, "sched_load_balance")) [all...] |
/prebuilts/go/darwin-x86/src/regexp/testdata/ |
testregex.c | 311 #ifndef streq 312 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b)) macro 889 if (streq(ans, "OK")) 1342 if (streq(state.file, "-") || streq(state.file, "/dev/stdin") || streq(state.file, "/dev/fd/0")) [all...] |
/prebuilts/go/linux-x86/src/regexp/testdata/ |
testregex.c | 311 #ifndef streq 312 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b)) macro 889 if (streq(ans, "OK")) 1342 if (streq(state.file, "-") || streq(state.file, "/dev/stdin") || streq(state.file, "/dev/fd/0")) [all...] |