Home
last modified time | relevance | path

Searched refs:kMask (Results 1 – 25 of 60) sorted by relevance

123

/external/v8/src/objects/
Dproperty-descriptor-object.h38 HasEnumerableBit::kMask | HasConfigurableBit::kMask | HasGetBit::kMask |
39 HasSetBit::kMask;
42 HasEnumerableBit::kMask | HasConfigurableBit::kMask |
43 HasWritableBit::kMask | HasValueBit::kMask;
45 static const int kHasMask = HasEnumerableBit::kMask |
46 HasConfigurableBit::kMask |
47 HasWritableBit::kMask | HasValueBit::kMask |
48 HasGetBit::kMask | HasSetBit::kMask;
/external/v8/src/
Dunicode-inl.h15 CacheEntry entry = entries_[code_point & kMask]; in get()
23 entries_[code_point & kMask] = CacheEntry(code_point, result); in CalculateValue()
29 CacheEntry entry = entries_[c & kMask]; in get()
48 entries_[c & kMask] = CacheEntry(c, result[0] - c); in CalculateValue()
51 entries_[c & kMask] = CacheEntry(c, 0); in CalculateValue()
61 static const int kMask = ~(1 << 6); in EncodeOneByte() local
67 str[1] = 0x80 | (c & kMask); in EncodeOneByte()
79 static const int kMask = ~(1 << 6); in Encode() local
85 str[1] = 0x80 | (c & kMask); in Encode()
101 str[1] = 0x80 | ((c >> 6) & kMask); in Encode()
[all …]
Dunicode.h43 CodePointField::encode(CodePointField::kMask & code_point) | in CacheEntry()
45 DCHECK_IMPLIES((CodePointField::kMask & code_point) != code_point, in CacheEntry()
59 static const int kMask = kSize - 1; variable
86 static const int kMask = kSize - 1; variable
Dfield-index.h69 (IsInObjectBits::kMask | EncodingBits::kMask | OffsetBits::kMask); in GetFieldAccessStubKey()
Dglobal-handles.h307 static const int kMask = 0xff; variable
312 return &blocks_[index >> kShift][index & kMask]; in GetLocation()
Dutils.h329 static const U kMask = ((kOne << shift) << size) - (kOne << shift); variable
351 return (previous & ~kMask) | encode(value); in update()
356 return static_cast<T>((value & kMask) >> shift); in decode()
424 static const int kMask = (1 << kBitsPerItem) - 1; variable
439 return static_cast<T>((data >> shift(item)) & kMask); in decode()
446 return (previous & ~(kMask << shift_value)) | set_bits; in encode()
Dsource-position-table.cc60 MoreBit::encode(more) | ValueBits::encode(encoded & ValueBits::kMask); in EncodeInt()
/external/skia/bench/
DClipStrategyBench.cpp17 kMask, enumerator
88 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 1 );)
89 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 5 );)
90 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 10 );)
91 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 100);)
/external/skqp/bench/
DClipStrategyBench.cpp17 kMask, enumerator
88 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 1 );)
89 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 5 );)
90 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 10 );)
91 DEF_BENCH( return new ClipStrategyBench(ClipStrategyBench::Mode::kMask, 100);)
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
DRunQueue.h56 Elem* e = &array_[front & kMask]; in PushFront()
71 Elem* e = &array_[(front - 1) & kMask]; in PopFront()
88 Elem* e = &array_[(back - 1) & kMask]; in PushBack()
107 Elem* e = &array_[back & kMask]; in PopBack()
131 Elem* e = &array_[mid & kMask]; in PopBackHalf()
181 static const unsigned kMask = kSize - 1;
/external/tensorflow/tensorflow/stream_executor/
Ddevice_options.h54 static const unsigned kMask = 0xf; // Mask of all available flags. member
58 CHECK((flags & kMask) == flags); in DeviceOptions()
/external/boringssl/src/crypto/fipsmodule/ec/
Dp256-x86_64.c210 static const unsigned kMask = (1 << (5 /* kWindowSize */ + 1)) - 1; in ecp_nistz256_windowed_mul() local
249 wvalue = (wvalue >> ((index - 1) % 8)) & kMask; in ecp_nistz256_windowed_mul()
258 wvalue = (wvalue >> ((index - 1) % 8)) & kMask; in ecp_nistz256_windowed_mul()
281 wvalue = (wvalue << 1) & kMask; in ecp_nistz256_windowed_mul()
300 static const unsigned kMask = (1 << (7 /* kWindowSize */ + 1)) - 1; in calc_first_wvalue() local
303 unsigned wvalue = (p_str[0] << 1) & kMask; in calc_first_wvalue()
309 static const unsigned kMask = (1 << (7 /* kWindowSize */ + 1)) - 1; in calc_wvalue() local
313 wvalue = (wvalue >> ((*index - 1) % 8)) & kMask; in calc_wvalue()
/external/webp/src/dsp/
Dalpha_processing_sse2.c160 const __m128i alpha0_lo = _mm_or_si128(argb1_lo, kMask); \
161 const __m128i alpha0_hi = _mm_or_si128(argb1_hi, kMask); \
181 const __m128i kMask = _mm_set_epi16(0, 0xff, 0xff, 0, 0, 0xff, 0xff, 0); in ApplyAlphaMultiply_SSE2() local
278 const __m128i kMask = _mm_set_epi16(0, 0xff, 0, 0, 0, 0xff, 0, 0); in MultARGBRow_SSE2() local
284 const __m128i A2 = _mm_or_si128(A1, kMask); in MultARGBRow_SSE2()
/external/perfetto/src/trace_processor/
Dslice_tracker.cc182 constexpr uint64_t kMask = uint64_t(-1) >> 1; in GetStackHash() local
183 return static_cast<int64_t>((std::hash<std::string>{}(s)) & kMask); in GetStackHash()
/external/v8/src/base/utils/
Drandom-number-generator.h134 static const int64_t kMask = V8_2PART_UINT64_C(0xffff, ffffffff); variable
/external/v8/src/compiler/
Dlinkage.h119 return static_cast<int32_t>(bit_field_ & LocationField::kMask) >> in GetLocation()
155 ((location << LocationField::kShift) & LocationField::kMask); in LinkageLocation()
Deffect-control-linearizer.cc1178 __ Int32Constant(Map::IsUndetectableBit::kMask)), in TruncateTaggedPointerToBit()
1208 __ WordAnd(bitfield, __ IntPtrConstant(BigInt::LengthBits::kMask)), in TruncateTaggedPointerToBit()
1382 __ Int32Constant(Map::IsDeprecatedBit::kMask)), in LowerCheckMaps()
2133 __ Word32Equal(__ Int32Constant(Map::IsCallableBit::kMask), in LowerObjectIsCallable()
2135 __ Int32Constant(Map::IsCallableBit::kMask))); in LowerObjectIsCallable()
2158 __ Int32Constant(Map::IsConstructorBit::kMask), in LowerObjectIsConstructor()
2160 __ Int32Constant(Map::IsConstructorBit::kMask))); in LowerObjectIsConstructor()
2183 __ Int32Constant(Map::IsCallableBit::kMask), in LowerObjectIsDetectableCallable()
2185 __ Int32Constant((Map::IsCallableBit::kMask) | in LowerObjectIsDetectableCallable()
2186 (Map::IsUndetectableBit::kMask)))); in LowerObjectIsDetectableCallable()
[all …]
/external/skia/src/core/
DSkScan_DAAPath.cpp368 record->fType = SkDAARecord::Type::kMask; in DAAFillPath()
386 if (record->fType == SkDAARecord::Type::kMask) { in DAAFillPath()
DSkBitmapProcState.cpp541 static const unsigned kMask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in chooseShaderProc32() local
543 if (1 == fPixmap.width() && 0 == (fInvType & ~kMask)) { in chooseShaderProc32()
/external/skqp/src/core/
DSkScan_DAAPath.cpp368 record->fType = SkDAARecord::Type::kMask; in DAAFillPath()
386 if (record->fType == SkDAARecord::Type::kMask) { in DAAFillPath()
DSkBitmapProcState.cpp541 static const unsigned kMask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in chooseShaderProc32() local
543 if (1 == fPixmap.width() && 0 == (fInvType & ~kMask)) { in chooseShaderProc32()
/external/v8/src/builtins/x64/
Dbuiltins-x64.cc173 Immediate(SharedFunctionInfo::IsDerivedConstructorBit::kMask)); in Generate_JSConstructStubGeneric()
1842 Immediate(Map::IsConstructorBit::kMask)); in Generate_CallOrConstructForwardVarargs()
1921 Immediate(SharedFunctionInfo::IsClassConstructorBit::kMask)); in Generate_CallFunction()
1937 Immediate(SharedFunctionInfo::IsNativeBit::kMask | in Generate_CallFunction()
1938 SharedFunctionInfo::IsStrictBit::kMask)); in Generate_CallFunction()
2146 Immediate(Map::IsCallableBit::kMask)); in Generate_Call()
2191 Immediate(SharedFunctionInfo::ConstructAsBuiltinBit::kMask)); in Generate_ConstructFunction()
2244 Immediate(Map::IsConstructorBit::kMask)); in Generate_Construct()
/external/v8/src/builtins/arm/
Dbuiltins-arm.cc205 __ tst(r4, Operand(SharedFunctionInfo::IsDerivedConstructorBit::kMask)); in Generate_JSConstructStubGeneric()
1661 __ tst(scratch, Operand(Map::IsConstructorBit::kMask)); in Generate_CallOrConstructForwardVarargs()
1741 __ tst(r3, Operand(SharedFunctionInfo::IsClassConstructorBit::kMask)); in Generate_CallFunction()
1751 __ tst(r3, Operand(SharedFunctionInfo::IsNativeBit::kMask | in Generate_CallFunction()
1752 SharedFunctionInfo::IsStrictBit::kMask)); in Generate_CallFunction()
1950 __ tst(r4, Operand(Map::IsCallableBit::kMask)); in Generate_Call()
1997 __ tst(r4, Operand(SharedFunctionInfo::ConstructAsBuiltinBit::kMask)); in Generate_ConstructFunction()
2047 __ tst(r2, Operand(Map::IsConstructorBit::kMask)); in Generate_Construct()
/external/v8/src/builtins/arm64/
Dbuiltins-arm64.cc240 SharedFunctionInfo::IsDerivedConstructorBit::kMask, in Generate_JSConstructStubGeneric()
2005 __ TestAndBranchIfAnySet(x5, Map::IsConstructorBit::kMask, in Generate_CallOrConstructForwardVarargs()
2091 __ TestAndBranchIfAnySet(w3, SharedFunctionInfo::IsClassConstructorBit::kMask, in Generate_CallFunction()
2101 SharedFunctionInfo::IsNativeBit::kMask | in Generate_CallFunction()
2102 SharedFunctionInfo::IsStrictBit::kMask, in Generate_CallFunction()
2343 __ TestAndBranchIfAllClear(x4, Map::IsCallableBit::kMask, &non_callable); in Generate_Call()
2390 w4, SharedFunctionInfo::ConstructAsBuiltinBit::kMask, &call_generic_stub); in Generate_ConstructFunction()
2444 __ TestAndBranchIfAllClear(x2, Map::IsConstructorBit::kMask, in Generate_Construct()
/external/v8/src/builtins/mips/
Dbuiltins-mips.cc192 __ And(t2, t2, Operand(SharedFunctionInfo::IsDerivedConstructorBit::kMask)); in Generate_JSConstructStubGeneric()
1661 __ And(t1, t1, Operand(Map::IsConstructorBit::kMask)); in Generate_CallOrConstructForwardVarargs()
1740 Operand(SharedFunctionInfo::IsClassConstructorBit::kMask)); in Generate_CallFunction()
1751 Operand(SharedFunctionInfo::IsNativeBit::kMask | in Generate_CallFunction()
1752 SharedFunctionInfo::IsStrictBit::kMask)); in Generate_CallFunction()
1936 __ And(t1, t1, Operand(Map::IsCallableBit::kMask)); in Generate_Call()
1983 __ And(t0, t0, Operand(SharedFunctionInfo::ConstructAsBuiltinBit::kMask)); in Generate_ConstructFunction()
2099 __ And(t3, t3, Operand(Map::IsConstructorBit::kMask)); in Generate_Construct()

123