Searched refs:n_bytes (Results 1 - 12 of 12) sorted by relevance

/external/adhd/cras/src/server/
H A Dcras_gpio_jack.h14 int gpio_switch_read(int fd, void *buf, size_t n_bytes);
16 int gpio_switch_eviocgbit(int fd, void *buf, size_t n_bytes);
17 int gpio_switch_eviocgsw(int fd, void *bits, size_t n_bytes);
H A Dcras_gpio_jack.c24 int gpio_switch_read(int fd, void *buf, size_t n_bytes) argument
26 return read(fd, buf, n_bytes);
29 int gpio_switch_eviocgname(int fd, char *name, size_t n_bytes) argument
31 return ioctl(fd, EVIOCGNAME(n_bytes), name);
34 int gpio_switch_eviocgbit(int fd, void *buf, size_t n_bytes) argument
36 return ioctl(fd, EVIOCGBIT(EV_SW, n_bytes), buf);
39 int gpio_switch_eviocgsw(int fd, void *bits, size_t n_bytes) argument
41 return ioctl(fd, EVIOCGSW(n_bytes), bits);
/external/libevent/
H A Devutil_rand.c100 int n_bytes = 4 - (((ev_uintptr_t)b) & 3);
101 memcpy(b, &u, n_bytes);
102 b += n_bytes;
103 n -= n_bytes;
H A Diocp-internal.h177 ev_uintptr_t key, ev_uint32_t n_bytes);
/external/boringssl/src/crypto/bio/
H A Dhexdump.c150 const unsigned n_bytes = ctx->used; local
154 if (n_bytes == 0) {
173 ctx->right_chars[n_bytes] = '|';
174 ctx->right_chars[n_bytes + 1] = '\n';
175 if (BIO_write(ctx->bio, ctx->right_chars, n_bytes + 2) < 0) {
/external/boringssl/src/fipstools/
H A Dcavp_rsa2_keygen_test.cc54 std::vector<uint8_t> n_bytes(BN_num_bytes(n)), e_bytes(BN_num_bytes(e)),
58 BN_bn2bin(n, n_bytes.data()) != n_bytes.size() ||
74 EncodeHex(n_bytes.data(), n_bytes.size()).c_str(),
H A Dcavp_rsa2_siggen_test.cc62 std::vector<uint8_t> n_bytes(BN_num_bytes(n));
64 if (!BN_bn2bin_padded(n_bytes.data(), n_bytes.size(), n) ||
71 EncodeHex(n_bytes.data(), n_bytes.size()).c_str(),
/external/valgrind/coregrind/
H A Dlauncher-linux.c137 ssize_t n_bytes; local
153 n_bytes = read(fd, header.c, sizeof(header));
155 if (n_bytes < 2) {
160 (long int)n_bytes, clientname);
166 if (n_bytes > VKI_BINPRM_BUF_SIZE)
167 n_bytes = VKI_BINPRM_BUF_SIZE - 1;
168 header.c[n_bytes] = '\0';
200 } else if (n_bytes >= SELFMAG && memcmp(header.c, ELFMAG, SELFMAG) == 0) {
202 if (n_bytes >= sizeof(Elf32_Ehdr) && header.c[EI_CLASS] == ELFCLASS32) {
245 } else if (n_bytes >
[all...]
/external/adhd/cras/src/tests/
H A Dalsa_jack_unittest.cc1082 int gpio_switch_eviocgbit(int fd, void *buf, size_t n_bytes) argument
1092 memcpy(p, eviocbit_ret, n_bytes);
1094 memset(p, 0, n_bytes);
1100 int gpio_switch_eviocgsw(int fd, void *bits, size_t n_bytes) argument
1106 memset(bits, 0xff, n_bytes);
1110 int gpio_switch_read(int fd, void *buf, size_t n_bytes) argument
/external/kernel-headers/original/uapi/linux/
H A Dopenvswitch.h304 __u64 n_bytes; /* Number of matched bytes. */ member in struct:ovs_flow_stats
/external/deqp/external/openglcts/modules/gl/
H A Dgl4cCopyImageTests.cpp1680 static const GLuint n_bytes = sizeof(T); local
1681 static const GLuint n_bits = 8u * n_bytes;
1929 static const GLuint n_bytes = sizeof(T); local
1930 static const GLuint n_bits = 8u * n_bytes;
/external/valgrind/VEX/priv/
H A Dguest_ppc_toIR.c20702 IRTemp n_bytes = newTemp( Ity_I8 ); local
20735 /* set n_bytes to 0 if nb >= 16. Otherwise, set to nb. */
20736 assign( n_bytes, binop( Iop_And8, mkexpr( nb ), mkexpr( nb_gt16 ) ) );
20742 mkexpr( n_bytes ) ) ),
20875 IRTemp n_bytes = newTemp(Ity_I8); local
20914 /* set n_bytes to 0 if nb >= 16. Otherwise, set to nb. */
20915 assign( n_bytes, binop( Iop_And8, mkexpr( nb ), mkexpr( nb_gt16 ) ) );
20921 unop( Iop_8Uto64, mkexpr( n_bytes ) )),
[all...]

Completed in 669 milliseconds