Home
last modified time | relevance | path

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

1234567

/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.c577 qpXmlAttribute attribs[8]; in qpTestLog_writeKeyValuePair() local
584 if (name) attribs[numAttribs++] = qpSetStringAttrib("Name", name); in qpTestLog_writeKeyValuePair()
585 if (description) attribs[numAttribs++] = qpSetStringAttrib("Description", description); in qpTestLog_writeKeyValuePair()
586 if (tagString) attribs[numAttribs++] = qpSetStringAttrib("Tag", tagString); in qpTestLog_writeKeyValuePair()
587 if (unit) attribs[numAttribs++] = qpSetStringAttrib("Unit", unit); in qpTestLog_writeKeyValuePair()
589 if (!qpXmlWriter_startElement(log->writer, elementName, numAttribs, attribs) || in qpTestLog_writeKeyValuePair()
795 qpXmlAttribute attribs[4]; in qpTestLog_startImageSet() local
801 attribs[numAttribs++] = qpSetStringAttrib("Name", name); in qpTestLog_startImageSet()
803 attribs[numAttribs++] = qpSetStringAttrib("Description", description); in qpTestLog_startImageSet()
806 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()
174 vector<EGLConfig> chooseConfigs (const Library& egl, EGLDisplay display, const AttribMap& attribs) in chooseConfigs() argument
176 const vector<EGLint> attribList = attribMapToList(attribs); in chooseConfigs()
180 EGLConfig chooseSingleConfig (const Library& egl, EGLDisplay display, const AttribMap& attribs) in chooseSingleConfig() argument
182 const vector<EGLint> attribList = attribMapToList(attribs); in chooseSingleConfig()
188 AttribMap attribs; in chooseConfigByID() local
190 attribs[EGL_CONFIG_ID] = id; in chooseConfigByID()
191 attribs[EGL_TRANSPARENT_TYPE] = EGL_DONT_CARE; in chooseConfigByID()
192 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/mesa3d/src/gallium/state_trackers/dri/
Ddri_context.c55 struct st_context_attribs attribs; in dri_create_context() local
81 memset(&attribs, 0, sizeof(attribs)); in dri_create_context()
84 attribs.profile = ST_PROFILE_OPENGL_ES1; in dri_create_context()
87 attribs.profile = ST_PROFILE_OPENGL_ES2; in dri_create_context()
91 attribs.profile = api == API_OPENGL_COMPAT ? ST_PROFILE_DEFAULT in dri_create_context()
93 attribs.major = ctx_config->major_version; in dri_create_context()
94 attribs.minor = ctx_config->minor_version; in dri_create_context()
97 attribs.flags |= ST_CONTEXT_FLAG_FORWARD_COMPATIBLE; in dri_create_context()
105 attribs.flags |= ST_CONTEXT_FLAG_DEBUG; in dri_create_context()
108 attribs.flags |= ST_CONTEXT_FLAG_ROBUST_ACCESS; in dri_create_context()
[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/va/
Dsurface.c388 VASurfaceAttrib *attribs; in vlVaQuerySurfaceAttributes() local
425 attribs = CALLOC(VL_VA_MAX_IMAGE_FORMATS + VASurfaceAttribCount, in vlVaQuerySurfaceAttributes()
428 if (!attribs) in vlVaQuerySurfaceAttributes()
438 attribs[i].type = VASurfaceAttribPixelFormat; in vlVaQuerySurfaceAttributes()
439 attribs[i].value.type = VAGenericValueTypeInteger; in vlVaQuerySurfaceAttributes()
440 attribs[i].flags = VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE; in vlVaQuerySurfaceAttributes()
441 attribs[i].value.value.i = PipeFormatToVaFourcc(vpp_surface_formats[j]); in vlVaQuerySurfaceAttributes()
447 attribs[i].type = VASurfaceAttribPixelFormat; in vlVaQuerySurfaceAttributes()
448 attribs[i].value.type = VAGenericValueTypeInteger; in vlVaQuerySurfaceAttributes()
449 attribs[i].flags = VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE; in vlVaQuerySurfaceAttributes()
[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/mesa3d/src/gallium/state_trackers/osmesa/
Dosmesa.c560 int attribs[100], n = 0; in OSMesaCreateContextExt() local
562 attribs[n++] = OSMESA_FORMAT; in OSMesaCreateContextExt()
563 attribs[n++] = format; in OSMesaCreateContextExt()
564 attribs[n++] = OSMESA_DEPTH_BITS; in OSMesaCreateContextExt()
565 attribs[n++] = depthBits; in OSMesaCreateContextExt()
566 attribs[n++] = OSMESA_STENCIL_BITS; in OSMesaCreateContextExt()
567 attribs[n++] = stencilBits; in OSMesaCreateContextExt()
568 attribs[n++] = OSMESA_ACCUM_BITS; in OSMesaCreateContextExt()
569 attribs[n++] = accumBits; in OSMesaCreateContextExt()
570 attribs[n++] = 0; in OSMesaCreateContextExt()
[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/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/openssh/
Dssh-pkcs11.c449 CK_ATTRIBUTE filter[], CK_ATTRIBUTE attribs[3], in pkcs11_fetch_keys_filter()
474 attribs[i].pValue = NULL; in pkcs11_fetch_keys_filter()
475 attribs[i].ulValueLen = 0; in pkcs11_fetch_keys_filter()
481 if ((rv = f->C_GetAttributeValue(session, obj, attribs, 3)) in pkcs11_fetch_keys_filter()
491 if (attribs[1].ulValueLen == 0 || in pkcs11_fetch_keys_filter()
492 attribs[2].ulValueLen == 0) { in pkcs11_fetch_keys_filter()
497 if (attribs[i].ulValueLen > 0) { in pkcs11_fetch_keys_filter()
498 attribs[i].pValue = xmalloc( in pkcs11_fetch_keys_filter()
499 attribs[i].ulValueLen); in pkcs11_fetch_keys_filter()
508 if ((rv = f->C_GetAttributeValue(session, obj, attribs, 3)) in pkcs11_fetch_keys_filter()
[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/swiftshader/tests/GLESUnitTests/
Dunittests.cpp1552 const EGLint attribs[] = { in createIOSurfacePbuffer() local
1563 … eglCreatePbufferFromClientBuffer(getDisplay(), EGL_IOSURFACE_ANGLE, buffer, getConfig(), attribs); in createIOSurfacePbuffer()
1810 const EGLint attribs[] = { in TEST_F() local
1821 …er(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); in TEST_F()
1831 const EGLint attribs[] = { in TEST_F() local
1841 …er(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); in TEST_F()
1848 const EGLint attribs[] = { in TEST_F() local
1858 …er(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); in TEST_F()
1865 const EGLint attribs[] = { in TEST_F() local
1875 …er(getDisplay(), EGL_IOSURFACE_ANGLE, clientBufferWrapper.getClientBuffer(), getConfig(), attribs); in TEST_F()
[all …]
/external/deqp/framework/platform/lnx/X11/
DtcuLnxX11GlxPlatform.cpp317 std::vector<int> attribs; in createContext() local
343 attribs.push_back(GLX_CONTEXT_MAJOR_VERSION_ARB); in createContext()
344 attribs.push_back(apiType.getMajorVersion()); in createContext()
345 attribs.push_back(GLX_CONTEXT_MINOR_VERSION_ARB); in createContext()
346 attribs.push_back(apiType.getMinorVersion()); in createContext()
347 attribs.push_back(GLX_CONTEXT_PROFILE_MASK_ARB); in createContext()
348 attribs.push_back(profileMask); in createContext()
373 attribs.push_back(GLX_CONTEXT_OPENGL_NO_ERROR_ARB); in createContext()
374 attribs.push_back(True); in createContext()
382 attribs.push_back(GLX_CONTEXT_FLAGS_ARB); in createContext()
[all …]
/external/mesa3d/src/glx/tests/
Dcreate_context_unittest.cpp83 const uint32_t *attribs) in xcb_glx_create_context_attribs_arb_checked() argument
95 if (num_attribs != 0 && attribs != NULL) in xcb_glx_create_context_attribs_arb_checked()
96 memcpy(sent_attribs, attribs, num_attribs * 2 * sizeof(uint32_t)); in xcb_glx_create_context_attribs_arb_checked()
296 static const int attribs[] = { in TEST_F() local
306 False, attribs); in TEST_F()
313 static const int attribs[] = { in TEST_F() local
318 False, attribs); in TEST_F()
333 int attribs[] = { in TEST_F() local
341 False, attribs); in TEST_F()
344 EXPECT_EQ((uint32_t) attribs[i], sent_attribs[i]); in TEST_F()

1234567