/external/libnl/include/linux/ |
gen_stats.h | 15 * @bytes: number of seen bytes 20 __u64 bytes; member in struct:gnet_stats_basic
|
/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/libweave/third_party/chromium/base/strings/ |
string_number_conversions_unittest.cc | 741 unsigned char bytes[] = {0x01, 0xff, 0x02, 0xfe, 0x03, 0x80, 0x81}; local 742 hex = HexEncode(bytes, sizeof(bytes));
|
/external/libweave/third_party/libuweave/src/ |
macaroon_caveat.h | 14 const uint8_t* bytes; member in struct:__anon17446
|
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
SIMCCodeEmitter.cpp | 187 unsigned bytes = Desc.getSize(); local 189 for (unsigned i = 0; i < bytes; i++) { 193 if (bytes > 4)
|
/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:__anon20503 266 COMMENT("Test pb_encode with bytes message.")
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
LazyFieldLite.java | 47 private ByteString bytes; field in class:LazyFieldLite 53 public LazyFieldLite(ExtensionRegistryLite extensionRegistry, ByteString bytes) { 55 this.bytes = bytes; 68 return value == null && bytes == null; 72 bytes = null; 97 bytes = null; 107 if (bytes == null) { 108 this.bytes = value.bytes; [all...] |
/external/protobuf/java/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/protobuf/java/src/test/java/com/google/protobuf/ |
CodedOutputStreamTest.java | 52 * Helper to construct a byte array from a bunch of bytes. The inputs are 56 private byte[] bytes(int... bytesAsInts) { method in class:CodedOutputStreamTest 57 byte[] bytes = new byte[bytesAsInts.length]; 59 bytes[i] = (byte) bytesAsInts[i]; 61 return bytes; 65 private List<Byte> toList(byte[] bytes) { 67 for (byte b : bytes) { 79 * checks that the result matches the given bytes. 132 assertWriteVarint(bytes(0x00), 0); 133 assertWriteVarint(bytes(0x01), 1) [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/skia/src/codec/ |
SkWebpCodec.cpp | 27 const char* bytes = static_cast<const char*>(buf); local 28 return bytesRead >= 14 && !memcmp(bytes, "RIFF", 4) && !memcmp(&bytes[8], "WEBPVP", 6); 33 // bytes again. 58 // now check that if we are 4-bytes per pixel, we also don't overflow 137 // The WebP decoding API allows us to incrementally pass chunks of bytes as we receive them to the
|
/external/skia/src/gpu/text/ |
GrFontScaler.cpp | 145 uint8_t* bytes = reinterpret_cast<uint8_t*>(dst); local 146 expand_bits(bytes, bits, width, height, dstRB, srcRB);
|
/external/skia/src/images/ |
SkImageDecoder_wbmp.cpp | 77 int bytes = bits >> 3; local 79 for (int i = 0; i < bytes; i++) {
|
/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/toybox/lib/ |
linestack.c | 87 int columns = 0, col, bytes; local 93 bytes = 0; 94 if (*end >= ' ' && (bytes = mbrtowc(&wc, end, 99,0))>0 98 if (out) fwrite(end, bytes, 1, out); 104 bytes = 1; 106 } else if (bytes<1) { 107 bytes = 1; 116 end += bytes; 136 // Return bytes used by (up to) this many columns
|
/external/tpm2/ |
stubs_hash.c | 99 INT16 bytes; // number of bytes to produce local 123 bytes = once ? hLen : (INT16)((sizeInBits + 7) / 8); 124 // Generate required bytes 125 for (; bytes > 0; stream = &stream[hLen], bytes = bytes - hLen) 127 if(bytes < hLen) 128 hLen = bytes; 154 // to the smaller of hLen and bytes. This causes bytes to decremen 181 INT16 bytes; \/\/ number of bytes to generate local [all...] |