HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 326 - 350 of 2455) sorted by null

<<11121314151617181920>>

  /external/protobuf/java/src/test/java/com/google/protobuf/
LazyFieldLiteTest.java 118 ByteString bytes = message.toByteString(); local
119 return new LazyFieldLite(TestUtil.getExtensionRegistry(), bytes);
LazyFieldTest.java 105 ByteString bytes = message.toByteString(); local
107 TestUtil.getExtensionRegistry(), bytes);
LazyStringEndToEndTest.java 73 ByteString bytes = tV2.toByteString(); local
74 assertEquals(TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8, bytes);
77 bytes = tV2.toByteString();
78 assertEquals(TEST_ALL_TYPES_SERIALIZED_WITH_ILLEGAL_UTF8, bytes);
  /external/protobuf/src/google/protobuf/io/
zero_copy_stream_impl_lite.cc 205 int bytes = Read(junk, min(count - skipped, local
207 if (bytes <= 0) {
211 skipped += bytes;
271 << " Can't back up over more bytes than were returned by the last call"
287 // First skip any bytes left over from a previous BackUp().
361 << " Can't back up over more bytes than were returned by the last call"
  /external/rmi4utils/rmihidtool/
main.cpp 76 fprintf(stdout, "r address size: read size bytes from address\n");
77 fprintf(stdout, "w address { values }: write bytes to address\n");
173 unsigned int bytes = 256; local
176 report, &bytes);
177 print_buffer(report, bytes);
344 unsigned int bytes = 256; local
347 report, &bytes);
349 print_buffer(report, bytes);
  /external/skia/src/android/
SkBitmapRegionCodec.cpp 117 size_t bytes = outInfo.getSafeSize(bitmap->rowBytes()); local
118 memset(pixels, 0, bytes);
  /external/skia/src/core/
SkChunkAlloc.cpp 28 size_t bytes = fFreePtr - start; local
29 return fFreeSize + bytes;
118 SkChunkAlloc::Block* SkChunkAlloc::newBlock(size_t bytes, AllocFailType ftype) {
119 size_t size = bytes;
139 SkChunkAlloc::Block* SkChunkAlloc::addBlockIfNecessary(size_t bytes, AllocFailType ftype) {
140 SkASSERT(SkIsAlign4(bytes));
142 if (!fBlock || bytes > fBlock->fFreeSize) {
143 Block* block = this->newBlock(bytes, ftype);
156 SkASSERT(fBlock && bytes <= fBlock->fFreeSize);
160 void* SkChunkAlloc::alloc(size_t bytes, AllocFailType ftype)
182 size_t bytes = 0; local
    [all...]
SkConfig8888.cpp 182 size_t bytes = width * srcInfo.bytesPerPixel(); local
184 memcpy(dstPixels, srcPixels, bytes);
  /external/skia/src/images/
SkImageDecoder_ktx.cpp 270 const uint8_t *bytes = data->bytes(); local
271 if (etc1_pkm_is_valid(bytes)) {
276 if (SkKTXFile::is_ktx(bytes)) {
277 return stream->write(bytes, data->size());
288 const uint8_t* bytes = data->bytes(); local
289 SkASSERT(etc1_pkm_is_valid(bytes));
291 etc1_uint32 width = etc1_pkm_get_width(bytes);
292 etc1_uint32 height = etc1_pkm_get_height(bytes);
    [all...]
  /external/skia/tests/
RecordDrawTest.cpp 157 const size_t bytes = SK_ARRAY_COUNT(text); local
160 recorder.drawPosTextH(text, bytes, xpos, 30, SkPaint());
163 recorder.drawPosText(text, bytes, pos, SkPaint());
  /external/sl4a/ScriptingLayerForAndroid/jni/
com_googlecode_android_scripting_Exec.cpp 87 jbyteArray bytes = 0; local
96 bytes = (jbyteArray) env->CallObjectMethod(jstr, MID_String_getBytes);
99 jint len = env->GetArrayLength(bytes);
103 env->DeleteLocalRef(bytes);
106 env->GetByteArrayRegion(bytes, 0, len, (jbyte*) result);
111 env->DeleteLocalRef(bytes);
  /external/sonic/
wave.c 23 int bytesWritten; /* The number of bytes written so far, including header */
31 void *bytes,
39 bytesWritten = fwrite(bytes, sizeof(char), length, file->soundFile);
60 char bytes[4]; local
64 bytes[i] = value;
67 writeBytes(file, bytes, 4);
75 char bytes[2]; local
79 bytes[i] = value;
82 writeBytes(file, bytes, 2);
85 /* Read bytes from the input file. Return the number of bytes actually read. *
119 unsigned char bytes[4]; local
134 unsigned char bytes[2]; local
332 unsigned char bytes[WAVE_BUF_LEN]; local
356 unsigned char bytes[WAVE_BUF_LEN]; local
    [all...]
  /external/squashfs-tools/kernel/fs/squashfs/
file.c 379 int bytes, i, offset = 0, sparse = 0; local
408 bytes = index == file_end ?
424 bytes = buffer->length;
442 bytes = i_size_read(inode) & (msblk->block_size - 1);
452 for (i = start_index; i <= end_index && bytes > 0; i++,
453 bytes -= PAGE_CACHE_SIZE, offset += PAGE_CACHE_SIZE) {
455 int avail = sparse ? 0 : min_t(int, bytes, PAGE_CACHE_SIZE);
457 TRACE("bytes %d, i %d, available_bytes %d\n", bytes, i, avail);
  /external/squashfs-tools/squashfs-tools/
process_fragments.c 64 int bytes = file_buffer->size, sparse = TRUE, value; local
66 while(bytes --) {
80 static int read_filesystem(int fd, long long byte, int bytes, void *buff)
84 TRACE("read_filesystem: reading from position 0x%llx, bytes %d\n",
85 byte, bytes);
91 } else if(read_bytes(fd, buff, bytes) < bytes) {
unsquash-3.c 33 int bytes = SQUASHFS_FRAGMENT_BYTES_3(sBlk.s.fragments); local
46 fragment_table = malloc(bytes);
77 bytes & (SQUASHFS_METADATA_SIZE - 1);
119 int bytes = lookup_entry(inode_table_hash, start); local
120 char *block_ptr = inode_table + bytes + offset;
125 if(bytes == -1)
289 int bytes; local
322 bytes = lookup_entry(directory_table_hash, start);
324 if(bytes == -1)
328 bytes += (*i)->offset
    [all...]
  /external/toybox/toys/pending/
file.c 89 // map e_phentsize*e_phnum bytes at e_phoff
174 int i, bytes; local
185 if ((bytes = mbrtowc(&wc, s+i, len-i, 0))>0 && wcwidth(wc)>=0) {
186 i += bytes-1;
  /external/toybox/toys/posix/
od.c 17 -j Skip this many bytes of input
18 -N Stop dumping after this many bytes
20 plus optional size in bytes
161 int bytes = 0; local
164 j = od_out_t(types+i, buf, &bytes);
165 j = (j+bytes-1)/bytes;
174 int bytes = j; local
176 // pad for as many bytes as were consumed, and indent non-numbered lines
177 od_out_t(types+i, buf, &bytes);
    [all...]
tail.c 19 -c output the last NUMBER bytes, +NUMBER counts from start
36 long bytes;
73 // Note: bytes and lines are negative here.
74 static int try_lseek(int fd, long bytes, long lines)
84 if (bytes) {
85 if (lseek(fd, bytes, SEEK_END)<0) lseek(fd, 0, SEEK_SET);
92 bytes = pos;
128 lseek(fd, bytes, SEEK_SET);
135 long bytes = TT.bytes, lines = TT.lines local
    [all...]
  /external/v8/src/snapshot/
snapshot-common.cc 61 int bytes = startup_data.length(); local
62 PrintF("[Deserializing isolate (%d bytes) took %0.3f ms]\n", bytes, ms);
86 int bytes = context_data.length(); local
87 PrintF("[Deserializing context (%d bytes) took %0.3f ms]\n", bytes, ms);
115 "%10d bytes per isolate\n"
116 "%10d bytes per context\n",
194 "%10d bytes for startup\n"
195 "%10d bytes for context\n"
    [all...]
  /external/valgrind/coregrind/m_aspacemgr/
aspacemgr-common.c 417 HChar bytes[1]; member in struct:_VgStack
456 (Addr) &stack->bytes[0],
461 (Addr) &stack->bytes[VG_STACK_GUARD_SZB + VG_(clo_valgrind_stacksize)],
466 (Addr) &stack->bytes[VG_STACK_GUARD_SZB + VG_(clo_valgrind_stacksize)],
473 p = (UInt*)&stack->bytes[VG_STACK_GUARD_SZB];
477 *initial_sp = (Addr)&stack->bytes[VG_STACK_GUARD_SZB + VG_(clo_valgrind_stacksize)];
496 /* Figure out how many bytes of the stack's active area have not
504 p = (const UInt*)&stack->bytes[VG_STACK_GUARD_SZB];
  /external/valgrind/coregrind/
vgdb-invoker-solaris.c 85 /* Copy LEN bytes of data from vgdb memory at MYADDR
104 DEBUG(1, "Writing bytes '");
115 " bytes at %#lx to %#lx.\n",
147 size_t bytes = sizeof(ctl.cmd) + sizeof(ctl.arg.flags); local
148 ssize_t written = write(ctl_fd, (void *) &ctl, bytes);
149 if ((written < 0) || (written != bytes)) {
158 bytes = sizeof(ctl.cmd);
159 written = write(ctl_fd, (void *) &ctl, bytes);
160 if ((written < 0) || (written != bytes)) {
176 bytes = read(status_fd, &pstatus, sizeof(pstatus))
229 ssize_t bytes = read(status_fd, &status, sizeof(status)); local
381 size_t bytes = sizeof(ctl.cmd) + sizeof(ctl.arg.regs); local
470 size_t bytes = sizeof(ctl.cmd); local
    [all...]
  /external/valgrind/none/tests/solaris/
coredump_many_segments.c 121 ssize_t bytes = read(fd, &map, sizeof(map)); local
122 while (bytes == sizeof(map)) {
129 bytes = read(fd, &map, sizeof(map));
187 PRINT("Page size determined as %ld bytes.\n", page_size);
  /external/vboot_reference/firmware/lib/cgptlib/
cgptlib_internal.c 18 size_t bytes = h->number_of_entries * h->size_of_entry; local
19 size_t ret = (bytes + SECTOR_SIZE - 1) / SECTOR_SIZE;
  /external/vixl/src/vixl/
utils.h 222 uint8_t bytes[8]; local
225 bytes[i] = (static_cast<uint64_t>(value) & mask) >> (i * 8);
240 result |= bytes[permute_table[block_bytes_log2 - 1][i]];
  /external/webrtc/talk/media/base/
fakenetworkinterface.h 72 int bytes = 0; local
74 bytes += static_cast<int>(rtp_packets_[i].size());
76 return bytes;
81 int bytes = 0; local
82 GetNumRtpBytesAndPackets(ssrc, &bytes, NULL);
83 return bytes;
201 void GetNumRtpBytesAndPackets(uint32_t ssrc, int* bytes, int* packets) {
202 if (bytes) {
203 *bytes = 0;
215 if (bytes) {
    [all...]

Completed in 2231 milliseconds

<<11121314151617181920>>