Home
last modified time | relevance | path

Searched refs:bcount (Results 1 - 10 of 10) sorted by relevance

/third_party/ltp/lib/
H A Dtst_fill_file.c33 int tst_fill_fd(int fd, char pattern, size_t bs, size_t bcount) in tst_fill_fd() argument
47 for (i = 0; i < bcount; i++) { in tst_fill_fd()
59 int tst_prealloc_size_fd(int fd, size_t bs, size_t bcount) in tst_prealloc_size_fd() argument
64 ret = fallocate(fd, 0, 0, bs * bcount); in tst_prealloc_size_fd()
70 ret = tst_fill_fd(fd, 0, bs, bcount); in tst_prealloc_size_fd()
75 int tst_fill_file(const char *path, char pattern, size_t bs, size_t bcount) in tst_fill_file() argument
83 if (tst_fill_fd(fd, pattern, bs, bcount)) { in tst_fill_file()
98 int tst_prealloc_file(const char *path, size_t bs, size_t bcount) in tst_prealloc_file() argument
106 if (tst_prealloc_size_fd(fd, bs, bcount)) { in tst_prealloc_file()
/third_party/ffmpeg/libavfilter/
H A Dsignature_lookup.c315 static int iterate_frame(double frr, FineSignature **a, FineSignature **b, int fcount, int *bcount, int dir) in iterate_frame() argument
334 (*bcount)++; in iterate_frame()
341 (*bcount)++; in iterate_frame()
349 (*bcount)++; in iterate_frame()
380 (*bcount)++; in iterate_frame()
387 (*bcount)++; in iterate_frame()
395 (*bcount)++; in iterate_frame()
420 int dist, distsum = 0, bcount = 1, dir = DIR_NEXT; in evaluate_parameters() local
466 dir = iterate_frame(infos->framerateratio, &a, &b, fcount, &bcount, dir); in evaluate_parameters()
471 dir = iterate_frame(infos->framerateratio, &a, &b, fcount, &bcount, DIR_PRE in evaluate_parameters()
[all...]
/third_party/ltp/include/
H A Dtst_fs.h148 * @bcount: blocks count
150 int tst_fill_fd(int fd, char pattern, size_t bs, size_t bcount);
157 * @bcount: blocks count
159 int tst_prealloc_size_fd(int fd, size_t bs, size_t bcount);
166 * @bcount: blocks amount
168 int tst_fill_file(const char *path, char pattern, size_t bs, size_t bcount);
174 * @bcount: blocks amount
176 int tst_prealloc_file(const char *path, size_t bs, size_t bcount);
/third_party/toybox/toys/posix/
H A Dgrep.c94 static void outline(char *line, char dash, char *name, long lcount, long bcount, in outline() argument
103 if (bcount && FLAG(b)) numdash(bcount-1, dash); in outline()
277 long bcount = 1 + offset + (start-line) + (FLAG(o) ? mm->rm_so : 0); in do_grep() local
281 outline(start+mm->rm_so, ':', name, lcount, bcount, in do_grep()
295 outline(FLAG(color) ? 0 : line, ':', name, lcount, bcount, ulen); in do_grep()
/third_party/ltp/testcases/kernel/io/ltp-aiodio/
H A Dcommon.h36 static inline void io_append(const char *path, char pattern, int flags, size_t bs, size_t bcount) in io_append() argument
47 for (i = 0; i < bcount; i++) { in io_append()
H A Daiodio_append.c43 static void aiodio_append(char *filename, int bcount, long long align, long long ws, int naio) in aiodio_append() argument
85 for (; i < bcount; i++) { in aiodio_append()
/third_party/libsnd/src/
H A Dalac.c808 uint32_t bcount, value = 1, pakt_size ; in alac_pakt_read_decode() local
830 if ((bcount = psf->get_chunk_data (psf, chunk_iterator, &chunk_info)) != SF_ERR_NO_ERROR) in alac_pakt_read_decode()
844 for (bcount = 24 ; bcount < pakt_size && value != 0 ; ) in alac_pakt_read_decode()
850 { byte = pakt_data [bcount + count] ; in alac_pakt_read_decode()
854 if (count > 5 || bcount + count > pakt_size) in alac_pakt_read_decode()
855 { printf ("%s %d : Ooops! count %" PRIi32 " bcount %" PRIu32 "\n", __func__, __LINE__, count, bcount) ; in alac_pakt_read_decode()
862 bcount += count ; in alac_pakt_read_decode()
/third_party/python/Objects/
H A Dlistobject.c1656 Py_ssize_t bcount = 0; /* # of times B won in a row */ in merge_lo() local
1668 ++bcount; in merge_lo()
1673 if (bcount >= min_gallop) in merge_lo()
1679 bcount = 0; in merge_lo()
1722 bcount = k; in merge_lo()
1737 } while (acount >= MIN_GALLOP || bcount >= MIN_GALLOP); in merge_lo()
1794 Py_ssize_t bcount = 0; /* # of times B won in a row */ in merge_hi() local
1807 bcount = 0; in merge_hi()
1816 ++bcount; in merge_hi()
1821 if (bcount > in merge_hi()
[all...]
/third_party/mksh/
H A Dedit.c4677 unsigned int bcount; in domove() local
4792 bcount = 1; in domove()
4803 bcount++; in domove()
4805 bcount--; in domove()
4806 } while (bcount != 0); in domove()
/third_party/astc-encoder/Source/
H A Dstb_image.h5654 int rshift=0,gshift=0,bshift=0,ashift=0,rcount=0,gcount=0,bcount=0,acount=0;
5673 bshift = stbi__high_bit(mb)-7; bcount = stbi__bitcount(mb);
5675 if (rcount > 8 || gcount > 8 || bcount > 8 || acount > 8) { STBI_FREE(out); return stbi__errpuc("bad masks", "Corrupt BMP"); }
5696 out[z++] = STBI__BYTECAST(stbi__shiftsigned(v & mb, bshift, bcount));

Completed in 29 milliseconds