Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 25 of 170) sorted by relevance

1234567

/freebsd-13.1/crypto/openssl/crypto/modes/
H A Dxts128.c37 } tweak, scratch; in CRYPTO_xts128_encrypt() local
52 memcpy(scratch.c, inp, 16); in CRYPTO_xts128_encrypt()
53 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
54 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt()
59 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
61 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt()
100 scratch.c[i] = c; in CRYPTO_xts128_encrypt()
104 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
142 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt()
149 scratch.c[i] = c; in CRYPTO_xts128_encrypt()
[all …]
H A Dccm128.c149 } scratch; in CRYPTO_ccm128_encrypt() local
188 temp.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_encrypt()
189 temp.u[1] ^= scratch.u[1]; in CRYPTO_ccm128_encrypt()
213 ctx->cmac.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_encrypt()
214 ctx->cmac.u[1] ^= scratch.u[1]; in CRYPTO_ccm128_encrypt()
233 } scratch; in CRYPTO_ccm128_decrypt() local
263 memcpy(out, scratch.c, 16); in CRYPTO_ccm128_decrypt()
288 ctx->cmac.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_decrypt()
289 ctx->cmac.u[1] ^= scratch.u[1]; in CRYPTO_ccm128_decrypt()
322 } scratch; in CRYPTO_ccm128_encrypt_ccm64() local
[all …]
/freebsd-13.1/contrib/bsnmp/snmp_target/
H A Dtarget_snmp.c182 ctx->scratch->ptr1 = malloc(ctx->scratch->int1); in op_snmp_target_addrs()
186 ctx->scratch->int1); in op_snmp_target_addrs()
196 ctx->scratch->ptr1 = malloc(ctx->scratch->int1); in op_snmp_target_addrs()
200 ctx->scratch->int1); in op_snmp_target_addrs()
252 free(ctx->scratch->ptr1); in op_snmp_target_addrs()
275 free(ctx->scratch->ptr1); in op_snmp_target_addrs()
280 ctx->scratch->int1); in op_snmp_target_addrs()
286 ctx->scratch->int1); in op_snmp_target_addrs()
396 ctx->scratch->ptr1 = malloc(ctx->scratch->int1); in op_snmp_target_params()
400 ctx->scratch->int1); in op_snmp_target_params()
[all …]
/freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_begemot.c85 ctx->scratch->int1 = storage_tbl_refresh; in op_begemot()
90 ctx->scratch->int1 = fs_tbl_refresh; in op_begemot()
95 ctx->scratch->int1 = disk_storage_tbl_refresh; in op_begemot()
100 ctx->scratch->int1 = network_tbl_refresh; in op_begemot()
105 ctx->scratch->int1 = swins_tbl_refresh; in op_begemot()
110 ctx->scratch->int1 = swrun_tbl_refresh; in op_begemot()
140 storage_tbl_refresh = ctx->scratch->int1; in op_begemot()
144 fs_tbl_refresh = ctx->scratch->int1; in op_begemot()
152 network_tbl_refresh = ctx->scratch->int1; in op_begemot()
156 swins_tbl_refresh = ctx->scratch->int1; in op_begemot()
[all …]
/freebsd-13.1/sys/dev/ow/
H A Dow_temp.c101 memcpy(scratch, cmd.xpt_read, len); in ow_temp_read_scratchpad()
135 uint8_t scratch[8 + 1]; in ow_temp_event_thread() local
157 rv = ow_temp_read_scratchpad(sc->dev, scratch, sizeof(scratch)); in ow_temp_event_thread()
159 crc = own_crc(sc->dev, scratch, sizeof(scratch) - 1); in ow_temp_event_thread()
160 if (crc == scratch[8]) { in ow_temp_event_thread()
162 if (scratch[7]) { in ow_temp_event_thread()
167 tmp = (int16_t)((scratch[0] & 0xfe) | in ow_temp_event_thread()
168 (scratch[1] << 8)) << 3; in ow_temp_event_thread()
169 tmp += 16 - scratch[6] - 4; /* count_per_c == 16 */ in ow_temp_event_thread()
171 tmp = (int16_t)(scratch[0] | (scratch[1] << 8)) << 3; in ow_temp_event_thread()
[all …]
/freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_snmp.c156 if ((ctx->scratch->int1 = strlen(bridge_default)) >= IFNAMSIZ) in bridge_default_name_save()
159 if ((ctx->scratch->ptr1 = malloc(IFNAMSIZ)) == NULL) in bridge_default_name_save()
162 strncpy(ctx->scratch->ptr1, bridge_default, ctx->scratch->int1); in bridge_default_name_save()
210 ctx->scratch->int1 = bridge_data_maxage; in op_begemot_bridge_config()
218 ctx->scratch->int1 = val->v.integer; in op_begemot_bridge_config()
226 bridge_set_default_name(ctx->scratch->ptr1, in op_begemot_bridge_config()
227 ctx->scratch->int1); in op_begemot_bridge_config()
228 free(ctx->scratch->ptr1); in op_begemot_bridge_config()
231 bridge_data_maxage = ctx->scratch->int1; in op_begemot_bridge_config()
239 free(ctx->scratch->ptr1); in op_begemot_bridge_config()
[all …]
H A Dbridge_if.c767 ctx->scratch->int1 = bif->priority; in op_dot1d_stp()
807 ctx->scratch->int1 = bif->stp_version; in op_dot1d_stp()
904 ctx->scratch->int1 = bif->age_time; in op_dot1d_tp()
1011 ctx->scratch->int1 = bif->if_status; in bridge_set_if_status()
1029 ctx->scratch->int1 = bif->if_status; in bridge_set_if_status()
1050 ctx->scratch->int1 = RowStatus_destroy; in bridge_set_if_status()
1075 ctx->scratch->int1 = bif->if_status; in bridge_set_if_status()
1091 switch (ctx->scratch->int1) { in bridge_rollback_if_status()
1223 ctx->scratch->int1 = bif->priority; in op_begemot_stp()
1430 ctx->scratch->int1 = bif->age_time; in op_begemot_tp()
[all …]
H A Dbridge_port.c512 ctx->scratch->int1); in op_dot1d_stp_port()
516 ctx->scratch->int1); in op_dot1d_stp_port()
520 ctx->scratch->int1); in op_dot1d_stp_port()
668 ctx->scratch->int1); in op_dot1d_stp_ext_port()
672 ctx->scratch->int1); in op_dot1d_stp_ext_port()
676 ctx->scratch->int1); in op_dot1d_stp_ext_port()
1276 ctx->scratch->int1); in op_begemot_stp_port()
1280 ctx->scratch->int1); in op_begemot_stp_port()
1284 ctx->scratch->int1); in op_begemot_stp_port()
1414 ctx->scratch->int1); in op_begemot_stp_ext_port()
[all …]
/freebsd-13.1/contrib/bsnmp/snmp_usm/
H A Dusm_snmp.c234 if (ctx->scratch->ptr1 == NULL) in op_usm_users()
267 if (ctx->scratch->ptr1 == NULL) in op_usm_users()
279 ctx->scratch->ptr2 = in op_usm_users()
281 if (ctx->scratch->ptr2 == NULL) in op_usm_users()
331 free(ctx->scratch->ptr1); in op_usm_users()
334 if (ctx->scratch->ptr2 != NULL) in op_usm_users()
335 free(ctx->scratch->ptr2); in op_usm_users()
360 free(ctx->scratch->ptr1); in op_usm_users()
369 free(ctx->scratch->ptr1); in op_usm_users()
374 ctx->scratch->int2); in op_usm_users()
[all …]
/freebsd-13.1/contrib/bsnmp/snmpd/
H A Dexport.c63 ctx->scratch->ptr1 = *valp; in string_save()
66 *valp = ctx->scratch->ptr1; in string_save()
82 free(ctx->scratch->ptr1); in string_commit()
92 *valp = ctx->scratch->ptr1; in string_rollback()
101 free(ctx->scratch->ptr1); in string_free()
177 valp[0] = ctx->scratch->int1 >> 24; in ip_rollback()
178 valp[1] = ctx->scratch->int1 >> 16; in ip_rollback()
179 valp[2] = ctx->scratch->int1 >> 8; in ip_rollback()
180 valp[3] = ctx->scratch->int1; in ip_rollback()
226 free(ctx->scratch->ptr1); in oid_rollback()
[all …]
H A Daction.c394 ctx->scratch->int1 = snmp_trace; in op_debug()
415 snmp_trace = ctx->scratch->int1; in op_debug()
666 ctx->scratch->int1 = snmpd.txbuf; in op_snmpd_config()
674 ctx->scratch->int1 = snmpd.rxbuf; in op_snmpd_config()
712 snmpd.rxbuf = ctx->scratch->int1; in op_snmpd_config()
715 snmpd.txbuf = ctx->scratch->int1; in op_snmpd_config()
1032 ctx->scratch->ptr1 = mdep; in op_modules()
1123 if (ctx->scratch->ptr1 == NULL) in op_snmp_engine()
1150 free(ctx->scratch->ptr1); in op_snmp_engine()
1167 ctx->scratch->ptr1, ctx->scratch->int1); in op_snmp_engine()
[all …]
H A Dtrans_udp.c371 ctx->scratch->int1 = (p != NULL); in op_snmp_port()
378 ctx->scratch->int2 = TRUTH_GET(value->v.integer); in op_snmp_port()
380 if (ctx->scratch->int2) { in op_snmp_port()
398 if (ctx->scratch->int1 == 0) { in op_snmp_port()
400 if (ctx->scratch->int2 == 1) { in op_snmp_port()
411 if (ctx->scratch->int1 == 1) { in op_snmp_port()
413 if (ctx->scratch->int2 == 0) { in op_snmp_port()
/freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_snmp.c353 free(ctx->scratch->ptr1); in op_wlan_iface()
358 free(ctx->scratch->ptr1); in op_wlan_iface()
368 free(ctx->scratch->ptr1); in op_wlan_iface()
374 free(ctx->scratch->ptr1); in op_wlan_iface()
380 free(ctx->scratch->ptr1); in op_wlan_iface()
407 free(ctx->scratch->ptr1); in op_wlan_iface()
691 vlen = ctx->scratch->int1; in op_wlan_iface_config()
703 free(ctx->scratch->ptr1); in op_wlan_iface_config()
864 free(ctx->scratch->ptr1); in op_wlan_iface_config()
2194 free(ctx->scratch->ptr1); in op_wlan_mesh_iface()
[all …]
/freebsd-13.1/contrib/bsnmp/snmp_mibII/
H A DmibII_ip.c172 ctx->scratch->int1 = ip_forwarding ? 1 : 2; in op_ip()
173 ctx->scratch->int2 = value->v.integer; in op_ip()
177 ctx->scratch->int1 = old ? 1 : 2; in op_ip()
181 ctx->scratch->int1 = old; in op_ip()
187 ctx->scratch->int1 = ip_defttl; in op_ip()
188 ctx->scratch->int2 = value->v.integer; in op_ip()
194 ctx->scratch->int1 = old; in op_ip()
203 if (ctx->scratch->int1 == 1) { in op_ip()
204 if (ctx->scratch->int2 == 2) in op_ip()
207 if (ctx->scratch->int2 == 1) in op_ip()
[all …]
H A DmibII_begemot.c59 ctx->scratch->int1 = mibif_force_hc_update_interval; in op_begemot_mibII()
64 ctx->scratch->int1 = mibII_poll_ticks; in op_begemot_mibII()
74 mibif_force_hc_update_interval = ctx->scratch->int1; in op_begemot_mibII()
78 mibII_poll_ticks = ctx->scratch->int1; in op_begemot_mibII()
87 mibif_force_hc_update_interval = ctx->scratch->int1; in op_begemot_mibII()
/freebsd-13.1/contrib/bsnmp/snmp_vacm/
H A Dvacm_snmp.c199 ctx->scratch->int1 = user->status; in op_vacm_security_to_group()
229 ctx->scratch->int1)); in op_vacm_security_to_group()
234 user->status = ctx->scratch->int1; in op_vacm_security_to_group()
292 ctx->scratch->int1 = acl->ctx_match; in op_vacm_access()
302 ctx->scratch->ptr1 = acl->read_view; in op_vacm_access()
350 ctx->scratch->int1 = acl->status; in op_vacm_access()
495 if (ctx->scratch->ptr1 == NULL) in op_vacm_view()
506 ctx->scratch->int1 = view->exclude; in op_vacm_view()
534 ctx->scratch->int1 = view->status; in op_vacm_view()
543 free(ctx->scratch->ptr1); in op_vacm_view()
[all …]
/freebsd-13.1/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_sprom.c901 scratch._repr[1] <<= shift; \ in bhnd_nvram_sprom_write_offset()
903 scratch._repr[1] >>= -shift; \ in bhnd_nvram_sprom_write_offset()
904 scratch._repr[1] &= mask; \ in bhnd_nvram_sprom_write_offset()
907 scratch._repr[1] = _swap(scratch._repr[1]); \ in bhnd_nvram_sprom_write_offset()
911 &scratch._repr[0], sizeof(scratch._repr[0])); \ in bhnd_nvram_sprom_write_offset()
924 scratch._repr[0] |= scratch._repr[1]; \ in bhnd_nvram_sprom_write_offset()
928 &scratch._repr[0], sizeof(scratch._repr[0])); \ in bhnd_nvram_sprom_write_offset()
993 &scratch._repr[0], sizeof(scratch._repr[0])); \ in bhnd_nvram_sprom_read_offset()
1001 scratch._repr[0] = _swap(scratch._repr[0]); \ in bhnd_nvram_sprom_read_offset()
1004 scratch._repr[0] &= mask; \ in bhnd_nvram_sprom_read_offset()
[all …]
/freebsd-13.1/contrib/pam_modules/pam_passwdqc/
H A Dpasswdqc_check.c198 char *scratch; in is_based() local
213 scratch = NULL; in is_based()
222 if (!scratch) { in is_based()
223 if (!(scratch = malloc(length + 1))) in is_based()
226 memcpy(scratch, original, i); in is_based()
227 memcpy(&scratch[i], &original[i + j], in is_based()
229 if (is_simple(params, scratch)) { in is_based()
230 clean(scratch); in is_based()
237 clean(scratch); in is_based()
/freebsd-13.1/sys/cddl/contrib/opensolaris/uts/intel/dtrace/
H A Dfasttrap_isa.c1594 scratch[i++] = FASTTRAP_REX(1, 0, 0, 1); in fasttrap_pid_probe()
1599 scratch[i++] = FASTTRAP_MOV_EAX; in fasttrap_pid_probe()
1601 scratch[i++] = FASTTRAP_MOV_ECX; in fasttrap_pid_probe()
1623 *(uint64_t *)&scratch[i] = *reg; in fasttrap_pid_probe()
1639 scratch[i++] = FASTTRAP_GROUP5_OP; in fasttrap_pid_probe()
1640 scratch[i++] = FASTTRAP_MODRM(0, 4, 5); in fasttrap_pid_probe()
1642 *(uint32_t *)&scratch[i] = 0; in fasttrap_pid_probe()
1653 scratch[i++] = FASTTRAP_JMP32; in fasttrap_pid_probe()
1664 scratch[i++] = FASTTRAP_INT; in fasttrap_pid_probe()
1665 scratch[i++] = T_DTRACE_RET; in fasttrap_pid_probe()
[all …]
/freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_netgraph/
H A Dsnmp_netgraph.c1038 ctx->scratch->int1 = resbufsiz; in op_ng_config()
1046 ctx->scratch->int1 = timeout; in op_ng_config()
1072 resbufsiz = ctx->scratch->int1; in op_ng_config()
1076 timeout = ctx->scratch->int1; in op_ng_config()
1267 ctx->scratch->ptr2 = name; in op_ng_type()
1268 ctx->scratch->int2 = namelen; in op_ng_type()
1272 if (ctx->scratch->int1 & 1) { in op_ng_type()
1296 if (!(ctx->scratch->int1 & 2)) { in op_ng_type()
1298 if (ctx->scratch->int1 & 1) { in op_ng_type()
1313 free(ctx->scratch->ptr2); in op_ng_type()
[all …]
/freebsd-13.1/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-13.1/contrib/unbound/libunbound/
H A Dlibworker.c101 regional_destroy(w->env->scratch); in libworker_delete_env()
159 w->env->scratch = regional_create_custom(cfg->msg_buffer_size); in libworker_setup()
573 libworker_enter_result(q->res, buf, q->w->env->scratch, s); in libworker_fillup_fg()
633 w->back->udp_buff, w->env->scratch, NULL, NULL, 0, NULL, 0, in libworker_fg()
635 regional_free_all(w->env->scratch); in libworker_fg()
644 regional_free_all(w->env->scratch); in libworker_fg()
713 w->back->udp_buff, w->env->scratch, NULL, NULL, 0, NULL, 0, in libworker_attach_mesh()
715 regional_free_all(w->env->scratch); in libworker_attach_mesh()
723 regional_free_all(w->env->scratch); in libworker_attach_mesh()
853 regional_free_all(w->env->scratch); in handle_newq()
[all …]
/freebsd-13.1/sys/dev/usb/
H A Dusb_util.c105 temp_p = (char *)udev->scratch.data; in device_set_usb_desc()
110 sizeof(udev->scratch.data), in device_set_usb_desc()
116 sizeof(udev->scratch.data)); in device_set_usb_desc()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp122 ValueVector scratch; member in __anon5bc9106a0211::CFGBlockValues
163 scratch.resize(decls); in computeSetOfDeclarations()
183 for (unsigned I = 0, E = scratch.size(); I != E; ++I) in setAllScratchValues()
184 scratch[I] = V; in setAllScratchValues()
190 scratch = source; in mergeIntoScratch()
192 scratch |= source; in mergeIntoScratch()
197 bool changed = (dst != scratch); in updateValueVectorWithScratch()
199 dst = scratch; in updateValueVectorWithScratch()
201 printVector(block, scratch, 0); in updateValueVectorWithScratch()
207 scratch.reset(); in resetScratch()
[all …]
/freebsd-13.1/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 \

1234567