HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 451 - 475 of 3210) sorted by null

<<11121314151617181920>>

  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_dma.c 216 aligned to next 16 bytes. */
267 int bytes, int alignment)
270 fprintf(stderr, "%s %d\n", __func__, bytes);
281 || rmesa->dma.current_used + bytes > first_elem(&rmesa->dma.reserved)->bo->size)
282 radeonRefillCurrentDmaRegion(rmesa, bytes);
288 /* Always align to at least 16 bytes */
289 rmesa->dma.current_used = (rmesa->dma.current_used + bytes + 15) & ~15;
454 GLuint bytes = vsize * nverts; local
460 ||rmesa->dma.current_vertexptr + bytes > first_elem(&rmesa->dma.reserved)->bo->size) {
465 radeonRefillCurrentDmaRegion(rmesa, bytes);
    [all...]
  /external/mtpd/
mtpd.c 121 unsigned char bytes[2]; local
122 if (recv(control, &bytes[0], 1, 0) != 1 ||
123 recv(control, &bytes[1], 1, 0) != 1) {
127 int length = bytes[0] << 8 | bytes[1];
  /external/pdfium/third_party/libtiff/
tif_aux.c 39 uint32 bytes = first * second; local
41 if (second && bytes / second != first) {
43 bytes = 0;
46 return bytes;
52 uint64 bytes = first * second; local
54 if (second && bytes / second != first) {
56 bytes = 0;
59 return bytes;
67 tmsize_t bytes = nmemb * elem_size; local
73 cp = _TIFFrealloc(buffer, bytes);
    [all...]
  /external/protobuf/csharp/src/Google.Protobuf/
ByteString.cs 42 /// Immutable array of bytes.
48 private readonly byte[] bytes; field in class:Google.Protobuf.ByteString
59 internal static ByteString FromBytes(byte[] bytes)
61 return new ByteString(bytes);
65 /// Provides direct, unrestricted access to the bytes contained in this instance.
68 internal static byte[] GetBuffer(ByteString bytes)
70 return bytes.bytes;
77 internal static ByteString AttachBytes(byte[] bytes)
79 return new ByteString(bytes);
    [all...]
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
CodedOutputStreamTest.java 89 private final byte[] bytes; field in class:CodedOutputStreamTest.ArrayCoder
92 bytes = new byte[size];
93 stream = CodedOutputStream.newInstance(bytes);
103 return Arrays.copyOf(bytes, stream.getTotalBytesWritten());
139 byte[] bytes = new byte[dup.remaining()];
140 dup.get(bytes);
141 return bytes;
177 byte[] bytes = new byte[dup.remaining()];
178 dup.get(bytes);
179 return bytes;
    [all...]
LazyFieldTest.java 106 ByteString bytes = message.toByteString(); local
108 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 238 int bytes = local
240 if (bytes <= 0) {
244 skipped += bytes;
304 << " Can't back up over more bytes than were returned by the last call"
320 // First skip any bytes left over from a previous BackUp().
394 << " 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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowMemoryMappedFile.java 25 private byte[] bytes; field in class:ShadowMemoryMappedFile
41 shadowMemoryMappedFile.bytes = Streams.readFully(is);
66 bytes = null;
80 return new RoboBufferIterator(bytes, endianness);
85 return bytes.length;
  /external/selinux/libselinux/src/
regex.c 167 PCRE2_UCHAR *bytes = NULL; local
172 1, &bytes, &serialized_size, NULL);
189 len = fwrite(bytes, 1, to_write, fp);
195 if (bytes)
196 pcre2_serialize_free(bytes);
398 /* determine the size of the pcre data in bytes */
403 /* write the number of bytes in the pcre data */
423 /* write the number of bytes in the pcre study data */
  /external/skia/src/core/
SkImageInfo.cpp 112 size_t bytes = safe.add(safe.mul(fHeight - 1, rowBytes), local
114 return safe ? bytes : SK_MaxSizeT;
  /external/skia/src/ports/
SkImageEncoder_WIC.cpp 84 uint8_t* bytes = pixels + y * bitmap.rowBytes() + x * bitmap.bytesPerPixel(); local
85 SkPMColor* src = reinterpret_cast<SkPMColor*>(bytes);
86 SkColor* dst = reinterpret_cast<SkColor*>(bytes);
  /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/skia/tools/debugger/
SkJsonWriteBuffer.cpp 20 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(data); local
22 SkString hexByte = SkStringPrintf("%02x", bytes[i]);
30 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(data); local
32 SkString hexByte = SkStringPrintf("%02x", bytes[i]);
  /external/skqp/src/core/
SkImageInfo.cpp 72 size_t bytes = safe.add(safe.mul(fHeight - 1, rowBytes), local
74 return safe ? bytes : SK_MaxSizeT;
  /external/skqp/src/ports/
SkImageEncoder_WIC.cpp 84 uint8_t* bytes = pixels + y * bitmap.rowBytes() + x * bitmap.bytesPerPixel(); local
85 SkPMColor* src = reinterpret_cast<SkPMColor*>(bytes);
86 SkColor* dst = reinterpret_cast<SkColor*>(bytes);
  /external/skqp/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/skqp/tools/debugger/
SkJsonWriteBuffer.cpp 20 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(data); local
22 SkString hexByte = SkStringPrintf("%02x", bytes[i]);
30 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(data); local
32 SkString hexByte = SkStringPrintf("%02x", bytes[i]);
  /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/swiftshader/src/D3D9/
Direct3DSurface9.cpp 407 int Direct3DSurface9::bytes(D3DFORMAT format) function in class:D3D9::Direct3DSurface9
409 return Surface::bytes(translateFormat(format));

Completed in 542 milliseconds

<<11121314151617181920>>