/external/deqp/framework/qphelper/ |
qpXmlWriter.h | 54 qpXmlAttribute attrib; local 55 attrib.name = name; 56 attrib.type = QP_XML_ATTRIBUTE_STRING; 57 attrib.stringValue = value; 58 attrib.intValue = -678; 59 attrib.boolValue = (deBool)0xFFFFFFFFu; 60 return attrib; 65 qpXmlAttribute attrib; local 66 attrib.name = name; 67 attrib.type = QP_XML_ATTRIBUTE_INT 76 qpXmlAttribute attrib; local [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
VertexAttribute.cpp | 26 size_t ComputeVertexAttributeTypeSize(const VertexAttribute& attrib) 28 GLuint size = attrib.size; 29 switch (attrib.type) 46 size_t ComputeVertexAttributeStride(const VertexAttribute& attrib) 48 if (!attrib.enabled) 52 return attrib.stride ? attrib.stride : ComputeVertexAttributeTypeSize(attrib);
|
VertexAttribute.h | 40 T QuerySingleVertexAttributeParameter(const VertexAttribute& attrib, GLenum pname) 45 return static_cast<T>(attrib.enabled ? GL_TRUE : GL_FALSE); 47 return static_cast<T>(attrib.size); 49 return static_cast<T>(attrib.stride); 51 return static_cast<T>(attrib.type); 53 return static_cast<T>(attrib.normalized ? GL_TRUE : GL_FALSE); 55 return static_cast<T>(attrib.buffer.id()); 57 return static_cast<T>(attrib.divisor); 59 return static_cast<T>(attrib.pureInteger ? GL_TRUE : GL_FALSE); 66 size_t ComputeVertexAttributeTypeSize(const VertexAttribute& attrib); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast_setup/ |
ss_tritmp.h | 53 GLfloat ex = v[0]->attrib[FRAG_ATTRIB_WPOS][0] - v[2]->attrib[FRAG_ATTRIB_WPOS][0]; 54 GLfloat ey = v[0]->attrib[FRAG_ATTRIB_WPOS][1] - v[2]->attrib[FRAG_ATTRIB_WPOS][1]; 55 GLfloat fx = v[1]->attrib[FRAG_ATTRIB_WPOS][0] - v[2]->attrib[FRAG_ATTRIB_WPOS][0]; 56 GLfloat fy = v[1]->attrib[FRAG_ATTRIB_WPOS][1] - v[2]->attrib[FRAG_ATTRIB_WPOS][1]; 77 COPY_4V(saved_col0[0], v[0]->attrib[FRAG_ATTRIB_COL0]); 78 COPY_4V(saved_col0[1], v[1]->attrib[FRAG_ATTRIB_COL0]) [all...] |
/external/mesa3d/src/mesa/swrast_setup/ |
ss_tritmp.h | 53 GLfloat ex = v[0]->attrib[FRAG_ATTRIB_WPOS][0] - v[2]->attrib[FRAG_ATTRIB_WPOS][0]; 54 GLfloat ey = v[0]->attrib[FRAG_ATTRIB_WPOS][1] - v[2]->attrib[FRAG_ATTRIB_WPOS][1]; 55 GLfloat fx = v[1]->attrib[FRAG_ATTRIB_WPOS][0] - v[2]->attrib[FRAG_ATTRIB_WPOS][0]; 56 GLfloat fy = v[1]->attrib[FRAG_ATTRIB_WPOS][1] - v[2]->attrib[FRAG_ATTRIB_WPOS][1]; 77 COPY_4V(saved_col0[0], v[0]->attrib[FRAG_ATTRIB_COL0]); 78 COPY_4V(saved_col0[1], v[1]->attrib[FRAG_ATTRIB_COL0]) [all...] |
/dalvik/dx/src/com/android/dx/cf/attrib/ |
AttDeprecated.java | 17 package com.android.dx.cf.attrib;
|
AttSynthetic.java | 17 package com.android.dx.cf.attrib;
|
AttLocalVariableTable.java | 17 package com.android.dx.cf.attrib;
|
AttLocalVariableTypeTable.java | 17 package com.android.dx.cf.attrib;
|
/external/openssl/crypto/pkcs12/ |
p12_attr.c | 68 if (X509at_add1_attr_by_NID(&bag->attrib, NID_localKeyID, 93 if (X509at_add1_attr_by_NID(&bag->attrib, NID_friendlyName, 104 if (X509at_add1_attr_by_NID(&bag->attrib, NID_friendlyName, 114 if (X509at_add1_attr_by_NID(&bag->attrib, NID_ms_csp_name, 123 X509_ATTRIBUTE *attrib; local 127 attrib = sk_X509_ATTRIBUTE_value (attrs, i); 128 if (OBJ_obj2nid (attrib->object) == attr_nid) { 129 if (sk_ASN1_TYPE_num (attrib->value.set)) 130 return sk_ASN1_TYPE_value(attrib->value.set, 0);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/ |
VertexDataManager.cpp | 28 static int ElementsInBuffer(const gl::VertexAttribute &attrib, unsigned int size) 36 GLsizei stride = ComputeVertexAttributeStride(attrib); 37 return (size - attrib.offset % stride + (stride - ComputeVertexAttributeTypeSize(attrib))) / stride; 40 static int StreamingBufferElementCount(const gl::VertexAttribute &attrib, int vertexDrawCount, int instanceDrawCount) 46 if (instanceDrawCount > 0 && attrib.divisor > 0) 48 return instanceDrawCount / attrib.divisor; 166 void VertexDataManager::invalidateMatchingStaticData(const gl::VertexAttribute &attrib, 169 gl::Buffer *buffer = attrib.buffer.get(); 178 !staticBuffer->lookupAttribute(attrib, NULL) & [all...] |
VertexBuffer.cpp | 92 gl::Error VertexBufferInterface::storeVertexAttributes(const gl::VertexAttribute &attrib, const gl::VertexAttribCurrentValueData ¤tValue, 98 error = mVertexBuffer->getSpaceRequired(attrib, count, instances, &spaceRequired); 116 error = mVertexBuffer->storeVertexAttributes(attrib, currentValue, start, count, instances, mWritePosition); 135 gl::Error VertexBufferInterface::reserveVertexSpace(const gl::VertexAttribute &attrib, GLsizei count, GLsizei instances) 140 error = mVertexBuffer->getSpaceRequired(attrib, count, instances, &requiredSpace); 166 bool VertexBufferInterface::directStoragePossible(const gl::VertexAttribute &attrib, 169 gl::Buffer *buffer = attrib.buffer.get(); 183 if (attrib.type != GL_FLOAT) 185 gl::VertexFormat vertexFormat(attrib, currentValue.Type); 188 getVertexBuffer()->getSpaceRequired(attrib, 1, 0, &outputElementSize) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_prim_emit.c | 79 const uint j = vinfo->attrib[i].src_index; 80 const float *attrib = vertex->data[j]; local 81 switch (vinfo->attrib[i].emit) { 83 OUT_BATCH( fui(attrib[0]) ); 87 OUT_BATCH( fui(attrib[0]) ); 88 OUT_BATCH( fui(attrib[1]) ); 92 OUT_BATCH( fui(attrib[0]) ); 93 OUT_BATCH( fui(attrib[1]) ); 94 OUT_BATCH( fui(attrib[2]) ); 98 OUT_BATCH( fui(attrib[0]) ) [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_prim_emit.c | 79 const uint j = vinfo->attrib[i].src_index; 80 const float *attrib = vertex->data[j]; local 81 switch (vinfo->attrib[i].emit) { 83 OUT_BATCH( fui(attrib[0]) ); 87 OUT_BATCH( fui(attrib[0]) ); 88 OUT_BATCH( fui(attrib[1]) ); 92 OUT_BATCH( fui(attrib[0]) ); 93 OUT_BATCH( fui(attrib[1]) ); 94 OUT_BATCH( fui(attrib[2]) ); 98 OUT_BATCH( fui(attrib[0]) ) [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
vertex_attrib_manager_unittest.cc | 63 VertexAttrib* attrib = manager_->GetVertexAttrib(ii); local 64 ASSERT_TRUE(attrib != NULL); 65 EXPECT_EQ(ii, attrib->index()); 66 EXPECT_TRUE(attrib->buffer() == NULL); 67 EXPECT_EQ(0, attrib->offset()); 68 EXPECT_EQ(4, attrib->size()); 69 EXPECT_EQ(static_cast<GLenum>(GL_FLOAT), attrib->type()); 70 EXPECT_EQ(GL_FALSE, attrib->normalized()); 71 EXPECT_EQ(0, attrib->gl_stride()); 72 EXPECT_FALSE(attrib->enabled()) 107 VertexAttrib* attrib = manager_->GetVertexAttrib(1); local 143 VertexAttrib* attrib = manager_->GetVertexAttrib(1); local [all...] |
vertex_attrib_manager.cc | 183 VertexAttrib* attrib = *it; local 185 current_program->GetAttribInfoByLocation(attrib->index()); 187 divisor0 |= (attrib->divisor() == 0); 189 GLuint count = attrib->MaxVertexAccessed(primcount, max_vertex_accessed); 190 // This attrib is used in the current program. 191 if (!attrib->CanAccess(count)) { 196 base::IntToString(attrib->index())).c_str()); 200 Buffer* buffer = attrib->buffer(); 201 glEnableVertexAttribArray(attrib->index()); 207 attrib->set_is_client_side_array(true) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_maos_arrays.c | 87 GLubyte attrib = vimap_rev[i]; local 88 if (attrib != 255) { 91 emitsize = (VB->AttribPtr[attrib]->size); 105 assert(attrib == VERT_ATTRIB_WEIGHT); 106 emitsize = (VB->AttribPtr[attrib]->size); 110 assert(attrib == VERT_ATTRIB_NORMAL); 116 assert(attrib == VERT_ATTRIB_FOG); 121 (char *)VB->AttribPtr[attrib]->data, 123 VB->AttribPtr[attrib]->stride, 128 (char *)VB->AttribPtr[attrib]->data [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_maos_arrays.c | 87 GLubyte attrib = vimap_rev[i]; local 88 if (attrib != 255) { 91 emitsize = (VB->AttribPtr[attrib]->size); 105 assert(attrib == VERT_ATTRIB_WEIGHT); 106 emitsize = (VB->AttribPtr[attrib]->size); 110 assert(attrib == VERT_ATTRIB_NORMAL); 116 assert(attrib == VERT_ATTRIB_FOG); 121 (char *)VB->AttribPtr[attrib]->data, 123 VB->AttribPtr[attrib]->stride, 128 (char *)VB->AttribPtr[attrib]->data [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/tnl_dd/ |
t_dd_vb.c | 92 dst->attrib[FRAG_ATTRIB_WPOS][0] = s[0] * src->v.x + s[12]; 93 dst->attrib[FRAG_ATTRIB_WPOS][1] = s[5] * src->v.y + s[13]; 94 dst->attrib[FRAG_ATTRIB_WPOS][2] = s[10] * src->v.z + s[14]; 95 dst->attrib[FRAG_ATTRIB_WPOS][3] = 1.0; 97 dst->attrib[FRAG_ATTRIB_WPOS][0] = UNVIEWPORT_X( src->v.x ); 98 dst->attrib[FRAG_ATTRIB_WPOS][1] = UNVIEWPORT_Y( src->v.y ); 99 dst->attrib[FRAG_ATTRIB_WPOS][2] = UNVIEWPORT_Z( src->v.z ); 100 dst->attrib[FRAG_ATTRIB_WPOS][3] = 1.0; 112 dst->attrib[FRAG_ATTRIB_WPOS][0] = s[0] * src->v.x * oow + s[12]; 113 dst->attrib[FRAG_ATTRIB_WPOS][1] = s[5] * src->v.y * oow + s[13] [all...] |
/external/mesa3d/src/mesa/tnl_dd/ |
t_dd_vb.c | 92 dst->attrib[FRAG_ATTRIB_WPOS][0] = s[0] * src->v.x + s[12]; 93 dst->attrib[FRAG_ATTRIB_WPOS][1] = s[5] * src->v.y + s[13]; 94 dst->attrib[FRAG_ATTRIB_WPOS][2] = s[10] * src->v.z + s[14]; 95 dst->attrib[FRAG_ATTRIB_WPOS][3] = 1.0; 97 dst->attrib[FRAG_ATTRIB_WPOS][0] = UNVIEWPORT_X( src->v.x ); 98 dst->attrib[FRAG_ATTRIB_WPOS][1] = UNVIEWPORT_Y( src->v.y ); 99 dst->attrib[FRAG_ATTRIB_WPOS][2] = UNVIEWPORT_Z( src->v.z ); 100 dst->attrib[FRAG_ATTRIB_WPOS][3] = 1.0; 112 dst->attrib[FRAG_ATTRIB_WPOS][0] = s[0] * src->v.x * oow + s[12]; 113 dst->attrib[FRAG_ATTRIB_WPOS][1] = s[5] * src->v.y * oow + s[13] [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/ |
AttributeList.java | 70 * @param attrib {@code non-null;} attribute to start looking after 71 * @return {@code null-ok;} next attribute after {@code attrib} with the 72 * same name as {@code attrib} 74 public Attribute findNext(Attribute attrib);
|
/dalvik/dx/src/com/android/dx/cf/iface/ |
AttributeList.java | 70 * @param attrib {@code non-null;} attribute to start looking after 71 * @return {@code null-ok;} next attribute after {@code attrib} with the 72 * same name as {@code attrib} 74 public Attribute findNext(Attribute attrib);
|
/external/deqp/framework/egl/ |
egluStrUtil.cpp | 161 int attrib = fmt.attribs[pos]; local 166 if (attrib == EGL_NONE) 173 const char* attribName = getConfigAttribName(attrib); 178 str << attribName << ", " << getConfigAttribValueStr(attrib, fmt.attribs[pos+1]); 184 str << tcu::toHex(attrib) << ", ???"; 201 int attrib = fmt.attribs[pos]; local 206 if (attrib == EGL_NONE) 213 const char* attribName = getSurfaceAttribName(attrib); 218 str << attribName << ", " << getSurfaceAttribValueStr(attrib, fmt.attribs[pos+1]); 224 str << tcu::toHex(attrib) << ", ???" 241 int attrib = fmt.attribs[pos]; local [all...] |
/external/lzma/CPP/Windows/ |
FileFind.h | 17 inline bool IsReadOnly(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_READONLY) != 0; }
18 inline bool IsHidden(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_HIDDEN) != 0; }
19 inline bool IsSystem(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_SYSTEM) != 0; }
20 inline bool IsDir(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_DIRECTORY) != 0; }
21 inline bool IsArchived(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_ARCHIVE) != 0; } [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
VertexBuffer11.cpp | 68 gl::Error VertexBuffer11::storeVertexAttributes(const gl::VertexAttribute &attrib, const gl::VertexAttribCurrentValueData ¤tValue, 76 gl::Buffer *buffer = attrib.buffer.get(); 77 int inputStride = ComputeVertexAttributeStride(attrib); 90 if (attrib.enabled) 95 input = static_cast<const uint8_t*>(storage->getData()) + static_cast<int>(attrib.offset); 99 input = static_cast<const uint8_t*>(attrib.pointer); 107 if (instances == 0 || attrib.divisor == 0) 112 gl::VertexFormat vertexFormat(attrib, currentValue.Type); 122 gl::Error VertexBuffer11::getSpaceRequired(const gl::VertexAttribute &attrib, GLsizei count, 126 if (attrib.enabled [all...] |