/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | json_object.cpp | 844 (void)inPath; 850 (void)inPath; 857 (void)inPath; 864 (void)inPath; 871 (void)inPath; 878 (void)inPath; 886 (void)inPath; 893 (void)inPath; 901 (void)inPath; 908 (void)inPath; [all …]
|
H A D | value_object.cpp | 102 bool ValueObject::IsFieldPathExist(const FieldPath &inPath) const in IsFieldPathExist() 104 return value_.IsFieldPathExist(inPath); in IsFieldPathExist() 112 return value_.GetFieldTypeByFieldPath(inPath, outType); in GetFieldTypeByFieldPath() 120 return value_.GetFieldValueByFieldPath(inPath, outValue); in GetFieldValueByFieldPath() 128 return value_.GetSubFieldPath(inPath, outSubPath); in GetSubFieldPath() 136 return value_.GetSubFieldPath(inPath, outSubPath); in GetSubFieldPath() 144 return value_.GetSubFieldPathAndType(inPath, outSubPathType); in GetSubFieldPathAndType() 153 return value_.GetSubFieldPathAndType(inPath, outSubPathType); in GetSubFieldPathAndType() 158 int errCode = value_.InsertField(inPath, inType, inValue); in InsertField() 165 int ValueObject::DeleteField(const FieldPath &inPath) in DeleteField() argument [all …]
|
H A D | schema_object.cpp | 215 if (inPath.empty()) { in CheckQueryableAndGetFieldType() 218 if (schemaDefine_.count(inPath.size() - 1) == 0) { in CheckQueryableAndGetFieldType() 221 if (schemaDefine_.at(inPath.size() - 1).count(inPath) == 0) { in CheckQueryableAndGetFieldType() 224 const SchemaAttribute &targetAttr = schemaDefine_.at(inPath.size() - 1).at(inPath); in CheckQueryableAndGetFieldType() 357 if (inPath == nullptr || inValue.first == nullptr) { // LCOV_EXCL_BR_LINE in ExtractValue() 585 if (inPath.empty()) { // Not Possible. Just For Clear CodeDEX. in CheckSchemaDefineItemDecideAttribute() 588 int errCode = SchemaUtils::CheckFieldName(inPath.back()); in CheckSchemaDefineItemDecideAttribute() 595 errCode = inJsonObject.GetFieldValueByFieldPath(inPath, subFieldValue); in CheckSchemaDefineItemDecideAttribute() 609 errCode = inJsonObject.GetArraySize(inPath, arraySize); in CheckSchemaDefineItemDecideAttribute() 1077 if (subPathType.count(inPath) == 0) { in ValueFieldType() [all …]
|
H A D | flatbuffer_schema.cpp | 273 RawString CheckDollarDotAndSkipIt(RawString inPath) in CheckDollarDotAndSkipIt() argument 275 if (inPath == nullptr) { in CheckDollarDotAndSkipIt() 278 auto pathStr = inPath; in CheckDollarDotAndSkipIt() 426 int SchemaObject::FlatBufferSchema::ExtractFlatBufferValue(RawString inPath, const RawValue &inValu… in ExtractFlatBufferValue() argument 435 auto pathStr = CheckDollarDotAndSkipIt(inPath); in ExtractFlatBufferValue() 992 int SchemaObject::FlatBufferSchema::ExtractFlatBufferValue(RawString inPath, const RawValue &inValu… in ExtractFlatBufferValue() argument 995 (void)inPath; in ExtractFlatBufferValue()
|
H A D | schema_utils.cpp | 495 std::string SchemaUtils::FieldPathString(const FieldPath &inPath) in FieldPathString() argument 498 for (const auto &entry : inPath) { in FieldPathString()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | json_object.h | 61 bool IsFieldPathExist(const FieldPath &inPath) const; 62 int GetFieldTypeByFieldPath(const FieldPath &inPath, FieldType &outType) const; 63 int GetFieldValueByFieldPath(const FieldPath &inPath, FieldValue &outValue) const; 68 int GetObjectByFieldPath(const FieldPath &inPath, JsonObject &outObj) const; 72 int GetSubFieldPath(const FieldPath &inPath, std::set<FieldPath> &outSubPath) const; 78 int GetArraySize(const FieldPath &inPath, uint32_t &outSize) const; 82 int GetArrayContentOfStringOrStringArray(const FieldPath &inPath, 100 int DeleteField(const FieldPath &inPath); 110 const Json::Value &GetJsonValueByFieldPath(const FieldPath &inPath, int &errCode) const; 118 int LocateJsonValueByFieldPath(const FieldPath &inPath, Json::Value *&exact, [all …]
|
H A D | value_object.h | 49 bool IsFieldPathExist(const FieldPath &inPath) const; 50 int GetFieldTypeByFieldPath(const FieldPath &inPath, FieldType &outType) const; 51 int GetFieldValueByFieldPath(const FieldPath &inPath, FieldValue &outValue) const; 55 int GetSubFieldPath(const FieldPath &inPath, std::set<FieldPath> &outSubPath) const; 56 int GetSubFieldPath(const std::set<FieldPath> &inPath, std::set<FieldPath> &outSubPath) const; 57 …int GetSubFieldPathAndType(const FieldPath &inPath, std::map<FieldPath, FieldType> &outSubPathType… 58 …int GetSubFieldPathAndType(const std::set<FieldPath> &inPath, std::map<FieldPath, FieldType> &outS… 64 int InsertField(const FieldPath &inPath, FieldType inType, const FieldValue &inValue); 68 int DeleteField(const FieldPath &inPath);
|
H A D | schema_object.h | 77 int CheckQueryableAndGetFieldType(const FieldPath &inPath, FieldType &outType) const; 108 …int ExtractValue(ValueSource sourceType, RawString inPath, const RawValue &inValue, TypeValue &out… 122 …efineItemDecideAttribute(const JsonObject &inJsonObject, const FieldPath &inPath, FieldType inType, 171 int ExtractFlatBufferValue(RawString inPath, const RawValue &inValue, TypeValue &outExtract,
|
H A D | schema_utils.h | 52 static std::string FieldPathString(const FieldPath &inPath);
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/dev/ |
H A D | file_monitor.cpp | 82 if ((inPath.back() != '/') && (inPath.back() != '\\')) { in CleanPath() 83 path.reserve(inPath.size() + 1); in CleanPath() 84 path = inPath; in CleanPath() 87 path = inPath; in CleanPath() 96 bool FileMonitor::AddPath(const string_view inPath) in AddPath() argument 99 CleanPath(inPath, path); in AddPath() 118 bool FileMonitor::RemovePath(const string_view inPath) in RemovePath() argument 121 CleanPath(inPath, path); in RemovePath() 142 bool FileMonitor::IsWatchingDirectory(const string_view inPath) in IsWatchingDirectory() argument 145 CleanPath(inPath, path); in IsWatchingDirectory() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_utils.h | 213 …id JsonExtractInnerFunc(sqlite3_context *ctx, const ValueObject &inValue, const FieldPath &inPath); 218 RawString inPath);
|
H A D | sqlite_utils.cpp | 1915 …ls::JsonExtractInnerFunc(sqlite3_context *ctx, const ValueObject &inValue, const FieldPath &inPath) in JsonExtractInnerFunc() argument 1918 int errCode = inValue.GetFieldTypeByFieldPath(inPath, outType); in JsonExtractInnerFunc() 1926 errCode = inValue.GetFieldValueByFieldPath(inPath, outValue); in JsonExtractInnerFunc() 1982 RawString inPath) in FlatBufferExtractInnerFunc() argument 1987 … int errCode = schema.ExtractValue(ValueSource::FROM_DBFILE, inPath, inValue, outExtract, nullptr); in FlatBufferExtractInnerFunc() 2019 … int errCode = schema.ExtractValue(ValueSource::FROM_DBFILE, inPath, inValue, outExtract, cached); in FlatBufferExtractInnerFunc()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/lumeassetcompiler/src/ |
H A D | main.cpp | 523 std::string inPath = { "" }, roPath = { "" }; local 608 inPath = argv[baseArg + 1]; 634 AddDirectory(inPath, roPath);
|
/ohos5.0/base/startup/appspawn/service/hnp/base/ |
H A D | hnp_zip.c | 59 static bool TransWidePath(const char *inPath, wchar_t *outPath) in TransWidePath() argument 62 MultiByteToWideChar(CP_ACP, 0, inPath, -1, tmpPath, MAX_FILE_PATH_LEN); in TransWidePath()
|