| /netbsd-src/external/apache2/llvm/dist/llvm/utils/ |
| H A D | shuffle_select_fuzz_tester.py | 114 def __init__(self, name, ty, value = None): argument 115 self.ty = ty # Type 122 def __init__(self, name, ty, op0, op1, mask): argument 123 Value.__init__(self, name, ty) 138 def __init__(self, name, ty, op0, op1, mask): argument 139 Instruction.__init__(self, '%shuf' + name, ty, op0, op1, mask) 144 return self.shuf_template.format(name = self.name, ty = self.ty.dump(), op0 = self.op0.name, 145 op1 = self.op1.name, num = self.ty.elt_num, mask = str_mask) 156 if index < self.ty.elt_num and index >= 0: 158 elif index >= self.ty.elt_num: [all …]
|
| /netbsd-src/share/examples/disktab/ |
| H A D | disktab | 10 # ty type of disk (fixed, removable, simulated) 47 :ty=floppy:se#512:nt#2:rm#300:ns#36:nc#80:\ 55 :dt=ESDI:ty=winchester:se#512:nt#16:ns#63:nc#826: \ 63 :dt=ESDI:ty=winchester:se#512:nt#15:ns#62:nc#899: \ 72 :dt=ESDI:ty=winchester:se#512:nt#16:ns#62:nc#839: \ 81 :dt=ESDI:ty=winchester:\ 90 :dt=SCSI::ty=removable:se#512:nt#64:ns#32:nc#634: \ 99 :ty=winchester:dt=SCSI:ns#62:nt#9:nc#1476:\ 123 :ty#winchester:ns#49:nt#7:nc#1189: 129 :ty#winchester:ns#49:nt#7:nc#1189:\ [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | dcast.c | 83 if (t->ty != Terror && e->type->ty != Terror) in implicitCastTo() 134 if (tb->ty == Tarray && global.params.useTypeInfo && Type::dtypeinfo) in implicitCastTo() 150 if (tb->ty == Tsarray) in implicitCastTo() 236 if (t->ty == Tpointer) in implicitConvTo() 238 else if (t->ty == Tarray) in implicitConvTo() 240 else if (t->ty == Tsarray) in implicitConvTo() 258 if (typeb->ty != Tpointer || tb->ty != Tpointer) in implicitConvTo() 263 if (t1b->ty == Tpointer && t2b->isintegral() && in implicitConvTo() 271 if (t2b->ty == Tpointer && t1b->isintegral() && in implicitConvTo() 305 TY ty = e->type->toBasetype()->ty; in implicitConvTo() local [all …]
|
| H A D | safe.c | 59 if (v->type->hasPointers() && v->type->toBasetype()->ty != Tstruct) in checkUnsafeAccess() 104 if (ttob->ty == Tclass && tfrom->ty == Tclass) in isSafeCast() 121 if (ttob->ty == Tarray && tfrom->ty == Tsarray) // Bugzilla 12502 in isSafeCast() 124 if ((ttob->ty == Tarray && tfrom->ty == Tarray) || in isSafeCast() 125 (ttob->ty == Tpointer && tfrom->ty == Tpointer)) in isSafeCast() 137 if (tfromn->ty == Tvoid && ttobn->isMutable()) in isSafeCast() 139 if (ttob->ty == Tarray && e->op == TOKarrayliteral) in isSafeCast() 145 if ((ttobn->ty == Tstruct && !((TypeStruct *)ttobn)->sym->members) || in isSafeCast() 146 (tfromn->ty == Tstruct && !((TypeStruct *)tfromn)->sym->members)) in isSafeCast() 159 ttobn->ty != Tfunction && tfromn->ty != Tfunction && in isSafeCast() [all …]
|
| H A D | arrayop.c | 108 while (t->ty == Tarray || t->ty == Tsarray) in isArrayOpValid() 110 return (t->ty != Tvoid); in isArrayOpValid() 113 if (tb->ty == Tarray || tb->ty == Tsarray) in isArrayOpValid() 149 if (tb->ty == Tarray || tb->ty == Tsarray) in isNonAssignmentArrayOp() 178 assert(tb->ty == Tarray || tb->ty == Tsarray); in arrayOp() 180 if (tbn->ty == Tvoid) in arrayOp() 218 if (tbn->ty == Tstruct || tbn->ty == Tclass) in arrayOp() 284 if (tb->ty == Tarray || tb->ty == Tsarray) in buildArrayIdent() 372 if (t1->ty == Tarray && in buildArrayIdent() 373 ((t2->ty == Tarray && !t1->equivalent(tb)) || in buildArrayIdent() [all …]
|
| H A D | mtype.c | 119 Type::Type(TY ty) in Type() argument 121 this->ty = ty; in Type() 147 void *pt = mem.xmalloc(sizeTy[ty]); in copy() 148 Type *t = (Type *)memcpy(pt, (void *)this, sizeTy[ty]); in copy() 155 fprintf(stderr, "ty = %d\n", ty); in syntaxCopy() 301 if (ty == Tint128 || ty == Tuns128) in semantic() 315 if (global.endGagging(errors) || t->ty == Terror) // if any errors happened in trySemantic() 330 unsigned sz = sizeTy[ty]; in nullAttributes() 347 if (t->ty == Tstruct) ((TypeStruct *)t)->att = RECfwdref; in nullAttributes() 348 if (t->ty == Tclass) ((TypeClass *)t)->att = RECfwdref; in nullAttributes() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/rc4/asm/ |
| H A D | rc4-586.pl | 78 $ty="edx"; 88 &mov ($ty,&DWP(0,$dat,$yy,4)); 90 &mov (&DWP(0,$dat,$xx,4),$ty); 91 &add ($ty,$tx); 93 &and ($ty,0xff); 100 &$func ($out,&DWP(0,$dat,$ty,4)); 121 &mov ($ty,&DWP(0,$dat,$yy,4)); 124 &mov (&DWP(0,$dat,$XX[0],4),$ty); 125 &add (&LB($ty),&LB($tx)); 131 &pinsrw ($mm,&DWP(0,$dat,$ty,4),$j); [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rc4/asm/ |
| H A D | rc4-586.pl | 79 $ty="edx"; 89 &mov ($ty,&DWP(0,$dat,$yy,4)); 91 &mov (&DWP(0,$dat,$xx,4),$ty); 92 &add ($ty,$tx); 94 &and ($ty,0xff); 101 &$func ($out,&DWP(0,$dat,$ty,4)); 122 &mov ($ty,&DWP(0,$dat,$yy,4)); 125 &mov (&DWP(0,$dat,$XX[0],4),$ty); 126 &add (&LB($ty),&LB($tx)); 132 &pinsrw ($mm,&DWP(0,$dat,$ty,4),$j); [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | dcast.d | 97 if (t1b.ty == Tclass && tob.ty == Tclass) in implicitCastTo() 128 if (t.ty != Terror && e.type.ty != Terror) in implicitCastTo() 194 Type tx = (tb.ty == Tsarray) in implicitCastTo() 285 if (t.ty == Tpointer) in implicitConvTo() 287 else if (t.ty == Tarray) in implicitConvTo() 289 else if (t.ty == Tsarray) in implicitConvTo() 308 if (typeb.ty != Tpointer || tb.ty != Tpointer) in implicitConvTo() 313 if (t1b.ty == Tpointer && t2b.isintegral() && t1b.equivalent(tb)) in implicitConvTo() 320 if (t2b.ty == Tpointer && t1b.isintegral() && t2b.equivalent(tb)) in implicitConvTo() 366 TY ty = e.type.toBasetype().ty; in implicitConvTo() local [all …]
|
| H A D | chkformat.d | 122 if (t.ty != Tint32 && t.ty != Tuns32) in checkPrintfFormat() 135 if (t.ty != Tint32 && t.ty != Tuns32) in checkPrintfFormat() 156 if (t.ty != Tint32 && t.ty != Tuns32) in checkPrintfFormat() 162 if (t.ty != Tint32 && t.ty != Tuns32 && t.ty != Tint8 && t.ty != Tuns8) in checkPrintfFormat() 168 if (t.ty != Tint32 && t.ty != Tuns32 && t.ty != Tint16 && t.ty != Tuns16) in checkPrintfFormat() 185 if (t.ty != Tint64 && t.ty != Tuns64) in checkPrintfFormat() 191 if (t.ty != Tint64 && t.ty != Tuns64) in checkPrintfFormat() 213 if (t.ty != Tfloat64 && t.ty != Timaginary64) in checkPrintfFormat() 218 if (t.ty != Tfloat80 && t.ty != Timaginary80) in checkPrintfFormat() 223 … if (t.ty != Tpointer && t.ty != Tnull && t.ty != Tclass && t.ty != Tdelegate && t.ty != Taarray) in checkPrintfFormat() [all …]
|
| H A D | safe.d | 90 if (hasPointers && v.type.toBasetype().ty != Tstruct) in checkUnsafeAccess() 136 if (ttob.ty == Tclass && tfromb.ty == Tclass) in isSafeCast() 155 if (ttob.ty == Tarray && tfromb.ty == Tsarray) // https://issues.dlang.org/show_bug.cgi?id=12502 in isSafeCast() 158 if (ttob.ty == Tarray && tfromb.ty == Tarray || in isSafeCast() 159 ttob.ty == Tpointer && tfromb.ty == Tpointer) in isSafeCast() 171 if (tfromn.ty == Tvoid && ttobn.isMutable()) in isSafeCast() 173 if (ttob.ty == Tarray && e.op == EXP.arrayLiteral) in isSafeCast() 179 if (ttobn.ty == Tstruct && !(cast(TypeStruct)ttobn).sym.members || in isSafeCast() 180 tfromn.ty == Tstruct && !(cast(TypeStruct)tfromn).sym.members) in isSafeCast() 193 ttobn.ty != Tfunction && tfromn.ty != Tfunction && in isSafeCast() [all …]
|
| H A D | arrayop.d | 46 while (t.ty == Tarray || t.ty == Tsarray) in isArrayOpValid() 48 return (t.ty != Tvoid); in isArrayOpValid() 51 if (tb.ty == Tarray || tb.ty == Tsarray) in isArrayOpValid() 82 if (tb.ty == Tarray || tb.ty == Tsarray) in isNonAssignmentArrayOp() 121 assert(tb.ty == Tarray || tb.ty == Tsarray); in arrayOp() 123 if (tbn.ty == Tvoid) in arrayOp() 223 if (tb.ty != Tarray && tb.ty != Tsarray) // hoist scalar expressions in buildArrayOp() 241 if (tb.ty != Tarray && tb.ty != Tsarray) // hoist scalar expressions in buildArrayOp() 269 const tyf = tfrom.nextOf().toBasetype().ty; in isArrayOpImplicitCast() 270 const tyt = tto .nextOf().toBasetype().ty; in isArrayOpImplicitCast() [all …]
|
| H A D | mtype.d | 254 bool isSomeChar(TY ty) pure nothrow @nogc @safe in isSomeChar() argument 256 return ty == Tchar || ty == Twchar || ty == Tdchar; in isSomeChar() 288 if (t.ty == Tarray || t.ty == Tpointer) in mutabilityOfType() 333 TY ty; variable 458 final extern (D) this(TY ty) in this() argument 460 this.ty = ty; in this() 470 Type t = cast(Type)mem.xmalloc(sizeTy[ty]); in copy() 471 memcpy(cast(void*)t, cast(void*)this, sizeTy[ty]); in copy() 477 fprintf(stderr, "this = %s, ty = %d\n", toChars(), ty); in syntaxCopy() 571 if (tp1.ty == tp2.ty) [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | gengtype-parse.cc | 489 type_p ty; in absdecl() local 492 ty = type (&opts, true); in absdecl() 495 ty = create_pointer (ty); in absdecl() 502 return adjust_field_type (ty, 0); in absdecl() 509 type_p ty; in type_optvalue() local 511 ty = absdecl (); in type_optvalue() 513 return create_type_option (prev, name, ty); in type_optvalue() 520 type_p ty; in nestedptr_optvalue() local 524 ty = absdecl (); in nestedptr_optvalue() 531 return create_nested_ptr_option (prev, ty, to, from); in nestedptr_optvalue() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | gengtype-parse.c | 489 type_p ty; in absdecl() local 492 ty = type (&opts, true); in absdecl() 495 ty = create_pointer (ty); in absdecl() 502 return adjust_field_type (ty, 0); in absdecl() 509 type_p ty; in type_optvalue() local 511 ty = absdecl (); in type_optvalue() 513 return create_type_option (prev, name, ty); in type_optvalue() 520 type_p ty; in nestedptr_optvalue() local 524 ty = absdecl (); in nestedptr_optvalue() 531 return create_nested_ptr_option (prev, ty, to, from); in nestedptr_optvalue() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyInstrAtomics.td | 130 multiclass WaitPatNoOffset<ValueType ty, Intrinsic kind, 132 def : Pat<(i32 (kind I32:$addr, ty:$exp, I64:$timeout)), 133 (!cast<NI>(inst#_A32) 0, 0, I32:$addr, ty:$exp, I64:$timeout)>, 135 def : Pat<(i32 (kind I64:$addr, ty:$exp, I64:$timeout)), 136 (!cast<NI>(inst#_A64) 0, 0, I64:$addr, ty:$exp, I64:$timeout)>, 151 multiclass WaitPatImmOff<ValueType ty, Intrinsic kind, PatFrag operand, 153 def : Pat<(i32 (kind (operand I32:$addr, imm:$off), ty:$exp, I64:$timeout)), 154 (!cast<NI>(inst#_A32) 0, imm:$off, I32:$addr, ty:$exp, 157 def : Pat<(i32 (kind (operand I64:$addr, imm:$off), ty:$exp, I64:$timeout)), 158 (!cast<NI>(inst#_A64) 0, imm:$off, I64:$addr, ty:$exp, [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| H A D | CBindingWrapping.h | 19 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ argument 20 inline ty *unwrap(ref P) { \ 21 return reinterpret_cast<ty*>(P); \ 24 inline ref wrap(const ty *P) { \ 25 return reinterpret_cast<ref>(const_cast<ty*>(P)); \ 28 #define DEFINE_ISA_CONVERSION_FUNCTIONS(ty, ref) \ argument 29 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ 36 #define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref) \ argument 37 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \
|
| /netbsd-src/external/bsd/am-utils/dist/fsinfo/ |
| H A D | fsinfo.h | 129 #define AM_FIRST(ty, q) ((ty *) ((q)->q_forw)) argument 130 #define HEAD(ty, q) ((ty *) q) argument 132 #define ITER(v, ty, q) for ((v) = AM_FIRST(ty,(q)); (v) != HEAD(ty,(q)); (v) = NEXT(ty,(v))) argument 133 #define AM_LAST(ty, q) ((ty *) ((q)->q_back)) argument 134 #define NEXT(ty, q) ((ty *) (((qelem *) q)->q_forw)) argument
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/asn1/ |
| H A D | gen_decode.c | 63 Der_class *cl, Der_type *ty, unsigned *tag) in find_tag() argument 68 *ty = PRIM; in find_tag() 73 *ty = PRIM; in find_tag() 80 *ty = PRIM; in find_tag() 85 *ty = PRIM; in find_tag() 90 *ty = PRIM; in find_tag() 95 *ty = PRIM; in find_tag() 100 *ty = PRIM; in find_tag() 105 *ty = PRIM; in find_tag() 110 *ty = PRIM; in find_tag() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/ |
| H A D | d-convert.cc | 362 switch (ebtype->ty) in convert_expr() 365 if (tbtype->ty == Tdelegate) in convert_expr() 371 else if (tbtype->ty == Tpointer) in convert_expr() 386 if (tbtype->ty == Tstruct) in convert_expr() 404 if (tbtype->ty == Tclass) in convert_expr() 464 if (tbtype->ty == Tpointer) in convert_expr() 468 else if (tbtype->ty == Tarray) in convert_expr() 493 else if (tbtype->ty == Tsarray) in convert_expr() 498 else if (tbtype->ty == Tstruct) in convert_expr() 505 else if (tbtype->ty == Tvector && tbtype->size () == ebtype->size ()) in convert_expr() [all …]
|
| H A D | expr.cc | 65 if (t->ty == Tstruct) in needs_postblit() 81 if (t->ty == Tstruct) in needs_dtor() 249 if (e->type->ty != Tvoid) in visit() 268 if ((tb1->ty == Tsarray || tb1->ty == Tarray) in visit() 269 && (tb2->ty == Tsarray || tb2->ty == Tarray)) in visit() 278 else if (tb1->isfloating () && tb1->ty != Tvector) in visit() 301 else if (tb1->ty == Tstruct) in visit() 334 if ((tb1->ty == Tsarray || tb1->ty == Tarray) in visit() 335 && (tb2->ty == Tsarray || tb2->ty == Tarray)) in visit() 347 if ((t1elem->isintegral () || t1elem->ty == Tvoid in visit() [all …]
|
| /netbsd-src/external/bsd/am-utils/dist/include/ |
| H A D | am_utils.h | 130 #define AM_FIRST(ty, q) ((ty *) ((q)->q_forw)) argument 131 #define AM_LAST(ty, q) ((ty *) ((q)->q_back)) argument 132 #define NEXT(ty, q) ((ty *) (((qelem *) q)->q_forw)) argument 133 #define PREV(ty, q) ((ty *) (((qelem *) q)->q_back)) argument 134 #define HEAD(ty, q) ((ty *) q) argument 135 #define ITER(v, ty, q) \ argument 136 for ((v) = AM_FIRST(ty,(q)); (v) != HEAD(ty,(q)); (v) = NEXT(ty,(v))) 139 #define ALLOC(ty) ((ty *) xmalloc(sizeof(ty))) argument 140 #define CALLOC(ty) ((ty *) xzalloc(sizeof(ty))) argument
|
| /netbsd-src/games/hunt/huntd/ |
| H A D | makemaze.c | 120 int tx, ty; in dig_maze() local 128 tx = ty = 0; in dig_maze() 140 ty = y - 2; in dig_maze() 144 ty = y + 2; in dig_maze() 148 ty = y; in dig_maze() 152 ty = y; in dig_maze() 155 if (tx < 0 || ty < 0 || tx >= WIDTH || ty >= HEIGHT) in dig_maze() 157 if (Maze[ty][tx] == SPACE) in dig_maze() 159 Maze[(y + ty) / 2][(x + tx) / 2] = SPACE; in dig_maze() 160 dig_maze(tx, ty); in dig_maze()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/ |
| H A D | d-convert.cc | 362 switch (ebtype->ty) in convert_expr() 365 if (tbtype->ty == TY::Tdelegate) in convert_expr() 371 else if (tbtype->ty == TY::Tpointer) in convert_expr() 386 if (tbtype->ty == TY::Tstruct) in convert_expr() 404 if (tbtype->ty == TY::Tclass) in convert_expr() 464 if (tbtype->ty == TY::Tpointer) in convert_expr() 468 else if (tbtype->ty == TY::Tarray) in convert_expr() 493 else if (tbtype->ty == TY::Tsarray) in convert_expr() 498 else if (tbtype->ty == TY::Tstruct) in convert_expr() 505 else if (tbtype->ty == TY::Tvector && tbtype->size () == ebtype->size ()) in convert_expr() [all …]
|
| /netbsd-src/external/bsd/am-utils/dist/conf/mtab/ |
| H A D | mtab_bsd.c | 62 char *ty; in mnt_dup() local 68 ty = mp->f_fstypename; in mnt_dup() 74 ty = MNTTAB_TYPE_UFS; in mnt_dup() 80 ty = MNTTAB_TYPE_NFS; in mnt_dup() 86 ty = MNTTAB_TYPE_MFS; in mnt_dup() 91 ty = "unknown"; in mnt_dup() 97 new_mp->mnt_type = xstrdup(ty); in mnt_dup()
|