Home
last modified time | relevance | path

Searched refs:inType (Results 1 - 25 of 53) sorted by relevance

123

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dischema.h34 inline SchemaType ReadSchemaType(uint8_t inType) in ReadSchemaType() argument
36 if (inType >= static_cast<uint8_t>(SchemaType::UNRECOGNIZED)) { in ReadSchemaType()
39 return static_cast<SchemaType>(inType); in ReadSchemaType()
H A Dschema_utils.h48 static std::string FieldTypeString(FieldType inType);
49 static std::string SchemaTypeString(SchemaType inType);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dflatbuffer_schema.cpp91 inline bool IsIntegerType(reflection::BaseType inType) in IsIntegerType() argument
93 return (inType >= reflection::BaseType::Bool) && (inType <= reflection::BaseType::ULong); in IsIntegerType()
96 inline bool IsRealType(reflection::BaseType inType) in IsRealType() argument
98 return (inType >= reflection::BaseType::Float) && (inType <= reflection::BaseType::Double); in IsRealType()
101 inline bool IsScalarType(reflection::BaseType inType) in IsScalarType() argument
103 return IsIntegerType(inType) || IsRealType(inType); in IsScalarType()
106 inline bool IsStringType(reflection::BaseType inType) in IsStringType() argument
111 IsIndexableType(reflection::BaseType inType) IsIndexableType() argument
116 IsVectorType(reflection::BaseType inType) IsVectorType() argument
121 IsStringOrVectorType(reflection::BaseType inType) IsStringOrVectorType() argument
126 IsObjectType(reflection::BaseType inType) IsObjectType() argument
131 IsSupportTypeAtRoot(reflection::BaseType inType) IsSupportTypeAtRoot() argument
136 IsRequiredSupportType(reflection::BaseType inType) IsRequiredSupportType() argument
249 MapFieldType(reflection::BaseType inType) MapFieldType() argument
567 CheckFieldTypeSupport(const reflection::Type &inType, bool isRootField) CheckFieldTypeSupport() argument
[all...]
H A Djson_object.cpp449 bool InsertFieldCheckParameter(const FieldPath &inPath, FieldType inType, const FieldValue &inValue, in InsertFieldCheckParameter() argument
452 if (inPath.empty() || inPath.size() > maxNestDepth || inType == FieldType::LEAF_FIELD_ARRAY || in InsertFieldCheckParameter()
453 inType == FieldType::INTERNAL_FIELD_OBJECT) { in InsertFieldCheckParameter()
457 return !(inType == FieldType::LEAF_FIELD_DOUBLE && !std::isfinite(inValue.doubleValue)); in InsertFieldCheckParameter()
460 void LeafJsonNodeAppendValue(Json::Value &leafNode, FieldType inType, const FieldValue &inValue) in LeafJsonNodeAppendValue() argument
462 if (inType == FieldType::LEAF_FIELD_STRING) { in LeafJsonNodeAppendValue()
468 void LeafJsonNodeAssignValue(Json::Value &leafNode, FieldType inType, const FieldValue &inValue) in LeafJsonNodeAssignValue() argument
470 switch (inType) { in LeafJsonNodeAssignValue()
547 int JsonObject::InsertField(const FieldPath &inPath, FieldType inType, const FieldValue &inValue, bool isAppend) in InsertField() argument
549 if (!InsertFieldCheckParameter(inPath, inType, inValu in InsertField()
[all...]
H A Dschema_object.cpp28 void DisplaySchemaLineByLine(SchemaType inType, const std::string &inSchema) in DisplaySchemaLineByLine() argument
33 LOGD("[Schema][Display] IS %s, LENGTH=%zu.", SchemaUtils::SchemaTypeString(inType).c_str(), inSchema.size()); in DisplaySchemaLineByLine()
582 FieldType inType, SchemaAttribute &outAttr) const in CheckSchemaDefineItemDecideAttribute()
593 if (inType == FieldType::LEAF_FIELD_STRING) { in CheckSchemaDefineItemDecideAttribute()
607 } else if (inType == FieldType::LEAF_FIELD_ARRAY) { in CheckSchemaDefineItemDecideAttribute()
618 outAttr = SchemaAttribute{inType, false, false, false, FieldValue()}; in CheckSchemaDefineItemDecideAttribute()
619 } else if (inType == FieldType::LEAF_FIELD_OBJECT) { in CheckSchemaDefineItemDecideAttribute()
620 outAttr = SchemaAttribute{inType, false, false, false, FieldValue()}; in CheckSchemaDefineItemDecideAttribute()
621 } else if (inType == FieldType::INTERNAL_FIELD_OBJECT) { in CheckSchemaDefineItemDecideAttribute()
622 outAttr = SchemaAttribute{inType, fals in CheckSchemaDefineItemDecideAttribute()
581 CheckSchemaDefineItemDecideAttribute(const JsonObject& inJsonObject, const FieldPath &inPath, FieldType inType, SchemaAttribute &outAttr) const CheckSchemaDefineItemDecideAttribute() argument
1007 IsTypeMustBeExactlyEqualBetweenSchemaAndValue(FieldType inType) IsTypeMustBeExactlyEqualBetweenSchemaAndValue() argument
1014 IsObjectType(FieldType inType) IsObjectType() argument
[all...]
/foundation/multimedia/av_codec/services/media_engine/filters/
H A Dsubtitle_sink_filter.cpp187 Status SubtitleSinkFilter::OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, in OnLinked() argument
192 return Filter::OnLinked(inType, meta, callback); in OnLinked()
201 Status SubtitleSinkFilter::OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta, in OnUpdated() argument
204 return Filter::OnUpdated(inType, meta, callback); in OnUpdated()
207 Status SubtitleSinkFilter::OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) in OnUnLinked() argument
209 return Filter::OnUnLinked(inType, callback); in OnUnLinked()
H A Daudio_sink_filter.cpp220 Status AudioSinkFilter::OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, in OnLinked() argument
235 return Filter::OnLinked(inType, meta, callback); in OnLinked()
301 Status AudioSinkFilter::OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta, in OnUpdated() argument
304 return Filter::OnUpdated(inType, meta, callback); in OnUpdated()
307 Status AudioSinkFilter::OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) in OnUnLinked() argument
309 return Filter::OnUnLinked(inType, callback); in OnUnLinked()
/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Daudio_sink_filter.h61 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta,
86 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta,
89 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Daudio_encoder_filter.h58 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
60 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
62 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Daudio_capture_filter.h52 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
54 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
56 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback> &callback) override;
H A Daudio_data_source_filter.h50 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta,
52 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta,
54 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Dmetadata_filter.h65 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
67 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
69 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Dvideo_capture_filter.h65 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
67 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
69 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Dsubtitle_sink_filter.h58 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta,
69 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta>& meta,
72 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Dsurface_decoder_filter.h64 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
66 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
68 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Daudio_decoder_filter.h87 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
90 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
93 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Dvideo_resize_filter.h66 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
68 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
70 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Dsurface_encoder_filter.h70 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
72 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
74 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Dmuxer_filter.h53 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
55 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
57 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
H A Ddemuxer_filter.h109 Status OnLinked(StreamType inType, const std::shared_ptr<Meta> &meta,
112 Status OnUpdated(StreamType inType, const std::shared_ptr<Meta> &meta,
115 Status OnUnLinked(StreamType inType, const std::shared_ptr<FilterLinkCallback>& callback) override;
/foundation/multimedia/av_codec/test/unittest/filter_test/
H A Daudio_sink_filter_unit_test.cpp140 StreamType inType = StreamType::STREAMTYPE_MAX; in HWTEST_F() local
145 audioSinkFilter_->OnLinked(inType, meta, callback); in HWTEST_F()
147 audioSinkFilter_->OnLinked(inType, meta, callback); in HWTEST_F()
H A Daudio_data_source_filter_unit_test.cpp220 StreamType inType = StreamType::STREAMTYPE_RAW_AUDIO; in HWTEST_F() local
225 Status status = audioDataSourceFilter_->OnLinked(inType, meta, callback); in HWTEST_F()
240 StreamType inType = StreamType::STREAMTYPE_RAW_AUDIO; in HWTEST_F() local
245 Status status = audioDataSourceFilter_->OnUpdated(inType, meta, callback); in HWTEST_F()
260 StreamType inType = StreamType::STREAMTYPE_RAW_AUDIO; in HWTEST_F() local
264 Status status = audioDataSourceFilter_->OnUnLinked(inType, callback); in HWTEST_F()
H A Daudio_capture_filter_unit_test.cpp371 StreamType inType = StreamType::STREAMTYPE_PACKED; in HWTEST_F() local
372 Status result = audioCaptureFilter_->OnLinked(inType, nullptr, nullptr); in HWTEST_F()
383 StreamType inType = StreamType::STREAMTYPE_PACKED; in HWTEST_F() local
384 Status result = audioCaptureFilter_->OnUpdated(inType, nullptr, nullptr); in HWTEST_F()
395 StreamType inType = StreamType::STREAMTYPE_PACKED; in HWTEST_F() local
396 Status result = audioCaptureFilter_->OnUnLinked(inType, nullptr); in HWTEST_F()
H A Daudio_data_source_filter_unit_test.h188 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, in OnLinked() argument
191 (void)inType; in OnLinked()
H A Dmuxer_filter_unit_test.h139 Status OnLinked(StreamType inType, const std::shared_ptr<Meta>& meta, in OnLinked() argument
142 (void)inType; in OnLinked()

Completed in 11 milliseconds

123