Home
last modified time | relevance | path

Searched refs:dec (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/freebsd-13-stable/usr.bin/rpcgen/
HDrpc_parse.c114 declaration dec; in def_struct() local
125 get_declaration(&dec, DEF_STRUCT); in def_struct()
127 decls->decl = dec; in def_struct()
141 declaration dec; in def_program() local
182 get_prog_declaration(&dec, DEF_PROGRAM, num_args); in def_program()
183 if (streq(dec.type, "void")) in def_program()
187 decls->decl = dec; in def_program()
192 get_prog_declaration(&dec, DEF_STRUCT, in def_program()
195 decls->decl = dec; in def_program()
197 if (streq(dec.type, "void")) in def_program()
[all …]
HDrpc_hout.c450 pdeclaration(const char *name, declaration *dec, int tab, const char *separator) in pdeclaration() argument
456 if (streq(dec->type, "void")) { in pdeclaration()
460 if (streq(dec->type, name) && !dec->prefix) { in pdeclaration()
463 if (streq(dec->type, "string")) { in pdeclaration()
464 f_print(fout, "char *%s", dec->name); in pdeclaration()
467 if (streq(dec->type, "bool")) { in pdeclaration()
469 } else if (streq(dec->type, "opaque")) { in pdeclaration()
472 if (dec->prefix) { in pdeclaration()
473 s_print(buf, "%s ", dec->prefix); in pdeclaration()
476 type = dec->type; in pdeclaration()
[all …]
/freebsd-13-stable/usr.bin/calendar/tests/
HDcalendar.calibrate343 12/01 dec 1
344 12/02 dec 2
345 12/03 dec 3
346 12/04 dec 4
347 12/05 dec 5
348 12/06 dec 6
349 12/07 dec 7
350 12/08 dec 8
351 12/09 dec 9
352 12/10 dec 10
[all …]
HDregress.wn-4.out1 Dec 28 dec 28
2 Dec 29 dec 29
3 Dec 30 dec 30
4 Dec 31 dec 31
HDregress.b1.out1 Dec 28 dec 28
2 Dec 29 dec 29
3 Dec 30 dec 30
4 Dec 31 dec 31
HDregress.a1.out1 Dec 28 dec 28
2 Dec 29 dec 29
3 Dec 30 dec 30
4 Dec 31 dec 31
HDregress.wn-5.out1 Dec 28 dec 28
2 Dec 29 dec 29
3 Dec 30 dec 30
4 Dec 31 dec 31
HDregress.wn-6.out1 Dec 28 dec 28
2 Dec 29 dec 29
3 Dec 30 dec 30
4 Dec 31 dec 31
HDregress.wn-7.out1 Dec 28 dec 28
2 Dec 29 dec 29
3 Dec 30 dec 30
4 Dec 31 dec 31
HDregress.wn-3.out1 Dec 28 dec 28
2 Dec 29 dec 29
3 Dec 30 dec 30
HDregress.a2.out1 Dec 29 dec 29
2 Dec 30 dec 30
3 Dec 31 dec 31
HDregress.s1.out1 Dec 29 dec 29
2 Dec 30 dec 30
3 Dec 31 dec 31
HDregress.b2.out1 Dec 29 dec 29
2 Dec 30 dec 30
3 Dec 31 dec 31
/freebsd-13-stable/contrib/ntp/libntp/
HDdolfptoa.c20 int dec; in dolfptoa() local
41 for (dec = (int)(cp - cbuf); dec > 0 && fpi != 0; dec--) { in dolfptoa()
55 dec = ndec; in dolfptoa()
56 if (dec < 0) in dolfptoa()
57 dec = 0; in dolfptoa()
59 dec += 3; in dolfptoa()
62 if ((size_t)dec > sizeof(cbuf) - (cpend - cbuf)) in dolfptoa()
63 dec = (int)(sizeof(cbuf) - (cpend - cbuf)); in dolfptoa()
68 for (/*NOP*/; dec > 0 && fpv != 0; dec--) { in dolfptoa()
88 if (dec > 0) { in dolfptoa()
[all …]
HDdofptoa.c20 register short dec; in dofptoa() local
64 dec = (short)(ndec + 3); in dofptoa()
65 if (dec < 3) in dofptoa()
66 dec = 3; in dofptoa()
69 dec = ndec; in dofptoa()
73 if (dec > 6) in dofptoa()
74 dec = 6; in dofptoa()
76 if (dec > 0) { in dofptoa()
81 } while (--dec > 0); in dofptoa()
/freebsd-13-stable/usr.sbin/ppp/
HDfsm.c469 struct fsm_decode dec; in FsmRecvConfigReq() local
490 dec.ackend = dec.ack; in FsmRecvConfigReq()
491 dec.nakend = dec.nak; in FsmRecvConfigReq()
492 dec.rejend = dec.rej; in FsmRecvConfigReq()
494 (*fp->fn->DecodeConfig)(fp, cp, cp + flen, MODE_REQ, &dec); in FsmRecvConfigReq()
498 if (dec.nakend == dec.nak && dec.rejend == dec.rej) in FsmRecvConfigReq()
540 if (dec.rejend != dec.rej) in FsmRecvConfigReq()
541 fsm_Output(fp, CODE_CONFIGREJ, lhp->id, dec.rej, dec.rejend - dec.rej, in FsmRecvConfigReq()
543 if (dec.nakend != dec.nak) in FsmRecvConfigReq()
544 fsm_Output(fp, CODE_CONFIGNAK, lhp->id, dec.nak, dec.nakend - dec.nak, in FsmRecvConfigReq()
[all …]
HDlcp.c621 lcp_auth_nak(struct lcp *lcp, struct fsm_decode *dec) in lcp_auth_nak() argument
631 fsm_nak(dec, &nak); in lcp_auth_nak()
641 fsm_nak(dec, &nak); in lcp_auth_nak()
646 fsm_nak(dec, &nak); in lcp_auth_nak()
649 fsm_nak(dec, &nak); in lcp_auth_nak()
660 struct fsm_decode *dec) in LcpDecodeConfig() argument
703 fsm_nak(dec, &nak); in LcpDecodeConfig()
710 fsm_nak(dec, &nak); in LcpDecodeConfig()
713 fsm_ack(dec, opt); in LcpDecodeConfig()
717 fsm_rej(dec, opt); in LcpDecodeConfig()
[all …]
HDipcp.c978 ipcp_ValidateReq(struct ipcp *ipcp, struct in_addr ip, struct fsm_decode *dec) in ipcp_ValidateReq() argument
1012 *dec->rejend++ = TY_IPADDR; in ipcp_ValidateReq()
1013 *dec->rejend++ = 6; in ipcp_ValidateReq()
1014 memcpy(dec->rejend, &ip.s_addr, 4); in ipcp_ValidateReq()
1015 dec->rejend += 4; in ipcp_ValidateReq()
1017 *dec->nakend++ = TY_IPADDR; in ipcp_ValidateReq()
1018 *dec->nakend++ = 6; in ipcp_ValidateReq()
1019 memcpy(dec->nakend, &ipcp->peer_ip.s_addr, 4); in ipcp_ValidateReq()
1020 dec->nakend += 4; in ipcp_ValidateReq()
1030 *dec->nakend++ = TY_IPADDR; in ipcp_ValidateReq()
[all …]
/freebsd-13-stable/crypto/openssl/crypto/ct/
HDct_b64.c69 unsigned char *dec = NULL; in SCT_new_from_base64() local
87 declen = ct_base64_decode(logid_base64, &dec); in SCT_new_from_base64()
92 if (!SCT_set0_log_id(sct, dec, declen)) in SCT_new_from_base64()
94 dec = NULL; in SCT_new_from_base64()
96 declen = ct_base64_decode(extensions_base64, &dec); in SCT_new_from_base64()
101 SCT_set0_extensions(sct, dec, declen); in SCT_new_from_base64()
102 dec = NULL; in SCT_new_from_base64()
104 declen = ct_base64_decode(signature_base64, &dec); in SCT_new_from_base64()
110 p = dec; in SCT_new_from_base64()
113 OPENSSL_free(dec); in SCT_new_from_base64()
[all …]
/freebsd-13-stable/contrib/opencsd/decoder/source/mem_acc/
HDtrc_mem_acc_cache.cpp80 …cMemAccCache:: hit [page: " << std::dec << m_mru_idx << "[addr:0x" << std::hex << address << ", by… in readBytesFromCache()
89 …MemAccCache:: miss [addr:0x" << std::hex << address << ", bytes: " << std::dec << reqBytes << "]\n… in readBytesFromCache()
113 …MemAccCache:: load [page: " << std::dec << m_mru_idx << "[addr:0x" << std::hex << address << ", by… in readBytesFromCache()
133 …:: miss-after-load [page: " << std::dec << m_mru_idx << "[addr:0x" << std::hex << address << ", by… in readBytesFromCache()
161 …oss << "TrcMemAccCache:: cache performance: hits(" << std::dec << m_hits << "), miss(" << m_misses… in logAndClearCounts()
168 oss << "Run length max page " << std::dec << i << ": " << m_hit_rl_max[i] << "\n"; in logAndClearCounts()
/freebsd-13-stable/usr.bin/calendar/
HDsunpos.c193 #define DEBUG1(y, m, d, hh, mm, pdec, dec) \ argument
195 y, m, d, hh, mm, pdec, dec)
196 #define DEBUG2(y, m, d, hh, mm, pdec, dec, pang, ang) \ argument
198 y, m, d, hh, mm, pdec, dec, pang, ang)
214 double dec, prevdec, L; in fequinoxsolstice() local
314 0.0, 0.0, &L, &dec); in fequinoxsolstice()
315 angle = ANGLE(prevdec, dec); in fequinoxsolstice()
319 prevdec, dec, prevangle, angle); in fequinoxsolstice()
326 prevdec = dec; in fequinoxsolstice()
344 0.0, 0.0, &L, &dec); in fequinoxsolstice()
[all …]
/freebsd-13-stable/sys/contrib/ck/include/
HDck_pr.h662 CK_PR_UNARY_S(dec, sub, char, char)
667 CK_PR_UNARY_Z_S(dec, char, char, -, 1)
669 CK_PR_UNARY_Z_STUB(dec, char, char)
690 CK_PR_UNARY_S(dec, sub, int, int)
695 CK_PR_UNARY_Z_S(dec, int, int, -, 1)
697 CK_PR_UNARY_Z_STUB(dec, int, int)
712 CK_PR_UNARY_S(dec, sub, double, double)
733 CK_PR_UNARY_S(dec, sub, uint, unsigned int)
738 CK_PR_UNARY_Z_S(dec, uint, unsigned int, -, 1)
740 CK_PR_UNARY_Z_STUB(dec, uint, unsigned int)
[all …]
/freebsd-13-stable/crypto/libecc/src/nn/
HDnn_logical.c41 int ipos, opos, dec, ret; in nn_lshift_fixedlen() local
50 dec = cnt / WORD_BITS; in nn_lshift_fixedlen()
57 ipos = opos - dec - 1; in nn_lshift_fixedlen()
62 ipos = opos - dec; in nn_lshift_fixedlen()
97 int ipos, opos, dec, ret; in nn_lshift() local
114 dec = cnt / WORD_BITS; in nn_lshift()
121 ipos = opos - dec - 1; in nn_lshift()
126 ipos = opos - dec; in nn_lshift()
159 int ipos, opos, dec, ret; in nn_rshift_fixedlen() local
168 dec = cnt / WORD_BITS; in nn_rshift_fixedlen()
[all …]
/freebsd-13-stable/contrib/wpa/src/crypto/
HDcrypto_gnutls.c398 gcry_cipher_hd_t dec; member
420 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_STREAM, 0); in crypto_cipher_init()
430 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0); in crypto_cipher_init()
435 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0); in crypto_cipher_init()
440 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0); in crypto_cipher_init()
448 gcry_cipher_open(&ctx->dec, a, GCRY_CIPHER_MODE_CBC, 0); in crypto_cipher_init()
461 gcry_cipher_setkey(ctx->dec, key, key_len) != GPG_ERR_NO_ERROR) { in crypto_cipher_init()
463 gcry_cipher_close(ctx->dec); in crypto_cipher_init()
470 gcry_cipher_setiv(ctx->dec, iv, ivlen) != GPG_ERR_NO_ERROR) { in crypto_cipher_init()
472 gcry_cipher_close(ctx->dec); in crypto_cipher_init()
[all …]
/freebsd-13-stable/tests/sys/opencrypto/
HDcryptodev.py601 dec = c.decrypt(ct, iv) variable
603 print('dec:', binascii.hexlify(dec))
606 assert pt == dec
622 dec = c.decrypt(ct, iv) variable
624 print('dec:', binascii.hexlify(dec))
627 assert pt == dec
642 dec = c.decrypt(ct, iv) variable
644 print('dec:', binascii.hexlify(dec))
647 assert pt == dec
673 dec, dectag = c.decrypt(ct, iv, aad=aad, tag=enctag) variable
[all …]

12345678910>>...12