| /external/squashfs-tools/kernel/fs/squashfs/ |
| file.c | 380 struct squashfs_cache_entry *buffer = NULL; local 416 buffer = squashfs_get_datablock(inode->i_sb, 418 if (buffer->error) { 421 squashfs_cache_put(buffer); 424 bytes = buffer->length; 431 buffer = squashfs_get_fragment(inode->i_sb, 435 if (buffer->error) { 439 squashfs_cache_put(buffer); 469 squashfs_copy_data(pageaddr, buffer, offset, avail); 481 squashfs_cache_put(buffer); [all...] |
| /external/squashfs-tools/squashfs-tools/ |
| process_fragments.c | 104 struct file_buffer *buffer, *compressed_buffer; local 117 * same buffer. This means a buffer needs to be "locked" 131 buffer = cache_lookup_nowait(fragment_buffer, index, &locked); 132 if(buffer) { 135 /* got a buffer being filled in. Wait for it */ 136 cache_wait_unlock(buffer); 141 buffer = cache_lookup_nowait(reserve_cache, index, &locked); 142 if(buffer) { 145 /* got a buffer being filled in. Wait for it * 275 struct file_buffer *buffer; local [all...] |
| unsquash-3.c | 285 char buffer[sizeof(squashfs_dir_entry_3) + SQUASHFS_NAME_LEN + 1] local 287 squashfs_dir_entry_3 *dire = (squashfs_dir_entry_3 *) buffer;
|
| /external/stressapptest/src/ |
| adler32memcpy.cc | 72 char buffer[128]; local 73 snprintf(buffer, sizeof(buffer), "%016llx %016llx %016llx %016llx", a1_, a2_, b1_, b2_); 74 return string(buffer);
|
| /external/swiftshader/src/Main/ |
| FrameBufferDD.cpp | 361 memcpy(destBuffer, sourceBuffer, width * 4); // FIXME: Assumes 32-bit buffer 447 char buffer[256]; local 451 vsprintf(buffer, string, arglist); 461 TextOut(hdc, x, y, buffer, lstrlen(buffer));
|
| /external/swiftshader/src/OpenGL/libGL/ |
| Framebuffer.cpp | 45 Renderbuffer *buffer = nullptr; local 49 buffer = nullptr; 53 buffer = context->getRenderbuffer(handle); 57 buffer = context->getTexture(handle)->getRenderbuffer(type); 61 return buffer; 386 // If we have both a depth and stencil buffer, they must refer to the same object
|
| ResourceManager.cpp | 20 #include "Buffer.h" 74 // Returns an unused buffer name 162 void ResourceManager::deleteBuffer(GLuint buffer) 164 BufferMap::iterator bufferObject = mBufferMap.find(buffer); 236 Buffer *ResourceManager::getBuffer(unsigned int handle) 238 BufferMap::iterator buffer = mBufferMap.find(handle); local 240 if(buffer == mBufferMap.end()) 246 return buffer->second; 308 void ResourceManager::setRenderbuffer(GLuint handle, Renderbuffer *buffer) 310 mRenderbufferMap[handle] = buffer; [all...] |
| VertexDataManager.cpp | 16 // runs the Buffer translation process. 20 #include "Buffer.h" 45 ERR("Failed to allocate the streaming vertex buffer."); 61 Buffer *buffer = attribute.mBoundBuffer; local 76 ERR("Failed to map vertex buffer."); 82 if(buffer) 86 input = static_cast<const char*>(buffer->data()) + offset; 124 // Determine the required storage size per used buffer 148 Buffer *buffer = attribs[i].mBoundBuffer local [all...] |
| /external/swiftshader/src/OpenGL/libGLES_CM/ |
| Framebuffer.cpp | 45 Renderbuffer *buffer = nullptr; local 49 buffer = nullptr; 53 buffer = context->getRenderbuffer(handle); 57 buffer = context->getTexture(handle)->getRenderbuffer(type); 61 return buffer;
|
| VertexDataManager.cpp | 16 // runs the Buffer translation process. 20 #include "Buffer.h" 46 ERR("Failed to allocate the streaming vertex buffer."); 62 Buffer *buffer = attribute.mBoundBuffer; local 77 ERR("Failed to map vertex buffer."); 83 if(buffer) 87 input = static_cast<const char*>(buffer->data()) + offset; 124 // Determine the required storage size per used buffer 143 Buffer *buffer = attribs[i].mBoundBuffer local [all...] |
| /external/swiftshader/src/OpenGL/libGLESv2/ |
| VertexDataManager.cpp | 16 // runs the Buffer translation process. 20 #include "Buffer.h" 45 ERR("Failed to allocate the streaming vertex buffer."); 61 Buffer *buffer = attribute.mBoundBuffer; local 76 ERR("Failed to map vertex buffer."); 82 if(buffer) 84 input = static_cast<const char*>(buffer->data()) + attribute.mOffset; 123 // Determine the required storage size per used buffer 154 Buffer *buffer = attrib.mBoundBuffer local [all...] |
| /external/swiftshader/src/Renderer/ |
| Stream.hpp | 48 const void *buffer; member in struct:sw::StreamResource 54 Stream(Resource *resource = 0, const void *buffer = 0, unsigned int stride = 0) 57 this->buffer = buffer; 70 Stream &define(const void *buffer, StreamType type, unsigned int count, bool normalized = false) 72 this->buffer = buffer; 85 buffer = &null;
|
| /external/swiftshader/third_party/subzero/pnacl-llvm/ |
| NaClBitcodeHeader.cpp | 98 // Ensure buffer is large enough and that length can be represented 126 // Need to reallocate data buffer. 138 std::string buffer; local 139 raw_string_ostream ss(buffer); 240 unsigned char Buffer[2 * WordSize]; 241 if (Bytes->readBytes(Buffer, sizeof(Buffer), 0) != sizeof(Buffer)) 243 if (ReadPrefix(Buffer, Buffer + sizeof(Buffer), NumFields, NumBytes) [all...] |
| /external/syslinux/com32/cmenu/libmenu/ |
| help.c | 22 // Find the occurence of the count'th \n in buffer (or NULL) if not found 23 static char *findline(char *buffer, int count) 26 char *p = buffer - 1; 29 return buffer; 38 // return the number of lines in buffer 39 static int countlines(char *buffer) 44 p = buffer - 1; 94 char *buffer; member in union:__anon36892 125 title = buf.buffer;
|
| /external/syslinux/com32/lib/syslinux/ |
| initramfs_file.c | 61 Returns the number of bytes; doesn't touch the buffer if too small. */ 62 static size_t initramfs_mkdirs(const char *filename, void *buffer, 66 char *bp = buffer; 112 char *buffer, *bp; local 122 bp = buffer = malloc(bytes); 123 if (!buffer) 137 if (initramfs_add_data(ihead, buffer, bytes, bytes, 4)) { 138 free(buffer);
|
| /external/syslinux/com32/libupload/ |
| upload_tftp.c | 77 uw->buffer = FAR_PTR(uw+1); 90 ur->buffer = FAR_PTR(ur+1); 127 char buffer[512+4+6]; local 163 buffer[0] = 0; 164 buffer[1] = TFTP_WRQ; 165 nlen = strlcpy(buffer+2, be->argv[0], 512); 166 memcpy(buffer+3+nlen, "octet", 6); 168 if ((err=send_ack_packet(&tftp, buffer, 2+nlen+1+6))!=TFTP_OK) 174 buffer[1] = TFTP_DATA; 175 *((uint16_t *)(buffer+2)) = htons(++tftp.seq) [all...] |
| /external/syslinux/com32/libutil/ |
| sha1hash.c | 115 void SHA1Transform(uint32_t state[5], const unsigned char buffer[64]) 126 memcpy(block, buffer, 64); 128 block = (CHAR64LONG16 *) buffer; 255 memcpy(&context->buffer[j], data, (i = 64 - j)); 256 SHA1Transform(context->state, context->buffer); 263 memcpy(&context->buffer[j], &data[i], len - i); 292 memset(context->buffer, 0, 64); 297 SHA1Transform(context->state, context->buffer); 340 uint8_t digest[20], buffer[16384]; local 353 i = fread(buffer, 1, 16384, file) [all...] |
| /external/syslinux/gpxe/src/arch/i386/interface/pxe/ |
| pxe_preboot.c | 58 /* This buffer must be *exactly* the size of a BOOTPLAYER_t 60 * size of *our* buffer and feeds it in to us as the size of 61 * one of *its* buffers. If our buffer is larger than it 76 * @v data Buffer for DHCP packet 77 * @v max_len Size of DHCP packet buffer 91 /* The case in which the caller doesn't supply a buffer is really 98 * can't just use the temporary packet buffer. 4.5kB of base memory 147 userptr_t buffer; local 152 DBG ( " to %04x:%04x+%x", get_cached_info->Buffer.segment, 153 get_cached_info->Buffer.offset, get_cached_info->BufferSize ) [all...] |
| /external/syslinux/gpxe/src/include/ |
| cmdlinelib.h | 41 char* buffer; member in struct:__anon38199
|
| /external/syslinux/libinstaller/ |
| syslxcom.c | 301 char buffer[8]; local 303 xpread(dev_fd, buffer, 8, 3); 304 return !memcmp(buffer, "SYSLINUX", 8) || !memcmp(buffer, "EXTLINUX", 8);
|
| /external/tensorflow/tensorflow/contrib/lite/toco/tflite/ |
| import.cc | 61 int buffer_index = input_tensor->buffer(); 62 auto* buffer = buffers->Get(buffer_index); local 63 DataBuffer::Deserialize(*input_tensor, *buffer, &array);
|
| /external/tensorflow/tensorflow/contrib/mpi_collectives/kernels/ |
| ring.h | 163 T* buffer = (T*)output->tensor_data().data(); local 165 CopyTensorData<Device>((void*)buffer, (void*)input->tensor_data().data(), 205 T* segment_send = &(buffer[segment_starts[send_seg_id]]); 215 T* segment_update = &(buffer[segment_starts[recv_seg_id]]); 234 T* segment_send = &(buffer[segment_starts[send_seg_id]]); 237 T* segment_recv = &(buffer[segment_starts[recv_seg_id]]); 281 T* buffer = (T*)output->tensor_data().data(); local 282 CopyTensorData<Device>((void*)(buffer + offset), 304 T* segment_send = &(buffer[offset_send]); 309 T* segment_recv = &(buffer[offset_recv]) [all...] |
| /external/tensorflow/tensorflow/contrib/tensorrt/segment/ |
| segment_test.cc | 53 TF_Buffer* buffer = TF_NewBuffer(); local 54 TF_GraphToGraphDef(graph, buffer, s); 57 if (ret) ret = graph_def->ParseFromArray(buffer->data, buffer->length); 58 TF_DeleteBuffer(buffer);
|
| /external/testng/src/main/java/org/testng/reporters/ |
| Files.java | 52 byte[] buffer = new byte[65536]; 53 int count = from.read(buffer); 55 os.write(buffer, 0, count); 56 count = from.read(buffer); 65 char[] buffer = new char[1024]; local 69 while ((n = reader.read(buffer)) != -1) { 70 writer.write(buffer, 0, n);
|
| /external/tinyalsa/ |
| tinyhostless.c | 225 char *buffer = NULL; local 279 buffer = malloc(size); 280 if (!buffer) { 302 if (pcm_read(pcm_cap, buffer, size)) { 308 if (pcm_write(pcm_play, buffer, size)) { 324 if (buffer) 325 free(buffer);
|