/external/chromium_org/ppapi/shared_impl/ |
D | media_stream_video_track_shared_unittest.cc | 12 MediaStreamVideoTrackShared::Attributes attributes; in TEST() local 13 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes)); in TEST() 18 MediaStreamVideoTrackShared::Attributes attributes; in TEST() local 19 attributes.buffers = 0; in TEST() 20 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes)); in TEST() 22 attributes.buffers = 8; in TEST() 23 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes)); in TEST() 25 attributes.buffers = 1024; in TEST() 26 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes)); in TEST() 28 attributes.buffers = -1; in TEST() [all …]
|
D | media_stream_audio_track_shared_unittest.cc | 12 MediaStreamAudioTrackShared::Attributes attributes; in TEST() local 13 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes)); in TEST() 18 MediaStreamAudioTrackShared::Attributes attributes; in TEST() local 19 attributes.buffers = 0; in TEST() 20 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes)); in TEST() 22 attributes.buffers = 8; in TEST() 23 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes)); in TEST() 25 attributes.buffers = 1024; in TEST() 26 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes)); in TEST() 28 attributes.buffers = -1; in TEST() [all …]
|
D | media_stream_video_track_shared.cc | 20 const Attributes& attributes) { in VerifyAttributes() argument 21 if (attributes.buffers < 0) in VerifyAttributes() 23 if (attributes.format < PP_VIDEOFRAME_FORMAT_UNKNOWN || in VerifyAttributes() 24 attributes.format > PP_VIDEOFRAME_FORMAT_LAST) { in VerifyAttributes() 27 if (attributes.width < 0 || in VerifyAttributes() 28 attributes.width > kMaxWidth || in VerifyAttributes() 29 attributes.width & 0x3) { in VerifyAttributes() 32 if (attributes.height < 0 || in VerifyAttributes() 33 attributes.height > kMaxHeight || in VerifyAttributes() 34 attributes.height & 0x3) { in VerifyAttributes()
|
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
D | SDL_macgl.c | 37 GLint attributes [ 26 ]; /* 26 is max possible in this setup */ in Mac_GL_Init() local 48 attributes[i++] = AGL_RGBA; in Mac_GL_Init() 52 attributes[i++] = AGL_RED_SIZE; in Mac_GL_Init() 53 attributes[i++] = this->gl_config.red_size; in Mac_GL_Init() 54 attributes[i++] = AGL_GREEN_SIZE; in Mac_GL_Init() 55 attributes[i++] = this->gl_config.green_size; in Mac_GL_Init() 56 attributes[i++] = AGL_BLUE_SIZE; in Mac_GL_Init() 57 attributes[i++] = this->gl_config.blue_size; in Mac_GL_Init() 58 attributes[i++] = AGL_ALPHA_SIZE; in Mac_GL_Init() 59 attributes[i++] = this->gl_config.alpha_size; in Mac_GL_Init() [all …]
|
/external/proguard/src/proguard/classfile/editor/ |
D | AttributesEditor.java | 92 targetAttribute.attributes, in addAttribute() 96 targetAttribute.attributes = in addAttribute() 98 targetAttribute.attributes, in addAttribute() 109 targetMember.attributes, in addAttribute() 113 targetMember.attributes = in addAttribute() 115 targetMember.attributes, in addAttribute() 126 targetClass.attributes, in addAttribute() 130 targetClass.attributes = in addAttribute() 132 targetClass.attributes, in addAttribute() 151 targetAttribute.attributes, in deleteAttribute() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexArrayObjectTests.cpp | 75 vector<Attribute> attributes; member 201 for (int attribNdx = 0; attribNdx < (int)state.attributes.size(); attribNdx++) in logVertexArrayState() 205 …<< "\tGL_VERTEX_ATTRIB_ARRAY_ENABLED : " << (state.attributes[attribNdx].enabled ? "GL_TRUE" : "GL… in logVertexArrayState() 206 << "\tGL_VERTEX_ATTRIB_ARRAY_SIZE : " << state.attributes[attribNdx].size << "\n" in logVertexArrayState() 207 << "\tGL_VERTEX_ATTRIB_ARRAY_STRIDE : " << state.attributes[attribNdx].stride << "\n" in logVertexArrayState() 208 << "\tGL_VERTEX_ATTRIB_ARRAY_TYPE : " << state.attributes[attribNdx].type << "\n" in logVertexArrayState() 209 …<< "\tGL_VERTEX_ATTRIB_ARRAY_NORMALIZED : " << (state.attributes[attribNdx].normalized ? "GL_TRUE"… in logVertexArrayState() 210 …<< "\tGL_VERTEX_ATTRIB_ARRAY_INTEGER : " << (state.attributes[attribNdx].integer ? "GL_TRUE" : "GL… in logVertexArrayState() 211 << "\tGL_VERTEX_ATTRIB_ARRAY_DIVISOR : " << state.attributes[attribNdx].divisor << "\n" in logVertexArrayState() 212 << "\tGL_VERTEX_ATTRIB_ARRAY_POINTER : " << state.attributes[attribNdx].offset << "\n" in logVertexArrayState() [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
D | TestAttributeSetTest.java | 21 private HashMap<String, String> attributes; field in TestAttributeSetTest 26 attributes = new HashMap<String, String>(); in setUp() 35 attributes.put("android:id", "@android:id/text1"); in getSystemAttributeResourceValue_shouldReturnTheResourceValue() 36 …TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null… in getSystemAttributeResourceValue_shouldReturnTheResourceValue() 42 attributes.put("id", "@id/text1"); in getSystemAttributeResourceValue_shouldNotReturnTheResourceValueIfNameSpaceDoesNotMatch() 43 …TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null… in getSystemAttributeResourceValue_shouldNotReturnTheResourceValueIfNameSpaceDoesNotMatch() 49 attributes.put("id", "@null"); in getSystemAttributeResourceValue_shouldReturnDefaultValueForNullResourceId() 50 …TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null… in getSystemAttributeResourceValue_shouldReturnDefaultValueForNullResourceId() 56 attributes.put("android:id", "@+id/text1"); in shouldCopeWithDefiningSystemIds() 58 …TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null… in shouldCopeWithDefiningSystemIds() [all …]
|
/external/doclava/src/com/google/doclava/apicheck/ |
D | XmlApiFile.java | 70 public void startElement(String uri, String localName, String qName, Attributes attributes) { in startElement() argument 73 new PackageInfo(attributes.getValue("name"), SourcePositionInfo.fromXml(attributes in startElement() 82 SourcePositionInfo position = SourcePositionInfo.fromXml(attributes.getValue("source")); in startElement() 83 String visibility = attributes.getValue("visibility"); in startElement() 88 boolean isStatic = Boolean.valueOf(attributes.getValue("static")); in startElement() 90 boolean isAbstract = Boolean.valueOf(attributes.getValue("abstract")); in startElement() 96 boolean isFinal = Boolean.valueOf(attributes.getValue("final")); in startElement() 98 String name = attributes.getValue("name"); in startElement() 109 mCurrentClass.setDeprecated("deprecated".equals(attributes.getValue("deprecated"))); in startElement() 111 String superclass = attributes.getValue("extends"); in startElement() [all …]
|
/external/jdiff/src/jdiff/ |
D | APIHandler.java | 73 java.lang.String qName, Attributes attributes) { in startElement() argument 78 String apiName = attributes.getValue("name"); in startElement() 79 String version = attributes.getValue("jdversion"); // Not used yet in startElement() 83 String pkgName = attributes.getValue("name"); in startElement() 87 String className = attributes.getValue("name"); in startElement() 88 String parentName = attributes.getValue("extends"); in startElement() 90 if (attributes.getValue("abstract").compareTo("true") == 0) in startElement() 92 XMLToAPI.addClass(className, parentName, isAbstract, getModifiers(attributes)); in startElement() 95 String className = attributes.getValue("name"); in startElement() 96 String parentName = attributes.getValue("extends"); in startElement() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGRadialGradientElement.cpp | 120 static void setGradientAttributes(SVGGradientElement* element, RadialGradientAttributes& attributes… in setGradientAttributes() argument 122 if (!attributes.hasSpreadMethod() && element->spreadMethod()->isSpecified()) in setGradientAttributes() 123 attributes.setSpreadMethod(element->spreadMethod()->currentValue()->enumValue()); in setGradientAttributes() 125 if (!attributes.hasGradientUnits() && element->gradientUnits()->isSpecified()) in setGradientAttributes() 126 attributes.setGradientUnits(element->gradientUnits()->currentValue()->enumValue()); in setGradientAttributes() 128 if (!attributes.hasGradientTransform() && element->gradientTransform()->isSpecified()) { in setGradientAttributes() 131 attributes.setGradientTransform(transform); in setGradientAttributes() 134 if (!attributes.hasStops()) { in setGradientAttributes() 137 attributes.setStops(stops); in setGradientAttributes() 143 if (!attributes.hasCx() && radial->cx()->isSpecified()) in setGradientAttributes() [all …]
|
D | SVGLinearGradientElement.cpp | 106 static void setGradientAttributes(SVGGradientElement* element, LinearGradientAttributes& attributes… in setGradientAttributes() argument 108 if (!attributes.hasSpreadMethod() && element->spreadMethod()->isSpecified()) in setGradientAttributes() 109 attributes.setSpreadMethod(element->spreadMethod()->currentValue()->enumValue()); in setGradientAttributes() 111 if (!attributes.hasGradientUnits() && element->gradientUnits()->isSpecified()) in setGradientAttributes() 112 attributes.setGradientUnits(element->gradientUnits()->currentValue()->enumValue()); in setGradientAttributes() 114 if (!attributes.hasGradientTransform() && element->gradientTransform()->isSpecified()) { in setGradientAttributes() 117 attributes.setGradientTransform(transform); in setGradientAttributes() 120 if (!attributes.hasStops()) { in setGradientAttributes() 123 attributes.setStops(stops); in setGradientAttributes() 129 if (!attributes.hasX1() && linear->x1()->isSpecified()) in setGradientAttributes() [all …]
|
D | SVGPatternElement.cpp | 142 static void setPatternAttributes(const SVGPatternElement* element, PatternAttributes& attributes) in setPatternAttributes() argument 144 if (!attributes.hasX() && element->x()->isSpecified()) in setPatternAttributes() 145 attributes.setX(element->x()->currentValue()); in setPatternAttributes() 147 if (!attributes.hasY() && element->y()->isSpecified()) in setPatternAttributes() 148 attributes.setY(element->y()->currentValue()); in setPatternAttributes() 150 if (!attributes.hasWidth() && element->width()->isSpecified()) in setPatternAttributes() 151 attributes.setWidth(element->width()->currentValue()); in setPatternAttributes() 153 if (!attributes.hasHeight() && element->height()->isSpecified()) in setPatternAttributes() 154 attributes.setHeight(element->height()->currentValue()); in setPatternAttributes() 156 …if (!attributes.hasViewBox() && element->viewBox()->isSpecified() && element->viewBox()->currentVa… in setPatternAttributes() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | ElementDataCache.cpp | 36 inline unsigned attributeHash(const Vector<Attribute>& attributes) in DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED() 38 return StringHasher::hashMemory(attributes.data(), attributes.size() * sizeof(Attribute)); in DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED() 41 inline bool hasSameAttributes(const Vector<Attribute>& attributes, ShareableElementData& elementDat… in hasSameAttributes() argument 43 if (attributes.size() != elementData.attributes().size()) in hasSameAttributes() 45 …return !memcmp(attributes.data(), elementData.m_attributeArray, attributes.size() * sizeof(Attribu… in hasSameAttributes() 48 …ta> ElementDataCache::cachedShareableElementDataWithAttributes(const Vector<Attribute>& attributes) in cachedShareableElementDataWithAttributes() argument 50 ASSERT(!attributes.isEmpty()); in cachedShareableElementDataWithAttributes() 52 …taCache::ValueType* it = m_shareableElementDataCache.add(attributeHash(attributes), nullptr).store… in cachedShareableElementDataWithAttributes() 55 if (it->value && !hasSameAttributes(attributes, *it->value)) in cachedShareableElementDataWithAttributes() 56 return ShareableElementData::createWithAttributes(attributes); in cachedShareableElementDataWithAttributes() [all …]
|
D | ElementData.cpp | 72 , m_arraySize(isUnique ? 0 : other.attributes().size()) in ElementData() 109 AttributeCollection attributes = this->attributes(); in isEquivalent() local 111 return attributes.isEmpty(); in isEquivalent() 113 AttributeCollection otherAttributes = other->attributes(); in isEquivalent() 114 if (attributes.size() != otherAttributes.size()) in isEquivalent() 117 AttributeCollection::iterator end = attributes.end(); in isEquivalent() 118 for (AttributeCollection::iterator it = attributes.begin(); it != end; ++it) { in isEquivalent() 139 ShareableElementData::ShareableElementData(const Vector<Attribute>& attributes) in ShareableElementData() argument 140 : ElementData(attributes.size()) in ShareableElementData() 143 new (&m_attributeArray[i]) Attribute(attributes[i]); in ShareableElementData() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
D | RenderSVGResourceRadialGradient.cpp | 47 FloatPoint RenderSVGResourceRadialGradient::centerPoint(const RadialGradientAttributes& attributes)… in centerPoint() 49 …return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.cx(), attr… in centerPoint() 52 FloatPoint RenderSVGResourceRadialGradient::focalPoint(const RadialGradientAttributes& attributes) … in focalPoint() 54 …return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.fx(), attr… in focalPoint() 57 float RenderSVGResourceRadialGradient::radius(const RadialGradientAttributes& attributes) const in radius() 59 return SVGLengthContext::resolveLength(element(), attributes.gradientUnits(), attributes.r()); in radius() 62 float RenderSVGResourceRadialGradient::focalRadius(const RadialGradientAttributes& attributes) const in focalRadius() 64 return SVGLengthContext::resolveLength(element(), attributes.gradientUnits(), attributes.fr()); in focalRadius()
|
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
D | admx_writer.py | 65 attributes = { 69 self.AddElement(policy_namespaces_elem, 'target', attributes) 70 attributes = { 74 self.AddElement(policy_namespaces_elem, 'using', attributes) 101 attributes = { 105 category_elem = self.AddElement(parent, 'category', attributes) 107 attributes = {'ref': parent_category_name} 108 self.AddElement(category_elem, 'parentCategory', attributes) 156 attributes = { 160 self.AddElement(definitions_elem, 'definition', attributes) [all …]
|
/external/deqp/modules/glshared/ |
D | glsAttributeLocationTests.cpp | 73 bool hasAttributeAliasing (const vector<Attribute>& attributes, const map<string, deUint32>& bindin… in hasAttributeAliasing() argument 77 for (int attribNdx = 0; attribNdx < (int)attributes.size(); attribNdx++) in hasAttributeAliasing() 79 const deInt32 location = getBoundLocation(bindings, attributes[attribNdx].getName()); in hasAttributeAliasing() 80 const deUint32 size = attributes[attribNdx].getType().getLocationSize(); in hasAttributeAliasing() 111 string generateAttributeDefinitions (const vector<Attribute>& attributes) in generateAttributeDefinitions() argument 115 for (vector<Attribute>::const_iterator iter = attributes.begin(); iter != attributes.end(); ++iter) in generateAttributeDefinitions() 129 string generateConditionUniformDefinitions (const vector<Attribute>& attributes) in generateConditionUniformDefinitions() argument 134 for (vector<Attribute>::const_iterator iter = attributes.begin(); iter != attributes.end(); ++iter) in generateConditionUniformDefinitions() 173 string generateOutputCode (const vector<Attribute>& attributes) in generateOutputCode() argument 177 for (vector<Attribute>::const_iterator iter = attributes.begin(); iter != attributes.end(); ++iter) in generateOutputCode() [all …]
|
/external/smack/src/org/jivesoftware/smack/packet/ |
D | Registration.java | 54 private Map<String, String> attributes = new HashMap<String,String>(); field in Registration 85 return attributes; in getAttributes() 93 public void setAttributes(Map<String, String> attributes) { in setAttributes() argument 94 this.attributes = attributes; in setAttributes() 102 attributes.put(key, value); in addAttribute() 114 return attributes.get(key); in getField() 118 return new ArrayList<String>(attributes.keySet()); in getFieldNames() 122 attributes.put("username", username); in setUsername() 126 attributes.put("password", password); in setPassword() 139 if (attributes != null && attributes.size() > 0 && !remove) { in getChildElementXML() [all …]
|
/external/llvm/test/Bitcode/ |
D | attributes-3.3.ll | 3 ; attributes-3.3.ll.bc was generated by passing this file to llvm-as-3.3. 4 ; The test checks that LLVM does not silently misread attributes of 213 ; CHECK: attributes #0 = { noreturn } 214 ; CHECK: attributes #1 = { nounwind } 215 ; CHECK: attributes #2 = { readnone } 216 ; CHECK: attributes #3 = { readonly } 217 ; CHECK: attributes #4 = { noinline } 218 ; CHECK: attributes #5 = { alwaysinline } 219 ; CHECK: attributes #6 = { optsize } 220 ; CHECK: attributes #7 = { ssp } [all …]
|
D | attributes.ll | 232 ; CHECK: attributes #0 = { noreturn } 233 ; CHECK: attributes #1 = { nounwind } 234 ; CHECK: attributes #2 = { readnone } 235 ; CHECK: attributes #3 = { readonly } 236 ; CHECK: attributes #4 = { noinline } 237 ; CHECK: attributes #5 = { alwaysinline } 238 ; CHECK: attributes #6 = { optsize } 239 ; CHECK: attributes #7 = { ssp } 240 ; CHECK: attributes #8 = { sspreq } 241 ; CHECK: attributes #9 = { noredzone } [all …]
|
/external/chromium_org/sandbox/win/src/ |
D | window.cc | 19 bool GetSecurityAttributes(HANDLE handle, SECURITY_ATTRIBUTES* attributes) { in GetSecurityAttributes() argument 20 attributes->bInheritHandle = FALSE; in GetSecurityAttributes() 21 attributes->nLength = sizeof(SECURITY_ATTRIBUTES); in GetSecurityAttributes() 26 NULL, &attributes->lpSecurityDescriptor); in GetSecurityAttributes() 40 SECURITY_ATTRIBUTES attributes = {0}; in CreateAltWindowStation() local 41 if (!GetSecurityAttributes(::GetProcessWindowStation(), &attributes)) { in CreateAltWindowStation() 48 *winsta = ::CreateWindowStationW(NULL, 0, WINSTA_ALL_ACCESS, &attributes); in CreateAltWindowStation() 49 LocalFree(attributes.lpSecurityDescriptor); in CreateAltWindowStation() 68 SECURITY_ATTRIBUTES attributes = {0}; in CreateAltDesktop() local 70 &attributes)) { in CreateAltDesktop() [all …]
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
D | VertexDeclarationCache.cpp | 43 …nCache::applyDeclaration(IDirect3DDevice9 *device, TranslatedAttribute attributes[], gl::ProgramBi… in applyDeclaration() argument 54 if (attributes[i].divisor != 0) in applyDeclaration() 69 if (attributes[i].active) in applyDeclaration() 71 if (indexedAttribute == gl::MAX_VERTEX_ATTRIBS && attributes[i].divisor == 0) in applyDeclaration() 75 else if (instancedAttribute == gl::MAX_VERTEX_ATTRIBS && attributes[i].divisor != 0) in applyDeclaration() 97 if (attributes[i].active) in applyDeclaration() 100 ASSERT(attributes[i].storage == NULL); in applyDeclaration() 124 if (attributes[i].divisor == 0) in applyDeclaration() 130 frequency = D3DSTREAMSOURCE_INSTANCEDATA | attributes[i].divisor; in applyDeclaration() 138 … VertexBuffer9 *vertexBuffer = VertexBuffer9::makeVertexBuffer9(attributes[i].vertexBuffer); in applyDeclaration() [all …]
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
D | MenuLoader.java | 55 NamedNodeMap attributes = node.getAttributes(); in processNode() local 57 if (attributes != null) { in processNode() 58 int length = attributes.getLength(); in processNode() 60 Node attr = attributes.item(i); in processNode() 107 Map<String, String> attributes, Menu root) { in inflateMenu() argument 113 if (attributes != null) { in inflateMenu() 114 for (Map.Entry<String, String> entry : attributes.entrySet()) { in inflateMenu() 116 menuNode.attributes.put(entry.getKey(), in inflateMenu() 131 private final TestAttributeSet attributes; field in MenuLoader.MenuNode 135 public MenuNode(String name, Map<String, String> attributes) { in MenuNode() argument [all …]
|
/external/deqp/modules/egl/ |
D | teglChooseConfigTests.cpp | 87 …& eglTestCtx, const char* name, const char* description, bool checkOrder, const EGLint* attributes) in ChooseConfigCase() argument 92 while (attributes[0] != EGL_NONE) in ChooseConfigCase() 94 m_attributes.push_back(std::make_pair((EGLenum)attributes[0], (EGLint)attributes[1])); in ChooseConfigCase() 95 attributes += 2; in ChooseConfigCase() 99 …nst char* description, bool checkOrder, const std::vector<std::pair<EGLenum, EGLint> >& attributes) in ChooseConfigCase() argument 102 , m_attributes (attributes) in ChooseConfigCase() 120 void executeTest (const std::vector<std::pair<EGLenum, EGLint> >& attributes, bool checkOrder) in executeTest() argument 127 …for (vector<pair<EGLenum, EGLint> >::const_iterator i = attributes.begin(); i != attributes.end();… in executeTest() 136 …for (vector<pair<EGLenum, EGLint> >::const_iterator i = attributes.begin(); i != attributes.end();… in executeTest() 153 chooseConfigReference(display, referenceConfigs, attributes); in executeTest() [all …]
|
/external/openssl/crypto/store/ |
D | str_lib.c | 254 X509 *STORE_get_certificate(STORE *s, OPENSSL_ITEM attributes[], in STORE_get_certificate() argument 264 attributes, parameters); in STORE_get_certificate() 280 int STORE_store_certificate(STORE *s, X509 *data, OPENSSL_ITEM attributes[], in STORE_store_certificate() argument 304 object, attributes, parameters); in STORE_store_certificate() 335 int STORE_revoke_certificate(STORE *s, OPENSSL_ITEM attributes[], in STORE_revoke_certificate() argument 342 attributes, parameters)) in STORE_revoke_certificate() 351 int STORE_delete_certificate(STORE *s, OPENSSL_ITEM attributes[], in STORE_delete_certificate() argument 358 attributes, parameters)) in STORE_delete_certificate() 367 void *STORE_list_certificate_start(STORE *s, OPENSSL_ITEM attributes[], in STORE_list_certificate_start() argument 376 STORE_OBJECT_TYPE_X509_CERTIFICATE, attributes, parameters); in STORE_list_certificate_start() [all …]
|