HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 601 - 625 of 1804) sorted by null

<<21222324252627282930>>

  /external/proguard/src/proguard/classfile/constant/
Utf8Constant.java 54 // Initially, we're storing the UTF-8 bytes in a byte array.
59 private byte[] bytes; field in class:Utf8Constant
78 this.bytes = null;
84 * Initializes the UTF-8 data with an array of bytes.
86 public void setBytes(byte[] bytes)
88 this.bytes = bytes;
94 * Returns the UTF-8 data as an array of bytes.
107 return bytes;
116 this.bytes = null
    [all...]
  /external/protobuf/java/src/test/java/com/google/protobuf/
TextFormatTest.java 207 * characters. The characters are converted directly to bytes, *not*
210 private ByteString bytes(String str) throws Exception { method in class:TextFormatTest
215 * Helper to construct a ByteString from a bunch of bytes. The inputs are
219 private ByteString bytes(int... bytesAsInts) { method in class:TextFormatTest
220 byte[] bytes = new byte[bytesAsInts.length];
222 bytes[i] = (byte) bytesAsInts[i];
224 return ByteString.copyFrom(bytes);
258 // Strings and bytes that needing escaping.
260 .addRepeatedBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\"\u00fe"))
465 TextFormat.escapeBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\"")))
    [all...]
  /external/protobuf/src/google/protobuf/io/
coded_stream_unittest.cc 145 uint8 bytes[10]; // Encoded bytes. member in struct:google::protobuf::io::__anon33591::VarintCase
146 int size; // Encoded size, in bytes.
180 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size);
195 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size);
215 memcpy(buffer_ + 1, kVarintCases_case.bytes, kVarintCases_case.size);
246 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size);
264 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size);
297 memcmp(buffer_, kVarintCases_case.bytes, kVarintCases_case.size));
314 memcmp(buffer_, kVarintCases_case.bytes, kVarintCases_case.size))
370 uint8 bytes[12]; member in struct:google::protobuf::io::__anon33591::VarintErrorCase
461 uint8 bytes[sizeof(uint32)]; \/\/ Encoded bytes. member in struct:google::protobuf::io::__anon33591::Fixed32Case
466 uint8 bytes[sizeof(uint64)]; \/\/ Encoded bytes. member in struct:google::protobuf::io::__anon33591::Fixed64Case
    [all...]
zero_copy_stream_impl.cc 242 int bytes; local
244 bytes = write(file_, buffer_base + total_written, size - total_written);
245 } while (bytes < 0 && errno == EINTR);
247 if (bytes <= 0) {
258 if (bytes < 0) {
263 total_written += bytes;
387 // Hit the end of the stream. Figure out how many more bytes we still have
  /external/qemu/audio/
wavaudio.c 65 int64_t bytes = local
68 if (bytes > INT_MAX) {
72 samples = bytes >> hw->info.shift;
88 dolog ("wav_run_out: fwrite of %d bytes failed\nReaons: %s\n",
156 dolog ("Could not allocate buffer (%d bytes)\n",
304 dolog("unsupported bytes per sample (%d) in '%s'\n",
360 int64_t bytes = muldiv64(ticks, hw->info.bytes_per_second, get_ticks_per_sec()); local
362 if (bytes > INT_MAX) {
366 samples = bytes >> hw->info.shift;
  /external/skia/experimental/Networking/
SkSockets.h 46 * to be sent and dataSize specifies the number of bytes to send. This
49 * socket's open connections until all the bytes have been successfully sent
50 * and return total the number of bytes written to all clients, unless there
64 * packets if necessary) and return the number of bytes successfully read,
96 int bytes; member in struct:SkSocket::header
  /external/skia/include/core/
SkTDArray.h 111 * return the number of bytes in the array: count * sizeof(T)
113 size_t bytes() const { return fCount * sizeof(T); } function in class:SkTDArray
  /external/skia/src/gpu/
GrBufferAllocPool.cpp 138 size_t bytes = fBlocks[i].fBuffer->gpuMemorySize() - fBlocks[i].fBytesFree; local
139 bytesInUse += bytes;
140 SkASSERT(bytes || unusedBlockAllowed);
221 void GrBufferAllocPool::putBack(size_t bytes) {
230 while (bytes) {
235 if (bytes >= bytesUsed) {
236 bytes -= bytesUsed;
245 block.fBytesFree += bytes;
246 fBytesInUse -= bytes;
247 bytes = 0
    [all...]
GrResourceCache.cpp 458 size_t bytes = 0; local
466 bytes += entry->resource()->gpuMemorySize();
468 return bytes;
471 static bool both_zero_or_nonzero(int count, size_t bytes) {
472 return (count == 0 && bytes == 0) || (count > 0 && bytes > 0);
505 size_t bytes = countBytes(fList); local
506 SkASSERT(bytes == fEntryBytes - fClientDetachedBytes);
508 bytes = countBytes(fExclusiveList);
509 SkASSERT(bytes == fClientDetachedBytes)
    [all...]
SkGr.cpp 71 // need to trim off the extra bytes per row
148 const uint8_t *bytes = data->bytes(); local
149 if (etc1_pkm_is_valid(bytes)) {
150 uint32_t encodedWidth = etc1_pkm_get_width(bytes);
151 uint32_t encodedHeight = etc1_pkm_get_height(bytes);
161 bytes += ETC_PKM_HEADER_SIZE;
163 } else if (SkKTXFile::is_ktx(bytes)) {
177 bytes = ktx.pixelData();
188 GrTexture* result = ctx->createTexture(params, desc, cacheID, bytes, 0, &key)
    [all...]
  /external/skia/tools/
bench_pictures_main.cpp 213 size_t bytes = pool->getRAMUsed(); local
214 if (bytes > 1024) {
215 size_t kb = bytes / 1024;
223 ramCount.appendf("%zi bytes\n", bytes);
image_expectations.cpp 222 const char *bytes = reinterpret_cast<const char *>(dataRef.get()->data()); local
225 if (!reader.parse(bytes, bytes+size, *jsonRoot)) {
  /external/strace/linux/
ubi-user.h 76 * this number of bytes to the volume character device. The update is finished
77 * when the claimed number of bytes is passed. So, the volume update sequence
99 * user is expected to write the requested amount of bytes (similarly to what
237 * 512 in case of a 512 bytes page NAND flash with no sub-page support. Or
246 * be 2KiB-64 bytes = 1984. Note, that this position is not even 512-bytes
275 * @bytes: volume size in bytes
304 __s64 bytes; member in struct:ubi_mkvol_req
315 * @bytes: new size of the volume in byte
324 __s64 bytes; member in struct:ubi_rsvol_req
389 __s32 bytes; member in struct:ubi_leb_change_req
    [all...]
  /external/valgrind/main/VEX/useful/
smchash.c 25 UChar* bytes; member in struct:__anon36948
52 gb->bytes = malloc( gb->nbytes + nToAlloc);
53 gb->actual = gb->bytes + (gb->ga & 3);
54 assert(gb->bytes);
83 free(gb->bytes);
  /external/valgrind/main/coregrind/
launcher-darwin.c 146 ssize_t bytes; local
152 bytes = read(fd, buf, sizeof(buf));
154 if (bytes != sizeof(buf)) {
  /external/wpa_supplicant_8/src/crypto/
random.c 118 * length (32) and return 16 bytes from instead of only half.
157 u8 *bytes = buf; local
178 *bytes++ ^= tmp[i];
190 "for generating strong random bytes");
197 *bytes++ ^= tmp[i];
251 wpa_printf(MSG_DEBUG, "random: Got %u/%u bytes from "
264 wpa_printf(MSG_INFO, "random: Only %u/%u bytes of strong "
323 wpa_printf(MSG_DEBUG, "random: Got %u/%u bytes from /dev/random",
  /external/yaffs2/yaffs2/utils/
mkyaffsimage.c 209 yaffs_TagsUnion * tags = (yaffs_TagsUnion* )tagsPtr; // Work in bytes.
333 __u8 bytes[512]; local
336 yaffs_ObjectHeader *oh = (yaffs_ObjectHeader *)bytes;
338 memset(bytes,0xff,512);
379 return write_chunk(bytes,objId,0,0xffff);
459 __u8 bytes[512]; local
466 memset(bytes,0xff,512);
467 while((nBytes = read(h,bytes,512)) > 0)
470 write_chunk(bytes,newObj,chunk,nBytes);
471 memset(bytes,0xff,512)
    [all...]
  /frameworks/base/core/java/android/util/
Log.java 292 int bytes = println_native(logId, ASSERT, tag, msg + '\n' local
295 return bytes;
351 * @return The number of bytes written.
  /frameworks/base/core/jni/
android_emoji_EmojiFactory.cpp 162 const char *bytes = factory->GetImageBinaryFromAndroidPua(pua, &size); local
163 if (bytes == NULL) {
168 if (!SkImageDecoder::DecodeMemory(bytes, size, bitmap)) {
android_util_EventLog.cpp 205 jbyte *bytes = env->GetByteArrayElements(array, NULL); local
206 memcpy(bytes, log_msg.buf, len);
207 env->ReleaseByteArrayElements(array, bytes, 0);
  /frameworks/base/services/core/java/com/android/server/am/
NativeCrashListener.java 237 int bytes; local
240 bytes = Os.read(fd, buf, 0, buf.length);
241 if (bytes > 0) {
243 String s = new String(buf, 0, bytes, "UTF-8");
244 Slog.v(TAG, "READ=" + bytes + "> " + s);
247 if (buf[bytes-1] == 0) {
248 os.write(buf, 0, bytes-1); // exclude the EOD token
252 os.write(buf, 0, bytes);
254 } while (bytes > 0);
  /frameworks/base/wifi/java/android/net/wifi/
ScanResult.java 210 public byte[] bytes; field in class:ScanResult.InformationElement
217 this.bytes = rhs.bytes.clone();
343 dest.writeInt(informationElements[i].bytes.length);
344 dest.writeByteArray(informationElements[i].bytes);
383 sr.informationElements[i].bytes = new byte[len];
384 in.readByteArray(sr.informationElements[i].bytes);
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
iio_utils.h 64 * @bytes: number of bytes occupied in buffer output
75 unsigned bytes; member in struct:iio_channel_info
88 * @bytes: output how many bytes the channel storage occupies
96 unsigned *bytes,
165 *bytes = padint / 8;
406 &current->bytes,
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
iio_utils.h 64 * @bytes: number of bytes occupied in buffer output
75 unsigned bytes; member in struct:iio_channel_info
88 * @bytes: output how many bytes the channel storage occupies
96 unsigned *bytes,
165 *bytes = padint / 8;
406 &current->bytes,
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
iio_utils.h 62 * @bytes: number of bytes occupied in buffer output
73 unsigned bytes; member in struct:iio_channel_info
86 * @bytes: output how many bytes the channel storage occupies
94 unsigned *bytes,
163 *bytes = padint / 8;
405 &current->bytes,

Completed in 1047 milliseconds

<<21222324252627282930>>