Searched refs:stmp (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-current/crypto/openssl/apps/lib/
H A Dapp_x509.c90 char *stmp, *vtmp = NULL; local
94 stmp = OPENSSL_strdup(value);
95 if (stmp == NULL)
97 vtmp = strchr(stmp, ':');
104 if (strcmp(stmp, "distid") == 0) {
108 } else if (strcmp(stmp, "hexdistid") == 0) {
114 OPENSSL_free(stmp);
115 stmp = vtmp = hexid;
125 OPENSSL_free(stmp);
H A Dapps.c2032 char *stmp, *vtmp = NULL; local
2034 stmp = OPENSSL_strdup(value);
2035 if (stmp == NULL)
2037 vtmp = strchr(stmp, ':');
2043 rv = EVP_PKEY_CTX_ctrl_str(ctx, stmp, vtmp);
2046 OPENSSL_free(stmp);
3305 char *opt = "", *stmp, *vtmp = NULL; local
3317 if ((stmp = OPENSSL_strdup(opt)) == NULL
3318 || (vtmp = strchr(stmp, ':')) == NULL)
3320 /* Replace ':' with 0 to terminate the string pointed to by stmp */
[all...]
/freebsd-current/libexec/bootpd/tools/bootpef/
H A Dbootpef.c123 char *stmp;
139 stmp = NULL;
151 stmp = &(argv[0][2]);
155 stmp = argv[0];
157 if (!stmp || (stmp[0] != '/')) {
162 chdir_path = stmp;
167 stmp = &(argv[0][2]);
178 stmp = argv[0];
180 if (!stmp || (sscan
120 char *stmp; local
[all...]
/freebsd-current/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzfs_znode_impl.h150 #define ZFS_TIME_ENCODE(tp, stmp) \
152 (stmp)[0] = (uint64_t)(tp)->tv_sec; \
153 (stmp)[1] = (uint64_t)(tp)->tv_nsec; \
161 #define ZFS_TIME_DECODE(tp, stmp) \
163 (tp)->tv_sec = (time64_t)(stmp)[0]; \
164 (tp)->tv_nsec = (long)(stmp)[1]; \
171 #define ZFS_TIME_DECODE(tp, stmp) \
173 (tp)->tv_sec = (time_t)(stmp)[0]; \
174 (tp)->tv_nsec = (long)(stmp)[1]; \
/freebsd-current/libexec/bootpd/bootpgw/
H A Dbootpgw.c152 char *stmp;
209 stmp = NULL;
236 stmp = &(argv[0][2]);
247 stmp = argv[0];
249 if (!stmp || (sscanf(stmp, "%d", &n) != 1) || (n < 0)) {
258 stmp = &(argv[0][2]);
262 stmp = argv[0];
264 if (!stmp || (sscanf(stmp, "
150 char *stmp; local
[all...]
/freebsd-current/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_znode_impl.h159 #define ZFS_TIME_ENCODE(tp, stmp) \
161 (stmp)[0] = (uint64_t)(tp)->tv_sec; \
162 (stmp)[1] = (uint64_t)(tp)->tv_nsec; \
166 #define ZFS_TIME_DECODE(tp, stmp) \
168 (tp)->tv_sec = (time_t)(stmp)[0]; \
169 (tp)->tv_nsec = (long)(stmp)[1]; \
/freebsd-current/crypto/openssl/crypto/asn1/
H A Dx_algor.c169 ASN1_STRING *stmp = NULL;
177 if (ASN1_item_pack(algtmp, ASN1_ITEM_rptr(X509_ALGOR), &stmp) == NULL)
182 if (!X509_ALGOR_set0(*palg, OBJ_nid2obj(NID_mgf1), V_ASN1_SEQUENCE, stmp)) {
187 stmp = NULL;
189 ASN1_STRING_free(stmp);
H A Da_strex.c607 ASN1_STRING stmp, *str = &stmp; local
618 stmp.data = NULL;
619 stmp.length = 0;
620 stmp.flags = 0;
626 *out = stmp.data;
627 return stmp.length;
H A Dtasn_dec.c835 ASN1_STRING *stmp; local
926 stmp = ASN1_STRING_type_new(utype);
927 if (stmp == NULL) {
931 *pval = (ASN1_VALUE *)stmp;
933 stmp = (ASN1_STRING *)*pval;
934 stmp->type = utype;
938 OPENSSL_free(stmp->data);
939 stmp->data = (unsigned char *)cont; /* UGLY CAST! RL */
940 stmp->length = len;
943 if (!ASN1_STRING_set(stmp, con
[all...]
/freebsd-current/sys/dev/sfxge/
H A Dsfxge_tx.c153 KASSERT((*pstmp)->flags == 0, ("stmp flags are not 0"));
155 &txq->stmp[txq->ptr_mask]))
156 *pstmp = &txq->stmp[0];
226 struct sfxge_tx_mapping *stmp; local
231 stmp = &txq->stmp[id];
232 if (stmp->flags & TX_BUF_UNMAP) {
233 bus_dmamap_unload(txq->packet_dma_tag, stmp->map);
234 if (stmp->flags & TX_BUF_MBUF) {
235 struct mbuf *m = stmp
401 struct sfxge_tx_mapping *stmp; local
1285 struct sfxge_tx_mapping *stmp = &txq->stmp[id]; local
[all...]
H A Dsfxge_tx.h184 struct sfxge_tx_mapping *stmp; /* Packets in flight. */ member in struct:sfxge_txq
/freebsd-current/crypto/openssl/crypto/x509/
H A Dx509_att.c336 ASN1_STRING *stmp = NULL; local
341 stmp = ASN1_STRING_set_by_NID(NULL, data, len, attrtype,
343 if (!stmp) {
347 atype = stmp->type;
349 if ((stmp = ASN1_STRING_type_new(attrtype)) == NULL)
351 if (!ASN1_STRING_set(stmp, data, len))
361 ASN1_STRING_free(stmp);
370 ASN1_TYPE_set(ttmp, atype, stmp);
371 stmp = NULL;
379 ASN1_STRING_free(stmp);
[all...]
H A Dby_dir.c239 X509_OBJECT stmp, *tmp; local
245 stmp.type = type;
248 stmp.data.x509 = &data.st_x509;
251 stmp.data.crl = &data.crl;
353 j = sk_X509_OBJECT_find(xl->store_ctx->objs, &stmp);
H A Dx509_lu.c315 X509_OBJECT stmp, *tmp; local
321 stmp.type = X509_LU_NONE;
322 stmp.data.ptr = NULL;
333 j = X509_LOOKUP_by_subject_ex(lu, type, name, &stmp, vs->libctx,
336 tmp = &stmp;
505 X509_OBJECT stmp; local
510 stmp.type = type;
513 stmp.data.x509 = &x509_s;
517 stmp.data.crl = &crl_s;
525 idx = sk_X509_OBJECT_find_all(h, &stmp, pnmatc
[all...]
H A Dv3_ncons.c413 ASN1_STRING stmp;
416 stmp.flags = 0;
417 stmp.type = V_ASN1_IA5STRING;
419 gntmp.d.dNSName = &stmp;
441 stmp.length = idlen;
442 stmp.data = idval;
/freebsd-current/libexec/bootpd/
H A Dbootpd.c178 char *stmp;
241 stmp = NULL;
264 stmp = &(argv[0][2]);
268 stmp = argv[0];
270 if (!stmp || (stmp[0] != '/')) {
275 chdir_path = stmp;
280 stmp = &(argv[0][2]);
291 stmp = argv[0];
293 if (!stmp || (sscan
176 char *stmp; local
[all...]
/freebsd-current/libexec/rbootd/
H A Dutils.c322 char *stmp; local
324 if ((stmp = (char *)malloc((unsigned) (strlen(str)+1))) == NULL) {
329 (void) strcpy(stmp, str);
330 return(stmp);
/freebsd-current/usr.bin/stat/
H A Dstat.c618 char *stmp, lfmt[24], tmp[20]; local
673 stmp = smode;
674 l = strlen(stmp);
675 if (stmp[l - 1] == ' ')
676 stmp[--l] = '\0';
679 stmp += 1;
680 stmp[3] = '\0';
685 stmp += 4;
686 stmp[3] = '\0';
691 stmp
[all...]
/freebsd-current/crypto/openssl/providers/implementations/exchange/
H A Ddh_exch.c182 unsigned char *stmp = NULL; local
197 if ((stmp = OPENSSL_secure_malloc(stmplen)) == NULL) {
201 if (!dh_plain_derive(pdhctx, stmp, &stmplen, stmplen, 1))
207 stmp, stmplen,
218 OPENSSL_secure_clear_free(stmp, stmplen);
H A Decdh_exch.c511 unsigned char *stmp = NULL; local
526 if ((stmp = OPENSSL_secure_malloc(stmplen)) == NULL) {
530 if (!ecdh_plain_derive(vpecdhctx, stmp, &stmplen, stmplen))
535 stmp, stmplen,
545 OPENSSL_secure_clear_free(stmp, stmplen);
/freebsd-current/usr.sbin/newsyslog/
H A Dnewsyslog.c328 struct sigwork_entry *stmp; local
362 SLIST_FOREACH(stmp, &swhead, sw_nextp)
363 do_sigwork(stmp);
392 stmp = SLIST_FIRST(&swhead);
394 free(stmp);
2280 struct sigwork_entry *sprev, *stmp; local
2286 SLIST_FOREACH(stmp, &swhead, sw_nextp) {
2287 ndiff = strcmp(ent->pid_cmd_file, stmp->sw_fname);
2291 if (ent->sig == stmp->sw_signum)
2293 if (ent->sig > stmp
[all...]
/freebsd-current/crypto/openssl/apps/
H A Ds_client.c754 BIO *stmp = BIO_new_file(sess_out, "w"); local
756 if (stmp == NULL) {
759 PEM_write_bio_SSL_SESSION(stmp, sess);
760 BIO_free(stmp);
1809 BIO *stmp = BIO_new_file(psksessf, "r"); local
1811 if (stmp == NULL) {
1816 psksess = PEM_read_bio_SSL_SESSION(stmp, NULL, 0, NULL);
1817 BIO_free(stmp);
1954 BIO *stmp = BIO_new_file(sess_in, "r"); local
1955 if (stmp
[all...]
H A Ds_server.c2139 BIO *stmp = BIO_new_file(psksessf, "r"); local
2141 if (stmp == NULL) {
2146 psksess = PEM_read_bio_SSL_SESSION(stmp, NULL, 0, NULL);
2147 BIO_free(stmp);
/freebsd-current/sbin/fsck_ffs/
H A Dsuj.c1111 struct suj_ino *stmp; local
1155 stmp = ino_lookup(rrec->jr_parent, 0);
1156 if (stmp)
1157 ino_setskip(stmp, ino);
/freebsd-current/crypto/openssl/ssl/
H A Dt1_lib.c2280 unsigned int stmp; local
2296 for (i = 0; i < size && PACKET_get_net_2(pkt, &stmp); i++)
2297 buf[i] = stmp;

Completed in 263 milliseconds

12