Lines Matching refs:tmp
899 std::string tmp; in rocksdb_get() local
900 Status s = db->rep->Get(options->rep, Slice(key, keylen), &tmp); in rocksdb_get()
902 *vallen = tmp.size(); in rocksdb_get()
903 result = CopyString(tmp); in rocksdb_get()
921 std::string tmp; in rocksdb_get_cf() local
923 Slice(key, keylen), &tmp); in rocksdb_get_cf()
925 *vallen = tmp.size(); in rocksdb_get_cf()
926 result = CopyString(tmp); in rocksdb_get_cf()
1106 std::string tmp; in rocksdb_property_value() local
1107 if (db->rep->GetProperty(Slice(propname), &tmp)) { in rocksdb_property_value()
1109 return strdup(tmp.c_str()); in rocksdb_property_value()
1142 std::string tmp; in rocksdb_property_value_cf() local
1143 if (db->rep->GetProperty(column_family->rep, Slice(propname), &tmp)) { in rocksdb_property_value_cf()
1145 return strdup(tmp.c_str()); in rocksdb_property_value_cf()
1862 std::string tmp; in rocksdb_writebatch_wi_get_from_batch() local
1863 Status s = wbwi->rep->GetFromBatch(options->rep, Slice(key, keylen), &tmp); in rocksdb_writebatch_wi_get_from_batch()
1865 *vallen = tmp.size(); in rocksdb_writebatch_wi_get_from_batch()
1866 result = CopyString(tmp); in rocksdb_writebatch_wi_get_from_batch()
1884 std::string tmp; in rocksdb_writebatch_wi_get_from_batch_cf() local
1886 Slice(key, keylen), &tmp); in rocksdb_writebatch_wi_get_from_batch_cf()
1888 *vallen = tmp.size(); in rocksdb_writebatch_wi_get_from_batch_cf()
1889 result = CopyString(tmp); in rocksdb_writebatch_wi_get_from_batch_cf()
1907 std::string tmp; in rocksdb_writebatch_wi_get_from_batch_and_db() local
1908 Status s = wbwi->rep->GetFromBatchAndDB(db->rep, options->rep, Slice(key, keylen), &tmp); in rocksdb_writebatch_wi_get_from_batch_and_db()
1910 *vallen = tmp.size(); in rocksdb_writebatch_wi_get_from_batch_and_db()
1911 result = CopyString(tmp); in rocksdb_writebatch_wi_get_from_batch_and_db()
1930 std::string tmp; in rocksdb_writebatch_wi_get_from_batch_and_db_cf() local
1932 Slice(key, keylen), &tmp); in rocksdb_writebatch_wi_get_from_batch_and_db_cf()
1934 *vallen = tmp.size(); in rocksdb_writebatch_wi_get_from_batch_and_db_cf()
1935 result = CopyString(tmp); in rocksdb_writebatch_wi_get_from_batch_and_db_cf()
3954 std::string tmp; in rocksdb_transaction_get() local
3955 Status s = txn->rep->Get(options->rep, Slice(key, klen), &tmp); in rocksdb_transaction_get()
3957 *vlen = tmp.size(); in rocksdb_transaction_get()
3958 result = CopyString(tmp); in rocksdb_transaction_get()
3974 std::string tmp; in rocksdb_transaction_get_cf() local
3976 txn->rep->Get(options->rep, column_family->rep, Slice(key, klen), &tmp); in rocksdb_transaction_get_cf()
3978 *vlen = tmp.size(); in rocksdb_transaction_get_cf()
3979 result = CopyString(tmp); in rocksdb_transaction_get_cf()
3996 std::string tmp; in rocksdb_transaction_get_for_update() local
3998 txn->rep->GetForUpdate(options->rep, Slice(key, klen), &tmp, exclusive); in rocksdb_transaction_get_for_update()
4000 *vlen = tmp.size(); in rocksdb_transaction_get_for_update()
4001 result = CopyString(tmp); in rocksdb_transaction_get_for_update()
4016 std::string tmp; in rocksdb_transaction_get_for_update_cf() local
4018 Slice(key, klen), &tmp, exclusive); in rocksdb_transaction_get_for_update_cf()
4020 *vlen = tmp.size(); in rocksdb_transaction_get_for_update_cf()
4021 result = CopyString(tmp); in rocksdb_transaction_get_for_update_cf()
4039 std::string tmp; in rocksdb_transactiondb_get() local
4040 Status s = txn_db->rep->Get(options->rep, Slice(key, klen), &tmp); in rocksdb_transactiondb_get()
4042 *vlen = tmp.size(); in rocksdb_transactiondb_get()
4043 result = CopyString(tmp); in rocksdb_transactiondb_get()
4058 std::string tmp; in rocksdb_transactiondb_get_cf() local
4060 Slice(key, keylen), &tmp); in rocksdb_transactiondb_get_cf()
4062 *vallen = tmp.size(); in rocksdb_transactiondb_get_cf()
4063 result = CopyString(tmp); in rocksdb_transactiondb_get_cf()