Lines Matching defs:docMapEntry
392 nsDocumentMapReadEntry* docMapEntry =
397 *aResult = PL_DHASH_ENTRY_IS_BUSY(docMapEntry);
404 nsDocumentMapReadEntry* docMapEntry =
411 if (PL_DHASH_ENTRY_IS_FREE(docMapEntry))
427 docMapEntry->mURI = aURI;
428 NS_ADDREF(docMapEntry->mURI);
431 uriMapEntry->mDocMapEntry = docMapEntry;
471 nsDocumentMapReadEntry* docMapEntry = uriMapEntry->mDocMapEntry;
472 if (docMapEntry == prevDocMapEntry) {
474 docMapEntry->mString));
477 // Invariant: docMapEntry->mBytesLeft implies docMapEntry->mSaveOffset has
479 else if (docMapEntry->mBytesLeft) {
480 NS_ASSERTION(docMapEntry->mSaveOffset != 0,
487 docMapEntry->mNeedToSeek = PR_TRUE;
493 mCurrentDocumentMapEntry = docMapEntry;
1362 nsDocumentMapWriteEntry* docMapEntry =
1367 *aResult = PL_DHASH_ENTRY_IS_BUSY(docMapEntry);
1382 nsDocumentMapWriteEntry* docMapEntry =
1386 if (!docMapEntry)
1402 NS_ASSERTION(docMapEntry->mString == nsnull,
1404 if (docMapEntry->mString)
1410 docMapEntry->mString = NS_REINTERPRET_CAST(const char*, spec);
1411 docMapEntry->mURI = aURI;
1412 NS_ADDREF(docMapEntry->mURI);
1428 uriMapEntry->mDocMapEntry = docMapEntry;
1465 nsDocumentMapWriteEntry* docMapEntry = uriMapEntry->mDocMapEntry;
1467 docMapEntry =
1472 NS_ASSERTION(PL_DHASH_ENTRY_IS_BUSY(docMapEntry), "lost mDocMapEntry!?");
1473 uriMapEntry->mDocMapEntry = docMapEntry;
1476 docMapEntry = uriMapEntry->mDocMapEntry;
1482 if (prevDocMapEntry == docMapEntry) {
1485 *aResult = docMapEntry->mURI;
1508 if (!docMapEntry->mInitialSegmentOffset) {
1519 if (!docMapEntry->mInitialSegmentOffset) {
1520 docMapEntry->mInitialSegmentOffset = currentSegmentOffset32;
1523 docMapEntry->mCurrentSegmentOffset);
1540 docMapEntry->mCurrentSegmentOffset = currentSegmentOffset32;
1553 mCurrentDocumentMapEntry = docMapEntry;