Home
last modified time | relevance | path

Searched refs:field (Results 1 - 25 of 395) sorted by relevance

12345678910>>...16

/arkcompiler/ets_frontend/merge_abc/src/
H A DassemblyFieldProto.cpp19 void Field::Serialize(const panda::pandasm::Field &field, protoPanda::Field &protoField) in Serialize() argument
22 Type::Serialize(field.type, *protoType); in Serialize()
23 protoField.set_name(field.name); in Serialize()
25 FieldMetadata::Serialize(*field.metadata, *protoFieldmeta); in Serialize()
26 protoField.set_lineofdef(field.line_of_def); in Serialize()
27 protoField.set_wholeline(field.whole_line); in Serialize()
28 protoField.set_boundleft(field.bound_left); in Serialize()
29 protoField.set_boundright(field.bound_right); in Serialize()
30 protoField.set_isdefined(field.is_defined); in Serialize()
33 void Field::Deserialize(const protoPanda::Field &protoField, panda::pandasm::Field &field, in Deserialize() argument
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Ddata_query.cpp81 DataQuery& DataQuery::EqualTo(const std::string &field, const int value) in EqualTo() argument
83 std::string myField = field; in EqualTo()
86 query_->EqualTo(field, value); in EqualTo()
91 DataQuery& DataQuery::EqualTo(const std::string &field, const int64_t value) in EqualTo() argument
93 std::string myField = field; in EqualTo()
96 query_->EqualTo(field, value); in EqualTo()
101 DataQuery& DataQuery::EqualTo(const std::string &field, const double value) in EqualTo() argument
103 std::string myField = field; in EqualTo()
106 query_->EqualTo(field, value); in EqualTo()
111 DataQuery& DataQuery::EqualTo(const std::string &field, cons argument
122 EqualTo(const std::string &field, const bool value) EqualTo() argument
132 NotEqualTo(const std::string &field, const int value) NotEqualTo() argument
142 NotEqualTo(const std::string &field, const int64_t value) NotEqualTo() argument
152 NotEqualTo(const std::string &field, const double value) NotEqualTo() argument
162 NotEqualTo(const std::string &field, const std::string &value) NotEqualTo() argument
173 NotEqualTo(const std::string &field, const bool value) NotEqualTo() argument
183 GreaterThan(const std::string &field, const int value) GreaterThan() argument
193 GreaterThan(const std::string &field, const int64_t value) GreaterThan() argument
203 GreaterThan(const std::string &field, const double value) GreaterThan() argument
213 GreaterThan(const std::string &field, const std::string &value) GreaterThan() argument
224 LessThan(const std::string &field, const int value) LessThan() argument
234 LessThan(const std::string &field, const int64_t value) LessThan() argument
244 LessThan(const std::string &field, const double value) LessThan() argument
254 LessThan(const std::string &field, const std::string &value) LessThan() argument
265 GreaterThanOrEqualTo(const std::string &field, const int value) GreaterThanOrEqualTo() argument
275 GreaterThanOrEqualTo(const std::string &field, const int64_t value) GreaterThanOrEqualTo() argument
285 GreaterThanOrEqualTo(const std::string &field, const double value) GreaterThanOrEqualTo() argument
295 GreaterThanOrEqualTo(const std::string &field, const std::string &value) GreaterThanOrEqualTo() argument
306 LessThanOrEqualTo(const std::string &field, const int value) LessThanOrEqualTo() argument
316 LessThanOrEqualTo(const std::string &field, const int64_t value) LessThanOrEqualTo() argument
326 LessThanOrEqualTo(const std::string &field, const double value) LessThanOrEqualTo() argument
336 LessThanOrEqualTo(const std::string &field, const std::string &value) LessThanOrEqualTo() argument
357 IsNull(const std::string &field) IsNull() argument
371 IsNotNull(const std::string &field) IsNotNull() argument
385 In(const std::string &field, const std::vector<int> &valueList) In() argument
396 In(const std::string &field, const std::vector<int64_t> &valueList) In() argument
407 In(const std::string &field, const std::vector<double> &valueList) In() argument
418 In(const std::string &field, const std::vector<std::string> &valueList) In() argument
430 NotIn(const std::string &field, const std::vector<int> &valueList) NotIn() argument
441 NotIn(const std::string &field, const std::vector<int64_t> &valueList) NotIn() argument
452 NotIn(const std::string &field, const std::vector<double> &valueList) NotIn() argument
463 NotIn(const std::string &field, const std::vector<std::string> &valueList) NotIn() argument
475 Like(const std::string &field, const std::string &value) Like() argument
486 Unlike(const std::string &field, const std::string &value) Unlike() argument
513 OrderByAsc(const std::string &field) OrderByAsc() argument
527 OrderByDesc(const std::string &field) OrderByDesc() argument
667 AppendCommon(const std::string &keyword, const std::string &fieldType, std::string &field, const T &value) AppendCommon() argument
681 AppendCommonString(const std::string &keyword, const std::string &fieldType, std::string &field, std::string &value) AppendCommonString() argument
696 AppendCommonBoolean(const std::string &keyword, const std::string &fieldType, std::string &field, const bool &value) AppendCommonBoolean() argument
714 AppendCommonString(const std::string &keyword, std::string &field, std::string &value) AppendCommonString() argument
727 AppendCommonList(const std::string &keyword, const std::string &fieldType, std::string &field, const std::vector<T> &valueList) AppendCommonList() argument
747 AppendCommonListString(const std::string &keyword, const std::string &fieldType, std::string &field, std::vector<std::string> &valueList) AppendCommonListString() argument
793 ValidateField(const std::string &field) ValidateField() argument
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dabs_predicates.cpp52 * Restricts the value of the field to be greater than the specified value.
54 AbsPredicates *AbsPredicates::EqualTo(const std::string &field, const ValueObject &value) in EqualTo() argument
56 if (!CheckParameter("equalTo", field, {})) { in EqualTo()
59 hasSpecificField = hasSpecificField || IsSpecificField(field); in EqualTo()
61 std::string newField = field; in EqualTo()
88 * Restricts the value of the field to be unequal to the specified value.
90 AbsPredicates *AbsPredicates::NotEqualTo(const std::string &field, const ValueObject &value) in NotEqualTo() argument
92 if (!CheckParameter("notEqualTo", field, {})) { in NotEqualTo()
95 hasSpecificField = hasSpecificField || IsSpecificField(field); in NotEqualTo()
97 whereClause += field in NotEqualTo()
141 Contains(const std::string &field, const std::string &value) Contains() argument
155 NotContains(const std::string &field, const std::string &value) NotContains() argument
169 BeginsWith(const std::string &field, const std::string &value) BeginsWith() argument
183 EndsWith(const std::string &field, const std::string &value) EndsWith() argument
197 IsNull(const std::string &field) IsNull() argument
210 IsNotNull(const std::string &field) IsNotNull() argument
223 Like(const std::string &field, const std::string &value) Like() argument
237 NotLike(const std::string &field, const std::string &value) NotLike() argument
251 Glob(const std::string &field, const std::string &value) Glob() argument
265 Between(const std::string &field, const ValueObject &low, const ValueObject &high) Between() argument
281 NotBetween(const std::string &field, const ValueObject &low, const ValueObject &high) NotBetween() argument
297 GreaterThan(const std::string &field, const ValueObject &value) GreaterThan() argument
312 LessThan(const std::string &field, const ValueObject &value) LessThan() argument
327 GreaterThanOrEqualTo(const std::string &field, const ValueObject &value) GreaterThanOrEqualTo() argument
342 LessThanOrEqualTo(const std::string &field, const ValueObject &value) LessThanOrEqualTo() argument
358 OrderByAsc(const std::string &field) OrderByAsc() argument
376 OrderByDesc(const std::string &field) OrderByDesc() argument
456 In(const std::string &field, const std::vector<std::string> &values) In() argument
466 In(const std::string &field, const std::vector<ValueObject> &values) In() argument
481 NotIn(const std::string &field, const std::vector<std::string> &values) NotIn() argument
491 NotIn(const std::string &field, const std::vector<ValueObject> &values) NotIn() argument
521 CheckParameter( const std::string &methodName, const std::string &field, const std::initializer_list<ValueObject> &args) const CheckParameter() argument
560 AppendWhereClauseWithInOrNotIn( const std::string &methodName, const std::string &field, const std::vector<std::string> &replaceValues) AppendWhereClauseWithInOrNotIn() argument
[all...]
H A Dabs_rdb_predicates.cpp175 AbsRdbPredicates* AbsRdbPredicates::EqualTo(const std::string &field, const ValueObject &value) in EqualTo() argument
178 predicates_.AddOperation(DistributedRdb::EQUAL_TO, field, *pval); in EqualTo()
180 return (AbsRdbPredicates *)AbsPredicates::EqualTo(field, value); in EqualTo()
183 AbsRdbPredicates* AbsRdbPredicates::NotEqualTo(const std::string &field, const ValueObject &value) in NotEqualTo() argument
186 predicates_.AddOperation(DistributedRdb::NOT_EQUAL_TO, field, *pval); in NotEqualTo()
188 return (AbsRdbPredicates *)AbsPredicates::NotEqualTo(field, value); in NotEqualTo()
203 AbsRdbPredicates* AbsRdbPredicates::OrderByAsc(const std::string &field) in OrderByAsc() argument
206 predicates_.AddOperation(DistributedRdb::ORDER_BY, field, isAsc); in OrderByAsc()
207 return (AbsRdbPredicates *)AbsPredicates::OrderByAsc(field); in OrderByAsc()
210 AbsRdbPredicates* AbsRdbPredicates::OrderByDesc(const std::string &field) in OrderByDesc() argument
229 In(const std::string &field, const std::vector<ValueObject> &values) In() argument
244 In(const std::string &field, const std::vector<std::string> &values) In() argument
250 Contains(const std::string &field, const std::string &value) Contains() argument
256 NotContains(const std::string &field, const std::string &value) NotContains() argument
262 BeginsWith(const std::string &field, const std::string &value) BeginsWith() argument
267 EndsWith(const std::string &field, const std::string &value) EndsWith() argument
272 IsNull(const std::string &field) IsNull() argument
277 IsNotNull(const std::string &field) IsNotNull() argument
282 Like(const std::string &field, const std::string &value) Like() argument
287 NotLike(const std::string &field, const std::string &value) NotLike() argument
292 Glob(const std::string &field, const std::string &value) Glob() argument
307 NotIn(const std::string &field, const std::vector<std::string> &values) NotIn() argument
312 NotIn(const std::string &field, const std::vector<ValueObject> &values) NotIn() argument
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/
H A Dfinal_field_native_test.cpp68 ets_field field = env->GetStaticp_field(testClass, "boolean_value_final", "Z"); in TEST_F() local
69 ASSERT_NE(field, nullptr); in TEST_F()
70 ASSERT_EQ(env->GetStaticBooleanField(testClass, field), ETS_TRUE); in TEST_F()
72 field = env->GetStaticp_field(testClass, "byte_value_final", "B"); in TEST_F()
73 ASSERT_NE(field, nullptr); in TEST_F()
74 ASSERT_EQ(env->GetStaticByteField(testClass, field), 2_I); in TEST_F()
76 field = env->GetStaticp_field(testClass, "short_value_final", "S"); in TEST_F()
77 ASSERT_NE(field, nullptr); in TEST_F()
78 ASSERT_EQ(env->GetStaticShortField(testClass, field), 256_I); in TEST_F()
80 field in TEST_F()
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/cj/include/
H A Drelational_store_impl_rdbpredicatesproxy.h51 void Contains(const char* field, const char* value);
53 void BeginsWith(const char* field, const char* value);
55 void EndsWith(const char* field, const char* value);
57 void IsNull(const char* field);
59 void IsNotNull(const char* field);
61 void Like(const char* field, const char* value);
63 void Glob(const char* field, const char* value);
65 void OrderByAsc(const char* field);
67 void OrderByDesc(const char* field);
77 void IndexedBy(const char* field);
[all...]
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Ddata_query.h49 * @param field The field name.
50 * @param value The field value.
53 DataQuery &EqualTo(const std::string &field, const int value);
57 * @param field The field name.
58 * @param value The field value.
61 DataQuery &EqualTo(const std::string &field, const int64_t value);
65 * @param field The field nam
[all...]
/foundation/ability/dmsfwk_lite/source/
H A Ddmslite_packet.c48 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, FieldTyp 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
119 MarshallString(const char *field, uint8_t type) MarshallString() argument
138 MarshallRawData(const void *field, uint8_t type, uint16_t length) MarshallRawData() argument
213 MarshallInt(uint64_t field, FieldType fieldType, uint8_t fieldSize) MarshallInt() argument
[all...]
/base/security/device_security_level/baselib/utils/src/
H A Dutils_json.c45 int32_t DslmGetJsonFieldInt(DslmJsonHandle handle, const char *field) in DslmGetJsonFieldInt() argument
53 if (field == NULL) { in DslmGetJsonFieldInt()
60 objValue = (cJSON *)DslmGetJsonFieldJson(handle, field); in DslmGetJsonFieldInt()
73 uint32_t DslmGetJsonFieldIntArray(DslmJsonHandle handle, const char *field, int32_t *array, int32_t arrayLen) in DslmGetJsonFieldIntArray() argument
75 if (handle == NULL || field == NULL || array == NULL) { in DslmGetJsonFieldIntArray()
79 cJSON *objValue = cJSON_GetObjectItem(handle, field); in DslmGetJsonFieldIntArray()
103 void DslmAddFieldBoolToJson(DslmJsonHandle handle, const char *field, bool value) in DslmAddFieldBoolToJson() argument
105 if (handle == NULL || field == NULL) { in DslmAddFieldBoolToJson()
108 (void)cJSON_AddBoolToObject((cJSON *)handle, field, value); in DslmAddFieldBoolToJson()
111 const char *DslmGetJsonFieldString(DslmJsonHandle handle, const char *field) in DslmGetJsonFieldString() argument
135 DslmGetJsonFieldJson(DslmJsonHandle handle, const char *field) DslmGetJsonFieldJson() argument
150 DslmAddFieldIntToJson(DslmJsonHandle handle, const char *field, int32_t value) DslmAddFieldIntToJson() argument
158 DslmAddFieldIntArrayToJson(DslmJsonHandle handle, const char *field, const int32_t *array, int32_t arrayLen) DslmAddFieldIntArrayToJson() argument
170 DslmAddFieldStringToJson(DslmJsonHandle handle, const char *field, const char *value) DslmAddFieldStringToJson() argument
178 DslmAddFieldJsonToJson(DslmJsonHandle handle, const char *field, DslmJsonHandle json) DslmAddFieldJsonToJson() argument
[all...]
/arkcompiler/runtime_core/static_core/abc2program/
H A Dabc_field_processor.cpp32 pandasm::Field field(keyData_.GetFileLanguage()); in FillProgramData()
33 FillFieldData(field); in FillProgramData()
37 auto retField = std::find_if(fieldList.begin(), fieldList.end(), [&field](pandasm::Field &fieldFromList) { in FillProgramData()
38 return field.name == fieldFromList.name; in FillProgramData()
41 fieldList.push_back(std::move(field)); in FillProgramData()
45 record_.fieldList.emplace_back(std::move(field)); in FillProgramData()
48 void AbcFieldProcessor::FillFieldData(pandasm::Field &field) in FillFieldData() argument
50 FillFieldName(field); in FillFieldData()
51 FillFieldType(field); in FillFieldData()
52 FillFieldMetaData(field); in FillFieldData()
55 FillFieldName(pandasm::Field &field) FillFieldName() argument
61 FillFieldType(pandasm::Field &field) FillFieldType() argument
67 FillFieldMetaData(pandasm::Field &field) FillFieldMetaData() argument
[all...]
/base/security/device_auth/frameworks/deviceauth_lite/source/json/
H A Djsonutil.c37 json_pobject get_json_obj(json_pobject parent, const char *field) in get_json_obj() argument
39 return cJSON_GetObjectItem((cJSON *)parent, field); in get_json_obj()
42 int32_t get_json_int(json_pobject obj, const char *field) in get_json_int() argument
49 if (field == NULL) { in get_json_int()
56 obj_value = (cJSON *)get_json_obj(obj, field); in get_json_int()
69 const char *get_json_string(json_pobject obj, const char *field) in get_json_string() argument
74 if (field == NULL) { in get_json_string()
81 obj_value = (cJSON *)get_json_obj(obj, field); in get_json_string()
93 int32_t get_json_bool(json_pobject obj, const char *field) in get_json_bool() argument
100 if (field in get_json_bool()
152 add_item_to_object(json_pobject parent, const char *field, json_pobject obj) add_item_to_object() argument
157 add_string_to_object(json_pobject parent, const char *field, const char *value) add_string_to_object() argument
162 add_number_to_object(json_pobject parent, const char *field, int32_t value) add_number_to_object() argument
167 add_bool_to_object(json_pobject parent, const char *field, int32_t value) add_bool_to_object() argument
176 add_object_to_object(json_pobject parent, const char *field) add_object_to_object() argument
195 add_array_to_object(json_pobject parent, const char *field) add_array_to_object() argument
[all...]
/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/
H A Ddatashare_predicates.h59 * @param field Indicates the target field.
62 DataSharePredicates *EqualTo(const std::string &field, const SingleValue &value) in EqualTo() argument
64 SetOperationList(EQUAL_TO, field, value); in EqualTo()
71 * @param field Indicates the target field.
74 DataSharePredicates *NotEqualTo(const std::string &field, const SingleValue &value) in NotEqualTo() argument
76 SetOperationList(NOT_EQUAL_TO, field, value); in NotEqualTo()
83 * @param field Indicates the target field
86 GreaterThan(const std::string &field, const SingleValue &value) GreaterThan() argument
98 LessThan(const std::string &field, const SingleValue &value) LessThan() argument
110 GreaterThanOrEqualTo(const std::string &field, const SingleValue &value) GreaterThanOrEqualTo() argument
122 LessThanOrEqualTo(const std::string &field, const SingleValue &value) LessThanOrEqualTo() argument
134 In(const std::string &field, const MutliValue &values) In() argument
146 NotIn(const std::string &field, const MutliValue &values) NotIn() argument
194 Contains(const std::string &field, const std::string &value) Contains() argument
206 BeginsWith(const std::string &field, const std::string &value) BeginsWith() argument
218 EndsWith(const std::string &field, const std::string &value) EndsWith() argument
230 IsNull(const std::string &field) IsNull() argument
242 IsNotNull(const std::string &field) IsNotNull() argument
254 Like(const std::string &field, const std::string &value) Like() argument
266 Unlike(const std::string &field, const std::string &value) Unlike() argument
278 Glob(const std::string &field, const std::string &value) Glob() argument
290 Between(const std::string &field, const std::string &low, const std::string &high) Between() argument
302 NotBetween(const std::string &field, const std::string &low, const std::string &high) NotBetween() argument
314 OrderByAsc(const std::string &field) OrderByAsc() argument
326 OrderByDesc(const std::string &field) OrderByDesc() argument
[all...]
H A Ddatashare_abs_predicates.h38 * @param field Indicates the target field.
41 virtual DataShareAbsPredicates *EqualTo(const std::string &field, const SingleValue &value) = 0;
46 * @param field Indicates the target field.
49 virtual DataShareAbsPredicates *NotEqualTo(const std::string &field, const SingleValue &value) = 0;
54 * @param field Indicates the target field.
57 virtual DataShareAbsPredicates *GreaterThan(const std::string &field, const SingleValue &value) = 0;
62 * @param field Indicate
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/cj/src/
H A Drelational_store_impl_rdbpredicatesproxy.cpp78 void RdbPredicatesImpl::Contains(const char* field, const char* value) in Contains() argument
80 std::string cfield = field; in Contains()
85 void RdbPredicatesImpl::BeginsWith(const char* field, const char* value) in BeginsWith() argument
87 std::string cfield = field; in BeginsWith()
92 void RdbPredicatesImpl::EndsWith(const char* field, const char* value) in EndsWith() argument
94 std::string cfield = field; in EndsWith()
99 void RdbPredicatesImpl::IsNull(const char* field) in IsNull() argument
101 std::string cfield = field; in IsNull()
105 void RdbPredicatesImpl::IsNotNull(const char* field) in IsNotNull() argument
107 std::string cfield = field; in IsNotNull()
111 Like(const char* field, const char* value) Like() argument
118 Glob(const char* field, const char* value) Glob() argument
125 OrderByAsc(const char* field) OrderByAsc() argument
131 OrderByDesc(const char* field) OrderByDesc() argument
161 IndexedBy(const char* field) IndexedBy() argument
167 LessThanOrEqualTo(const char* field, ValueType value) LessThanOrEqualTo() argument
174 EqualTo(const char* field, ValueType value) EqualTo() argument
181 GreaterThanOrEqualTo(const char* field, ValueType value) GreaterThanOrEqualTo() argument
188 GreaterThan(const char* field, ValueType value) GreaterThan() argument
195 NotBetween(const char* field, ValueType lowValue, ValueType highValue) NotBetween() argument
203 Between(const char* field, ValueType lowValue, ValueType highValue) Between() argument
211 LessThan(const char* field, ValueType value) LessThan() argument
218 In(const char* field, ValueType* values, int64_t valuesSize) In() argument
228 NotIn(const char* field, ValueType* values, int64_t valuesSize) NotIn() argument
238 NotEqualTo(const char* field, ValueType value) NotEqualTo() argument
[all...]
/base/security/security_guard/test/unittest/mock/rdb/
H A Drdb_predicates.h29 virtual AbsPredicates *EqualTo(std::string field, std::string value) {return nullptr;}; in EqualTo() argument
30 virtual AbsPredicates *EqualTo(std::string field, int value) {return nullptr;}; in EqualTo() argument
31 virtual AbsPredicates *NotEqualTo(std::string field, std::string value) {return nullptr;}; in NotEqualTo() argument
36 virtual AbsPredicates *Contains(std::string field, std::string value) {return nullptr;}; in Contains() argument
37 virtual AbsPredicates *BeginsWith(std::string field, std::string value) {return nullptr;}; in BeginsWith() argument
38 virtual AbsPredicates *EndsWith(std::string field, std::string value) {return nullptr;}; in EndsWith() argument
39 virtual AbsPredicates *IsNull(std::string field) {return nullptr;}; in IsNull() argument
40 virtual AbsPredicates *IsNotNull(std::string field) {return nullptr;}; in IsNotNull() argument
41 virtual AbsPredicates *Like(std::string field, std::string value) {return nullptr;}; in Like() argument
42 virtual AbsPredicates *Glob(std::string field, st in Like() argument
43 Between(std::string field, std::string low, std::string high) Between() argument
44 NotBetween(std::string field, std::string low, std::string high) NotBetween() argument
45 GreaterThan(std::string field, std::string value) GreaterThan() argument
46 LessThan(std::string field, std::string value) LessThan() argument
47 GreaterThanOrEqualTo(std::string field, std::string value) GreaterThanOrEqualTo() argument
48 LessThanOrEqualTo(std::string field, std::string value) LessThanOrEqualTo() argument
49 OrderByAsc(std::string field) OrderByAsc() argument
50 OrderByDesc(std::string field) OrderByDesc() argument
56 In(std::string field, std::vector<std::string> values) In() argument
57 NotIn(std::string field, std::vector<std::string> values) NotIn() argument
70 NotEqualTo(std::string field, std::string value) NotEqualTo() argument
75 Contains(std::string field, std::string value) Contains() argument
76 BeginsWith(std::string field, std::string value) BeginsWith() argument
77 EndsWith(std::string field, std::string value) EndsWith() argument
78 IsNull(std::string field) IsNull() argument
79 IsNotNull(std::string field) IsNotNull() argument
80 Like(std::string field, std::string value) Like() argument
81 Glob(std::string field, std::string value) Glob() argument
82 Between(std::string field, std::string low, std::string high) Between() argument
83 NotBetween(std::string field, std::string low, std::string high) NotBetween() argument
84 GreaterThan(std::string field, std::string value) GreaterThan() argument
85 LessThan(std::string field, std::string value) LessThan() argument
86 GreaterThanOrEqualTo(std::string field, std::string value) GreaterThanOrEqualTo() argument
87 LessThanOrEqualTo(std::string field, std::string value) LessThanOrEqualTo() argument
88 OrderByAsc(std::string field) OrderByAsc() argument
89 OrderByDesc(std::string field) OrderByDesc() argument
95 In(std::string field, std::vector<std::string> values) In() argument
96 NotIn(std::string field, std::vector<std::string> values) NotIn() argument
[all...]
/foundation/distributeddatamgr/relational_store/interfaces/ndk/include/
H A Doh_predicates.h76 * @brief Function pointer. Restricts the value of the field to be equal to the specified value to the predicates.
81 * @param field Indicates the column name in the database table.
87 OH_Predicates *(*equalTo)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject);
91 * Restricts the value of the field to be not equal to the specified value to the predicates.
96 * @param field Indicates the column name in the database table.
102 OH_Predicates *(*notEqualTo)(OH_Predicates *predicates, const char *field, OH_VObject *valueObject);
153 * @brief Function pointer. Restricts the value of the field which is null to the predicates.
158 * @param field Indicates the column name in the database table.
163 OH_Predicates *(*isNull)(OH_Predicates *predicates, const char *field);
166 * @brief Function pointer. Restricts the value of the field whic
[all...]
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Dabs_predicates.h70 API_EXPORT virtual AbsPredicates *EqualTo(const std::string &field, const ValueObject &value);
71 API_EXPORT virtual AbsPredicates *NotEqualTo(const std::string &field, const ValueObject &value);
76 API_EXPORT virtual AbsPredicates *Contains(const std::string &field, const std::string &value);
77 API_EXPORT virtual AbsPredicates *NotContains(const std::string &field, const std::string &value);
78 API_EXPORT virtual AbsPredicates *BeginsWith(const std::string &field, const std::string &value);
79 API_EXPORT virtual AbsPredicates *EndsWith(const std::string &field, const std::string &value);
80 API_EXPORT virtual AbsPredicates *IsNull(const std::string &field);
81 API_EXPORT virtual AbsPredicates *IsNotNull(const std::string &field);
82 API_EXPORT virtual AbsPredicates *Like(const std::string &field, const std::string &value);
83 API_EXPORT virtual AbsPredicates *NotLike(const std::string &field, cons
125 IsSpecificField(const std::string &field) IsSpecificField() argument
[all...]
/foundation/ability/dmsfwk_lite/include/
H A Ddmslite_packet.h30 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);
38 bool MarshallString(const char* field, uint8_t type);
39 bool MarshallRawData(const void *field, uint8_
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dquery.cpp58 Query &Query::IsNotNull(const std::string &field) in IsNotNull() argument
60 queryExpression_.IsNotNull(field); in IsNotNull()
88 Query &Query::OrderBy(const std::string &field, bool isAsc) in OrderBy() argument
90 queryExpression_.OrderBy(field, isAsc); in OrderBy()
106 Query &Query::Like(const std::string &field, const std::string &value) in Like() argument
108 queryExpression_.Like(field, value); in Like()
112 Query &Query::NotLike(const std::string &field, const std::string &value) in NotLike() argument
114 queryExpression_.NotLike(field, value); in NotLike()
118 Query &Query::IsNull(const std::string &field) in IsNull() argument
120 queryExpression_.IsNull(field); in IsNull()
136 ExecuteCompareOperation(QueryObjType operType, const std::string &field, const QueryValueType type, const FieldValue &fieldValue) ExecuteCompareOperation() argument
163 ExecuteCompareOperation(QueryObjType operType, const std::string &field, const QueryValueType type, const std::vector<FieldValue> &fieldValues) ExecuteCompareOperation() argument
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/include/
H A Dcov_util.h29 static auto FillField(const std::string &field, const _VTp &data, _TTp &target) in FillField() argument
35 static auto FillField(const std::string &field, const _VTp &data, _TTp &target) in FillField() argument
38 return target(field, std::get<(sizeof ...(_Rest) + 1)>(data)); in FillField()
40 return FillField<_VTp, _TTp, _Second, _Rest...>(field, data, target); in FillField()
44 static auto FillField(const std::string &field, const std::variant<_Types...> &data, _TTp &target) in FillField() argument
46 return FillField<decltype(data), _TTp, _Types...>(field, data, target); in FillField()
65 int operator()(const std::string &field, const T &value) in operator ()() argument
68 dataQuery_->EqualTo(field, value); in operator ()()
70 dataQuery_->NotEqualTo(field, value); in operator ()()
72 dataQuery_->GreaterThan(field, valu in operator ()()
97 operator ()(const std::string &field, const std::vector<T> &value) operator ()() argument
[all...]
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/
H A Drelational_values_bucket.cpp30 int RelationalValuesBucket::PutText(OH_VBucket *bucket, const char *field, const char *value) in PutText() argument
32 return PutValueObject(bucket, field, OHOS::NativeRdb::ValueObject(value)); in PutText()
35 int RelationalValuesBucket::PutInt64(OH_VBucket *bucket, const char *field, int64_t value) in PutInt64() argument
37 return PutValueObject(bucket, field, OHOS::NativeRdb::ValueObject(value)); in PutInt64()
40 int RelationalValuesBucket::PutReal(OH_VBucket *bucket, const char *field, double value) in PutReal() argument
42 return PutValueObject(bucket, field, OHOS::NativeRdb::ValueObject(value)); in PutReal()
45 int RelationalValuesBucket::PutBlob(OH_VBucket *bucket, const char *field, const uint8_t *value, uint32_t size) in PutBlob() argument
55 return PutValueObject(bucket, field, OHOS::NativeRdb::ValueObject(blobValue)); in PutBlob()
58 int RelationalValuesBucket::PutNull(OH_VBucket *bucket, const char *field) in PutNull() argument
60 return PutValueObject(bucket, field, OHO in PutNull()
112 PutValueObject(OH_VBucket *bucket, const char *field, OHOS::NativeRdb::ValueObject &&value) PutValueObject() argument
127 OH_VBucket_PutAsset(OH_VBucket *bucket, const char *field, Data_Asset *value) OH_VBucket_PutAsset() argument
138 OH_VBucket_PutAssets(OH_VBucket *bucket, const char *field, Data_Asset **value, uint32_t count) OH_VBucket_PutAssets() argument
[all...]
H A Drelational_predicates.cpp29 OH_Predicates *RelationalPredicate::EqualTo(OH_Predicates *predicates, const char *field, OH_VObject *valueObject) in EqualTo() argument
33 if (self == nullptr || selfObjects == nullptr || field == nullptr) { in EqualTo()
38 self->predicates_.EqualTo(field, values[0]); in EqualTo()
43 OH_Predicates *RelationalPredicate::NotEqualTo(OH_Predicates *predicates, const char *field, in NotEqualTo() argument
48 if (self == nullptr || selfObjects == nullptr || field == nullptr) { in NotEqualTo()
53 self->predicates_.NotEqualTo(field, values[0]); in NotEqualTo()
98 OH_Predicates *RelationalPredicate::IsNull(OH_Predicates *predicates, const char *field) in IsNull() argument
101 if (self == nullptr || field == nullptr) { in IsNull()
104 self->predicates_.IsNull(field); in IsNull()
108 OH_Predicates *RelationalPredicate::IsNotNull(OH_Predicates *predicates, const char *field) in IsNotNull() argument
118 Like(OH_Predicates *predicates, const char *field, OH_VObject *valueObject) Like() argument
134 Between(OH_Predicates *predicates, const char *field, OH_VObject *valueObject) Between() argument
152 NotBetween(OH_Predicates *predicates, const char *field, OH_VObject *valueObject) NotBetween() argument
170 GreaterThan(OH_Predicates *predicates, const char *field, OH_VObject *valueObject) GreaterThan() argument
185 LessThan(OH_Predicates *predicates, const char *field, OH_VObject *valueObject) LessThan() argument
200 GreaterThanOrEqualTo(OH_Predicates *predicates, const char *field, OH_VObject *valueObject) GreaterThanOrEqualTo() argument
214 LessThanOrEqualTo(OH_Predicates *predicates, const char *field, OH_VObject *valueObject) LessThanOrEqualTo() argument
229 OrderBy(OH_Predicates *predicates, const char *field, OH_OrderType type) OrderBy() argument
288 In(OH_Predicates *predicates, const char *field, OH_VObject *valueObject) In() argument
304 NotIn(OH_Predicates *predicates, const char *field, OH_VObject *valueObject) NotIn() argument
[all...]
/base/security/device_auth/frameworks/deviceauth_lite/inc/json/
H A Djsonutil.h27 json_pobject get_json_obj(json_pobject parent, const char *field);
28 int32_t get_json_int(json_pobject obj, const char *field);
29 const char *get_json_string(json_pobject obj, const char *field);
30 int32_t get_json_bool(json_pobject obj, const char *field);
36 void add_item_to_object(json_pobject parent, const char *field, json_pobject obj);
37 json_pobject add_string_to_object(json_pobject parent, const char *field, const char *value);
38 json_pobject add_number_to_object(json_pobject parent, const char *field, int32_t value);
39 json_pobject add_bool_to_object(json_pobject parent, const char *field, int32_t value);
40 json_pobject add_object_to_object(json_pobject parent, const char *field);
45 json_pobject add_array_to_object(json_pobject parent, const char *field);
[all...]
/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/
H A Djsonutil_test.h30 json_pobject get_json_obj(json_pobject parent, const char *field);
31 int32_t get_json_int(json_pobject obj, const char *field);
32 const char *get_json_string(json_pobject obj, const char *field);
33 int32_t get_json_bool(json_pobject obj, const char *field);
39 void add_item_to_object(json_pobject parent, const char *field, json_pobject obj);
40 json_pobject add_string_to_object(json_pobject parent, const char *field, const char *value);
41 json_pobject add_number_to_object(json_pobject parent, const char *field, int32_t value);
42 json_pobject add_bool_to_object(json_pobject parent, const char *field, int32_t value);
43 json_pobject add_object_to_object(json_pobject parent, const char *field);
48 json_pobject add_array_to_object(json_pobject parent, const char *field);
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/include/
H A Dquery.h41 DB_API Query &EqualTo(const std::string &field, const T &value) in EqualTo() argument
45 ExecuteCompareOperation(QueryObjType::EQUALTO, field, type, fieldValue); in EqualTo()
50 DB_API Query &NotEqualTo(const std::string &field, const T &value) in NotEqualTo() argument
54 ExecuteCompareOperation(QueryObjType::NOT_EQUALTO, field, type, fieldValue); in NotEqualTo()
59 DB_API Query &GreaterThan(const std::string &field, const T &value) in GreaterThan() argument
63 ExecuteCompareOperation(QueryObjType::GREATER_THAN, field, type, fieldValue); in GreaterThan()
68 DB_API Query &LessThan(const std::string &field, const T &value) in LessThan() argument
72 ExecuteCompareOperation(QueryObjType::LESS_THAN, field, type, fieldValue); in LessThan()
77 DB_API Query &GreaterThanOrEqualTo(const std::string &field, const T &value) in GreaterThanOrEqualTo() argument
81 ExecuteCompareOperation(QueryObjType::GREATER_THAN_OR_EQUALTO, field, typ in GreaterThanOrEqualTo()
86 LessThanOrEqualTo(const std::string &field, const T &value) LessThanOrEqualTo() argument
105 In(const std::string &field, const std::vector<T> &values) In() argument
120 NotIn(const std::string &field, const std::vector<T> &values) NotIn() argument
[all...]

Completed in 11 milliseconds

12345678910>>...16