/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
D | SceneLoader.java | 109 private Quaternion parseQuat(Attributes attribs) throws SAXException{ in parseQuat() argument 110 if (attribs.getValue("x") != null){ in parseQuat() 112 float x = parseFloat(attribs.getValue("x")); in parseQuat() 113 float y = parseFloat(attribs.getValue("y")); in parseQuat() 114 float z = parseFloat(attribs.getValue("z")); in parseQuat() 115 float w = parseFloat(attribs.getValue("w")); in parseQuat() 117 }else if (attribs.getValue("qx") != null){ in parseQuat() 119 float x = parseFloat(attribs.getValue("qx")); in parseQuat() 120 float y = parseFloat(attribs.getValue("qy")); in parseQuat() 121 float z = parseFloat(attribs.getValue("qz")); in parseQuat() [all …]
|
D | MeshLoader.java | 392 private void startVertexBuffer(Attributes attribs) throws SAXException { in startVertexBuffer() argument 393 if (parseBool(attribs.getValue("positions"), false)) { in startVertexBuffer() 399 if (parseBool(attribs.getValue("normals"), false)) { in startVertexBuffer() 405 if (parseBool(attribs.getValue("colours_diffuse"), false)) { in startVertexBuffer() 411 if (parseBool(attribs.getValue("tangents"), false)) { in startVertexBuffer() 412 int dimensions = parseInt(attribs.getValue("tangent_dimensions"), 3); in startVertexBuffer() 418 if (parseBool(attribs.getValue("binormals"), false)) { in startVertexBuffer() 425 int texCoords = parseInt(attribs.getValue("texture_coords"), 0); in startVertexBuffer() 427 int dims = parseInt(attribs.getValue("texture_coord_dimensions_" + i), 2); in startVertexBuffer() 448 private void pushAttrib(Type type, Attributes attribs) throws SAXException { in pushAttrib() argument [all …]
|
D | SkeletonLoader.java | 84 …public void startElement(String uri, String localName, String qName, Attributes attribs) throws SA… in startElement() argument 86 position = SAXUtil.parseVector3(attribs); in startElement() 88 angle = SAXUtil.parseFloat(attribs.getValue("angle")); in startElement() 92 axis = SAXUtil.parseVector3(attribs); in startElement() 94 scale = SAXUtil.parseVector3(attribs); in startElement() 97 time = SAXUtil.parseFloat(attribs.getValue("time")); in startElement() 102 String boneName = SAXUtil.parseString(attribs.getValue("bone")); in startElement() 108 String boneName = attribs.getValue("bone"); in startElement() 109 String parentName = attribs.getValue("parent"); in startElement() 117 bone = new Bone(attribs.getValue("name")); in startElement() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fDrawTests.cpp | 85 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/ |
D | es3fDrawTests.cpp | 116 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/ |
D | UiAutomationElement.java | 75 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/egl/ |
D | egluStrUtil.hpp | 55 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
|
D | egluUtil.cpp | 46 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 …]
|
/external/deqp/framework/qphelper/ |
D | qpTestLog.c | 525 qpXmlAttribute attribs[8]; in qpTestLog_writeKeyValuePair() local 532 if (name) attribs[numAttribs++] = qpSetStringAttrib("Name", name); in qpTestLog_writeKeyValuePair() 533 if (description) attribs[numAttribs++] = qpSetStringAttrib("Description", description); in qpTestLog_writeKeyValuePair() 534 if (tagString) attribs[numAttribs++] = qpSetStringAttrib("Tag", tagString); in qpTestLog_writeKeyValuePair() 535 if (unit) attribs[numAttribs++] = qpSetStringAttrib("Unit", unit); in qpTestLog_writeKeyValuePair() 537 if (!qpXmlWriter_startElement(log->writer, elementName, numAttribs, attribs) || in qpTestLog_writeKeyValuePair() 772 qpXmlAttribute attribs[4]; in qpTestLog_startImageSet() local 778 attribs[numAttribs++] = qpSetStringAttrib("Name", name); in qpTestLog_startImageSet() 780 attribs[numAttribs++] = qpSetStringAttrib("Description", description); in qpTestLog_startImageSet() 783 if (!qpXmlWriter_startElement(log->writer, "ImageSet", numAttribs, attribs)) in qpTestLog_startImageSet() [all …]
|
/external/deqp/modules/gles2/stress/ |
D | es2sDrawTests.cpp | 58 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/deqp/framework/platform/win32/ |
D | tcuWGL.cpp | 267 int attribs[] = { WGL_NUMBER_PIXEL_FORMATS_ARB }; in getPixelFormats() local 268 int values[DE_LENGTH_OF_ARRAY(attribs)]; in getPixelFormats() 270 …if (!wgl.getPixelFormatAttribivARB(deviceCtx, 0, 0, DE_LENGTH_OF_ARRAY(attribs), &attribs[0], &val… in getPixelFormats() 308 int attribs [14]; in getPixelFormatInfo() local 309 int values [DE_LENGTH_OF_ARRAY(attribs)]; in getPixelFormatInfo() 310 attribs[0] = WGL_DRAW_TO_WINDOW_ARB; in getPixelFormatInfo() 311 attribs[1] = WGL_DRAW_TO_BITMAP_ARB; in getPixelFormatInfo() 312 attribs[2] = WGL_ACCELERATION_ARB; in getPixelFormatInfo() 313 attribs[3] = WGL_SUPPORT_OPENGL_ARB; in getPixelFormatInfo() 314 attribs[4] = WGL_DOUBLE_BUFFER_ARB; in getPixelFormatInfo() [all …]
|
/external/mesa3d/src/gallium/state_trackers/dri/drm/ |
D | dri_context.c | 73 struct st_context_attribs attribs; in dri_create_context() local 76 memset(&attribs, 0, sizeof(attribs)); in dri_create_context() 79 attribs.profile = ST_PROFILE_OPENGL_ES1; in dri_create_context() 82 attribs.profile = ST_PROFILE_OPENGL_ES2; in dri_create_context() 85 attribs.profile = ST_PROFILE_DEFAULT; in dri_create_context() 86 attribs.major = major_version; in dri_create_context() 87 attribs.minor = minor_version; in dri_create_context() 90 attribs.flags |= ST_CONTEXT_FLAG_DEBUG; in dri_create_context() 93 attribs.flags |= ST_CONTEXT_FLAG_FORWARD_COMPATIBLE; in dri_create_context() 117 dri_fill_st_options(&attribs.options, &ctx->optionCache); in dri_create_context() [all …]
|
/external/mesa3d/src/gallium/state_trackers/dri/sw/ |
D | dri_context.c | 73 struct st_context_attribs attribs; in dri_create_context() local 76 memset(&attribs, 0, sizeof(attribs)); in dri_create_context() 79 attribs.profile = ST_PROFILE_OPENGL_ES1; in dri_create_context() 82 attribs.profile = ST_PROFILE_OPENGL_ES2; in dri_create_context() 85 attribs.profile = ST_PROFILE_DEFAULT; in dri_create_context() 86 attribs.major = major_version; in dri_create_context() 87 attribs.minor = minor_version; in dri_create_context() 90 attribs.flags |= ST_CONTEXT_FLAG_DEBUG; in dri_create_context() 93 attribs.flags |= ST_CONTEXT_FLAG_FORWARD_COMPATIBLE; in dri_create_context() 117 dri_fill_st_options(&attribs.options, &ctx->optionCache); in dri_create_context() [all …]
|
/external/mesa3d/src/gallium/state_trackers/dri/common/ |
D | dri_context.c | 73 struct st_context_attribs attribs; in dri_create_context() local 76 memset(&attribs, 0, sizeof(attribs)); in dri_create_context() 79 attribs.profile = ST_PROFILE_OPENGL_ES1; in dri_create_context() 82 attribs.profile = ST_PROFILE_OPENGL_ES2; in dri_create_context() 85 attribs.profile = ST_PROFILE_DEFAULT; in dri_create_context() 86 attribs.major = major_version; in dri_create_context() 87 attribs.minor = minor_version; in dri_create_context() 90 attribs.flags |= ST_CONTEXT_FLAG_DEBUG; in dri_create_context() 93 attribs.flags |= ST_CONTEXT_FLAG_FORWARD_COMPATIBLE; in dri_create_context() 117 dri_fill_st_options(&attribs.options, &ctx->optionCache); in dri_create_context() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/xml/ |
D | SAXUtil.java | 126 public static Vector3f parseVector3(Attributes attribs) throws SAXException{ in parseVector3() argument 127 float x = parseFloat(attribs.getValue("x")); in parseVector3() 128 float y = parseFloat(attribs.getValue("y")); in parseVector3() 129 float z = parseFloat(attribs.getValue("z")); in parseVector3() 133 public static ColorRGBA parseColor(Attributes attribs) throws SAXException{ in parseColor() argument 134 float r = parseFloat(attribs.getValue("r")); in parseColor() 135 float g = parseFloat(attribs.getValue("g")); in parseColor() 136 float b = parseFloat(attribs.getValue("b")); in parseColor()
|
/external/deqp/framework/common/ |
D | tcuTestHierarchyUtil.cpp | 69 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/framework/delibs/decpp/ |
D | deMutex.cpp | 40 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()
|
D | deSemaphore.cpp | 39 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/deqp/modules/gles31/functional/ |
D | es31fDrawTests.cpp | 196 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/gles3/stress/ |
D | es3sDrawTests.cpp | 239 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/apache-http/src/org/apache/http/impl/cookie/ |
D | BasicClientCookie.java | 79 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/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tree_adapters/ |
D | htmlparser2.js | 75 var attribs = {}, 82 attribs[attrName] = attrs[i].value; 91 attribs: attribs, property 232 if (typeof recipientNode.attribs[attrName] === 'undefined') { 233 recipientNode.attribs[attrName] = attrs[i].value; 257 for (var name in node.attribs) { 258 if (node.attribs.hasOwnProperty(name)) { 261 value: node.attribs[name], 316 return !!node.attribs;
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
D | ImmediateModeRenderer20.java | 65 VertexAttribute[] attribs = buildVertexAttributes(hasNormals, hasColors, numTexCoords); in ImmediateModeRenderer20() local 66 mesh = new Mesh(false, maxVertices, 0, attribs); in ImmediateModeRenderer20() 83 Array<VertexAttribute> attribs = new Array<VertexAttribute>(); in buildVertexAttributes() local 84 attribs.add(new VertexAttribute(Usage.Position, 3, ShaderProgram.POSITION_ATTRIBUTE)); in buildVertexAttributes() 85 if (hasNormals) attribs.add(new VertexAttribute(Usage.Normal, 3, ShaderProgram.NORMAL_ATTRIBUTE)); in buildVertexAttributes() 86 …if (hasColor) attribs.add(new VertexAttribute(Usage.ColorPacked, 4, ShaderProgram.COLOR_ATTRIBUTE)… in buildVertexAttributes() 88 …attribs.add(new VertexAttribute(Usage.TextureCoordinates, 2, ShaderProgram.TEXCOORD_ATTRIBUTE + i)… in buildVertexAttributes() 90 VertexAttribute[] array = new VertexAttribute[attribs.size]; in buildVertexAttributes() 91 for (int i = 0; i < attribs.size; i++) in buildVertexAttributes() 92 array[i] = attribs.get(i); in buildVertexAttributes()
|
/external/openssh/ |
D | ssh-pkcs11.c | 447 CK_ATTRIBUTE filter[], CK_ATTRIBUTE attribs[3], in pkcs11_fetch_keys_filter() 472 attribs[i].pValue = NULL; in pkcs11_fetch_keys_filter() 473 attribs[i].ulValueLen = 0; in pkcs11_fetch_keys_filter() 479 if ((rv = f->C_GetAttributeValue(session, obj, attribs, 3)) in pkcs11_fetch_keys_filter() 489 if (attribs[1].ulValueLen == 0 || in pkcs11_fetch_keys_filter() 490 attribs[2].ulValueLen == 0) { in pkcs11_fetch_keys_filter() 495 if (attribs[i].ulValueLen > 0) { in pkcs11_fetch_keys_filter() 496 attribs[i].pValue = xmalloc( in pkcs11_fetch_keys_filter() 497 attribs[i].ulValueLen); in pkcs11_fetch_keys_filter() 506 if ((rv = f->C_GetAttributeValue(session, obj, attribs, 3)) in pkcs11_fetch_keys_filter() [all …]
|
/external/owasp/sanitizer/src/main/org/owasp/html/examples/ |
D | UrlTextExample.java | 65 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()
|