Home
last modified time | relevance | path

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

12345678910>>...12

/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/grpc/src/core/lib/security/authorization/
Dmatchers.cc50 : type_(type), string_matcher_(matcher), case_sensitive_(case_sensitive) {} in StringMatcher()
54 : type_(Type::SAFE_REGEX), in StringMatcher()
59 : type_(other.type_), case_sensitive_(other.case_sensitive_) { in StringMatcher()
60 if (type_ == Type::SAFE_REGEX) { in StringMatcher()
71 type_ = other.type_; in operator =()
72 if (type_ == Type::SAFE_REGEX) { in operator =()
85 : type_(other.type_), case_sensitive_(other.case_sensitive_) { in StringMatcher()
86 if (type_ == Type::SAFE_REGEX) { in StringMatcher()
94 type_ = other.type_; in operator =()
95 if (type_ == Type::SAFE_REGEX) { in operator =()
[all …]
/third_party/grpc/src/core/lib/json/
Djson.h81 : type_(is_number ? Type::NUMBER : Type::STRING), string_value_(string) {}
83 type_ = Type::STRING;
107 : type_(Type::STRING), string_value_(std::move(string)) {} in Json()
109 type_ = Type::STRING;
116 Json(bool b) : type_(b ? Type::JSON_TRUE : Type::JSON_FALSE) {} in Json()
118 type_ = b ? Type::JSON_TRUE : Type::JSON_FALSE;
126 : type_(Type::NUMBER), string_value_(std::to_string(number)) {} in Json()
129 type_ = Type::NUMBER;
136 Json(const Object& object) : type_(Type::OBJECT), object_value_(object) {} in Json()
138 type_ = Type::OBJECT;
[all …]
/third_party/flutter/engine/flutter/shell/platform/common/cpp/client_wrapper/include/flutter/
Dencodable_value.h68 explicit EncodableValue(bool value) : bool_(value), type_(Type::kBool) {} in EncodableValue()
71 explicit EncodableValue(int32_t value) : int_(value), type_(Type::kInt) {} in EncodableValue()
74 explicit EncodableValue(int64_t value) : long_(value), type_(Type::kLong) {} in EncodableValue()
78 : double_(value), type_(Type::kDouble) {} in EncodableValue()
82 : string_(new std::string(value)), type_(Type::kString) {} in EncodableValue()
86 : string_(new std::string(value)), type_(Type::kString) {} in EncodableValue()
91 type_(Type::kByteList) {} in EncodableValue()
96 type_(Type::kIntList) {} in EncodableValue()
101 type_(Type::kLongList) {} in EncodableValue()
106 type_(Type::kDoubleList) {} in EncodableValue()
[all …]
/third_party/boost/boost/asio/ip/impl/
Daddress.ipp34 : type_(ipv4),
42 : type_(ipv4),
50 : type_(ipv6),
57 : type_(other.type_),
65 : type_(other.type_),
74 type_ = other.type_;
83 type_ = other.type_;
93 type_ = ipv4;
102 type_ = ipv6;
160 if (type_ != ipv4)
[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.h52 Type type() const { return type_; } in type()
62 DCHECK(type_ == BOOLEAN); in boolean_value()
66 DCHECK(type_ == BOOLEAN); in boolean_value()
71 DCHECK(type_ == INTEGER); in int_value()
75 DCHECK(type_ == INTEGER); in int_value()
80 DCHECK(type_ == STRING); in string_value()
84 DCHECK(type_ == STRING); in string_value()
89 DCHECK(type_ == LIST); in list_value()
93 DCHECK(type_ == LIST); in list_value()
98 DCHECK(type_ == SCOPE); in scope_value()
[all …]
/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/flutter/engine/flutter/flow/
Dembedded_views.h33 type_ = other.type_; in Mutator()
34 switch (other.type_) { in Mutator()
55 explicit Mutator(const SkRect& rect) : type_(clip_rect), rect_(rect) {} in Mutator()
56 explicit Mutator(const SkRRect& rrect) : type_(clip_rrect), rrect_(rrect) {} in Mutator()
58 : type_(clip_path), path_(new SkPath(path)) {} in Mutator()
60 : type_(transform), matrix_(matrix) {} in Mutator()
61 explicit Mutator(const int& alpha) : type_(opacity), alpha_(alpha) {} in Mutator()
63 const MutatorType& GetType() const { return type_; } in GetType()
72 if (type_ != other.type_) {
75 switch (type_) {
[all …]
/third_party/boost/tools/build/src/tools/types/
Dasm.py7 from b2.build import type as type_ unknown
19 type_.register_type('ASM', ['s', 'S', 'asm'])
23 def set_asm_type(type_, sources, name=''): argument
25 _project_types[project.name() + type_] = _project_types.get(
26 project.name() + type_, type_) + '_'
28 name = name if name else _project_types[project.name() + type_]
29 type_ += '.asm'
30 return cast(name, type_.upper(), sources, [], [], [])
Dcpp.py4 from b2.build import type as type_ unknown
7 type_.register_type('CPP', ['cpp', 'cxx', 'cc'])
8 type_.register_type('H', ['h'])
9 type_.register_type('HPP', ['hpp'], 'H')
10 type_.register_type('C', ['c'])
/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/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/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/boost/boost/spirit/home/support/detail/lexer/parser/tokeniser/
Dnum_token.hpp37 basic_num_token (const type type_ = BEGIN, in basic_num_token()
39 _type (type_), in basic_num_token()
48 void set (const type type_) in set()
50 _type = type_; in set()
54 void set (const type type_, const std::size_t id_) in set()
56 _type = type_; in set()
68 char precedence (const type type_) const in precedence()
70 return _precedence_table[_type][type_]; in precedence()
/third_party/boost/libs/unordered/test/helpers/
Drandom_values.hpp20 random_generator type_; member
22 unordered_generator_set(random_generator type) : type_(type) {} in unordered_generator_set()
30 value_type value = generate(value_ptr, type_); in fill()
33 type_ == generate_collisions ? random_value(5) + 1 : 1; in fill()
47 random_generator type_; member
49 unordered_generator_map(random_generator type) : type_(type) {} in unordered_generator_map()
57 key_type key = generate(key_ptr, type_); in fill()
60 type_ == generate_collisions ? random_value(5) + 1 : 1; in fill()
64 key, generate(mapped_ptr, type_))); in fill()
/third_party/boost/tools/quickbook/src/
Dpath.cpp317 path_or_url::path_or_url() : type_(path_or_url_empty) {} in path_or_url()
320 : type_(x.type_), path_(x.path_), url_(x.url_) in path_or_url()
337 type_ = path_or_url_url; in path_or_url()
340 type_ = path_or_url_path; in path_or_url()
343 switch (type_) { in path_or_url()
359 type_ = x.type_; in operator =()
374 std::swap(type_, x.type_); in swap()
382 r.type_ = path_or_url_url; in url()
390 r.type_ = path_or_url_path; in path()
397 return type_ != path_or_url_empty; in operator bool()
[all …]
/third_party/jsoncpp/src/lib_json/
Djson_reader.cpp144 token.type_ = tokenError; in parse()
173 switch (token.type_) { in readValue()
237 } while (token.type_ == tokenComment); in skipCommentTokens()
250 token.type_ = tokenObjectBegin; in readToken()
253 token.type_ = tokenObjectEnd; in readToken()
256 token.type_ = tokenArrayBegin; in readToken()
259 token.type_ = tokenArrayEnd; in readToken()
262 token.type_ = tokenString; in readToken()
266 token.type_ = tokenComment; in readToken()
280 token.type_ = tokenNumber; in readToken()
[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/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/boost/libs/unordered/test/objects/
Dtest.hpp189 int type_; member in test::hash
192 hash() : type_(0) {} in hash()
194 explicit hash(int t) : type_(t) {} in hash()
199 switch (type_) { in operator ()()
215 switch (type_) { in operator ()()
231 switch (type_) { in operator ()()
246 return x1.type_ == x2.type_; in operator ==()
251 return x1.type_ != x2.type_; in operator !=()
261 int type_; member in test::less
264 explicit less(int t = 0) : type_(t) {} in less()
[all …]
/third_party/boringssl/src/third_party/googletest/include/gtest/
Dgtest-test-part.h65 : type_(a_type), in TestPartResult()
72 Type type() const { return type_; } in type()
91 bool skipped() const { return type_ == kSkip; } in skipped()
94 bool passed() const { return type_ == kSuccess; } in passed()
97 bool nonfatally_failed() const { return type_ == kNonFatalFailure; } in nonfatally_failed()
100 bool fatally_failed() const { return type_ == kFatalFailure; } in fatally_failed()
106 Type type_;
/third_party/googletest/googletest/include/gtest/
Dgtest-test-part.h66 : type_(a_type), in TestPartResult()
74 Type type() const { return type_; } in type()
93 bool passed() const { return type_ == kSuccess; } in passed()
96 bool failed() const { return type_ != kSuccess; } in failed()
99 bool nonfatally_failed() const { return type_ == kNonFatalFailure; } in nonfatally_failed()
102 bool fatally_failed() const { return type_ == kFatalFailure; } in fatally_failed()
105 Type type_;

12345678910>>...12