| /xsrc/external/mit/MesaLib/dist/.gitlab-ci/bare-metal/ |
| telnet-buffer.py | 24 # Tiny script to read bytes from telnet, and write the output to stdout, with a 37 bytes = tn.read_some() variable 38 sys.stdout.buffer.write(bytes)
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/ |
| memory_pool.c | 71 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes) 73 if (bytes < POOL_LARGE_ALLOC) { 76 if (pool->head + bytes > pool->end) 79 assert(pool->head + bytes <= pool->end); 83 pool->head += bytes; 88 struct memory_block * block = malloc(bytes + sizeof(struct memory_block));
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/ |
| memory_pool.c | 71 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes) 73 if (bytes < POOL_LARGE_ALLOC) { 76 if (pool->head + bytes > pool->end) 79 assert(pool->head + bytes <= pool->end); 83 pool->head += bytes; 88 struct memory_block * block = malloc(bytes + sizeof(struct memory_block));
|
| /xsrc/external/mit/libpciaccess/dist/src/ |
| linux_devmem.c | 126 size_t bytes; local 128 for (bytes = 0; bytes < rom_size; /* empty */) { 129 const ssize_t got = pread(fd, buffer, rom_size - bytes, 130 rom_base + bytes); 136 bytes += got;
|
| /xsrc/external/mit/xf86-video-geode/dist/src/gfx/ |
| gfx_i2c.c | 93 unsigned char subadr, unsigned char bytes, unsigned char *data) 99 status = acc_i2c_write(busnum, chipadr, subadr, bytes, data); 103 status = gpio_i2c_write(busnum, chipadr, subadr, bytes, data); 114 unsigned char subadr, unsigned char bytes, unsigned char *data) 120 status = acc_i2c_read(busnum, chipadr, subadr, bytes, data); 124 status = gpio_i2c_read(busnum, chipadr, subadr, bytes, data);
|
| gfx_defs.h | 150 * Purpose: Write multiple bytes to the scratchpad buffer 153 * dword_bytes - number of bytes to transfer. This number will always. 155 * macro (ex. bytes -= 4) 156 * bytes_extra - number of non-DWORD aligned bytes 162 #define WRITE_SCRATCH_STRING(dwords, bytes, array, array_offset) \ 170 _asm { mov ecx, bytes } \ 180 * bytes - number of bytes to transfer. This number will always. 182 * macro (ex. bytes -= 4) 188 #define WRITE_FRAME_BUFFER_STRING32(fboffset, bytes, array, array_offset) [all...] |
| /xsrc/external/mit/xf86-video-nsc/dist/src/gfx/ |
| gfx_i2c.c | 194 unsigned char subadr, unsigned char bytes, unsigned char *data) 200 status = acc_i2c_write(busnum, chipadr, subadr, bytes, data); 204 status = gpio_i2c_write(busnum, chipadr, subadr, bytes, data); 215 unsigned char subadr, unsigned char bytes, unsigned char *data) 221 status = acc_i2c_read(busnum, chipadr, subadr, bytes, data); 225 status = gpio_i2c_read(busnum, chipadr, subadr, bytes, data);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/ |
| imports.c | 74 * \param bytes number of bytes to allocate. 83 _mesa_align_malloc(size_t bytes, unsigned long alignment) 87 int err = posix_memalign(& mem, alignment, bytes); 92 return _aligned_malloc(bytes, alignment); 98 ptr = (uintptr_t)malloc(bytes + alignment + sizeof(void *)); 122 _mesa_align_calloc(size_t bytes, unsigned long alignment) 127 mem = _mesa_align_malloc(bytes, alignment); 129 (void) memset(mem, 0, bytes); 136 mem = _aligned_malloc(bytes, alignment) [all...] |
| /xsrc/external/mit/xorg-server/dist/dix/ |
| privates.c | 130 typedef Bool (*FixupFunc) (PrivatePtr *privates, int offset, unsigned bytes); 135 dixReallocPrivates(PrivatePtr *privates, int old_offset, unsigned bytes) 139 new_privates = realloc(*privates, old_offset + bytes); 142 memset((char *) new_privates + old_offset, '\0', bytes); 148 dixMovePrivates(PrivatePtr *privates, int new_offset, unsigned bytes) 150 memmove((char *) *privates + bytes, *privates, new_offset - bytes); 151 memset(*privates, '\0', bytes); 156 fixupOneScreen(ScreenPtr pScreen, FixupFunc fixup, unsigned bytes) 166 if (!fixup (&pScreen->devPrivates, size, bytes)) 336 unsigned bytes; local 604 unsigned bytes; local 742 int bytes = 0; local [all...] |
| /xsrc/external/mit/libICE/dist/src/ |
| error.c | 101 int length, /* in bytes */ 171 int bytes; local 177 bytes = STRING_BYTES (reason); 184 WORD64COUNT (bytes)); 186 pBuf = pStart = IceAllocScratch (iceConn, PADDED_BYTES64 (bytes)); 190 IceWriteData (iceConn, PADDED_BYTES64 (bytes), pStart); 204 int bytes; local 208 bytes = STRING_BYTES (reason); 215 WORD64COUNT (bytes)); 217 pBuf = pStart = IceAllocScratch (iceConn, PADDED_BYTES64 (bytes)); 235 int bytes; local 265 int bytes; local 315 int bytes; local [all...] |
| /xsrc/external/mit/libXdmcp/dist/ |
| Unwrap.c | 46 * data packed into 8 bytes, using the low 7 bits of each 59 int bytes) 71 for (j = 0; j < bytes; j += 8) 73 if (bytes - j < 8)
|
| Wrap.c | 53 int bytes) 63 for (j = 0; j < bytes; j += 8) 66 if (bytes - j < len) 67 len = bytes - j; 102 * Spread the 56 bit wrapper among 8 bytes, using the upper 7 bits
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/ |
| u_linear.c | 42 size_t bytes = t->cols * t->block.size; local 51 ptr = (char*)src_ptr + src_stride * t->rows * y + bytes * x; 53 memcpy(dst_ptr2, ptr, bytes); 54 dst_ptr2 += bytes; 66 size_t bytes = t->cols * t->block.size; local 73 ptr = (char*)dst_ptr + dst_stride * t->rows * y + bytes * x; 75 memcpy(ptr, src_ptr2, bytes); 76 src_ptr2 += bytes;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/ |
| u_linear.c | 42 size_t bytes = t->cols * t->block.size; local 51 ptr = (char*)src_ptr + src_stride * t->rows * y + bytes * x; 53 memcpy(dst_ptr2, ptr, bytes); 54 dst_ptr2 += bytes; 66 size_t bytes = t->cols * t->block.size; local 73 ptr = (char*)dst_ptr + dst_stride * t->rows * y + bytes * x; 75 memcpy(ptr, src_ptr2, bytes); 76 src_ptr2 += bytes;
|
| /xsrc/external/mit/xorg-server.old/dist/dix/ |
| privates.c | 89 typedef Bool (*FixupFunc)(PrivatePtr *privates, int offset, unsigned bytes); 92 dixReallocPrivates(PrivatePtr *privates, int old_offset, unsigned bytes) 96 new_privates = realloc(*privates, old_offset + bytes); 99 memset((char *) new_privates + old_offset, '\0', bytes); 105 dixMovePrivates(PrivatePtr *privates, int new_offset, unsigned bytes) 107 memmove((char *) *privates + bytes, *privates, new_offset - bytes); 108 memset(*privates, '\0', bytes); 113 fixupScreens(FixupFunc fixup, unsigned bytes) 117 if (!fixup(&screenInfo.screens[s]->devPrivates, keys[PRIVATE_SCREEN].offset, bytes)) 175 unsigned bytes; local 457 int bytes = 0; local [all...] |
| /xsrc/external/mit/xedit/dist/lisp/ |
| io.c | 481 int bytes, length; local 512 bytes = read(file->descriptor, buffer, size); 513 if (bytes < 0) 514 bytes = 0; 516 file->line += calculate_line(base_data, length + bytes); 518 return (length + bytes); 523 bytes = file->length - file->offset; 524 if (bytes > size) 525 bytes = size; 526 memcpy(buffer, file->buffer + file->offset, bytes); 566 int length, bytes; local 635 int bytes; local [all...] |
| /xsrc/external/mit/libX11/dist/src/ |
| StBytes.c | 91 _Xconst char *bytes, 97 XA_STRING, 8, PropModeReplace, (_Xconst unsigned char *) bytes, nbytes); 103 _Xconst char *bytes, 106 return XStoreBuffer (dpy, bytes, nbytes, 0);
|
| RdBitF.c | 120 int size; /* number of bytes of data */ 197 int bytes; local 199 for (bytes=0, ptr=bits; bytes<size; (bytes += 2)) { 203 if (!padding || ((bytes+2) % bytes_per_line)) 208 int bytes; local 210 for (bytes=0, ptr=bits; bytes<size; bytes++, ptr++) [all...] |
| /xsrc/external/mit/pixman/dist/test/ |
| rotate-test.c | 64 uint32_t *bytes, *orig; local 68 orig = bytes = malloc (WIDTH * HEIGHT * 4); 69 prng_randmemset (bytes, WIDTH * HEIGHT * 4, 0); 74 bytes += (stride / 4) * (HEIGHT - 1); 79 format, WIDTH, HEIGHT, bytes, stride);
|
| /xsrc/external/mit/xorg-server.old/dist/Xext/ |
| xres.c | 208 unsigned long *bytes = (unsigned long *)cdata; local 211 *bytes += ResGetApproxPixmapBytes(pix); 217 unsigned long *bytes = (unsigned long *)cdata; local 221 *bytes += ResGetApproxPixmapBytes(pWin->background.pixmap); 224 *bytes += ResGetApproxPixmapBytes(pWin->border.pixmap); 230 unsigned long *bytes = (unsigned long *)cdata; local 234 *bytes += ResGetApproxPixmapBytes(pGC->stipple); 237 *bytes += ResGetApproxPixmapBytes(pGC->tile.pixmap); 246 unsigned long bytes; local 257 bytes = 0 [all...] |
| /xsrc/external/mit/brotli/dist/c/enc/ |
| ringbuffer.h | 23 /* A RingBuffer(window_bits, tail_bits) contains `1 << window_bits' bytes of 27 first `1 << tail_bits' bytes: 29 and another copy of the last two bytes: 42 /* The actual ring buffer containing the copy of the last two bytes, the data, 94 const uint8_t* bytes, size_t n, RingBuffer* rb) { 99 memcpy(&rb->buffer_[p], bytes, 104 /* Push bytes into the ring buffer. */ 106 MemoryManager* m, const uint8_t* bytes, size_t n, RingBuffer* rb) { 117 memcpy(rb->buffer_, bytes, n); 124 /* Initialize the last two bytes to zero, so that we don't have to worr [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeon/ |
| radeon_video.c | 94 unsigned bytes = MIN2(new_buf->res->buf->size, new_size); local 109 memcpy(dst, src, bytes); 110 if (new_size > bytes) { 111 new_size -= bytes; 112 dst += bytes;
|
| /xsrc/external/mit/xf86-video-intel/dist/xvmc/ |
| intel_batchbuffer.c | 124 void intelBatchbufferData(const void *data, unsigned bytes, unsigned flags) 126 assert(bytes <= xvmc_driver->batch.space); 127 memcpy(xvmc_driver->batch.ptr, data, bytes); 128 xvmc_driver->batch.ptr += bytes; 129 xvmc_driver->batch.space -= bytes;
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/xvmc/ |
| intel_batchbuffer.c | 124 void intelBatchbufferData(const void *data, unsigned bytes, unsigned flags) 126 assert(bytes <= xvmc_driver->batch.space); 127 memcpy(xvmc_driver->batch.ptr, data, bytes); 128 xvmc_driver->batch.ptr += bytes; 129 xvmc_driver->batch.space -= bytes;
|
| /xsrc/external/mit/xorg-server/dist/miext/shadow/ |
| shiplan2p4.c | 95 CARD8 bytes[8]; member in union:__anon10290 125 memcpy(d.bytes, sha, sizeof(d.bytes)); 128 sha += sizeof(d.bytes) / sizeof(*sha); 129 win += sizeof(d.bytes) / sizeof(*win);
|