HomeSort by relevance Sort by last modified time
    Searched full:fileoffset (Results 1 - 25 of 104) sorted by null

1 2 3 4 5

  /external/clang/include/clang/Edit/
FileOffset.h 1 //===----- FileOffset.h - Offset in a file ----------------------*- C++ -*-===//
19 class FileOffset {
23 FileOffset() : Offs(0) { }
24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) { }
31 FileOffset getWithOffset(unsigned offset) const {
32 FileOffset NewOffs = *this;
37 friend bool operator==(FileOffset LHS, FileOffset RHS) {
40 friend bool operator!=(FileOffset LHS, FileOffset RHS)
    [all...]
EditedSource.h 13 #include "clang/Edit/FileOffset.h"
39 typedef std::map<FileOffset, FileEdit> FileEditsTy;
58 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs);
73 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text,
75 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
76 FileOffset InsertFromRangeOffs, unsigned Len,
78 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len);
80 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
82 FileEditsTy::iterator getActionForOffset(FileOffset Offs)
    [all...]
Commit.h 13 #include "clang/Edit/FileOffset.h"
37 FileOffset Offset;
38 FileOffset InsertFromRangeOffs;
115 FileOffset Offs, StringRef text, bool beforePreviousInsertions);
116 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs,
117 FileOffset RangeOffs, unsigned RangeLen,
119 void addRemove(SourceLocation OrigLoc, FileOffset Offs, unsigned Len);
121 bool canInsert(SourceLocation loc, FileOffset &Offset);
122 bool canInsertAfterToken(SourceLocation loc, FileOffset &Offset,
124 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs)
    [all...]
  /external/lzma/CPP/Windows/
FileMapping.h 39 LPVOID Map(DWORD desiredAccess, UInt64 fileOffset, SIZE_T numberOfBytesToMap)
41 return ::MapViewOfFile(_handle, desiredAccess, (DWORD)(fileOffset >> 32), (DWORD)fileOffset, numberOfBytesToMap);
45 LPVOID Map(DWORD desiredAccess, UInt64 fileOffset, SIZE_T numberOfBytesToMap, LPVOID baseAddress)
47 return ::MapViewOfFileEx(_handle, desiredAccess, (DWORD)(fileOffset >> 32), (DWORD)fileOffset, numberOfBytesToMap, baseAddress);
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
Section.java 40 private int fileOffset;
79 this.fileOffset = -1;
108 if (fileOffset < 0) {
109 throw new RuntimeException("fileOffset not set");
112 return fileOffset;
119 * @param fileOffset {@code >= 0;} the desired offset from the start of the
124 public final int setFileOffset(int fileOffset) {
125 if (fileOffset < 0) {
126 throw new IllegalArgumentException("fileOffset < 0");
129 if (this.fileOffset >= 0)
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
Section.java 39 private int fileOffset;
78 this.fileOffset = -1;
107 if (fileOffset < 0) {
108 throw new RuntimeException("fileOffset not set");
111 return fileOffset;
118 * @param fileOffset {@code >= 0;} the desired offset from the start of the
123 public final int setFileOffset(int fileOffset) {
124 if (fileOffset < 0) {
125 throw new IllegalArgumentException("fileOffset < 0");
128 if (this.fileOffset >= 0)
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
Section.java 40 private int fileOffset;
79 this.fileOffset = -1;
108 if (fileOffset < 0) {
109 throw new RuntimeException("fileOffset not set");
112 return fileOffset;
119 * @param fileOffset {@code >= 0;} the desired offset from the start of the
124 public final int setFileOffset(int fileOffset) {
125 if (fileOffset < 0) {
126 throw new IllegalArgumentException("fileOffset < 0");
129 if (this.fileOffset >= 0)
    [all...]
  /external/clang/lib/Edit/
EditedSource.cpp 31 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) {
54 FileOffset Offs, StringRef text,
86 FileOffset Offs,
87 FileOffset InsertFromRangeOffs, unsigned Len,
93 FileOffset BeginOffs = InsertFromRangeOffs;
94 FileOffset EndOffs = BeginOffs.getWithOffset(Len);
101 FileOffset B = I->first;
102 FileOffset E = B.getWithOffset(FA.RemoveLen);
118 FileOffset B = I->first;
119 FileOffset E = B.getWithOffset(FA.RemoveLen)
    [all...]
Commit.cpp 48 FileOffset Offs;
62 FileOffset RangeOffs;
69 FileOffset Offs;
87 FileOffset Offs;
115 FileOffset Offs;
129 FileOffset OuterBegin;
136 FileOffset InnerBegin;
143 FileOffset OuterEnd = OuterBegin.getWithOffset(OuterLen);
144 FileOffset InnerEnd = InnerBegin.getWithOffset(InnerLen);
165 FileOffset Offs
    [all...]
  /external/chromium_org/third_party/skia/src/pdf/
SkPDFDocument.cpp 163 off_t fileOffset = headerSize();
164 fileOffset += fCatalog->setFileOffset(fDocCatalog, fileOffset);
165 fileOffset += fCatalog->setFileOffset(fPages[0], fileOffset);
166 fileOffset += fPages[0]->getPageSize(fCatalog.get(),
167 (size_t) fileOffset);
169 fileOffset += fCatalog->setFileOffset((*fFirstPageResources)[i],
170 fileOffset);
173 fileOffset += fCatalog->setSubstituteResourcesOffsets(fileOffset, true)
    [all...]
SkPDFCatalog.h 81 * @param fileOffset Accumulated offset of current document.
85 off_t setSubstituteResourcesOffsets(off_t fileOffset, bool firstPage);
SkPDFPage.h 63 * @param fileOffset The file offset where the page content will be
66 off_t getPageSize(SkPDFCatalog* catalog, off_t fileOffset);
  /external/skia/src/pdf/
SkPDFDocument.cpp 163 off_t fileOffset = headerSize();
164 fileOffset += fCatalog->setFileOffset(fDocCatalog, fileOffset);
165 fileOffset += fCatalog->setFileOffset(fPages[0], fileOffset);
166 fileOffset += fPages[0]->getPageSize(fCatalog.get(),
167 (size_t) fileOffset);
169 fileOffset += fCatalog->setFileOffset((*fFirstPageResources)[i],
170 fileOffset);
173 fileOffset += fCatalog->setSubstituteResourcesOffsets(fileOffset, true)
    [all...]
SkPDFCatalog.h 81 * @param fileOffset Accumulated offset of current document.
85 off_t setSubstituteResourcesOffsets(off_t fileOffset, bool firstPage);
SkPDFPage.h 63 * @param fileOffset The file offset where the page content will be
66 off_t getPageSize(SkPDFCatalog* catalog, off_t fileOffset);
  /external/chromium_org/third_party/skia/src/utils/win/
SkDWriteFontFileStream.cpp 173 UINT64 fileOffset,
180 if (fileOffset > fileSize || fragmentSize > fileSize - fileOffset) {
186 if (!SkTFitsIn<size_t>(fileOffset + fragmentSize)) {
192 *fragmentStart = static_cast<BYTE const*>(data) + static_cast<size_t>(fileOffset);
205 if (fStream->skip(static_cast<size_t>(fileOffset)) != fileOffset) {
SkDWriteFontFileStream.h 59 UINT64 fileOffset,
  /external/skia/src/utils/win/
SkDWriteFontFileStream.cpp 173 UINT64 fileOffset,
180 if (fileOffset > fileSize || fragmentSize > fileSize - fileOffset) {
186 if (!SkTFitsIn<size_t>(fileOffset + fragmentSize)) {
192 *fragmentStart = static_cast<BYTE const*>(data) + static_cast<size_t>(fileOffset);
205 if (fStream->skip(static_cast<size_t>(fileOffset)) != fileOffset) {
SkDWriteFontFileStream.h 59 UINT64 fileOffset,
  /external/clang/include/clang/Basic/
SourceManagerInternals.h 31 unsigned FileOffset;
53 E.FileOffset = Offs;
65 return lhs.FileOffset < rhs.FileOffset;
69 return E.FileOffset < Offset;
73 return Offset < E.FileOffset;
  /frameworks/compile/mclinker/lib/LD/
ELFDynObjReader.cpp 54 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(),
77 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(),
112 pInput.fileOffset() + symtab_shdr->offset(), symtab_shdr->size());
115 pInput.fileOffset() + strtab_shdr->offset(), strtab_shdr->size());
ELFObjectReader.cpp 67 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(),
90 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(),
131 pInput.fileOffset() + (*section)->offset(), (*section)->size());
288 pInput.fileOffset() + symtab_shdr->offset(), symtab_shdr->size());
290 pInput.fileOffset() + strtab_shdr->offset(), strtab_shdr->size());
311 uint32_t offset = pInput.fileOffset() + (*rs)->offset();
GNUArchiveReader.cpp 48 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(),
77 MemoryRegion* region = pInput.memArea()->request(pInput.fileOffset(),
163 pArchiveFile.memArea()->request((pArchiveFile.fileOffset() + pFileOffset),
246 pArchive.getARFile().memArea()->request((pArchive.getARFile().fileOffset() +
259 (pArchive.getARFile().fileOffset() +
305 pArchive.getARFile().memArea()->request((pArchive.getARFile().fileOffset() +
318 (pArchive.getARFile().fileOffset() +
424 uint32_t begin_offset = pArchive.getARFile().fileOffset() +
  /frameworks/base/libs/androidfw/
ObbFile.cpp 165 off64_t fileOffset = fileLength - footerSize - kFooterTagSize;
166 if (lseek64(fd, fileOffset, SEEK_SET) != fileOffset) {
167 ALOGW("seek %lld failed: %s\n", fileOffset, strerror(errno));
171 mFooterStart = fileOffset;
  /external/clang/tools/libclang/
CXSourceLocation.cpp 316 unsigned FileOffset = LocInfo.second;
324 *line = SM.getLineNumber(FID, FileOffset);
326 *column = SM.getColumnNumber(FID, FileOffset);
328 *offset = FileOffset;
353 unsigned FileOffset = LocInfo.second;
361 *line = SM.getLineNumber(FID, FileOffset);
363 *column = SM.getColumnNumber(FID, FileOffset);
365 *offset = FileOffset;

Completed in 904 milliseconds

1 2 3 4 5