HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 201 - 225 of 2610) sorted by null

1 2 3 4 5 6 7 891011>>

  /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...]
  /external/tremolo/Tremolo/
misc.c 58 long bytes; member in struct:__anon24946
64 static void *_insert(void *ptr,long bytes,char *file,long line){
68 ((head *)ptr)->bytes=bytes-HEAD_ALIGN;
113 file_bytes[i]+=bytes-HEAD_ALIGN;
122 file_bytes[i]-(bytes-HEAD_ALIGN));
132 global_bytes+(bytes-HEAD_ALIGN));
137 global_bytes+=(bytes-HEAD_ALIGN);
152 long bytes =((head *)ptr)->bytes; local
    [all...]
  /external/v8/test/unittests/compiler/
zone-pool-unittest.cc 34 size_t bytes = rng.NextInt(25) + 7; local
36 zone->New(bytes);
129 size_t bytes = Allocate(outer_scope.zone()); local
130 outer_allocated += bytes;
131 total_allocated += bytes;
138 size_t bytes = Allocate(inner_scope.zone()); local
139 allocated += bytes;
140 total_allocated += bytes;
  /external/valgrind/coregrind/m_ume/
elf.c 226 UInt bytes; local
228 bytes = VG_PGROUNDUP(brkaddr)-VG_PGROUNDUP(bss);
229 if (bytes > 0) {
232 VG_PGROUNDUP(bss), bytes,
236 check_mmap(res, VG_PGROUNDUP(bss), bytes);
239 bytes = bss & (VKI_PAGE_SIZE - 1);
242 if ((prot & VKI_PROT_WRITE) && (bytes > 0)) {
243 bytes = VKI_PAGE_SIZE - bytes;
244 VG_(memset)((void *)bss, 0, bytes);
    [all...]
  /external/webrtc/talk/app/webrtc/java/jni/
androidvideocapturer_jni.cc 203 jbyte* bytes = jni->GetByteArrayElements(j_frame, &is_copy); local
205 ->OnMemoryBufferFrame(bytes, length, width, height, rotation, timestamp);
206 jni->ReleaseByteArrayElements(j_frame, bytes, JNI_ABORT);
  /frameworks/base/core/java/android/util/
Base64InputStream.java 103 long bytes = Math.min(n, outputEnd-outputStart); local
104 outputStart += bytes;
105 return bytes;
126 int bytes = Math.min(len, outputEnd-outputStart); local
127 System.arraycopy(coder.output, outputStart, b, off, bytes);
128 outputStart += bytes;
129 return bytes;
  /frameworks/base/core/jni/
android_ddm_DdmHandleNativeHeap.cpp 59 char bytes[1024]; local
61 while ((byteCount = TEMP_FAILURE_RETRY(read(fd, bytes, sizeof(bytes)))) > 0) {
62 s.append(bytes, byteCount);
  /frameworks/ex/framesequence/jni/
FrameSequenceJNI.cpp 50 jbyte* bytes = reinterpret_cast<jbyte*>(env->GetPrimitiveArrayCritical(byteArray, NULL)); local
51 if (bytes == NULL) {
53 "couldn't read array bytes");
56 MemoryStream stream(bytes + offset, length, NULL);
58 env->ReleasePrimitiveArrayCritical(byteArray, bytes, 0);
  /frameworks/opt/net/voip/src/jni/rtp/
AmrCodec.cpp 102 unsigned char *bytes = (unsigned char *)payload; local
106 samples, bytes + 1, &type, AMR_TX_WMF);
113 bytes[0] = 0xF0;
114 bytes[1] = (mMode << 3) | 0x04;
118 bytes[0] = 0xFF;
119 bytes[1] = 0xC0 | (mMode << 1) | 1;
122 bytes[length + 1] = 0;
124 bytes[i] = (bytes[i] << 6) | (bytes[i + 1] >> 2)
133 unsigned char *bytes = (unsigned char *)payload; local
226 unsigned char *bytes = (unsigned char *)payload; local
244 unsigned char *bytes = (unsigned char *)payload; local
    [all...]
  /hardware/akm/AK8975_FS/libsensors/
AdxlSensor.cpp 133 int bytes; local
157 bytes = sprintf(buffer, "%d", rate_val);
158 err = write_sys_attribute(input_sysfs_path, buffer, bytes);
AkmSensor.cpp 140 int bytes; local
163 bytes = sprintf(buffer, "%lld", ns);
164 err = write_sys_attribute(input_sysfs_path, buffer, bytes);
  /hardware/ti/omap4-aah/libtiutils/
MessageQueue.cpp 193 size_t bytes = 0; local
212 while( bytes < sizeof(msg) )
214 int err = write(this->fd_write, p, sizeof(*msg) - bytes);
224 bytes += err;

Completed in 3689 milliseconds

1 2 3 4 5 6 7 891011>>