Home
last modified time | relevance | path

Searched refs:type_ (Results 1 – 25 of 417) sorted by relevance

12345678910>>...17

/third_party/vk-gl-cts/external/amber/src/src/
Dformat.h96 type::Type* GetType() const { return type_; } in GetType()
101 if (type_->IsNumber()) in GetOnlyType()
102 return type_; in GetOnlyType()
107 return type_->IsList() && type_->AsList()->IsPacked(); in IsPacked()
134 if (type_->IsNumber() && IsNormalized(type_->AsNumber()->GetFormatMode())) in IsNormalized()
137 if (type_->IsList()) { in IsNormalized()
138 for (auto& member : type_->AsList()->Members()) { in IsNormalized()
155 return type_->IsNumber() && in IsInt8()
156 type::Type::IsInt8(type_->AsNumber()->GetFormatMode(), in IsInt8()
157 type_->AsNumber()->NumBits()); in IsInt8()
[all …]
Dtokenizer.h42 bool IsHex() const { return type_ == TokenType::kHex; } in IsHex()
43 bool IsInteger() const { return type_ == TokenType::kInteger; } in IsInteger()
44 bool IsDouble() const { return type_ == TokenType::kDouble; } in IsDouble()
45 bool IsIdentifier() const { return type_ == TokenType::kIdentifier; } in IsIdentifier()
46 bool IsString() const { return type_ == TokenType::kString; } in IsString()
47 bool IsEOS() const { return type_ == TokenType::kEOS; } in IsEOS()
48 bool IsEOL() const { return type_ == TokenType::kEOL; } in IsEOL()
51 return type_ == TokenType::kIdentifier && string_value_ == ","; in IsComma()
54 return type_ == TokenType::kIdentifier && string_value_ == "("; in IsOpenBracket()
57 return type_ == TokenType::kIdentifier && string_value_ == ")"; in IsCloseBracket()
[all …]
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dtoken.h371 bool Is(Type t) const { return type_ == t; } in Is()
374 bool IsUninitialized() const { return type_ == Type::kUninitialized; } in IsUninitialized()
376 bool IsEof() const { return type_ == Type::kEOF; } in IsEof()
378 bool IsError() const { return type_ == Type::kError; } in IsError()
380 bool IsIdentifier() const { return type_ == Type::kIdentifier; } in IsIdentifier()
383 return type_ == Type::kSintLiteral || type_ == Type::kFalse || in IsLiteral()
384 type_ == Type::kUintLiteral || type_ == Type::kTrue || in IsLiteral()
385 type_ == Type::kFloatLiteral; in IsLiteral()
389 return type_ == Type::kMat2x2 || type_ == Type::kMat2x3 || in IsMatrix()
390 type_ == Type::kMat2x4 || type_ == Type::kMat3x2 || in IsMatrix()
[all …]
/third_party/vk-gl-cts/framework/platform/android/
DtcuAndroidRenderActivity.hpp72 explicit Message (MessageType type_) in Message()
73 : type(type_) in Message()
75 DE_ASSERT(type_ == MESSAGE_RESUME || in Message()
76 type_ == MESSAGE_PAUSE || in Message()
77 type_ == MESSAGE_FINISH); in Message()
80 Message (MessageType type_, ANativeWindow* window) in Message()
81 : type(type_) in Message()
83 DE_ASSERT(type_ == MESSAGE_WINDOW_CREATED || in Message()
84 type_ == MESSAGE_WINDOW_DESTROYED || in Message()
85 type_ == MESSAGE_WINDOW_RESIZED); in Message()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/katex/contrib/
Dmhchem.min.js1type_])l=u.actions[d.action_[m].type_](a,_.match_,d.action_[m].option);else{if(!i.actions[d.action… property
Dmhchem.js301 if (machine.actions[task.action_[iA].type_]) {
302 … o = machine.actions[task.action_[iA].type_](buffer, matches.match_, task.action_[iA].option);
303 } else if (mhchemParser.actions[task.action_[iA].type_]) {
304 … o = mhchemParser.actions[task.action_[iA].type_](buffer, matches.match_, task.action_[iA].option);
306 …throw ["MhchemBugA", "mhchem bug A. Please report. (" + task.action_[iA].type_ + ")"]; // Trying t…
761 type_: a
766 type_: a,
772 type_: a,
782 type_: 'rm',
803 type_: 'bond',
[all …]
/third_party/gn/src/gn/
Dvalue.cc17 Value::Value(const ParseNode* origin, Type t) : type_(t), origin_(origin) { in Value()
18 switch (type_) { in Value()
40 : type_(BOOLEAN), origin_(origin), boolean_value_(bool_val) {} in Value()
43 : type_(INTEGER), origin_(origin), int_value_(int_val) {} in Value()
46 : type_(STRING), origin_(origin), string_value_(std::move(str_val)) {} in Value()
49 : type_(STRING), origin_(origin), string_value_(str_val) {} in Value()
52 : type_(SCOPE), origin_(origin), scope_value_(std::move(scope)) {} in Value()
54 Value::Value(const Value& other) : type_(other.type_), origin_(other.origin_) { in Value()
55 switch (type_) { in Value()
79 : type_(other.type_), origin_(other.origin_) { in Value()
[all …]
Dvalue.h51 Type type() const { return type_; } in type()
61 DCHECK(type_ == BOOLEAN); in boolean_value()
65 DCHECK(type_ == BOOLEAN); in boolean_value()
70 DCHECK(type_ == INTEGER); in int_value()
74 DCHECK(type_ == INTEGER); in int_value()
79 DCHECK(type_ == STRING); in string_value()
83 DCHECK(type_ == STRING); in string_value()
88 DCHECK(type_ == LIST); in list_value()
92 DCHECK(type_ == LIST); in list_value()
97 DCHECK(type_ == SCOPE); in scope_value()
[all …]
/third_party/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc118 if (type_ == TYPE_STRING) return StringToNumber<int32>(safe_strto32); in ToInt32()
120 if (type_ == TYPE_DOUBLE) in ToInt32()
123 if (type_ == TYPE_FLOAT) in ToInt32()
130 if (type_ == TYPE_STRING) in ToUint32()
133 if (type_ == TYPE_DOUBLE) in ToUint32()
136 if (type_ == TYPE_FLOAT) in ToUint32()
143 if (type_ == TYPE_STRING) return StringToNumber<int64>(safe_strto64); in ToInt64()
145 if (type_ == TYPE_DOUBLE) in ToInt64()
148 if (type_ == TYPE_FLOAT) in ToInt64()
155 if (type_ == TYPE_STRING) in ToUint64()
[all …]
Ddatapiece.h79 : type_(TYPE_INT32), i32_(value), use_strict_base64_decoding_(false) {} in DataPiece()
81 : type_(TYPE_INT64), i64_(value), use_strict_base64_decoding_(false) {} in DataPiece()
83 : type_(TYPE_UINT32), u32_(value), use_strict_base64_decoding_(false) {} in DataPiece()
85 : type_(TYPE_UINT64), u64_(value), use_strict_base64_decoding_(false) {} in DataPiece()
87 : type_(TYPE_DOUBLE), in DataPiece()
91 : type_(TYPE_FLOAT), float_(value), use_strict_base64_decoding_(false) {} in DataPiece()
93 : type_(TYPE_BOOL), bool_(value), use_strict_base64_decoding_(false) {} in DataPiece()
95 : type_(TYPE_STRING), in DataPiece()
100 : type_(TYPE_BYTES), in DataPiece()
104 DataPiece(const DataPiece& r) : type_(r.type_) { InternalCopy(r); } in DataPiece()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_constant_expressions.py5 def type_add_size(type_, size): argument
6 if type_has_size(type_):
7 return type_
8 return type_ + str(size)
24 def get_const_field(type_): argument
25 if type_size(type_) == 1:
27 elif type_base_type(type_) == 'bool':
28 return 'i' + str(type_size(type_))
29 elif type_ == "float16":
32 return type_base_type(type_)[0] + str(type_size(type_))
/third_party/mesa3d/src/amd/vulkan/radix_sort/shaders/
Dpush.h205 #define RS_STRUCT_MEMBER(type_, name_) type_ name_; argument
206 #define RS_STRUCT_MEMBER_FARRAY(type_, len_, name_) type_ name_[len_]; argument
207 #define RS_STRUCT_MEMBER_STRUCT(type_, name_) type_ name_; argument
236 #define RS_STRUCT_MEMBER(type_, name_) type_ name_; argument
237 #define RS_STRUCT_MEMBER_FARRAY(type_, len_, name_) type_ name_[len_]; argument
238 #define RS_STRUCT_MEMBER_STRUCT(type_, name_) struct type_ name_; argument
/third_party/skia/third_party/externals/tint/src/inspector/
Dscalar.cc20 Scalar::Scalar() : type_(kNull) {} in Scalar()
22 Scalar::Scalar(bool val) : type_(kBool) { in Scalar()
26 Scalar::Scalar(uint32_t val) : type_(kU32) { in Scalar()
30 Scalar::Scalar(int32_t val) : type_(kI32) { in Scalar()
34 Scalar::Scalar(float val) : type_(kFloat) { in Scalar()
39 return type_ == kNull; in IsNull()
43 return type_ == kBool; in IsBool()
47 return type_ == kU32; in IsU32()
51 return type_ == kI32; in IsI32()
55 return type_ == kFloat; in IsFloat()
/third_party/node/deps/v8/src/wasm/
Dwasm-value.h96 WasmValue() : type_(kWasmVoid), bit_pattern_{} {} in WasmValue()
99 explicit WasmValue(ctype v) : type_(localtype), bit_pattern_{} { \
106 DCHECK_EQ(localtype, type_); \
117 WasmValue(byte* raw_bytes, ValueType type) : type_(type), bit_pattern_{} { in WasmValue()
118 DCHECK(type_.is_numeric());
122 WasmValue(Handle<Object> ref, ValueType type) : type_(type), bit_pattern_{} { in WasmValue()
131 DCHECK(type_.is_reference()); in to_ref()
136 ValueType type() const { return type_; } in type()
140 return type_ == other.type_ &&
142 type_.is_reference() ? sizeof(Handle<Object>)
[all …]
/third_party/python/Lib/multiprocessing/
Dsharedctypes.py39 def _new_value(type_): argument
40 size = ctypes.sizeof(type_)
42 return rebuild_ctype(type_, wrapper, None)
48 type_ = typecode_to_type.get(typecode_or_type, typecode_or_type)
49 obj = _new_value(type_)
58 type_ = typecode_to_type.get(typecode_or_type, typecode_or_type)
60 type_ = type_ * size_or_initializer
61 obj = _new_value(type_)
65 type_ = type_ * len(size_or_initializer)
66 result = _new_value(type_)
[all …]
/third_party/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp335 token.type_ = tokenError; in parse()
364 switch (token.type_) { in readValue()
435 } while (token.type_ == tokenComment); in skipCommentTokens()
448 token.type_ = tokenObjectBegin; in readToken()
451 token.type_ = tokenObjectEnd; in readToken()
454 token.type_ = tokenArrayBegin; in readToken()
457 token.type_ = tokenArrayEnd; in readToken()
460 token.type_ = tokenString; in readToken()
464 token.type_ = tokenComment; in readToken()
478 token.type_ = tokenNumber; in readToken()
[all …]
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp320 token.type_ = tokenError; in parse()
349 switch (token.type_) { in readValue()
420 } while (token.type_ == tokenComment); in skipCommentTokens()
433 token.type_ = tokenObjectBegin; in readToken()
436 token.type_ = tokenObjectEnd; in readToken()
439 token.type_ = tokenArrayBegin; in readToken()
442 token.type_ = tokenArrayEnd; in readToken()
445 token.type_ = tokenString; in readToken()
449 token.type_ = tokenComment; in readToken()
463 token.type_ = tokenNumber; in readToken()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp320 token.type_ = tokenError; in parse()
349 switch (token.type_) { in readValue()
420 } while (token.type_ == tokenComment); in skipCommentTokens()
433 token.type_ = tokenObjectBegin; in readToken()
436 token.type_ = tokenObjectEnd; in readToken()
439 token.type_ = tokenArrayBegin; in readToken()
442 token.type_ = tokenArrayEnd; in readToken()
445 token.type_ = tokenString; in readToken()
449 token.type_ = tokenComment; in readToken()
463 token.type_ = tokenNumber; in readToken()
[all …]
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp320 token.type_ = tokenError; in parse()
349 switch (token.type_) { in readValue()
420 } while (token.type_ == tokenComment); in skipCommentTokens()
433 token.type_ = tokenObjectBegin; in readToken()
436 token.type_ = tokenObjectEnd; in readToken()
439 token.type_ = tokenArrayBegin; in readToken()
442 token.type_ = tokenArrayEnd; in readToken()
445 token.type_ = tokenString; in readToken()
449 token.type_ = tokenComment; in readToken()
463 token.type_ = tokenNumber; in readToken()
[all …]
/third_party/skia/third_party/externals/tint/src/sem/
Dintrinsic.cc27 return sem::str(type_); in str()
112 type_(type), in Intrinsic()
123 return IsCoarseDerivativeIntrinsic(type_); in IsCoarseDerivative()
127 return IsFineDerivativeIntrinsic(type_); in IsFineDerivative()
131 return IsDerivativeIntrinsic(type_); in IsDerivative()
135 return IsFloatClassificationIntrinsic(type_); in IsFloatClassification()
139 return IsTextureIntrinsic(type_); in IsTexture()
143 return IsImageQueryIntrinsic(type_); in IsImageQuery()
147 return IsDataPackingIntrinsic(type_); in IsDataPacking()
151 return IsDataUnpackingIntrinsic(type_); in IsDataUnpacking()
[all …]
/third_party/node/deps/v8/src/flags/
Dflags.cc67 FlagType type_; // What type of flag, bool, int, or string. member
76 FlagType type() const { return type_; } in type()
85 DCHECK(type_ == TYPE_BOOL); in bool_variable()
90 DCHECK(type_ == TYPE_BOOL); in set_bool_variable()
97 DCHECK(type_ == TYPE_MAYBE_BOOL); in maybe_bool_variable()
102 DCHECK(type_ == TYPE_MAYBE_BOOL); in set_maybe_bool_variable()
109 DCHECK(type_ == TYPE_INT); in int_variable()
114 DCHECK(type_ == TYPE_INT); in set_int_variable()
121 DCHECK(type_ == TYPE_UINT); in uint_variable()
126 DCHECK(type_ == TYPE_UINT); in set_uint_variable()
[all …]
/third_party/node/deps/v8/src/codegen/
Dmacro-assembler.h94 type_(type), in FrameScope()
97 if (type != StackFrame::MANUAL && type_ != StackFrame::NO_FRAME_TYPE) { in FrameScope()
103 if (type_ != StackFrame::MANUAL && type_ != StackFrame::NO_FRAME_TYPE) { in ~FrameScope()
104 tasm_->LeaveFrame(type_); in ~FrameScope()
132 StackFrame::Type const type_; variable
140 type_(type), in FrameAndConstantPoolScope()
148 if (type_ != StackFrame::MANUAL && type_ != StackFrame::NO_FRAME_TYPE) { in FrameAndConstantPoolScope()
154 masm_->LeaveFrame(type_); in ~FrameAndConstantPoolScope()
163 StackFrame::Type type_; variable
/third_party/node/deps/v8/src/codegen/arm64/
Dreglist-arm64.h32 type_(reg0.type()) {
38 : list_(list.bits()), size_(size), type_(CPURegister::kRegister) { in CPURegList()
43 : list_(list.bits()), size_(size), type_(CPURegister::kVRegister) { in CPURegList()
49 : size_(size), type_(type) { in CPURegList()
60 CPURegister::RegisterType type() const { return type_; } in type()
113 if (!other1.IsNone() && (other1.type() == type_)) {
116 if (!other2.IsNone() && (other2.type() == type_)) {
119 if (!other3.IsNone() && (other3.type() == type_)) {
122 if (!other4.IsNone() && (other4.type() == type_)) {
143 CPURegister::RegisterType type_; variable
[all …]
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Ddescriptor.h72 DescriptorType GetDescriptorType() const { return type_; } in GetDescriptorType()
75 return type_ == DescriptorType::kStorageBuffer; in IsStorageBuffer()
78 return type_ == DescriptorType::kStorageBufferDynamic; in IsStorageBufferDynamic()
81 return type_ == DescriptorType::kUniformBuffer; in IsUniformBuffer()
84 return type_ == DescriptorType::kUniformBufferDynamic; in IsUniformBufferDynamic()
87 return type_ == DescriptorType::kUniformTexelBuffer; in IsUniformTexelBuffer()
90 return type_ == DescriptorType::kStorageTexelBuffer; in IsStorageTexelBuffer()
95 DescriptorType type_ = DescriptorType::kStorageBuffer; variable
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrShaderProgram.hpp59 …texAttribute (const std::string& name_, rr::GenericVecType type_) : name(name_), type(type_) { } in VertexAttribute()
67 …VertexToFragmentVarying (rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), f… in VertexToFragmentVarying()
75 …VertexToGeometryVarying (rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), f… in VertexToGeometryVarying()
83 …GeometryToFragmentVarying (rr::GenericVecType type_, int flags = VARYINGFLAG_NONE) : type(type_), … in GeometryToFragmentVarying()
91 FragmentOutput (rr::GenericVecType type_) : type(type_) { } in FragmentOutput()
98 Uniform (const std::string& name_, glu::DataType type_) : name(name_), type(type_) { } in Uniform()

12345678910>>...17