Home
last modified time | relevance | path

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

12345678910>>...23

/external/deqp-deps/amber/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()
126 if (type_->IsNumber() && IsNormalized(type_->AsNumber()->GetFormatMode())) in IsNormalized()
129 if (type_->IsList()) { in IsNormalized()
130 for (auto& member : type_->AsList()->Members()) { in IsNormalized()
147 return type_->IsNumber() && in IsInt8()
148 type::Type::IsInt8(type_->AsNumber()->GetFormatMode(), in IsInt8()
149 type_->AsNumber()->NumBits()); in IsInt8()
[all …]
Dtokenizer.h41 bool IsHex() const { return type_ == TokenType::kHex; } in IsHex()
42 bool IsInteger() const { return type_ == TokenType::kInteger; } in IsInteger()
43 bool IsDouble() const { return type_ == TokenType::kDouble; } in IsDouble()
44 bool IsString() const { return type_ == TokenType::kString; } in IsString()
45 bool IsEOS() const { return type_ == TokenType::kEOS; } in IsEOS()
46 bool IsEOL() const { return type_ == TokenType::kEOL; } in IsEOL()
49 return type_ == TokenType::kString && string_value_ == ","; in IsComma()
52 return type_ == TokenType::kString && string_value_ == "("; in IsOpenBracket()
55 return type_ == TokenType::kString && string_value_ == ")"; in IsCloseBracket()
92 TokenType type_;
/external/image_io/src/jpeg/
Djpeg_marker.cc30 switch (type_) { in GetName()
61 if (0xC0 <= type_ && type_ <= 0xC0+15) { in GetName()
62 name_stream << "SOF" << type_-0xC0; in GetName()
65 if (0xD0 <= type_ && type_ <= 0xD0+7) { in GetName()
66 name_stream << "RST" << type_-0xD0; in GetName()
69 if (JpegMarker::kAPP0 <= type_ && type_ <= JpegMarker::kAPP0+15) { in GetName()
70 name_stream << "APP" << type_-JpegMarker::kAPP0; in GetName()
73 if (0xF0 <= type_ && type_ <= 0xF0+13) { in GetName()
74 name_stream << "JPG" << type_-0xF0; in GetName()
83 << std::setw(2) << static_cast<int>(type_); in GetHexString()
[all …]
/external/libtextclassifier/native/utils/
Dvariant.h51 Variant() : type_(TYPE_EMPTY) {} in Variant()
53 : type_(TYPE_INT8_VALUE), int8_value_(value) {} in Variant()
55 : type_(TYPE_UINT8_VALUE), uint8_value_(value) {} in Variant()
57 : type_(TYPE_INT_VALUE), int_value_(value) {} in Variant()
59 : type_(TYPE_UINT_VALUE), uint_value_(value) {} in Variant()
61 : type_(TYPE_INT64_VALUE), long_value_(value) {} in Variant()
63 : type_(TYPE_UINT64_VALUE), ulong_value_(value) {} in Variant()
65 : type_(TYPE_FLOAT_VALUE), float_value_(value) {} in Variant()
67 : type_(TYPE_DOUBLE_VALUE), double_value_(value) {} in Variant()
69 : type_(TYPE_STRING_VALUE), string_value_(value.ToString()) {} in Variant()
[all …]
/external/libchrome/mojo/public/cpp/platform/
Dplatform_handle.h87 Type type() const { return type_; } in COMPONENT_EXPORT()
103 bool is_handle() const { return type_ == Type::kHandle; } in COMPONENT_EXPORT()
106 DCHECK_EQ(type_, Type::kHandle); in COMPONENT_EXPORT()
107 type_ = Type::kNone; in COMPONENT_EXPORT()
111 DCHECK_EQ(type_, Type::kHandle); in COMPONENT_EXPORT()
112 type_ = Type::kNone; in COMPONENT_EXPORT()
118 bool is_handle() const { return type_ == Type::kHandle; } in COMPONENT_EXPORT()
121 if (type_ == Type::kHandle) in COMPONENT_EXPORT()
122 type_ = Type::kNone; in COMPONENT_EXPORT()
126 if (type_ == Type::kHandle) in COMPONENT_EXPORT()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/ip/impl/
Daddress.ipp29 : type_(ipv4),
36 : type_(ipv4),
43 : type_(ipv6),
50 : type_(other.type_),
57 : type_(other.type_),
65 type_ = other.type_;
73 type_ = other.type_;
81 type_ = ipv4;
89 type_ = ipv6;
97 if (type_ != ipv4)
[all …]
/external/deqp/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 …]
/external/strace/tests-mx32/
Dtest_netlink.h11 type_, type_str_, \ argument
22 .nlmsg_type = (type_), \
42 #define TEST_NETLINK(fd_, nlh0_, type_, flags_, \ argument
45 (type_), #type_, \
50 type_, type_str_, \ argument
62 (type_), (type_str_), \
68 (type_), (type_str_), \
76 (type_), (type_str_), \
84 type_, flags_, \ argument
87 (type_), #type_, \
[all …]
/external/strace/tests-m32/
Dtest_netlink.h11 type_, type_str_, \ argument
22 .nlmsg_type = (type_), \
42 #define TEST_NETLINK(fd_, nlh0_, type_, flags_, \ argument
45 (type_), #type_, \
50 type_, type_str_, \ argument
62 (type_), (type_str_), \
68 (type_), (type_str_), \
76 (type_), (type_str_), \
84 type_, flags_, \ argument
87 (type_), #type_, \
[all …]
/external/strace/tests/
Dtest_netlink.h11 type_, type_str_, \ argument
22 .nlmsg_type = (type_), \
42 #define TEST_NETLINK(fd_, nlh0_, type_, flags_, \ argument
45 (type_), #type_, \
50 type_, type_str_, \ argument
62 (type_), (type_str_), \
68 (type_), (type_str_), \
76 (type_), (type_str_), \
84 type_, flags_, \ argument
87 (type_), #type_, \
[all …]
/external/perfetto/src/trace_processor/importers/fuchsia/
Dfuchsia_trace_utils.h64 v.type_ = ArgType::kNull; in Null()
71 v.type_ = ArgType::kInt32; in Int32()
78 v.type_ = ArgType::kUint32; in Uint32()
85 v.type_ = ArgType::kInt64; in Int64()
92 v.type_ = ArgType::kUint64; in Uint64()
99 v.type_ = ArgType::kDouble; in Double()
106 v.type_ = ArgType::kString; in String()
113 v.type_ = ArgType::kPointer; in Pointer()
120 v.type_ = ArgType::kKoid; in Koid()
127 v.type_ = ArgType::kUnknown; in Unknown()
[all …]
/external/webrtc/talk/media/base/
Dscreencastid.h52 ScreencastId() : type_(INVALID) {} in ScreencastId()
54 : type_(WINDOW), window_(id) { in ScreencastId()
57 : type_(DESKTOP), desktop_(id) { in ScreencastId()
60 Type type() const { return type_; } in type()
69 if (type_ == INVALID) { in IsValid()
71 } else if (type_ == WINDOW) { in IsValid()
77 bool IsWindow() const { return type_ == WINDOW; } in IsWindow()
78 bool IsDesktop() const { return type_ == DESKTOP; } in IsDesktop()
80 if (type_ != other.type_) { in EqualsId()
83 if (type_ == INVALID) { in EqualsId()
[all …]
/external/jsoncpp/src/lib_json/
Djson_value.cpp325 : type_(other.type_), allocated_(false) in Value()
332 switch (type_) { in Value()
376 switch (type_) { in ~Value()
414 ValueType temp = type_; in swap()
415 type_ = other.type_; in swap()
416 other.type_ = temp; in swap()
425 ValueType Value::type() const { return type_; } in type()
436 int typeDelta = type_ - other.type_; in operator <()
439 switch (type_) { in operator <()
485 int temp = other.type_; in operator ==()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_constant_expressions.py7 def type_add_size(type_, size): argument
8 if type_has_size(type_):
9 return type_
10 return type_ + str(size)
26 def get_const_field(type_): argument
27 if type_size(type_) == 1:
29 elif type_base_type(type_) == 'bool':
30 return 'i' + str(type_size(type_))
31 elif type_ == "float16":
34 return type_base_type(type_)[0] + str(type_size(type_))
/external/image_io/includes/image_io/base/
Dmessage.h49 : type_(type), system_errno_(system_errno), text_(text) {} in Message()
54 return type_ == rhs.type_ && system_errno_ == rhs.system_errno_ &&
59 return type_ != rhs.type_ || system_errno_ != rhs.system_errno_ ||
64 Type GetType() const { return type_; } in GetType()
74 return type_ != Message::kStatus && type_ != Message::kWarning; in IsError()
78 bool IsWarning() const { return type_ == Message::kWarning; } in IsWarning()
81 bool IsStatus() const { return type_ == Message::kStatus; } in IsStatus()
85 Type type_;
/external/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc120 if (type_ == TYPE_STRING) return StringToNumber<int32>(safe_strto32); in ToInt32()
122 if (type_ == TYPE_DOUBLE) in ToInt32()
125 if (type_ == TYPE_FLOAT) in ToInt32()
132 if (type_ == TYPE_STRING) in ToUint32()
135 if (type_ == TYPE_DOUBLE) in ToUint32()
138 if (type_ == TYPE_FLOAT) in ToUint32()
145 if (type_ == TYPE_STRING) return StringToNumber<int64>(safe_strto64); in ToInt64()
147 if (type_ == TYPE_DOUBLE) in ToInt64()
150 if (type_ == TYPE_FLOAT) in ToInt64()
157 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 …]
/external/drm_hwcomposer/drm/
Ddrmconnector.cpp42 type_(c->connector_type), in DrmConnector()
97 return type_ == DRM_MODE_CONNECTOR_LVDS || type_ == DRM_MODE_CONNECTOR_eDP || in internal()
98 type_ == DRM_MODE_CONNECTOR_DSI || in internal()
99 type_ == DRM_MODE_CONNECTOR_VIRTUAL || type_ == DRM_MODE_CONNECTOR_DPI; in internal()
103 return type_ == DRM_MODE_CONNECTOR_HDMIA || in external()
104 type_ == DRM_MODE_CONNECTOR_DisplayPort || in external()
105 type_ == DRM_MODE_CONNECTOR_DVID || type_ == DRM_MODE_CONNECTOR_DVII || in external()
106 type_ == DRM_MODE_CONNECTOR_VGA; in external()
111 return type_ == DRM_MODE_CONNECTOR_WRITEBACK; in writeback()
127 if (type_ < TYPES_COUNT) { in name()
[all …]
/external/python/cpython3/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 …]
/external/python/cpython2/Lib/multiprocessing/
Dsharedctypes.py66 def _new_value(type_): argument
67 size = ctypes.sizeof(type_)
69 return rebuild_ctype(type_, wrapper, None)
75 type_ = typecode_to_type.get(typecode_or_type, typecode_or_type)
76 obj = _new_value(type_)
85 type_ = typecode_to_type.get(typecode_or_type, typecode_or_type)
87 type_ = type_ * size_or_initializer
88 obj = _new_value(type_)
92 type_ = type_ * len(size_or_initializer)
93 result = _new_value(type_)
[all …]
/external/v8/src/codegen/
Dmacro-assembler.h75 : tasm_(tasm), type_(type), old_has_frame_(tasm->has_frame()) { in FrameScope()
77 if (type != StackFrame::MANUAL && type_ != StackFrame::NONE) { in FrameScope()
83 if (type_ != StackFrame::MANUAL && type_ != StackFrame::NONE) { in ~FrameScope()
84 tasm_->LeaveFrame(type_); in ~FrameScope()
91 StackFrame::Type type_; variable
99 type_(type), in FrameAndConstantPoolScope()
107 if (type_ != StackFrame::MANUAL && type_ != StackFrame::NONE) { in FrameAndConstantPoolScope()
113 masm_->LeaveFrame(type_); in ~FrameAndConstantPoolScope()
122 StackFrame::Type type_; variable
/external/webrtc/talk/app/webrtc/
Dstatstypes.cc99 return std::string(InternalTypeToString(type_)) + kSeparator + id_; in ToString()
117 return std::string(InternalTypeToString(type_)) + in ToString()
223 StatsReport::IdBase::IdBase(StatsType type) : type_(type) {} in IdBase()
226 StatsReport::StatsType StatsReport::IdBase::type() const { return type_; } in type()
229 return other.type_ == type_; in Equals()
233 : name(name), type_(int_type) { in Value()
234 RTC_DCHECK(type_ == kInt || type_ == kInt64); in Value()
235 type_ == kInt ? value_.int_ = static_cast<int>(value) : value_.int64_ = value; in Value()
239 : name(name), type_(kFloat) { in Value()
244 : name(name), type_(kString) { in Value()
[all …]
/external/tensorflow/tensorflow/core/util/
Dcommand_line_flags.cc137 type_(TYPE_INT32), in Flag()
147 type_(TYPE_INT64), in Flag()
157 type_(TYPE_FLOAT), in Flag()
167 type_(TYPE_BOOL), in Flag()
177 type_(TYPE_STRING), in Flag()
188 type_(TYPE_INT32), in Flag()
196 type_(TYPE_INT64), in Flag()
204 type_(TYPE_FLOAT), in Flag()
212 type_(TYPE_BOOL), in Flag()
220 type_(TYPE_STRING), in Flag()
[all …]
/external/angle/third_party/jsoncpp/source/src/lib_json/
Djson_reader.cpp147 token.type_ = tokenError; in parse()
176 switch (token.type_) { in readValue()
240 } while (token.type_ == tokenComment); in skipCommentTokens()
253 token.type_ = tokenObjectBegin; in readToken()
256 token.type_ = tokenObjectEnd; in readToken()
259 token.type_ = tokenArrayBegin; in readToken()
262 token.type_ = tokenArrayEnd; in readToken()
265 token.type_ = tokenString; in readToken()
269 token.type_ = tokenComment; in readToken()
283 token.type_ = tokenNumber; in readToken()
[all …]
/external/flatbuffers/include/flatbuffers/
Dflexbuffers.h268 : Sized(data, byte_width), type_(element_type) {} in TypedVector()
280 Type ElementType() { return type_; } in ElementType()
283 Type type_;
292 : Object(data, byte_width), type_(element_type), len_(len) {} in FixedTypedVector()
304 Type ElementType() { return type_; } in ElementType()
308 Type type_;
357 type_(type) {} in Reference()
362 type_ = static_cast<Type>(packed_type >> 2); in Reference()
365 Type GetType() const { return type_; } in GetType()
367 bool IsNull() const { return type_ == FBT_NULL; } in IsNull()
[all …]

12345678910>>...23