Searched refs:scratch (Results 1 - 25 of 114) sorted by relevance

12345

/freebsd-10.1-release/crypto/openssl/crypto/modes/
H A Dxts128.c76 } tweak, scratch; local
91 memcpy(scratch.c, inp, 16);
92 scratch.u[0] ^= tweak.u[0];
93 scratch.u[1] ^= tweak.u[1];
95 scratch.u[0] = ((u64 *)inp)[0] ^ tweak.u[0];
96 scratch.u[1] = ((u64 *)inp)[1] ^ tweak.u[1];
98 (*ctx->block1) (scratch.c, scratch.c, ctx->key1);
100 scratch.u[0] ^= tweak.u[0];
101 scratch
[all...]
H A Dccm128.c188 } scratch; local
224 (*block) (ctx->nonce.c, scratch.c, key);
227 temp.u[0] ^= scratch.u[0];
228 temp.u[1] ^= scratch.u[1];
231 ((u64 *)out)[0] = scratch.u[0] ^ ((u64 *)inp)[0];
232 ((u64 *)out)[1] = scratch.u[1] ^ ((u64 *)inp)[1];
243 (*block) (ctx->nonce.c, scratch.c, key);
245 out[i] = scratch.c[i] ^ inp[i];
251 (*block) (ctx->nonce.c, scratch.c, key);
252 ctx->cmac.u[0] ^= scratch
272 } scratch; local
359 } scratch; local
423 } scratch; local
[all...]
/freebsd-10.1-release/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_begemot.c85 ctx->scratch->int1 = storage_tbl_refresh;
90 ctx->scratch->int1 = fs_tbl_refresh;
95 ctx->scratch->int1 = disk_storage_tbl_refresh;
100 ctx->scratch->int1 = network_tbl_refresh;
105 ctx->scratch->int1 = swins_tbl_refresh;
110 ctx->scratch->int1 = swrun_tbl_refresh;
140 storage_tbl_refresh = ctx->scratch->int1;
144 fs_tbl_refresh = ctx->scratch->int1;
148 disk_storage_tbl_refresh = ctx->scratch->int1;
152 network_tbl_refresh = ctx->scratch
[all...]
/freebsd-10.1-release/contrib/llvm/lib/Target/Sparc/
H A DSparcJITInfo.cpp122 // the instructions emitted in the scratch register.
124 unsigned scratch,
128 // Emit: jmpl %g0+Addr, <scratch>
130 Insts.push_back(JMP_INST(0, LO10(Addr), scratch));
136 // Emit: sethi %hi(Addr), scratch
137 // jmpl scratch+%lo(Addr), scratch
138 // sub scratch, 4, scratch
139 Insts.push_back(SETHI_INST(HI22(Addr), scratch));
123 emitInstrForIndirectJump(intptr_t Addr, unsigned scratch, SmallVectorImpl<uint32_t> &Insts) argument
[all...]
/freebsd-10.1-release/contrib/bsnmp/snmp_mibII/
H A DmibII_begemot.c59 ctx->scratch->int1 = mibif_force_hc_update_interval;
64 ctx->scratch->int1 = mibII_poll_ticks;
74 mibif_force_hc_update_interval = ctx->scratch->int1;
78 mibII_poll_ticks = ctx->scratch->int1;
87 mibif_force_hc_update_interval = ctx->scratch->int1;
H A DmibII_ip.c172 ctx->scratch->int1 = ip_forwarding ? 1 : 2;
173 ctx->scratch->int2 = value->v.integer;
177 ctx->scratch->int1 = old ? 1 : 2;
181 ctx->scratch->int1 = old;
187 ctx->scratch->int1 = ip_defttl;
188 ctx->scratch->int2 = value->v.integer;
194 ctx->scratch->int1 = old;
203 if (ctx->scratch->int1 == 1) {
204 if (ctx->scratch->int2 == 2)
207 if (ctx->scratch
[all...]
/freebsd-10.1-release/contrib/bsnmp/snmp_target/
H A Dtarget_snmp.c168 ctx->scratch->ptr1 = malloc(SNMP_UDP_ADDR_SIZ);
169 if (ctx->scratch->ptr1 == NULL)
171 memcpy(ctx->scratch->ptr1, addrs->address,
180 ctx->scratch->int1 = strlen(addrs->taglist) + 1;
181 ctx->scratch->ptr1 = malloc(ctx->scratch->int1);
182 if (ctx->scratch->ptr1 == NULL)
184 strlcpy(ctx->scratch->ptr1, addrs->taglist,
185 ctx->scratch->int1);
194 ctx->scratch
[all...]
/freebsd-10.1-release/tools/regression/nfsmmap/test1/
H A DMakefile6 CLEANFILES= test1.zeros test1.good test1.data test1.scratch
15 cmp -s ${.OBJDIR}/test1.scratch ${.OBJDIR}/test1.good ; then \
/freebsd-10.1-release/tools/regression/nfsmmap/test2/
H A DMakefile6 CLEANFILES= test2.zeros test2.good test2.data test2.scratch
15 cmp -s ${.OBJDIR}/test2.scratch ${.OBJDIR}/test2.good ; then \
/freebsd-10.1-release/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_snmp.c153 if ((ctx->scratch->int1 = strlen(bridge_default)) >= IFNAMSIZ)
156 if ((ctx->scratch->ptr1 = malloc(IFNAMSIZ)) == NULL)
159 strncpy(ctx->scratch->ptr1, bridge_default, ctx->scratch->int1);
207 ctx->scratch->int1 = bridge_data_maxage;
215 ctx->scratch->int1 = val->v.integer;
223 bridge_set_default_name(ctx->scratch->ptr1,
224 ctx->scratch->int1);
225 free(ctx->scratch->ptr1);
228 bridge_data_maxage = ctx->scratch
[all...]
H A Dbridge_pf.c86 op, &(ctx->scratch->int1));
93 ctx->scratch->int1 =
H A Dbridge_if.c764 ctx->scratch->int1 = bif->priority;
774 ctx->scratch->int1 = bif->bridge_max_age;
784 ctx->scratch->int1 = bif->bridge_hello_time;
794 ctx->scratch->int1 = bif->bridge_fwd_delay;
804 ctx->scratch->int1 = bif->stp_version;
814 ctx->scratch->int1 = bif->tx_hold_count;
836 bridge_set_priority(bif, ctx->scratch->int1);
839 bridge_set_maxage(bif, ctx->scratch->int1);
842 bridge_set_hello_time(bif, ctx->scratch->int1);
845 bridge_set_forward_delay(bif, ctx->scratch
[all...]
H A Dbridge_port.c463 ctx->scratch->int1 = bp->priority;
474 ctx->scratch->int1 = bp->enable;
485 ctx->scratch->int1 = bp->path_cost;
509 ctx->scratch->int1);
513 ctx->scratch->int1);
517 ctx->scratch->int1);
622 ctx->scratch->int1 = bp->admin_edge;
633 ctx->scratch->int1 = bp->admin_ptp;
644 ctx->scratch->int1 = bp->admin_path_cost;
665 ctx->scratch
[all...]
/freebsd-10.1-release/contrib/bsnmp/snmpd/
H A Dexport.c53 * in scratch->ptr1 and the new value is allocated and copied.
63 ctx->scratch->ptr1 = *valp;
66 *valp = ctx->scratch->ptr1;
82 free(ctx->scratch->ptr1);
92 *valp = ctx->scratch->ptr1;
101 free(ctx->scratch->ptr1);
151 * Save the old IP address in scratch->int1 and set the new one.
156 ctx->scratch->int1 = (valp[0] << 24) | (valp[1] << 16) | (valp[2] << 8)
173 valp[0] = ctx->scratch->int1 >> 24;
174 valp[1] = ctx->scratch
[all...]
H A Daction.c396 ctx->scratch->int1 = debug.dump_pdus;
401 ctx->scratch->int1 = snmp_trace;
408 ctx->scratch->int1 = debug.logpri;
418 debug.dump_pdus = ctx->scratch->int1;
422 snmp_trace = ctx->scratch->int1;
426 debug.logpri = ctx->scratch->int1;
566 ctx->scratch->int1 = value->v.integer;
575 snmpd.auth_traps = ctx->scratch->int1;
673 ctx->scratch->int1 = snmpd.txbuf;
681 ctx->scratch
[all...]
H A Dtrans_udp.c251 ctx->scratch->int1 = (p != NULL);
258 ctx->scratch->int2 = TRUTH_GET(value->v.integer);
260 if (ctx->scratch->int2) {
278 if (ctx->scratch->int1 == 0) {
280 if (ctx->scratch->int2 == 1) {
291 if (ctx->scratch->int1 == 1) {
293 if (ctx->scratch->int2 == 0) {
/freebsd-10.1-release/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c201 ctx->scratch->int1 = RowStatus_createAndWait;
205 ctx->scratch->int1 = uuser->suser.auth_proto;
228 ctx->scratch->ptr1 = malloc(SNMP_AUTH_KEY_SIZ);
229 if (ctx->scratch->ptr1 == NULL)
231 memcpy(ctx->scratch->ptr1, uuser->suser.auth_key,
238 ctx->scratch->int1 = uuser->suser.priv_proto;
261 ctx->scratch->ptr1 = malloc(SNMP_PRIV_KEY_SIZ);
262 if (ctx->scratch->ptr1 == NULL)
264 memcpy(ctx->scratch->ptr1, uuser->suser.priv_key,
274 ctx->scratch
[all...]
/freebsd-10.1-release/usr.sbin/pkg_install/lib/
H A Dfile.c384 char *cp, scratch[FILENAME_MAX * 2]; local
403 snprintf(scratch, FILENAME_MAX * 2, "%s/%s", dir, name);
404 cp = &scratch[strlen(scratch) - 1];
405 while (cp != scratch && *cp != '/')
408 strncpy(buf, scratch, max);
409 l = strlen(scratch);
414 snprintf(scratch, FILENAME_MAX * 2, "%s/%s", dir, name);
415 cp = &scratch[strlen(scratch)
[all...]
/freebsd-10.1-release/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.c260 if ((ctx->scratch->ptr1 = malloc(IFNAMSIZ)) == NULL)
262 strlcpy(ctx->scratch->ptr1, wif->wname, IFNAMSIZ);
271 if ((ctx->scratch->ptr1 = malloc(IFNAMSIZ)) == NULL)
273 strlcpy(ctx->scratch->ptr1, wif->pname, IFNAMSIZ);
280 ctx->scratch->int1 = wif->mode;
287 ctx->scratch->ptr1 = malloc(sizeof(wif->flags));
288 if (ctx->scratch->ptr1 == NULL)
290 memcpy(ctx->scratch->ptr1, (uint8_t *)&wif->flags,
299 ctx->scratch->ptr1 = malloc(IEEE80211_ADDR_LEN);
300 if (ctx->scratch
[all...]
/freebsd-10.1-release/contrib/bsnmp/snmp_vacm/
H A Dvacm_snmp.c173 ctx->scratch->ptr1 = user->group->groupname;
174 ctx->scratch->int1 = strlen(user->group->groupname);
198 ctx->scratch->int1 = user->status;
227 return (vacm_user_set_group(user, ctx->scratch->ptr1,
228 ctx->scratch->int1));
231 if (ctx->scratch->int1 == RowStatus_destroy)
233 user->status = ctx->scratch->int1;
291 ctx->scratch->int1 = acl->ctx_match;
301 ctx->scratch->ptr1 = acl->read_view;
304 acl->read_view = ctx->scratch
[all...]
/freebsd-10.1-release/contrib/pam_modules/pam_passwdqc/
H A Dpasswdqc_check.c198 char *scratch; local
213 scratch = NULL;
222 if (!scratch) {
223 if (!(scratch = malloc(length + 1)))
226 memcpy(scratch, original, i);
227 memcpy(&scratch[i], &original[i + j],
229 if (is_simple(params, scratch)) {
230 clean(scratch);
237 clean(scratch);
/freebsd-10.1-release/sys/dev/usb/
H A Dusb_util.c100 /* Protect scratch area */
103 temp_p = (char *)udev->scratch.data;
108 sizeof(udev->scratch.data),
114 sizeof(udev->scratch.data));
/freebsd-10.1-release/tools/tools/nanobsd/pcengines/
H A Dcommon.conf71 mkdir -pv z/scratch
75 echo "/dev/ad1s1a /z/scratch ufs rw,noauto,noatime 0 0" >> etc/fstab
/freebsd-10.1-release/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.c1038 ctx->scratch->int1 = resbufsiz;
1046 ctx->scratch->int1 = timeout;
1054 ctx->scratch->int1 = debug_level;
1072 resbufsiz = ctx->scratch->int1;
1076 timeout = ctx->scratch->int1;
1080 debug_level = ctx->scratch->int1;
1265 ctx->scratch->int1 = TRUTH_GET(value->v.integer);
1266 ctx->scratch->int1 |= (t != NULL) << 1;
1267 ctx->scratch->ptr2 = name;
1268 ctx->scratch
[all...]
/freebsd-10.1-release/contrib/unbound/services/cache/
H A Ddns.h136 * @param scratch: where to allocate temporary data.
143 struct regional* region, struct regional* scratch);

Completed in 322 milliseconds

12345