Home
last modified time | relevance | path

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

12345678910>>...23

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/swf/
Dlayer1_decisions.py53 attrs = o['scheduleActivityTaskDecisionAttributes'] = {}
54 attrs['activityId'] = activity_id
55 attrs['activityType'] = {
60 attrs['taskList'] = {'name': task_list}
62 attrs['control'] = control
64 attrs['heartbeatTimeout'] = heartbeat_timeout
66 attrs['scheduleToCloseTimeout'] = schedule_to_close_timeout
68 attrs['scheduleToStartTimeout'] = schedule_to_start_timeout
70 attrs['startToCloseTimeout'] = start_to_close_timeout
72 attrs['input'] = input
[all …]
/external/mesa3d/src/egl/main/
Deglimage.c41 _eglParseImageAttribList(_EGLImageAttribs *attrs, _EGLDisplay *dpy, in _eglParseImageAttribList() argument
48 memset(attrs, 0, sizeof(*attrs)); in _eglParseImageAttribList()
49 attrs->ImagePreserved = EGL_FALSE; in _eglParseImageAttribList()
50 attrs->GLTextureLevel = 0; in _eglParseImageAttribList()
51 attrs->GLTextureZOffset = 0; in _eglParseImageAttribList()
63 attrs->ImagePreserved = val; in _eglParseImageAttribList()
68 attrs->GLTextureLevel = val; in _eglParseImageAttribList()
71 attrs->GLTextureZOffset = val; in _eglParseImageAttribList()
76 attrs->Width = val; in _eglParseImageAttribList()
79 attrs->Height = val; in _eglParseImageAttribList()
[all …]
/external/chromium-trace/catapult/third_party/Paste/paste/
Durl.py64 def __init__(self, url, vars=None, attrs=None, argument
68 self.attrs = attrs or {}
113 new_attrs = self.attrs.copy()
116 attrs=new_attrs,
123 attrs=self.attrs,
146 attrs=self.attrs,
163 attrs=self.attrs,
172 attrs=self.attrs,
183 attrs=u.attrs,
194 attrs=self.attrs,
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/fps/
Dresponse.py53 attrs = filter(do_show, self.__dict__.items())
55 ', '.join(map(render, attrs)))
57 def startElement(self, name, attrs, connection): argument
69 def startElement(self, name, attrs, connection): argument
75 return super(Response, self).startElement(name, attrs, connection)
89 def startElement(self, name, attrs, connection): argument
93 return super(ComplexAmount, self).startElement(name, attrs, connection)
102 def startElement(self, name, attrs, connection): argument
108 def startElement(self, name, attrs, connection): argument
112 return super(AccountBalance, self).startElement(name, attrs, connection)
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/common/
Degl_g3d_image.c73 _EGLImageAttribs attrs; in egl_g3d_create_drm_buffer() local
76 if (_eglParseImageAttribList(&attrs, dpy, attribs) != EGL_SUCCESS) in egl_g3d_create_drm_buffer()
79 if (attrs.Width <= 0 || attrs.Height <= 0) { in egl_g3d_create_drm_buffer()
81 attrs.Width, attrs.Height); in egl_g3d_create_drm_buffer()
85 switch (attrs.DRMBufferFormatMESA) { in egl_g3d_create_drm_buffer()
91 attrs.DRMBufferFormatMESA); in egl_g3d_create_drm_buffer()
99 if (attrs.DRMBufferUseMESA & ~valid_use) { in egl_g3d_create_drm_buffer()
101 attrs.DRMBufferUseMESA); in egl_g3d_create_drm_buffer()
109 templ.width0 = attrs.Width; in egl_g3d_create_drm_buffer()
110 templ.height0 = attrs.Height; in egl_g3d_create_drm_buffer()
[all …]
/external/freetype/src/cache/
Dftcbasic.c55 FTC_BasicAttrRec attrs; member
63 FTC_BasicAttrRec attrs; member
76 return FTC_BASIC_ATTR_COMPARE( &family->attrs, &query->attrs ); in ftc_basic_family_compare()
91 family->attrs = query->attrs; in ftc_basic_family_init()
106 error = FTC_Manager_LookupFace( manager, family->attrs.scaler.face_id, in ftc_basic_family_get_count()
135 error = FTC_Manager_LookupSize( manager, &family->attrs.scaler, &size ); in ftc_basic_family_load_bitmap()
144 (FT_Int)family->attrs.load_flags | FT_LOAD_RENDER ); in ftc_basic_family_load_bitmap()
161 FTC_Scaler scaler = &family->attrs.scaler; in ftc_basic_family_load_glyph()
176 (FT_Int)family->attrs.load_flags ); in ftc_basic_family_load_glyph()
217 result = FT_BOOL( family->attrs.scaler.face_id == face_id ); in ftc_basic_gnode_compare_faceid()
[all …]
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
Dsanitizer.py200 attrs = dict([(name, val) for name, val in
204 if attr not in attrs:
207 unescape(attrs[attr])).lower()
213 del attrs[attr]
217 del attrs[attr]
219 del attrs[attr]
222 if attr in attrs:
223 attrs[attr] = re.sub(r'url\s*\(\s*[^#\s][^)]+?\)',
225 unescape(attrs[attr]))
227 'xlink:href' in attrs and re.search('^\s*[^#\s].*',
[all …]
/external/opencv3/modules/core/include/opencv2/core/cuda/
Dfuncattrib.hpp60 cudaFuncAttributes attrs; in printFuncAttrib() local
61 cudaFuncGetAttributes(&attrs, func); in printFuncAttrib()
65 printf("sharedSizeBytes = %d\n", attrs.sharedSizeBytes); in printFuncAttrib()
66 printf("constSizeBytes = %d\n", attrs.constSizeBytes); in printFuncAttrib()
67 printf("localSizeBytes = %d\n", attrs.localSizeBytes); in printFuncAttrib()
68 printf("maxThreadsPerBlock = %d\n", attrs.maxThreadsPerBlock); in printFuncAttrib()
69 printf("numRegs = %d\n", attrs.numRegs); in printFuncAttrib()
70 printf("ptxVersion = %d\n", attrs.ptxVersion); in printFuncAttrib()
71 printf("binaryVersion = %d\n", attrs.binaryVersion); in printFuncAttrib()
/external/iproute2/ip/
Dipl2tp.c248 struct rtattr *attrs[L2TP_ATTR_MAX + 1]; in get_response() local
261 parse_rtattr(attrs, L2TP_ATTR_MAX, (void *)ghdr + GENL_HDRLEN, len); in get_response()
263 if (attrs[L2TP_ATTR_PW_TYPE]) in get_response()
264 p->pw_type = rta_getattr_u16(attrs[L2TP_ATTR_PW_TYPE]); in get_response()
265 if (attrs[L2TP_ATTR_ENCAP_TYPE]) in get_response()
266 p->encap = rta_getattr_u16(attrs[L2TP_ATTR_ENCAP_TYPE]); in get_response()
267 if (attrs[L2TP_ATTR_OFFSET]) in get_response()
268 p->offset = rta_getattr_u16(attrs[L2TP_ATTR_OFFSET]); in get_response()
269 if (attrs[L2TP_ATTR_DATA_SEQ]) in get_response()
270 p->data_seq = rta_getattr_u16(attrs[L2TP_ATTR_DATA_SEQ]); in get_response()
[all …]
/external/iproute2/tipc/
Dsocket.c30 struct nlattr *attrs[TIPC_NLA_SOCK_MAX + 1] = {}; in publ_list_cb() local
36 mnl_attr_parse_nested(info[TIPC_NLA_PUBL], parse_attrs, attrs); in publ_list_cb()
39 mnl_attr_get_u32(attrs[TIPC_NLA_PUBL_TYPE]), in publ_list_cb()
40 mnl_attr_get_u32(attrs[TIPC_NLA_PUBL_LOWER]), in publ_list_cb()
41 mnl_attr_get_u32(attrs[TIPC_NLA_PUBL_UPPER])); in publ_list_cb()
68 struct nlattr *attrs[TIPC_NLA_SOCK_MAX + 1] = {}; in sock_list_cb() local
74 mnl_attr_parse_nested(info[TIPC_NLA_SOCK], parse_attrs, attrs); in sock_list_cb()
75 if (!attrs[TIPC_NLA_SOCK_REF]) in sock_list_cb()
78 printf("socket %u\n", mnl_attr_get_u32(attrs[TIPC_NLA_SOCK_REF])); in sock_list_cb()
80 if (attrs[TIPC_NLA_SOCK_CON]) { in sock_list_cb()
[all …]
Dlink.c30 struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1] = {}; in link_list_cb() local
36 mnl_attr_parse_nested(info[TIPC_NLA_LINK], parse_attrs, attrs); in link_list_cb()
37 if (!attrs[TIPC_NLA_LINK_NAME]) in link_list_cb()
40 printf("%s: ", mnl_attr_get_str(attrs[TIPC_NLA_LINK_NAME])); in link_list_cb()
42 if (attrs[TIPC_NLA_LINK_UP]) in link_list_cb()
73 struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1] = {}; in link_get_cb() local
80 mnl_attr_parse_nested(info[TIPC_NLA_LINK], parse_attrs, attrs); in link_get_cb()
81 if (!attrs[TIPC_NLA_LINK_PROP]) in link_get_cb()
84 mnl_attr_parse_nested(attrs[TIPC_NLA_LINK_PROP], parse_attrs, props); in link_get_cb()
209 static int _show_link_stat(struct nlattr *attrs[], struct nlattr *prop[], in _show_link_stat() argument
[all …]
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/
Delement.py378 def find_next(self, name=None, attrs={}, text=None, **kwargs): argument
381 return self._find_one(self.find_all_next, name, attrs, text, **kwargs)
384 def find_all_next(self, name=None, attrs={}, text=None, limit=None, argument
388 return self._find_all(name, attrs, text, limit, self.next_elements,
392 def find_next_sibling(self, name=None, attrs={}, text=None, **kwargs): argument
395 return self._find_one(self.find_next_siblings, name, attrs, text,
399 def find_next_siblings(self, name=None, attrs={}, text=None, limit=None, argument
403 return self._find_all(name, attrs, text, limit,
408 def find_previous(self, name=None, attrs={}, text=None, **kwargs): argument
412 self.find_all_previous, name, attrs, text, **kwargs)
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
DotConverters.py75 def xmlRead(self, attrs, content, font): argument
79 def xmlWrite(self, xmlWriter, font, value, name, attrs): argument
85 def xmlWrite(self, xmlWriter, font, value, name, attrs): argument
86 xmlWriter.simpletag(name, attrs + [("value", value)])
88 def xmlRead(self, attrs, content, font): argument
89 return attrs["value"]
92 def xmlRead(self, attrs, content, font): argument
93 return int(attrs["value"], 0)
112 def xmlRead(self, attrs, content, font): argument
113 value = attrs["value"]
[all …]
/external/chromium-trace/catapult/third_party/webtest/webtest/
Dforms.py66 value=None, id=None, **attrs): argument
73 self.attrs = attrs
102 def __init__(self, *args, **attrs): argument
103 super(Select, self).__init__(*args, **attrs)
165 def __init__(self, *args, **attrs): argument
166 super(MultipleSelect, self).__init__(*args, **attrs)
263 def __init__(self, *args, **attrs): argument
264 super(Checkbox, self).__init__(*args, **attrs)
265 self._checked = 'checked' in attrs
410 attrs = self.html('form')[0].attrs
[all …]
/external/robolectric/v1/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()
/external/jetty/src/java/org/eclipse/jetty/server/handler/jmx/
DContextHandlerMBean.java38 Attributes attrs = ((ContextHandler)_managed).getAttributes(); in getContextAttributes() local
39 Enumeration en = attrs.getAttributeNames(); in getContextAttributes()
43 Object value = attrs.getAttribute(name); in getContextAttributes()
51 Attributes attrs = ((ContextHandler)_managed).getAttributes(); in setContextAttribute() local
52 attrs.setAttribute(name,value); in setContextAttribute()
57 Attributes attrs = ((ContextHandler)_managed).getAttributes(); in setContextAttribute() local
58 attrs.setAttribute(name,value); in setContextAttribute()
63 Attributes attrs = ((ContextHandler)_managed).getAttributes(); in removeContextAttribute() local
64 attrs.removeAttribute(name); in removeContextAttribute()
/external/autotest/site_utils/rpm_control_system/
DBeautifulSoup.py267 def findNext(self, name=None, attrs={}, text=None, **kwargs): argument
270 return self._findOne(self.findAllNext, name, attrs, text, **kwargs)
272 def findAllNext(self, name=None, attrs={}, text=None, limit=None, argument
276 return self._findAll(name, attrs, text, limit, self.nextGenerator,
279 def findNextSibling(self, name=None, attrs={}, text=None, **kwargs): argument
282 return self._findOne(self.findNextSiblings, name, attrs, text,
285 def findNextSiblings(self, name=None, attrs={}, text=None, limit=None, argument
289 return self._findAll(name, attrs, text, limit,
293 def findPrevious(self, name=None, attrs={}, text=None, **kwargs): argument
296 return self._findOne(self.findAllPrevious, name, attrs, text, **kwargs)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/
Dimage.py28 def startElement(self, name, attrs, connection): argument
37 def startElement(self, name, attrs, connection): argument
79 def startElement(self, name, attrs, connection): argument
80 retval = super(Image, self).startElement(name, attrs, connection)
344 return img_attrs.attrs
393 self.attrs = {}
395 def startElement(self, name, attrs, connection): argument
397 self.attrs['block_device_mapping'] = BlockDeviceMapping()
398 return self.attrs['block_device_mapping']
406 if 'groups' in self.attrs:
[all …]
/external/testng/src/main/java/org/testng/reporters/
DJUnitXMLReporter.java153 Properties attrs= new Properties(); in generateReport() local
154 attrs.setProperty(XMLConstants.ATTR_ERRORS, "0"); in generateReport()
155 attrs.setProperty(XMLConstants.ATTR_FAILURES, "" + m_numFailed); in generateReport()
157 attrs.setProperty(XMLConstants.ATTR_HOSTNAME, InetAddress.getLocalHost().getHostName()); in generateReport()
163 attrs.setProperty(XMLConstants.ATTR_NAME, context.getCurrentXmlTest().getName()); in generateReport()
167 attrs.setProperty(XMLConstants.ATTR_TESTS, "" + m_allTests.size()); in generateReport()
168 attrs.setProperty(XMLConstants.ATTR_TIME, "" in generateReport()
172 attrs.setProperty(XMLConstants.ATTR_TIMESTAMP, timeStamp.toGMTString()); in generateReport()
174 document.push(XMLConstants.TESTSUITE, attrs); in generateReport()
204 Properties attrs= new Properties(); in createElement() local
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/
Dmessage_registry.py222 attrs = {
231 field_name, len(properties) + 1, attrs))
257 for index, (name, attrs) in enumerate(sorted(properties.items())):
259 name, index + 1, attrs)
312 def __FieldDescriptorFromProperties(self, name, index, attrs): argument
317 field.label = self.__ComputeLabel(attrs)
320 type_info = self.__GetTypeInfo(attrs, new_type_name_hint)
323 if 'default' in attrs:
325 default = attrs['default']
335 attrs.get('description', 'A %s attribute.' % field.type_name))
[all …]
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/common/
Dforeign_content.js204 for (var i = 0; i < token.attrs.length; i++) {
205 if (token.attrs[i].name === DEFINITION_URL_ATTR) {
206 token.attrs[i].name = ADJUSTED_DEFINITION_URL_ATTR;
213 for (var i = 0; i < token.attrs.length; i++) {
214 var adjustedAttrName = SVG_ATTRS_ADJUSTMENT_MAP[token.attrs[i].name];
217 token.attrs[i].name = adjustedAttrName;
222 for (var i = 0; i < token.attrs.length; i++) {
223 var adjustedAttrEntry = XML_ATTRS_ADJUSTMENT_MAP[token.attrs[i].name];
226 token.attrs[i].prefix = adjustedAttrEntry.prefix;
227 token.attrs[i].name = adjustedAttrEntry.name;
[all …]
/external/guice/extensions/grapher/src/com/google/inject/grapher/graphviz/
DGraphvizGrapher.java94 Map<String, String> attrs = Maps.newHashMap(); in getGraphAttributes() local
95 attrs.put("rankdir", rankdir); in getGraphAttributes()
96 return attrs; in getGraphAttributes()
102 Map<String, String> attrs = getGraphAttributes(); in start() local
103 out.println("graph " + getAttrString(attrs) + ";"); in start()
111 Map<String, String> attrs = getNodeAttributes(node); in renderNode() local
112 out.println(node.getIdentifier() + " " + getAttrString(attrs)); in renderNode()
116 Map<String, String> attrs = Maps.newHashMap(); in getNodeAttributes() local
118 attrs.put("label", getNodeLabel(node)); in getNodeAttributes()
120 attrs.put("margin", "\"0.02,0\""); in getNodeAttributes()
[all …]
/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlSanitizer.java67 void openTag(String elementName, List<String> attrs); in openTag() argument
133 LinkedList<String> attrs = Lists.newLinkedList(); in sanitize() local
154 attrs.clear(); in sanitize()
164 attrs.add(attrs.getLast()); in sanitize()
168 attrs.add(HtmlLexer.canonicalName( in sanitize()
172 attrs.add(Encoding.decodeHtml(stripQuotes( in sanitize()
183 attrs.add(attrs.getLast()); in sanitize()
188 attrs); in sanitize()
/external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/builder/
D__init__.py145 def _replace_cdata_list_attribute_values(self, tag_name, attrs): argument
150 if not attrs:
151 return attrs
156 for attr in attrs.keys():
161 value = attrs[attr]
172 attrs[attr] = values
173 return attrs
184 def startElement(self, name, attrs): argument
185 attrs = dict((key[1], value) for key, value in list(attrs.items()))
187 self.soup.handle_starttag(name, attrs)
[all …]

12345678910>>...23