/prebuilts/go/linux-x86/src/go/ast/ |
commentmap_test.go | 115 key := fmt.Sprintf("%2d: %T", fset.Position(n.Pos()).Line, n) 134 out = append(out, fmt.Sprintf("\t\"%2d: %T\":\t%q,", fset.Position(n.Pos()).Line, n, ctext(list)))
|
/prebuilts/go/darwin-x86/src/go/scanner/ |
scanner_test.go | 204 func checkPos(t *testing.T, lit string, p token.Pos, expected token.Position) { 205 pos := fset.Position(p) 210 t.Errorf("bad position for %q: got %d, expected %d", lit, pos.Offset, expected.Offset) 225 eh := func(_ token.Position, msg string) { 233 // set up expected position 234 epos := token.Position{ 245 // check position 301 // update position 326 semiPos := file.Position(pos) 536 pos := file.Position(p [all...] |
/prebuilts/go/linux-x86/src/go/scanner/ |
scanner_test.go | 204 func checkPos(t *testing.T, lit string, p token.Pos, expected token.Position) { 205 pos := fset.Position(p) 210 t.Errorf("bad position for %q: got %d, expected %d", lit, pos.Offset, expected.Offset) 225 eh := func(_ token.Position, msg string) { 233 // set up expected position 234 epos := token.Position{ 245 // check position 301 // update position 326 semiPos := file.Position(pos) 536 pos := file.Position(p [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
S3BootScriptLib.h | 522 Move the last boot script entry to the position
526 script table specified by Position. If Position
530 @param Position On entry, specifies the position in the boot script
533 exit, specifies the position of the inserted opcode
537 @retval RETURN_INVALID_PARAMETER The Position is not a valid position in the
546 IN OUT VOID **Position OPTIONAL
552 or after (FALSE) the position in the boot script table [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BaseS3BootScriptLibNull/ |
BootScriptLib.c | 489 Move the last boot script entry to the position
491 @param BeforeOrAfter Specifies whether the opcode is stored before (TRUE) or after (FALSE) the position
492 in the boot script table specified by Position. If Position is NULL or points to
495 @param Position On entry, specifies the position in the boot script table where the opcode will be
497 the position of the inserted opcode in the boot script table.
500 @retval RETURN_INVALID_PARAMETER The Position is not a valid position in the boot script table.
507 IN OUT VOID **Position OPTIONAL [all...] |
/external/dng_sdk/source/ |
dng_info.cpp | 1595 uint64 tagOffset = stream.Position (); 1620 tagOffset = stream.Position (); 1645 tagOffset = stream.Position (); 1686 uint64 tagOffset = stream.Position (); 1724 uint64 crwTagStart = stream.Position (); 1738 uint64 tagOffset = stream.Position (); [all...] |
/external/lzma/CS/7zip/Compress/LZ/ |
LzOutWindow.cs | 44 stream.Position = len - size;
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
Path.h | 55 size_t Position; ///< The iterators current position within Path. 58 // An end iterator has Position = Path.size() + 1. 82 size_t Position; ///< The iterators current position within Path.
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
Path.h | 55 size_t Position; ///< The iterators current position within Path. 58 // An end iterator has Position = Path.size() + 1. 82 size_t Position; ///< The iterators current position within Path.
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
Path.h | 55 size_t Position; ///< The iterators current position within Path. 58 // An end iterator has Position = Path.size() + 1. 82 size_t Position; ///< The iterators current position within Path.
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
Path.h | 55 size_t Position; ///< The iterators current position within Path. 58 // An end iterator has Position = Path.size() + 1. 82 size_t Position; ///< The iterators current position within Path.
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
Path.h | 55 size_t Position; ///< The iterators current position within Path. 58 // An end iterator has Position = Path.size() + 1. 82 size_t Position; ///< The iterators current position within Path.
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
Path.h | 55 size_t Position; ///< The iterators current position within Path. 58 // An end iterator has Position = Path.size() + 1. 82 size_t Position; ///< The iterators current position within Path.
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
Path.h | 55 size_t Position; ///< The iterators current position within Path. 58 // An end iterator has Position = Path.size() + 1. 82 size_t Position; ///< The iterators current position within Path.
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
Path.h | 55 size_t Position; ///< The iterators current position within Path. 58 // An end iterator has Position = Path.size() + 1. 82 size_t Position; ///< The iterators current position within Path.
|
/external/swiftshader/third_party/subzero/src/ |
IceAssemblerMIPS32.cpp | 195 IOffsetT Position = L->getLinkPosition(); 196 IOffsetT Dest = BoundPc - Position; 197 IValueT Inst = Buffer.load<IValueT>(Position); 198 Buffer.store<IValueT>(Position, encodeBranchOffset(Dest, Inst)); 201 NextBrPc = Position - NextBrPc; 433 const IOffsetT Position = Buffer.size(); 436 PrevPosition = Position - PrevPosition; 438 TargetLabel->linkTo(*this, Position); 613 IValueT Inst = Asm.load<IValueT>(position()); 636 const IValueT Inst = Asm->load<IValueT>(position()); [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/UefiFileHandleLib/ |
UefiFileHandleLib.c | 139 bytes from the file at the file's current position and returns them in Buffer.
141 end of the file. The file's current position is increased by the number of bytes
143 at the file's current position and returns the entry in Buffer. If the Buffer
145 EFI_BUFFER_TOO_SMALL is returned and the current file position is not updated.
147 success, the current position is updated to the next directory entry. If there
187 file position. The current file position is advanced the actual number of bytes
289 Set the current position in a file.
291 This function sets the current file position for the handle to the position
[all...] |
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
CodedInputStreamTest.cs | 82 // lets us test the position at the end.
86 memoryStream.Position = 0;
88 Assert.AreEqual(data.Length, memoryStream.Position);
279 ms.Position = 0;
353 ms.Position = 0;
405 ms.Position = 0;
460 stream.Position = 0;
491 stream.Position = 0;
511 stream.Position = 0;
528 stream.Position = 0; [all...] |
/build/soong/androidmk/cmd/androidmk/ |
androidmk.go | 28 mkPos scanner.Position // Position of the last handled line in the makefile 29 bpPos scanner.Position // Position of the last emitted line to the blueprint file 62 func (f *bpFile) setMkPos(pos, end scanner.Position) {
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
ARMLoadStoreOptimizer.cpp | 80 unsigned Position; 85 : Offset(o), Reg(r), isKill(k), Position(p), MBBI(i), Merged(false) {} 379 const unsigned insertPos = memOps[insertAfter].Position; 388 if (memOps[i].Position < insertPos && memOps[i].isKill) { 431 memOps[i].Position = insertPos; 499 if (MemOps[i].Position > MemOps[insertAfter].Position) [all...] |
/prebuilts/go/darwin-x86/src/text/scanner/ |
scanner.go | 26 // A source position is represented by a Position value. 27 // A position is valid if Line > 0. 28 type Position struct { 35 // IsValid reports whether the position is valid. 36 func (pos *Position) IsValid() bool { return pos.Line > 0 } 38 func (pos Position) String() string { 118 srcPos int // reading position (srcBuf index) 121 // Source position 133 tokPos int // token text tail position (srcBuf index); valid if >= [all...] |
/prebuilts/go/linux-x86/src/text/scanner/ |
scanner.go | 26 // A source position is represented by a Position value. 27 // A position is valid if Line > 0. 28 type Position struct { 35 // IsValid reports whether the position is valid. 36 func (pos *Position) IsValid() bool { return pos.Line > 0 } 38 func (pos Position) String() string { 118 srcPos int // reading position (srcBuf index) 121 // Source position 133 tokPos int // token text tail position (srcBuf index); valid if >= [all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
PosixFileSystem.c | 886 Set a files current position 889 @param Position Byte position from the start of the file. 898 IN UINT64 Position 907 if (Position != 0) { 917 if (Position == (UINT64) -1) { 920 Pos = lseek (PrivateFile->fd, Position, SEEK_SET); 932 Get a file's current position 935 @param Position Byte position from the start of the file [all...] |
/external/v8/src/profiler/ |
profile-generator.cc | 181 {script_id_, static_cast<size_t>(std::max(0, position()))})); 259 base::OS::Print("%*s;;; deopted at script_id: %d position: %" PRIuS 262 info.stack[0].position, info.deopt_reason); 264 base::OS::Print("%*s;;; Inline point: script_id %d position: %" PRIuS 267 info.stack[index].position); 348 class Position { 350 explicit Position(ProfileNode* node) 369 List<Position> stack(10); 370 stack.Add(Position(root_)); 372 Position& current = stack.last() [all...] |
/prebuilts/go/darwin-x86/src/go/printer/ |
printer.go | 69 // The out position differs from the pos position when the result 74 pos token.Position // current position in AST (source) space 75 out token.Position // current position in output space 76 last token.Position // value of pos after calling writeString 89 // Cache of most recently computed line position. 97 p.pos = token.Position{Line: 1, Column: 1} 98 p.out = token.Position{Line: 1, Column: 1 [all...] |