/bionic/libc/stdlib/ |
putenv.c | 37 char *p, *equal; local 42 if ((equal = strchr(p, '=')) == NULL) { 46 *equal = '\0'; 47 rval = setenv(p, equal + 1, 1);
|
/external/valgrind/main/none/tests/x86/ |
bug126147-x86.c | 130 /* Complain if first two args don't strcmp as equal. */ 132 equal (const char *a, const char *b, int number) function 147 equal (one, "abc", 2); /* Did the copy go right? */ 151 equal (one, "xycdefgh", 3); /* Copy cut by count. */ 155 equal (one, "xyzdefgh", 4); 159 equal (one, "xyz", 5); 160 equal (one+4, "efgh", 6); /* Wrote too much? */ 164 equal (one, "xyz", 7); 165 equal (one+4, "", 8); 166 equal (one+5, "fgh", 9) [all...] |
/external/valgrind/main/memcheck/tests/ |
str_tester.c | 58 /* Complain if first two args don't strcmp as equal. */ 60 equal (const char *a, const char *b, int number) function 137 equal (one, "abcd", 2); /* Basic test. */ 140 equal (one, "x", 3); /* Writeover. */ 141 equal (one+2, "cd", 4); /* Wrote too much? */ 145 equal (one, "hi there", 5); /* Basic test encore. */ 146 equal (two, "hi there", 6); /* Stomped on source? */ 149 equal (one, "", 7); /* Boundary condition. */ 154 equal (one + i, "hi there", 8 + (i * 2)); 156 equal (two, "hi there", 9 + (i * 2)) [all...] |
/external/clang/test/Preprocessor/ |
output_paste_avoid.c | 31 #define equal = macro 32 F: >>equal
|
/external/clang/test/SemaCXX/ |
builtins.cpp | 13 int equal(const char *s1, const char *s2) { function 17 template int equal<&__builtin_strcmp>(const char*, const char*); // expected-error {{builtin functions must be directly called}} expected-error {{expected unqualified-id}} expected-error {{expected ')'}} expected-note {{to match this '('}}
|
/external/webkit/Source/WebCore/page/ |
SecurityOriginHash.h | 53 static bool equal(SecurityOrigin* a, SecurityOrigin* b) function in struct:WebCore::SecurityOriginHash 58 // equal without changing hash to match it. 61 return a->equal(b); 63 static bool equal(SecurityOrigin* a, const RefPtr<SecurityOrigin>& b) function in struct:WebCore::SecurityOriginHash 65 return equal(a, b.get()); 67 static bool equal(const RefPtr<SecurityOrigin>& a, SecurityOrigin* b) function in struct:WebCore::SecurityOriginHash 69 return equal(a.get(), b); 71 static bool equal(const RefPtr<SecurityOrigin>& a, const RefPtr<SecurityOrigin>& b) function in struct:WebCore::SecurityOriginHash 73 return equal(a.get(), b.get());
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldInputStreamTest.java | 89 boolean equal = true; 98 equal &= (b[i] == ref[i]); 100 assertTrue("Test 1: Wrong bytes read.", equal); 110 equal &= (b[i] == ref[i + 10]); 112 assertTrue("Test 2: Wrong bytes read.", equal); 169 boolean equal = true; 178 equal &= (b[i] == ref[i]); 180 assertTrue("Test 1: Wrong bytes read.", equal); 187 equal &= (b[i] == ref[i]); 189 assertTrue("Test 2: Wrong bytes read.", equal); [all...] |
/external/valgrind/main/none/tests/amd64/ |
cmpxchg.stdout.exp | 2 al!=cl so al should equal cl (Result al=33 bl=44 cl=33) 4 al==cl so cl should equal bl (Result al=55 bl=55 cl=55) 6 ax!=cx so ax should equal cx (Result ax=3333 bx=4444 cx=3333) 8 ax==cx so cx should equal bx (Result ax=5555 bx=5555 cx=5555) 10 eax!=ecx so eax should equal ecx (Result eax=33333333 ebx=44444444 ecx=33333333) 12 eax==ecx so ecx should equal ebx (Result eax=55555555 ebx=55555555 ecx=55555555) 14 rax!=rcx so rax should equal rcx (Result rax=333333333 rbx=444444444 rcx=333333333) 16 rax==rcx so ecx should equal rbx (Result rax=555555555 rbx=555555555 rcx=555555555)
|
/system/core/sh/ |
mystring.h | 44 #define equal(s1, s2) (strcmp(s1, s2) == 0) macro
|
/external/webkit/Source/WebCore/platform/ |
KURLHash.h | 41 static bool equal(const KURL& a, const KURL& b) function in struct:WebCore::KURLHash 43 return StringHash::equal(a.string(), b.string());
|
/external/guava/guava-tests/test/com/google/common/base/ |
ObjectsTest.java | 33 assertTrue(Objects.equal(1, 1)); 34 assertTrue(Objects.equal(null, null)); 39 assertTrue(Objects.equal(s1, s2)); 41 assertFalse(Objects.equal(s1, null)); 42 assertFalse(Objects.equal(null, s1)); 43 assertFalse(Objects.equal("foo", "bar")); 44 assertFalse(Objects.equal("1", 1));
|
/external/webkit/Source/JavaScriptCore/wtf/text/ |
StringHash.h | 44 static bool equal(const StringImpl* a, const StringImpl* b) function in struct:WTF::StringHash 84 static bool equal(const RefPtr<StringImpl>& a, const RefPtr<StringImpl>& b) function in struct:WTF::StringHash 86 return equal(a.get(), b.get()); 90 static bool equal(const String& a, const String& b) function in struct:WTF::StringHash 92 return equal(a.impl(), b.impl()); 120 static bool equal(const StringImpl* a, const StringImpl* b) function in class:WTF::CaseFoldingHash 137 static bool equal(const RefPtr<StringImpl>& a, const RefPtr<StringImpl>& b) function in class:WTF::CaseFoldingHash 139 return equal(a.get(), b.get()); 150 static bool equal(const String& a, const String& b) function in class:WTF::CaseFoldingHash 152 return equal(a.impl(), b.impl()) 154 static bool equal(const AtomicString& a, const AtomicString& b) function in class:WTF::CaseFoldingHash [all...] |
/system/core/sh/bltin/ |
echo.c | 73 if (equal(p, "-n")) { 76 } else if (equal(p, "-e")) {
|
/external/webkit/Source/JavaScriptCore/runtime/ |
Identifier.h | 76 static bool equal(const StringImpl*, const char*); 77 static bool equal(const StringImpl*, const UChar*, unsigned length); 78 static bool equal(const StringImpl* a, const StringImpl* b) { return ::equal(a, b); } function in class:JSC::Identifier 86 static bool equal(const Identifier& a, const Identifier& b) { return a.m_string.impl() == b.m_string.impl(); } function in class:JSC::Identifier 87 static bool equal(const Identifier& a, const char* b) { return equal(a.m_string.impl(), b); } function in class:JSC::Identifier 120 return Identifier::equal(a, b); 125 return !Identifier::equal(a, b); 130 return Identifier::equal(a, b) [all...] |
/external/okhttp/src/main/java/libcore/util/ |
Objects.java | 24 * Returns true if two possibly-null objects are equal. 26 public static boolean equal(Object a, Object b) { method in class:Objects
|
/frameworks/base/core/java/com/android/internal/util/ |
Objects.java | 27 * Determines whether two possibly-null objects are equal. Returns: 32 * equal according to {@link Object#equals(Object)}. 39 public static boolean equal(Object a, Object b) { method in class:Objects 56 * does not equal the hash code of that object.
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
AccountWithDataSet.java | 72 return Objects.equal(mAccountName, other.getAccountName()) 73 && Objects.equal(mAccountType, other.getAccountType()) 74 && Objects.equal(mDataSet, other.getDataSet()); 101 if (Objects.equal(systemAccount.name, getAccountName()) 102 && Objects.equal(systemAccount.type, getAccountType())) {
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/ |
envset.cmd | 24 =D the same as above but equal sign is not required 33 ; implies that the equal sign is considered a part of the parameter and is 36 -D requires parameters in the form name=value. If the equal sign is not found, 39 Other options have optional equal sign. If it is found, only the part after 40 the equal sign will be oprionally expanded. 54 equal = 0 65 equal = -1 67 when mode='-D' then equal = 1 95 addval: procedure expose sep equal orig expand newval mode env 100 if equal >= 0 then d [all...] |
/external/e2fsprogs/lib/ext2fs/ |
tst_badblocks.c | 271 int equal; local 319 equal = ext2fs_badblocks_equal(bb1, bb2); 320 printf("bb1 and bb2 are %sequal.\n", equal ? "" : "NOT "); 321 if (equal) 324 equal = ext2fs_badblocks_equal(bb1, bb3); 325 printf("bb1 and bb3 are %sequal.\n", equal ? "" : "NOT "); 326 if (!equal) 329 equal = ext2fs_badblocks_equal(bb1, bb4); 330 printf("bb1 and bb4 are %sequal.\n", equal ? "" : "NOT "); 331 if (equal) [all...] |
/frameworks/base/core/java/android/util/ |
Pair.java | 47 * equal 55 return Objects.equal(p.first, first) && Objects.equal(p.second, second);
|
/bionic/tests/ |
string_test.cpp | 33 bool equal = (strcmp("Unknown error 2002", strerror(2002)) == 0); local 34 return reinterpret_cast<void*>(equal); 92 bool equal = (strcmp("Unknown signal 2002", strsignal(2002)) == 0); local 93 return reinterpret_cast<void*>(equal);
|
/external/webkit/Source/WebCore/platform/graphics/ |
IntRectHash.h | 42 static bool equal(const WebCore::IntRect& a, const WebCore::IntRect& b) function in struct:WTF::IntHash 44 return DefaultHash<WebCore::IntPoint>::Hash::equal(a.location(), b.location()) && DefaultHash<WebCore::IntSize>::Hash::equal(a.size(), b.size());
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
SuggestionCursorUtil.java | 19 import static com.google.common.base.Objects.equal; 199 return equal(expected.getSuggestionSource(), observed.getSuggestionSource()) 200 && equal(expected.getShortcutId(), observed.getShortcutId()) 201 && equal(expected.isSpinnerWhileRefreshing(), observed.isSpinnerWhileRefreshing()) 202 && equal(expected.getSuggestionFormat(), observed.getSuggestionFormat()) 203 && equal(expected.getSuggestionIcon1(), observed.getSuggestionIcon1()) 204 && equal(expected.getSuggestionIcon2(), observed.getSuggestionIcon2()) 205 && equal(expected.getSuggestionText1(), observed.getSuggestionText1()) 206 && equal(expected.getSuggestionText2(), observed.getSuggestionText2()) 207 && equal(expected.getSuggestionText2Url(), observed.getSuggestionText2Url() [all...] |
/external/webkit/Source/WebCore/plugins/ |
PluginPackage.h | 68 static bool equal(const PluginPackage& a, const PluginPackage& b); 142 static bool equal(const uintptr_t a, const uintptr_t b) { return equal(reinterpret_cast<PluginPackage*>(a), reinterpret_cast<PluginPackage*>(b)); } function in struct:WebCore::PluginPackageHash 143 static bool equal(const RefPtr<PluginPackage>& a, const RefPtr<PluginPackage>& b) { return PluginPackage::equal(*a.get(), *b.get()); } function in struct:WebCore::PluginPackageHash
|
/external/webkit/Source/JavaScriptCore/wtf/ |
HashFunctions.h | 91 static bool equal(T a, T b) { return a == b; } function in struct:WTF::IntHash 105 static bool equal(T a, T b) { return a == b; } function in struct:WTF::FloatHash 123 static bool equal(T a, T b) { return a == b; } function in struct:WTF::PtrHash 129 using PtrHash<P*>::equal; 130 static bool equal(const RefPtr<P>& a, const RefPtr<P>& b) { return a == b; } function in struct:WTF::PtrHash 131 static bool equal(P* a, const RefPtr<P>& b) { return a == b; } function in struct:WTF::PtrHash 132 static bool equal(const RefPtr<P>& a, P* b) { return a == b; } function in struct:WTF::PtrHash 144 static bool equal(const std::pair<T, U>& a, const std::pair<T, U>& b) function in struct:WTF::PairHash 146 return DefaultHash<T>::Hash::equal(a.first, b.first) && DefaultHash<U>::Hash::equal(a.second, b.second) [all...] |