Home
last modified time | relevance | path

Searched refs:code_ (Results 1 – 25 of 56) sorted by relevance

123

/external/v8/src/arm/
Dassembler-arm.h136 bool is_valid() const { return 0 <= code_ && code_ < kNumRegisters; } in is_valid()
137 bool is(Register reg) const { return code_ == reg.code_; } in is()
140 return code_; in code()
144 return 1 << code_; in bit()
148 code_ = code; in set_code()
153 int code_; member
182 bool is_valid() const { return 0 <= code_ && code_ < 32; } in is_valid()
183 bool is(SwVfpRegister reg) const { return code_ == reg.code_; } in is()
186 return code_; in code()
190 return 1 << code_; in bit()
[all …]
/external/v8/src/mips/
Dassembler-mips.h133 bool is_valid() const { return 0 <= code_ && code_ < kNumRegisters; } in is_valid()
134 bool is(Register reg) const { return code_ == reg.code_; } in is()
137 return code_; in code()
141 return 1 << code_; in bit()
145 int code_; member
238 bool is_valid() const { return 0 <= code_ && code_ < kMaxNumRegisters ; } in is_valid()
239 bool is(FPURegister creg) const { return code_ == creg.code_; } in is()
242 DCHECK(code_ % 2 == 0); // Specified Double reg must be even. in low()
244 reg.code_ = code_; in low()
250 DCHECK(code_ % 2 == 0); // Specified Double reg must be even. in high()
[all …]
/external/v8/src/mips64/
Dassembler-mips64.h122 bool is_valid() const { return 0 <= code_ && code_ < kNumRegisters; } in is_valid()
123 bool is(Register reg) const { return code_ == reg.code_; } in is()
126 return code_; in code()
130 return 1 << code_; in bit()
134 int code_; member
227 bool is_valid() const { return 0 <= code_ && code_ < kMaxNumRegisters ; } in is_valid()
228 bool is(FPURegister creg) const { return code_ == creg.code_; } in is()
232 DCHECK(code_ % 2 == 0); // Specified Double reg must be even. in low()
234 reg.code_ = code_; in low()
241 DCHECK(code_ % 2 == 0); // Specified Double reg must be even. in high()
[all …]
/external/v8/src/
Ddisassembler.cc39 explicit V8NameConverter(Code* code) : code_(code) {} in V8NameConverter()
42 Code* code() const { return code_; } in code()
44 Code* code_; member in v8::internal::V8NameConverter
51 const char* name = code_->GetIsolate()->builtins()->Lookup(pc); in NameOfAddress()
57 if (code_ != NULL) { in NameOfAddress()
58 int offs = static_cast<int>(pc - code_->instruction_start()); in NameOfAddress()
60 if (0 <= offs && offs < code_->instruction_size()) { in NameOfAddress()
73 return (code_ != NULL) ? reinterpret_cast<const char*>(addr) : ""; in NameInCode()
Dcode-factory.h21 : code_(code), descriptor_(descriptor) {} in Callable()
23 Handle<Code> code() const { return code_; } in code()
27 const Handle<Code> code_;
Dpreparser.h731 bool IsIdentifier() const { return (code_ & kTypeMask) == kTypeIdentifier; } in IsIdentifier()
736 static_cast<PreParserIdentifier::Type>(code_ >> kIdentifierShift)); in AsIdentifier()
740 return (code_ & kTypeMask) == kTypeStringLiteral; in IsStringLiteral()
744 return (code_ & kUseStrictString) == kUseStrictString; in IsUseStrictLiteral()
747 bool IsThis() const { return (code_ & kThisExpression) == kThisExpression; } in IsThis()
750 return (code_ & kThisPropertyExpression) == kThisPropertyExpression; in IsThisProperty()
754 return (code_ & kPropertyExpression) == kPropertyExpression || in IsProperty()
755 (code_ & kThisPropertyExpression) == kThisPropertyExpression; in IsProperty()
758 bool IsCall() const { return (code_ & kCallExpression) == kCallExpression; } in IsCall()
766 (code_ & kMultiParenthesizedExpression) == 0; in IsValidArrowParamList()
[all …]
Dsafepoint-table.cc41 code_ = code; in SafepointTable()
55 unsigned pc_offset = static_cast<unsigned>(pc - code_->instruction_start()); in FindEntry()
75 int last_bits = code_->stack_slots() - ((last - first) * kBitsPerByte); in PrintEntry()
Dframes.h529 code_(code), in FrameSummary()
534 Handle<Code> code() { return code_; } in code()
535 Address pc() { return code_->address() + offset_; } in pc()
544 Handle<Code> code_; variable
Dcompiler.h108 Handle<Code> code() const { return code_; } in code()
236 void SetCode(Handle<Code> code) { code_ = code; } in SetCode()
446 Handle<Code> code_; variable
/external/v8/test/cctest/compiler/
Dgraph-builder-tester.cc36 if (code_.is_null()) { in Generate()
42 code_ = pipeline.GenerateCodeForMachineGraph(&linkage, graph_); in Generate()
44 return code_.ToHandleChecked()->entry(); in Generate()
Dcodegen-tester.h64 if (code_.is_null()) { in Generate()
71 code_ = pipeline.GenerateCodeForMachineGraph(&linkage, graph, schedule); in Generate()
73 return this->code_.ToHandleChecked()->entry(); in Generate()
77 MaybeHandle<Code> code_;
Dgraph-builder-tester.h55 MaybeHandle<Code> code_; variable
/external/v8/src/x87/
Dassembler-x87.h86 bool is_valid() const { return 0 <= code_ && code_ < kNumRegisters; } in is_valid()
87 bool is(Register reg) const { return code_ == reg.code_; } in is()
89 bool is_byte_register() const { return code_ <= 3; } in is_byte_register()
92 return code_; in code()
96 return 1 << code_; in bit()
100 int code_; member
152 return reg.code_; in ToAllocationIndex()
167 result.code_ = index; in FromAllocationIndex()
172 return 0 <= code_ && code_ < kMaxNumRegisters; in is_valid()
177 return code_; in code()
[all …]
/external/pdfium/third_party/freetype/src/cff/
Dcffparse.c822 #define CFF_FIELD_CALLBACK( code_, name_, id_ ) \ in FT_Create_Class_cff_field_handlers() argument
824 clazz[i].code = code_ | CFFCODE; \ in FT_Create_Class_cff_field_handlers()
833 #define CFF_FIELD( code_, name_, id_, kind_ ) \ in FT_Create_Class_cff_field_handlers() argument
835 clazz[i].code = code_ | CFFCODE; \ in FT_Create_Class_cff_field_handlers()
844 #define CFF_FIELD_DELTA( code_, name_, max_, id_ ) \ in FT_Create_Class_cff_field_handlers() argument
846 clazz[i].code = code_ | CFFCODE; \ in FT_Create_Class_cff_field_handlers()
869 #define CFF_FIELD_CALLBACK( code_, name_, id_ ) \ in FT_Create_Class_cff_field_handlers() argument
871 clazz[i].code = code_ | CFFCODE; \ in FT_Create_Class_cff_field_handlers()
881 #define CFF_FIELD( code_, name_, id_, kind_ ) \ in FT_Create_Class_cff_field_handlers() argument
883 clazz[i].code = code_ | CFFCODE; \ in FT_Create_Class_cff_field_handlers()
[all …]
/external/freetype/src/cff/
Dcffparse.c842 #define CFF_FIELD_CALLBACK( code_, name_, id_ ) \ in FT_Create_Class_cff_field_handlers() argument
844 clazz[i].code = code_ | CFFCODE; \ in FT_Create_Class_cff_field_handlers()
853 #define CFF_FIELD( code_, name_, id_, kind_ ) \ in FT_Create_Class_cff_field_handlers() argument
855 clazz[i].code = code_ | CFFCODE; \ in FT_Create_Class_cff_field_handlers()
864 #define CFF_FIELD_DELTA( code_, name_, max_, id_ ) \ in FT_Create_Class_cff_field_handlers() argument
866 clazz[i].code = code_ | CFFCODE; \ in FT_Create_Class_cff_field_handlers()
889 #define CFF_FIELD_CALLBACK( code_, name_, id_ ) \ in FT_Create_Class_cff_field_handlers() argument
891 clazz[i].code = code_ | CFFCODE; \ in FT_Create_Class_cff_field_handlers()
901 #define CFF_FIELD( code_, name_, id_, kind_ ) \ in FT_Create_Class_cff_field_handlers() argument
903 clazz[i].code = code_ | CFFCODE; \ in FT_Create_Class_cff_field_handlers()
[all …]
/external/v8/src/x64/
Dassembler-x64.h114 bool is_valid() const { return 0 <= code_ && code_ < kNumRegisters; } in is_valid()
115 bool is(Register reg) const { return code_ == reg.code_; } in is()
117 bool is_byte_register() const { return code_ <= 3; } in is_byte_register()
120 return code_; in code()
123 return 1 << code_; in bit()
129 return code_ >> 3; in high_bit()
134 return code_ & 0x7; in low_bits()
139 int code_; member
242 bool is_valid() const { return 0 <= code_ && code_ < kMaxNumRegisters; } in is_valid()
243 bool is(XMMRegister reg) const { return code_ == reg.code_; } in is()
[all …]
/external/v8/src/ia32/
Dassembler-ia32.h86 bool is_valid() const { return 0 <= code_ && code_ < kNumRegisters; } in is_valid()
87 bool is(Register reg) const { return code_ == reg.code_; } in is()
89 bool is_byte_register() const { return code_ <= 3; } in is_byte_register()
92 return code_; in code()
96 return 1 << code_; in bit()
100 int code_; member
167 return 0 <= code_ && code_ < kMaxNumRegisters; in is_valid()
172 return code_; in code()
175 bool is(XMMRegister reg) const { return code_ == reg.code_; } in is()
191 int code_; member
/external/webp/src/dsp/
Dlossless.h200 int8_t code_; member
211 *code = prefix_code.code_; in VP8LPrefixEncodeBits()
223 *code = prefix_code.code_; in VP8LPrefixEncode()
/external/llvm/lib/Target/Mips/
DMicroMipsInstrFormats.td233 bits<4> code_;
238 let Inst{3-0} = code_;
580 bits<10> code_;
583 let Inst{25-16} = code_;
589 bits<10> code_;
593 let Inst{25-16} = code_;
621 bits<4> code_;
628 let Inst{15-12} = code_;
847 bits<10> code_;
852 let Inst{25-16} = code_;
DMipsInstrFormats.td487 bits<10> code_;
494 let Inst{15-6} = code_;
590 // System calls format <op|code_|funct>
595 bits<20> code_;
598 let Inst{25-6} = code_;
875 bits<20> code_;
880 let Inst{25-6} = code_;
/external/v8/src/compiler/
Dcode-generator.h28 InstructionSequence* code() const { return code_; } in code()
122 InstructionSequence* code_; variable
Dregister-allocator.h343 inline InstructionSequence* code() const { return code_; } in code()
497 InstructionSequence* code_; variable
/external/regex-re2/re2/
Dregexp.h185 RegexpStatus() : code_(kRegexpSuccess), tmp_(NULL) {} in RegexpStatus()
188 void set_code(enum RegexpStatusCode code) { code_ = code; } in set_code()
191 enum RegexpStatusCode code() const { return code_; } in code()
207 enum RegexpStatusCode code_; // Kind of error variable
Dregexp.cc486 return CodeText(code_); in Text()
488 s.append(CodeText(code_)); in Text()
495 code_ = status.code_; in Copy()
/external/vixl/src/vixl/a64/
Dassembler-a64.h62 CPURegister() : code_(0), size_(0), type_(kNoRegister) { in CPURegister()
68 : code_(code), size_(size), type_(type) { in CPURegister()
74 return code_; in code()
83 VIXL_ASSERT(code_ < (sizeof(RegList) * 8)); in Bit()
84 return IsValid() ? (static_cast<RegList>(1) << code_) : 0; in Bit()
141 ((code_ < kNumberOfRegisters) || (code_ == kSPRegInternalCode)); in IsValidRegister()
149 (code_ < kNumberOfVRegisters); in IsValidVRegister()
153 return IsFPRegister() && (code_ < kNumberOfVRegisters); in IsValidFPRegister()
158 VIXL_ASSERT((type_ != kNoRegister) || (code_ == 0)); in IsNone()
166 return (code_ == other.code_) && (type_ == other.type_); in Aliases()
[all …]

123