Searched refs:co (Results 1 - 25 of 78) sorted by relevance

1234

/freebsd-current/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_aesctr2.c54 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 A Dh_cbcdes.c52 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
[all...]
H A Dh_gcm.c56 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
[all...]
H A Dh_null.c47 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 A Dh_arc4.c51 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 A Dh_camellia.c57 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
[all...]
H A Dh_md5.c76 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
[all...]
H A Dh_xcbcmac.c78 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);
H A Dh_aesctr1.c212 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
[all...]
H A Dh_md5hmac.c144 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
[all...]
H A Dh_sha1hmac.c154 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
[all...]
/freebsd-current/sys/contrib/openzfs/module/lua/
H A Dlcorolib.c17 static int auxresume (lua_State *L, lua_State *co, int narg) { argument
19 if (!lua_checkstack(co, narg)) {
23 if (lua_status(co) == LUA_OK && lua_gettop(co) == 0) {
27 lua_xmove(L, co, narg);
28 status = lua_resume(co, L, narg);
30 int nres = lua_gettop(co);
32 lua_pop(co, nres); /* remove results anyway */
36 lua_xmove(co, L, nres); /* move yielded values */
40 lua_xmove(co,
47 lua_State *co = lua_tothread(L, 1); local
65 lua_State *co = lua_tothread(L, lua_upvalueindex(1)); local
102 lua_State *co = lua_tothread(L, 1); local
[all...]
/freebsd-current/contrib/lua/src/
H A Dlcorolib.c22 lua_State *co = lua_tothread(L, 1); local
23 luaL_argexpected(L, co, 1, "thread");
24 return co;
32 static int auxresume (lua_State *L, lua_State *co, int narg) { argument
34 if (l_unlikely(!lua_checkstack(co, narg))) {
38 lua_xmove(L, co, narg);
39 status = lua_resume(co, L, narg, &nres);
42 lua_pop(co, nres); /* remove results anyway */
46 lua_xmove(co, L, nres); /* move yielded values */
50 lua_xmove(co,
57 lua_State *co = getco(L); local
74 lua_State *co = lua_tothread(L, lua_upvalueindex(1)); local
127 auxstatus(lua_State *L, lua_State *co) argument
150 lua_State *co = getco(L); local
157 lua_State *co = lua_isnone(L, 1) ? L : getco(L); local
171 lua_State *co = getco(L); local
[all...]
/freebsd-current/contrib/llvm-project/libunwind/src/
H A Dlibunwind.cpp90 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
91 co->setInfoBasedOnIPRegister();
103 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
104 if (co->validReg(regNum)) {
105 *value = co->getReg(regNum);
119 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
120 if (co->validReg(regNum)) {
121 co->setReg(regNum, (pint_t)value);
127 co->getInfo(&info);
128 co
150 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
169 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
181 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
191 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
200 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
215 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
227 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
239 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
249 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
258 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
267 AbstractUnwindCursor *co = reinterpret_cast<AbstractUnwindCursor *>(cursor); local
278 AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor; local
[all...]
H A DUnwind-seh.cpp463 auto *co = reinterpret_cast<AbstractUnwindCursor *>(cursor); local
464 co->setInfoBasedOnIPRegister();
470 auto *co = reinterpret_cast<AbstractUnwindCursor *>(cursor);
471 co->setInfoBasedOnIPRegister();
477 auto *co = reinterpret_cast<AbstractUnwindCursor *>(cursor);
478 co->setInfoBasedOnIPRegister();
/freebsd-current/tests/sys/net/routing/
H A Drtsock_config.h60 config_setup(const atf_tc_t *tc, struct rtsock_config_options *co) argument
68 if (co == NULL) {
70 co = &default_co;
71 co->num_interfaces = 1;
129 if (co->num_interfaces > 0) {
136 c->ifnames = calloc(co->num_interfaces, sizeof(char *));
137 for (int i = 0; i < co->num_interfaces; i++)
145 c->num_interfaces = co->num_interfaces;
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_coroutine.lua102 -- sieve implemented with co-routines
137 co = coroutine.wrap(function() function
142 assert(co() == 20)
143 assert(co() == 30)
157 local co = coroutine.wrap(function (c)
161 assert(co() == "aa")
183 -- co-routines x for loop
233 local co = coroutine.create(co_func)
234 local a,b,c = coroutine.resume(co, co)
[all...]
/freebsd-current/lib/libgeom/
H A Dgeom_xml2tree.c379 struct gconsumer *co; local
432 LIST_FOREACH(co, &ge->lg_consumer, lg_consumer) {
433 gmp->lg_ident[i].lg_id = co->lg_id;
434 gmp->lg_ident[i].lg_ptr = co;
446 LIST_FOREACH(co, &ge->lg_consumer, lg_consumer) {
447 co->lg_geom = geom_lookupidptr(gmp, co->lg_geom);
448 if (co->lg_provider != NULL) {
449 co->lg_provider = geom_lookupidptr(gmp,
450 co
515 struct gconsumer *co; local
[all...]
/freebsd-current/contrib/libedit/TEST/
H A Dtc1.c176 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);
H A Dwtc1.c158 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);
/freebsd-current/contrib/libedit/
H A Dtokenizer.c210 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;
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dwpas_kay.c101 static unsigned int conf_offset_val(enum confidentiality_offset co) argument
103 switch (co) {
117 enum confidentiality_offset co)
119 return wpa_drv_create_receive_sc(wpa_s, sc, conf_offset_val(co), vf);
155 enum confidentiality_offset co)
157 return wpa_drv_create_transmit_sc(wpa_s, sc, conf_offset_val(co));
115 wpas_create_receive_sc(void *wpa_s, struct receive_sc *sc, enum validate_frames vf, enum confidentiality_offset co) argument
154 wpas_create_transmit_sc(void *wpa_s, struct transmit_sc *sc, enum confidentiality_offset co) argument
/freebsd-current/contrib/wpa/src/pae/
H A Dieee802_1x_secy_ops.h28 enum confidentiality_offset co);
H A Dieee802_1x_secy_ops.c109 enum confidentiality_offset co)
111 kay->co = co;
256 return ops->create_receive_sc(ops->ctx, rxsc, kay->vf, kay->co);
381 return ops->create_transmit_sc(ops->ctx, txsc, kay->co);
108 secy_cp_control_confidentiality_offset(struct ieee802_1x_kay *kay, enum confidentiality_offset co) argument
/freebsd-current/contrib/wpa/src/ap/
H A Dwpa_auth_kay.c136 static unsigned int conf_offset_val(enum confidentiality_offset co) argument
138 switch (co) {
152 enum confidentiality_offset co)
159 conf_offset_val(co), vf);
215 enum confidentiality_offset co)
222 conf_offset_val(co));
150 hapd_create_receive_sc(void *priv, struct receive_sc *sc, enum validate_frames vf, enum confidentiality_offset co) argument
214 hapd_create_transmit_sc(void *priv, struct transmit_sc *sc, enum confidentiality_offset co) argument

Completed in 135 milliseconds

1234