HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 476 - 500 of 1193) sorted by null

<<11121314151617181920>>

  /external/mesa3d/src/gallium/drivers/nvc0/
nvc0_transfer.c 279 unsigned bytes = MIN2(size, 1 << 17); local
288 PUSH_DATA (push, bytes);
294 srcoff += bytes;
295 dstoff += bytes;
296 size -= bytes;
  /external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/
SIMCCodeEmitter.cpp 111 ///getEncodingBytes - Get then size in bytes of this instructions encoding.
134 unsigned bytes = getEncodingBytes(MI); local
135 for (unsigned i = 0; i < bytes; i++) {
  /external/mesa3d/src/mesa/drivers/dri/i915/
i915_debug.c 820 GLuint bytes = (end - start) * 4; local
823 printf("\n\nBATCH: (%d)\n", bytes / 4);
830 stream.offset < bytes &&
836 assert(stream.offset <= bytes &&
  /external/mesa3d/src/mesa/main/
uniform_query.cpp 294 unsigned bytes = sizeof(src[0]) * elements; local
295 if (bufSize < 0 || bytes > (unsigned) bufSize) {
298 " but %u bytes are required)", bufSize, bytes );
314 memcpy(paramsOut, src, bytes);
  /external/mesa3d/src/mesa/swrast/
s_blend.c 76 GLint bytes; local
86 bytes = 4 * n * sizeof(GLubyte);
88 bytes = 4 * n * sizeof(GLushort);
90 bytes = 4 * n * sizeof(GLfloat);
92 memcpy(src, dst, bytes);
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
Pipeline.java 35 * Input class for the pipelined parser. Buffer all bytes read from the socket
87 byte[] bytes; field in class:Pipeline.Buffer
93 public Buffer(byte[] bytes, int length) {
96 this.bytes = bytes;
100 int retval = bytes[ptr++] & 0xFF;
131 public void write(byte[] bytes, int start, int length) throws IOException {
134 Buffer buff = new Buffer(bytes, length);
142 public void write(byte[] bytes) throws IOException {
145 Buffer buff = new Buffer(bytes, bytes.length)
    [all...]
  /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::__anon26360::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::__anon26360::VarintErrorCase
461 uint8 bytes[sizeof(uint32)]; \/\/ Encoded bytes. member in struct:google::protobuf::io::__anon26360::Fixed32Case
466 uint8 bytes[sizeof(uint64)]; \/\/ Encoded bytes. member in struct:google::protobuf::io::__anon26360::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 66 int64_t bytes = local
69 if (bytes > INT_MAX) {
73 samples = bytes >> hw->info.shift;
154 dolog ("Could not allocate buffer (%d bytes)\n",
298 dolog("unsupported bytes per sample (%d) in '%s'\n",
354 int64_t bytes = muldiv64(ticks, hw->info.bytes_per_second, get_ticks_per_sec()); local
356 if (bytes > INT_MAX) {
360 samples = bytes >> hw->info.shift;
  /external/skia/gm/
gm_expectations.cpp 261 const char *bytes = reinterpret_cast<const char *>(dataRef.get()->data()); local
264 if (!reader.parse(bytes, bytes+size, *jsonRoot)) {
  /external/skia/include/core/
SkTDArray.h 104 * return the number of bytes in the array: count * sizeof(T)
106 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->sizeInBytes() - fBlocks[i].fBytesFree; local
139 bytesInUse += bytes;
140 GrAssert(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...]
GrGpu.cpp 442 size_t bytes = geoSrc.fVertexCount * geoSrc.fVertexSize; local
443 fVertexPool->putBack(bytes);
450 size_t bytes = geoSrc.fIndexCount * sizeof(uint16_t); local
451 fIndexPool->putBack(bytes);
488 size_t bytes = geoSrc.fVertexCount * geoSrc.fVertexSize; local
489 fVertexPool->putBack(bytes);
497 size_t bytes = geoSrc.fIndexCount * sizeof(uint16_t); local
498 fIndexPool->putBack(bytes);
GrResourceCache.cpp 384 size_t bytes = 0; local
392 bytes += entry->resource()->sizeInBytes();
394 return bytes;
397 static bool both_zero_or_nonzero(int count, size_t bytes) {
398 return (count == 0 && bytes == 0) || (count > 0 && bytes > 0);
434 size_t bytes = countBytes(fList); local
435 GrAssert(bytes == fEntryBytes - fClientDetachedBytes);
437 bytes = countBytes(fExclusiveList);
438 GrAssert(bytes == fClientDetachedBytes)
    [all...]
  /external/skia/src/ports/
SkImageDecoder_WIC.cpp 305 uint8_t* bytes = pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel(); local
307 SkPMColor* src = reinterpret_cast<SkPMColor*>(bytes);
308 SkColor* dst = reinterpret_cast<SkColor*>(bytes);
  /external/skia/tools/
bench_pictures_main.cpp 212 size_t bytes = gLruImageCache.getImageCacheUsed(); local
213 if (bytes > 1024) {
214 size_t kb = bytes / 1024;
222 ramCount.appendf("%zi bytes\n", bytes);
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
ByteArrayOutput.java 66 * &gt;= 8 (if used); the number of bytes of hex output to use
115 * may be larger than the number of bytes written
128 * bytes at the end).
269 public void write(ByteArray bytes) {
270 int blen = bytes.size();
281 bytes.getBytes(data, writeAt);
286 public void write(byte[] bytes, int offset, int length) {
292 if (((offset | length | end) < 0) || (bytesEnd > bytes.length)) {
293 throw new IndexOutOfBoundsException("bytes.length " +
294 bytes.length + "; "
    [all...]
  /external/valgrind/main/VEX/useful/
smchash.c 25 UChar* bytes; member in struct:__anon29477
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/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 210 jbyte *bytes = env->GetByteArrayElements(array, NULL); local
211 memcpy(bytes, buf, len);
212 env->ReleaseByteArrayElements(array, bytes, 0);

Completed in 1015 milliseconds

<<11121314151617181920>>