/external/image_io/src/jpeg/ |
D | jpeg_marker.cc | 30 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/mesa3d/src/compiler/nir/ |
D | nir_constant_expressions.py | 6 def type_has_size(type_): argument 7 return type_[-1:].isdigit() 9 def type_size(type_): argument 10 assert type_has_size(type_) 11 return int(type_split_re.match(type_).group('bits')) 13 def type_sizes(type_): argument 14 if type_has_size(type_): 15 return [type_size(type_)] 16 elif type_ == 'float': 21 def type_add_size(type_, size): argument [all …]
|
/external/libtextclassifier/utils/ |
D | variant.h | 42 Variant() : type_(TYPE_EMPTY) {} in Variant() 44 : type_(TYPE_INT_VALUE), int_value_(value) {} in Variant() 46 : type_(TYPE_INT64_VALUE), long_value_(value) {} in Variant() 48 : type_(TYPE_FLOAT_VALUE), float_value_(value) {} in Variant() 50 : type_(TYPE_DOUBLE_VALUE), double_value_(value) {} in Variant() 52 : type_(TYPE_STRING_VALUE), string_value_(value.ToString()) {} in Variant() 54 : type_(TYPE_STRING_VALUE), string_value_(value) {} in Variant() 56 : type_(TYPE_STRING_VALUE), string_value_(value) {} in Variant() 58 : type_(TYPE_BOOL_VALUE), bool_value_(value) {} in Variant() 92 bool HasInt() const { return type_ == TYPE_INT_VALUE; } in HasInt() [all …]
|
/external/libchrome/mojo/public/cpp/platform/ |
D | platform_handle.h | 87 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/ |
D | address.ipp | 29 : 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/ |
D | tcuAndroidRenderActivity.hpp | 72 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/ |
D | test_netlink.h | 11 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/ |
D | test_netlink.h | 11 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-mx32/ |
D | test_netlink.h | 11 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/jsoncpp/src/lib_json/ |
D | json_value.cpp | 325 : 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 …]
|
D | json_reader.cpp | 139 token.type_ = tokenError; in parse() 169 switch (token.type_) { in readValue() 228 } while (token.type_ == tokenComment); in skipCommentTokens() 236 if (token.type_ != type) in expectToken() 248 token.type_ = tokenObjectBegin; in readToken() 251 token.type_ = tokenObjectEnd; in readToken() 254 token.type_ = tokenArrayBegin; in readToken() 257 token.type_ = tokenArrayEnd; in readToken() 260 token.type_ = tokenString; in readToken() 264 token.type_ = tokenComment; in readToken() [all …]
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.h | 79 explicit DataPiece(const int32 value) : type_(TYPE_INT32), i32_(value) {} in DataPiece() 80 explicit DataPiece(const int64 value) : type_(TYPE_INT64), i64_(value) {} in DataPiece() 81 explicit DataPiece(const uint32 value) : type_(TYPE_UINT32), u32_(value) {} in DataPiece() 82 explicit DataPiece(const uint64 value) : type_(TYPE_UINT64), u64_(value) {} in DataPiece() 83 explicit DataPiece(const double value) : type_(TYPE_DOUBLE), double_(value) {} in DataPiece() 84 explicit DataPiece(const float value) : type_(TYPE_FLOAT), float_(value) {} in DataPiece() 85 explicit DataPiece(const bool value) : type_(TYPE_BOOL), bool_(value) {} in DataPiece() 87 : type_(TYPE_STRING), in DataPiece() 92 : type_(TYPE_BYTES), in DataPiece() 95 DataPiece(const DataPiece& r) : type_(r.type_), str_(r.str_) {} in DataPiece() [all …]
|
D | datapiece.cc | 116 if (type_ == TYPE_STRING) return StringToNumber<int32>(safe_strto32); in ToInt32() 118 if (type_ == TYPE_DOUBLE) in ToInt32() 121 if (type_ == TYPE_FLOAT) in ToInt32() 128 if (type_ == TYPE_STRING) return StringToNumber<uint32>(safe_strtou32); in ToUint32() 130 if (type_ == TYPE_DOUBLE) in ToUint32() 133 if (type_ == TYPE_FLOAT) in ToUint32() 140 if (type_ == TYPE_STRING) return StringToNumber<int64>(safe_strto64); in ToInt64() 142 if (type_ == TYPE_DOUBLE) in ToInt64() 145 if (type_ == TYPE_FLOAT) in ToInt64() 152 if (type_ == TYPE_STRING) return StringToNumber<uint64>(safe_strtou64); in ToUint64() [all …]
|
/external/webrtc/talk/media/base/ |
D | screencastid.h | 52 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/v8/src/ |
D | macro-assembler.h | 70 : tasm_(tasm), type_(type), old_has_frame_(tasm->has_frame()) { in FrameScope() 72 if (type != StackFrame::MANUAL && type_ != StackFrame::NONE) { in FrameScope() 78 if (type_ != StackFrame::MANUAL && type_ != StackFrame::NONE) { in ~FrameScope() 79 tasm_->LeaveFrame(type_); in ~FrameScope() 90 DCHECK(type_ != StackFrame::MANUAL && type_ != StackFrame::NONE); in GenerateLeaveFrame() 91 tasm_->LeaveFrame(type_); in GenerateLeaveFrame() 96 StackFrame::Type type_; variable 104 type_(type), in FrameAndConstantPoolScope() 112 if (type_ != StackFrame::MANUAL && type_ != StackFrame::NONE) { in FrameAndConstantPoolScope() 118 masm_->LeaveFrame(type_); in ~FrameAndConstantPoolScope() [all …]
|
/external/image_io/includes/image_io/base/ |
D | message.h | 49 : 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/python/cpython2/Lib/multiprocessing/ |
D | sharedctypes.py | 66 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/python/cpython3/Lib/multiprocessing/ |
D | sharedctypes.py | 39 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/webrtc/talk/app/webrtc/ |
D | statstypes.cc | 99 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/ |
D | command_line_flags.cc | 142 type_(TYPE_INT32), in Flag() 152 type_(TYPE_INT64), in Flag() 162 type_(TYPE_FLOAT), in Flag() 172 type_(TYPE_BOOL), in Flag() 182 type_(TYPE_STRING), in Flag() 193 type_(TYPE_INT32), in Flag() 201 type_(TYPE_INT64), in Flag() 209 type_(TYPE_FLOAT), in Flag() 217 type_(TYPE_BOOL), in Flag() 225 type_(TYPE_STRING), in Flag() [all …]
|
/external/protobuf/conformance/third_party/jsoncpp/ |
D | jsoncpp.cpp | 335 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 …]
|
/external/drm_hwcomposer/ |
D | drmconnector.cpp | 37 type_(c->connector_type), in DrmConnector() 91 return type_ == DRM_MODE_CONNECTOR_LVDS || type_ == DRM_MODE_CONNECTOR_eDP || in internal() 92 type_ == DRM_MODE_CONNECTOR_DSI || type_ == DRM_MODE_CONNECTOR_VIRTUAL; in internal() 96 return type_ == DRM_MODE_CONNECTOR_HDMIA || in external() 97 type_ == DRM_MODE_CONNECTOR_DisplayPort || in external() 98 type_ == DRM_MODE_CONNECTOR_DVID || type_ == DRM_MODE_CONNECTOR_DVII || in external() 99 type_ == DRM_MODE_CONNECTOR_VGA; in external() 104 return type_ == DRM_MODE_CONNECTOR_WRITEBACK; in writeback()
|
/external/flatbuffers/include/flatbuffers/ |
D | flexbuffers.h | 268 : 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 …]
|
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/ |
D | jsoncpp.cpp | 320 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 …]
|
/external/shaderc/spirv-headers/tools/buildHeaders/jsoncpp/dist/ |
D | jsoncpp.cpp | 320 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 …]
|