Home
last modified time | relevance | path

Searched refs:chunks (Results 1 – 25 of 58) sorted by relevance

123

/mirbsd/src/sbin/isakmpd/
Dmath_2n.c82 getrandom((u_int8_t *) n->limp, CHUNK_BYTES * n->chunks); in b2n_random()
88 n->limp[n->chunks - 1] &= m; in b2n_random()
99 n->chunks = 0; in b2n_init()
111 b2n_resize(b2n_ptr n, unsigned int chunks) in b2n_resize() argument
113 size_t old = n->chunks; in b2n_resize()
117 if (chunks == 0) in b2n_resize()
118 chunks = 1; in b2n_resize()
120 if (chunks == old) in b2n_resize()
123 size = CHUNK_BYTES * chunks; in b2n_resize()
130 n->chunks = chunks; in b2n_resize()
[all …]
Dmath_2n.h67 u_int16_t chunks; member
78 (x)->chunks = (y)->chunks; \
95 #define B2N_MIN(x,y) ((x)->chunks > (y)->chunks ? (y) : (x))
96 #define B2N_MAX(x,y) ((x)->chunks > (y)->chunks ? (x) : (y))
Dmath_group.c756 int chunks, bytes, i, j; in ec2n_getraw() local
761 chunks = (CHUNK_MASK + bytes) >> CHUNK_SHIFTS; in ec2n_getraw()
764 for (i = chunks - 1; i >= 0; i--) { in ec2n_getraw()
765 tmp = (i >= x->chunks ? 0 : x->limp[i]); in ec2n_getraw()
766 for (j = (i == chunks - 1 ? bytes : CHUNK_BYTES) - 1; j >= 0; in ec2n_getraw()
771 e += (i == chunks - 1 ? bytes : CHUNK_BYTES); in ec2n_getraw()
821 if (a->y->chunks == 0) in ec2n_operation()
Dmath_ec2n.c332 if (b2n_resize(k, h->chunks)) in ec2np_mul()
/mirbsd/src/gnu/usr.bin/binutils/libiberty/
Dobjalloc.c97 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create()
98 if (ret->chunks == NULL) in objalloc_create()
104 chunk = (struct objalloc_chunk *) ret->chunks; in objalloc_create()
143 chunk->next = (struct objalloc_chunk *) o->chunks; in _objalloc_alloc()
146 o->chunks = (PTR) chunk; in _objalloc_alloc()
157 chunk->next = (struct objalloc_chunk *) o->chunks; in _objalloc_alloc()
163 o->chunks = (PTR) chunk; in _objalloc_alloc()
176 l = (struct objalloc_chunk *) o->chunks; in objalloc_free()
201 for (p = (struct objalloc_chunk *) o->chunks; p != NULL; p = p->next) in objalloc_free_block()
233 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
[all …]
/mirbsd/src/gnu/usr.bin/perl/lib/ExtUtils/
DMM_OS2.pm100 my @chunks = split /\n{2,}/, $old;
101 shift @chunks unless length $chunks[0]; # Empty lines at the start
102 $chunks[0] .= <<'EOC';
106 return join "\n\n". '', @chunks;
/mirbsd/src/sbin/disklabel/
Deditor.c428 struct diskchunk *chunks; in editor_add() local
520 chunks = free_chunks(lp); in editor_add()
521 for (i = 0; chunks[i].start != 0 || chunks[i].stop != 0; i++) { in editor_add()
522 if (pp->p_offset >= chunks[i].start && in editor_add()
523 pp->p_offset < chunks[i].stop) { in editor_add()
524 pp->p_size = chunks[i].stop - pp->p_offset; in editor_add()
789 struct diskchunk *chunks; in next_offset() local
824 chunks = free_chunks(lp); in next_offset()
826 for (i = 0; chunks[i].start != 0 || chunks[i].stop != 0; i++) { in next_offset()
827 if (chunks[i].stop - chunks[i].start > new_size) { in next_offset()
[all …]
/mirbsd/src/lib/libssl/src/crypto/
Dmem_dbg.c587 int chunks; member
630 l->chunks++; in print_leak()
692 ml.chunks=0; in IMPLEMENT_LHASH_DOALL_ARG_FN()
696 if (ml.chunks != 0) in IMPLEMENT_LHASH_DOALL_ARG_FN()
699 ml.bytes,ml.chunks); in IMPLEMENT_LHASH_DOALL_ARG_FN()
/mirbsd/src/sys/dev/wscons/
Dfiles.wscons9 # interactions between them. In particular, chunks of the glue,
10 # keyboard, and mouse code are called directly by other chunks. Also,
/mirbsd/src/gnu/usr.bin/perl/ext/B/t/
DOptreeCheck.pm1002 my @chunks = <$fh>;
1003 print preamble (scalar @chunks);
1004 foreach $t (@chunks) {
/mirbsd/src/gnu/usr.bin/binutils/include/
Dobjalloc.h48 void *chunks; member
/mirbsd/src/lib/libssl/src/doc/crypto/
DRAND_egd.pod41 a socket interface through which entropy can be gathered in chunks up to
42 255 bytes. Several chunks can be queried during one connection.
Dripemd.pod35 RIPEMD160_Update() can be called repeatedly with chunks of the message to
Dmdc2.pod35 MDC2_Update() can be called repeatedly with chunks of the message to
Dsha.pod34 SHA1_Update() can be called repeatedly with chunks of the message to
Dmd5.pod57 MD2_Update() can be called repeatedly with chunks of the message to
Dhmac.pod73 HMAC_Update() can be called repeatedly with chunks of the message to
DBIO_s_mem.pod78 read in small chunks the operation can be very slow. The use of a read only
Dblowfish.pod69 encrypts or decrypts the 64 bits chunks of B<in> using the key B<schedule>,
/mirbsd/src/gnu/usr.bin/perl/ext/B/B/
DC.pm63 $section->[-1]{chunks} = [];
98 push @{$section->{chunks}}, $current;
118 push @{$section->[-1]{chunks}}, $section->[-1]{current};
121 foreach my $i ( @{$section->[-1]{chunks}} ) {
/mirbsd/src/lib/libpcap/
Dgencode.c114 static struct chunk chunks[NCHUNKS]; variable
178 cp = &chunks[cur_chunk];
204 if (chunks[i].m != NULL) { in freechunks()
205 free(chunks[i].m); in freechunks()
206 chunks[i].m = NULL; in freechunks()
/mirbsd/src/gnu/usr.bin/perl/lib/Pod/
DHtml.pm323 my @chunks = split( /^\s+$/m, ${$dataref}[$i] );
324 splice( @$dataref, $i, 1, @chunks );
/mirbsd/src/usr.bin/file/magdir/
Danimation150 # Note that title and author appear in the two 20-byte chunks
/mirbsd/src/kern/z/
DFAQ244 Each call of inflate() or deflate() is limited to input and output chunks
246 type, but there is no limit to the number of chunks. Note however that the
/mirbsd/src/gnu/usr.bin/perl/pod/
Dperl584delta.pod32 Perl can now be built to detect attempts to assign pathologically large chunks

123