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

12345

/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/sys/dev/ow/
H A Dow_temp.c96 ow_temp_read_scratchpad(device_t dev, uint8_t *scratch, int len) argument
103 memcpy(scratch, cmd.xpt_read, len);
138 uint8_t scratch[8 + 1]; local
158 rv = ow_temp_read_scratchpad(sc->dev, scratch, sizeof(scratch));
161 crc = own_crc(sc->dev, scratch, sizeof(scratch) - 1);
162 if (crc == scratch[8]) {
164 if (scratch[7]) {
169 sc->temp = (int16_t)((scratch[
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_snmp.c155 if ((ctx->scratch->int1 = strlen(bridge_default)) >= IFNAMSIZ)
158 if ((ctx->scratch->ptr1 = malloc(IFNAMSIZ)) == NULL)
161 strncpy(ctx->scratch->ptr1, bridge_default, ctx->scratch->int1);
209 ctx->scratch->int1 = bridge_data_maxage;
217 ctx->scratch->int1 = val->v.integer;
225 bridge_set_default_name(ctx->scratch->ptr1,
226 ctx->scratch->int1);
227 free(ctx->scratch->ptr1);
230 bridge_data_maxage = ctx->scratch
[all...]
H A Dbridge_pf.c88 op, &(ctx->scratch->int1));
95 ctx->scratch->int1 =
H A Dbridge_if.c766 ctx->scratch->int1 = bif->priority;
776 ctx->scratch->int1 = bif->bridge_max_age;
786 ctx->scratch->int1 = bif->bridge_hello_time;
796 ctx->scratch->int1 = bif->bridge_fwd_delay;
806 ctx->scratch->int1 = bif->stp_version;
816 ctx->scratch->int1 = bif->tx_hold_count;
838 bridge_set_priority(bif, ctx->scratch->int1);
841 bridge_set_maxage(bif, ctx->scratch->int1);
844 bridge_set_hello_time(bif, ctx->scratch->int1);
847 bridge_set_forward_delay(bif, ctx->scratch
[all...]
H A Dbridge_port.c465 ctx->scratch->int1 = bp->priority;
476 ctx->scratch->int1 = bp->enable;
487 ctx->scratch->int1 = bp->path_cost;
511 ctx->scratch->int1);
515 ctx->scratch->int1);
519 ctx->scratch->int1);
624 ctx->scratch->int1 = bp->admin_edge;
635 ctx->scratch->int1 = bp->admin_ptp;
646 ctx->scratch->int1 = bp->admin_path_cost;
667 ctx->scratch
[all...]
/freebsd-11-stable/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);
155 * Save the old IP address in scratch->int1 and set the new one.
160 ctx->scratch->int1 = (valp[0] << 24) | (valp[1] << 16) | (valp[2] << 8)
177 valp[0] = ctx->scratch->int1 >> 24;
178 valp[1] = ctx->scratch
[all...]
H A Daction.c389 ctx->scratch->int1 = debug.dump_pdus;
394 ctx->scratch->int1 = snmp_trace;
401 ctx->scratch->int1 = debug.logpri;
411 debug.dump_pdus = ctx->scratch->int1;
415 snmp_trace = ctx->scratch->int1;
419 debug.logpri = ctx->scratch->int1;
559 ctx->scratch->int1 = value->v.integer;
568 snmpd.auth_traps = ctx->scratch->int1;
666 ctx->scratch->int1 = snmpd.txbuf;
674 ctx->scratch
[all...]
/freebsd-11-stable/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c205 ctx->scratch->int1 = RowStatus_createAndWait;
209 ctx->scratch->int1 = uuser->suser.auth_proto;
232 ctx->scratch->ptr1 = malloc(SNMP_AUTH_KEY_SIZ);
233 if (ctx->scratch->ptr1 == NULL)
235 memcpy(ctx->scratch->ptr1, uuser->suser.auth_key,
242 ctx->scratch->int1 = uuser->suser.priv_proto;
265 ctx->scratch->ptr1 = malloc(SNMP_PRIV_KEY_SIZ);
266 if (ctx->scratch->ptr1 == NULL)
268 memcpy(ctx->scratch->ptr1, uuser->suser.priv_key,
278 ctx->scratch
[all...]
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.c262 if ((ctx->scratch->ptr1 = malloc(IFNAMSIZ)) == NULL)
264 strlcpy(ctx->scratch->ptr1, wif->wname, IFNAMSIZ);
273 if ((ctx->scratch->ptr1 = malloc(IFNAMSIZ)) == NULL)
275 strlcpy(ctx->scratch->ptr1, wif->pname, IFNAMSIZ);
282 ctx->scratch->int1 = wif->mode;
289 ctx->scratch->ptr1 = malloc(sizeof(wif->flags));
290 if (ctx->scratch->ptr1 == NULL)
292 memcpy(ctx->scratch->ptr1, (uint8_t *)&wif->flags,
301 ctx->scratch->ptr1 = malloc(IEEE80211_ADDR_LEN);
302 if (ctx->scratch
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_amd64.S16 # Save scratch registers.
45 push %rbx # non-scratch
60 # Restore scratch registers.
96 # Save scratch registers.
125 push %rbx # non-scratch
140 # Restore scratch registers.
/freebsd-11-stable/tools/tools/nanobsd/pcengines/
H A Dcommon.conf68 mkdir -pv z/scratch
72 echo "/dev/ad1s1a /z/scratch ufs rw,noauto,noatime 0 0" >> etc/fstab
/freebsd-11-stable/contrib/unbound/services/cache/
H A Ddns.h149 * @param scratch: where to allocate temporary data.
153 int allow_expired, struct regional* scratch);
164 * @param scratch: where to allocate temporary data.
173 uint16_t flags, struct regional* region, struct regional* scratch,
/freebsd-11-stable/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-11-stable/crypto/openssl/crypto/bn/asm/
H A Dvia-mont.pl97 $scratch=&DWP(20,"esp");
100 # &DWP(32,"esp") # 32 byte scratch area
145 &lea ("edi",&DWP(32,"esp")); # scratch area
146 &mov ($scratch,"edi");
155 &lea ("ecx",&DWP((32+$pad)/4,"ecx"));# padded tp + scratch
223 &mov ("edi","esp"); # zap frame including scratch area

Completed in 528 milliseconds

12345