Home
last modified time | relevance | path

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

123

/external/chromium_org/v8/src/
Dunicode-inl.h38 CacheEntry entry = entries_[code_point & kMask]; in get()
46 entries_[code_point & kMask] = CacheEntry(code_point, result); in CalculateValue()
52 CacheEntry entry = entries_[c & kMask]; in get()
71 entries_[c & kMask] = CacheEntry(c, result[0] - c); in CalculateValue()
74 entries_[c & kMask] = CacheEntry(c, 0); in CalculateValue()
100 static const int kMask = ~(1 << 6); in EncodeOneByte() local
106 str[1] = 0x80 | (c & kMask); in EncodeOneByte()
112 static const int kMask = ~(1 << 6); in Encode() local
118 str[1] = 0x80 | (c & kMask); in Encode()
129 str[1] = 0x80 | ((c >> 6) & kMask); in Encode()
[all …]
Dunicode.h66 static const int kMask = kSize - 1; variable
92 static const int kMask = kSize - 1; variable
Dglobal-handles.h398 static const int kMask = 0xff; variable
403 return &blocks_[index >> kShift][index & kMask]; in GetLocation()
Dutils.h286 static const U kMask = ((kOne << shift) << size) - (kOne << shift); variable
306 return (previous & ~kMask) | encode(value); in update()
311 return static_cast<T>((value & kMask) >> shift); in decode()
/external/v8/src/
Dunicode-inl.h36 CacheEntry entry = entries_[code_point & kMask]; in get()
44 entries_[code_point & kMask] = CacheEntry(code_point, result); in CalculateValue()
50 CacheEntry entry = entries_[c & kMask]; in get()
69 entries_[c & kMask] = CacheEntry(c, result[0] - c); in CalculateValue()
72 entries_[c & kMask] = CacheEntry(c, 0); in CalculateValue()
82 static const int kMask = ~(1 << 6); in Encode() local
88 str[1] = 0x80 | (c & kMask); in Encode()
99 str[1] = 0x80 | ((c >> 6) & kMask); in Encode()
100 str[2] = 0x80 | (c & kMask); in Encode()
104 str[1] = 0x80 | ((c >> 12) & kMask); in Encode()
[all …]
Dunicode.h66 static const int kMask = kSize - 1; variable
92 static const int kMask = kSize - 1; variable
Dutils.h224 static const uint32_t kMask = ((1U << shift) << size) - (1U << shift);
242 return (previous & ~kMask) | encode(value); in update()
247 return static_cast<T>((value & kMask) >> shift); in decode()
/external/chromium_org/gpu/command_buffer/common/
Dbitfield_helpers.h20 static const unsigned int kMask = 1U + ((1U << (length-1)) - 1U) * 2U; variable
24 return (container >> kShift) & kMask; in Get()
29 return (value & kMask) << kShift; in MakeValue()
34 *container = (*container & ~(kMask << kShift)) | MakeValue(field_value); in Set()
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dheap-profile-table.h243 return reinterpret_cast<Bucket*>(bucket_rep & ~uintptr_t(kMask)); in bucket()
261 return static_cast<AllocationMark>(bucket_rep & uintptr_t(kMask)); in mark()
264 bucket_rep = (bucket_rep & ~uintptr_t(kMask)) | uintptr_t(mark); in set_mark()
272 static const int kMask = kLive | kIgnore; member
/external/chromium_org/v8/src/utils/
Drandom-number-generator.cc143 int64_t seed = (seed_ * kMultiplier + kAddend) & kMask; in Next()
150 seed_ = (seed ^ kMultiplier) & kMask; in SetSeed()
Drandom-number-generator.h100 static const int64_t kMask = V8_2PART_UINT64_C(0xffff, ffffffff); variable
/external/chromium_org/media/tools/player_x11/
Dx11_video_renderer.cc51 static const unsigned long kMask = in GetRenderARGB32Format() local
58 pictformat = XRenderFindFormat(dpy, kMask, &templ, 0 /* first result */); in GetRenderARGB32Format()
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dheap-profile-table.h217 return reinterpret_cast<Bucket*>(bucket_rep & ~uintptr_t(kMask)); in bucket()
240 static const int kMask = kLive | kIgnore; member
/external/skia/include/svg/
DSkSVGPaintState.h29 kMask, enumerator
/external/chromium_org/third_party/skia/include/svg/
DSkSVGPaintState.h29 kMask, enumerator
/external/chromium_org/third_party/skia/src/svg/
DSkSVGPaintState.cpp65 case kMask: in addAttribute()
301 case kMask: in writeChangedAttributes()
384 case kMask: in writeChangedElements()
/external/skia/src/svg/
DSkSVGPaintState.cpp65 case kMask: in addAttribute()
301 case kMask: in writeChangedAttributes()
384 case kMask: in writeChangedElements()
/external/chromium_org/net/disk_cache/v3/
Dbackend_impl_v3.h30 kMask = 1, // A mask (for the index table) was specified. enumerator
Dbackend_worker.cc238 if (!(user_flags_ & kMask)) in PrepareForRestart()
/external/skia/src/core/
DSkPathRef.cpp429 static const uint32_t kMask = (static_cast<int64_t>(1) << SkPath::kPathRefGenIDBitCnt) - 1; in genID() local
438 fGenerationID = (sk_atomic_inc(&gPathRefGenerationID) + 1) & kMask; in genID()
DSkBitmapProcState.cpp887 static const unsigned kMask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in chooseShaderProc32() local
889 if (1 == fBitmap->width() && 0 == (fInvType & ~kMask)) { in chooseShaderProc32()
/external/chromium_org/third_party/skia/src/core/
DSkPathRef.cpp429 static const uint32_t kMask = (static_cast<int64_t>(1) << SkPath::kPathRefGenIDBitCnt) - 1; in genID() local
438 fGenerationID = (sk_atomic_inc(&gPathRefGenerationID) + 1) & kMask; in genID()
DSkBitmapProcState.cpp887 static const unsigned kMask = SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask; in chooseShaderProc32() local
889 if (1 == fBitmap->width() && 0 == (fInvType & ~kMask)) { in chooseShaderProc32()
/external/chromium/net/disk_cache/
Dbackend_impl.h30 kMask = 1, // A mask (for the index table) was specified. enumerator
/external/chromium_org/net/disk_cache/
Dbackend_impl.h32 kMask = 1, // A mask (for the index table) was specified. enumerator

123