Home
last modified time | relevance | path

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

123

/external/flatbuffers/src/
Didl_gen_rust.cpp297 code_.Clear(); in generate()
298 code_ += "// " + std::string(FlatBuffersGeneratedWarning()) + "\n\n"; in generate()
305 code_ += ""; in generate()
361 const auto final_code = code_.ToString(); in generate()
366 CodeWriter code_; member in flatbuffers::rust::RustGenerator
502 code_ += text + "\\"; in GenComment()
583 code_.SetValue("ENUM_NAME", Name(enum_def)); in GenEnum()
584 code_.SetValue("BASE_TYPE", GetEnumTypeForDecl(enum_def.underlying_type)); in GenEnum()
587 code_ += "#[allow(non_camel_case_types)]"; in GenEnum()
588 code_ += "#[repr({{BASE_TYPE}})]"; in GenEnum()
[all …]
Didl_gen_cpp.cpp172 code_ += "#include \"" + *it + "\""; in GenIncludeDependencies()
181 code_ += "#include \"" + parser_.opts.include_prefix + in GenIncludeDependencies()
186 if (num_includes) code_ += ""; in GenIncludeDependencies()
202 code_.Clear(); in generate()
203 code_ += "// " + std::string(FlatBuffersGeneratedWarning()) + "\n\n"; in generate()
206 code_ += "#ifndef " + include_guard; in generate()
207 code_ += "#define " + include_guard; in generate()
208 code_ += ""; in generate()
211 code_ += "#pragma clang system_header\n\n"; in generate()
214 code_ += "#include \"flatbuffers/flatbuffers.h\""; in generate()
[all …]
Didl_gen_json_schema.cpp111 CodeWriter code_; member in flatbuffers::jsons::JsonSchemaGenerator
122 code_.Clear(); in generate()
123 code_ += "{"; in generate()
124 code_ += " \"$schema\": \"http://json-schema.org/draft-04/schema#\","; in generate()
125 code_ += " \"definitions\": {"; in generate()
128 code_ += " \"" + GenFullName(*e) + "\" : {"; in generate()
129 code_ += " " + GenType("string") + ","; in generate()
137 code_ += enumdef; in generate()
138 code_ += " },"; // close type in generate()
143 code_ += " \"" + GenFullName(structure) + "\" : {"; in generate()
[all …]
/external/v8/src/wasm/baseline/
Dliftoff-register.h115 return kNeedI64RegPair && (code_ & (1 << (2 * kBitsPerGpRegCode))) != 0; in is_pair()
117 constexpr bool is_gp() const { return code_ < kAfterMaxLiftoffGpRegCode; } in is_gp()
119 return code_ >= kAfterMaxLiftoffGpRegCode && in is_fp()
120 code_ < kAfterMaxLiftoffFpRegCode; in is_fp()
130 return Register::from_code(code_ & kCodeMask); in low_gp()
136 return Register::from_code((code_ >> kBitsPerGpRegCode) & kCodeMask); in high_gp()
141 return Register::from_code(code_); in gp()
146 return DoubleRegister::from_code(code_ - kAfterMaxLiftoffGpRegCode); in fp()
151 return code_; in liftoff_code()
160 return code_ == other.code_;
[all …]
Dliftoff-compiler.h31 WasmCode* code_; variable
/external/v8/src/parsing/
Dpreparser.h94 : code_(TypeField::encode(kNull)), variables_(nullptr) {} in PreParserExpression()
223 return ExpressionTypeField::decode(code_) == kCallTaggedTemplateExpression; in is_tagged_template()
232 bool IsNull() const { return TypeField::decode(code_) == kNull; } in IsNull()
235 return TypeField::decode(code_) == kIdentifierExpression; in IsIdentifier()
240 return PreParserIdentifier(IdentifierTypeField::decode(code_)); in AsIdentifier()
244 return TypeField::decode(code_) == kExpression && in IsAssignment()
245 ExpressionTypeField::decode(code_) == kAssignment; in IsAssignment()
249 return TypeField::decode(code_) == kObjectLiteralExpression; in IsObjectLiteral()
253 return TypeField::decode(code_) == kArrayLiteralExpression; in IsArrayLiteral()
257 return TypeField::decode(code_) == kStringLiteralExpression; in IsStringLiteral()
[all …]
/external/vixl/src/aarch64/
Doperands-aarch64.h58 CPURegister() : code_(0), size_(0), type_(kNoRegister) { in CPURegister()
64 : code_(code), size_(size), type_(type) { in CPURegister()
70 return code_; in GetCode()
81 VIXL_ASSERT(code_ < (sizeof(RegList) * 8)); in GetBit()
82 return IsValid() ? (static_cast<RegList>(1) << code_) : 0; in GetBit()
146 ((code_ < kNumberOfRegisters) || (code_ == kSPRegInternalCode)); in IsValidRegister()
153 (code_ < kNumberOfVRegisters); in IsValidVRegister()
157 return IsFPRegister() && (code_ < kNumberOfVRegisters); in IsValidFPRegister()
162 VIXL_ASSERT((type_ != kNoRegister) || (code_ == 0)); in IsNone()
170 return (code_ == other.code_) && (type_ == other.type_); in Aliases()
[all …]
Doperands-aarch64.cc245 return Register::GetWRegFromCode(code_); in W()
251 return Register::GetXRegFromCode(code_); in X()
257 return VRegister::GetBRegFromCode(code_); in B()
263 return VRegister::GetHRegFromCode(code_); in H()
269 return VRegister::GetSRegFromCode(code_); in S()
275 return VRegister::GetDRegFromCode(code_); in D()
281 return VRegister::GetQRegFromCode(code_); in Q()
287 return VRegister::GetVRegFromCode(code_); in V()
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dstatus.h34 Status() : code_(StatusCode::OK) { in Status()
92 : code_(code), error_message_(error_message) {} in Status()
99 : code_(code), in Status()
110 StatusCode error_code() const { return code_; } in error_code()
118 bool ok() const { return code_ == StatusCode::OK; } in ok()
126 StatusCode code_;
/external/v8/src/
Dcallable.h20 : code_(code), descriptor_(descriptor) {} in Callable()
22 Handle<Code> code() const { return code_; } in code()
26 const Handle<Code> code_;
Ddisassembler.cc33 : isolate_(isolate), code_(code) {}
38 const CodeReference& code() const { return code_; } in code()
42 CodeReference code_; member in v8::internal::V8NameConverter
49 if (!code_.is_null()) { in NameOfAddress()
60 code_.instruction_start()); in NameOfAddress()
62 if (0 <= offs && offs < code_.instruction_size()) { in NameOfAddress()
85 return code_.is_null() ? "" : reinterpret_cast<const char*>(addr); in NameInCode()
Doptimized-compilation-info.h77 Handle<Code> code() const { return code_.as_js_code(); } in code()
80 return const_cast<wasm::WasmCode*>(code_.as_wasm_code()); in wasm_code()
190 code_ = CodeReference(code); in SetCode()
306 CodeReference code_; variable
Dbasic-block-profiler.cc42 InsertIntoString(os, &code_); in SetCode()
138 if (!d.code_.empty()) { in operator <<()
139 os << d.code_.c_str() << std::endl; in operator <<()
/external/v8/src/compiler/
Dframe-elider.cc13 FrameElider::FrameElider(InstructionSequence* code) : code_(code) {} in FrameElider()
152 return code_->instruction_blocks(); in instruction_blocks()
157 return code_->InstructionBlockAt(rpo_number); in InstructionBlockAt()
162 return code_->InstructionAt(index); in InstructionAt()
Dmove-optimizer.h25 InstructionSequence* code() const { return code_; } in code()
53 InstructionSequence* const code_; variable
Dframe-elider.h34 InstructionSequence* const code_; variable
/external/tensorflow/tensorflow/compiler/xla/
Dstatus_macros.cc100 code_(code), in Impl()
114 code_(!status.ok() ? status.code() : tensorflow::error::UNKNOWN), in Impl()
155 file_, line_, code_, in GetStatus()
160 return MakeError(file_, line_, code_, str, should_log_, log_severity_, in GetStatus()
/external/webp/src/dsp/
Dlossless_common.h119 int8_t code_; member
130 *code = prefix_code.code_; in VP8LPrefixEncodeBits()
142 *code = prefix_code.code_; in VP8LPrefixEncode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMicroMipsInstrFormats.td246 bits<4> code_;
251 let Inst{3-0} = code_;
638 bits<10> code_;
641 let Inst{25-16} = code_;
647 bits<10> code_;
651 let Inst{25-16} = code_;
679 bits<4> code_;
686 let Inst{15-12} = code_;
926 bits<10> code_;
931 let Inst{25-16} = code_;
[all …]
DMipsInstrFormats.td527 bits<10> code_;
534 let Inst{15-6} = code_;
630 // System calls format <op|code_|funct>
635 bits<20> code_;
638 let Inst{25-6} = code_;
916 bits<20> code_;
921 let Inst{25-6} = code_;
977 bits<10> code_;
983 let Inst{20-11} = code_;
/external/libbrillo/brillo/errors/
Derror.h57 const std::string& GetCode() const { return code_; } in GetCode()
109 std::string code_; variable
Derror.cc83 new Error(location_, domain_, code_, message_, std::move(inner_error))); in Clone()
107 code_(code), in Error()
/external/llvm/lib/Target/Mips/
DMicroMipsInstrFormats.td233 bits<4> code_;
238 let Inst{3-0} = code_;
613 bits<10> code_;
616 let Inst{25-16} = code_;
622 bits<10> code_;
626 let Inst{25-16} = code_;
654 bits<4> code_;
661 let Inst{15-12} = code_;
896 bits<10> code_;
901 let Inst{25-16} = code_;
/external/vixl/src/aarch32/
Dinstructions-aarch32.h152 uint32_t code_; variable
155 explicit RegisterOrAPSR_nzcv(uint32_t code) : code_(code) { in RegisterOrAPSR_nzcv()
156 VIXL_ASSERT(code_ < kNumberOfRegisters); in RegisterOrAPSR_nzcv()
158 bool IsAPSR_nzcv() const { return code_ == kPcCode; } in IsAPSR_nzcv()
159 uint32_t GetCode() const { return code_; } in GetCode()
162 return Register(code_); in AsRegister()
938 uint32_t code_; variable
941 explicit CRegister(uint32_t code) : code_(code) { in CRegister()
944 uint32_t GetCode() const { return code_; } in GetCode()
945 bool Is(CRegister value) const { return code_ == value.code_; } in Is()
/external/tensorflow/tensorflow/tools/proto_text/
Dgen_proto_text_functions_lib.cc63 header_(&code_.header), in Generator()
64 header_impl_(&code_.header_impl), in Generator()
65 cc_(&code_.cc) {} in Generator()
70 ProtoTextFunctionCode code() const { return code_; } in code()
140 ProtoTextFunctionCode code_; member in tensorflow::__anond395b3d80111::Generator

123