HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 101 - 125 of 817) sorted by null

1 2 3 45 6 7 8 91011>>

  /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/llvm/lib/Target/R600/MCTargetDesc/
SIMCCodeEmitter.cpp 134 unsigned bytes = Desc.getSize(); local
136 for (unsigned i = 0; i < bytes; i++) {
140 if (bytes > 4)
  /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 50 * Helper to construct a byte array from a bunch of bytes. The inputs are
54 private byte[] bytes(int... bytesAsInts) { method in class:CodedOutputStreamTest
55 byte[] bytes = new byte[bytesAsInts.length];
57 bytes[i] = (byte) bytesAsInts[i];
59 return bytes;
63 private List<Byte> toList(byte[] bytes) {
65 for (byte b : bytes) {
77 * checks that the result matches the given bytes.
130 assertWriteVarint(bytes(0x00), 0);
131 assertWriteVarint(bytes(0x01), 1)
    [all...]
  /external/qemu/block/
cloop.c 108 uint32_t bytes = s->offsets[block_num+1]-s->offsets[block_num]; local
111 bytes);
112 if (ret != bytes)
116 s->zstream.avail_in = bytes;
  /external/qemu/distrib/jpeg-6b/
jmemmac.c 158 long bytes = byte_count; local
164 retVal = FSRead ( info->temp_file, &bytes,
166 if ( retVal != noErr || bytes != byte_count )
176 long bytes = byte_count; local
182 retVal = FSWrite ( info->temp_file, &bytes,
184 if ( retVal != noErr || bytes != byte_count )
279 * Note that FreeMem returns the total number of free bytes;
  /external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
SDL_sysevents.cc 342 const char *bytes; local
343 if (msg->FindString("bytes", &bytes) == B_OK) {
348 keysym.unicode = Translate2Unicode(bytes);
372 const char *bytes; local
373 if (msg->FindString("bytes", &bytes) == B_OK) {
374 keysym.unicode = Translate2Unicode(bytes);
  /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/include/core/
SkData.h 18 * but the actual ptr that is returned (by data() or bytes()) is guaranteed
26 * Returns the number of bytes stored.
41 const uint8_t* bytes() const { function in class:SkData
47 * Returns the actual number of bytes copied, after clamping offset and
49 * only the computed number of bytes is returned.
72 * (a null-terminated array of bytes). The returned SkData will have size()
  /external/skia/legacy/src/core/
SkChunkAlloc.cpp 77 SkChunkAlloc::Block* SkChunkAlloc::newBlock(size_t bytes, AllocFailType ftype) {
80 if (block && bytes <= block->fFreeSize) {
85 size_t size = bytes;
102 void* SkChunkAlloc::alloc(size_t bytes, AllocFailType ftype) {
103 bytes = SkAlign4(bytes);
107 if (block == NULL || bytes > block->fFreeSize) {
108 block = this->newBlock(bytes, ftype);
116 SkASSERT(block && bytes <= block->fFreeSize);
119 block->fFreeSize -= bytes;
125 size_t bytes = 0; local
    [all...]
  /external/skia/legacy/src/images/
SkFlipPixelRef.cpp 94 const size_t bytes = rect.width() << shift; local
98 memcpy(dstP, srcP, bytes);
SkImageDecoder_wbmp.cpp 74 int bytes = bits >> 3; local
76 for (int i = 0; i < bytes; i++) {
SkJpegUtility.cpp 42 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); local
45 if (bytes == 0) {
49 src->current_offset += bytes;
51 src->bytes_in_buffer = bytes;
61 long bytes = (long)src->fStream->skip(bytesToSkip); local
62 if (bytes <= 0 || bytes > bytesToSkip) {
63 // SkDebugf("xxxxxxxxxxxxxx failure to skip request %d returned %d\n", bytesToSkip, bytes);
67 src->current_offset += bytes;
68 bytesToSkip -= bytes;
    [all...]
  /external/skia/src/core/
SkChunkAlloc.cpp 70 SkChunkAlloc::Block* SkChunkAlloc::newBlock(size_t bytes, AllocFailType ftype) {
71 size_t size = bytes;
92 void* SkChunkAlloc::alloc(size_t bytes, AllocFailType ftype) {
93 bytes = SkAlign4(bytes);
97 if (block == NULL || bytes > block->fFreeSize) {
98 block = this->newBlock(bytes, ftype);
106 SkASSERT(block && bytes <= block->fFreeSize);
109 block->fFreeSize -= bytes;
110 block->fFreePtr = ptr + bytes;
115 size_t bytes = 0; local
    [all...]
  /external/skia/src/images/
SkFlipPixelRef.cpp 71 const size_t bytes = rect.width() << shift; local
75 memcpy(dstP, srcP, bytes);
SkImageDecoder_wbmp.cpp 74 int bytes = bits >> 3; local
76 for (int i = 0; i < bytes; i++) {
SkJpegUtility.cpp 42 size_t bytes = src->fStream->read(src->fBuffer, skjpeg_source_mgr::kBufferSize); local
45 if (bytes == 0) {
49 src->current_offset += bytes;
51 src->bytes_in_buffer = bytes;
61 long bytes = (long)src->fStream->skip(bytesToSkip); local
62 if (bytes <= 0 || bytes > bytesToSkip) {
63 // SkDebugf("xxxxxxxxxxxxxx failure to skip request %d returned %d\n", bytesToSkip, bytes);
67 src->current_offset += bytes;
68 bytesToSkip -= bytes;
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
ByteArray.java 35 private final byte[] bytes; field in class:ByteArray
40 /** <code>&gt;= 0, &lt;= bytes.length</code>; size computed as
47 * @param bytes non-null; the underlying array
49 * @param end <code>&gt;= start, &lt;= bytes.length</code>; end index of
52 public ByteArray(byte[] bytes, int start, int end) {
53 if (bytes == null) {
54 throw new NullPointerException("bytes == null");
65 if (end > bytes.length) {
66 throw new IllegalArgumentException("end > bytes.length");
69 this.bytes = bytes
    [all...]
  /external/tremolo/Tremolo/
misc.c 58 long bytes; member in struct:__anon15869
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/valgrind/main/coregrind/m_ume/
elf.c 223 UInt bytes; local
225 bytes = VG_PGROUNDUP(brkaddr)-VG_PGROUNDUP(bss);
226 if (bytes > 0) {
229 VG_PGROUNDUP(bss), bytes,
233 check_mmap(res, VG_PGROUNDUP(bss), bytes);
236 bytes = bss & (VKI_PAGE_SIZE - 1);
239 if ((prot & VKI_PROT_WRITE) && (bytes > 0)) {
240 bytes = VKI_PAGE_SIZE - bytes;
241 VG_(memset)((char *)bss, 0, bytes);
    [all...]
  /external/webkit/Source/WebCore/platform/text/
TextCodecLatin1.cpp 119 String TextCodecLatin1::decode(const char* bytes, size_t length, bool, bool, bool&)
124 const uint8_t* source = reinterpret_cast<const uint8_t*>(bytes);
125 const uint8_t* end = reinterpret_cast<const uint8_t*>(bytes + length);
163 char* bytes = result.data(); local
180 bytes = result.data();
181 memcpy(bytes + resultLength, replacement, replacementLength);
186 bytes[resultLength++] = b;
189 return CString(bytes, resultLength);
195 char* bytes; local
196 CString string = CString::newUninitialized(length, bytes);
    [all...]
  /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_hardware_UsbDeviceConnection.cpp 98 jbyte* bytes = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0); local
99 if (bytes) {
100 memcpy(bytes, buffer, length);
101 env->ReleasePrimitiveArrayCritical(ret, bytes, 0);

Completed in 1246 milliseconds

1 2 3 45 6 7 8 91011>>