/foundation/ability/dmsfwk_lite/source/ |
H A D | dmslite_packet.c | 48 static bool MarshallInt(uint64_t field, FieldType fieldType, uint8_t fieldSize); 69 bool MarshallUint8(uint8_t field, FieldType fieldType) in MarshallUint8() argument 71 return MarshallInt(field, fieldType, sizeof(uint8_t)); in MarshallUint8() 74 bool MarshallUint16(uint16_t field, FieldType fieldType) in MarshallUint16() argument 76 return MarshallInt(field, fieldType, sizeof(uint16_t)); in MarshallUint16() 79 bool MarshallUint32(uint32_t field, FieldType fieldType) in MarshallUint32() argument 81 return MarshallInt(field, fieldType, sizeof(uint32_t)); in MarshallUint32() 84 bool MarshallUint64(uint64_t field, FieldType fieldType) in MarshallUint64() argument 86 return MarshallInt(field, fieldType, sizeof(uint16_t)); in MarshallUint64() 89 bool MarshallInt8(int8_t field, FieldType fieldType) in MarshallInt8() argument 94 MarshallInt16(int16_t field, FieldType fieldType) MarshallInt16() argument 99 MarshallInt32(int32_t field, FieldType fieldType) MarshallInt32() argument 104 MarshallInt64(int64_t field, FieldType fieldType) MarshallInt64() argument 213 MarshallInt(uint64_t field, FieldType fieldType, uint8_t fieldSize) MarshallInt() argument [all...] |
/foundation/ability/dmsfwk_lite/include/ |
H A D | dmslite_packet.h | 30 bool MarshallUint8(uint8_t field, FieldType fieldType); 31 bool MarshallUint16(uint16_t field, FieldType fieldType); 32 bool MarshallUint32(uint32_t field, FieldType fieldType); 33 bool MarshallUint64(uint64_t field, FieldType fieldType); 34 bool MarshallInt8(int8_t field, FieldType fieldType); 35 bool MarshallInt16(int16_t field, FieldType fieldType); 36 bool MarshallInt32(int32_t field, FieldType fieldType); 37 bool MarshallInt64(int64_t field, FieldType fieldType);
|
H A D | dmslite_utils.h | 24 #define PACKET_MARSHALL_HELPER(type, fieldType, field) \ 26 bool ret = Marshall##type((field), (fieldType)); \ 34 #define RAWDATA_MARSHALL_HELPER(type, fieldType, field, length) \ 36 bool ret = Marshall##type((field), (fieldType), (length)); \
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | query_helper.cpp | 145 const std::string &fieldType = words.at(pointer + 1); // fieldType in HandleEqualTo() local 148 if (fieldType == DataQuery::TYPE_INTEGER) { in HandleEqualTo() 150 } else if (fieldType == DataQuery::TYPE_LONG) { in HandleEqualTo() 152 } else if (fieldType == DataQuery::TYPE_DOUBLE) { in HandleEqualTo() 154 } else if (fieldType == DataQuery::TYPE_BOOLEAN) { in HandleEqualTo() 156 } else if (fieldType == DataQuery::TYPE_STRING) { in HandleEqualTo() 172 const std::string &fieldType = words.at(pointer + 1); // fieldType in HandleNotEqualTo() local 175 if (fieldType in HandleNotEqualTo() 199 const std::string &fieldType = words.at(pointer + 1); // fieldType HandleGreaterThan() local 224 const std::string &fieldType = words.at(pointer + 1); // fieldType HandleLessThan() local 250 const std::string &fieldType = words.at(pointer + 1); // fieldType HandleGreaterThanOrEqualTo() local 276 const std::string &fieldType = words.at(pointer + 1); // fieldType HandleLessThanOrEqualTo() local 332 const std::string &fieldType = words.at(pointer + 1); // fieldType HandleIn() local 368 const std::string &fieldType = words.at(pointer + 1); // fieldType HandleNotIn() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/ |
H A D | relational_schema_object.cpp | 374 FieldType fieldType; 375 int errCode = inJsonObject.GetFieldTypeByFieldPath(FieldPath {fieldName}, fieldType); 377 LOGE("[RelationalSchema][Parse] Get schema %s fieldType failed: %d.", fieldName.c_str(), errCode); 381 if (fieldType != expectType) { 382 LOGE("[RelationalSchema][Parse] Expect %s fieldType %d but: %d.", fieldName.c_str(), 383 static_cast<int>(expectType), static_cast<int>(fieldType)); 398 FieldType fieldType; 399 int errCode = inJsonObject.GetFieldTypeByFieldPath(FieldPath {SchemaConstant::KEYWORD_SCHEMA_TABLE}, fieldType); 401 LOGE("[RelationalSchema][Parse] Get tracker schema TABLES fieldType failed: %d.", errCode); 404 if (FieldType::LEAF_FIELD_ARRAY != fieldType) { // LCOV_EXCL_BR_LIN [all...] |
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/ |
H A D | data_query.h | 660 void AppendCommon(const std::string &keyword, const std::string &fieldType, std::string &field, const T &value); 662 void AppendCommonString(const std::string &keyword, const std::string &fieldType, std::string &field, 665 void AppendCommonBoolean(const std::string &keyword, const std::string &fieldType, std::string &field, 671 void AppendCommonList(const std::string &keyword, const std::string &fieldType, std::string &field, 674 void AppendCommonListString(const std::string &keyword, const std::string &fieldType, std::string &field,
|
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/ |
H A D | data_query.cpp | 667 void DataQuery::AppendCommon(const std::string &keyword, const std::string &fieldType, in AppendCommon() argument 673 str_.append(fieldType); in AppendCommon() 681 void DataQuery::AppendCommonString(const std::string &keyword, const std::string &fieldType, in AppendCommonString() argument 687 str_.append(fieldType); in AppendCommonString() 696 void DataQuery::AppendCommonBoolean(const std::string &keyword, const std::string &fieldType, in AppendCommonBoolean() argument 702 str_.append(fieldType); in AppendCommonBoolean() 727 void DataQuery::AppendCommonList(const std::string &keyword, const std::string &fieldType, in AppendCommonList() argument 733 str_.append(fieldType); in AppendCommonList() 747 void DataQuery::AppendCommonListString(const std::string &keyword, const std::string &fieldType, in AppendCommonListString() argument 753 str_.append(fieldType); in AppendCommonListString() [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/mock/include/ |
H A D | napi_rdb_predicates.h | 49 std::vector<std::string> &fieldarray, const std::string fieldName, const std::string fieldType);
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/include/ |
H A D | napi_rdb_predicates.h | 49 std::vector<std::string> &fieldarray, const std::string fieldName, const std::string fieldType);
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/ |
H A D | napi_rdb_predicates.h | 46 std::vector<std::string> &fieldarray, const std::string fieldName, const std::string fieldType);
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_query_helper.cpp | 721 FieldType fieldType = FieldType::LEAF_FIELD_INTEGER; in MapCastFuncSql() local 722 schema_.CheckQueryableAndGetFieldType(fieldPath, fieldType); in MapCastFuncSql() 723 resultSql += SchemaObject::GenerateExtractSQL(schema_.GetSchemaType(), fieldPath, fieldType, in MapCastFuncSql()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_rdb_predicates.cpp | 194 std::vector<std::string> &fieldarray, const std::string fieldName, const std::string fieldType) in ParseFieldArrayByName() 205 RDB_NAPI_ASSERT(env, ret == napi_ok, std::make_shared<ParamError>(fieldName, "a " + fieldType + " array.")); in ParseFieldArrayByName() 208 RDB_NAPI_ASSERT(env, ret == napi_ok, std::make_shared<ParamError>(fieldName, "a " + fieldType + " array.")); in ParseFieldArrayByName() 193 ParseFieldArrayByName(napi_env env, napi_callback_info info, napi_value &thiz, std::vector<std::string> &fieldarray, const std::string fieldName, const std::string fieldType) ParseFieldArrayByName() argument
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/rdb/src/ |
H A D | napi_rdb_predicates.cpp | 223 std::vector<std::string> &fieldarray, const std::string fieldName, const std::string fieldType) in ParseFieldArrayByName() 241 std::make_shared<ParamTypeError>(fieldName, "a " + fieldType + " array."), version); in ParseFieldArrayByName() 245 std::make_shared<ParamTypeError>(fieldName, "a " + fieldType + " array."), version); in ParseFieldArrayByName() 222 ParseFieldArrayByName(napi_env env, napi_callback_info info, napi_value &thiz, std::vector<std::string> &fieldarray, const std::string fieldName, const std::string fieldType) ParseFieldArrayByName() argument
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | flatbuffer_schema.cpp | 246 FieldType fieldType; member 270 return result == std::end(baseTypeNodes) ? FieldType::LEAF_FIELD_NULL : (*result).fieldType; in MapFieldType()
|