Home
last modified time | relevance | path

Searched refs:Sect (Results 1 – 25 of 40) sorted by relevance

12

/netbsd-src/games/trek/
H A Dinitquad.c91 Sect[i][j] = EMPTY; in initquad()
94 Sect[Ship.sectx][Ship.secty] = Ship.ship; in initquad()
99 Sect[rx][ry] = KLINGON; in initquad()
110 Sect[rx][ry] = BASE; in initquad()
118 Sect[rx][ry] = INHABIT; in initquad()
125 Sect[rx][ry] = HOLE; in initquad()
131 Sect[rx][ry] = STAR; in initquad()
145 } while (Sect[i][j] != EMPTY); in sector()
H A Dnova.c64 if (Sect[x][y] != STAR || Quad[Ship.quadx][Ship.quady].stars < 0) in nova()
77 Sect[x][y] = EMPTY; in nova()
79 Sect[x][y] = HOLE; in nova()
90 se = Sect[i][j]; in nova()
134 Sect[i][j] = EMPTY; in nova()
H A Dklmove.c150 Sect[k->x][k->y] = EMPTY; in klmove()
158 if (Sect[lookx][looky] != EMPTY) { in klmove()
162 if (Sect[lookx][looky] != EMPTY) { in klmove()
166 Sect[lookx][looky] != EMPTY) { in klmove()
179 Sect[k->x][k->y] = EMPTY; in klmove()
180 Sect[k->x = nextx][k->y = nexty] = KLINGON; in klmove()
H A Dvisual.c87 co = Sect[ix][iy]; in visual()
95 co = Sect[ix][iy]; in visual()
103 co = Sect[ix][iy]; in visual()
H A Dmove.c136 Sect[Ship.sectx][Ship.secty] = EMPTY; in move()
193 if (Sect[ix][iy] != EMPTY) { in move()
205 if (Sect[ix][iy] == HOLE) { in move()
228 Sect[Ship.sectx][Ship.secty] = Ship.ship; in move()
H A Dhelp.c126 Sect[Ship.sectx][Ship.secty] = EMPTY; in help()
144 Sect[dx][dy] != EMPTY) in help()
153 Sect[dx][dy] = Ship.ship; in help()
H A Dabandon.c141 Sect[Ship.sectx][Ship.secty] = EMPTY; in abandon()
149 if (Sect[Ship.sectx][Ship.secty] == EMPTY) { in abandon()
150 Sect[Ship.sectx][Ship.secty] = QUEENE; in abandon()
H A Dtorped.c160 switch (Sect[ix][iy]) { in torped()
202 Sect[ix][iy], ix, iy); in torped()
203 Sect[ix][iy] = EMPTY; in torped()
H A Dkill.c70 Sect[ix][iy] = EMPTY; in killk()
125 Sect[Etc.starbase.x][Etc.starbase.y] = EMPTY; in killb()
160 Sect[x][y] = EMPTY; in kills()
H A Ddumpgame.c64 { (char *)Sect, sizeof (Sect) },
H A Dsnova.c92 if (Sect[ix][iy] == STAR || in snova()
93 Sect[ix][iy] == INHABIT) in snova()
H A Dexterns.c104 char Sect[NSECTS][NSECTS]; variable
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DMachODumper.cpp332 MachO::section Sect = Obj->getSection(Sec); in getSection() local
333 Section.Address = Sect.addr; in getSection()
334 Section.Size = Sect.size; in getSection()
335 Section.Offset = Sect.offset; in getSection()
336 Section.Alignment = Sect.align; in getSection()
337 Section.RelocationTableOffset = Sect.reloff; in getSection()
338 Section.NumRelocationTableEntries = Sect.nreloc; in getSection()
339 Section.Flags = Sect.flags; in getSection()
340 Section.Reserved1 = Sect.reserved1; in getSection()
341 Section.Reserved2 = Sect.reserved2; in getSection()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
H A DSymbolCache.cpp309 SymbolCache::findSymbolBySectOffset(uint32_t Sect, uint32_t Offset, in findSymbolBySectOffset() argument
313 return findFunctionSymbolBySectOffset(Sect, Offset); in findSymbolBySectOffset()
315 return findPublicSymbolBySectOffset(Sect, Offset); in findSymbolBySectOffset()
318 if (!Session.moduleIndexForSectOffset(Sect, Offset, Modi)) in findSymbolBySectOffset()
325 if (auto Sym = findFunctionSymbolBySectOffset(Sect, Offset)) in findSymbolBySectOffset()
335 SymbolCache::findFunctionSymbolBySectOffset(uint32_t Sect, uint32_t Offset) { in findFunctionSymbolBySectOffset() argument
336 auto Iter = AddressToSymbolId.find({Sect, Offset}); in findFunctionSymbolBySectOffset()
344 if (!Session.moduleIndexForSectOffset(Sect, Offset, Modi)) in findFunctionSymbolBySectOffset()
360 if (Sect == PS.Segment && Offset >= PS.CodeOffset && in findFunctionSymbolBySectOffset()
380 SymbolCache::findPublicSymbolBySectOffset(uint32_t Sect, uint32_t Offset) { in findPublicSymbolBySectOffset() argument
[all …]
H A DNativeSession.cpp257 NativeSession::findSymbolBySectOffset(uint32_t Sect, uint32_t Offset, in findSymbolBySectOffset() argument
262 return Cache.findSymbolBySectOffset(Sect, Offset, Type); in findSymbolBySectOffset()
403 bool NativeSession::moduleIndexForSectOffset(uint32_t Sect, uint32_t Offset, in moduleIndexForSectOffset() argument
406 auto Iter = AddrToModuleIndex.find(getVAFromSectOffset(Sect, Offset)); in moduleIndexForSectOffset()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A DMachOUtils.cpp291 auto Sect = getSection(Obj, Segment, LCI, i); in transferSegmentAndSections() local
292 if (StringRef("__eh_frame") == Sect.sectname) { in transferSegmentAndSections()
293 Sect.offset = EHFrameOffset; in transferSegmentAndSections()
294 Sect.reloff = Sect.nreloc = 0; in transferSegmentAndSections()
296 Sect.offset = Sect.reloff = Sect.nreloc = 0; in transferSegmentAndSections()
299 MachO::swapStruct(Sect); in transferSegmentAndSections()
300 Writer.W.OS.write(reinterpret_cast<char *>(&Sect), sizeof(Sect)); in transferSegmentAndSections()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/JITLink/
H A DMachOLinkGraphBuilder.cpp239 uint8_t Sect; in createNormalizedSymbols() local
248 Sect = NL64.n_sect; in createNormalizedSymbols()
256 Sect = NL32.n_sect; in createNormalizedSymbols()
282 if (Sect) in createNormalizedSymbols()
283 dbgs() << static_cast<unsigned>(Sect - 1); in createNormalizedSymbols()
290 if (Sect != 0) { in createNormalizedSymbols()
291 auto NSec = findSectionByIndex(Sect - 1); in createNormalizedSymbols()
310 &createNormalizedSymbol(*Name, Value, Type, Sect, Desc, in createNormalizedSymbols()
372 SecIndexToSymbols[NSym.Sect - 1].push_back(&NSym); in graphifyRegularSymbols()
H A DMachOLinkGraphBuilder.h41 uint8_t Sect, uint16_t Desc, Linkage L, Scope S) in NormalizedSymbol()
42 : Name(Name), Value(Value), Type(Type), Sect(Sect), Desc(Desc), L(L), in NormalizedSymbol()
56 uint8_t Sect = 0; member
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
H A DObjectFileTransformer.cpp34 for (const object::SectionRef &Sect : Obj.sections()) { in getUUID() local
35 Expected<StringRef> SectNameOrErr = Sect.getName(); in getUUID()
44 Expected<StringRef> E = Sect.getContents(); in getUUID()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/profile/
H A DInstrProfilingPort.h27 #define COMPILER_RT_SECTION(Sect) __attribute__((section(Sect))) argument
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/
H A DSymbolCache.h112 std::unique_ptr<PDBSymbol> findFunctionSymbolBySectOffset(uint32_t Sect,
114 std::unique_ptr<PDBSymbol> findPublicSymbolBySectOffset(uint32_t Sect,
171 findSymbolBySectOffset(uint32_t Sect, uint32_t Offset, PDB_SymType Type);
H A DNativeSession.h61 std::unique_ptr<PDBSymbol> findSymbolBySectOffset(uint32_t Sect,
114 bool moduleIndexForSectOffset(uint32_t Sect, uint32_t Offset,
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-gsymutil/
H A Dllvm-gsymutil.cpp297 for (const object::SectionRef &Sect : Obj.sections()) { in handleObjectFile() local
298 if (!Sect.isText()) in handleObjectFile()
300 const uint64_t Size = Sect.getSize(); in handleObjectFile()
303 const uint64_t StartAddr = Sect.getAddress(); in handleObjectFile()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DMachOObjectFile.cpp179 MachO::section_64 Sect = O.getSection64(Sec); in getSectionFlags() local
180 return Sect.flags; in getSectionFlags()
182 MachO::section Sect = O.getSection(Sec); in getSectionFlags() local
183 return Sect.flags; in getSectionFlags()
1937 MachO::section_64 Sect = getSection64(Sec); in getSectionSize() local
1938 SectOffset = Sect.offset; in getSectionSize()
1939 SectSize = Sect.size; in getSectionSize()
1940 SectType = Sect.flags & MachO::SECTION_TYPE; in getSectionSize()
1942 MachO::section Sect = getSection(Sec); in getSectionSize() local
1943 SectOffset = Sect.offset; in getSectionSize()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DDWARFEmitter.cpp226 static Error emitPubSection(raw_ostream &OS, const DWARFYAML::PubSection &Sect, in emitPubSection() argument
228 writeInitialLength(Sect.Format, Sect.Length, OS, IsLittleEndian); in emitPubSection()
229 writeInteger((uint16_t)Sect.Version, OS, IsLittleEndian); in emitPubSection()
230 writeInteger((uint32_t)Sect.UnitOffset, OS, IsLittleEndian); in emitPubSection()
231 writeInteger((uint32_t)Sect.UnitSize, OS, IsLittleEndian); in emitPubSection()
232 for (const auto &Entry : Sect.Entries) { in emitPubSection()

12