| /external/stressapptest/src/ |
| logger.cc | 40 char buffer[4096]; local 47 length = strftime(buffer, sizeof(buffer), "%Y/%m/%d-%H:%M:%S(%Z) ", 49 LOGGER_ASSERT(length); // Catch if the buffer is set too small. 51 length += vsnprintf(buffer + length, sizeof(buffer) - length, format, args); 52 if (length >= sizeof(buffer)) { 53 length = sizeof(buffer); 54 buffer[sizeof(buffer) - 1] = '\n' [all...] |
| /external/swiftshader/src/D3D9/ |
| Direct3DIndexBuffer9.cpp | 169 if(offset == 0 && size == 0) // Lock whole buffer 179 void *buffer; local 186 buffer = (void*)indexBuffer->data(); 190 buffer = (void*)indexBuffer->data(); 194 buffer = indexBuffer->lock(sw::PUBLIC); 198 *data = (unsigned char*)buffer + offset;
|
| Direct3DVertexBuffer9.cpp | 188 if(offset == 0 && size == 0) // Lock whole buffer 198 void *buffer; local 205 buffer = (void*)vertexBuffer->data(); 209 buffer = (void*)vertexBuffer->data(); 213 buffer = vertexBuffer->lock(sw::PUBLIC); 217 *data = (unsigned char*)buffer + offset;
|
| /external/swiftshader/src/OpenGL/libGLESv2/ |
| Buffer.h | 15 // Buffer.h: Defines the Buffer class, representing storage of vertex and/or 16 // index data. Implements GL buffer objects and related functionality. 32 class Buffer : public gl::NamedObject 35 explicit Buffer(GLuint name); 37 virtual ~Buffer(); 71 void set(Buffer *newBuffer, int newOffset = 0, int newSize = 0) 73 buffer = newBuffer; 80 const gl::BindingPointer<Buffer>& get() const { return buffer; } 83 gl::BindingPointer<Buffer> buffer; member in class:es2::BufferBinding [all...] |
| /external/swiftshader/src/Renderer/ |
| QuadRasterizer.cpp | 168 Pointer<Byte> buffer; local 173 buffer = zBuffer + 4 * x0; 178 buffer = zBuffer + 8 * x0; 190 zValue.xy = *Pointer<Float4>(buffer); 191 zValue.zw = *Pointer<Float4>(buffer + pitch - 8); 195 zValue = *Pointer<Float4>(buffer, 16); 224 buffer += 8; 228 buffer += 16;
|
| /external/swiftshader/third_party/LLVM/lib/Support/Windows/ |
| Windows.h | 36 char *buffer = NULL; local 38 NULL, GetLastError(), 0, (LPSTR)&buffer, 1, NULL); 39 *ErrMsg = prefix + buffer; 40 LocalFree(buffer);
|
| /external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
| AlignOf.h | 37 LLVM_ALIGNAS(Alignment) char buffer[Size]; member in struct:llvm::AlignedCharArray 42 /// \brief Create a type with an aligned char buffer. 58 char buffer[Size]; 66 char buffer[Size]; 74 char buffer[Size]; 82 char buffer[Size]; 93 __declspec(align(x)) char buffer[Size]; \ 131 /// expose a char array buffer member which can be used as suitable storage for
|
| /external/syslinux/com32/hdt/ |
| hdt-cli-acpi.c | 149 char buffer[8]; local 150 memset(buffer, 0, sizeof(buffer)); 151 strcpy(buffer, "disable"); 155 strcpy(buffer, "enable"); 157 sla->apic_id, sla->acpi_id, sla->apic_id, buffer); 171 char buffer[20]; local 173 slan->acpi_processor_id, flags_to_string(buffer, 190 char buffer[15]; local 191 memset(buffer, 0, sizeof(buffer)) 225 char buffer[20]; local [all...] |
| hdt-dump-dmi.c | 426 char buffer[8]={0}; local 427 snprintf(buffer,sizeof(buffer),"%d.%d",hardware->dmi.dmitable.major_version, hardware->dmi.dmitable.minor_version); 428 add_s("dmi.version",buffer);
|
| hdt-dump.c | 95 char *buffer; local 96 while ((buffer = strstr(filename, "%{"))) { 98 char *buffer_end = strstr(buffer, "}"); 102 strncpy(option, buffer, buffer_end - buffer + 1);
|
| hdt-menu-disk.c | 82 char buffer[SUBMENULEN + 1]; local 87 memset(buffer, 0, sizeof buffer); 108 snprintf(buffer, sizeof buffer, "Size : %s", remove_spaces(size)); 110 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); 112 snprintf(buffer, sizeof buffer, "Type : %s", parttype); 114 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); 117 snprintf(buffer, sizeof buffer, "Bootloader : %s", bootloader_name) 156 char buffer[MENULEN + 1]; local 238 char buffer[MENULEN + 1]; local [all...] |
| /external/syslinux/com32/lib/sys/ |
| libansi.c | 56 char buffer[10]; local 57 memset(buffer,0,sizeof(buffer)); 58 sprintf(buffer,CSI "%dD",count); 59 fputs(buffer, stdout); 64 char buffer[10]; local 65 memset(buffer,0,sizeof(buffer)); 66 sprintf(buffer, CSI "%dC", count); 67 fputs(buffer, stdout) 89 char buffer[10]; local [all...] |
| /external/syslinux/com32/lib/ |
| vdprintf.c | 47 char buffer[BUFFER_SIZE]; local 52 rv = vsnprintf(buffer, BUFFER_SIZE, format, ap); 106 p = buffer;
|
| /external/syslinux/gpxe/src/arch/i386/interface/pxe/ |
| pxe_file.c | 137 * @v s_PXENV_FILE_READ::BufferSize Size of data buffer 138 * @v s_PXENV_FILE_READ::Buffer Data buffer 147 userptr_t buffer; local 151 file_read->Buffer.segment, file_read->Buffer.offset, 154 buffer = real_to_user ( file_read->Buffer.segment, 155 file_read->Buffer.offset ); 156 if ( ( len = read_user ( file_read->FileHandle, buffer, 0 [all...] |
| pxe_tftp.c | 43 /** Data buffer */ 44 userptr_t buffer; member in struct:pxe_tftp_connection 45 /** Size of data buffer */ 47 /** Starting offset of data buffer */ 81 * @v iobuf I/O buffer 91 /* Calculate new buffer position */ 96 /* Copy data block to buffer */ 100 DBG ( " buffer underrun at %zx (min %zx)", 105 DBG ( " buffer overrun at %zx (max %zx)", 110 copy_to_user ( pxe_tftp.buffer, [all...] |
| pxe_udp.c | 49 * @v iobuf I/O buffer 64 userptr_t buffer; local 74 /* Copy packet to buffer and record length */ 75 buffer = real_to_user ( pxenv_udp_read->buffer.segment, 76 pxenv_udp_read->buffer.offset ); 80 copy_to_user ( buffer, 0, iobuf->data, len ); 224 * @v s_PXENV_UDP_WRITE::buffer Address of the UDP payload 232 * prepended to the payload in s_PXENV_UDP_WRITE::buffer; the buffer 265 userptr_t buffer; local 298 copy_from_user ( iob_put ( iobuf, len ), buffer, 0, len ); local [all...] |
| /external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
| cpu_runtime.cc | 88 // Wait until there's a buffer to dequeue. 89 xla::cpu::runtime::XfeedBuffer* buffer = local 91 CHECK_EQ(buffer->length(), buffer_length) 92 << "XLA program infeed request buffer size " << buffer_length 93 << " did not match the runtime's infed buffer length " << buffer->length() 96 return buffer->data(); 120 // Wait until there's a buffer to dequeue. 121 xla::cpu::runtime::XfeedBuffer* buffer = local 123 CHECK_EQ(buffer->length(), buffer_length [all...] |
| /external/tensorflow/tensorflow/compiler/xla/service/ |
| liveness_util.cc | 38 // GetTupleElement instructions only access the top-level buffer of their 50 // Iterate through all users of all buffer aliases of the buffer in the 53 const LogicalBuffer* buffer = local 56 points_to_analysis.GetBufferAliases(*buffer)) { 62 // Return false: use detected at 'buffer' -> 'alias' -> 'alias_user'. 115 for (const LogicalBuffer* buffer : points_to) { 117 points_to_analysis.GetBufferAliases(*buffer)) { 247 // TODO(b/62548313): Remove when buffer assignment is module scoped and 264 // root result buffer is required to alias with the Call result buffer) [all...] |
| /external/tensorflow/tensorflow/contrib/hvx/hexagon_controller/src_log/include/ |
| tfm_log.h | 64 char buffer[200]; local 65 const int count = snprintf(buffer, 200, fmt, ap); 66 buffer[count] = 0; 67 TFMLOGI("%s", buffer);
|
| /external/tensorflow/tensorflow/contrib/lite/kernels/ |
| gather.cc | 104 DynamicBuffer buffer; local 111 buffer.AddString(string_ref.str, string_ref.len); 113 buffer.WriteToTensor(output);
|
| /external/tensorflow/tensorflow/contrib/lite/tools/ |
| verifier.cc | 54 // Verifies string tensor has legit buffer contents that follow the schema 56 bool VerifyStringTensorBuffer(const Buffer& buffer, 58 uint32_t buffer_size = buffer.data()->size(); 59 const char* buffer_ptr = reinterpret_cast<const char*>(buffer.data()->data()); 72 "String tensor buffer requires at least %d bytes, but is " 83 "String tensor buffer initial offset must be: %d", 91 ReportError(error_reporter, "String tensor buffer is invalid: index %d", 97 ReportError(error_reporter, "String tensor buffer last offset must be %d", 104 // Verifies numeric tensor has legit buffer 169 auto* buffer = model.buffers()->Get(tensor->buffer()); local [all...] |
| /external/tensorflow/tensorflow/core/framework/ |
| tensor_slice.cc | 125 string buffer; local 129 buffer.append(":"); 133 buffer.append("-"); 135 strings::StrAppend(&buffer, starts_[d], ",", lengths_[d]); 139 return buffer;
|
| /external/tensorflow/tensorflow/core/lib/io/snappy/ |
| snappy_buffers_test.cc | 94 char* buffer = new char[bytes_to_read]; local 100 corrupt_file_writer->Append(StringPiece(buffer, buffer_size))); 101 memcpy(buffer, data.data(), data.size()); 107 corrupt_file_writer->Append(StringPiece(buffer, buffer_size - 1))); 111 delete[] buffer; 165 errors::ResourceExhausted("Input buffer(size: 10 bytes) too small. ",
|
| /external/tremolo/Tremolo/ |
| misc.c | 94 char buffer[80]; local 117 snprintf(buffer,80,"%s",file); 118 if(strchr(buffer,'.'))strchr(buffer,'.')[0]=0; 119 strcat(buffer,_VDBG_GRAPHFILE); 120 out=fopen(buffer,"a"); 150 char buffer[80]; local 165 snprintf(buffer,80,"%s",file); 166 if(strchr(buffer,'.'))strchr(buffer,'.')[0]=0 [all...] |
| treminfo.c | 349 char buffer[6]; local 351 memset(buffer,0,6); 352 _v_readstring(&opb,buffer,6); 353 if(memcmp(buffer,"vorbis",6)){
|