Home
last modified time | relevance | path

Searched refs:typ (Results 1 – 25 of 235) sorted by relevance

12345678910

/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_suppressions.cc66 static const char *conv(ReportType typ) { in conv() argument
67 if (typ == ReportTypeRace) in conv()
69 else if (typ == ReportTypeVptrRace) in conv()
71 else if (typ == ReportTypeUseAfterFree) in conv()
73 else if (typ == ReportTypeVptrUseAfterFree) in conv()
75 else if (typ == ReportTypeExternalRace) in conv()
77 else if (typ == ReportTypeThreadLeak) in conv()
79 else if (typ == ReportTypeMutexDestroyLocked) in conv()
81 else if (typ == ReportTypeMutexDoubleLock) in conv()
83 else if (typ == ReportTypeMutexInvalidAccess) in conv()
[all …]
H A Dtsan_debugging.cc20 static const char *ReportTypeDescription(ReportType typ) { in ReportTypeDescription() argument
21 if (typ == ReportTypeRace) return "data-race"; in ReportTypeDescription()
22 if (typ == ReportTypeVptrRace) return "data-race-vptr"; in ReportTypeDescription()
23 if (typ == ReportTypeUseAfterFree) return "heap-use-after-free"; in ReportTypeDescription()
24 if (typ == ReportTypeVptrUseAfterFree) return "heap-use-after-free-vptr"; in ReportTypeDescription()
25 if (typ == ReportTypeExternalRace) return "external-race"; in ReportTypeDescription()
26 if (typ == ReportTypeThreadLeak) return "thread-leak"; in ReportTypeDescription()
27 if (typ == ReportTypeMutexDestroyLocked) return "locked-mutex-destroy"; in ReportTypeDescription()
28 if (typ == ReportTypeMutexDoubleLock) return "mutex-double-lock"; in ReportTypeDescription()
29 if (typ == ReportTypeMutexInvalidAccess) return "mutex-invalid-access"; in ReportTypeDescription()
[all …]
H A Dtsan_report.cc77 static const char *ReportTypeString(ReportType typ, uptr tag) { in ReportTypeString() argument
78 if (typ == ReportTypeRace) in ReportTypeString()
80 if (typ == ReportTypeVptrRace) in ReportTypeString()
82 if (typ == ReportTypeUseAfterFree) in ReportTypeString()
84 if (typ == ReportTypeVptrUseAfterFree) in ReportTypeString()
86 if (typ == ReportTypeExternalRace) { in ReportTypeString()
90 if (typ == ReportTypeThreadLeak) in ReportTypeString()
92 if (typ == ReportTypeMutexDestroyLocked) in ReportTypeString()
94 if (typ == ReportTypeMutexDoubleLock) in ReportTypeString()
96 if (typ == ReportTypeMutexInvalidAccess) in ReportTypeString()
[all …]
H A Dtsan_rtl_report.cc144 ScopedReportBase::ScopedReportBase(ReportType typ, uptr tag) { in ScopedReportBase() argument
148 rep_->typ = typ; in ScopedReportBase()
372 ScopedReport::ScopedReport(ReportType typ, uptr tag) in ScopedReport() argument
373 : ScopedReportBase(typ, tag) {} in ScopedReport()
406 EventType typ = (EventType)(ev >> kEventPCBits); in RestoreStack() local
408 DPrintf2(" %zu typ=%d pc=%zx\n", i, typ, pc); in RestoreStack()
409 if (typ == EventTypeMop) { in RestoreStack()
411 } else if (typ == EventTypeFuncEnter) { in RestoreStack()
415 } else if (typ == EventTypeFuncExit) { in RestoreStack()
420 if (typ == EventTypeLock) { in RestoreStack()
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_suppressions.cc68 static const char *conv(ReportType typ) { in conv() argument
69 if (typ == ReportTypeRace) in conv()
71 else if (typ == ReportTypeVptrRace) in conv()
73 else if (typ == ReportTypeUseAfterFree) in conv()
75 else if (typ == ReportTypeVptrUseAfterFree) in conv()
77 else if (typ == ReportTypeExternalRace) in conv()
79 else if (typ == ReportTypeThreadLeak) in conv()
81 else if (typ == ReportTypeMutexDestroyLocked) in conv()
83 else if (typ == ReportTypeMutexDoubleLock) in conv()
85 else if (typ == ReportTypeMutexInvalidAccess) in conv()
[all …]
H A Dtsan_debugging.cc22 static const char *ReportTypeDescription(ReportType typ) { in ReportTypeDescription() argument
23 if (typ == ReportTypeRace) return "data-race"; in ReportTypeDescription()
24 if (typ == ReportTypeVptrRace) return "data-race-vptr"; in ReportTypeDescription()
25 if (typ == ReportTypeUseAfterFree) return "heap-use-after-free"; in ReportTypeDescription()
26 if (typ == ReportTypeVptrUseAfterFree) return "heap-use-after-free-vptr"; in ReportTypeDescription()
27 if (typ == ReportTypeExternalRace) return "external-race"; in ReportTypeDescription()
28 if (typ == ReportTypeThreadLeak) return "thread-leak"; in ReportTypeDescription()
29 if (typ == ReportTypeMutexDestroyLocked) return "locked-mutex-destroy"; in ReportTypeDescription()
30 if (typ == ReportTypeMutexDoubleLock) return "mutex-double-lock"; in ReportTypeDescription()
31 if (typ == ReportTypeMutexInvalidAccess) return "mutex-invalid-access"; in ReportTypeDescription()
[all …]
H A Dtsan_report.cc79 static const char *ReportTypeString(ReportType typ, uptr tag) { in ReportTypeString() argument
80 if (typ == ReportTypeRace) in ReportTypeString()
82 if (typ == ReportTypeVptrRace) in ReportTypeString()
84 if (typ == ReportTypeUseAfterFree) in ReportTypeString()
86 if (typ == ReportTypeVptrUseAfterFree) in ReportTypeString()
88 if (typ == ReportTypeExternalRace) { in ReportTypeString()
92 if (typ == ReportTypeThreadLeak) in ReportTypeString()
94 if (typ == ReportTypeMutexDestroyLocked) in ReportTypeString()
96 if (typ == ReportTypeMutexDoubleLock) in ReportTypeString()
98 if (typ == ReportTypeMutexInvalidAccess) in ReportTypeString()
[all …]
H A Dtsan_rtl_report.cc146 ScopedReportBase::ScopedReportBase(ReportType typ, uptr tag) { in ScopedReportBase() argument
150 rep_->typ = typ; in ScopedReportBase()
374 ScopedReport::ScopedReport(ReportType typ, uptr tag) in ScopedReport() argument
375 : ScopedReportBase(typ, tag) {} in ScopedReport()
408 EventType typ = (EventType)(ev >> kEventPCBits); in RestoreStack() local
410 DPrintf2(" %zu typ=%d pc=%zx\n", i, typ, pc); in RestoreStack()
411 if (typ == EventTypeMop) { in RestoreStack()
413 } else if (typ == EventTypeFuncEnter) { in RestoreStack()
417 } else if (typ == EventTypeFuncExit) { in RestoreStack()
422 if (typ == EventTypeLock) { in RestoreStack()
[all …]
/netbsd-src/games/hack/
H A Ddef.rm.h84 #define IS_WALL(typ) ((typ) <= VWALL) argument
85 #define IS_ROCK(typ) ((typ) < POOL) /* absolutely nonaccessible */ argument
86 #define ACCESSIBLE(typ) ((typ) >= DOOR) /* good position */ argument
87 #define IS_ROOM(typ) ((typ) >= ROOM) /* ROOM or STAIRS */ argument
88 #define ZAP_POS(typ) ((typ) > DOOR) argument
109 unsigned typ:5; member
H A Dhack.vault.c137 crm->typ = egd->fakecorr[fcbeg].ftyp; in restfakecorr()
138 if (!crm->typ) in restfakecorr()
196 if (levl[x][y].typ == CORR) in invault()
211 while (levl[x][y].typ == ROOM) { in invault()
260 egd->fakecorr[0].ftyp = levl[x][y].typ; in invault()
261 levl[x][y].typ = DOOR; in invault()
269 int x, y, dx, dy, gx, gy, nx, ny, typ; in gd_move() local
291 if (!IS_WALL(typ = (crm = &levl[nx][ny])->typ) && typ != POOL) { in gd_move()
305 if (ACCESSIBLE(typ)) in gd_move()
307 crm->typ = (typ == SCORR) ? CORR : DOOR; in gd_move()
[all …]
H A Dhack.mklev.c146 levl[xdnstair][ydnstair].typ = STAIRS; in makelevel()
156 levl[xupstair][yupstair].typ = STAIRS; in makelevel()
396 if (levl[x][y].typ == DOOR || levl[x][y].typ == SDOOR) in finddpos()
411 if (levl[x - 1][y].typ == DOOR || levl[x + 1][y].typ == DOOR || in okdoor()
412 levl[x][y + 1].typ == DOOR || levl[x][y - 1].typ == DOOR || in okdoor()
413 levl[x - 1][y].typ == SDOOR || levl[x + 1][y].typ == SDOOR || in okdoor()
414 levl[x][y - 1].typ == SDOOR || levl[x][y + 1].typ == SDOOR || in okdoor()
415 (levl[x][y].typ != HWALL && levl[x][y].typ != VWALL) || in okdoor()
439 if (!IS_WALL(levl[x][y].typ)) /* avoid SDOORs with '+' as scrsym */ in dosdoor()
441 levl[x][y].typ = type; in dosdoor()
[all …]
H A Dhack.zap.c313 if (room->typ == HWALL || in dozap()
314 room->typ == VWALL) { in dozap()
315 room->typ = ROOM; in dozap()
318 } else if (room->typ == HWALL || room->typ == VWALL || in dozap()
319 room->typ == SDOOR || room->typ == LDOOR) { in dozap()
320 room->typ = DOOR; in dozap()
322 } else if (room->typ == SCORR || !room->typ) { in dozap()
323 room->typ = CORR; in dozap()
398 int typ; in bhit() local
408 typ = levl[bhitpos.x][bhitpos.y].typ; in bhit()
[all …]
H A Dhack.search.c83 for (lx = u.ux; (num = levl[lx - 1][u.uy].typ) && num != CORR; lx--); in findit()
84 for (hx = u.ux; (num = levl[hx + 1][u.uy].typ) && num != CORR; hx++); in findit()
85 for (ly = u.uy; (num = levl[u.ux][ly - 1].typ) && num != CORR; ly--); in findit()
86 for (hy = u.uy; (num = levl[u.ux][hy + 1].typ) && num != CORR; hy++); in findit()
90 if (levl[zx][zy].typ == SDOOR) { in findit()
91 levl[zx][zy].typ = DOOR; in findit()
94 } else if (levl[zx][zy].typ == SCORR) { in findit()
95 levl[zx][zy].typ = CORR; in findit()
131 if (levl[x][y].typ == SDOOR) { in dosearch()
134 levl[x][y].typ = DOOR; in dosearch()
[all …]
H A Dhack.apply.c283 if (!ZAP_POS(levl[bchx][bchy].typ)) { in bchit()
375 } else if (!lev->typ || lev->typ == SCORR) { in dig()
376 lev->typ = CORR; in dig()
378 } else if (lev->typ == HWALL || lev->typ == VWALL in dig()
379 || lev->typ == SDOOR) { in dig()
380 lev->typ = xdnstair ? DOOR : ROOM; in dig()
389 if (IS_WALL(levl[dpx][dpy].typ)) { in dig()
461 (IS_ROCK(levl[rx][ry].typ) in use_pick_axe()
486 if (lev->typ == DOOR) in use_pick_axe()
489 else if (!IS_ROCK(lev->typ) in use_pick_axe()
H A Dhack.read.c429 if ((num = lev->typ) == 0) in doread()
432 lev->typ = CORR; in doread()
435 lev->typ = DOOR; in doread()
553 if (u.uswallow || !xdnstair || levl[u.ux][u.uy].typ == CORR || in litroom()
572 if (levl[u.ux][u.uy].typ == CORR) { in litroom()
589 if (levl[u.ux][u.uy].typ == DOOR) { in litroom()
590 if (IS_ROOM(levl[u.ux][u.uy + 1].typ)) in litroom()
592 else if (IS_ROOM(levl[u.ux][u.uy - 1].typ)) in litroom()
596 if (IS_ROOM(levl[u.ux + 1][u.uy].typ)) in litroom()
598 else if (IS_ROOM(levl[u.ux - 1][u.uy].typ)) in litroom()
[all …]
H A Dhack.mkmaze.c90 levl[x][y].typ = (x % 2 && y % 2) ? 0 : HWALL; in makemaz()
98 levl[x][y].typ = in makemaz()
124 switch (levl[x][y].typ) { in makemaz()
155 levl[xupstair][yupstair].typ = STAIRS; in makemaz()
164 levl[x][y].typ = ROOM; in walkfrom()
174 levl[x][y].typ = ROOM; in walkfrom()
204 if (x < 3 || y < 3 || x > COLNO - 3 || y > ROWNO - 3 || levl[x][y].typ != 0) in okay()
H A Dhack.c171 IS_ROCK(levl[u.ux + u.dx][u.uy + u.dy].typ)); in domove()
224 if (IS_ROCK(tmpr->typ) || in domove()
225 (u.dx && u.dy && (tmpr->typ == DOOR || ust->typ == DOOR))) { in domove()
234 if (isok(rx, ry) && !IS_ROCK(levl[rx][ry].typ) && in domove()
235 (levl[rx][ry].typ != DOOR || !(u.dx && u.dy)) && in domove()
255 if (levl[rx][ry].typ == POOL) { in domove()
256 levl[rx][ry].typ = ROOM; in domove()
286 (!u.dx || !u.dy || (IS_ROCK(levl[u.ux][u.uy + u.dy].typ) in domove()
287 && IS_ROCK(levl[u.ux + u.dx][u.uy].typ)))) { in domove()
294 if (u.dx && u.dy && IS_ROCK(levl[u.ux][u.uy + u.dy].typ) && in domove()
[all …]
/netbsd-src/sys/arch/amigappc/include/
H A Dbus_defs.h78 #define bsr(what, typ) \ argument
79 typ (what)(bus_space_handle_t, bus_addr_t)
81 #define bsw(what, typ) \ argument
84 #define bsrm(what, typ) \ argument
85 void (what)(bus_space_handle_t, bus_size_t, typ *, bus_size_t)
87 #define bswm(what, typ) \ argument
88 void (what)(bus_space_handle_t, bus_size_t, const typ *, bus_size_t)
90 #define bssr(what, typ) \ argument
93 #define bscr(what, typ) \ argument
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_rtl_report.cpp130 bool ShouldReport(ThreadState *thr, ReportType typ) { in ShouldReport() argument
140 switch (typ) { in ShouldReport()
158 ScopedReportBase::ScopedReportBase(ReportType typ, uptr tag) { in ScopedReportBase() argument
161 rep_->typ = typ; in ScopedReportBase()
385 ScopedReport::ScopedReport(ReportType typ, uptr tag) in ScopedReport() argument
386 : ScopedReportBase(typ, tag) {} in ScopedReport()
419 EventType typ = (EventType)(ev >> kEventPCBits); in RestoreStack() local
421 DPrintf2(" %zu typ=%d pc=%zx\n", i, typ, pc); in RestoreStack()
422 if (typ == EventTypeMop) { in RestoreStack()
424 } else if (typ == EventTypeFuncEnter) { in RestoreStack()
[all …]
H A Dtsan_rtl.h370 ScopedReportBase(ReportType typ, uptr tag);
387 explicit ScopedReport(ReportType typ, uptr tag = kExternalTagNone);
394 bool ShouldReport(ThreadState *thr, ReportType typ);
483 AccessType typ);
492 AccessType typ) { in MemoryAccess() argument
509 bool is_write = !(typ & kAccessRead); in MemoryAccess()
510 bool is_atomic = typ & kAccessAtomic; in MemoryAccess()
511 if (typ & kAccessVptr) in MemoryAccess()
513 if (typ & kAccessFree) in MemoryAccess()
516 if (typ & kAccessVptr) in MemoryAccess()
[all …]
H A Dtsan_suppressions.cpp67 static const char *conv(ReportType typ) { in conv() argument
68 switch (typ) { in conv()
106 uptr IsSuppressed(ReportType typ, const ReportStack *stack, Suppression **sp) { in IsSuppressed() argument
111 const char *stype = conv(typ); in IsSuppressed()
125 uptr IsSuppressed(ReportType typ, const ReportLocation *loc, Suppression **sp) { in IsSuppressed() argument
130 const char *stype = conv(typ); in IsSuppressed()
/netbsd-src/external/bsd/pcc/dist/pcc/arch/amd64/
H A Dcode.c172 int typ; in efcode() local
182 typ = argtyp(t, sp->sdf, sp->sap); in efcode()
183 if (typ == STRMEM) { in efcode()
194 } else if (typ == STRX87) { in efcode()
206 if (typ == STRSSE || typ == STRFI) in efcode()
210 if (typ == STRSSE) in efcode()
212 else if (typ == STRFI) in efcode()
214 else if (typ == STRIF) in efcode()
243 int i, rno, typ, ssz; in bfcode() local
267 switch (typ = argtyp(sp->stype, sp->sdf, sp->sap)) { in bfcode()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/include/prov/
H A Dciphercommon.h131 blkbits, ivbits, typ) \ argument
139 { OSSL_FUNC_CIPHER_UPDATE, (void (*)(void))ossl_cipher_generic_##typ##_update },\
140 { OSSL_FUNC_CIPHER_FINAL, (void (*)(void))ossl_cipher_generic_##typ##_final }, \
158 kbits, blkbits, ivbits, typ) \ argument
166 { OSSL_FUNC_CIPHER_UPDATE, (void (*)(void))ossl_cipher_generic_##typ##_update },\
167 { OSSL_FUNC_CIPHER_FINAL, (void (*)(void))ossl_cipher_generic_##typ##_final }, \
186 kbits, blkbits, ivbits, typ) \ argument
208 blkbits, ivbits, typ) \ argument
210 blkbits, ivbits, typ) \
212 blkbits, ivbits, typ)
[all …]
/netbsd-src/common/lib/libprop/
H A Dprop_dictionary_util.c79 #define TEMPLATE(name, typ) \ argument
83 typ *valp) \
129 #define TEMPLATE(name, which, typ) \ argument
133 typ val) \
139 #define STEMPLATE(name, typ) TEMPLATE(name, signed, typ) argument
140 #define UTEMPLATE(name, typ) TEMPLATE(name, unsigned, typ) argument
H A Dprop_array_util.c72 #define TEMPLATE(name, typ) \ argument
76 typ *valp) \
133 #define TEMPLATE(name, which, typ) \ argument
137 typ val) \
145 typ val) \
151 #define STEMPLATE(name, typ) TEMPLATE(name, signed, typ) argument
152 #define UTEMPLATE(name, typ) TEMPLATE(name, unsigned, typ) argument

12345678910