Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 25 of 226) sorted by relevance

12345678910

/external/harfbuzz/tests/linebreaking/
Dmain.cpp37 QVector<HB_CharAttributes> attrs(str.length()); in getCharAttributes() local
44 attrs.data()); in getCharAttributes()
45 return attrs; in getCharAttributes()
149 QVector<HB_CharAttributes> attrs = getCharAttributes(str); in lineBreaking() local
154 if ( (attrs[i].lineBreakType != HB_NoBreak) != (bool)b->breaks[i] ) { in lineBreaking()
155 … qDebug("test case \"%s\" failed at char %d; break type: %d", b->utf8, i, attrs[i].lineBreakType); in lineBreaking()
156 QCOMPARE( (attrs[i].lineBreakType != HB_NoBreak), (bool)b->breaks[i] ); in lineBreaking()
159 QVERIFY(attrs[i].lineBreakType == HB_ForcedBreak); in lineBreaking()
171 QVector<HB_CharAttributes> attrs = getCharAttributes(txt); in charWordStopOnLineSeparator() local
172 QVERIFY(attrs[1].charStop); in charWordStopOnLineSeparator()
[all …]
/external/chromium/chrome/browser/resources/
Dmenu.js54 init: function(menu, attrs, model) { argument
58 this.attrs = attrs;
59 var attrs = this.attrs;
60 if (attrs.type == 'separator') {
62 } else if (attrs.type == 'command' ||
63 attrs.type == 'submenu' ||
64 attrs.type == 'check' ||
65 attrs.type == 'radio') {
75 if (!attrs.visible) {
98 if (this.attrs.type == 'submenu') {
[all …]
Dwrench_menu.js53 init: function(menu, attrs, model) { argument
55 this.attrs = attrs;
56 if (this.attrs.font) {
57 this.style.font = attrs.font;
60 if (attrs.command_id == menu.config_.IDC_COPY) {
126 if (this.attrs.font) {
127 this.label_.style.font = this.attrs.font;
128 this.cut_.style.font = this.attrs.font;
149 init: function(menu, attrs, model) { argument
151 this.attrs = attrs;
[all …]
Dnetwork_menu.js146 if (this.attrs.remembered) {
147 sendConnect(index, this.attrs.passphrase, '', this.attrs.auto_connect);
238 this.autoConnectCheckbox.checked = this.attrs.auto_connect;
258 var attrs = this.attrs;
259 this.classList.add(attrs.type);
264 this.label_.textContent = attrs.label;
266 if (attrs.network_type == NetworkOther) {
270 } else if (attrs.status && attrs.status != 'unknown') {
271 if (attrs.status == StatusConnected) {
272 this.setStatus_(attrs.ip_address);
[all …]
/external/chromium/chrome/browser/metrics/
Dmetrics_response.cc23 const xmlChar** attrs) { in SAXStartElement() argument
24 if (!name || !attrs) in SAXStartElement()
30 for (int i = 0; attrs[i] && attrs[i + i]; i += 2) { in SAXStartElement()
31 if (strcmp(Char(attrs[i]), "interval") == 0) { in SAXStartElement()
32 state->interval = atoi(Char(attrs[i + 1])); in SAXStartElement()
37 for (int i = 0; attrs[i] && attrs[i + 1]; i += 2) { in SAXStartElement()
38 if (strcmp(Char(attrs[i]), "events") == 0) { in SAXStartElement()
39 state->events = atoi(Char(attrs[i + 1])); in SAXStartElement()
44 for (int i = 0; attrs[i] && attrs[i + 1]; i += 2) { in SAXStartElement()
45 if (strcmp(Char(attrs[i]), "type") == 0) { in SAXStartElement()
[all …]
/external/chromium/chrome/browser/autofill/
Dautofill_xml_parser.cc43 const char** attrs) { in StartElement() argument
54 while (*attrs) { in StartElement()
55 buzz::QName attribute_qname = context->ResolveQName(attrs[0], true); in StartElement()
58 if (strcmp(attrs[1], "true") == 0) in StartElement()
60 else if (strcmp(attrs[1], "false") == 0) in StartElement()
63 *experiment_id_ = attrs[1]; in StartElement()
67 attrs += 2; in StartElement()
70 if (!attrs[0]) { in StartElement()
79 buzz::QName attribute_qname = context->ResolveQName(attrs[0], true); in StartElement()
83 int value = GetIntValue(context, attrs[1]); in StartElement()
[all …]
/external/freetype/src/cache/
Dftcbasic.c93 FTC_BasicAttrRec attrs; member
101 FTC_BasicAttrRec attrs; member
114 return FTC_BASIC_ATTR_COMPARE( &family->attrs, &query->attrs ); in ftc_basic_family_compare()
129 family->attrs = query->attrs; in ftc_basic_family_init()
144 error = FTC_Manager_LookupFace( manager, family->attrs.scaler.face_id, in ftc_basic_family_get_count()
174 error = FTC_Manager_LookupSize( manager, &family->attrs.scaler, &size ); in ftc_basic_family_load_bitmap()
181 family->attrs.load_flags | FT_LOAD_RENDER ); in ftc_basic_family_load_bitmap()
198 FTC_Scaler scaler = &family->attrs.scaler; in ftc_basic_family_load_glyph()
211 error = FT_Load_Glyph( face, gindex, family->attrs.load_flags ); in ftc_basic_family_load_glyph()
252 result = FT_BOOL( family->attrs.scaler.face_id == face_id ); in ftc_basic_gnode_compare_faceid()
[all …]
/external/openssl/crypto/store/
Dstr_lib.c1285 static void STORE_ATTR_INFO_attr_free(STORE_ATTR_INFO *attrs, in STORE_ATTR_INFO_attr_free() argument
1288 if (ATTR_IS_SET(attrs,code)) in STORE_ATTR_INFO_attr_free()
1295 STORE_ATTR_INFO_modify_cstr(attrs, code, NULL, 0); in STORE_ATTR_INFO_attr_free()
1302 STORE_ATTR_INFO_modify_sha1str(attrs, code, NULL, 0); in STORE_ATTR_INFO_attr_free()
1306 STORE_ATTR_INFO_modify_dn(attrs, code, NULL); in STORE_ATTR_INFO_attr_free()
1309 STORE_ATTR_INFO_modify_number(attrs, code, NULL); in STORE_ATTR_INFO_attr_free()
1316 int STORE_ATTR_INFO_free(STORE_ATTR_INFO *attrs) in STORE_ATTR_INFO_free() argument
1318 if (attrs) in STORE_ATTR_INFO_free()
1322 STORE_ATTR_INFO_attr_free(attrs, i); in STORE_ATTR_INFO_free()
1323 OPENSSL_free(attrs); in STORE_ATTR_INFO_free()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DDialogPreferenceTest.java29 private TestAttributeSet attrs; field in DialogPreferenceTest
36 attrs = new TestAttributeSet(hash); in setup()
37 preference = new TestDialogPreference(context, attrs); in setup()
45 preference = new TestDialogPreference(context, attrs, defStyle); in testConstructors()
48 assertThat(shadow.getAttrs(), sameInstance((AttributeSet) attrs)); in testConstructors()
51 preference = new TestDialogPreference(context, attrs); in testConstructors()
54 assertThat(shadow.getAttrs(), sameInstance((AttributeSet) attrs)); in testConstructors()
65 public TestDialogPreference(Context context, AttributeSet attrs, int defStyle) { in TestDialogPreference() argument
66 super(context, attrs, defStyle); in TestDialogPreference()
69 public TestDialogPreference(Context context, AttributeSet attrs) { in TestDialogPreference() argument
[all …]
DEditTextTest.java33 AttributeSet attrs = attributeSetWithMaxLength(maxLength); in givenInitializingWithAttributeSet_whenMaxLengthDefined_thenRestrictTextLengthToMaxLength() local
34 EditText editText = new EditText(null, attrs); in givenInitializingWithAttributeSet_whenMaxLengthDefined_thenRestrictTextLengthToMaxLength()
44 AttributeSet attrs = attributeSetWithoutMaxLength(); in givenInitializingWithAttributeSet_whenMaxLengthNotDefined_thenTextLengthShouldHaveNoRestrictions() local
45 EditText editText = new EditText(null, attrs); in givenInitializingWithAttributeSet_whenMaxLengthNotDefined_thenTextLengthShouldHaveNoRestrictions()
81 AttributeSet attrs = mock(AttributeSet.class); in attributeSetWithMaxLength() local
82 … when(attrs.getAttributeIntValue(eq("android"), eq("maxLength"), anyInt())).thenReturn(maxLength); in attributeSetWithMaxLength()
83 return attrs; in attributeSetWithMaxLength()
87 AttributeSet attrs = mock(AttributeSet.class); in attributeSetWithoutMaxLength() local
88 …when(attrs.getAttributeIntValue("android", "maxLength", Integer.MAX_VALUE)).thenReturn(Integer.MAX… in attributeSetWithoutMaxLength()
89 return attrs; in attributeSetWithoutMaxLength()
DPreferenceTest.java35 private TestAttributeSet attrs; field in PreferenceTest
42 attrs = new TestAttributeSet( new HashMap<String, String>() ); in setup()
43 preference = new TestPreference(context, attrs); in setup()
51 preference = new TestPreference(context, attrs, defStyle); in shouldConstruct()
54 assertThat(shadow.getAttrs(), sameInstance((AttributeSet)attrs)); in shouldConstruct()
57 preference = new TestPreference(context, attrs); in shouldConstruct()
60 assertThat(shadow.getAttrs(), sameInstance((AttributeSet)attrs)); in shouldConstruct()
75 attrs = new TestAttributeSet( hash ); in shouldInitializeFromAttributes()
77 preference = new TestPreference(context, attrs); in shouldInitializeFromAttributes()
242 public TestPreference(Context context, AttributeSet attrs) { in TestPreference() argument
[all …]
DPreferenceGroupTest.java30 private TestAttributeSet attrs; field in PreferenceGroupTest
36 attrs = new TestAttributeSet( new HashMap<String, String>() ); in setUp()
38 group = new TestPreferenceGroup(context, attrs); in setUp()
145 TestPreferenceGroup group2 = new TestPreferenceGroup(context, attrs); in shouldFindPreferenceRecursively()
158 TestPreferenceGroup group2 = new TestPreferenceGroup(context, attrs); in shouldSetEnabledRecursively()
175 public TestPreferenceGroup(Context context, AttributeSet attrs) { in TestPreferenceGroup() argument
176 super(context, attrs); in TestPreferenceGroup()
/external/webkit/Tools/Scripts/webkitpy/thirdparty/
DBeautifulSoup.py244 def findNext(self, name=None, attrs={}, text=None, **kwargs): argument
247 return self._findOne(self.findAllNext, name, attrs, text, **kwargs)
249 def findAllNext(self, name=None, attrs={}, text=None, limit=None, argument
253 return self._findAll(name, attrs, text, limit, self.nextGenerator,
256 def findNextSibling(self, name=None, attrs={}, text=None, **kwargs): argument
259 return self._findOne(self.findNextSiblings, name, attrs, text,
262 def findNextSiblings(self, name=None, attrs={}, text=None, limit=None, argument
266 return self._findAll(name, attrs, text, limit,
270 def findPrevious(self, name=None, attrs={}, text=None, **kwargs): argument
273 return self._findOne(self.findAllPrevious, name, attrs, text, **kwargs)
[all …]
/external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/
DSAX1ParserAdapter.java169 Attributes attrs) in startElement() argument
176 mAttrWrapper.setAttributes(attrs); in startElement()
193 Attributes attrs; field in SAX1ParserAdapter.AttributesWrapper
198 attrs = a; in setAttributes()
203 return attrs.getLength(); in getLength()
208 String n = attrs.getQName(i); in getName()
209 return (n == null) ? attrs.getLocalName(i) : n; in getName()
214 return attrs.getType(i); in getType()
219 return attrs.getType(name); in getType()
224 return attrs.getValue(i); in getValue()
[all …]
/external/webkit/Source/WebCore/html/
DHTMLViewSourceDocument.cpp85 RefPtr<NamedNodeMap> attrs = NamedNodeMap::create(); in createContainingTable() local
86 attrs->addAttribute(Attribute::createMapped(classAttr, "webkit-line-gutter-backdrop")); in createContainingTable()
87 div->setAttributeMap(attrs.release()); in createContainingTable()
191 RefPtr<NamedNodeMap> attrs = NamedNodeMap::create(); in addSpanWithClassName() local
192 attrs->addAttribute(Attribute::createMapped(classAttr, className)); in addSpanWithClassName()
193 span->setAttributeMap(attrs.release()); in addSpanWithClassName()
208 RefPtr<NamedNodeMap> attrs = NamedNodeMap::create(); in addLine() local
209 attrs->addAttribute(Attribute::createMapped(classAttr, "webkit-line-number")); in addLine()
210 td->setAttributeMap(attrs.release()); in addLine()
216 attrs = NamedNodeMap::create(); in addLine()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowContext.java64 int[] attrs) { in obtainStyledAttributes() argument
65 return getTheme().obtainStyledAttributes(attrs); in obtainStyledAttributes()
70 int resid, int[] attrs) throws Resources.NotFoundException { in obtainStyledAttributes() argument
71 return getTheme().obtainStyledAttributes(resid, attrs); in obtainStyledAttributes()
76 AttributeSet set, int[] attrs) { in obtainStyledAttributes() argument
77 return getTheme().obtainStyledAttributes(set, attrs, 0, 0); in obtainStyledAttributes()
82 AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) { in obtainStyledAttributes() argument
84 set, attrs, defStyleAttr, defStyleRes); in obtainStyledAttributes()
/external/emma/core/java12/com/vladium/emma/report/html/doc/
DISimpleElement.java33 public static ISimpleElement create (final Tag tag, final AttributeSet attrs) in create() argument
35 return new SimpleElementImpl (tag, attrs); in create()
79 SimpleElementImpl (final Tag tag, final AttributeSet attrs) in SimpleElementImpl() argument
82 if ($assert.ENABLED) $assert.ASSERT (attrs != null, "attrs = null"); in SimpleElementImpl()
85 m_attrs = attrs; in SimpleElementImpl()
DHTMLTable.java36 final AttributeSet attrs = getAttributes (); in HTMLTable() local
38 if (width != null) attrs.set (Attribute.WIDTH, width); in HTMLTable()
39 if (border != null) attrs.set (Attribute.BORDER, border); in HTMLTable()
40 if (cellpadding != null) attrs.set (Attribute.CELLPADDING, cellpadding); in HTMLTable()
41 if (cellspacing != null) attrs.set (Attribute.CELLSPACING, cellspacing); in HTMLTable()
/external/wpa_supplicant_8/src/radius/
Dradius_das.c54 struct radius_das_attrs attrs; in radius_das_disconnect() local
71 os_memset(&attrs, 0, sizeof(attrs)); in radius_das_disconnect()
85 attrs.sta_addr = sta_addr; in radius_das_disconnect()
90 attrs.user_name = buf; in radius_das_disconnect()
91 attrs.user_name_len = len; in radius_das_disconnect()
96 attrs.acct_session_id = buf; in radius_das_disconnect()
97 attrs.acct_session_id_len = len; in radius_das_disconnect()
102 attrs.cui = buf; in radius_das_disconnect()
103 attrs.cui_len = len; in radius_das_disconnect()
106 res = das->disconnect(das->ctx, &attrs); in radius_das_disconnect()
/external/smack/src/com/kenai/jbosh/
DAbstractBody.java60 Map<BodyQName, String> attrs = getAttributes(); in getAttributeNames() local
61 return Collections.unmodifiableSet(attrs.keySet()); in getAttributeNames()
71 Map<BodyQName, String> attrs = getAttributes(); in getAttribute() local
72 return attrs.get(attr); in getAttribute()
/external/replicaisland/src/com/replica/replicaisland/
DYesNoDialogPreference.java30 public YesNoDialogPreference(Context context, AttributeSet attrs) { in YesNoDialogPreference() argument
31 this(context, attrs, android.R.attr.yesNoPreferenceStyle); in YesNoDialogPreference()
35 public YesNoDialogPreference(Context context, AttributeSet attrs, in YesNoDialogPreference() argument
37 super(context, attrs, defStyle); in YesNoDialogPreference()
DSliderPreference.java43 public SliderPreference(Context context, AttributeSet attrs) { in SliderPreference() argument
44 this(context, attrs, android.R.attr.preferenceStyle); in SliderPreference()
49 public SliderPreference(Context context, AttributeSet attrs, int defStyle) { in SliderPreference() argument
50 super(context, attrs, defStyle); in SliderPreference()
52 TypedArray a = context.obtainStyledAttributes(attrs, in SliderPreference()
/external/webkit/Source/WebCore/inspector/front-end/
DTextEditorModel.js228 var attrs = this._attributes[line];
229 if (!attrs) {
230 attrs = {};
231 this._attributes[line] = attrs;
233 attrs[name] = value;
238 var attrs = this._attributes[line];
239 return attrs ? attrs[name] : null;
244 var attrs = this._attributes[line];
245 if (attrs)
246 delete attrs[name];
/external/webkit/Source/WebCore/dom/
DProcessingInstruction.cpp116 const HashMap<String, String> attrs = parseAttributes(m_data, attrsOk); in checkStyleSheet() local
119 HashMap<String, String>::const_iterator i = attrs.find("type"); in checkStyleSheet()
121 if (i != attrs.end()) in checkStyleSheet()
134 String href = attrs.get("href"); in checkStyleSheet()
135 String alternate = attrs.get("alternate"); in checkStyleSheet()
137 m_title = attrs.get("title"); in checkStyleSheet()
138 m_media = attrs.get("media"); in checkStyleSheet()
170 String charset = attrs.get("charset"); in checkStyleSheet()
/external/clang/lib/Parse/
DParseDeclCXX.cpp85 ParsedAttributes attrs(AttrFactory); in ParseNamespace() local
88 ParseGNUAttributes(attrs); in ParseNamespace()
98 if (!attrs.empty()) in ParseNamespace()
170 attrs.getList()); in ParseNamespace()
178 InlineLoc, attrs, T); in ParseNamespace()
194 ParsedAttributes& attrs, in ParseInnerNamespace() argument
198 ParsedAttributesWithRange attrs(AttrFactory); in ParseInnerNamespace() local
199 MaybeParseCXX11Attributes(attrs); in ParseInnerNamespace()
200 MaybeParseMicrosoftAttributes(attrs); in ParseInnerNamespace()
201 ParseExternalDeclaration(attrs); in ParseInnerNamespace()
[all …]

12345678910