/dragonfly/sys/crypto/des/ |
H A D | des_enc.c | 80 l=data[1]; in des_encrypt1() 82 IP(r,l); in des_encrypt1() 92 l=ROTATE(l,29)&0xffffffffL; in des_encrypt1() 157 l=ROTATE(l,3)&0xffffffffL; in des_encrypt1() 160 FP(r,l); in des_encrypt1() 161 data[0]=l; in des_encrypt1() 188 l=ROTATE(l,29)&0xffffffffL; in des_encrypt2() 264 IP(l,r); in des_encrypt3() 272 FP(r,l); in des_encrypt3() 284 IP(l,r); in des_decrypt3() [all …]
|
/dragonfly/crypto/libressl/crypto/des/ |
H A D | des_enc.c | 78 IP(r,l); in DES_encrypt1() 88 l=ROTATE(l,29)&0xffffffffL; in DES_encrypt1() 149 l=ROTATE(l,3)&0xffffffffL; in DES_encrypt1() 152 FP(r,l); in DES_encrypt1() 180 l=ROTATE(l,29)&0xffffffffL; in DES_encrypt2() 254 IP(l,r); in DES_encrypt3() 262 FP(r,l); in DES_encrypt3() 274 IP(l,r); in DES_decrypt3() 282 FP(r,l); in DES_decrypt3() 313 for (l-=8; l>=0; l-=8) in DES_ede3_cbc_encrypt() [all …]
|
H A D | fcrypt_b.c | 85 DES_LONG l,r,t,u; in fcrypt_body() local 93 l=0; in fcrypt_body() 111 D_ENCRYPT(l,r, 0); /* 1 */ in fcrypt_body() 112 D_ENCRYPT(r,l, 2); /* 2 */ in fcrypt_body() 113 D_ENCRYPT(l,r, 4); /* 3 */ in fcrypt_body() 114 D_ENCRYPT(r,l, 6); /* 4 */ in fcrypt_body() 115 D_ENCRYPT(l,r, 8); /* 5 */ in fcrypt_body() 129 t=l; in fcrypt_body() 130 l=r; in fcrypt_body() 133 l=ROTATE(l,3)&0xffffffffL; in fcrypt_body() [all …]
|
/dragonfly/crypto/libressl/crypto/bf/ |
H A D | bf_enc.c | 75 BF_LONG l,r; in BF_encrypt() local 80 l=data[0]; in BF_encrypt() 83 l^=p[0]; in BF_encrypt() 113 l=data[0]; in BF_encrypt() 117 l^=k[0]; in BF_encrypt() 152 BF_LONG l,r; in BF_decrypt() local 157 l=data[0]; in BF_decrypt() 190 l=data[0]; in BF_decrypt() 237 for (l-=8; l>=0; l-=8) in BF_cbc_encrypt() 251 if (l != -8) in BF_cbc_encrypt() [all …]
|
/dragonfly/sys/crypto/blowfish/ |
H A D | bf_enc.c | 81 BF_LONG l, r, *p, *s; variable 85 l = data[0]; 88 l^=p[0]; 89 BF_ENC(r, l, s, p[ 1]); 90 BF_ENC(l, r, s, p[ 2]); 91 BF_ENC(r, l, s, p[ 3]); 92 BF_ENC(l, r, s, p[ 4]); 93 BF_ENC(r, l, s, p[ 5]); 121 BF_LONG l, r, *p, *s; in BF_decrypt() local 125 l = data[0]; in BF_decrypt() [all …]
|
/dragonfly/usr.sbin/ppp/ |
H A D | link.c | 79 if (l->stats.gather) { in link_AddInOctets() 81 if (l->stats.parent) in link_AddInOctets() 200 l->proto_in[i]++; in link_ProtocolRecord() 202 l->proto_out[i]++; in link_ProtocolRecord() 215 ProtocolStat[i].name, l->proto_in[i], l->proto_out[i]); in link_ReportProtocolStatus() 241 bp = (*l->layer[layer - 1]->push)(b, l, bp, pri, &proto); in link_PushPacket() 288 bp = (*l->layer[layer]->pull)(b, l, bp, &proto); in link_PullPacket() 309 if (l->nlayers == sizeof l->layer / sizeof l->layer[0]) { in link_Stack() 314 l->layer[l->nlayers++] = layer; in link_Stack() 321 l->nlayers = 0; in link_EmptyStack() [all …]
|
/dragonfly/crypto/libressl/crypto/cast/ |
H A D | c_enc.c | 65 CAST_LONG l,r,t; in CAST_encrypt() local 69 l=data[0]; in CAST_encrypt() 92 data[1]=l&0xffffffffL; in CAST_encrypt() 98 CAST_LONG l,r,t; in CAST_decrypt() local 102 l=data[0]; in CAST_decrypt() 125 data[1]=l&0xffffffffL; in CAST_decrypt() 135 long l=length; in CAST_cbc_encrypt() local 143 for (l-=8; l>=0; l-=8) in CAST_cbc_encrypt() 157 if (l != -8) in CAST_cbc_encrypt() 178 for (l-=8; l>=0; l-=8) in CAST_cbc_encrypt() [all …]
|
H A D | c_skey.c | 65 A[n/4]=l; \ 81 CAST_LONG l,*K; in CAST_set_key() local 102 CAST_exp(l,Z,z, 0); in CAST_set_key() 104 CAST_exp(l,Z,z, 4); in CAST_set_key() 106 CAST_exp(l,Z,z, 8); in CAST_set_key() 108 CAST_exp(l,Z,z,12); in CAST_set_key() 116 CAST_exp(l,X,x, 0); in CAST_set_key() 118 CAST_exp(l,X,x, 4); in CAST_set_key() 120 CAST_exp(l,X,x, 8); in CAST_set_key() 122 CAST_exp(l,X,x,12); in CAST_set_key() [all …]
|
/dragonfly/usr.bin/col/ |
H A D | col.c | 246 l = l->l_prev; in main() 276 l->l_next->l_prev = l; in main() 278 l = l->l_next; in main() 295 if (l->l_line_len + 1 >= l->l_lsize) { in main() 298 need = l->l_lsize ? l->l_lsize * 2 : 90; in main() 299 if ((l->l_line = realloc(l->l_line, in main() 304 c = &l->l_line[l->l_line_len++]; in main() 326 for (; l->l_next; l = l->l_next) in main() 346 LINE *l; in flush_lines() local 355 if (l->l_line || l->l_next) in flush_lines() [all …]
|
/dragonfly/contrib/gcc-4.7/libcpp/ |
H A D | makeucnid.c | 74 while (*l) in read_ucnid() 94 l++; in read_ucnid() 130 if (l == line || *l != ';') in read_table() 136 l++; in read_table() 144 l++; in read_table() 150 combining_value[codepoint] = strtoul (l, &l, 10); in read_table() 156 l++; in read_table() 169 this_decomp[i] = strtoul (l, &l, 16); in read_table() 172 l++; in read_table() 215 if (*l == '.' && l[1] == '.') in read_derived() [all …]
|
/dragonfly/tools/tools/locale/tools/ |
H A D | cldr2def.pl | 285 $l =~ s/\r//; 286 next if ($l =~ /^\#/); 287 next if ($l eq ""); 289 if ($l eq "CHARMAP") { 324 $l =~ s/\r//; 326 next if ($l eq ""); 371 $file = $l . "_"; 444 $file = $l . "_"; 515 $file = $l . "_"; 658 my $file = $l; [all …]
|
H A D | UTF82encoding.pl | 41 my @l = split(//, $line); 42 for (my $i = 0; $i <= $#l; $i++) { 43 my $hex = sprintf("%X", ord($l[$i])); 45 if (( $l[$i] gt "\x20") 46 && ($l[$i] lt "a" || $l[$i] gt "z") 47 && ($l[$i] lt "A" || $l[$i] gt "Z") 48 && ($l[$i] lt "0" || $l[$i] gt "9") 49 && ($l[$i] lt "\x80")) { 50 print $l[$i]; 59 $hex = sprintf("%X%X", ord($l[$i]), ord($l[$i + 1])); [all …]
|
/dragonfly/lib/i18n_module/JOHAB/ |
H A D | citrus_johab.c | 125 return ((l >= 0x84 && l <= 0xD3) && in ishangul() 141 return (((l >= 0xD9 && l <= 0xDE) || (l >= 0xE0 && l <= 0xF9)) && in ishanja() 152 int l, t; in _citrus_JOHAB_mbrtowc_priv() local 166 if (l <= 0x7F) { in _citrus_JOHAB_mbrtowc_priv() 188 if (!ishangul(l, t) && !isuda(l, t) && !ishanja(l, t)) { in _citrus_JOHAB_mbrtowc_priv() 207 int l, t; in _citrus_JOHAB_wcrtomb_priv() local 226 if (!ishangul(l, t) && !isuda(l, t) && !ishanja(l, t)) in _citrus_JOHAB_wcrtomb_priv() 228 *s++ = l; in _citrus_JOHAB_wcrtomb_priv() 254 if (ishangul(l, t) || isuda(l, t)) { in _citrus_JOHAB_stdenc_wctocs() 258 if (l >= 0xD9 && l <= 0xDE) { in _citrus_JOHAB_stdenc_wctocs() [all …]
|
/dragonfly/usr.bin/window/ |
H A D | parser4.c | 53 struct value l, r; in p_expr3_10() local 135 l = *v; in p_expr3_10() 136 if (l.v_type == V_ERR) in p_expr3_10() 144 val_free(l); in p_expr3_10() 158 if (l.v_type == V_STR) { in p_expr3_10() 164 if (p_convstr(&l) < 0) in p_expr3_10() 191 val_free(l); in p_expr3_10() 209 str_free(l.v_str); in p_expr3_10() 211 l.v_type = V_NUM; in p_expr3_10() 212 l.v_num = tmp; in p_expr3_10() [all …]
|
/dragonfly/lib/libsdp/ |
H A D | sdp.h | 354 (l) = be32dec(cp); \ 359 (l) = be64dec(cp); \ 395 #define SDP_GET_UUID128(l, cp) SDP_GET128(l, cp) argument 429 *t_cp++ = (l)->b[9]; \ 430 *t_cp++ = (l)->b[8]; \ 431 *t_cp++ = (l)->b[7]; \ 432 *t_cp++ = (l)->b[6]; \ 433 *t_cp++ = (l)->b[5]; \ 434 *t_cp++ = (l)->b[4]; \ 435 *t_cp++ = (l)->b[3]; \ [all …]
|
/dragonfly/lib/libc/locale/ |
H A D | setrunelocale.c | 72 free(l->runes); in destruct_ctype() 73 free(l); in destruct_ctype() 117 l->__mbrtowc = NULL; in __setrunelocale() 118 l->__mbsinit = NULL; in __setrunelocale() 119 l->__mbsnrtowcs = NULL; in __setrunelocale() 120 l->__wcrtomb = NULL; in __setrunelocale() 121 l->__wcsnrtombs = NULL; in __setrunelocale() 128 ret = _none_init(l, rl); in __setrunelocale() 144 ret = _GBK_init(l, rl); in __setrunelocale() 199 free(l); in __ctype_load() [all …]
|
/dragonfly/contrib/libedit/src/ |
H A D | literal.c | 53 memset(l, 0, sizeof(*l)); in literal_init() 68 if (l->l_len == 0) in literal_clear() 74 l->l_buf = NULL; in literal_clear() 75 l->l_len = 0; in literal_clear() 76 l->l_idx = 0; in literal_clear() 113 if (l->l_idx == l->l_len) { in literal_add() 116 l->l_len += 4; in literal_add() 117 bp = el_realloc(l->l_buf, sizeof(*l->l_buf) * l->l_len); in literal_add() 120 l->l_len -= 4; in literal_add() 123 l->l_buf = bp; in literal_add() [all …]
|
/dragonfly/crypto/libressl/crypto/ |
H A D | md32_common.h | 165 (c)+=4; (l)=r; }) 166 # define HOST_l2c(l,c) ({ unsigned int r=(l); \ argument 173 #define HOST_c2l(c,l) do {l =(((unsigned long)(*((c)++)))<<24); \ argument 180 #define HOST_l2c(l,c) do {*((c)++)=(unsigned char)(((l)>>24)&0xff); \ argument 190 # define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4) argument 191 # define HOST_l2c(l,c) (*((unsigned int *)(c))=(l), (c)+=4) argument 195 #define HOST_c2l(c,l) do {l =(((unsigned long)(*((c)++))) ); \ argument 202 #define HOST_l2c(l,c) do {*((c)++)=(unsigned char)(((l) )&0xff); \ argument 220 HASH_LONG l; in HASH_UPDATE() local 229 if (l < c->Nl) /* overflow */ in HASH_UPDATE() [all …]
|
/dragonfly/lib/libcrypt/ |
H A D | deprecated-crypt-sha256.c | 67 unsigned long l; in crypt_deprecated_sha256() local 107 _crypt_to64(p, l, 4); p += 4; in crypt_deprecated_sha256() 109 _crypt_to64(p, l, 4); p += 4; in crypt_deprecated_sha256() 111 _crypt_to64(p, l, 4); p += 4; in crypt_deprecated_sha256() 113 _crypt_to64(p, l, 4); p += 4; in crypt_deprecated_sha256() 115 _crypt_to64(p, l, 4); p += 4; in crypt_deprecated_sha256() 117 _crypt_to64(p, l, 4); p += 4; in crypt_deprecated_sha256() 119 _crypt_to64(p, l, 4); p += 4; in crypt_deprecated_sha256() 121 _crypt_to64(p, l, 4); p += 4; in crypt_deprecated_sha256() 123 _crypt_to64(p, l, 4); p += 4; in crypt_deprecated_sha256() [all …]
|
/dragonfly/sys/opencrypto/ |
H A D | cast.c | 50 F1(l, r, 0); in cast_encrypt() 51 F2(r, l, 1); in cast_encrypt() 52 F3(l, r, 2); in cast_encrypt() 53 F1(r, l, 3); in cast_encrypt() 54 F2(l, r, 4); in cast_encrypt() 55 F3(r, l, 5); in cast_encrypt() 56 F1(l, r, 6); in cast_encrypt() 57 F2(r, l, 7); in cast_encrypt() 58 F3(l, r, 8); in cast_encrypt() 59 F1(r, l, 9); in cast_encrypt() [all …]
|
/dragonfly/games/atc/ |
H A D | list.c | 62 l->head = l->tail = p; in append() 64 q = l -> head; in append() 81 l->head = p; in append() 84 l->tail->next = p; in append() 86 p->prev = l->tail; in append() 87 l->tail = p; in append() 95 if (l->head == NULL) in delete() 98 if (l->head == p && l->tail == p) in delete() 99 l->head = l->tail = NULL; in delete() 101 l->head = p->next; in delete() [all …]
|
/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_read_support_filter_uu.c | 262 int l; in uudecode_bidder_bid() local 280 l = 6; in uudecode_bidder_bid() 286 if (l > 0 && (b[l] < '0' || b[l] > '7' || in uudecode_bidder_bid() 287 b[l+1] < '0' || b[l+1] > '7' || in uudecode_bidder_bid() 288 b[l+2] < '0' || b[l+2] > '7' || b[l+3] != ' ')) in uudecode_bidder_bid() 293 if (l) in uudecode_bidder_bid() 323 --l; in uudecode_bidder_bid() 540 if (l != 0 && b[l] >= '0' && b[l] <= '7' && in uudecode_filter_read() 541 b[l+1] >= '0' && b[l+1] <= '7' && in uudecode_filter_read() 542 b[l+2] >= '0' && b[l+2] <= '7' && b[l+3] == ' ') { in uudecode_filter_read() [all …]
|
/dragonfly/usr.sbin/keyserv/ |
H A D | setkey.c | 330 for (l = &g_secretkey_netname; *l != NULL && (*l)->uid != uid; in store_netname() 331 l = &(*l)->next) { in store_netname() 340 *l = new; in store_netname() 368 for (l = g_secretkey_netname; l != NULL; l = l->next) { in fetch_netname() 369 if ((l->uid == uid) && (l->sc_flag == KEY_NAME)){ in fetch_netname() 394 for (l = g_secretkey_netname; l != NULL; l = l->next) { in fetchsecretkey() 411 for (l = &g_secretkey_netname; *l != NULL && (*l)->uid != uid; in storesecretkey() 412 l = &(*l)->next) { in storesecretkey() 519 for (l = &g_cachedkeys; (*l) != NULL && !cachehit(pub, sec, *l); in readcache() 520 l = &(*l)->next) in readcache() [all …]
|
/dragonfly/usr.sbin/pw/ |
H A D | grupd.c | 94 l = -1; in fmtgrentry() 108 l += sprintf(*buf + l, "%s%s", i ? "," : "", grp->gr_mem[i]); in fmtgrentry() 111 (*buf)[l++] = '\n'; in fmtgrentry() 112 (*buf)[l] = '\0'; in fmtgrentry() 114 return l; in fmtgrentry() 128 int l; in gr_update() local 140 l = -1; in gr_update() 142 l = fileupdate(getgrpath(_GROUP), 0644, grbuf, pfx, l, mode); in gr_update() 143 if (l == 0) in gr_update() 144 l = grdb(NULL); in gr_update() [all …]
|
/dragonfly/crypto/libressl/crypto/md4/ |
H A D | md4_dgst.c | 107 HOST_c2l(data,l); X( 0)=l; in md4_block_data_order() 108 HOST_c2l(data,l); X( 1)=l; in md4_block_data_order() 110 R0(A,B,C,D,X( 0), 3,0); HOST_c2l(data,l); X( 2)=l; in md4_block_data_order() 111 R0(D,A,B,C,X( 1), 7,0); HOST_c2l(data,l); X( 3)=l; in md4_block_data_order() 112 R0(C,D,A,B,X( 2),11,0); HOST_c2l(data,l); X( 4)=l; in md4_block_data_order() 113 R0(B,C,D,A,X( 3),19,0); HOST_c2l(data,l); X( 5)=l; in md4_block_data_order() 114 R0(A,B,C,D,X( 4), 3,0); HOST_c2l(data,l); X( 6)=l; in md4_block_data_order() 115 R0(D,A,B,C,X( 5), 7,0); HOST_c2l(data,l); X( 7)=l; in md4_block_data_order() 116 R0(C,D,A,B,X( 6),11,0); HOST_c2l(data,l); X( 8)=l; in md4_block_data_order() 117 R0(B,C,D,A,X( 7),19,0); HOST_c2l(data,l); X( 9)=l; in md4_block_data_order() [all …]
|