HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 226 - 250 of 3342) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/libese/examples/
ese_nxp_sample.c 30 const uint8_t *bytes; member in struct:Apdu
44 .bytes = &kSelectCardManagerBytes[0],
51 .bytes = &kGetCplcBytes[0],
75 .bytes = &kSelectJcopIdentifyBytes[0],
103 printf("Sending %u bytes to card\n", apdu->length);
106 printf("%.2X ", apdu->bytes[i]);
109 recvd = ese_transceive(&ese, (uint8_t *)apdu->bytes, apdu->length, rx_buf,
118 printf("Read %d bytes from card\n", recvd);
  /external/libese/tools/ese_relay/
ese_relay.c 129 ssize_t bytes = read(client_fd, tx_buf + data_read, tx_len - data_read); local
130 if (bytes < 0) {
135 data_read += bytes;
140 printf("Sending %u bytes to card\n", tx_len);
181 printf("Read %d bytes from card\n", rx_len);
197 ssize_t bytes = local
199 if (bytes < 0) {
204 data_read += bytes;
  /external/libnl/include/linux-private/linux/
gen_stats.h 18 * @bytes: number of seen bytes
22 __u64 bytes; member in struct:gnet_stats_basic
26 __u64 bytes; member in struct:gnet_stats_basic_packed
  /external/libvorbis/examples/
decoder_example.c 57 int bytes; local
90 bytes=fread(buffer,1,4096,stdin);
91 ogg_sync_wrote(&oy,bytes);
96 if(bytes<4096)break;
177 bytes=fread(buffer,1,4096,stdin);
178 if(bytes==0 && i<2){
182 ogg_sync_wrote(&oy,bytes);
286 bytes=fread(buffer,1,4096,stdin);
287 ogg_sync_wrote(&oy,bytes);
288 if(bytes==0)eos=1
    [all...]
encoder_example.c 65 /* we cheat on the WAV header; we just bypass 44 bytes (simplest WAV
66 header is 44 bytes) and assume that the data is 44.1khz, stereo, 16 bit
182 long bytes=fread(readbuffer,1,READ*4,stdin); /* stereo hardwired here */ local
184 if(bytes==0){
198 for(i=0;i<bytes/4;i++){
  /external/libvorbis/test/
write_read.c 147 int bytes; local
163 bytes = fread (buffer,1,8192,file);
164 ogg_sync_wrote (&oy,bytes);
167 if(bytes < 8192) {
220 bytes = fread (buffer,1,4096,file);
221 if (bytes == 0 && i < 2) {
226 ogg_sync_wrote (&oy,bytes);
278 bytes = fread (buffer,1,4096,file);
279 ogg_sync_wrote (&oy,bytes);
280 if (bytes == 0) eos = 1
    [all...]
  /external/llvm/include/llvm/ADT/
StringRef.h 105 iterator_range<const unsigned char *> bytes() const { function in class:llvm::StringRef
  /external/llvm/lib/Target/AMDGPU/MCTargetDesc/
SIMCCodeEmitter.cpp 197 unsigned bytes = Desc.getSize(); local
199 for (unsigned i = 0; i < bytes; i++) {
203 if (bytes > 4)
  /external/ltp/testcases/kernel/ipc/ipc_stress/
message_queue_test_02_snd.c 38 | [-m msg | -b bytes] |
80 " {-m msg | -b bytes} \n\n"
100 size_t bytes = 0; variable
133 if (bytes) {
134 buf = (struct msgbuf *)calloc(bytes + sizeof(struct msgbuf),
138 if (msgsnd(msqid, buf, bytes, 0) < 0)
175 | [-b] byes: number of bytes to send |
190 case 'b': /* number of bytes to send */
191 bytes = atoi(optarg);
  /external/ltp/testcases/kernel/syscalls/setrlimit/
setrlimit01.c 53 static int nofiles, fd, bytes, i, status; variable
120 * Since its filesize is truncated to only 10 bytes, the
152 bytes = write(fd, buf, 26);
153 if (bytes != 10) {
154 if (write(pipefd[1], &bytes, sizeof(bytes))
155 < sizeof(bytes)) {
181 if (read(pipefd[0], &bytes, sizeof(bytes)) < sizeof(bytes))
    [all...]
  /external/ltp/utils/ffsb-6.0-rc2/
ffsb_op.h 81 uint64_t bytes[FFSB_NUMOPS]; member in struct:ffsb_op_results
  /external/lz4/tests/
fasttest.c 71 int32_t bytes; local
75 memcpy(&bytes, compressed + offset + 4, 4);
78 if(bytes == 0 && unBytes == 0) return 0;
79 if(bytes <= 0 || unBytes <= 0 || unBytes > 1024) return 1;
84 bytes = LZ4_decompress_fast_continue(
86 if(bytes <= 0) return 2;
92 offset += bytes;
  /external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_parse.c 309 unsigned bytes = n * sizeof(struct tgsi_token); local
310 struct tgsi_token *new_tokens = (struct tgsi_token *) MALLOC(bytes);
312 memcpy(new_tokens, tokens, bytes);
323 unsigned bytes = num_tokens * sizeof(struct tgsi_token); local
324 return (struct tgsi_token *) MALLOC(bytes);
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nouveau_util.h 84 GLubyte bytes[4]; local
85 _mesa_unclamped_float_rgba_to_ubyte(bytes, c);
86 return pack_rgba_i(f, bytes);
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
FileEntry.java 34 private byte[] bytes = EMPTY; field in class:FileEntry
75 * @return the file size in bytes
84 * @param contents - the String whose bytes are used as the contents
97 // Copy the bytes[] to guard against subsequent modification of the source array
130 byte[] initialContents = (append) ? bytes : EMPTY;
164 return (out != null) ? out.toByteArray() : bytes;
173 this.bytes = contents;
  /external/nanopb-c/tests/encode_unittests/
encode_unittests.c 39 * Y is a string, which may contain null bytes. Null terminator is ignored.
172 struct { size_t size; uint8_t bytes[5]; } value = {5, {'x', 'y', 'z', 'z', 'y'}}; member in struct:__anon28020
266 COMMENT("Test pb_encode with bytes message.")
  /external/protobuf/conformance/
conformance_cpp.cc 159 uint32_t bytes; local
161 if (!CheckedRead(STDIN_FILENO, &bytes, sizeof(uint32_t))) {
166 serialized_input.resize(bytes);
168 if (!CheckedRead(STDIN_FILENO, (char*)serialized_input.c_str(), bytes)) {
181 bytes = serialized_output.size();
182 CheckedWrite(STDOUT_FILENO, &bytes, sizeof(uint32_t));
183 CheckedWrite(STDOUT_FILENO, serialized_output.c_str(), bytes);
  /external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/
ByteStringMicro.java 36 * Immutable array of bytes.
42 private final byte[] bytes; field in class:ByteStringMicro
44 private ByteStringMicro(final byte[] bytes) {
45 this.bytes = bytes;
54 return bytes[index];
58 * Gets the number of bytes.
61 return bytes.length;
68 return bytes.length == 0;
80 * Copies the given bytes into a {@code ByteStringMicro}
    [all...]
  /external/regex-re2/util/
benchmark.cc 34 static int64 bytes; variable
40 bytes = x;
67 bytes = 0;
121 if(ns > 0 && bytes > 0)
122 snprintf(mb, sizeof mb, "\t%7.2f MB/s", ((double)bytes/1e6)/((double)ns/1e9));
  /external/squashfs-tools/kernel/fs/squashfs/
cache.c 290 * Copy upto length bytes from cache entry to buffer starting at offset bytes
291 * into the cache entry. If there's not length bytes then copy the number of
292 * bytes available. In all cases return the number of bytes copied.
307 int bytes = min_t(int, entry->length - offset, local
310 if (bytes >= remaining) {
316 memcpy(buffer, buff, bytes);
317 buffer += bytes;
318 remaining -= bytes;
336 int bytes, copied = length; local
    [all...]
  /external/squashfs-tools/squashfs-tools/
gzip_wrapper.c 457 unsigned long bytes = outsize; local
459 res = uncompress(d, &bytes, s, size);
462 return (int) bytes;
unsquash-1.c 61 int bytes = lookup_entry(inode_table_hash, start); local
62 char *block_ptr = inode_table + bytes + offset;
67 if(bytes == -1)
212 int bytes; local
245 bytes = lookup_entry(directory_table_hash, start);
246 if(bytes == -1)
250 bytes += (*i)->offset;
251 size = (*i)->data + bytes;
253 while(bytes < size) {
256 memcpy(&sdirh, directory_table + bytes, sizeof(sdirh))
    [all...]
unsquash-2.c 46 int bytes = SQUASHFS_FRAGMENT_BYTES_2(sBlk.s.fragments); local
59 fragment_table = malloc(bytes);
90 bytes & (SQUASHFS_METADATA_SIZE - 1);
132 int bytes = lookup_entry(inode_table_hash, start); local
133 char *block_ptr = inode_table + bytes + offset;
138 if(bytes == -1)
unsquash-4.c 34 int bytes = SQUASHFS_FRAGMENT_BYTES(sBlk.s.fragments); local
47 fragment_table = malloc(bytes);
64 bytes & (SQUASHFS_METADATA_SIZE - 1);
101 int bytes = lookup_entry(inode_table_hash, start); local
102 char *block_ptr = inode_table + bytes + offset;
107 if(bytes == -1)
258 int bytes; local
291 bytes = lookup_entry(directory_table_hash, start);
293 if(bytes == -1)
297 bytes += (*i)->offset
357 int bytes = SQUASHFS_ID_BYTES(sBlk.s.no_ids); local
    [all...]
  /external/swiftshader/src/Renderer/
RoutineCache.hpp 67 size_t bytes = fread(&state, 1, sizeof(State), dir); local
68 bytes += fread(&offset, 1, sizeof(offset), dir);
69 bytes += fread(&size, 1, sizeof(size), dir);
71 if(bytes != sizeof(State) + sizeof(offset) + sizeof(size))

Completed in 1808 milliseconds

1 2 3 4 5 6 7 8 91011>>