/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | databin.c | 44 void databingen(int mode, char *buffer, int bsize, int offset) in databingen() argument 51 memset(buffer, 0x55, bsize); in databingen() 55 memset(buffer, 0xf0, bsize); in databingen() 59 for (ind = 0; ind < bsize; ind++) in databingen() 65 memset(buffer, 0xff, bsize); in databingen() 69 memset(buffer, 0x0, bsize); in databingen() 73 for (ind = 0; ind < bsize; ind++) in databingen() 80 * >= 0 : error at byte offset into the file, offset+buffer[0-(bsize-1)] 83 int databinchk(int mode, char *buffer, int bsize, int offset, char **errmsg) in databinchk() argument 106 for (cnt = 0; cnt < bsize; cn in databinchk() [all...] |
H A D | datapid.c | 84 int datapidgen(int pid, char *buffer, int bsize, int offset) in datapidgen() argument 97 num_full_words = bsize / NBPW; in datapidgen() 118 for (; boff < (NBPW - cnt) && boff < bsize; boff++, chr++) { in datapidgen() 127 num_full_words = (bsize - boff) / NBPW; in datapidgen() 153 if (cnt = ((bsize - boff) % NBPW)) { in datapidgen() 163 for (tmp = 0; tmp < cnt && boff < bsize; tmp++, chr++) { in datapidgen() 168 return bsize; in datapidgen() 181 int datapidchk(int pid, char *buffer, int bsize, int offset, char **errmsg) in datapidchk() argument 198 num_full_words = bsize / NBPW; in datapidchk() 213 for (; boff < (NBPW - cnt) && boff < bsize; bof in datapidchk() [all...] |
H A D | dataascii.c | 45 int dataasciigen(char *listofchars, char *buffer, int bsize, int offset) in dataasciigen() argument 55 total = offset + bsize; in dataasciigen() 70 return bsize; in dataasciigen() 73 int dataasciichk(char *listofchars, char *buffer, int bsize, in dataasciichk() argument 84 total = offset + bsize; in dataasciichk() 107 sprintf(Errmsg, "all %d bytes match desired pattern", bsize); in dataasciichk()
|
/third_party/mksh/ |
H A D | shf.c | 54 ssize_t bsize = in shf_open() local 60 shf = alloc(sizeof(struct shf) + bsize, ATEMP); in shf_open() 63 shf->bsize = bsize; in shf_open() 131 ssize_t bsize = in shf_fdopen() local 137 if (bsize) { in shf_fdopen() 138 shf->buf = alloc(bsize, ATEMP); in shf_fdopen() 143 shf = alloc(sizeof(struct shf) + bsize, ATEMP); in shf_fdopen() 151 shf->rbsize = bsize; in shf_fdopen() 153 shf->wbsize = sflags & SHF_UNBUF ? 0 : bsize; in shf_fdopen() 166 ssize_t bsize = shf_reopen() local 198 shf_sopen(char *buf, ssize_t bsize, int sflags, struct shf *shf) shf_sopen() argument 455 shf_read(char *buf, ssize_t bsize, struct shf *shf) shf_read() argument 491 shf_getse(char *buf, ssize_t bsize, struct shf *shf) shf_getse() argument 743 shf_snprintf(char *buf, ssize_t bsize, const char *fmt, ...) shf_snprintf() argument [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_dctdnoiz.c | 61 int bsize; // block size, 1<<n member 353 #define DEF_FILTER_FREQ_FUNCS(bsize) \ 354 static av_always_inline void filter_freq_##bsize(const float *src, int src_linesize, \ 360 DECLARE_ALIGNED(32, float, tmp_block1)[bsize * bsize]; \ 361 DECLARE_ALIGNED(32, float, tmp_block2)[bsize * bsize]; \ 364 fdct##bsize##_1d(tmp_block1, src, 1, bsize, 1, src_linesize); \ 365 fdct##bsize##_1 538 const int bsize = 1 << s->n; config_input() local [all...] |
/third_party/skia/third_party/externals/freetype/src/bdf/ |
H A D | bdfdrivr.c | 449 FT_Bitmap_Size* bsize = bdfface->available_sizes; in FT_CALLBACK_DEF() local 468 bsize->height = (FT_Short)( font->font_ascent + font->font_descent ); in FT_CALLBACK_DEF() 480 bsize->width = 0x7FFF; in FT_CALLBACK_DEF() 482 bsize->width )); in FT_CALLBACK_DEF() 485 bsize->width = FT_ABS( (FT_Short)( ( prop->value.l + 5 ) / 10 ) ); in FT_CALLBACK_DEF() 490 bsize->width = ( bsize->height * 2 + 1 ) / 3; in FT_CALLBACK_DEF() 504 bsize->size = 0x7FFF; in FT_CALLBACK_DEF() 506 bsize->size )); in FT_CALLBACK_DEF() 509 bsize in FT_CALLBACK_DEF() 749 FT_Bitmap_Size* bsize = face->available_sizes; FT_CALLBACK_DEF() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | param_build.c | 237 const char *buf, size_t bsize) in OSSL_PARAM_BLD_push_utf8_string() 242 if (bsize == 0) in OSSL_PARAM_BLD_push_utf8_string() 243 bsize = strlen(buf); in OSSL_PARAM_BLD_push_utf8_string() 244 if (bsize > INT_MAX) { in OSSL_PARAM_BLD_push_utf8_string() 249 pd = param_push(bld, key, bsize, bsize + 1, OSSL_PARAM_UTF8_STRING, secure); in OSSL_PARAM_BLD_push_utf8_string() 257 char *buf, size_t bsize) in OSSL_PARAM_BLD_push_utf8_ptr() 261 if (bsize == 0) in OSSL_PARAM_BLD_push_utf8_ptr() 262 bsize = strlen(buf); in OSSL_PARAM_BLD_push_utf8_ptr() 263 if (bsize > INT_MA in OSSL_PARAM_BLD_push_utf8_ptr() 236 OSSL_PARAM_BLD_push_utf8_string(OSSL_PARAM_BLD *bld, const char *key, const char *buf, size_t bsize) OSSL_PARAM_BLD_push_utf8_string() argument 256 OSSL_PARAM_BLD_push_utf8_ptr(OSSL_PARAM_BLD *bld, const char *key, char *buf, size_t bsize) OSSL_PARAM_BLD_push_utf8_ptr() argument 274 OSSL_PARAM_BLD_push_octet_string(OSSL_PARAM_BLD *bld, const char *key, const void *buf, size_t bsize) OSSL_PARAM_BLD_push_octet_string() argument 292 OSSL_PARAM_BLD_push_octet_ptr(OSSL_PARAM_BLD *bld, const char *key, void *buf, size_t bsize) OSSL_PARAM_BLD_push_octet_ptr() argument [all...] |
/third_party/openssl/crypto/ |
H A D | param_build.c | 237 const char *buf, size_t bsize) in OSSL_PARAM_BLD_push_utf8_string() 242 if (bsize == 0) { in OSSL_PARAM_BLD_push_utf8_string() 243 bsize = strlen(buf); in OSSL_PARAM_BLD_push_utf8_string() 244 } else if (bsize > INT_MAX) { in OSSL_PARAM_BLD_push_utf8_string() 249 pd = param_push(bld, key, bsize, bsize + 1, OSSL_PARAM_UTF8_STRING, secure); in OSSL_PARAM_BLD_push_utf8_string() 257 char *buf, size_t bsize) in OSSL_PARAM_BLD_push_utf8_ptr() 261 if (bsize == 0) { in OSSL_PARAM_BLD_push_utf8_ptr() 262 bsize = strlen(buf); in OSSL_PARAM_BLD_push_utf8_ptr() 263 } else if (bsize > INT_MA in OSSL_PARAM_BLD_push_utf8_ptr() 236 OSSL_PARAM_BLD_push_utf8_string(OSSL_PARAM_BLD *bld, const char *key, const char *buf, size_t bsize) OSSL_PARAM_BLD_push_utf8_string() argument 256 OSSL_PARAM_BLD_push_utf8_ptr(OSSL_PARAM_BLD *bld, const char *key, char *buf, size_t bsize) OSSL_PARAM_BLD_push_utf8_ptr() argument 274 OSSL_PARAM_BLD_push_octet_string(OSSL_PARAM_BLD *bld, const char *key, const void *buf, size_t bsize) OSSL_PARAM_BLD_push_octet_string() argument 292 OSSL_PARAM_BLD_push_octet_ptr(OSSL_PARAM_BLD *bld, const char *key, void *buf, size_t bsize) OSSL_PARAM_BLD_push_octet_ptr() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | wmadec.c | 396 int block_len, bsize, n; in wma_window() local 401 bsize = s->frame_len_bits - s->block_len_bits; in wma_window() 403 s->fdsp->vector_fmul_add(out, in, s->windows[bsize], in wma_window() 408 bsize = s->frame_len_bits - s->prev_block_len_bits; in wma_window() 410 s->fdsp->vector_fmul_add(out + n, in + n, s->windows[bsize], in wma_window() 422 bsize = s->frame_len_bits - s->block_len_bits; in wma_window() 424 s->fdsp->vector_fmul_reverse(out, in, s->windows[bsize], block_len); in wma_window() 428 bsize = s->frame_len_bits - s->next_block_len_bits; in wma_window() 432 s->fdsp->vector_fmul_reverse(out + n, in + n, s->windows[bsize], in wma_window() 446 int n, v, a, ch, bsize; in wma_decode_block() local [all...] |
H A D | twinvq.c | 333 int bsize = mtab->size / mtab->fmode[ftype].sub; in imdct_and_window() local 348 prev_buf = prev + (size - bsize) / 2; in imdct_and_window() 360 mdct->imdct_half(mdct, buf1 + bsize * j, in + bsize * j); in imdct_and_window() 362 tctx->fdsp->vector_fmul_window(out2, prev_buf + (bsize - wsize) / 2, in imdct_and_window() 363 buf1 + bsize * j, in imdct_and_window() 368 memcpy(out2, buf1 + bsize * j + wsize / 2, in imdct_and_window() 369 (bsize - wsize / 2) * sizeof(float)); in imdct_and_window() 371 out2 += ftype == TWINVQ_FT_MEDIUM ? (bsize - wsize) / 2 : bsize in imdct_and_window() 545 int bsize = tctx->mtab->size / tctx->mtab->fmode[i].sub; init_mdct_win() local [all...] |
/third_party/ltp/testcases/kernel/syscalls/mlock2/ |
H A D | mlock203.c | 29 unsigned long bsize, asize1, asize2; in verify_mlock2() local 31 SAFE_FILE_LINES_SCANF("/proc/self/status", "VmLck: %lu", &bsize); in verify_mlock2() 47 if ((asize1 - bsize) * 1024 != pgsz) { in verify_mlock2() 50 (asize1 - bsize) * 1024, pgsz); in verify_mlock2()
|
/third_party/skia/third_party/externals/freetype/src/pcf/ |
H A D | pcfread.c | 1572 FT_Bitmap_Size* bsize = root->available_sizes; in FT_LOCAL_DEF() local 1579 bsize->height = face->accel.maxbounds.ascent << 6; in FT_LOCAL_DEF() 1589 bsize->height = 0x7FFF; in FT_LOCAL_DEF() 1591 bsize->height )); in FT_LOCAL_DEF() 1594 bsize->height = FT_ABS( (FT_Short)( face->accel.fontAscent + in FT_LOCAL_DEF() 1606 bsize->width = 0x7FFF; in FT_LOCAL_DEF() 1608 bsize->width )); in FT_LOCAL_DEF() 1611 bsize->width = FT_ABS( (FT_Short)( ( prop->value.l + 5 ) / 10 ) ); in FT_LOCAL_DEF() 1616 bsize->width = ( bsize in FT_LOCAL_DEF() [all...] |
/third_party/skia/third_party/externals/freetype/src/winfonts/ |
H A D | winfnt.c | 809 FT_Bitmap_Size* bsize = root->available_sizes; in FNT_Face_Init() local 813 bsize->width = (FT_Short)font->header.avg_width; in FNT_Face_Init() 814 bsize->height = (FT_Short)( font->header.pixel_height + in FNT_Face_Init() 816 bsize->size = font->header.nominal_point_size << 6; in FNT_Face_Init() 826 bsize->y_ppem = FT_MulDiv( bsize->size, y_res, 72 ); in FNT_Face_Init() 827 bsize->y_ppem = FT_PIX_ROUND( bsize->y_ppem ); in FNT_Face_Init() 837 if ( bsize->y_ppem > ( font->header.pixel_height << 6 ) ) in FNT_Face_Init() 841 bsize in FNT_Face_Init() 963 FT_Bitmap_Size* bsize = size->face->available_sizes; FNT_Size_Request() local [all...] |
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | param_build.h | 52 const char *buf, size_t bsize); 54 char *buf, size_t bsize); 56 const void *buf, size_t bsize); 58 void *buf, size_t bsize);
|
H A D | params.h | 86 size_t bsize); 89 size_t bsize); 91 size_t bsize); 93 size_t bsize); 95 size_t bsize);
|
/third_party/openssl/include/openssl/ |
H A D | param_build.h | 52 const char *buf, size_t bsize); 54 char *buf, size_t bsize); 56 const void *buf, size_t bsize); 58 void *buf, size_t bsize);
|
H A D | params.h | 86 size_t bsize); 89 size_t bsize); 91 size_t bsize); 93 size_t bsize); 95 size_t bsize);
|
/third_party/lame/mpglib/ |
H A D | interface.c | 75 mp->bsize = 0; in InitMP3() 138 mp->bsize += size; in addbuf() 179 mp->bsize--; in read_buf_byte() 224 mp->bsize -= nlen; in copy_mp() 314 for (i = 0; i < mp->bsize; i++) { in sync_buffer() 427 if (mp->bsize >= bytes + XING_HEADER_SIZE) { in decodeMP3_clipchoice() 441 if (bytes + vbrbytes > mp->bsize) { in decodeMP3_clipchoice() 542 if (mp->bsize < mp->ssize) in decodeMP3_clipchoice() 582 if (mp->fr.framesize > mp->bsize) in decodeMP3_clipchoice() 596 if (mp->dsize > mp->bsize) { in decodeMP3_clipchoice() [all...] |
/third_party/cups-filters/filter/pdftopdf/ |
H A D | qpdf_cm.cc | 19 const int bsize=2048; in load_file() local 24 ret.resize(pos+bsize); in load_file() 25 int res=fread(&ret[pos],1,bsize,f); in load_file() 27 if (res<bsize) { in load_file()
|
/third_party/skia/third_party/externals/freetype/src/gzip/ |
H A D | zutil.c | 86 ulg bsize = (ulg)items*size; in zcalloc() local 91 if (bsize < 65520L) { in zcalloc() 92 buf = farmalloc(bsize); in zcalloc() 95 buf = farmalloc(bsize + 16L); in zcalloc()
|
/third_party/alsa-lib/src/ |
H A D | input.c | 251 size_t bsize = buffer->size; in snd_input_buffer_gets() local 252 while (--size > 0 && bsize > 0) { in snd_input_buffer_gets() 254 bsize--; in snd_input_buffer_gets() 259 if (bsize == buffer->size) in snd_input_buffer_gets() 261 buffer->size = bsize; in snd_input_buffer_gets()
|
/third_party/openssl/test/ |
H A D | punycode_test.c | 151 unsigned int bsize = OSSL_NELEM(buffer); in test_punycode() local 155 buffer, &bsize))) in test_punycode() 160 if (!TEST_mem_eq(buffer, bsize * sizeof(*buffer), in test_punycode() 204 unsigned int bsize = OSSL_NELEM(buf) - 1; in test_puny_overrun() local 206 if (!TEST_false(ossl_punycode_decode(in, strlen(in), buf, &bsize))) { in test_puny_overrun() 207 if (TEST_mem_eq(buf, bsize * sizeof(*buf), out, sizeof(out))) in test_puny_overrun()
|
/third_party/libwebsockets/win32port/zlib/ |
H A D | zutil.c | 219 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()
|
/third_party/node/deps/zlib/ |
H A D | zutil.c | 204 ulg bsize = (ulg)items*size; in zcalloc() local 211 if (bsize < 65520L) { in zcalloc() 212 buf = farmalloc(bsize); in zcalloc() 215 buf = farmalloc(bsize + 16L); in zcalloc()
|
/third_party/zlib/ |
H A D | zutil.c | 212 ulg bsize = (ulg)items*size; in zcalloc() local 219 if (bsize < 65520L) { in zcalloc() 220 buf = farmalloc(bsize); in zcalloc() 223 buf = farmalloc(bsize + 16L); in zcalloc()
|