Home
last modified time | relevance | path

Searched refs:attribs (Results 1 – 25 of 149) sorted by relevance

123456

/external/deqp/modules/gles31/functional/
Des31fDrawElementsBaseVertexTests.cpp143 spec.attribs.resize(2); in genBasicSpec()
145 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec()
146 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec()
147 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec()
148 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec()
149 spec.attribs[0].componentCount = 4; in genBasicSpec()
150 spec.attribs[0].offset = 0; in genBasicSpec()
151 spec.attribs[0].stride = 0; in genBasicSpec()
152 spec.attribs[0].normalize = false; in genBasicSpec()
153 spec.attribs[0].instanceDivisor = 0; in genBasicSpec()
[all …]
Des31fDrawTests.cpp196 spec.attribs.resize(2); in genBasicSpec()
198 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec()
199 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec()
200 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec()
201 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec()
202 spec.attribs[0].componentCount = 4; in genBasicSpec()
203 spec.attribs[0].offset = 0; in genBasicSpec()
204 spec.attribs[0].stride = 0; in genBasicSpec()
205 spec.attribs[0].normalize = false; in genBasicSpec()
206 spec.attribs[0].instanceDivisor = 0; in genBasicSpec()
[all …]
/external/deqp/modules/gles2/functional/
Des2fDrawTests.cpp85 spec.attribs.resize(2); in genBasicSpec()
87 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec()
88 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec()
89 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec()
90 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec()
91 spec.attribs[0].componentCount = 4; in genBasicSpec()
92 spec.attribs[0].offset = 0; in genBasicSpec()
93 spec.attribs[0].stride = 0; in genBasicSpec()
94 spec.attribs[0].normalize = false; in genBasicSpec()
95 spec.attribs[0].instanceDivisor = 0; in genBasicSpec()
[all …]
/external/deqp/modules/gles3/functional/
Des3fDrawTests.cpp116 spec.attribs.resize(2); in genBasicSpec()
118 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec()
119 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec()
120 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec()
121 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec()
122 spec.attribs[0].componentCount = 4; in genBasicSpec()
123 spec.attribs[0].offset = 0; in genBasicSpec()
124 spec.attribs[0].stride = 0; in genBasicSpec()
125 spec.attribs[0].normalize = false; in genBasicSpec()
126 spec.attribs[0].instanceDivisor = 0; in genBasicSpec()
[all …]
/external/droiddriver/src/io/appium/droiddriver/uiautomation/
DUiAutomationElement.java75 Map<Attribute, Object> attribs = new EnumMap<Attribute, Object>(Attribute.class); in UiAutomationElement() local
76 put(attribs, Attribute.PACKAGE, charSequenceToString(node.getPackageName())); in UiAutomationElement()
77 put(attribs, Attribute.CLASS, charSequenceToString(node.getClassName())); in UiAutomationElement()
78 put(attribs, Attribute.TEXT, charSequenceToString(node.getText())); in UiAutomationElement()
79 put(attribs, Attribute.CONTENT_DESC, charSequenceToString(node.getContentDescription())); in UiAutomationElement()
80 put(attribs, Attribute.RESOURCE_ID, charSequenceToString(node.getViewIdResourceName())); in UiAutomationElement()
81 put(attribs, Attribute.CHECKABLE, node.isCheckable()); in UiAutomationElement()
82 put(attribs, Attribute.CHECKED, node.isChecked()); in UiAutomationElement()
83 put(attribs, Attribute.CLICKABLE, node.isClickable()); in UiAutomationElement()
84 put(attribs, Attribute.ENABLED, node.isEnabled()); in UiAutomationElement()
[all …]
/external/deqp/framework/qphelper/
DqpTestLog.c528 qpXmlAttribute attribs[8]; in qpTestLog_writeKeyValuePair() local
535 if (name) attribs[numAttribs++] = qpSetStringAttrib("Name", name); in qpTestLog_writeKeyValuePair()
536 if (description) attribs[numAttribs++] = qpSetStringAttrib("Description", description); in qpTestLog_writeKeyValuePair()
537 if (tagString) attribs[numAttribs++] = qpSetStringAttrib("Tag", tagString); in qpTestLog_writeKeyValuePair()
538 if (unit) attribs[numAttribs++] = qpSetStringAttrib("Unit", unit); in qpTestLog_writeKeyValuePair()
540 if (!qpXmlWriter_startElement(log->writer, elementName, numAttribs, attribs) || in qpTestLog_writeKeyValuePair()
746 qpXmlAttribute attribs[4]; in qpTestLog_startImageSet() local
752 attribs[numAttribs++] = qpSetStringAttrib("Name", name); in qpTestLog_startImageSet()
754 attribs[numAttribs++] = qpSetStringAttrib("Description", description); in qpTestLog_startImageSet()
757 if (!qpXmlWriter_startElement(log->writer, "ImageSet", numAttribs, attribs)) in qpTestLog_startImageSet()
[all …]
/external/deqp/framework/egl/
DegluStrUtil.hpp55 const int* attribs; member
56 ConfigAttribListFmt (const int* attribs_) : attribs(attribs_) {} in ConfigAttribListFmt()
61 const int* attribs; member
62 SurfaceAttribListFmt (const int* attribs_) : attribs(attribs_) {} in SurfaceAttribListFmt()
67 const int* attribs; member
68 ContextAttribListFmt (const int* attribs_) : attribs(attribs_) {} in ContextAttribListFmt()
80 …figAttribListFmt getConfigAttribListStr (const int* attribs) { return ConfigAttribListFmt(attrib… in getConfigAttribListStr() argument
83 …eAttribListFmt getSurfaceAttribListStr (const int* attribs) { return SurfaceAttribListFmt(attrib… in getSurfaceAttribListStr() argument
86 …tAttribListFmt getContextAttribListStr (const int* attribs) { return ContextAttribListFmt(attrib… in getContextAttribListStr() argument
DegluUtil.cpp46 vector<EGLint> attribMapToList (const AttribMap& attribs) in attribMapToList() argument
50 for (AttribMap::const_iterator it = attribs.begin(); it != attribs.end(); ++it) in attribMapToList()
165 vector<EGLConfig> chooseConfigs (const Library& egl, EGLDisplay display, const AttribMap& attribs) in chooseConfigs() argument
167 const vector<EGLint> attribList = attribMapToList(attribs); in chooseConfigs()
171 EGLConfig chooseSingleConfig (const Library& egl, EGLDisplay display, const AttribMap& attribs) in chooseSingleConfig() argument
173 const vector<EGLint> attribList = attribMapToList(attribs); in chooseSingleConfig()
179 AttribMap attribs; in chooseConfigByID() local
181 attribs[EGL_CONFIG_ID] = id; in chooseConfigByID()
182 attribs[EGL_TRANSPARENT_TYPE] = EGL_DONT_CARE; in chooseConfigByID()
183 attribs[EGL_COLOR_BUFFER_TYPE] = EGL_DONT_CARE; in chooseConfigByID()
[all …]
DegluStrUtil.cpp155 int attrib = fmt.attribs[pos]; in operator <<()
172 str << attribName << ", " << getConfigAttribValueStr(attrib, fmt.attribs[pos+1]); in operator <<()
195 int attrib = fmt.attribs[pos]; in operator <<()
212 str << attribName << ", " << getSurfaceAttribValueStr(attrib, fmt.attribs[pos+1]); in operator <<()
235 int attrib = fmt.attribs[pos]; in operator <<()
252 str << attribName << ", " << getContextAttribValueStr(attrib, fmt.attribs[pos+1]); in operator <<()
/external/swiftshader/src/OpenGL/libGLES_CM/
DVertexDataManager.cpp122 const VertexAttributeArray &attribs = mContext->getVertexAttributes(); in prepareVertexData() local
127 if(attribs[i].mArrayEnabled) in prepareVertexData()
129 if(!attribs[i].mBoundBuffer) in prepareVertexData()
131 mStreamingBuffer->addRequiredSpace(attribs[i].typeSize() * count); in prepareVertexData()
141 if(attribs[i].mArrayEnabled) in prepareVertexData()
143 Buffer *buffer = attribs[i].mBoundBuffer; in prepareVertexData()
145 if(!buffer && attribs[i].mPointer == nullptr) in prepareVertexData()
157 translated[i].offset = start * attribs[i].stride() + attribs[i].mOffset; in prepareVertexData()
158 translated[i].stride = attribs[i].stride(); in prepareVertexData()
162 unsigned int streamOffset = writeAttributeData(mStreamingBuffer, start, count, attribs[i]); in prepareVertexData()
[all …]
/external/swiftshader/src/OpenGL/libGL/
DVertexDataManager.cpp121 const VertexAttributeArray &attribs = mContext->getVertexAttributes(); in prepareVertexData() local
129 if(attribs[i].mArrayEnabled) in prepareVertexData()
131 if(!attribs[i].mBoundBuffer) in prepareVertexData()
133 mStreamingBuffer->addRequiredSpace(attribs[i].typeSize() * count); in prepareVertexData()
146 if(attribs[i].mArrayEnabled) in prepareVertexData()
148 Buffer *buffer = attribs[i].mBoundBuffer; in prepareVertexData()
150 if(!buffer && attribs[i].mPointer == nullptr) in prepareVertexData()
162 translated[i].offset = start * attribs[i].stride() + attribs[i].mOffset; in prepareVertexData()
163 translated[i].stride = attribs[i].stride(); in prepareVertexData()
167 unsigned int streamOffset = writeAttributeData(mStreamingBuffer, start, count, attribs[i]); in prepareVertexData()
[all …]
/external/deqp/modules/gles2/stress/
Des2sDrawTests.cpp58 spec.attribs.resize(2); in genBasicSpec()
60 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec()
61 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec()
62 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec()
63 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec()
64 spec.attribs[0].componentCount = 4; in genBasicSpec()
65 spec.attribs[0].offset = 0; in genBasicSpec()
66 spec.attribs[0].stride = 0; in genBasicSpec()
67 spec.attribs[0].normalize = false; in genBasicSpec()
68 spec.attribs[0].instanceDivisor = 0; in genBasicSpec()
[all …]
/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_context.c57 struct st_context_attribs attribs; in dri_create_context() local
75 memset(&attribs, 0, sizeof(attribs)); in dri_create_context()
78 attribs.profile = ST_PROFILE_OPENGL_ES1; in dri_create_context()
81 attribs.profile = ST_PROFILE_OPENGL_ES2; in dri_create_context()
85 attribs.profile = api == API_OPENGL_COMPAT ? ST_PROFILE_DEFAULT in dri_create_context()
87 attribs.major = major_version; in dri_create_context()
88 attribs.minor = minor_version; in dri_create_context()
91 attribs.flags |= ST_CONTEXT_FLAG_FORWARD_COMPATIBLE; in dri_create_context()
99 attribs.flags |= ST_CONTEXT_FLAG_DEBUG; in dri_create_context()
102 attribs.flags |= ST_CONTEXT_FLAG_ROBUST_ACCESS; in dri_create_context()
[all …]
/external/mesa3d/src/gallium/state_trackers/va/
Dsurface.c377 VASurfaceAttrib *attribs; in vlVaQuerySurfaceAttributes() local
414 attribs = CALLOC(VL_VA_MAX_IMAGE_FORMATS + VASurfaceAttribCount, in vlVaQuerySurfaceAttributes()
417 if (!attribs) in vlVaQuerySurfaceAttributes()
427 attribs[i].type = VASurfaceAttribPixelFormat; in vlVaQuerySurfaceAttributes()
428 attribs[i].value.type = VAGenericValueTypeInteger; in vlVaQuerySurfaceAttributes()
429 attribs[i].flags = VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE; in vlVaQuerySurfaceAttributes()
430 attribs[i].value.value.i = PipeFormatToVaFourcc(vpp_surface_formats[j]); in vlVaQuerySurfaceAttributes()
435 attribs[i].type = VASurfaceAttribPixelFormat; in vlVaQuerySurfaceAttributes()
436 attribs[i].value.type = VAGenericValueTypeInteger; in vlVaQuerySurfaceAttributes()
437 attribs[i].flags = VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE; in vlVaQuerySurfaceAttributes()
[all …]
/external/mesa3d/src/gallium/state_trackers/osmesa/
Dosmesa.c547 int attribs[100], n = 0; in OSMesaCreateContextExt() local
549 attribs[n++] = OSMESA_FORMAT; in OSMesaCreateContextExt()
550 attribs[n++] = format; in OSMesaCreateContextExt()
551 attribs[n++] = OSMESA_DEPTH_BITS; in OSMesaCreateContextExt()
552 attribs[n++] = depthBits; in OSMesaCreateContextExt()
553 attribs[n++] = OSMESA_STENCIL_BITS; in OSMesaCreateContextExt()
554 attribs[n++] = stencilBits; in OSMesaCreateContextExt()
555 attribs[n++] = OSMESA_ACCUM_BITS; in OSMesaCreateContextExt()
556 attribs[n++] = accumBits; in OSMesaCreateContextExt()
557 attribs[n++] = 0; in OSMesaCreateContextExt()
[all …]
/external/deqp/framework/common/
DtcuTestHierarchyUtil.cpp69 qpXmlAttribute attribs[2]; in writeXmlCaselist() local
71 attribs[numAttribs++] = qpSetStringAttrib("PackageName", node->getName()); in writeXmlCaselist()
72 attribs[numAttribs++] = qpSetStringAttrib("Description", node->getDescription()); in writeXmlCaselist()
73 DE_ASSERT(numAttribs <= DE_LENGTH_OF_ARRAY(attribs)); in writeXmlCaselist()
76 !qpXmlWriter_startElement(writer, "TestCaseList", numAttribs, attribs)) in writeXmlCaselist()
95 qpXmlAttribute attribs[3]; in writeXmlCaselist() local
98 attribs[numAttribs++] = qpSetStringAttrib("Name", caseName.c_str()); in writeXmlCaselist()
99 attribs[numAttribs++] = qpSetStringAttrib("CaseType", getNodeTypeName(nodeType)); in writeXmlCaselist()
100 attribs[numAttribs++] = qpSetStringAttrib("Description", description.c_str()); in writeXmlCaselist()
101 DE_ASSERT(numAttribs <= DE_LENGTH_OF_ARRAY(attribs)); in writeXmlCaselist()
[all …]
/external/deqp/modules/gles3/stress/
Des3sDrawTests.cpp239 spec.attribs.resize(2); in genBasicSpec()
241 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec()
242 spec.attribs[0].outputType = gls::DrawTestSpec::OUTPUTTYPE_VEC2; in genBasicSpec()
243 spec.attribs[0].storage = gls::DrawTestSpec::STORAGE_BUFFER; in genBasicSpec()
244 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec()
245 spec.attribs[0].componentCount = 4; in genBasicSpec()
246 spec.attribs[0].offset = 0; in genBasicSpec()
247 spec.attribs[0].stride = 0; in genBasicSpec()
248 spec.attribs[0].normalize = false; in genBasicSpec()
249 spec.attribs[0].instanceDivisor = 0; in genBasicSpec()
[all …]
/external/deqp/framework/delibs/decpp/
DdeMutex.cpp40 deMutexAttributes attribs; in Mutex() local
41 deMemset(&attribs, 0, sizeof(attribs)); in Mutex()
42 attribs.flags = flags; in Mutex()
44 m_mutex = deMutex_create(&attribs); in Mutex()
DdeSemaphore.cpp39 deSemaphoreAttributes attribs; in Semaphore() local
40 deMemset(&attribs, 0, sizeof(attribs)); in Semaphore()
41 attribs.flags = flags; in Semaphore()
43 m_semaphore = deSemaphore_create(initialValue, &attribs); in Semaphore()
/external/swiftshader/tests/unittests/
Dunittests.cpp864 const EGLint attribs[] = { in createIOSurfacePbuffer() local
875 … eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, buffer, getConfig(), attribs); in createIOSurfacePbuffer()
1122 const EGLint attribs[] = { in TEST_F() local
1133 …er(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); in TEST_F()
1143 const EGLint attribs[] = { in TEST_F() local
1153 …er(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); in TEST_F()
1160 const EGLint attribs[] = { in TEST_F() local
1170 …er(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); in TEST_F()
1177 const EGLint attribs[] = { in TEST_F() local
1187 …er(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); in TEST_F()
[all …]
/external/apache-http/src/org/apache/http/impl/cookie/
DBasicClientCookie.java79 this.attribs = new HashMap<String, String>(); in BasicClientCookie()
309 this.attribs.put(name, value); in setAttribute()
313 return this.attribs.get(name); in getAttribute()
317 return this.attribs.get(name) != null; in containsAttribute()
323 clone.attribs = new HashMap<String, String>(this.attribs); in clone()
357 private Map<String, String> attribs; field in BasicClientCookie
/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11GlxPlatform.cpp309 std::vector<int> attribs; in createContext() local
335 attribs.push_back(GLX_CONTEXT_MAJOR_VERSION_ARB); in createContext()
336 attribs.push_back(apiType.getMajorVersion()); in createContext()
337 attribs.push_back(GLX_CONTEXT_MINOR_VERSION_ARB); in createContext()
338 attribs.push_back(apiType.getMinorVersion()); in createContext()
339 attribs.push_back(GLX_CONTEXT_PROFILE_MASK_ARB); in createContext()
340 attribs.push_back(profileMask); in createContext()
365 attribs.push_back(GLX_CONTEXT_OPENGL_NO_ERROR_ARB); in createContext()
366 attribs.push_back(True); in createContext()
374 attribs.push_back(GLX_CONTEXT_FLAGS_ARB); in createContext()
[all …]
/external/mesa3d/src/gallium/targets/haiku-softpipe/
DGalliumContext.cpp152 struct st_context_attribs attribs; in CreateContext() local
153 memset(&attribs, 0, sizeof(attribs)); in CreateContext()
154 attribs.options.force_glsl_extensions_warn = false; in CreateContext()
155 attribs.profile = ST_PROFILE_DEFAULT; in CreateContext()
156 attribs.visual = *context->stVisual; in CreateContext()
157 attribs.major = 1; in CreateContext()
158 attribs.minor = 0; in CreateContext()
164 &attribs, &result, context->st); in CreateContext()
/external/owasp/sanitizer/src/main/org/owasp/html/examples/
DUrlTextExample.java65 public void openTag(String elementName, List<String> attribs) { in openTag() argument
66 underlying.openTag(elementName, attribs); in openTag()
70 if (!attribs.isEmpty()) { in openTag()
80 for (int i = 0, n = attribs.size(); i < n; i += 2) { in openTag()
81 if (urlAttrName.equals(attribs.get(i))) { in openTag()
82 String url = attribs.get(i+1).trim(); in openTag()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_context.c148 struct st_context_attribs attribs; in stw_create_context_attribs() local
188 memset(&attribs, 0, sizeof(attribs)); in stw_create_context_attribs()
189 attribs.visual = pfi->stvis; in stw_create_context_attribs()
190 attribs.major = majorVersion; in stw_create_context_attribs()
191 attribs.minor = minorVersion; in stw_create_context_attribs()
193 attribs.flags |= ST_CONTEXT_FLAG_FORWARD_COMPATIBLE; in stw_create_context_attribs()
195 attribs.flags |= ST_CONTEXT_FLAG_DEBUG; in stw_create_context_attribs()
207 attribs.profile = ST_PROFILE_OPENGL_CORE; in stw_create_context_attribs()
228 attribs.profile = ST_PROFILE_DEFAULT; in stw_create_context_attribs()
232 attribs.profile = ST_PROFILE_OPENGL_ES2; in stw_create_context_attribs()
[all …]

123456