/system/extras/simpleperf/ |
event_attr.h | 36 bool GetCommonEventIdPositionsForAttrs(std::vector<perf_event_attr>& attrs,
|
record_file_format.h | 91 SectionDesc attrs; member in struct:PerfFileFormat::FileHeader
|
record_file_test.cpp | 84 std::vector<EventAttrWithId> attrs = reader->AttrSection(); local 85 ASSERT_EQ(1u, attrs.size()); 86 ASSERT_EQ(0, memcmp(attrs[0].attr, attr_ids_[0].attr, sizeof(perf_event_attr))); 87 ASSERT_EQ(attrs[0].ids, attr_ids_[0].ids); 153 std::vector<EventAttrWithId> attrs = reader->AttrSection(); local 154 ASSERT_EQ(3u, attrs.size()); 155 for (size_t i = 0; i < attrs.size(); ++i) { 156 ASSERT_EQ(0, memcmp(attrs[i].attr, attr_ids_[i].attr, sizeof(perf_event_attr))); 157 ASSERT_EQ(attrs[i].ids, attr_ids_[i].ids);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
CustomLayout.java | 54 public CustomLayout(Context context, AttributeSet attrs) { 55 this(context, attrs, 0); 58 public CustomLayout(Context context, AttributeSet attrs, int defStyle) { 59 super(context, attrs, defStyle); 189 public LayoutParams generateLayoutParams(AttributeSet attrs) { 190 return new CustomLayout.LayoutParams(getContext(), attrs); 224 public LayoutParams(Context c, AttributeSet attrs) { 225 super(c, attrs); 230 TypedArray a = c.obtainStyledAttributes(attrs, R.styleable.CustomLayoutLP);
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D_S_I_G_.py | 89 def fromXML(self, name, attrs, content, ttFont): 92 self.ulVersion = safeEval(attrs["version"]) 93 self.usNumSigs = safeEval(attrs["numSigs"]) 94 self.usFlag = safeEval(attrs["flag"]) 98 sigrec.fromXML(name, attrs, content, ttFont) 127 def fromXML(self, name, attrs, content, ttFont): 128 self.ulFormat = safeEval(attrs["format"]) 129 self.usReserved1 = safeEval(attrs.get("reserved1", "0")) 130 self.usReserved2 = safeEval(attrs.get("reserved2", "0"))
|
_g_l_y_f.py | 114 def fromXML(self, name, attrs, content, ttFont): 121 glyphName = attrs["name"] 126 setattr(glyph, attr, safeEval(attrs.get(attr, '0'))) 131 name, attrs, content = element 132 glyph.fromXML(name, attrs, content, ttFont) 287 def fromXML(self, name, attrs, content, ttFont): 297 name, attrs, content = element 300 coordinates.append((safeEval(attrs["x"]), safeEval(attrs["y"]))) 301 flags.append(not not safeEval(attrs["on"]) [all...] |
E_B_D_T_.py | 147 def fromXML(self, name, attrs, content, ttFont): 149 self.version = safeEval(attrs['version']) 153 strikeIndex = safeEval(attrs['index']) 159 name, attrs, content = element 162 glyphName = attrs['name'] 165 curGlyph.fromXML(name, attrs, content, ttFont) 189 def fromXML(self, name, attrs, content, ttFont): 190 self.name = attrs['name'] 195 name, attrs, content = element 197 vars(self)[name] = safeEval(attrs['value'] [all...] |
/external/iproute2/tipc/ |
node.c | 32 struct nlattr *attrs[TIPC_NLA_NODE_MAX + 1] = {}; local 38 mnl_attr_parse_nested(info[TIPC_NLA_NODE], parse_attrs, attrs); 39 if (!attrs[TIPC_NLA_NODE_ADDR]) 42 addr = mnl_attr_get_u32(attrs[TIPC_NLA_NODE_ADDR]); 48 if (attrs[TIPC_NLA_NODE_UP]) 137 struct nlattr *attrs[TIPC_NLA_NET_MAX + 1] = {}; local 143 mnl_attr_parse_nested(info[TIPC_NLA_NET], parse_attrs, attrs); 144 if (!attrs[TIPC_NLA_NET_ID]) 147 printf("%u\n", mnl_attr_get_u32(attrs[TIPC_NLA_NET_ID]));
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
LayoutInflater_Delegate.java | 60 View parent, Context context, AttributeSet attrs, boolean finishInflate) 72 thisInflater.rInflate_Original(parser, parent, context, attrs, finishInflate); 86 Context context, View parent, AttributeSet attrs) 95 final TypedArray ta = context.obtainStyledAttributes(attrs, ATTRS_THEME); 105 int layout = attrs.getAttributeResourceValue(null, ATTR_LAYOUT, 0); 107 final String value = attrs.getAttributeValue(null, ATTR_LAYOUT); 130 final String value = attrs.getAttributeValue(null, ATTR_LAYOUT); 169 attrs, com.android.internal.R.styleable.Include); 190 params = group.generateLayoutParams(attrs); 192 // Ignore, just fail over to child attrs [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
Illustration.java | 60 public Illustration(Context context, AttributeSet attrs) { 61 super(context, attrs); 62 init(attrs, 0); 66 public Illustration(Context context, AttributeSet attrs, int defStyleAttr) { 67 super(context, attrs, defStyleAttr); 68 init(attrs, defStyleAttr); 73 private void init(AttributeSet attrs, int defStyleAttr) { 74 if (attrs != null) { 75 TypedArray a = getContext().obtainStyledAttributes(attrs,
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
UnixFileStore.java | 118 UnixFileStoreAttributes attrs = readAttributes(); local 119 return attrs.blockSize() * attrs.totalBlocks(); 124 UnixFileStoreAttributes attrs = readAttributes(); local 125 return attrs.blockSize() * attrs.availableBlocks(); 130 UnixFileStoreAttributes attrs = readAttributes(); local 131 return attrs.blockSize() * attrs.freeBlocks();
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
AutoCompleteEditTextPreference.java | 55 public AutoCompleteEditTextPreference(Context context, AttributeSet attrs, int defStyleAttr, 57 super(context, attrs, defStyleAttr, defStyleRes); 59 mAutoCompleteTextView = new InstantAutoCompleteTextView(context, attrs); 86 public AutoCompleteEditTextPreference(Context context, AttributeSet attrs, int defStyleAttr) { 87 this(context, attrs, defStyleAttr, 0); 90 public AutoCompleteEditTextPreference(Context context, AttributeSet attrs) { 91 this(context, attrs, android.R.attr.dialogPreferenceStyle); 259 public InstantAutoCompleteTextView(Context context, AttributeSet attrs) { 260 super(context, attrs);
|
/toolchain/binutils/binutils-2.25/bfd/ |
mep-relocs.pl | 59 ($pattern, $sign, $attrs) = $rest =~ m@(.*) ([US]) (.*)\*/@; 63 push(@attrs, $attrs); 65 printf "%4d $rel p=`$pattern' s=`$sign' a=`$attrs'\n", $#pattern; 137 $pcrel = 1 if $attrs[$i] =~ /pc-rel/i; 139 $overflow = 'N' if $attrs[$i] =~ /no-overflow/; 159 if ($attrs[$i] =~ /tp-rel/i) { 162 if ($attrs[$i] =~ /gp-rel/i) { 165 if ($attrs[$i] !~ /no-overflow/ && $bits[$i] < 32) {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
StateListDrawable.java | 114 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs, Theme theme) 116 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.StateListDrawable); 122 inflateChildElements(r, parser, attrs, theme); 156 private void inflateChildElements(Resources r, XmlPullParser parser, AttributeSet attrs, 175 final TypedArray a = obtainAttributes(r, theme, attrs, 180 final int[] states = extractStateSet(attrs); 194 dr = Drawable.createFromXmlInner(r, parser, attrs, theme); 204 * @param attrs The attribute set. 207 int[] extractStateSet(AttributeSet attrs) { 209 final int numAttrs = attrs.getAttributeCount() [all...] |
/packages/apps/Car/Radio/src/com/android/car/radio/ |
CarouselView.java | 83 public CarouselView(Context context, AttributeSet attrs) { 84 super(context, attrs); 85 init(context, attrs); 88 public CarouselView(Context context, AttributeSet attrs, int defStyleAttrs) { 89 super(context, attrs, defStyleAttrs); 90 init(context, attrs); 93 public CarouselView(Context context, AttributeSet attrs, int defStyleAttrs, int defStyleRes) { 94 super(context, attrs, defStyleAttrs, defStyleRes); 95 init(context, attrs); 101 private void init(Context context, AttributeSet attrs) { [all...] |
/system/extras/verity/ |
BootSignature.java | 113 ASN1Sequence attrs = (ASN1Sequence) sequence.getObjectAt(3); local 114 target = (DERPrintableString) attrs.getObjectAt(0); 115 length = (ASN1Integer) attrs.getObjectAt(1); 121 ASN1EncodableVector attrs = new ASN1EncodableVector(); local 122 attrs.add(target); 123 attrs.add(length); 124 return new DERSequence(attrs); 156 byte[] attrs = getEncodedAuthenticatedAttributes(); 157 byte[] signable = Arrays.copyOf(image, image.length + attrs.length); 158 for (int i=0; i < attrs.length; i++) [all...] |
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
FontScaleActivity.java | 47 final AttributeSet attrs = Xml.asAttributeSet(parser); local 48 TypedArray ta = getTheme().obtainStyledAttributes(attrs,
|
/cts/tests/tests/assist/common/src/android/assist/common/ |
MyWebView.java | 32 public MyWebView(Context context, AttributeSet attrs) { 33 super(context, attrs);
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
RecyclingImageView.java | 37 public RecyclingImageView(Context context, AttributeSet attrs) { 38 super(context, attrs);
|
/developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/swiperefreshmultipleviews/ |
MultiSwipeRefreshLayout.java | 39 public MultiSwipeRefreshLayout(Context context, AttributeSet attrs) { 40 super(context, attrs);
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/ |
ScaleTransition.java | 23 public ScaleTransition(Context context, AttributeSet attrs) { 24 super(context, attrs);
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
RecyclingImageView.java | 37 public RecyclingImageView(Context context, AttributeSet attrs) { 38 super(context, attrs);
|
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/swiperefreshmultipleviews/ |
MultiSwipeRefreshLayout.java | 39 public MultiSwipeRefreshLayout(Context context, AttributeSet attrs) { 40 super(context, attrs);
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/ |
ScaleTransition.java | 23 public ScaleTransition(Context context, AttributeSet attrs) { 24 super(context, attrs);
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
CustomViewAccessibilityActivity.java | 76 public AccessibleCompoundButtonInheritance(Context context, AttributeSet attrs) { 77 super(context, attrs); 127 public AccessibleCompoundButtonComposition(Context context, AttributeSet attrs) { 128 super(context, attrs); 207 public BaseToggleButton(Context context, AttributeSet attrs) { 208 this(context, attrs, android.R.attr.buttonStyle); 211 public BaseToggleButton(Context context, AttributeSet attrs, int defStyle) { 212 super(context, attrs, defStyle);
|