Home
last modified time | relevance | path

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

12345678

/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/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 …]
Dstore.h390 int STORE_ATTR_INFO_free(STORE_ATTR_INFO *attrs);
393 char *STORE_ATTR_INFO_get0_cstr(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code);
394 unsigned char *STORE_ATTR_INFO_get0_sha1str(STORE_ATTR_INFO *attrs,
396 X509_NAME *STORE_ATTR_INFO_get0_dn(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code);
397 BIGNUM *STORE_ATTR_INFO_get0_number(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code);
398 int STORE_ATTR_INFO_set_cstr(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code,
400 int STORE_ATTR_INFO_set_sha1str(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code,
402 int STORE_ATTR_INFO_set_dn(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code,
404 int STORE_ATTR_INFO_set_number(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code,
406 int STORE_ATTR_INFO_modify_cstr(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code,
[all …]
/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/bluetooth/bluez/cups/
Dsdp.c42 sdp_list_t *srch, *attrs, *rsp; in sdp_search_hcrp() local
54 attrs = sdp_list_append(NULL, &attr1); in sdp_search_hcrp()
56 attrs = sdp_list_append(attrs, &attr2); in sdp_search_hcrp()
58 err = sdp_service_search_attr_req(sdp, srch, SDP_ATTR_REQ_INDIVIDUAL, attrs, &rsp); in sdp_search_hcrp()
87 sdp_list_t *srch, *attrs, *rsp; in sdp_search_spp() local
99 attrs = sdp_list_append(NULL, &attr); in sdp_search_spp()
101 err = sdp_service_search_attr_req(sdp, srch, SDP_ATTR_REQ_INDIVIDUAL, attrs, &rsp); in sdp_search_spp()
/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/clang/lib/Parse/
DParseStmt.cpp85 ParsedAttributesWithRange attrs(AttrFactory); in ParseStatementOrDeclaration() local
86 MaybeParseCXX0XAttributes(attrs); in ParseStatementOrDeclaration()
110 return ParseLabeledStatement(attrs); in ParseStatementOrDeclaration()
207 DeclEnd, attrs); in ParseStatementOrDeclaration()
216 return ParseExprStatement(attrs); in ParseStatementOrDeclaration()
220 return ParseCaseStatement(attrs); in ParseStatementOrDeclaration()
222 return ParseDefaultStatement(attrs); in ParseStatementOrDeclaration()
225 return ParseCompoundStatement(attrs); in ParseStatementOrDeclaration()
234 return ParseIfStatement(attrs); in ParseStatementOrDeclaration()
236 return ParseSwitchStatement(attrs); in ParseStatementOrDeclaration()
[all …]
DParseDeclCXX.cpp80 ParsedAttributes attrs(AttrFactory); in ParseNamespace() local
83 ParseGNUAttributes(attrs); in ParseNamespace()
87 if (!attrs.empty()) in ParseNamespace()
159 IdentLoc, Ident, LBrace, attrs.getList()); in ParseNamespace()
168 InlineLoc, LBrace, attrs, RBraceLoc); in ParseNamespace()
185 ParsedAttributes& attrs, in ParseInnerNamespace() argument
189 ParsedAttributesWithRange attrs(AttrFactory); in ParseInnerNamespace() local
190 MaybeParseCXX0XAttributes(attrs); in ParseInnerNamespace()
191 MaybeParseMicrosoftAttributes(attrs); in ParseInnerNamespace()
192 ParseExternalDeclaration(attrs); in ParseInnerNamespace()
[all …]
DParseDecl.cpp93 void Parser::ParseGNUAttributes(ParsedAttributes &attrs, in ParseGNUAttributes() argument
123 ParseAvailabilityAttribute(*AttrName, AttrNameLoc, attrs, endLoc); in ParseGNUAttributes()
135 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, in ParseGNUAttributes()
159 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, in ParseGNUAttributes()
169 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, in ParseGNUAttributes()
188 = attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, in ParseGNUAttributes()
221 attrs.addNew(AttrName, AttrNameLoc, 0, in ParseGNUAttributes()
229 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, in ParseGNUAttributes()
253 void Parser::ParseMicrosoftDeclSpec(ParsedAttributes &attrs) { in ParseMicrosoftDeclSpec() argument
280 attrs.addNew(AttrName, AttrNameLoc, 0, AttrNameLoc, 0, in ParseMicrosoftDeclSpec()
[all …]
/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()
DIElement.java33 public static IElement create (final Tag tag, final AttributeSet attrs) in create() argument
35 return new ElementImpl (tag, attrs); in create()
110 ElementImpl (final Tag tag, final AttributeSet attrs) in ElementImpl() argument
112 super (tag, attrs); in ElementImpl()
/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/dbus/tools/
Ddbus-monitor.c115 struct timeval *t, ProfileAttributeFlags attrs) in profile_print_with_attrs() argument
119 if (attrs & PROFILE_ATTRIBUTE_FLAG_SERIAL) in profile_print_with_attrs()
122 if (attrs & PROFILE_ATTRIBUTE_FLAG_REPLY_SERIAL) in profile_print_with_attrs()
125 if (attrs & PROFILE_ATTRIBUTE_FLAG_SENDER) in profile_print_with_attrs()
128 if (attrs & PROFILE_ATTRIBUTE_FLAG_DESTINATION) in profile_print_with_attrs()
131 if (attrs & PROFILE_ATTRIBUTE_FLAG_PATH) in profile_print_with_attrs()
134 if (attrs & PROFILE_ATTRIBUTE_FLAG_INTERFACE) in profile_print_with_attrs()
137 if (attrs & PROFILE_ATTRIBUTE_FLAG_MEMBER) in profile_print_with_attrs()
140 if (attrs & PROFILE_ATTRIBUTE_FLAG_ERROR_NAME) in profile_print_with_attrs()
/external/wpa_supplicant/
Dradius.c56 msg->attrs = in radius_msg_initialize()
57 os_malloc(RADIUS_DEFAULT_ATTR_COUNT * sizeof(*msg->attrs)); in radius_msg_initialize()
58 if (msg->attrs == NULL) { in radius_msg_initialize()
88 if (msg->attrs != NULL) { in radius_msg_free()
89 os_free(msg->attrs); in radius_msg_free()
90 msg->attrs = NULL; in radius_msg_free()
284 radius_msg_dump_attr(msg->attrs[i]); in radius_msg_dump()
388 nattrs = os_realloc(msg->attrs, nlen * sizeof(*msg->attrs)); in radius_msg_add_attr_to_array()
392 msg->attrs = nattrs; in radius_msg_add_attr_to_array()
396 msg->attrs[msg->attr_used++] = attr; in radius_msg_add_attr_to_array()
[all …]
/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/include/clang/Parse/
DParser.h1023 DeclGroupPtrTy ParseExternalDeclaration(ParsedAttributesWithRange &attrs,
1027 DeclGroupPtrTy ParseDeclarationOrFunctionDefinition(ParsedAttributes &attrs,
1393 ParsedAttributesWithRange &attrs);
1397 ParsedAttributes &attrs,
1615 void ProhibitAttributes(ParsedAttributesWithRange &attrs) { in ProhibitAttributes() argument
1616 if (!attrs.Range.isValid()) return; in ProhibitAttributes()
1617 DiagnoseProhibitedAttributes(attrs); in ProhibitAttributes()
1619 void DiagnoseProhibitedAttributes(ParsedAttributesWithRange &attrs);
1623 ParsedAttributes attrs(AttrFactory); in MaybeParseGNUAttributes()
1625 ParseGNUAttributes(attrs, &endLoc); in MaybeParseGNUAttributes()
[all …]
/external/openssl/crypto/pkcs12/
Dp12_attr.c121 ASN1_TYPE *PKCS12_get_attr_gen(STACK_OF(X509_ATTRIBUTE) *attrs, int attr_nid) in PKCS12_get_attr_gen() argument
125 if (!attrs) return NULL; in PKCS12_get_attr_gen()
126 for (i = 0; i < sk_X509_ATTRIBUTE_num (attrs); i++) { in PKCS12_get_attr_gen()
127 attrib = sk_X509_ATTRIBUTE_value (attrs, i); in PKCS12_get_attr_gen()
/external/bluetooth/glib/gio/
Dgfileinfo.c227 GFileAttribute *attrs; in g_file_info_finalize() local
231 attrs = (GFileAttribute *)info->attributes->data; in g_file_info_finalize()
233 _g_file_attribute_value_clear (&attrs[i].value); in g_file_info_finalize()
397 GFileAttribute *attrs; in g_file_info_clear_status() local
402 attrs = (GFileAttribute *)info->attributes->data; in g_file_info_clear_status()
404 attrs[i].value.status = G_FILE_ATTRIBUTE_STATUS_UNSET; in g_file_info_clear_status()
412 GFileAttribute *attrs; in g_file_info_find_place() local
419 attrs = (GFileAttribute *)info->attributes->data; in g_file_info_find_place()
424 if (attrs[med].attribute == attribute) in g_file_info_find_place()
429 else if (attrs[med].attribute < attribute) in g_file_info_find_place()
[all …]

12345678