/external/chromium_org/gpu/command_buffer/common/ |
bitfield_helpers_test.cc | 5 // Tests for the bitfield helper class. 12 // Tests that BitField<>::Get returns the right bits. 15 EXPECT_EQ(0x8u, (BitField<0, 4>::Get(value))); 16 EXPECT_EQ(0x45u, (BitField<12, 8>::Get(value))); 17 EXPECT_EQ(0x12345678u, (BitField<0, 32>::Get(value))); 20 // Tests that BitField<>::MakeValue generates the right bits. 22 EXPECT_EQ(0x00000003u, (BitField<0, 4>::MakeValue(0x3))); 23 EXPECT_EQ(0x00023000u, (BitField<12, 8>::MakeValue(0x123))); 24 EXPECT_EQ(0x87654321u, (BitField<0, 32>::MakeValue(0x87654321))); 27 // Tests that BitField<>::Set modifies the right bits [all...] |
bitfield_helpers.h | 13 // Bitfield template class, used to access bit fields in unsigned int_ts. 14 template<int shift, int length> class BitField {
|
/external/v8/src/ |
property-details.h | 43 // bitfield. It is only used as a return value meaning the attributes of 55 // Must fit in the BitField PropertyDetails::TypeField. 119 class TypeField: public BitField<PropertyType, 0, 4> {}; 120 class AttributesField: public BitField<PropertyAttributes, 4, 3> {}; 121 class DeletedField: public BitField<uint32_t, 7, 1> {}; 122 class StorageField: public BitField<uint32_t, 8, 32-8> {};
|
scopeinfo.h | 117 class ModeField: public BitField<VariableMode, 0, 3> {}; 118 class InitField: public BitField<InitializationFlag, 3, 1> {}; 119 class IndexField: public BitField<int, 4, 32-4> {};
|
compiler.h | 206 // Flags using template class BitField<type, start, length>. All are 210 class IsLazy: public BitField<bool, 0, 1> {}; 212 class IsEval: public BitField<bool, 1, 1> {}; 213 class IsGlobal: public BitField<bool, 2, 1> {}; 215 class IsInLoop: public BitField<bool, 3, 1> {}; 217 class LanguageModeField: public BitField<LanguageMode, 4, 2> {}; 219 class IsNative: public BitField<bool, 6, 1> {}; 221 class SupportsDeoptimization: public BitField<bool, 7, 1> {}; 224 class IsCompilingForDebugging: public BitField<bool, 8, 1> {};
|
code-stubs.h | 225 class MajorKeyBits: public BitField<uint32_t, 0, kMajorBits> {}; 226 class MinorKeyBits: public BitField<uint32_t, kMajorBits, kMinorBits> {}; 496 class OpField: public BitField<int, 0, 3> { }; 497 class StateField: public BitField<int, 3, 5> { }; 598 class StrictField: public BitField<bool, 0, 1> {}; 599 class NeverNanNanField: public BitField<bool, 1, 1> {}; 600 class IncludeNumberCompareField: public BitField<bool, 2, 1> {}; 601 class IncludeSmiCompareField: public BitField<bool, 3, 1> {}; 602 class RegisterField: public BitField<bool, 4, 1> {}; 603 class ConditionField: public BitField<int, 5, 11> {} [all...] |
safepoint-table.h | 70 public BitField<int, 0, kDeoptIndexBits> {}; // NOLINT 72 public BitField<unsigned, 76 public BitField<bool,
|
/external/chromium/chrome/browser/sync/syncable/ |
syncable_enum_conversions.h | 33 const char* GetBitFieldString(BitField bit_field);
|
/external/chromium_org/sync/syncable/ |
syncable_enum_conversions.h | 38 SYNC_EXPORT_PRIVATE const char* GetBitFieldString(BitField bit_field);
|
/external/chromium_org/v8/src/ |
code-stubs.h | 255 class MajorKeyBits: public BitField<uint32_t, 0, kStubMajorKeyBits> {}; 256 class MinorKeyBits: public BitField<uint32_t, 366 class MinorKeyBits: public BitField<int, 0, kStubMinorKeyBits - 1> {}; 367 class IsMissBits: public BitField<bool, kStubMinorKeyBits - 1, 1> {}; 501 class StrictModeBits: public BitField<bool, 0, 1> {}; 502 class IsGeneratorBits: public BitField<bool, 1, 1> {}; 585 class StrictModeBits: public BitField<StrictModeFlag, 0, 1> {}; 586 class IsConstantBits: public BitField<bool, 1, 1> {}; 587 class RepresentationBits: public BitField<Representation::Kind, 2, 8> {}; 650 class AllocationSiteModeBits: public BitField<AllocationSiteMode, 0, 1> {} [all...] |
compiler.h | 341 // Flags using template class BitField<type, start, length>. All are 345 class IsLazy: public BitField<bool, 0, 1> {}; 347 class IsEval: public BitField<bool, 1, 1> {}; 348 class IsGlobal: public BitField<bool, 2, 1> {}; 350 class IsInLoop: public BitField<bool, 3, 1> {}; 352 class LanguageModeField: public BitField<LanguageMode, 4, 2> {}; 354 class IsNative: public BitField<bool, 6, 1> {}; 356 class SupportsDeoptimization: public BitField<bool, 7, 1> {}; 359 class IsCompilingForDebugging: public BitField<bool, 8, 1> {}; 361 class IsCalling: public BitField<bool, 9, 1> {} [all...] |
property-details.h | 49 // bitfield. It is only used as a return value meaning the attributes of 63 // Must fit in the BitField PropertyDetails::TypeField. 247 class TypeField: public BitField<PropertyType, 0, 3> {}; 248 class AttributesField: public BitField<PropertyAttributes, 3, 3> {}; 251 class DeletedField: public BitField<uint32_t, 6, 1> {}; 252 class DictionaryStorageField: public BitField<uint32_t, 7, 24> {}; 255 class DescriptorPointer: public BitField<uint32_t, 6, 11> {}; 256 class RepresentationField: public BitField<uint32_t, 17, 3> {}; 257 class FieldIndexField: public BitField<uint32_t, 20, 11> {};
|
safepoint-table.h | 70 public BitField<int, 0, kDeoptIndexBits> {}; // NOLINT 72 public BitField<unsigned, 76 public BitField<bool,
|
scopeinfo.h | 117 class ModeField: public BitField<VariableMode, 0, 4> {}; 118 class InitField: public BitField<InitializationFlag, 4, 1> {}; 119 class IndexField: public BitField<int, 5, 32-5> {};
|
lithium.h | 85 class KindField : public BitField<Kind, 0, kKindFieldWidth> { }; 178 // instead of using the BitField utility class. 184 class BasicPolicyField : public BitField<BasicPolicy, 3, 1> {}; 185 class VirtualRegisterField : public BitField<unsigned, 4, 18> {}; 188 class FixedSlotIndexField : public BitField<int, 22, 10> {}; 191 class ExtendedPolicyField : public BitField<ExtendedPolicy, 22, 3> {}; 192 class LifetimeField : public BitField<Lifetime, 25, 1> {}; 193 class FixedRegisterField : public BitField<int, 26, 6> {}; 627 class LengthOrDupeField : public BitField<int, 0, 30> { }; 628 class IsArgumentsField : public BitField<bool, 30, 1> { } [all...] |
/external/v8/src/ia32/ |
code-stubs-ia32.h | 102 class ModeBits: public BitField<UnaryOverwriteMode, 0, 1> {}; 103 class OpBits: public BitField<Token::Value, 1, 7> {}; 104 class OperandTypeInfoBits: public BitField<UnaryOpIC::TypeInfo, 8, 3> {}; 195 class ModeBits: public BitField<OverwriteMode, 0, 2> {}; 196 class OpBits: public BitField<Token::Value, 2, 7> {}; 197 class SSE3Bits: public BitField<bool, 9, 1> {}; 198 class OperandTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 10, 3> {}; 199 class ResultTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 13, 3> {}; 463 class DictionaryBits: public BitField<int, 0, 3> {}; 464 class ResultBits: public BitField<int, 3, 3> {} [all...] |
/external/v8/src/x64/ |
code-stubs-x64.h | 108 class ModeBits: public BitField<UnaryOverwriteMode, 0, 1> {}; 109 class OpBits: public BitField<Token::Value, 1, 7> {}; 110 class OperandTypeInfoBits: public BitField<UnaryOpIC::TypeInfo, 8, 3> {}; 195 class ModeBits: public BitField<OverwriteMode, 0, 2> {}; 196 class OpBits: public BitField<Token::Value, 2, 7> {}; 197 class OperandTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 9, 3> {}; 198 class ResultTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 12, 3> {}; 465 class DictionaryBits: public BitField<int, 0, 4> {}; 466 class ResultBits: public BitField<int, 4, 4> {}; 467 class IndexBits: public BitField<int, 8, 4> {} [all...] |
/external/chromium_org/v8/src/arm/ |
code-stubs-arm.h | 244 class IntRegisterBits: public BitField<int, 0, 4> {}; 245 class HeapNumberRegisterBits: public BitField<int, 4, 4> {}; 246 class ScratchRegisterBits: public BitField<int, 8, 4> {}; 465 class ObjectBits: public BitField<int, 0, 4> {}; 466 class ValueBits: public BitField<int, 4, 4> {}; 467 class AddressBits: public BitField<int, 8, 4> {}; 468 class RememberedSetActionBits: public BitField<RememberedSetAction, 12, 1> {}; 469 class SaveFPRegsModeBits: public BitField<SaveFPRegsMode, 13, 1> {}; 561 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
|
/external/chromium_org/v8/src/x64/ |
code-stubs-x64.h | 289 class DictionaryBits: public BitField<int, 0, 4> {}; 290 class ResultBits: public BitField<int, 4, 4> {}; 291 class IndexBits: public BitField<int, 8, 4> {}; 292 class LookupModeBits: public BitField<LookupMode, 12, 1> {}; 525 class ObjectBits: public BitField<int, 0, 4> {}; 526 class ValueBits: public BitField<int, 4, 4> {}; 527 class AddressBits: public BitField<int, 8, 4> {}; 528 class RememberedSetActionBits: public BitField<RememberedSetAction, 12, 1> {}; 529 class SaveFPRegsModeBits: public BitField<SaveFPRegsMode, 13, 1> {};
|
/external/v8/src/arm/ |
constants-arm.h | 549 inline int BitField(int hi, int lo) const { 567 static inline int BitField(Instr instr, int hi, int lo) { 590 return static_cast<Condition>(BitField(31, 28)); 637 return static_cast<Opcode>(BitField(24, 21)); 645 return static_cast<ShiftOp>(BitField(6, 5)); 659 inline int PUField() const { return BitField(24, 23); }
|
code-stubs-arm.h | 99 class ModeBits: public BitField<UnaryOverwriteMode, 0, 1> {}; 100 class OpBits: public BitField<Token::Value, 1, 7> {}; 101 class OperandTypeInfoBits: public BitField<UnaryOpIC::TypeInfo, 8, 3> {}; 183 class ModeBits: public BitField<OverwriteMode, 0, 2> {}; 184 class OpBits: public BitField<Token::Value, 2, 7> {}; 185 class VFP3Bits: public BitField<bool, 9, 1> {}; 186 class OperandTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 10, 3> {}; 187 class ResultTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 13, 3> {}; 418 class IntRegisterBits: public BitField<int, 0, 4> {}; 419 class HeapNumberRegisterBits: public BitField<int, 4, 4> {} [all...] |
/external/v8/src/mips/ |
code-stubs-mips.h | 100 class ModeBits: public BitField<UnaryOverwriteMode, 0, 1> {}; 101 class OpBits: public BitField<Token::Value, 1, 7> {}; 102 class OperandTypeInfoBits: public BitField<UnaryOpIC::TypeInfo, 8, 3> {}; 184 class ModeBits: public BitField<OverwriteMode, 0, 2> {}; 185 class OpBits: public BitField<Token::Value, 2, 7> {}; 186 class FPUBits: public BitField<bool, 9, 1> {}; 187 class OperandTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 10, 3> {}; 188 class ResultTypeInfoBits: public BitField<BinaryOpIC::TypeInfo, 13, 3> {}; 427 class IntRegisterBits: public BitField<int, 0, 4> {}; 428 class HeapNumberRegisterBits: public BitField<int, 4, 4> {} [all...] |
/external/chromium_org/v8/src/mips/ |
code-stubs-mips.h | 253 class IntRegisterBits: public BitField<int, 0, 4> {}; 254 class HeapNumberRegisterBits: public BitField<int, 4, 4> {}; 255 class ScratchRegisterBits: public BitField<int, 8, 4> {}; 256 class SignRegisterBits: public BitField<int, 12, 4> {}; 480 class ObjectBits: public BitField<int, 0, 5> {}; 481 class ValueBits: public BitField<int, 5, 5> {}; 482 class AddressBits: public BitField<int, 10, 5> {}; 483 class RememberedSetActionBits: public BitField<RememberedSetAction, 15, 1> {}; 484 class SaveFPRegsModeBits: public BitField<SaveFPRegsMode, 16, 1> {}; 688 class LookupModeBits: public BitField<LookupMode, 0, 1> {} [all...] |
/external/v8/test/cctest/ |
test-conversions.cc | 227 class OneBit1: public BitField<uint32_t, 0, 1> {}; 228 class OneBit2: public BitField<uint32_t, 7, 1> {}; 229 class EightBit1: public BitField<uint32_t, 0, 8> {}; 230 class EightBit2: public BitField<uint32_t, 13, 8> {}; 232 TEST(BitField) {
|
/external/chromium_org/v8/src/ia32/ |
code-stubs-ia32.h | 294 class DictionaryBits: public BitField<int, 0, 3> {}; 295 class ResultBits: public BitField<int, 3, 3> {}; 296 class IndexBits: public BitField<int, 6, 3> {}; 297 class LookupModeBits: public BitField<LookupMode, 9, 1> {}; 551 class ObjectBits: public BitField<int, 0, 3> {}; 552 class ValueBits: public BitField<int, 3, 3> {}; 553 class AddressBits: public BitField<int, 6, 3> {}; 554 class RememberedSetActionBits: public BitField<RememberedSetAction, 9, 1> {}; 555 class SaveFPRegsModeBits: public BitField<SaveFPRegsMode, 10, 1> {};
|