/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 | 14 #include "clang/Edit/FileOffset.h" 41 typedef std::map<FileOffset, FileEdit> FileEditsTy; 64 bool canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs); 75 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text, 77 bool commitInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, 78 FileOffset InsertFromRangeOffs, unsigned Len, 80 void commitRemove(SourceLocation OrigLoc, FileOffset BeginOffs, unsigned Len); 82 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs, 84 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 | 43 LPVOID Map(DWORD desiredAccess, UInt64 fileOffset, SIZE_T numberOfBytesToMap)
45 return ::MapViewOfFile(_handle, desiredAccess, (DWORD)(fileOffset >> 32), (DWORD)fileOffset, numberOfBytesToMap);
49 LPVOID Map(DWORD desiredAccess, UInt64 fileOffset, SIZE_T numberOfBytesToMap, LPVOID baseAddress)
51 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/ |
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...] |
EditedSource.cpp | 61 bool EditedSource::canInsertInOffset(SourceLocation OrigLoc, FileOffset Offs) { 96 FileOffset Offs, StringRef text, 126 FileOffset Offs, 127 FileOffset InsertFromRangeOffs, unsigned Len, 133 FileOffset BeginOffs = InsertFromRangeOffs; 134 FileOffset EndOffs = BeginOffs.getWithOffset(Len); 141 FileOffset B = I->first; 142 FileOffset E = B.getWithOffset(FA.RemoveLen); 158 FileOffset B = I->first; 159 FileOffset E = B.getWithOffset(FA.RemoveLen) [all...] |
/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;
|
/external/skia/src/utils/win/ |
SkDWriteFontFileStream.cpp | 177 UINT64 fileOffset, 184 if (fileOffset > fileSize || fragmentSize > fileSize - fileOffset) { 190 if (!SkTFitsIn<size_t>(fileOffset + fragmentSize)) { 196 *fragmentStart = static_cast<BYTE const*>(data) + static_cast<size_t>(fileOffset); 206 if (!fStream->seek(static_cast<size_t>(fileOffset))) {
|
SkDWriteFontFileStream.h | 60 UINT64 fileOffset,
|
/external/libvncserver/webclients/novnc/include/ |
jsunzip.js | 83 var fileOffset = centralDirectoryOffset; 86 if (this.getInt(fileOffset + 0, 4) != 0x02014b50) 88 if (this.getInt(fileOffset + 6, 2) > 20) 90 if (this.getInt(fileOffset + 8, 2) & 1) 93 var compressionMethod = this.getInt(fileOffset + 10, 2); 97 var lastModFileTime = this.getInt(fileOffset + 12, 2); 98 var lastModFileDate = this.getInt(fileOffset + 14, 2); 101 var crc = this.getInt(fileOffset + 16, 4); 104 var compressedSize = this.getInt(fileOffset + 20, 4); 105 var uncompressedSize = this.getInt(fileOffset + 24, 4) [all...] |
/frameworks/compile/mclinker/lib/LD/ |
ELFDynObjReader.cpp | 55 pInput.memArea()->request(pInput.fileOffset(), hdr_size); 81 pInput.memArea()->request(pInput.fileOffset(), hdr_size); 111 pInput.fileOffset() + symtab_shdr->offset(), symtab_shdr->size()); 114 pInput.fileOffset() + strtab_shdr->offset(), strtab_shdr->size());
|
ELFObjectReader.cpp | 72 pInput.memArea()->request(pInput.fileOffset(), hdr_size); 101 pInput.memArea()->request(pInput.fileOffset(), hdr_size); 138 pInput.fileOffset() + (*section)->offset(), (*section)->size()); 294 pInput.fileOffset() + symtab_shdr->offset(), symtab_shdr->size()); 296 pInput.fileOffset() + strtab_shdr->offset(), strtab_shdr->size()); 312 uint32_t offset = pInput.fileOffset() + (*rs)->offset();
|
GNUArchiveReader.cpp | 48 pInput.memArea()->request(pInput.fileOffset(), Archive::MAGIC_LEN); 74 pInput.memArea()->request(pInput.fileOffset(), Archive::MAGIC_LEN); 157 (pArchiveFile.fileOffset() + pFileOffset), sizeof(Archive::MemberHeader)); 265 (pArchive.getARFile().fileOffset() + Archive::MAGIC_LEN), 277 (pArchive.getARFile().fileOffset() + Archive::MAGIC_LEN + 307 memory_area->request((pArchive.getARFile().fileOffset() + offset), 319 memory_area->request((pArchive.getARFile().fileOffset() + offset + 426 uint32_t begin_offset = pArchive.getARFile().fileOffset() +
|
ELFReader.cpp | 56 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); 343 pInput.memArea()->request(pInput.fileOffset() + shoff, shentsize); 363 pInput.memArea()->request(pInput.fileOffset() + shoff, shnum * shentsize); 378 pInput.memArea()->request(pInput.fileOffset() + sh_offset, sh_size); 438 uint32_t offset = pInput.fileOffset() + symtab->offset() + 460 pInput.fileOffset() + strtab->offset(), strtab->size()); 488 pInput.fileOffset() + dynamic_sect->offset(), dynamic_sect->size()); 491 pInput.fileOffset() + dynstr_sect->offset(), dynstr_sect->size()); 556 uint64_t offset = pInput.fileOffset() + pSD.getSection().offset(); 837 pInput.memArea()->request(pInput.fileOffset() + shoff, shentsize) [all...] |
/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", (long long int)fileOffset, strerror(errno)); 171 mFooterStart = fileOffset;
|
/external/clang/tools/libclang/ |
CXSourceLocation.cpp | 339 unsigned FileOffset = LocInfo.second; 347 *line = SM.getLineNumber(FID, FileOffset); 349 *column = SM.getColumnNumber(FID, FileOffset); 351 *offset = FileOffset; 376 unsigned FileOffset = LocInfo.second; 384 *line = SM.getLineNumber(FID, FileOffset); 386 *column = SM.getColumnNumber(FID, FileOffset); 388 *offset = FileOffset;
|
/frameworks/compile/mclinker/lib/Script/ |
ScriptReader.cpp | 47 llvm::StringRef region = input.memArea()->request(input.fileOffset(), size);
|
/frameworks/compile/mclinker/unittests/ |
ELFReaderTest.cpp | 69 m_pInput->memArea()->request(m_pInput->fileOffset(), hdr_size); 109 m_pInput->fileOffset() + symtab_shdr->offset(), symtab_shdr->size()); 112 m_pInput->fileOffset() + strtab_shdr->offset(), strtab_shdr->size()); 127 uint64_t offset = m_pInput->fileOffset() + (*rs)->offset();
|
/external/pdfium/core/src/fxge/win32/ |
fx_win32_dwrite.cpp | 43 UINT64 fileOffset, 284 UINT64 fileOffset, 287 if (fileOffset <= resourceSize_ && 288 fragmentSize <= resourceSize_ - fileOffset) { 290 static_cast<size_t>(fileOffset);
|
/external/icu/icu4c/source/tools/toolutil/ |
pkg_gencmn.c | 84 uint32_t basenameLength, basenameOffset, fileSize, fileOffset; 123 uint32_t i, fileOffset, basenameOffset, length, nread; 225 fileOffset=(basenameOffset+(basenameTotal+15))&~0xf; 227 files[i].fileOffset=fileOffset; 228 fileOffset+=(files[i].fileSize+15)&~0xf; 249 udata_write32(out, files[i].fileOffset);
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_otadata.h | 50 EAS_I32 fileOffset; /* offset to location in file */ 60 EAS_I32 fileOffset; /* offset to start of data */
|
/prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/link/internal/ld/ |
macho.go | 39 fileoffset uint64 241 Thearch.Vput(s.fileoffset) 253 Thearch.Lput(uint32(s.fileoffset)) 449 ms.fileoffset = Segtext.Fileoff 471 ms.fileoffset = 0 487 ms.fileoffset = uint64(v) 542 ms.fileoffset = uint64(linkoff)
|