/dports/mail/thunderbird/thunderbird-91.8.0/comm/mailnews/db/mork/ |
H A D | morkArray.cpp | 157 void* morkArray::SafeAt(morkEnv* ev, mork_pos inPos) { in SafeAt() 159 if (inPos >= 0 && inPos < (mork_pos)mArray_Fill) in SafeAt() 169 void morkArray::SafeAtPut(morkEnv* ev, mork_pos inPos, void* ioSlot) { in SafeAtPut() 171 if (inPos >= 0 && inPos < (mork_pos)mArray_Fill) { in SafeAtPut() 180 mork_pos morkArray::AppendSlot(morkEnv* ev, void* ioSlot) { in AppendSlot() 181 mork_pos outPos = -1; in AppendSlot() 185 outPos = (mork_pos)fill; in AppendSlot() 196 void morkArray::AddSlot(morkEnv* ev, mork_pos inPos, void* ioSlot) { in AddSlot() 215 void morkArray::CutSlot(morkEnv* ev, mork_pos inPos) { in CutSlot() 219 inPos < (mork_pos)fill) // cutting slot in used array portion? in CutSlot()
|
H A D | morkArray.h | 74 void* At(mork_pos inPos) const { return mArray_Slots[inPos]; } in At() 75 void AtPut(mork_pos inPos, void* ioSlot) { mArray_Slots[inPos] = ioSlot; } in AtPut() 77 void* SafeAt(morkEnv* ev, mork_pos inPos); 78 void SafeAtPut(morkEnv* ev, mork_pos inPos, void* ioSlot); 80 mork_pos AppendSlot(morkEnv* ev, void* ioSlot); 81 void AddSlot(morkEnv* ev, mork_pos inPos, void* ioSlot); 82 void CutSlot(morkEnv* ev, mork_pos inPos);
|
H A D | morkParser.h | 37 mork_pos mPlace_Pos; // byte offset in an input stream 45 void SetPlace(mork_pos inPos, mork_line inLine) { in SetPlace() 55 morkPlace(mork_pos inPos, mork_line inLine) { in morkPlace() 164 void SetSpan(mork_pos inFromPos, mork_line inFromLine, mork_pos inToPos, in SetSpan() 189 morkSpan(mork_pos inFromPos, mork_line inFromLine, mork_pos inToPos, in morkSpan() 248 mork_pos mParser_GroupContentStartPos; // start of this group 307 mork_pos HerePos() const { return mParser_PortSpan.mSpan_End.mPlace_Pos; } in HerePos() 309 void SetHerePos(mork_pos inPos) { in SetHerePos() 428 virtual void OnRowPos(morkEnv* ev, mork_pos inRowPos) = 0; 529 mork_pos* outPos, // current byte pos in the stream afterwards
|
H A D | morkProbeMap.cpp | 127 mork_pos i = hash % slots; // target hash bucket in rehash_old_map() 128 mork_pos startPos = i; // remember start to detect in rehash_old_map() 245 mork_pos inPos) const { in get_probe_kv() 276 mork_pos i = inHash % slots; // target hash bucket in find_key_pos() 277 mork_pos startPos = i; // remember start to detect in find_key_pos() 329 mork_pos slotPos = 0; in MapAtPut() 362 mork_pos slotPos = 0; in MapAt() 903 while (here < (mork_pos)slots) { in IterFirst() 927 mork_pos here = (mork_pos)sProbeMapIter_HereIx; in IterNext() 939 while (here < (mork_pos)slots) { in IterNext() [all …]
|
H A D | morkTable.h | 523 void NoteTableMoveRow(morkEnv* ev, morkRow* ioRow, mork_pos inPos); 526 void note_row_move(morkEnv* ev, morkRow* ioRow, mork_pos inNewPos); 552 morkRow* SafeRowAt(morkEnv* ev, mork_pos inPos) { in SafeRowAt() 565 mork_pos ArrayHasOid(morkEnv* ev, const mdbOid* inOid); 571 mork_pos MoveRow( 593 #define morkTableChange_kCut ((mork_pos)-1) /* shows row was cut */ 594 #define morkTableChange_kAdd ((mork_pos)-2) /* shows row was added */ 595 #define morkTableChange_kNone ((mork_pos)-3) /* unknown change */ 601 mork_pos mTableChange_Pos; // kAdd, kCut, or non-neg for row move 607 morkTableChange(morkEnv* ev, morkRow* ioRow, mork_pos inPos); [all …]
|
H A D | morkStream.h | 109 mork_pos mStream_BufPos; // logical position of byte at mStream_Buf 173 virtual mork_pos Length(morkEnv* ev) const override; // eof 174 NS_IMETHOD Tell(nsIMdbEnv* ev, mork_pos* aOutPos) const override; 177 NS_IMETHOD Seek(nsIMdbEnv* ev, mork_pos inPos, mork_pos* aOutPos) override;
|
H A D | morkTable.cpp | 440 mork_pos pos = ArrayHasOid(ev, inOid); in OidToPos() 473 mork_pos pos = -1; in RowToPos() 1085 mork_pos pos = -1; in ArrayHasOid() 1086 while (++pos < (mork_pos)count) { in ArrayHasOid() 1113 mork_pos pos = -1; in build_row_map() 1114 while (++pos < (mork_pos)count) { in build_row_map() 1132 mork_pos pos = -1; in find_member_row() 1133 while (++pos < (mork_pos)count) { in find_member_row() 1141 mork_pos morkTable::MoveRow( in MoveRow() 1256 mork_pos pos = mTable_RowArray.AppendSlot(ev, ioRow); in AddRow() [all …]
|
H A D | morkTableRowCursor.cpp | 68 mork_pos inRowPos) in morkTableRowCursor() 168 mork_pos pos = -1; in NextRowOid() 187 mork_pos pos = -1; in PrevRowOid() 339 mork_pos pos = -1; in PrevRow() 347 if (pos >= 0 && pos < (mork_pos)(array->mArray_Fill)) { in PrevRow() 374 mork_pos pos = -1; in NextRow() 386 if (pos < (mork_pos)(array->mArray_Fill)) { in NextRow()
|
H A D | morkRow.cpp | 211 mdb_column inCol, mork_pos inPos) { in AcquireCellHandle() 237 mork_pos pos = 0; // needed by GetCell() in CountOverlap() 279 mork_pos pos = 0; // needed by GetCell() in MergeCells() 345 morkCell* morkRow::NewCell(morkEnv* ev, mdb_column inColumn, mork_pos* outPos, in NewCell() 349 *outPos = (mork_pos)length; in NewCell() 406 morkCell* morkRow::CellAt(morkEnv* ev, mork_pos inPos) const { in CellAt() 416 mork_pos* outPos) const { in GetCell() 637 mork_pos pos = -1; in CutColumn() 669 if (pos < (mork_pos)last) // need to move cells following cut cell? in CutColumn() 688 mork_pos pos = -1; in GetColumnAtom() [all …]
|
H A D | morkStream.cpp | 332 mork_pos morkStream::Length(morkEnv* ev) const // eof in Length() 334 mork_pos outPos = 0; in Length() 338 mork_pos contentEof = 0; in Length() 350 mork_pos localContent = mStream_BufPos + (at - buf); in Length() 392 morkStream::Tell(nsIMdbEnv* mdbev, mork_pos* aOutPos) const { in Tell() 514 morkStream::Seek(nsIMdbEnv* mdbev, mork_pos inPos, mork_pos* aOutPos) { in Seek() 537 mork_pos eof = 0; in Seek() 557 mork_pos eof = 0; in Seek()
|
H A D | morkRow.h | 103 mdb_column inColumn, mork_pos inPos); 136 morkCell* NewCell(morkEnv* ev, mdb_column inColumn, mork_pos* outPos, 138 morkCell* GetCell(morkEnv* ev, mdb_column inColumn, mork_pos* outPos) const; 139 morkCell* CellAt(morkEnv* ev, mork_pos inPos) const;
|
H A D | morkMap.cpp | 225 mork_pos i = assoc - mMap_Assocs; /* index of this assoc */ in find() 237 void morkMap::get_assoc(void* outKey, void* outVal, mork_pos inPos) const { in get_assoc() 261 mork_pos inPos) const { in put_assoc() 516 mork_pos i = (*ref) - mMap_Assocs; /* index of assoc */ in Put() 574 mork_pos i = assoc - mMap_Assocs; /* index of assoc */ in Cut() 609 mork_pos i = (*ref) - mMap_Assocs; /* index of assoc */ in Get() 701 mork_pos i = assoc - map->mMap_Assocs; in First() 772 mork_pos i = assoc - map->mMap_Assocs; in Next() 799 mork_pos i = here - map->mMap_Assocs; in Here() 827 mork_pos i = here - map->mMap_Assocs; in CutHere()
|
H A D | morkDeque.cpp | 200 morkLink* morkDeque::At(mork_pos index) const /*i*/ in At() 213 mork_pos morkDeque::IndexOf(const morkLink* member) const /*i*/ in IndexOf() 221 if (member == alink) return (mork_pos)count; in IndexOf()
|
H A D | morkSearchRowCursor.cpp | 71 mork_pos inRowPos) in morkSearchRowCursor() 142 mork_pos pos = -1; in NextRow()
|
H A D | morkParser.cpp | 501 mork_pos rowPos = this->ReadHex(ev, &c); in ReadRowPos() 984 mork_pos startPos = mParser_GroupSpan.mSpan_Start.mPlace_Pos; in ReadGroup() 992 mork_pos outPos; in ReadGroup() 1118 mork_pos here; in EndSpanOnThisByte() 1128 mork_pos here; in EndSpanOnLastByte() 1143 mork_pos here; in StartSpanOnLastByte() 1159 mork_pos here; in StartSpanOnThisByte() 1237 mork_pos outPos; in OnStartState() 1302 mork_pos* outPos, // current byte pos in the stream afterwards in ParseMore() 1308 mork_pos startPos = this->HerePos(); in ParseMore() [all …]
|
H A D | morkFile.cpp | 448 mork_pos morkStdioFile::Length(morkEnv* ev) const { in Length() 449 mork_pos outPos = 0; in Length() 482 morkStdioFile::Tell(nsIMdbEnv* ev, mork_pos* outPos) const { in Tell() 528 morkStdioFile::Seek(nsIMdbEnv* mdbev, mork_pos inPos, mork_pos* aOutPos) { in Seek() 529 mork_pos outPos = 0; in Seek()
|
H A D | morkProbeMap.h | 159 mork_pos* outPos) const; 162 mork_pos inPos); 164 mork_pos inPos) const;
|
H A D | morkDeque.h | 177 morkLink* At(mork_pos index) const; /* one-based, not zero-based */ 179 mork_pos IndexOf(const morkLink* inMember) const;
|
H A D | morkSink.cpp | 158 mork_bool morkSpool::Seek(morkEnv* ev, mork_pos inPos) in Seek() 200 mork_pos fill = at - body; // current content size in Write()
|
H A D | morkMap.h | 289 void get_assoc(void* outKey, void* outVal, mork_pos inPos) const; 290 void put_assoc(const void* inKey, const void* inVal, mork_pos inPos) const;
|
H A D | morkSink.h | 137 mork_bool Seek(morkEnv* ev, mork_pos inPos);
|
H A D | morkUniqRowCursor.h | 55 morkTable* ioTable, mork_pos inRowPos);
|
H A D | morkSearchRowCursor.h | 60 morkTable* ioTable, mork_pos inRowPos);
|
H A D | morkFile.h | 193 virtual mork_pos Length(morkEnv* ev) const = 0; // eof 281 virtual mork_pos Length(morkEnv* ev) const override; // eof
|
H A D | morkCellObject.cpp | 72 mork_pos inPos) in morkCellObject() 126 mork_pos pos = 0; in ResyncWithRow()
|