| /external/libbrillo/brillo/ |
| cryptohome.cc | 113 std::vector<uint8_t> bytes; local 115 base::HexStringToBytes(sanitized, &bytes);
|
| /external/libchrome/base/strings/ |
| string_number_conversions_unittest.cc | 805 unsigned char bytes[] = {0x01, 0xff, 0x02, 0xfe, 0x03, 0x80, 0x81}; local 806 hex = HexEncode(bytes, sizeof(bytes));
|
| /external/libedit/src/ |
| chartype.c | 142 ssize_t bytes; local 160 bytes = (ssize_t)mbstowcs(p, argv[i], bufspace); 162 if (bytes == -1) { 166 bytes++; /* include '\0' in the count */ 167 bufspace -= (size_t)bytes; 168 p += bytes;
|
| /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/ |
| DirectByteBuffer.java | 170 int bytes = 0; local 173 bytes = bytes << 8; 174 bytes = bytes | (byteArray.get(baseOffset + i) & 0xFF); 178 bytes = bytes << 8; 179 bytes = bytes | (byteArray.get(baseOffset + i) & 0xFF); 182 return bytes; 186 long bytes = 0; local 202 short bytes = 0; local [all...] |
| HeapByteBuffer.java | 161 int bytes = 0; local 164 bytes = bytes << 8; 165 bytes = bytes | (backingArray[baseOffset + i] & 0xFF); 169 bytes = bytes << 8; 170 bytes = bytes | (backingArray[baseOffset + i] & 0xFF); 173 return bytes; 178 long bytes = 0; local 195 short bytes = 0; local [all...] |
| /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:__anon16832
|
| /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:__anon19899 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;
|