/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/ |
dbtables.py | 123 _data = '._DATA_.' # this+column+this+rowid key contains table data 124 _rowid = '._ROWID_.' # this+rowid+this key contains a unique entry for each 126 _rowid_str_len = 8 # length in bytes of the unique rowid strings 129 def _data_key(table, col, rowid): 130 return table + _data + col + _data + rowid 138 def _rowid_key(table, rowid): 139 return table + _rowid + rowid + _rowid 499 rowid = self.__new_rowid(table, txn=txn) 504 self.db.put(_data_key(table, column, rowid), dataitem, txn=txn) 517 self.db.delete(_rowid_key(table, rowid)) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/ |
dbtables.py | 123 _data = '._DATA_.' # this+column+this+rowid key contains table data 124 _rowid = '._ROWID_.' # this+rowid+this key contains a unique entry for each 126 _rowid_str_len = 8 # length in bytes of the unique rowid strings 129 def _data_key(table, col, rowid): 130 return table + _data + col + _data + rowid 138 def _rowid_key(table, rowid): 139 return table + _rowid + rowid + _rowid 499 rowid = self.__new_rowid(table, txn=txn) 504 self.db.put(_data_key(table, column, rowid), dataitem, txn=txn) 517 self.db.delete(_rowid_key(table, rowid)) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailStatusTable.java | 83 int rowId = c.getInt(0); 85 return ContentUris.withAppendedId(uriData.getUri(), rowId); 89 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues); 90 if (rowId > 0) { 91 return ContentUris.withAppendedId(uriData.getUri(), rowId);
|
DbModifierWithNotification.java | 103 long rowId = mDb.insert(table, nullColumnHack, values); 104 if (rowId > 0 && packagesModified.size() != 0) { 105 notifyVoicemailChangeOnInsert(ContentUris.withAppendedId(mBaseUri, rowId), 108 if (rowId > 0 && mIsCallsTable) { 111 return rowId; 120 long rowId = mInsertHelper.insert(values); 121 if (rowId > 0 && packagesModified.size() != 0) { 123 ContentUris.withAppendedId(mBaseUri, rowId), packagesModified); 125 if (rowId > 0 && mIsCallsTable) { 128 return rowId; [all...] |
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
TrackerProvider.java | 101 long rowId = db.insert(TABLE_NAME, null, values); 102 if (rowId > 0) { 103 Uri addedUri = ContentUris.withAppendedId(CONTENT_URI, rowId);
|
/external/eigen/Eigen/src/Core/ |
MapBase.h | 90 inline const Scalar& coeff(Index rowId, Index colId) const 92 return m_data[colId * colStride() + rowId * rowStride()]; 101 inline const Scalar& coeffRef(Index rowId, Index colId) const 103 return this->m_data[colId * colStride() + rowId * rowStride()]; 113 inline PacketScalar packet(Index rowId, Index colId) const 116 (m_data + (colId * colStride() + rowId * rowStride()));
|
Block.h | 211 inline Scalar& coeffRef(Index rowId, Index colId) 215 .coeffRef(rowId + m_startRow.value(), colId + m_startCol.value()); 218 inline const Scalar& coeffRef(Index rowId, Index colId) const 221 .coeffRef(rowId + m_startRow.value(), colId + m_startCol.value()); 224 EIGEN_STRONG_INLINE const CoeffReturnType coeff(Index rowId, Index colId) const 226 return m_xpr.coeff(rowId + m_startRow.value(), colId + m_startCol.value()); 252 inline PacketScalar packet(Index rowId, Index colId) const 255 (rowId + m_startRow.value(), colId + m_startCol.value()); 259 inline void writePacket(Index rowId, Index colId, const PacketScalar& val) 262 (rowId + m_startRow.value(), colId + m_startCol.value(), val) [all...] |
Transpose.h | 121 inline ScalarWithConstIfNotLvalue& coeffRef(Index rowId, Index colId) 124 return derived().nestedExpression().const_cast_derived().coeffRef(colId, rowId); 133 inline const Scalar& coeffRef(Index rowId, Index colId) const 135 return derived().nestedExpression().coeffRef(colId, rowId); 143 inline CoeffReturnType coeff(Index rowId, Index colId) const 145 return derived().nestedExpression().coeff(colId, rowId); 154 inline const PacketScalar packet(Index rowId, Index colId) const 156 return derived().nestedExpression().template packet<LoadMode>(colId, rowId); 160 inline void writePacket(Index rowId, Index colId, const PacketScalar& x) 162 derived().nestedExpression().const_cast_derived().template writePacket<LoadMode>(colId, rowId, x) [all...] |
CwiseBinaryOp.h | 172 EIGEN_STRONG_INLINE const Scalar coeff(Index rowId, Index colId) const 174 return derived().functor()(derived().lhs().coeff(rowId, colId), 175 derived().rhs().coeff(rowId, colId)); 179 EIGEN_STRONG_INLINE PacketScalar packet(Index rowId, Index colId) const 181 return derived().functor().packetOp(derived().lhs().template packet<LoadMode>(rowId, colId), 182 derived().rhs().template packet<LoadMode>(rowId, colId));
|
/external/wpa_supplicant_8/hs20/server/www/ |
est.php | 11 unset($rowid); 40 $sql = "SELECT rowid,password,operation FROM sessions " . 52 $rowid = $row['rowid']; variable 180 if (!$db->exec("UPDATE sessions SET user='$user', cert='$fingerprint', cert_pem='$cert' WHERE rowid=$rowid")) {
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastListActivity.java | 237 * @param rowId the row ID of the broadcast to delete, or -1 to delete all broadcasts 239 public void confirmDeleteThread(long rowId) { 240 DeleteThreadListener listener = new DeleteThreadListener(rowId); 241 confirmDeleteThreadDialog(listener, (rowId == -1), getActivity()); 267 public DeleteThreadListener(long rowId) { 268 mRowId = rowId;
|
CellBroadcastContentProvider.java | 200 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv); 201 if (rowId == -1) { 214 * @param rowId the row ID of the broadcast to delete 217 boolean deleteBroadcast(long rowId) { 222 new String[]{Long.toString(rowId)}); 226 Log.e(TAG, "failed to delete broadcast at row " + rowId);
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
ClockDatabaseHelper.java | 199 long rowId = -1; 219 rowId = db.insert(ALARMS_TABLE_NAME, ClockContract.AlarmsColumns.RINGTONE, values); 224 if (rowId < 0) { 227 LogUtils.v("Added alarm rowId = " + rowId); 229 return rowId;
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarInstancesHelper.java | 140 * @param rowId The Event's _id. 144 private static String getEventValue(SQLiteDatabase db, long rowId, String columnName) { 148 new String[] { String.valueOf(rowId) }); 606 * @param rowId The database row id of the event. 610 public void updateInstancesLocked(ContentValues values, long rowId, boolean newEvent, 646 String.valueOf(rowId) 673 updateRecurrenceInstancesLocked(values, rowId, db); 693 instanceValues.put(Instances.EVENT_ID, rowId); [all...] |
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
DictionaryProvider.java | 139 String rowId = uri.getLastPathSegment(); 144 return mDictionary.getWord(rowId, columns); 155 String rowId = uri.getLastPathSegment(); 163 return mDictionary.getWord(rowId, columns);
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/ |
TvContractUtils.java | 80 long rowId = cursor.getLong(0); 82 mExistingChannelsMap.put(originalNetworkId, rowId); 106 Long rowId = mExistingChannelsMap.get(channel.originalNetworkId); 108 if (rowId == null) { 111 uri = TvContract.buildChannelUri(rowId); 126 Long rowId = mExistingChannelsMap.valueAt(i); 127 resolver.delete(TvContract.buildChannelUri(rowId), null, null);
|
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
JDBCSessionManager.java | 58 * rowId (unique in cluster: webapp name/path + virtualhost + sessionId) 162 * @param rowId 166 protected Session (String sessionId, String rowId, long created, long accessed) 169 _rowId = rowId; 178 protected synchronized void setRowId(String rowId) 180 _rowId = rowId; 337 return "Session rowId="+_rowId+",id="+getId()+",lastNode="+_lastNode+ 898 String rowId = calculateRowId(session); 903 statement.setString(1, rowId); //rowId [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaProvider.java | [all...] |
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
Mapper.java | 263 final long rowId; 265 rowId = database.insert(TABLE_DOCUMENTS, null, values); 269 rowId = candidateCursor.getLong(0); 271 mDatabase.writeRowSnapshot(String.valueOf(rowId), oldRowSnapshot); 277 strings(rowId)); 281 values.put(Document.COLUMN_DOCUMENT_ID, rowId); 283 rootExtraValues.put(Root.COLUMN_ROOT_ID, rowId); 288 mDatabase.writeRowSnapshot(String.valueOf(rowId), newRowSnapshot);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
AggregatorRecordStorage.java | 85 long rowID = 87 return rowID >= 0;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
FakeSmsContentProvider.java | 85 long rowId = db.insert(RAW_TABLE_NAME, null, values); 86 return Uri.parse("content://raw/" + rowId);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppProvider.java | 274 long rowID = db.insert(DB_TABLE, null, filteredValues); 278 if (rowID != -1) { 280 ret = Uri.parse(BluetoothShare.CONTENT_URI + "/" + rowID); 379 long rowId = 0; 397 rowId = Long.parseLong(segment); 398 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) "; 438 long rowId = Long.parseLong(segment); 439 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) ";
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TypesTest.java | 56 assertEquals(ROWID, -8);
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
Notepadv2.java | 138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID); 139 if (rowId != null) { 142 mDbHelper.updateNote(rowId, editTitle, editBody);
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
Notepadv3.java | 138 Long rowId = extras.getLong(NotesDbAdapter.KEY_ROWID); 139 if (rowId != null) { 142 mDbHelper.updateNote(rowId, editTitle, editBody);
|