Searched refs:attributes (Results 1 - 25 of 818) sorted by relevance

1234567891011>>

/external/chromium_org/ppapi/shared_impl/
H A Dmedia_stream_audio_track_shared.cc11 const Attributes& attributes) {
12 if (attributes.buffers < 0)
14 if (!(attributes.duration == 0 ||
15 (attributes.duration >= 10 && attributes.duration <= 10000)))
10 VerifyAttributes( const Attributes& attributes) argument
H A Dmedia_stream_audio_track_shared_unittest.cc12 MediaStreamAudioTrackShared::Attributes attributes; local
13 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes));
18 MediaStreamAudioTrackShared::Attributes attributes; local
19 attributes.buffers = 0;
20 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes));
22 attributes.buffers = 8;
23 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes));
25 attributes.buffers = 1024;
26 EXPECT_TRUE(MediaStreamAudioTrackShared::VerifyAttributes(attributes));
28 attributes
34 MediaStreamAudioTrackShared::Attributes attributes; local
[all...]
H A Dmedia_stream_video_track_shared_unittest.cc12 MediaStreamVideoTrackShared::Attributes attributes; local
13 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes));
18 MediaStreamVideoTrackShared::Attributes attributes; local
19 attributes.buffers = 0;
20 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes));
22 attributes.buffers = 8;
23 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes));
25 attributes.buffers = 1024;
26 EXPECT_TRUE(MediaStreamVideoTrackShared::VerifyAttributes(attributes));
28 attributes
34 MediaStreamVideoTrackShared::Attributes attributes; local
52 MediaStreamVideoTrackShared::Attributes attributes; local
74 MediaStreamVideoTrackShared::Attributes attributes; local
[all...]
H A Dmedia_stream_video_track_shared.cc20 const Attributes& attributes) {
21 if (attributes.buffers < 0)
23 if (attributes.format < PP_VIDEOFRAME_FORMAT_UNKNOWN ||
24 attributes.format > PP_VIDEOFRAME_FORMAT_LAST) {
27 if (attributes.width < 0 ||
28 attributes.width > kMaxWidth ||
29 attributes.width & 0x3) {
32 if (attributes.height < 0 ||
33 attributes.height > kMaxHeight ||
34 attributes
19 VerifyAttributes( const Attributes& attributes) argument
[all...]
H A Dmedia_stream_audio_track_shared.h21 static bool VerifyAttributes(const Attributes& attributes);
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DSimpleAttributeTableGenerator.java13 private final AttributeTable attributes; field in class:SimpleAttributeTableGenerator
16 AttributeTable attributes)
18 this.attributes = attributes;
23 return attributes;
15 SimpleAttributeTableGenerator( AttributeTable attributes) argument
/external/proguard/src/proguard/classfile/editor/
H A DAttributesEditor.java27 * This class can add and delete attributes to and from classes, fields,
28 * methods, and code attributes. Attributes to be added must be filled out
30 * attributes of the same type are always replaced.
43 * Creates a new AttributeAdder that will edit attributes in the given
54 * Creates a new AttributeAdder that will edit attributes in the given
66 * Creates a new AttributeAdder that will edit attributes in the given
92 targetAttribute.attributes,
96 targetAttribute.attributes =
98 targetAttribute.attributes,
109 targetMember.attributes,
177 replaceAttribute(int attributesCount, Attribute[] attributes, Attribute attribute) argument
200 addAttribute(int attributesCount, Attribute[] attributes, Attribute attribute) argument
226 deleteAttribute(int attributesCount, Attribute[] attributes, String attributeName) argument
255 findAttribute(int attributesCount, Attribute[] attributes, String attributeName) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DElementDataCache.cpp36 inline unsigned attributeHash(const Vector<Attribute>& attributes) argument
38 return StringHasher::hashMemory(attributes.data(), attributes.size() * sizeof(Attribute));
41 inline bool hasSameAttributes(const Vector<Attribute>& attributes, ShareableElementData& elementData) argument
43 if (attributes.size() != elementData.attributes().size())
45 return !memcmp(attributes.data(), elementData.m_attributeArray, attributes.size() * sizeof(Attribute));
48 PassRefPtrWillBeRawPtr<ShareableElementData> ElementDataCache::cachedShareableElementDataWithAttributes(const Vector<Attribute>& attributes) argument
50 ASSERT(!attributes
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGResourceRadialGradient.cpp47 FloatPoint RenderSVGResourceRadialGradient::centerPoint(const RadialGradientAttributes& attributes) const
49 return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.cx(), attributes.cy());
52 FloatPoint RenderSVGResourceRadialGradient::focalPoint(const RadialGradientAttributes& attributes) const
54 return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.fx(), attributes.fy());
57 float RenderSVGResourceRadialGradient::radius(const RadialGradientAttributes& attributes) const
59 return SVGLengthContext::resolveLength(element(), attributes
[all...]
H A DRenderSVGResourceLinearGradient.cpp46 FloatPoint RenderSVGResourceLinearGradient::startPoint(const LinearGradientAttributes& attributes) const
48 return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.x1(), attributes.y1());
51 FloatPoint RenderSVGResourceLinearGradient::endPoint(const LinearGradientAttributes& attributes) const
53 return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.x2(), attributes.y2());
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/
H A DSDL_macgl.c37 GLint attributes [ 26 ]; /* 26 is max possible in this setup */ local
48 attributes[i++] = AGL_RGBA;
52 attributes[i++] = AGL_RED_SIZE;
53 attributes[i++] = this->gl_config.red_size;
54 attributes[i++] = AGL_GREEN_SIZE;
55 attributes[i++] = this->gl_config.green_size;
56 attributes[i++] = AGL_BLUE_SIZE;
57 attributes[i++] = this->gl_config.blue_size;
58 attributes[i++] = AGL_ALPHA_SIZE;
59 attributes[
[all...]
/external/smack/src/org/jivesoftware/smack/packet/
H A DRegistration.java31 * existing account information. XMPP servers may require a number of attributes to be set
32 * when creating a new account. The standard account attributes are as follows:
54 private Map<String, String> attributes = new HashMap<String,String>(); field in class:Registration
80 * Returns the map of String key/value pairs of account attributes.
82 * @return the account attributes.
85 return attributes;
89 * Sets the account attributes. The map must only contain String key/value pairs.
91 * @param attributes the account attributes.
93 public void setAttributes(Map<String, String> attributes) { argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
H A DAttributes.java27 private ASN1Set attributes; field in class:Attributes
31 attributes = set;
36 attributes = new DLSet(v);
68 Attribute[] rv = new Attribute[attributes.size()];
72 rv[i] = Attribute.getInstance(attributes.getObjectAt(i));
83 return attributes;
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dstub_enterprise_install_attributes.cc41 StubEnterpriseInstallAttributes* attributes = local
43 attributes->SetDomain(domain);
44 attributes->SetRegistrationUser(registration_user);
45 attributes->SetDeviceId(device_id);
46 attributes->SetMode(mode);
47 BrowserPolicyConnectorChromeOS::SetInstallAttributesForTesting(attributes);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/
H A DPlatformStatus.java29 NamedNodeMap attributes = anElement.getAttributes();
30 this.id = (String) attributes.getNamedItem("id").getNodeValue();
31 this.name = (String) attributes.getNamedItem("name").getNodeValue();
32 this.fileName = (String) attributes.getNamedItem("fileName").getNodeValue();
/external/doclava/src/com/google/doclava/apicheck/
H A DXmlApiFile.java70 public void startElement(String uri, String localName, String qName, Attributes attributes) { argument
73 new PackageInfo(attributes.getValue("name"), SourcePositionInfo.fromXml(attributes
82 SourcePositionInfo position = SourcePositionInfo.fromXml(attributes.getValue("source"));
83 String visibility = attributes.getValue("visibility");
88 boolean isStatic = Boolean.valueOf(attributes.getValue("static"));
90 boolean isAbstract = Boolean.valueOf(attributes.getValue("abstract"));
96 boolean isFinal = Boolean.valueOf(attributes.getValue("final"));
98 String name = attributes.getValue("name");
109 mCurrentClass.setDeprecated("deprecated".equals(attributes
[all...]
/external/jdiff/src/jdiff/
H A DAPIHandler.java73 java.lang.String qName, Attributes attributes) {
78 String apiName = attributes.getValue("name");
79 String version = attributes.getValue("jdversion"); // Not used yet
83 String pkgName = attributes.getValue("name");
87 String className = attributes.getValue("name");
88 String parentName = attributes.getValue("extends");
90 if (attributes.getValue("abstract").compareTo("true") == 0)
92 XMLToAPI.addClass(className, parentName, isAbstract, getModifiers(attributes));
95 String className = attributes.getValue("name");
96 String parentName = attributes
72 startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, Attributes attributes) argument
274 addStartTagToText(String localName, Attributes attributes) argument
312 getModifiers(Attributes attributes) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGLinearGradientElement.cpp106 static void setGradientAttributes(SVGGradientElement* element, LinearGradientAttributes& attributes, bool isLinear = true) argument
108 if (!attributes.hasSpreadMethod() && element->spreadMethod()->isSpecified())
109 attributes.setSpreadMethod(element->spreadMethod()->currentValue()->enumValue());
111 if (!attributes.hasGradientUnits() && element->gradientUnits()->isSpecified())
112 attributes.setGradientUnits(element->gradientUnits()->currentValue()->enumValue());
114 if (!attributes.hasGradientTransform() && element->gradientTransform()->isSpecified()) {
117 attributes.setGradientTransform(transform);
120 if (!attributes.hasStops()) {
123 attributes.setStops(stops);
129 if (!attributes
143 collectGradientAttributes(LinearGradientAttributes& attributes) argument
[all...]
H A DSVGRadialGradientElement.cpp120 static void setGradientAttributes(SVGGradientElement* element, RadialGradientAttributes& attributes, bool isRadial = true) argument
122 if (!attributes.hasSpreadMethod() && element->spreadMethod()->isSpecified())
123 attributes.setSpreadMethod(element->spreadMethod()->currentValue()->enumValue());
125 if (!attributes.hasGradientUnits() && element->gradientUnits()->isSpecified())
126 attributes.setGradientUnits(element->gradientUnits()->currentValue()->enumValue());
128 if (!attributes.hasGradientTransform() && element->gradientTransform()->isSpecified()) {
131 attributes.setGradientTransform(transform);
134 if (!attributes.hasStops()) {
137 attributes.setStops(stops);
143 if (!attributes
163 collectGradientAttributes(RadialGradientAttributes& attributes) argument
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fVertexArrayObjectTests.cpp75 vector<Attribute> attributes; member in struct:deqp::gles3::Functional::__anon20152::VertexArrayState
201 for (int attribNdx = 0; attribNdx < (int)state.attributes.size(); attribNdx++)
205 << "\tGL_VERTEX_ATTRIB_ARRAY_ENABLED : " << (state.attributes[attribNdx].enabled ? "GL_TRUE" : "GL_FALSE") << "\n"
206 << "\tGL_VERTEX_ATTRIB_ARRAY_SIZE : " << state.attributes[attribNdx].size << "\n"
207 << "\tGL_VERTEX_ATTRIB_ARRAY_STRIDE : " << state.attributes[attribNdx].stride << "\n"
208 << "\tGL_VERTEX_ATTRIB_ARRAY_TYPE : " << state.attributes[attribNdx].type << "\n"
209 << "\tGL_VERTEX_ATTRIB_ARRAY_NORMALIZED : " << (state.attributes[attribNdx].normalized ? "GL_TRUE" : "GL_FALSE") << "\n"
210 << "\tGL_VERTEX_ATTRIB_ARRAY_INTEGER : " << (state.attributes[attribNdx].integer ? "GL_TRUE" : "GL_FALSE") << "\n"
211 << "\tGL_VERTEX_ATTRIB_ARRAY_DIVISOR : " << state.attributes[attribNdx].divisor << "\n"
212 << "\tGL_VERTEX_ATTRIB_ARRAY_POINTER : " << state.attributes[attribNd
[all...]
/external/chromium_org/sandbox/win/src/
H A Dwindow.cc16 // Gets the security attributes of a window object referenced by |handle|. The
19 bool GetSecurityAttributes(HANDLE handle, SECURITY_ATTRIBUTES* attributes) { argument
20 attributes->bInheritHandle = FALSE;
21 attributes->nLength = sizeof(SECURITY_ATTRIBUTES);
26 NULL, &attributes->lpSecurityDescriptor);
38 // Get the security attributes from the current window station; we will
39 // use this as the base security attributes for the new window station.
40 SECURITY_ATTRIBUTES attributes = {0}; local
41 if (!GetSecurityAttributes(::GetProcessWindowStation(), &attributes)) {
48 *winsta = ::CreateWindowStationW(NULL, 0, WINSTA_ALL_ACCESS, &attributes);
68 SECURITY_ATTRIBUTES attributes = {0}; local
[all...]
H A Dapp_container_unittest.cc39 scoped_ptr<AppContainerAttributes> attributes(new AppContainerAttributes);
42 attributes->SetAppContainer(L"S-1-foo", capabilities));
45 attributes->SetAppContainer(L"S-1-15-2-12345-234", capabilities));
46 EXPECT_TRUE(attributes->HasAppContainer());
48 attributes.reset(new AppContainerAttributes);
54 attributes->SetAppContainer(L"S-1-15-2-1-2", capabilities));
55 EXPECT_TRUE(attributes->HasAppContainer());
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/
H A Dadmx_writer.py65 attributes = {
69 self.AddElement(policy_namespaces_elem, 'target', attributes)
70 attributes = {
74 self.AddElement(policy_namespaces_elem, 'using', attributes)
85 same category again with the same attributes is ignored, but adding it
86 again with different attributes is an error.
101 attributes = {
105 category_elem = self.AddElement(parent, 'category', attributes)
107 attributes = {'ref': parent_category_name}
108 self.AddElement(category_elem, 'parentCategory', attributes)
[all...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
H A DTestAttributeSetTest.java21 private HashMap<String, String> attributes; field in class:TestAttributeSetTest
26 attributes = new HashMap<String, String>();
35 attributes.put("android:id", "@android:id/text1");
36 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null, false);
42 attributes.put("id", "@id/text1");
43 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null, false);
49 attributes.put("id", "@null");
50 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null, false);
56 attributes.put("android:id", "@+id/text1");
58 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtracto
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DTextDocumentParser.cpp59 Vector<Attribute> attributes; local
60 attributes.append(Attribute(styleAttr, "word-wrap: break-word; white-space: pre-wrap;"));
61 AtomicHTMLToken fakePre(HTMLToken::StartTag, preTag.localName(), attributes);

Completed in 1754 milliseconds

1234567891011>>