Searched defs:lhs (Results 1 - 25 of 505) sorted by last modified time

1234567891011>>

/external/zlib/src/contrib/dotzlib/DotZLib/
H A DUnitTests.cs30 public static bool byteArrEqual( byte[] lhs, byte[] rhs ) argument
32 if (lhs.Length != rhs.Length)
34 for (int i = lhs.Length-1; i >= 0; --i)
35 if (lhs[i] != rhs[i])
/external/webrtc/webrtc/base/
H A Dhttpcommon.h185 bool operator()(const std::string& lhs, const std::string& rhs) const { argument
186 return (::_stricmp(lhs.c_str(), rhs.c_str()) < 0);
H A Dproxydetect.cc280 bool Better(ProxyType lhs, const ProxyType rhs) { argument
283 return (PROXY_VALUE[lhs] > PROXY_VALUE[rhs]);
/external/webrtc/webrtc/modules/audio_processing/beamformer/
H A Darray_util_unittest.cc23 bool operator==(const Point& lhs, const Point& rhs) { argument
24 return lhs.x() == rhs.x() && lhs.y() == rhs.y() && lhs.z() == rhs.z();
H A Dmatrix.h173 Matrix& Add(const Matrix& lhs, const Matrix& rhs) { argument
174 CopyFrom(lhs);
189 Matrix& Subtract(const Matrix& lhs, const Matrix& rhs) { argument
190 CopyFrom(lhs);
205 Matrix& PointwiseMultiply(const Matrix& lhs, const Matrix& rhs) { argument
206 CopyFrom(lhs);
221 Matrix& PointwiseDivide(const Matrix& lhs, const Matrix& rhs) { argument
222 CopyFrom(lhs);
265 Matrix& Multiply(const Matrix& lhs, const Matrix& rhs) { argument
266 RTC_CHECK_EQ(lhs
348 Multiply(const T* const* lhs, size_t num_rows_rhs, const T* const* rhs) argument
[all...]
H A Dnonlinear_beamformer.cc102 // Does conjugate(|lhs|) * |rhs| for row vectors |lhs| and |rhs|.
103 complex<float> ConjugateDotProduct(const ComplexMatrix<float>& lhs, argument
105 RTC_CHECK_EQ(1u, lhs.num_rows());
107 RTC_CHECK_EQ(lhs.num_columns(), rhs.num_columns());
109 const complex<float>* const* lhs_elements = lhs.elements();
113 for (size_t i = 0; i < lhs.num_columns(); ++i) {
/external/webrtc/webrtc/system_wrappers/include/
H A Dtick_util.h62 friend TickTime operator+(const TickTime lhs, const int64_t ticks);
65 // Returns a TickInterval that is the difference in ticks beween rhs and lhs.
66 friend TickInterval operator-(const TickTime& lhs, const TickTime& rhs);
84 friend TickInterval operator+(const TickInterval& lhs,
88 // Returns a TickInterval corresponding to rhs - lhs.
89 friend TickInterval operator-(const TickInterval& lhs,
93 friend bool operator>(const TickInterval& lhs, const TickInterval& rhs);
94 friend bool operator<=(const TickInterval& lhs, const TickInterval& rhs);
95 friend bool operator<(const TickInterval& lhs, const TickInterval& rhs);
96 friend bool operator>=(const TickInterval& lhs, cons
114 operator +(const TickInterval& lhs, const TickInterval& rhs) argument
119 operator -(const TickInterval& lhs, const TickInterval& rhs) argument
124 operator -(const TickTime& lhs, const TickTime& rhs) argument
128 operator +(const TickTime lhs, const int64_t ticks) argument
134 operator >(const TickInterval& lhs, const TickInterval& rhs) argument
138 operator <=(const TickInterval& lhs, const TickInterval& rhs) argument
142 operator <(const TickInterval& lhs, const TickInterval& rhs) argument
146 operator >=(const TickInterval& lhs, const TickInterval& rhs) argument
[all...]
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/
H A Dgtest-all.cc2360 bool String::CStringEquals(const char * lhs, const char * rhs) { argument
2361 if ( lhs == NULL ) return rhs == NULL;
2365 return strcmp(lhs, rhs) == 0;
2555 const FloatingPoint<RawType> lhs(val1), rhs(val2);
2556 if (lhs.AlmostEquals(rhs)) {
3021 bool String::WideCStringEquals(const wchar_t * lhs, const wchar_t * rhs) { argument
3022 if (lhs == NULL) return rhs == NULL;
3026 return wcscmp(lhs, rhs) == 0;
3066 bool String::CaseInsensitiveCStringEquals(const char * lhs, const char * rhs) { argument
3067 if (lhs
3086 CaseInsensitiveWideCStringEquals(const wchar_t* lhs, const wchar_t* rhs) argument
[all...]
H A Dgtest.h3423 static bool CStringEquals(const char* lhs, const char* rhs);
3437 static bool WideCStringEquals(const wchar_t* lhs, const wchar_t* rhs);
3445 static bool CaseInsensitiveCStringEquals(const char* lhs,
3460 static bool CaseInsensitiveWideCStringEquals(const wchar_t* lhs,
7846 bool ArrayEq(const T* lhs, size_t size, const U* rhs);
7850 inline bool ArrayEq(const T& lhs, const U& rhs) { return lhs == rhs; } argument
7854 inline bool ArrayEq(const T(&lhs)[N], const U(&rhs)[N]) {
7855 return internal::ArrayEq(lhs, N, rhs);
7862 bool ArrayEq(const T* lhs, size_ argument
[all...]
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
H A Dgtest-internal.h885 bool ArrayEq(const T* lhs, size_t size, const U* rhs);
889 inline bool ArrayEq(const T& lhs, const U& rhs) { return lhs == rhs; } argument
893 inline bool ArrayEq(const T(&lhs)[N], const U(&rhs)[N]) {
894 return internal::ArrayEq(lhs, N, rhs);
901 bool ArrayEq(const T* lhs, size_t size, const U* rhs) { argument
903 if (!internal::ArrayEq(lhs[i], rhs[i]))
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
H A Dgtest.cc876 bool String::CStringEquals(const char * lhs, const char * rhs) { argument
877 if ( lhs == NULL ) return rhs == NULL;
881 return strcmp(lhs, rhs) == 0;
1071 const FloatingPoint<RawType> lhs(val1), rhs(val2);
1072 if (lhs.AlmostEquals(rhs)) {
1537 bool String::WideCStringEquals(const wchar_t * lhs, const wchar_t * rhs) { argument
1538 if (lhs == NULL) return rhs == NULL;
1542 return wcscmp(lhs, rhs) == 0;
1582 bool String::CaseInsensitiveCStringEquals(const char * lhs, const char * rhs) { argument
1583 if (lhs
1602 CaseInsensitiveWideCStringEquals(const wchar_t* lhs, const wchar_t* rhs) argument
[all...]
/external/valgrind/drd/
H A Ddrd_bitmap.c943 * Return True if the two bitmaps *lhs and *rhs are identical, and false
946 Bool DRD_(bm_equal)(struct bitmap* const lhs, struct bitmap* const rhs) argument
952 /* so complain if lhs == rhs. */
953 tl_assert(lhs != rhs);
955 VG_(OSetGen_ResetIter)(lhs->oset);
958 for ( ; (bm2l = VG_(OSetGen_Next)(lhs->oset)) != 0; )
961 && ! DRD_(bm_has_any_access)(lhs,
965 bm2l = VG_(OSetGen_Next)(lhs->oset);
1017 /** Merge bitmaps *lhs and *rhs into *lhs
1018 bm_merge2(struct bitmap* const lhs, struct bitmap* const rhs) argument
1109 bm_merge2_marked(struct bitmap* const lhs, struct bitmap* const rhs) argument
1160 bm_has_races(struct bitmap* const lhs, struct bitmap* const rhs) argument
[all...]
H A Ddrd_vc.c78 /** Assignment operator -- *lhs is already a valid vector clock. */
79 void DRD_(vc_assign)(VectorClock* const lhs, const VectorClock* const rhs) argument
81 DRD_(vc_cleanup)(lhs);
82 DRD_(vc_copy)(lhs, rhs);
/external/v8/src/arm/
H A Dcode-stubs-arm.cc50 Register lhs,
56 Register lhs,
188 // Handle the case where the lhs and rhs are the same object.
302 Register lhs,
307 DCHECK((lhs.is(r0) && rhs.is(r1)) ||
308 (lhs.is(r1) && rhs.is(r0)));
316 // If rhs is not a number and lhs is a Smi then strict equality cannot
330 // Convert lhs to a double in d7.
331 __ SmiToDouble(d7, lhs);
335 // We now have both loaded as doubles but we can skip the lhs na
301 EmitSmiNonsmiComparison(MacroAssembler* masm, Register lhs, Register rhs, Label* lhs_not_nan, Label* slow, bool strict) argument
366 EmitStrictTwoHeapObjectCompare(MacroAssembler* masm, Register lhs, Register rhs) argument
409 EmitCheckForTwoHeapNumbers(MacroAssembler* masm, Register lhs, Register rhs, Label* both_loaded_as_doubles, Label* not_heap_numbers, Label* slow) argument
435 EmitCheckForInternalizedStringsOrObjects(MacroAssembler* masm, Register lhs, Register rhs, Label* possible_strings, Label* runtime_call) argument
518 Register lhs = r1; local
[all...]
/external/v8/src/arm64/
H A Dcode-stubs-arm64.cc453 Register lhs = x1; local
459 CompareICStub_CheckInputType(masm, lhs, left(), &miss);
465 __ JumpIfEitherNotSmi(lhs, rhs, &not_two_smis);
466 __ SmiUntag(lhs);
467 __ Sub(result, lhs, Operand::UntagSmi(rhs));
477 EmitIdenticalObjectComparison(masm, lhs, rhs, x10, d0, &slow, cond);
481 __ JumpIfBothNotSmi(lhs, rhs, &not_smis);
493 EmitSmiNonsmiComparison(masm, lhs, rhs, lhs_d, rhs_d, &slow, strict());
528 __ Ldr(lhs_map, FieldMemOperand(lhs, HeapObject::kMapOffset));
535 EmitStrictTwoHeapObjectCompare(masm, lhs, rh
2352 Register lhs = x1; local
2415 Register lhs = x1; local
2454 Register lhs = x1; local
2495 Register lhs = x1; local
2581 Register lhs = x1; local
2606 Register lhs = x1; local
[all...]
H A Dmacro-assembler-arm64-inl.h1604 void MacroAssembler::CompareAndBranch(const Register& lhs, argument
1611 Cbz(lhs, label);
1613 Cbnz(lhs, label);
1616 Cmp(lhs, rhs);
H A Dmacro-assembler-arm64.cc3627 void MacroAssembler::CompareAndSplit(const Register& lhs, argument
3638 CompareAndBranch(lhs, rhs, cond, if_true);
3640 CompareAndBranch(lhs, rhs, NegateCondition(cond), if_false);
3642 CompareAndBranch(lhs, rhs, cond, if_true);
/external/v8/src/
H A Dassembler.cc1670 bool operator==(ExternalReference lhs, ExternalReference rhs) { argument
1671 return lhs.address() == rhs.address();
1675 bool operator!=(ExternalReference lhs, ExternalReference rhs) { argument
1676 return !(lhs == rhs);
/external/v8/src/ast/
H A Dast-types.cc28 AstRangeType::Limits AstRangeType::Limits::Intersect(Limits lhs, Limits rhs) { argument
30 Limits result(lhs);
31 if (lhs.min < rhs.min) result.min = rhs.min;
32 if (lhs.max > rhs.max) result.max = rhs.max;
36 AstRangeType::Limits AstRangeType::Limits::Union(Limits lhs, Limits rhs) { argument
38 if (lhs.IsEmpty()) return rhs;
39 if (rhs.IsEmpty()) return lhs;
40 Limits result(lhs);
41 if (lhs.min > rhs.min) result.min = rhs.min;
42 if (lhs
46 Overlap(AstRangeType* lhs, AstRangeType* rhs) argument
53 Contains(AstRangeType* lhs, AstRangeType* rhs) argument
58 Contains(AstRangeType* lhs, AstConstantType* rhs) argument
837 IntersectAux(AstType* lhs, AstType* rhs, AstUnionType* result, int size, AstRangeType::Limits* lims, Zone* zone) argument
[all...]
H A Dast-value-factory.cc399 const AstRawString* lhs = static_cast<AstRawString*>(a); local
401 DCHECK_EQ(lhs->hash(), rhs->hash());
402 if (lhs->length() != rhs->length()) return false;
403 const unsigned char* l = lhs->raw_data();
406 if (lhs->is_one_byte()) {
/external/v8/src/base/
H A Dbits.cc28 int32_t SignedMulHigh32(int32_t lhs, int32_t rhs) { argument
29 int64_t const value = static_cast<int64_t>(lhs) * static_cast<int64_t>(rhs);
34 int32_t SignedMulHighAndAdd32(int32_t lhs, int32_t rhs, int32_t acc) { argument
36 bit_cast<uint32_t>(SignedMulHigh32(lhs, rhs)));
40 int32_t SignedDiv32(int32_t lhs, int32_t rhs) { argument
42 if (rhs == -1) return -lhs;
43 return lhs / rhs;
47 int32_t SignedMod32(int32_t lhs, int32_t rhs) { argument
49 return lhs % rhs;
68 int64_t SignedSaturatedAdd64(int64_t lhs, int64_ argument
75 SignedSaturatedSub64(int64_t lhs, int64_t rhs) argument
81 SignedMulOverflow32(int32_t lhs, int32_t rhs, int32_t* val) argument
89 SignedMulOverflow64(int64_t lhs, int64_t rhs, int64_t* val) argument
[all...]
H A Dbits.h215 // SignedAddOverflow32(lhs,rhs,val) performs a signed summation of |lhs| and
218 inline bool SignedAddOverflow32(int32_t lhs, int32_t rhs, int32_t* val) { argument
220 return __builtin_sadd_overflow(lhs, rhs, val);
222 uint32_t res = static_cast<uint32_t>(lhs) + static_cast<uint32_t>(rhs);
224 return ((res ^ lhs) & (res ^ rhs) & (1U << 31)) != 0;
229 // SignedSubOverflow32(lhs,rhs,val) performs a signed subtraction of |lhs| and
232 inline bool SignedSubOverflow32(int32_t lhs, int32_t rhs, int32_t* val) { argument
234 return __builtin_ssub_overflow(lhs, rh
250 SignedAddOverflow64(int64_t lhs, int64_t rhs, int64_t* val) argument
260 SignedSubOverflow64(int64_t lhs, int64_t rhs, int64_t* val) argument
295 UnsignedAddOverflow32(uint32_t lhs, uint32_t rhs, uint32_t* val) argument
307 UnsignedDiv32(uint32_t lhs, uint32_t rhs) argument
314 UnsignedMod32(uint32_t lhs, uint32_t rhs) argument
[all...]
H A Dlogging.h58 #define CHECK_OP(name, op, lhs, rhs) \
61 (lhs), (rhs), #lhs " " #op " " #rhs)) { \
72 #define CHECK_OP(name, op, lhs, rhs) CHECK((lhs)op(rhs))
82 std::string* MakeCheckOpString(Lhs const& lhs, Rhs const& rhs, argument
85 ss << msg << " (" << lhs << " vs. " << rhs << ")";
113 V8_INLINE std::string* Check##NAME##Impl(Lhs const& lhs, Rhs const& rhs, \
115 return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rh
[all...]
/external/v8/src/builtins/
H A Dbuiltins-number.cc607 // Load the current {lhs} and {rhs} values.
608 Node* lhs = var_lhs.value(); local
611 // Check if the {lhs} is a Smi or a HeapObject.
613 assembler->Branch(assembler->TaggedIsSmi(lhs), &if_lhsissmi,
627 assembler->BitcastTaggedToWord(lhs),
637 var_fadd_lhs.Bind(assembler->SmiToFloat64(lhs));
661 var_fadd_lhs.Bind(assembler->SmiToFloat64(lhs));
679 var_lhs.Bind(lhs);
717 // Load the map and instance type of {lhs}.
718 Node* lhs_instance_type = assembler->LoadInstanceType(lhs);
973 Node* lhs = var_lhs.value(); local
1151 Node* lhs = var_lhs.value(); local
1746 compiler::Node* lhs = assembler->Parameter(0); local
1755 compiler::Node* lhs = assembler->Parameter(0); local
1764 compiler::Node* lhs = assembler->Parameter(0); local
1773 compiler::Node* lhs = assembler->Parameter(0); local
1782 compiler::Node* lhs = assembler->Parameter(0); local
1791 compiler::Node* lhs = assembler->Parameter(0); local
1800 compiler::Node* lhs = assembler->Parameter(0); local
1809 compiler::Node* lhs = assembler->Parameter(0); local
[all...]
H A Dbuiltins-object.cc246 Node* lhs = assembler->HeapConstant( local
255 callable, context, assembler->CallStub(callable, context, lhs, string),

Completed in 413 milliseconds

1234567891011>>