HomeSort by relevance Sort by last modified time
    Searched defs:nbytes (Results 26 - 50 of 227) sorted by null

12 3 4 5 6 7 8 910

  /external/ltp/testcases/kernel/containers/pidns/
pidns04.c 110 int nbytes, status; local
126 nbytes = read(fd[0], readbuffer, sizeof(readbuffer));
128 if (0 <= nbytes) {
pidns05.c 197 int ret, nbytes, status; local
244 nbytes = read(fd[0], readbuffer, sizeof(readbuffer));
246 if (nbytes > 0)
  /external/ltp/testcases/kernel/syscalls/pread/
pread03.c 100 size_t nbytes; /* no. of bytes to be written */ local
114 nbytes = K1;
117 TEST(pread(fd1, read_buf[0], nbytes, offset));
pread02.c 115 size_t nbytes; /* no. of bytes to be written */ local
131 nbytes = Test_cases[i].nb;
146 TEST(pread(fildes, read_buf[0], nbytes, offset));
  /external/v4l2_codec2/vda/
bit_reader_core.cc 80 const int nbytes = num_bits / 8; local
81 if (nbytes > 0) {
84 byte_stream_provider_->GetBytes(nbytes, &byte_stream_window);
86 DCHECK_LE(window_size, nbytes);
87 if (window_size < nbytes) {
92 num_bits -= 8 * nbytes;
93 bits_read_ += 8 * nbytes;
  /bionic/benchmarks/
stdlib_benchmark.cpp 26 const size_t nbytes = state.range(0); local
30 c = malloc(nbytes);
34 state.SetBytesProcessed(uint64_t(state.iterations()) * uint64_t(nbytes));
string_benchmark.cpp 25 const size_t nbytes = state.range(0); local
31 char* src_aligned = GetAlignedPtrFilled(&src, src_alignment, nbytes, 'x');
32 char* dst_aligned = GetAlignedPtrFilled(&dst, dst_alignment, nbytes, 'x');
36 c += memcmp(dst_aligned, src_aligned, nbytes);
39 state.SetBytesProcessed(uint64_t(state.iterations()) * uint64_t(nbytes));
44 const size_t nbytes = state.range(0); local
50 char* src_aligned = GetAlignedPtrFilled(&src, src_alignment, nbytes, 'x');
51 char* dst_aligned = GetAlignedPtr(&dst, dst_alignment, nbytes);
54 memcpy(dst_aligned, src_aligned, nbytes);
57 state.SetBytesProcessed(uint64_t(state.iterations()) * uint64_t(nbytes));
62 const size_t nbytes = state.range(0); local
80 const size_t nbytes = state.range(0); local
95 const size_t nbytes = state.range(0); local
110 const size_t nbytes = state.range(0); local
125 const size_t nbytes = state.range(0); local
142 const size_t nbytes = state.range(0); local
165 const size_t nbytes = state.range(0); local
186 const size_t nbytes = state.range(0); local
212 const size_t nbytes = state.range(0); local
231 const size_t nbytes = state.range(0); local
252 const size_t nbytes = state.range(0); local
281 const size_t nbytes = state.range(0); local
    [all...]
  /external/blktrace/btreplay/
btrecord.h 43 * @nbytes: Number of bytes to process
48 __u64 nbytes; member in struct:io_pkt
  /external/ltp/testcases/kernel/syscalls/pwrite/
pwrite04.c 69 int nbytes; local
93 if ((nbytes = pwrite(fd, wbuf[0], K1, 0)) != K1) {
95 "pwrite at 0 failed: nbytes=%d, errno=%d",
96 nbytes, errno);
113 if ((nbytes = pwrite(fd, wbuf[2], K1, K2)) != K1) {
115 "pwrite at K2 failed: nbytes=%d, errno=%d",
116 nbytes, errno);
134 if ((nbytes = write(fd, wbuf[3], K1)) != K1) {
135 tst_resm(TFAIL, "write failed: nbytes=%d, errno=%d",
136 nbytes, errno)
    [all...]
  /external/ltp/testcases/kernel/syscalls/readv/
readv02.c 188 int nbytes; local
210 if ((nbytes = write(fd[0], buf_list[2], K_1)) != K_1) {
211 tst_brkm(TBROK, cleanup, "write failed: nbytes "
212 "= %d " "errno = %d", nbytes, errno);
  /external/ltp/testcases/kernel/syscalls/sync_file_range/
sync_file_range01.c 114 off64_t nbytes; member in struct:test_data_t
196 static inline long syncfilerange(int fd, off64_t offset, off64_t nbytes,
204 (int)(offset >> 32), (int)offset, (int)(nbytes >> 32),
205 (int)nbytes);
208 (int)(offset >> 32), nbytes, (int)(nbytes >> 32));
211 return ltp_syscall(__NR_sync_file_range2, fd, flags, offset, nbytes);
217 (int)offset, (int)(nbytes >> 32), (int)nbytes, flags);
223 (int)offset, (int)(nbytes >> 32), (int)nbytes, flags)
    [all...]
  /external/ltp/testcases/kernel/syscalls/writev/
writev02.c 96 int nbytes; local
127 if ((nbytes = write(fd[0], buf_list[1], K_1)) != K_1)
158 if ((nbytes = read(fd[0], buf_list[0], CHUNK)) != CHUNK) {
159 tst_resm(TFAIL, "Expected nbytes = 64, got "
160 "%d", nbytes);
writev05.c 93 int nbytes; local
131 if ((nbytes = write(fd[0], buf_list[1], K_1)) != K_1) {
132 tst_resm(TFAIL, "write(2) failed: nbytes "
133 "= %d, errno = %d", nbytes, errno);
171 if ((nbytes = read(fd[0], buf_list[0], CHUNK)) != 0) {
172 tst_resm(TFAIL, "Expected nbytes = 0, got "
173 "%d", nbytes);
  /external/ltp/testcases/network/tcp_cmds/sendfile/
testsf_s.c 39 int pid, nbytes, flen, count; local
121 if ((nbytes = read(as, rbuf, PATH_MAX)) <= 0) {
126 rbuf[nbytes] = '\0'; /* null terminate the info */
  /packages/services/BuiltInPrintService/jni/plugins/
lib_pclm.c 233 int nbytes = (num_rows * bytes_per_row); local
235 for (readIndex = writeIndex = 0; readIndex < nbytes; readIndex += BYTES_PER_PIXEL(1)) {
plugin_pdf.c 75 int rbytes, wbytes, nbytes = 0; local
98 nbytes += wbytes;
106 LOGI("dumped %d bytes of %s to printer", nbytes, pathname);
  /toolchain/binutils/binutils-2.27/libiberty/
strerror.c 514 int nbytes; local
535 nbytes = num_error_names * sizeof (char *);
536 if ((error_names = (const char **) malloc (nbytes)) != NULL)
538 memset (error_names, 0, nbytes);
553 nbytes = num_error_names * sizeof (char *);
554 if ((sys_errlist = (const char **) malloc (nbytes)) != NULL)
556 memset (sys_errlist, 0, nbytes);
strsignal.c 290 int nbytes; local
311 nbytes = num_signal_names * sizeof (char *);
312 if ((signal_names = (const char **) malloc (nbytes)) != NULL)
314 memset (signal_names, 0, nbytes);
329 nbytes = num_signal_names * sizeof (char *);
330 if ((sys_siglist = (const char **) malloc (nbytes)) != NULL)
332 memset (sys_siglist, 0, nbytes);
  /bootable/recovery/tools/dumpkey/
DumpPublicKey.java 182 int nbytes = key.getParams().getCurve().getField().getFieldSize() / 8; // # of 32 bit integers in X coordinate local
185 result.append(nbytes);
191 for (int i = 0; i < nbytes; ++i) {
195 if (i != nbytes - 1) {
205 for (int i = 0; i < nbytes; ++i) {
209 if (i != nbytes - 1) {
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
md5module.c 63 Py_ssize_t nbytes; local
65 nbytes = INT_MAX;
67 nbytes = n;
69 Py_SAFE_DOWNCAST(nbytes, Py_ssize_t, unsigned int));
70 buf += nbytes;
71 n -= nbytes;
292 Py_ssize_t nbytes; local
294 nbytes = INT_MAX;
296 nbytes = n;
298 Py_SAFE_DOWNCAST(nbytes, Py_ssize_t, unsigned int));
    [all...]
  /external/e2fsprogs/debugfs/
dump.c 107 int nbytes; local
129 nbytes = write(fd, buf, got);
130 if ((unsigned) nbytes != got)
  /external/ltp/testcases/kernel/controllers/freezer/
vfork.c 266 ssize_t nbytes = 0; local
269 nbytes = write(fd, "r", 1);
270 if (nbytes == 1)
272 if (nbytes != -1)
285 ssize_t nbytes = 0; local
288 nbytes = read(fd, buffer, sizeof(buffer));
289 if (nbytes == 1)
291 if (nbytes != -1)
  /external/ltp/testcases/kernel/fs/doio/
write_log.c 265 int fd, leftover, nbytes, offset, recnum, reclen, rval; local
318 nbytes = read(fd, bufstart, bufend - bufstart - leftover);
320 if (nbytes == -1) {
  /external/pdfium/core/fxcrt/
fx_string.cpp 28 int nbytes = 0; local
30 nbytes = 2;
32 nbytes = 3;
34 nbytes = 4;
36 nbytes = 5;
38 nbytes = 6;
41 int order = 1 << ((nbytes - 1) * 6);
43 m_Buffer.push_back(prefix[nbytes - 2] | (code / order));
44 for (int i = 0; i < nbytes - 1; i++) {
  /external/pdfium/core/fxcrt/xml/
cfx_xmlsyntaxparser.cpp 48 int nbytes = 0; local
50 nbytes = 1;
52 nbytes = 2;
54 nbytes = 3;
56 nbytes = 4;
58 nbytes = 5;
60 nbytes = 6;
62 iDstNum += nbytes;

Completed in 583 milliseconds

12 3 4 5 6 7 8 910