Home
last modified time | relevance | path

Searched refs:stmp (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/libexec/bootpd/tools/bootpef/
H A Dbootpef.c120 char *stmp; in main() local
136 stmp = NULL; in main()
148 stmp = &(argv[0][2]); in main()
152 stmp = argv[0]; in main()
154 if (!stmp || (stmp[0] != '/')) { in main()
159 chdir_path = stmp; in main()
164 stmp = &(argv[0][2]); in main()
175 stmp = argv[0]; in main()
177 if (!stmp || (sscanf(stmp, "%d", &n) != 1) || (n < 0)) { in main()
187 stmp = &(argv[0][2]); in main()
[all …]
/freebsd/libexec/bootpd/bootpgw/
H A Dbootpgw.c150 char *stmp; in main() local
207 stmp = NULL; in main()
234 stmp = &(argv[0][2]); in main()
245 stmp = argv[0]; in main()
247 if (!stmp || (sscanf(stmp, "%d", &n) != 1) || (n < 0)) { in main()
256 stmp = &(argv[0][2]); in main()
260 stmp = argv[0]; in main()
262 if (!stmp || (sscanf(stmp, "%d", &n) != 1) || in main()
281 stmp = &(argv[0][2]); in main()
285 stmp = argv[0]; in main()
[all …]
/freebsd/crypto/openssl/apps/lib/
H A Dapp_x509.c90 char *stmp, *vtmp = NULL; in do_x509_ctrl_string() local
94 stmp = OPENSSL_strdup(value); in do_x509_ctrl_string()
95 if (stmp == NULL) in do_x509_ctrl_string()
97 vtmp = strchr(stmp, ':'); in do_x509_ctrl_string()
104 if (strcmp(stmp, "distid") == 0) { in do_x509_ctrl_string()
108 } else if (strcmp(stmp, "hexdistid") == 0) { in do_x509_ctrl_string()
114 OPENSSL_free(stmp); in do_x509_ctrl_string()
115 stmp = vtmp = hexid; in do_x509_ctrl_string()
125 OPENSSL_free(stmp); in do_x509_ctrl_string()
H A Dapps.c2032 char *stmp, *vtmp = NULL; in pkey_ctrl_string() local
2034 stmp = OPENSSL_strdup(value); in pkey_ctrl_string()
2035 if (stmp == NULL) in pkey_ctrl_string()
2037 vtmp = strchr(stmp, ':'); in pkey_ctrl_string()
2043 rv = EVP_PKEY_CTX_ctrl_str(ctx, stmp, vtmp); in pkey_ctrl_string()
2046 OPENSSL_free(stmp); in pkey_ctrl_string()
3305 char *opt = "", *stmp, *vtmp = NULL; in app_params_new_from_opts() local
3317 if ((stmp = OPENSSL_strdup(opt)) == NULL in app_params_new_from_opts()
3318 || (vtmp = strchr(stmp, ':')) == NULL) in app_params_new_from_opts()
3325 stmp, vtmp, strlen(vtmp), &found)) in app_params_new_from_opts()
[all …]
/freebsd/sys/dev/sfxge/
H A Dsfxge_tx.c155 &txq->stmp[txq->ptr_mask])) in sfxge_next_stmp()
156 *pstmp = &txq->stmp[0]; in sfxge_next_stmp()
226 struct sfxge_tx_mapping *stmp; in sfxge_tx_qcomplete() local
231 stmp = &txq->stmp[id]; in sfxge_tx_qcomplete()
232 if (stmp->flags & TX_BUF_UNMAP) { in sfxge_tx_qcomplete()
233 bus_dmamap_unload(txq->packet_dma_tag, stmp->map); in sfxge_tx_qcomplete()
234 if (stmp->flags & TX_BUF_MBUF) { in sfxge_tx_qcomplete()
235 struct mbuf *m = stmp->u.mbuf; in sfxge_tx_qcomplete()
240 free(stmp->u.heap_buf, M_SFXGE); in sfxge_tx_qcomplete()
242 stmp->flags = 0; in sfxge_tx_qcomplete()
[all …]
H A Dsfxge_tx.h184 struct sfxge_tx_mapping *stmp; /* Packets in flight. */ member
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzfs_znode_impl.h138 #define ZFS_TIME_ENCODE(tp, stmp) \ argument
140 (stmp)[0] = (uint64_t)(tp)->tv_sec; \
141 (stmp)[1] = (uint64_t)(tp)->tv_nsec; \
147 #define ZFS_TIME_DECODE(tp, stmp) \ argument
149 (tp)->tv_sec = (time64_t)(stmp)[0]; \
150 (tp)->tv_nsec = (long)(stmp)[1]; \
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_znode_impl.h159 #define ZFS_TIME_ENCODE(tp, stmp) \ argument
161 (stmp)[0] = (uint64_t)(tp)->tv_sec; \
162 (stmp)[1] = (uint64_t)(tp)->tv_nsec; \
166 #define ZFS_TIME_DECODE(tp, stmp) \ argument
168 (tp)->tv_sec = (time_t)(stmp)[0]; \
169 (tp)->tv_nsec = (long)(stmp)[1]; \
/freebsd/libexec/bootpd/
H A Dbootpd.c176 char *stmp; in main() local
239 stmp = NULL; in main()
262 stmp = &(argv[0][2]); in main()
266 stmp = argv[0]; in main()
268 if (!stmp || (stmp[0] != '/')) { in main()
273 chdir_path = stmp; in main()
278 stmp = &(argv[0][2]); in main()
289 stmp = argv[0]; in main()
291 if (!stmp || (sscanf(stmp, "%d", &n) != 1) || (n < 0)) { in main()
301 stmp = &(argv[0][2]); in main()
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dx509_att.c336 ASN1_STRING *stmp = NULL; in X509_ATTRIBUTE_set1_data() local
341 stmp = ASN1_STRING_set_by_NID(NULL, data, len, attrtype, in X509_ATTRIBUTE_set1_data()
343 if (!stmp) { in X509_ATTRIBUTE_set1_data()
347 atype = stmp->type; in X509_ATTRIBUTE_set1_data()
349 if ((stmp = ASN1_STRING_type_new(attrtype)) == NULL) in X509_ATTRIBUTE_set1_data()
351 if (!ASN1_STRING_set(stmp, data, len)) in X509_ATTRIBUTE_set1_data()
361 ASN1_STRING_free(stmp); in X509_ATTRIBUTE_set1_data()
370 ASN1_TYPE_set(ttmp, atype, stmp); in X509_ATTRIBUTE_set1_data()
371 stmp = NULL; in X509_ATTRIBUTE_set1_data()
379 ASN1_STRING_free(stmp); in X509_ATTRIBUTE_set1_data()
H A Dby_dir.c239 X509_OBJECT stmp, *tmp; in get_cert_by_subject_ex() local
245 stmp.type = type; in get_cert_by_subject_ex()
248 stmp.data.x509 = &data.st_x509; in get_cert_by_subject_ex()
251 stmp.data.crl = &data.crl; in get_cert_by_subject_ex()
353 j = sk_X509_OBJECT_find(xl->store_ctx->objs, &stmp); in get_cert_by_subject_ex()
H A Dx509_lu.c315 X509_OBJECT stmp, *tmp; in X509_STORE_CTX_get_by_subject() local
321 stmp.type = X509_LU_NONE; in X509_STORE_CTX_get_by_subject()
322 stmp.data.ptr = NULL; in X509_STORE_CTX_get_by_subject()
333 j = X509_LOOKUP_by_subject_ex(lu, type, name, &stmp, vs->libctx, in X509_STORE_CTX_get_by_subject()
336 tmp = &stmp; in X509_STORE_CTX_get_by_subject()
505 X509_OBJECT stmp; in x509_object_idx_cnt() local
510 stmp.type = type; in x509_object_idx_cnt()
513 stmp.data.x509 = &x509_s; in x509_object_idx_cnt()
517 stmp.data.crl = &crl_s; in x509_object_idx_cnt()
525 idx = sk_X509_OBJECT_find_all(h, &stmp, pnmatch); in x509_object_idx_cnt()
H A Dv3_ncons.c413 ASN1_STRING stmp; in NAME_CONSTRAINTS_check_CN() local
416 stmp.flags = 0; in NAME_CONSTRAINTS_check_CN()
417 stmp.type = V_ASN1_IA5STRING; in NAME_CONSTRAINTS_check_CN()
419 gntmp.d.dNSName = &stmp; in NAME_CONSTRAINTS_check_CN()
441 stmp.length = idlen; in NAME_CONSTRAINTS_check_CN()
442 stmp.data = idval; in NAME_CONSTRAINTS_check_CN()
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_PARAM_allocate_from_text.pod129 char *stmp, *vtmp = NULL;
131 stmp = OPENSSL_strdup(value);
132 if (stmp == NULL)
134 vtmp = strchr(stmp, ':');
137 rv = EVP_MAC_ctrl_str(ctx, stmp, vtmp);
138 OPENSSL_free(stmp);
167 char *stmp, *vtmp = NULL;
170 if ((stmp = OPENSSL_strdup(opt)) == NULL
171 || (vtmp = strchr(stmp, ':')) == NULL)
176 paramdefs, stmp,
/freebsd/crypto/openssl/crypto/asn1/
H A Dx_algor.c169 ASN1_STRING *stmp = NULL; in ossl_x509_algor_md_to_mgf1() local
177 if (ASN1_item_pack(algtmp, ASN1_ITEM_rptr(X509_ALGOR), &stmp) == NULL) in ossl_x509_algor_md_to_mgf1()
182 if (!X509_ALGOR_set0(*palg, OBJ_nid2obj(NID_mgf1), V_ASN1_SEQUENCE, stmp)) { in ossl_x509_algor_md_to_mgf1()
187 stmp = NULL; in ossl_x509_algor_md_to_mgf1()
189 ASN1_STRING_free(stmp); in ossl_x509_algor_md_to_mgf1()
H A Da_strex.c610 ASN1_STRING stmp, *str = &stmp; in ASN1_STRING_to_UTF8() local
621 stmp.data = NULL; in ASN1_STRING_to_UTF8()
622 stmp.length = 0; in ASN1_STRING_to_UTF8()
623 stmp.flags = 0; in ASN1_STRING_to_UTF8()
629 *out = stmp.data; in ASN1_STRING_to_UTF8()
630 return stmp.length; in ASN1_STRING_to_UTF8()
H A Dtasn_dec.c835 ASN1_STRING *stmp; in asn1_ex_c2i() local
926 stmp = ASN1_STRING_type_new(utype); in asn1_ex_c2i()
927 if (stmp == NULL) { in asn1_ex_c2i()
931 *pval = (ASN1_VALUE *)stmp; in asn1_ex_c2i()
933 stmp = (ASN1_STRING *)*pval; in asn1_ex_c2i()
934 stmp->type = utype; in asn1_ex_c2i()
938 OPENSSL_free(stmp->data); in asn1_ex_c2i()
939 stmp->data = (unsigned char *)cont; /* UGLY CAST! RL */ in asn1_ex_c2i()
940 stmp->length = len; in asn1_ex_c2i()
943 if (!ASN1_STRING_set(stmp, cont, len)) { in asn1_ex_c2i()
[all …]
/freebsd/usr.bin/stat/
H A Dstat.c618 char *stmp, lfmt[24], tmp[20]; in format1() local
673 stmp = smode; in format1()
674 l = strlen(stmp); in format1()
675 if (stmp[l - 1] == ' ') in format1()
676 stmp[--l] = '\0'; in format1()
679 stmp += 1; in format1()
680 stmp[3] = '\0'; in format1()
685 stmp += 4; in format1()
686 stmp[3] = '\0'; in format1()
691 stmp += 7; in format1()
[all …]
/freebsd/usr.sbin/newsyslog/
H A Dnewsyslog.c328 struct sigwork_entry *stmp; in main() local
362 SLIST_FOREACH(stmp, &swhead, sw_nextp) in main()
363 do_sigwork(stmp); in main()
392 stmp = SLIST_FIRST(&swhead); in main()
394 free(stmp); in main()
2280 struct sigwork_entry *sprev, *stmp; in save_sigwork() local
2286 SLIST_FOREACH(stmp, &swhead, sw_nextp) { in save_sigwork()
2287 ndiff = strcmp(ent->pid_cmd_file, stmp->sw_fname); in save_sigwork()
2291 if (ent->sig == stmp->sw_signum) in save_sigwork()
2293 if (ent->sig > stmp in save_sigwork()
[all...]
/freebsd/libexec/rbootd/
H A Dutils.c322 char *stmp; in NewStr() local
324 if ((stmp = (char *)malloc((unsigned) (strlen(str)+1))) == NULL) { in NewStr()
329 (void) strcpy(stmp, str); in NewStr()
330 return(stmp); in NewStr()
/freebsd/crypto/openssl/providers/implementations/exchange/
H A Ddh_exch.c182 unsigned char *stmp = NULL; in dh_X9_42_kdf_derive() local
197 if ((stmp = OPENSSL_secure_malloc(stmplen)) == NULL) { in dh_X9_42_kdf_derive()
201 if (!dh_plain_derive(pdhctx, stmp, &stmplen, stmplen, 1)) in dh_X9_42_kdf_derive()
207 stmp, stmplen, in dh_X9_42_kdf_derive()
218 OPENSSL_secure_clear_free(stmp, stmplen); in dh_X9_42_kdf_derive()
H A Decdh_exch.c511 unsigned char *stmp = NULL; in ecdh_X9_63_kdf_derive() local
526 if ((stmp = OPENSSL_secure_malloc(stmplen)) == NULL) { in ecdh_X9_63_kdf_derive()
530 if (!ecdh_plain_derive(vpecdhctx, stmp, &stmplen, stmplen)) in ecdh_X9_63_kdf_derive()
535 stmp, stmplen, in ecdh_X9_63_kdf_derive()
545 OPENSSL_secure_clear_free(stmp, stmplen); in ecdh_X9_63_kdf_derive()
/freebsd/sys/contrib/device-tree/Bindings/rtc/
H A Dstmp3xxx-rtc.txt11 - stmp,crystal-freq: override crystal frequency as determined from fuse bits.
/freebsd/crypto/openssl/apps/
H A Ds_client.c754 BIO *stmp = BIO_new_file(sess_out, "w"); in new_session_cb() local
756 if (stmp == NULL) { in new_session_cb()
759 PEM_write_bio_SSL_SESSION(stmp, sess); in new_session_cb()
760 BIO_free(stmp); in new_session_cb()
1809 BIO *stmp = BIO_new_file(psksessf, "r"); in s_client_main() local
1811 if (stmp == NULL) { in s_client_main()
1816 psksess = PEM_read_bio_SSL_SESSION(stmp, NULL, 0, NULL); in s_client_main()
1817 BIO_free(stmp); in s_client_main()
1954 BIO *stmp = BIO_new_file(sess_in, "r"); in s_client_main() local
1955 if (stmp == NULL) { in s_client_main()
[all …]
/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_convert.m4474 unsigned char *dstaux, *s, *srcaux, *stmp;
477 for (stmp = src, vnext = ~0U;
478 vnext != 0 && stmp + verfsz <= srcend && dst + vermsz <= dstend;
479 stmp += vnext, dst += vnext) {
482 s = stmp;
499 for (anext = ~0U, dstaux = dst + aux, srcaux = stmp + aux;

12