Lines Matching refs:std
42 int Contacts::InsertContact(std::shared_ptr<OHOS::NativeRdb::RdbStore> rdbStore, const int64_t &outRawContactId,
51 int Contacts::UpdateContact(const int &rawContactId, std::shared_ptr<OHOS::NativeRdb::RdbStore> rdbStore,
54 std::string upWhereClause;
56 std::vector<std::string> upWhereArgs;
57 upWhereArgs.push_back(std::to_string(rawContactId));
93 std::string result = ContactValueBucketGetString(rawContactValues, RawContactColumns::COMPANY);
97 std::string result = ContactValueBucketGetString(rawContactValues, RawContactColumns::POSITION);
103 int Contacts::ContactValueBucketGetInt(OHOS::NativeRdb::ValuesBucket rawContactValues, std::string columnName)
112 std::string Contacts::ContactValueBucketGetString(
113 OHOS::NativeRdb::ValuesBucket rawContactValues, std::string columnName)
115 std::string result;
122 int Contacts::DeleteContactById(std::shared_ptr<OHOS::NativeRdb::RdbStore> rdbStore, int needDeleteContactId)
124 std::shared_ptr<OHOS::NativeRdb::RdbStore> &store = rdbStore;
134 std::vector<std::string> whereArgs;
135 whereArgs.push_back(std::to_string(needDeleteContactId));
136 std::string whereCase;