HomeSort by relevance Sort by last modified time
    Searched refs:bsize (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/dropbear/libtommath/
bn_mp_prime_random_ex.c 37 int res, err, bsize, maskOR_msb_offset; local
50 bsize = (size>>3) + ((size&7)?1:0);
52 /* we need a buffer of bsize bytes */
53 tmp = OPT_CAST(unsigned char) XMALLOC(bsize);
76 if (cb(tmp, bsize, dat) != bsize) {
87 tmp[bsize-1] |= maskOR_lsb;
90 if ((err = mp_read_unsigned_bin(a, tmp, bsize)) != MP_OKAY) { goto error; }
  /frameworks/base/services/java/com/android/server/
DiskStatsService.java 88 long bsize = statfs.getBlockSize(); local
91 if (bsize <= 0 || total <= 0) {
93 "Invalid stat: bsize=" + bsize + " avail=" + avail + " total=" + total);
98 pw.print(avail * bsize / 1024);
100 pw.print(total * bsize / 1024);
  /libcore/luni/src/main/java/java/util/zip/
DeflaterOutputStream.java 87 * @param bsize
90 public DeflaterOutputStream(OutputStream os, Deflater def, int bsize) {
91 this(os, def, bsize, false);
114 public DeflaterOutputStream(OutputStream os, Deflater def, int bsize, boolean syncFlush) {
119 if (bsize <= 0) {
124 buf = new byte[bsize];
InflaterInputStream.java 100 * @param bsize
103 public InflaterInputStream(InputStream is, Inflater inflater, int bsize) {
108 if (bsize <= 0) {
114 nativeEndBufSize = bsize;
116 buf = new byte[bsize];
ZipFile.java 452 public ZipInflaterInputStream(InputStream is, Inflater inf, int bsize, ZipEntry entry) {
453 super(is, inf, bsize);
  /external/qemu/
ioport.c 124 static int ioport_bsize(int size, int *bsize)
127 *bsize = 0;
129 *bsize = 1;
131 *bsize = 2;
142 int i, bsize; local
144 if (ioport_bsize(size, &bsize)) {
149 ioport_read_table[bsize][i] = func;
161 int i, bsize; local
163 if (ioport_bsize(size, &bsize)) {
168 ioport_write_table[bsize][i] = func
    [all...]
a.out.h 77 host_ulong bsize; /* uninitialized data " " */ member in struct:__anon5806
375 host_ulong bsize; /* uninitialized data " " */ member in struct:__anon5820
  /external/e2fsprogs/misc/
findsuper.c 191 unsigned long long bsize, grpsize; local
231 bsize = 1 << (ext2.s_log_block_size + 10);
232 grpsize = bsize * ext2.s_blocks_per_group;
240 if (ext2.s_block_group_nr == 0 || bsize == 1024)
249 sk + ext2.s_blocks_count * bsize -
251 jnl_copy ? "*" : " ", ext2.s_blocks_count, bsize,
  /external/grub/stage2/
fsys_ffs.c 101 int bnum, offset, bsize; local
114 bsize = MAPBUF_LEN;
121 bsize = SUPERBLOCK->fs_bsize;
125 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF))
135 mapblock_bsize = bsize;
fsys_ufs2.c 125 int bnum, offset, bsize; local
139 bsize = MAPBUF_LEN;
146 bsize = SUPERBLOCK->fs_bsize;
150 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF))
160 mapblock_bsize = bsize;
fsys_xfs.c 36 int bsize; member in struct:xfs_info
466 xfs.bsize = le32 (super.sb_blocksize);
472 xfs.dirbsize = xfs.bsize << super.sb_dirblklog;
479 ((xfs.bsize - sizeof(xfs_btree_block_t)) /
543 char linkbuf[xfs.bsize];
558 if (di_size < xfs.bsize - 1) {
568 while (n < (xfs.bsize - 1) && (linkbuf[n++] = *dirname++));
  /external/quake/quake/src/WinQuake/
snd_sun.cpp 182 int bsize; local
193 bsize = shm->channels * (shm->samplebits/8);
194 bytes = (paintedtime - wbufp) * bsize;
201 stop = wbufp + bytes/bsize;
205 idx = (wbufp*bsize) & (BUFFER_SIZE - 1);
  /system/core/toolbox/
cat.c 155 static size_t bsize; local
164 bsize = sbuf.st_blksize > CAT_BUFSIZ ?
166 buf = malloc(bsize);
170 bsize = CAT_BUFSIZ;
173 while ((nr = read(rfd, buf, bsize)) > 0)
  /external/chromium/third_party/zlib/
zutil.c 221 ulg bsize = (ulg)items*size; local
226 if (bsize < 65520L) {
227 buf = farmalloc(bsize);
230 buf = farmalloc(bsize + 16L);
  /external/qemu/distrib/zlib-1.2.3/
zutil.c 219 ulg bsize = (ulg)items*size; local
224 if (bsize < 65520L) {
225 buf = farmalloc(bsize);
228 buf = farmalloc(bsize + 16L);
  /device/samsung/crespo/alsa-lib/src/
input.c 251 size_t bsize = buffer->size; local
252 while (--size > 0 && bsize > 0) {
254 bsize--;
259 if (bsize == buffer->size)
261 buffer->size = bsize;
  /external/stlport/src/
num_put_float.cpp 231 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize)
232 { return ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; }
233 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize)
234 { return fcvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; }
236 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf, size_t bsize)
237 { return qecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; }
238 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf, size_t bsize)
239 { return qfcvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; }
254 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize)
255 { return (ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0);
    [all...]
  /ndk/sources/android/stlport/src/
num_put_float.cpp 231 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize)
232 { return ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; }
233 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize)
234 { return fcvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; }
236 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf, size_t bsize)
237 { return qecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; }
238 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf, size_t bsize)
239 { return qfcvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; }
254 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize)
255 { return (ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0);
    [all...]
  /external/zlib/
zutil.c 219 ulg bsize = (ulg)items*size; local
224 if (bsize < 65520L) {
225 buf = farmalloc(bsize);
228 buf = farmalloc(bsize + 16L);
  /external/openssl/apps/
enc.c 75 #undef BSIZE
79 #define BSIZE (8*1024)
111 int bsize=BSIZE,verbose=0; local
370 bsize=(int)n;
371 if (verbose) BIO_printf(bio_err,"bufsize=%d\n",bsize);
375 buff=(unsigned char *)OPENSSL_malloc(EVP_ENCODE_LENGTH(bsize));
378 BIO_printf(bio_err,"OPENSSL_malloc failure %ld\n",(long)EVP_ENCODE_LENGTH(bsize));
653 inl=BIO_read(rbio,(char *)buff,bsize);
  /external/iproute2/tc/
f_u32.c 87 int bsize = SPRINT_BSIZE-1; local
94 snprintf(b, bsize, "none");
98 int l = snprintf(b, bsize, "%x:", htid>>20);
99 bsize -= l;
104 int l = snprintf(b, bsize, "%x", hash);
105 bsize -= l;
109 int l = snprintf(b, bsize, ":%x", nodeid);
110 bsize -= l;
115 snprintf(b, bsize, "[%08x] ", handle);
  /external/svox/pico/lib/
picoos.c 148 picoos_int16 picoos_slprintf(picoos_char * b, picoos_uint32 bsize, const picoos_char *f, ...)
154 i = (picoos_int16)picopal_vslprintf((picoos_char *) b, bsize, (const picoos_char *)f, args);
661 picoos_uint16 bsize; local
795 bsize = picoos_strlcpy(dst,base,siz);
796 if ((NULL != fmt) && (bsize < siz)) { /* there is something to add and more space to add it */
797 if (bsize > 0) {
798 dst += bsize;
799 siz -= bsize;
800 bsize = picoos_strlcpy(dst,(picoos_char *)": ",siz);
802 if (bsize < siz)
    [all...]
  /device/samsung/crespo/alsa-lib/src/pcm/
pcm_dsnoop.c 772 int bsize, psize; local
785 bsize = psize = -1;
794 SND_PCM_HW_PARAM_BUFFER_SIZE, 0, &bsize,
807 params.buffer_size = bsize;
  /system/core/fastboot/
fastboot.c 247 unsigned bsize; local
282 bdata = mkbootimg(kdata, ksize, rdata, rsize, 0, 0, page_size, base_addr, &bsize);
288 fprintf(stderr,"creating boot image - %d bytes\n", bsize);
289 *sz = bsize;
  /external/freetype/src/sfnt/
sfobjs.c 920 FT_Bitmap_Size* bsize = root->available_sizes + i; local
927 bsize->height = (FT_Short)( metrics.height >> 6 );
928 bsize->width = (FT_Short)(
931 bsize->x_ppem = metrics.x_ppem << 6;
932 bsize->y_ppem = metrics.y_ppem << 6;
935 bsize->size = metrics.y_ppem << 6;
    [all...]

Completed in 745 milliseconds

1 2 3