| /src/games/trek/ |
| visual.c | 74 int co; local 77 co = getintpar("direction"); 78 if (co < 0 || co > 360) 80 co = (co + 22) / 45; 81 v = &Visdelta[co]; 85 co = '?'; 87 co = Sect[ix][iy]; 88 printf("%d,%d %c ", ix, iy, co); [all...] |
| /src/tests/crypto/opencrypto/ |
| h_arc4.c | 51 struct crypt_op co; local 65 memset(&co, 0, sizeof(co)); 66 co.ses = cs.ses; 67 co.op = COP_ENCRYPT; 68 co.len = sizeof(plaintx); 69 co.src = plaintx; 70 co.dst = buf; 71 co.dst_len = sizeof(buf); 72 res = ioctl(fd, CIOCCRYPT, &co); [all...] |
| h_camellia.c | 57 struct crypt_op co; local 71 memset(&co, 0, sizeof(co)); 72 co.ses = cs.ses; 73 co.op = COP_ENCRYPT; 74 co.len = sizeof(plaintx); 75 co.src = plaintx; 76 co.dst = buf; 77 co.dst_len = sizeof(buf); 78 co.iv = iv [all...] |
| h_cbcdes.c | 52 struct crypt_op co; local 66 memset(&co, 0, sizeof(co)); 67 co.ses = cs.ses; 68 co.op = COP_ENCRYPT; 69 co.len = sizeof(plaintx); 70 co.src = plaintx; 71 co.dst = buf; 72 co.dst_len = sizeof(buf); 73 co.iv = iv [all...] |
| h_null.c | 47 struct crypt_op co; local 61 memset(&co, 0, sizeof(co)); 62 co.ses = cs.ses; 63 co.op = COP_ENCRYPT; 64 co.len = sizeof(plaintx); 65 co.src = plaintx; 66 co.dst = buf; 67 co.dst_len = sizeof(buf); 68 res = ioctl(fd, CIOCCRYPT, &co); [all...] |
| h_aescbc.c | 126 struct crypt_op co; local 141 memset(&co, 0, sizeof(co)); 142 co.ses = cs.ses; 143 co.op = COP_ENCRYPT; 144 co.len = tests[i].len; 145 co.src = __UNCONST(&tests[i].plaintx); 146 co.dst = buf; 147 co.dst_len = sizeof(buf); 148 co.iv = __UNCONST(&tests[i].iv) [all...] |
| h_aesctr1.c | 212 struct crypt_op co; local 227 memset(&co, 0, sizeof(co)); 228 co.ses = cs.ses; 229 co.op = COP_ENCRYPT; 230 co.len = tests[i].len; 231 co.src = __UNCONST(&tests[i].plaintx); 232 co.dst = buf; 233 co.dst_len = sizeof(buf); 234 co.iv = __UNCONST(&tests[i].iv) [all...] |
| h_aesctr2.c | 54 struct crypt_op co; local 71 memset(&co, 0, sizeof(co)); 72 co.ses = cs.ses; 73 co.op = COP_ENCRYPT; 74 co.len = sizeof(ibuf); 75 co.src = ibuf; 76 co.dst = obuf; 77 co.dst_len = sizeof(obuf); 78 res = ioctl(fd, CIOCCRYPT, &co); [all...] |
| h_cbc3des.c | 56 struct crypt_op co, co2; local 70 memset(&co, 0, sizeof(co)); 72 co.ses = cs.ses; 73 co.op = COP_ENCRYPT; 74 co.len = sizeof(plaintx); 75 co.src = plaintx; 76 co.dst = buf; 77 co.dst_len = sizeof(buf); 78 co.iv = iv [all...] |
| h_gcm.c | 56 struct crypt_op co; local 75 memset(&co, 0, sizeof(co)); 78 co.ses = cs.ses; 79 co.op = COP_ENCRYPT; 80 co.len = sizeof(plaintx); 81 co.src = plaintx; 82 co.dst = databuf; 83 co.mac = macbuf; 84 co.iv = iv [all...] |
| h_md5.c | 76 struct crypt_op co; local 90 memset(&co, 0, sizeof(co)); 92 co.ses = cs.ses; 93 co.op = COP_ENCRYPT; 94 co.len = tests[i].len; 95 co.src = __UNCONST(&tests[i].plaintx); 96 co.mac = buf; 97 res = ioctl(fd, CIOCCRYPT, &co); 101 if (memcmp(co.mac, tests[i].digest, sizeof(tests[i].digest)) [all...] |
| h_md5hmac.c | 144 struct crypt_op co; local 162 memset(&co, 0, sizeof(co)); 164 co.ses = cs.ses; 165 co.op = COP_ENCRYPT; 166 co.len = tests[i].len; 167 co.src = __UNCONST(&tests[i].data); 168 co.mac = buf; 169 res = ioctl(fd, CIOCCRYPT, &co); 173 if (memcmp(co.mac, tests[i].mac, sizeof(tests[i].mac)) [all...] |
| h_sha1hmac.c | 154 struct crypt_op co; local 172 memset(&co, 0, sizeof(co)); 174 co.ses = cs.ses; 175 co.op = COP_ENCRYPT; 176 co.len = tests[i].len; 177 co.src = __UNCONST(&tests[i].data); 178 co.mac = buf; 179 res = ioctl(fd, CIOCCRYPT, &co); 183 if (memcmp(co.mac, &tests[i].mac, sizeof(tests[i].mac)) [all...] |
| h_sha2hmac.c | 233 struct crypt_op co; local 248 memset(&co, 0, sizeof(co)); 250 co.ses = cs.ses; 251 co.op = COP_ENCRYPT; 252 co.len = tests[i].len; 253 co.src = __UNCONST(&tests[i].data); 254 co.mac = buf; 255 res = ioctl(fd, CIOCCRYPT, &co); 260 if (memcmp(co.mac, &tests[i].mac, sizeof(tests[i].mac)) [all...] |
| h_xcbcmac.c | 78 struct crypt_op co; local 93 memset(&co, 0, sizeof(co)); 97 co.ses = cs.ses; 98 co.op = COP_ENCRYPT; 99 co.len = tests[i].len; 100 co.src = plaintx; 101 co.mac = buf; 102 res = ioctl(fd, CIOCCRYPT, &co);
|
| /src/sys/dev/ic/ |
| tea5757.c | 108 u_int co = 0; local 119 } while ((reg & TEA5757_FREQ) == 0 && ++co < 200);
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/ |
| nouveau_nvkm_core_ramht.c | 48 u32 co, ho; local 50 co = ho = nvkm_ramht_hash(ramht, chid, handle); 52 if (ramht->data[co].chid == chid) { 53 if (ramht->data[co].handle == handle) 54 return ramht->data[co].inst; 57 if (++co >= ramht->size) 58 co = 0; 59 } while (co != ho); 65 nvkm_ramht_update(struct nvkm_ramht *ramht, int co, struct nvkm_object *object, 68 struct nvkm_ramht_data *data = &ramht->data[co]; 115 u32 co, ho; local [all...] |
| /src/lib/libedit/TEST/ |
| tc1.c | 176 int ac, cc, co; local 200 ac = cc = co = 0; 201 ncontinuation = tok_line(tok, li, &ac, &av, &cc, &co); 208 (void) fprintf(stderr, " > nc %d ac %d cc %d co %d\n", 209 ncontinuation, ac, cc, co); 240 co, av[i], av[i] + co);
|
| wtc1.c | 158 int ac, cc, co, rc; local 181 ac = cc = co = 0; 182 ncontinuation = tok_wline(tok, li, &ac, &av, &cc, &co); 190 (void)fprintf(stderr, " > nc %d ac %d cc %d co %d\n", 191 ncontinuation, ac, cc, co); 207 co, av[i], av[i] + co);
|
| /src/external/gpl2/rcs/dist/src/ |
| rcsmerge.c | 49 * Pass -Vn to `co'. Pass unexpanded revision name to `co', so that Name works. 121 static char const co[] = CO; variable 258 co, quietarg, commarg.string, 262 rcsfaterror("co failed");
|
| /src/lib/libedit/ |
| tokenizer.c | 210 int cc, co; local 212 cc = co = -1; 219 co = (int)(tok->wptr - tok->wstart); 438 if (cc == -1 && co == -1) { 440 co = (int)(tok->wptr - tok->wstart); 445 *cursoro = co;
|
| /src/sys/arch/amiga/dev/ |
| view.c | 194 int co, cs; local 196 co = 0; 199 co = 1; 205 if (cs == 0 && co == 0)
|
| /src/sys/arch/atari/dev/ |
| view.c | 201 int co, cs; local 203 co = 0; 206 co = 1; 212 if (cs == 0 && co == 0)
|
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| ExprClassification.cpp | 372 const auto *co = cast<BinaryConditionalOperator>(E); local 373 return ClassifyConditional(Ctx, co->getTrueExpr(), co->getFalseExpr()); 379 const auto *co = cast<ConditionalOperator>(E); local 380 return ClassifyConditional(Ctx, co->getTrueExpr(), co->getFalseExpr());
|
| /src/external/mit/lua/dist/src/ |
| lcorolib.c | 26 lua_State *co = lua_tothread(L, 1); local 27 luaL_argexpected(L, co, 1, "thread"); 28 return co; 36 static int auxresume (lua_State *L, lua_State *co, int narg) { 38 if (l_unlikely(!lua_checkstack(co, narg))) { 42 lua_xmove(L, co, narg); 43 status = lua_resume(co, L, narg, &nres); 46 lua_pop(co, nres); /* remove results anyway */ 50 lua_xmove(co, L, nres); /* move yielded values */ 54 lua_xmove(co, L, 1); /* move error message * 61 lua_State *co = getco(L); local 78 lua_State *co = lua_tothread(L, lua_upvalueindex(1)); local 154 lua_State *co = getco(L); local 161 lua_State *co = lua_isnone(L, 1) ? L : getco(L); local 175 lua_State *co = getco(L); local [all...] |