Home
last modified time | relevance | path

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

123

/drivers/hdf_core/framework/tools/hdi-gen/ast/
Dast_parameter.cpp29 sb.Append(type_->ToString()).Append(' '); in Dump()
38 switch (type_->GetTypeKind()) { in EmitCParameter()
60 … paramStr.AppendFormat("%s %s", type_->EmitCType(TypeMode::PARAM_IN).c_str(), name_.c_str()); in EmitCParameter()
62 … paramStr.AppendFormat("%s %s", type_->EmitCType(TypeMode::PARAM_OUT).c_str(), name_.c_str()); in EmitCParameter()
64 … if (type_->GetTypeKind() == TypeKind::TYPE_STRING && attr_->value_ == ParamAttr::PARAM_OUT) { in EmitCParameter()
73 … paramStr.AppendFormat("%s %s", type_->EmitCType(TypeMode::PARAM_IN).c_str(), name_.c_str()); in EmitCParameter()
75 … paramStr.AppendFormat("%s %s", type_->EmitCType(TypeMode::PARAM_OUT).c_str(), name_.c_str()); in EmitCParameter()
90 …return StringHelper::Format("%s %s", type_->EmitCppType(TypeMode::PARAM_IN).c_str(), name_.c_str()… in EmitCppParameter()
92 …return StringHelper::Format("%s %s", type_->EmitCppType(TypeMode::PARAM_OUT).c_str(), name_.c_str(… in EmitCppParameter()
99 switch (type_->GetTypeKind()) { in EmitJavaParameter()
[all …]
Dast_parameter.h22 : ASTNode(), name_(name), attr_(new ASTParamAttr(attribute)), type_(type) in ASTParameter()
27 : ASTNode(), name_(name), attr_(attribute), type_(type) in ASTParameter()
38 return type_; in GetType()
77 AutoPtr<ASTType> type_; variable
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/
DAttrEditor.js42 switch (this.node_.type_) {
230 v.type_ == DataType.INT8 ||
231 v.type_ == DataType.INT16 ||
232 v.type_ == DataType.INT32 ||
233 v.type_ == DataType.INT64) {
237 } else if (v.type_ == DataType.STRING) {
240 } else if (v.type_ == DataType.ARRAY) {
243 } else if (v.type_ == DataType.BOOL) {
246 } else if (v.type_ == DataType.REFERENCE) {
249 } else if (v.type_ == DataType.DELETE) {
[all …]
DMainEditor.js530 switch (data.type_) {
565 NapiLog.logError('unknow' + data.type_);
710 if (data.type_ == DataType.NODE) {
713 data.value_[i].parent_.type_ == 6 &&
718 } else if (data.value_[i].parent_.type_ == DataType.ATTR) {
745 switch (data.type_) {
763 …pm2f, this.getNodeText(data), MainEditor.NODE_TEXT_SIZE, offx, offy + data.posY, data.type_, data);
771 …is.drawNode(pm2f, data.name_, MainEditor.NODE_TEXT_SIZE, offx, offy + data.posY, data.type_, data);
806 NapiLog.logError('unknow' + data.type_);
841 if (node.type_ == DataType.ATTR) {
[all …]
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
DNodeTools.js94 node.type_ == DataType.NODE &&
110 node.type_ == DataType.NODE &&
117 node.type_ == DataType.ATTR &&
118 node.value_.type_ == DataType.REFERENCE
128 node.type_ == DataType.NODE &&
139 if (node.type_ == DataType.NODE) {
151 if (node.type_ == DataType.NODE) {
201 type_: node.type_, property
209 switch (node.type_) {
247 NapiLog.logInfo('unknow', node.type_);
[all …]
DGenerator.js69 ret.type_ = node.type_;
74 switch (node.type_) {
136 type_: DataType.NODE, property
200 switch (node.type_) {
244 NapiLog.logError('unknow' + node.type_);
Dast.js64 this.constructorSis(name.name_, name.type_, name.stringValue_);
88 this.type_ = type;
115 this.type_ = this.fitIntegerValueType(value);
193 if (srcObj.type_ != this.type_) {
243 if (peer.name_ == name && (type == 0 || peer.type_ == type)) {
255 this.type_ >= ObjectType.PARSEROP_UINT8 &&
256 type_ <= ObjectType.PARSEROP_UINT64
261 return this.type_ == ObjectType.PARSEROP_CONFNODE;
265 return this.type_ == ObjectType.PARSEROP_CONFTERM;
268 return this.type_ == ObjectType.PARSEROP_ARRAY;
[all …]
/drivers/peripheral/camera/test/ut/pipeline_core/
Dpipeline_core_test.cpp67 .type_ = PREVIEW,
87 .type_ = STILL_CAPTURE,
107 .type_ = PREVIEW,
111 .type_ = STILL_CAPTURE,
131 .type_ = PREVIEW,
142 .type_ = STILL_CAPTURE,
158 .type_ = STILL_CAPTURE,
162 .type_ = PREVIEW,
182 .type_ = PREVIEW,
186 .type_ = PREVIEW,
[all …]
Dstream_pipeline_builder_test.cpp62 .type_ = STILL_CAPTURE
65 .type_ = PREVIEW
82 .type_ = PREVIEW
85 .type_ = STILL_CAPTURE
Dstream_pipeline_dispatcher_test.cpp60 .type_ = PREVIEW
63 .type_ = STILL_CAPTURE
84 .type_ = PREVIEW
87 .type_ = STILL_CAPTURE
108 .type_ = PREVIEW
111 .type_ = STILL_CAPTURE
Dstream_pipeline_strategy_test.cpp57 .type_ = PREVIEW
69 .type_ = STILL_CAPTURE
81 .type_ = PREVIEW
84 .type_ = STILL_CAPTURE
/drivers/hdf_core/framework/tools/hdi-gen/codegen/
Dcode_emitter.h30 HeaderFile(HeaderFileType type, std::string fileName) : type_(type), fileName_(fileName) {} in HeaderFile()
40 if (lhs.type_ != rhs.type_) { in operator()
41 return lhs.type_ < rhs.type_; in operator()
50 switch (type_) { in ToString()
67 HeaderFileType type_; member
/drivers/peripheral/power/interfaces/hdi_service/src/
Drunning_lock_counter.h31 : type_(type), tag_(tag), counter_(0) {} in RunningLockCounter()
41 return type_; in GetType()
44 const RunningLockType type_;
/drivers/hdf_core/interfaces/inner_api/hdi/base/
Dhdi_smq_meta.h226 SmqType type_; variable
248 type_ = other.type_;
259 : ashmemFd_(fd), size_(0), elementCount_(elementCount), elementSize_(sizeof(T)), type_(type) in SharedMemQueueMeta()
293 type_ = other.type_; in SharedMemQueueMeta()
352 return type_; in GetType()
412 if (!parcel.WriteUint32(static_cast<uint32_t>(type_))) { in Marshalling()
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/
Ddcamera_device.cpp130 dcSetting.type_ = DCSettingsType::UPDATE_METADATA; in UpdateSettings()
204 dcSetting.type_ = DCSettingsType::ENABLE_METADATA; in EnableResult()
239 dcSetting.type_ = DCSettingsType::DISABLE_METADATA; in DisableResult()
375 if (result->type_ != DCSettingsType::METADATA_RESULT) { in OnSettingsResult()
376 DHLOGE("Invalid camera setting type = %d.", result->type_); in OnSettingsResult()
393 …DHLOGI("DCameraDevice::Notify for event type = %d, result = %d, content = %s.", event->type_, even… in Notify()
395 …if ((event->type_ != DCameraEventType::DCAMERA_MESSAGE) && (event->type_ != DCameraEventType::DCAM… in Notify()
396 DHLOGE("Invalid distributed camera event type = %d.", event->type_); in Notify()
/drivers/peripheral/distributed_camera/hdi_service/src/dstream_operator/
Ddstream_operator.cpp86 … "dataspace=%d, encodeType=%d", dcStreamInfo->streamId_, dcStreamInfo->type_, dcStreamInfo->width_, in CreateStreams()
157 dstStreamInfo.type_ = streamInfo.second->type_; in ExtractStreamInfo()
335 capture.type_ = captureInfo->type_; in ExtractCaptureInfo()
468 captureId, id, dcStreamInfo->second->type_); in HasContinuousCaptureInfo()
469 if (dcStreamInfo->second->type_ == DCStreamType::CONTINUOUS_FRAME) { in HasContinuousCaptureInfo()
740 if (dcStreamInfo->type_ != DCStreamType::SNAPSHOT_FRAME) { in SnapShotStreamOnCaptureEnded()
815 dstInfo->type_ = DCStreamType::SNAPSHOT_FRAME; in ConvertStreamInfo()
826 dstInfo->type_ = DCStreamType::CONTINUOUS_FRAME; in ConvertStreamInfo()
860 info->dataspace_, info->isCapture_, info->encodeType_, info->type_); in NegotiateSuitableCaptureInfo()
873 …appendCaptureInfo->type_ = isStreaming ? DCStreamType::SNAPSHOT_FRAME : DCStreamType::CONTINUOUS_F… in AppendCaptureInfo()
[all …]
/drivers/hdf_core/framework/tools/hc-gen/src/
Dast.cpp23 : type_(type), in AstObject()
57 this->type_ = FitIntegerValueType(integerValue); in AstObject()
70 : AstObject(obj.name_, obj.type_, obj.integerValue_, obj.stringValue_, 0, obj.src_) in AstObject()
84 type_ = obj.type_; in operator =()
166 if (t.type_ == PARSEROP_CONFNODE) { in operator <<()
170 } else if (t.type_ == PARSEROP_CONFTERM) { in operator <<()
181 switch (t.type_) { in operator <<()
219 if (srcObj->type_ != type_) { in Merge()
278 if (peer->name_ == name && (type == 0 || peer->type_ == type)) { in Lookup()
290 return type_ >= PARSEROP_UINT8 && type_ <= PARSEROP_UINT64; in IsNumber()
[all …]
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/dummy_node/
Ddummy_node.cpp21 CAMERA_LOGV("%{public}s enter, type(%{public}s)\n", name_.c_str(), type_.c_str()); in DummyNode()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/sensor_node/
Dsensor_node.cpp22 CAMERA_LOGV("%{public}s enter, type(%{public}s)\n", name_.c_str(), type_.c_str()); in SensorNode()
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_provider/
Ddcamera_provider.cpp175 dCameraResult->type_ = result.type_; in OnSettingsResult()
200 dCameraEvent->type_ = event.type_; in Notify()
247 … "type=%d.", info->streamId_, info->width_, info->height_, info->format_, info->type_); in ConfigureStreams()
289 info->width_, info->height_, info->format_, info->type_, info->isCapture_); in StartCapture()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/transform_node/
Dtransform_node.cpp20 CAMERA_LOGV("%{public}s enter, type(%{public}s)\n", name_.c_str(), type_.c_str()); in TransformNode()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/host_stream/include/
Dhost_stream_data_structure.h23 VdiStreamIntent type_; member
/drivers/peripheral/camera/vdi_base/common/adapter/platform/mpp/src/pipeline_core/nodes/venc_node/
Dvenc_node.cpp19 CAMERA_LOGV("%{public}s enter, type(%{public}s)\n", name_.c_str(), type_.c_str()); in VencNode()
/drivers/peripheral/camera/vdi_base/common/pipeline_core/pipeline_impl/src/builder/
Dstream_pipeline_builder.cpp37 … it.type_, cameraId); in Build()
42 … std::optional<int32_t> typeId = GetTypeId(it.type_, G_STREAM_TABLE_PTR, G_STREAM_TABLE_SIZE); in Build()
/drivers/interface/distributed_camera/v1_0/
DDCameraTypes.idl161 enum DCSettingsType type_;
204 enum DCStreamType type_;
246 enum DCStreamType type_;
279 int type_;

123