Home
last modified time | relevance | path

Searched refs:bsize (Results 1 – 25 of 30) sorted by relevance

12

/external/dropbear/libtommath/
Dbn_mp_prime_random_ex.c37 int res, err, bsize, maskOR_msb_offset; in mp_prime_random_ex() local
50 bsize = (size>>3) + ((size&7)?1:0); in mp_prime_random_ex()
53 tmp = OPT_CAST(unsigned char) XMALLOC(bsize); in mp_prime_random_ex()
76 if (cb(tmp, bsize, dat) != bsize) { in mp_prime_random_ex()
87 tmp[bsize-1] |= maskOR_lsb; in mp_prime_random_ex()
90 if ((err = mp_read_unsigned_bin(a, tmp, bsize)) != MP_OKAY) { goto error; } in mp_prime_random_ex()
/external/qemu/
Dioport.c124 static int ioport_bsize(int size, int *bsize) in ioport_bsize() argument
127 *bsize = 0; in ioport_bsize()
129 *bsize = 1; in ioport_bsize()
131 *bsize = 2; in ioport_bsize()
142 int i, bsize; in register_ioport_read() local
144 if (ioport_bsize(size, &bsize)) { in register_ioport_read()
149 ioport_read_table[bsize][i] = func; in register_ioport_read()
161 int i, bsize; in register_ioport_write() local
163 if (ioport_bsize(size, &bsize)) { in register_ioport_write()
168 ioport_write_table[bsize][i] = func; in register_ioport_write()
Da.out.h77 host_ulong bsize; /* uninitialized data " " */ member
375 host_ulong bsize; /* uninitialized data " " */ member
Dvl.c378 int i, bsize; in register_ioport_read() local
381 bsize = 0; in register_ioport_read()
383 bsize = 1; in register_ioport_read()
385 bsize = 2; in register_ioport_read()
391 ioport_read_table[bsize][i] = func; in register_ioport_read()
403 int i, bsize; in register_ioport_write() local
406 bsize = 0; in register_ioport_write()
408 bsize = 1; in register_ioport_write()
410 bsize = 2; in register_ioport_write()
416 ioport_write_table[bsize][i] = func; in register_ioport_write()
/external/e2fsprogs/misc/
Dfindsuper.c191 unsigned long long bsize, grpsize; in main() local
231 bsize = 1 << (ext2.s_log_block_size + 10); in main()
232 grpsize = bsize * ext2.s_blocks_per_group; in main()
240 if (ext2.s_block_group_nr == 0 || bsize == 1024) in main()
249 sk + ext2.s_blocks_count * bsize - in main()
251 jnl_copy ? "*" : " ", ext2.s_blocks_count, bsize, in main()
/external/quake/quake/src/WinQuake/
Dsnd_sun.cpp182 int bsize; in SNDDMA_Submit() local
193 bsize = shm->channels * (shm->samplebits/8); in SNDDMA_Submit()
194 bytes = (paintedtime - wbufp) * bsize; in SNDDMA_Submit()
201 stop = wbufp + bytes/bsize; in SNDDMA_Submit()
205 idx = (wbufp*bsize) & (BUFFER_SIZE - 1); in SNDDMA_Submit()
Dvid_svgalib.cpp474 int bsize, zsize, tsize; in VID_SetMode() local
521 bsize = vid.rowbytes * vid.height; in VID_SetMode()
527 d_pzbuffer = Hunk_HighAllocName (bsize+tsize+zsize, "video"); in VID_SetMode()
/external/stlport/src/
Dnum_put_float.cpp231 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize) in _Stl_ecvtR() argument
232 { return ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; } in _Stl_ecvtR()
233 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize) in _Stl_fcvtR() argument
234 { return fcvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; } in _Stl_fcvtR()
236 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf, size_t bsize) in _Stl_ecvtR() argument
237 { return qecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; } in _Stl_ecvtR()
238 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf, size_t bsize) in _Stl_fcvtR() argument
239 { return qfcvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; } in _Stl_fcvtR()
254 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize) in _Stl_ecvtR() argument
255 { return (ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0); } in _Stl_ecvtR()
[all …]
/external/grub/stage2/
Dfsys_ffs.c101 int bnum, offset, bsize; in block_map() local
114 bsize = MAPBUF_LEN; in block_map()
121 bsize = SUPERBLOCK->fs_bsize; in block_map()
125 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF)) in block_map()
135 mapblock_bsize = bsize; in block_map()
Dfsys_ufs2.c125 int bnum, offset, bsize; in block_map() local
139 bsize = MAPBUF_LEN; in block_map()
146 bsize = SUPERBLOCK->fs_bsize; in block_map()
150 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF)) in block_map()
160 mapblock_bsize = bsize; in block_map()
Dfsys_xfs.c36 int bsize; member
466 xfs.bsize = le32 (super.sb_blocksize); in xfs_mount()
472 xfs.dirbsize = xfs.bsize << super.sb_dirblklog; in xfs_mount()
479 ((xfs.bsize - sizeof(xfs_btree_block_t)) / in xfs_mount()
543 char linkbuf[xfs.bsize]; in xfs_dir()
558 if (di_size < xfs.bsize - 1) { in xfs_dir()
568 while (n < (xfs.bsize - 1) && (linkbuf[n++] = *dirname++)); in xfs_dir()
Dfsys_jfs.c34 int bsize; member
220 jfs.bsize = super.s_bsize; in jfs_mount()
/external/chromium/third_party/zlib/
Dzutil.c221 ulg bsize = (ulg)items*size; in zcalloc() local
226 if (bsize < 65520L) { in zcalloc()
227 buf = farmalloc(bsize); in zcalloc()
230 buf = farmalloc(bsize + 16L); in zcalloc()
/external/qemu/distrib/zlib-1.2.3/
Dzutil.c219 ulg bsize = (ulg)items*size; in zcalloc() local
224 if (bsize < 65520L) { in zcalloc()
225 buf = farmalloc(bsize); in zcalloc()
228 buf = farmalloc(bsize + 16L); in zcalloc()
/external/zlib/
Dzutil.c219 ulg bsize = (ulg)items*size; in zcalloc() local
224 if (bsize < 65520L) { in zcalloc()
225 buf = farmalloc(bsize); in zcalloc()
228 buf = farmalloc(bsize + 16L); in zcalloc()
/external/openssl/apps/
Denc.c111 int bsize=BSIZE,verbose=0; in MAIN() local
370 bsize=(int)n; in MAIN()
371 if (verbose) BIO_printf(bio_err,"bufsize=%d\n",bsize); in MAIN()
375 buff=(unsigned char *)OPENSSL_malloc(EVP_ENCODE_LENGTH(bsize)); in MAIN()
378 BIO_printf(bio_err,"OPENSSL_malloc failure %ld\n",(long)EVP_ENCODE_LENGTH(bsize)); in MAIN()
653 inl=BIO_read(rbio,(char *)buff,bsize); in MAIN()
/external/freetype/src/base/
Dftobjs.c2170 FT_Bitmap_Size* bsize = face->available_sizes + i; in FT_Open_Face() local
2173 if ( bsize->height < 0 ) in FT_Open_Face()
2174 bsize->height = (FT_Short)-bsize->height; in FT_Open_Face()
2175 if ( bsize->x_ppem < 0 ) in FT_Open_Face()
2176 bsize->x_ppem = (FT_Short)-bsize->x_ppem; in FT_Open_Face()
2177 if ( bsize->y_ppem < 0 ) in FT_Open_Face()
2178 bsize->y_ppem = -bsize->y_ppem; in FT_Open_Face()
2474 FT_Bitmap_Size* bsize = face->available_sizes + i; in FT_Match_Size() local
2477 if ( h != FT_PIX_ROUND( bsize->y_ppem ) ) in FT_Match_Size()
2480 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width ) in FT_Match_Size()
[all …]
/external/iproute2/tc/
Df_u32.c87 int bsize = SPRINT_BSIZE-1; in sprint_u32_handle() local
94 snprintf(b, bsize, "none"); in sprint_u32_handle()
98 int l = snprintf(b, bsize, "%x:", htid>>20); in sprint_u32_handle()
99 bsize -= l; in sprint_u32_handle()
104 int l = snprintf(b, bsize, "%x", hash); in sprint_u32_handle()
105 bsize -= l; in sprint_u32_handle()
109 int l = snprintf(b, bsize, ":%x", nodeid); in sprint_u32_handle()
110 bsize -= l; in sprint_u32_handle()
115 snprintf(b, bsize, "[%08x] ", handle); in sprint_u32_handle()
/external/freetype/src/sfnt/
Dsfobjs.c920 FT_Bitmap_Size* bsize = root->available_sizes + i; in sfnt_load_face() local
927 bsize->height = (FT_Short)( metrics.height >> 6 ); in sfnt_load_face()
928 bsize->width = (FT_Short)( in sfnt_load_face()
931 bsize->x_ppem = metrics.x_ppem << 6; in sfnt_load_face()
932 bsize->y_ppem = metrics.y_ppem << 6; in sfnt_load_face()
935 bsize->size = metrics.y_ppem << 6; in sfnt_load_face()
/external/svox/pico/lib/
Dpicoos.c148 picoos_int16 picoos_slprintf(picoos_char * b, picoos_uint32 bsize, const picoos_char *f, ...) in picoos_slprintf() argument
154 i = (picoos_int16)picopal_vslprintf((picoos_char *) b, bsize, (const picoos_char *)f, args); in picoos_slprintf()
661 picoos_uint16 bsize; in picoos_vSetErrorMsg() local
795 bsize = picoos_strlcpy(dst,base,siz); in picoos_vSetErrorMsg()
796 if ((NULL != fmt) && (bsize < siz)) { /* there is something to add and more space to add it */ in picoos_vSetErrorMsg()
797 if (bsize > 0) { in picoos_vSetErrorMsg()
798 dst += bsize; in picoos_vSetErrorMsg()
799 siz -= bsize; in picoos_vSetErrorMsg()
800 bsize = picoos_strlcpy(dst,(picoos_char *)": ",siz); in picoos_vSetErrorMsg()
802 if (bsize < siz) { in picoos_vSetErrorMsg()
[all …]
Dpicoos.h84 picoos_int16 picoos_slprintf(picoos_char * b, picoos_uint32 bsize, const picoos_char *f, ...);
/external/quake/quake/src/QW/client/
Dvid_svgalib.c475 int bsize, zsize, tsize; in VID_SetMode() local
522 bsize = vid.rowbytes * vid.height; in VID_SetMode()
528 d_pzbuffer = Hunk_HighAllocName (bsize+tsize+zsize, "video"); in VID_SetMode()
/external/qemu/audio/
Dalsaaudio.c427 snd_pcm_uframes_t bsize = req->buffer_size; in alsa_open() local
432 &bsize in alsa_open()
434 obt = bsize; in alsa_open()
/external/blktrace/btreplay/
Dbtreplay.c307 static inline void touch_memory(char *buf, size_t bsize) in touch_memory() argument
310 memset(buf, 0, bsize); in touch_memory()
314 for (i = 0; i < bsize; i += pgsize) in touch_memory()
/external/qemu/distrib/sdl-1.2.12/src/audio/paudio/
DSDL_paudio.c409 paud_init.bsize = bytes_per_sample * spec->channels; in Paud_OpenAudio()

12