/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
netrc.py | 109 attrs = self.hosts[host] 110 rep = rep + "machine "+ host + "\n\tlogin " + repr(attrs[0]) + "\n" 111 if attrs[1]: 112 rep = rep + "account " + repr(attrs[1]) 113 rep = rep + "\tpassword " + repr(attrs[2]) + "\n"
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
netrc.py | 109 attrs = self.hosts[host] 110 rep = rep + "machine "+ host + "\n\tlogin " + repr(attrs[0]) + "\n" 111 if attrs[1]: 112 rep = rep + "account " + repr(attrs[1]) 113 rep = rep + "\tpassword " + repr(attrs[2]) + "\n"
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
mbim_message.py | 171 def __new__(mcs, name, bases, attrs): 177 mcs, name, bases, attrs) 188 if '_FIELDS' in attrs: 189 fields = fields + map(list, attrs['_FIELDS']) 190 if '_DEFAULTS' in attrs: 191 defaults.update(attrs['_DEFAULTS']) 192 attrs['_CONSOLIDATED_FIELDS'] = fields 193 attrs['_CONSOLIDATED_DEFAULTS'] = defaults 200 attrs['__new__'] = message_class_new 207 mcs, name, (message_class,) + bases, attrs) [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
M_E_T_A_.py | 170 def fromXML(self, name, attrs, content, ttFont): 179 name, attrs, content = element 180 glyphRec.fromXML(name, attrs, content, ttFont) 184 setattr(self, name, safeEval(attrs["value"])) 207 def fromXML(self, name, attrs, content, ttFont): 214 stringRec.fromXML(name, attrs, content, ttFont) 217 setattr(self, name, safeEval(attrs["value"])) 284 def fromXML(self, name, attrs, content, ttFont): 288 name, attrs, content = element 289 value = attrs["value" [all...] |
E_B_L_C_.py | 208 def fromXML(self, name, attrs, content, ttFont): 210 self.version = safeEval(attrs['version']) 214 strikeIndex = safeEval(attrs['index']) 216 curStrike.fromXML(name, attrs, content, ttFont, self) 242 def fromXML(self, name, attrs, content, ttFont, locator): 246 name, attrs, content = element 248 self.bitmapSizeTable.fromXML(name, attrs, content, ttFont) 254 indexSubTable.fromXML(name, attrs, content, ttFont) 279 def fromXML(self, name, attrs, content, ttFont): 286 name, attrs, content = elemen [all...] |
V_O_R_G_.py | 82 def fromXML(self, name, attrs, content, ttFont): 91 name, attrs, content = element 92 vOriginRec.fromXML(name, attrs, content, ttFont) 94 elif "value" in attrs: 95 setattr(self, name, safeEval(attrs["value"])) 137 def fromXML(self, name, attrs, content, ttFont): 138 value = attrs["value"]
|
_n_a_m_e.py | 72 def fromXML(self, name, attrs, content, ttFont): 79 name.fromXML(name, attrs, content, ttFont) 118 def fromXML(self, name, attrs, content, ttFont): 119 self.nameID = safeEval(attrs["nameID"]) 120 self.platformID = safeEval(attrs["platformID"]) 121 self.platEncID = safeEval(attrs["platEncID"]) 122 self.langID = safeEval(attrs["langID"])
|
/frameworks/base/core/java/android/view/ |
IWindowSession.aidl | 38 int add(IWindow window, int seq, in WindowManager.LayoutParams attrs, 41 int addToDisplay(IWindow window, int seq, in WindowManager.LayoutParams attrs, 44 int addWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs, 46 int addToDisplayWithoutInputChannel(IWindow window, int seq, in WindowManager.LayoutParams attrs, 60 * @param attrs If non-null, new attributes to apply to the window. 94 int relayout(IWindow window, int seq, in WindowManager.LayoutParams attrs,
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/ |
viddec_h264_workload.c | 76 viddec_frame_attributes_t *attrs = &wl->attrs; local 81 attrs->cont_size.height = pInfo->img.FrameHeightInMbs*16; 82 attrs->cont_size.width = pInfo->img.PicWidthInMbs*16; 85 attrs->h264.used_for_reference = 0; 86 attrs->h264.top_field_first = 0; 87 attrs->h264.top_field_poc = 0; 88 attrs->h264.bottom_field_poc = 0; 89 attrs->h264.field_pic_flag = 0; 93 //attrs->h264.cropped_size.width = pInfo->img.PicWidthInMbs*16 132 viddec_frame_attributes_t *attrs; local [all...] |
/frameworks/base/core/java/android/widget/ |
DatePicker.java | 140 public DatePicker(Context context, AttributeSet attrs) { 141 this(context, attrs, R.attr.datePickerStyle); 144 public DatePicker(Context context, AttributeSet attrs, int defStyleAttr) { 145 this(context, attrs, defStyleAttr, 0); 148 public DatePicker(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { 149 super(context, attrs, defStyleAttr, defStyleRes); 156 final TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.DatePicker, 173 mDelegate = createCalendarUIDelegate(context, attrs, defStyleAttr, defStyleRes); 177 mDelegate = createSpinnerUIDelegate(context, attrs, defStyleAttr, defStyleRes); 193 private DatePickerDelegate createSpinnerUIDelegate(Context context, AttributeSet attrs, [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
AttributesImplTest.java | 237 AttributesImpl attrs = new AttributesImpl(); local 238 attrs.addAttribute("http://yet.another.uri", "doe", "john:doe", 241 attrs.setAttributes(empty); 242 assertEquals(0, attrs.getLength()); 244 attrs.setAttributes(multi); 245 assertEquals(multi.getLength(), attrs.getLength()); 248 assertEquals(multi.getURI(i), attrs.getURI(i)); 249 assertEquals(multi.getLocalName(i), attrs.getLocalName(i)); 250 assertEquals(multi.getQName(i), attrs.getQName(i)); 251 assertEquals(multi.getType(i), attrs.getType(i)) [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
UnixNativeDispatcher.java | 283 static void stat(UnixPath path, UnixFileAttributes attrs) throws UnixException { 286 stat0(buffer.address(), attrs); local 291 private static native void stat0(long pathAddress, UnixFileAttributes attrs) 297 static void lstat(UnixPath path, UnixFileAttributes attrs) throws UnixException { 300 lstat0(buffer.address(), attrs); local 305 private static native void lstat0(long pathAddress, UnixFileAttributes attrs) 311 static native void fstat(int fd, UnixFileAttributes attrs) throws UnixException; 316 static void fstatat(int dfd, byte[] path, int flag, UnixFileAttributes attrs) 321 fstatat0(dfd, buffer.address(), flag, attrs); 327 UnixFileAttributes attrs) throws UnixException 508 statvfs0(buffer.address(), attrs); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_inspect.py | 480 attrs = attrs_wo_objs(A)
481 self.assertIn(('s', 'static method', A), attrs, 'missing static method')
482 self.assertIn(('c', 'class method', A), attrs, 'missing class method')
483 self.assertIn(('p', 'property', A), attrs, 'missing property')
484 self.assertIn(('m', 'method', A), attrs, 'missing plain method')
485 self.assertIn(('m1', 'method', A), attrs, 'missing plain method')
486 self.assertIn(('datablob', 'data', A), attrs, 'missing data')
491 attrs = attrs_wo_objs(B)
492 self.assertIn(('s', 'static method', A), attrs, 'missing static method')
493 self.assertIn(('c', 'class method', A), attrs, 'missing class method') [all...] |
/external/libvterm/src/ |
screen.c | 748 cell->attrs.bold = intcell->pen.bold; 749 cell->attrs.underline = intcell->pen.underline; 750 cell->attrs.italic = intcell->pen.italic; 751 cell->attrs.blink = intcell->pen.blink; 752 cell->attrs.reverse = intcell->pen.reverse ^ screen->global_reverse; 753 cell->attrs.strike = intcell->pen.strike; 754 cell->attrs.font = intcell->pen.font; 756 cell->attrs.dwl = intcell->pen.dwl; 757 cell->attrs.dhl = intcell->pen.dhl; 785 intcell->pen.bold = cell->attrs.bold [all...] |
/external/mesa3d/src/mapi/mapi/ |
mapi_abi.py | 47 def __init__(self, cols, attrs): 50 self.slot = attrs['slot'] 51 self.hidden = attrs['hidden'] 52 self.alias = attrs['alias'] 53 self.handcode = attrs['handcode'] 148 attrs = { 155 # post-process attrs 156 if attrs['alias']: 158 alias = entry_dict[attrs['alias']] 160 raise Exception('failed to alias %s' % attrs['alias'] [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_inspect.py | 533 attrs = attrs_wo_objs(A) 534 self.assertIn(('s', 'static method', A), attrs, 'missing static method') 535 self.assertIn(('c', 'class method', A), attrs, 'missing class method') 536 self.assertIn(('p', 'property', A), attrs, 'missing property') 537 self.assertIn(('m', 'method', A), attrs, 'missing plain method') 538 self.assertIn(('m1', 'method', A), attrs, 'missing plain method') 539 self.assertIn(('datablob', 'data', A), attrs, 'missing data') 540 self.assertIn(('md', 'method', A), attrs, 'missing method descriptor') 541 self.assertIn(('dd', 'data', A), attrs, 'missing data descriptor') 546 attrs = attrs_wo_objs(B [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_inspect.py | 533 attrs = attrs_wo_objs(A) 534 self.assertIn(('s', 'static method', A), attrs, 'missing static method') 535 self.assertIn(('c', 'class method', A), attrs, 'missing class method') 536 self.assertIn(('p', 'property', A), attrs, 'missing property') 537 self.assertIn(('m', 'method', A), attrs, 'missing plain method') 538 self.assertIn(('m1', 'method', A), attrs, 'missing plain method') 539 self.assertIn(('datablob', 'data', A), attrs, 'missing data') 540 self.assertIn(('md', 'method', A), attrs, 'missing method descriptor') 541 self.assertIn(('dd', 'data', A), attrs, 'missing data descriptor') 546 attrs = attrs_wo_objs(B [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_inspect.py | 533 attrs = attrs_wo_objs(A) 534 self.assertIn(('s', 'static method', A), attrs, 'missing static method') 535 self.assertIn(('c', 'class method', A), attrs, 'missing class method') 536 self.assertIn(('p', 'property', A), attrs, 'missing property') 537 self.assertIn(('m', 'method', A), attrs, 'missing plain method') 538 self.assertIn(('m1', 'method', A), attrs, 'missing plain method') 539 self.assertIn(('datablob', 'data', A), attrs, 'missing data') 540 self.assertIn(('md', 'method', A), attrs, 'missing method descriptor') 541 self.assertIn(('dd', 'data', A), attrs, 'missing data descriptor') 546 attrs = attrs_wo_objs(B [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_inspect.py | 533 attrs = attrs_wo_objs(A) 534 self.assertIn(('s', 'static method', A), attrs, 'missing static method') 535 self.assertIn(('c', 'class method', A), attrs, 'missing class method') 536 self.assertIn(('p', 'property', A), attrs, 'missing property') 537 self.assertIn(('m', 'method', A), attrs, 'missing plain method') 538 self.assertIn(('m1', 'method', A), attrs, 'missing plain method') 539 self.assertIn(('datablob', 'data', A), attrs, 'missing data') 540 self.assertIn(('md', 'method', A), attrs, 'missing method descriptor') 541 self.assertIn(('dd', 'data', A), attrs, 'missing data descriptor') 546 attrs = attrs_wo_objs(B [all...] |
/external/iproute2/tipc/ |
bearer.c | 90 struct nlattr *attrs[TIPC_NLA_NET_MAX + 1] = {}; local 96 mnl_attr_parse_nested(info[TIPC_NLA_NET], parse_attrs, attrs); 97 if (!attrs[TIPC_NLA_NET_ID]) 99 *netid = mnl_attr_get_u32(attrs[TIPC_NLA_NET_ID]); 445 struct nlattr *attrs; local 481 attrs = mnl_attr_nest_start(nlh, TIPC_NLA_BEARER); 511 mnl_attr_nest_end(nlh, attrs); 557 struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1] = {}; local 564 mnl_attr_parse_nested(info[TIPC_NLA_BEARER], parse_attrs, attrs); 565 if (!attrs[TIPC_NLA_BEARER_PROP] 584 struct nlattr *attrs; local 662 struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1] = {}; local [all...] |
/external/iw/ |
event.c | 102 static void parse_cqm_event(struct nlattr **attrs) 110 struct nlattr *cqm_attr = attrs[NL80211_ATTR_CQM]; 144 if (attrs[NL80211_ATTR_MAC]) { 149 mac_addr_n2a(buf, nla_data(attrs[NL80211_ATTR_MAC])); 177 static void parse_mic_failure(struct nlattr **attrs) 181 if (attrs[NL80211_ATTR_MAC]) { 183 mac_addr_n2a(addr, nla_data(attrs[NL80211_ATTR_MAC])); 187 if (attrs[NL80211_ATTR_KEY_SEQ] && 188 nla_len(attrs[NL80211_ATTR_KEY_SEQ]) == 6) { 189 unsigned char *seq = nla_data(attrs[NL80211_ATTR_KEY_SEQ]) [all...] |
/toolchain/binutils/binutils-2.25/opcodes/ |
ip2k-dis.c | 67 unsigned int attrs ATTRIBUTE_UNUSED, 120 unsigned int attrs ATTRIBUTE_UNUSED, 133 unsigned int attrs ATTRIBUTE_UNUSED, 146 unsigned int attrs ATTRIBUTE_UNUSED, 163 unsigned int attrs ATTRIBUTE_UNUSED, 176 unsigned int attrs ATTRIBUTE_UNUSED, 191 unsigned int attrs ATTRIBUTE_UNUSED, 205 unsigned int attrs ATTRIBUTE_UNUSED, 241 void const *attrs ATTRIBUTE_UNUSED, 317 unsigned int attrs, [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
WindowTest.java | 148 final WindowManager.LayoutParams attrs = mWindow.getAttributes(); local 149 assertEquals(0, attrs.flags); 152 assertEquals(WindowManager.LayoutParams.FLAG_FULLSCREEN, attrs.flags); 156 | WindowManager.LayoutParams.FLAG_DITHER, attrs.flags); 159 assertEquals(WindowManager.LayoutParams.FLAG_DITHER, attrs.flags); 161 assertEquals(0, attrs.flags); 168 assertEquals(WindowManager.LayoutParams.FLAG_FULLSCREEN, attrs.flags); 171 verify(mWindowCallback, times(1)).onWindowAttributesChanged(attrs); 531 WindowManager.LayoutParams attrs = mWindow.getAttributes(); local 532 assertEquals(0, attrs.gravity) 550 WindowManager.LayoutParams attrs = mWindow.getAttributes(); local 570 WindowManager.LayoutParams attrs = mWindow.getAttributes(); local 614 WindowManager.LayoutParams attrs = mWindow.getAttributes(); local [all...] |
/external/bison/lib/ |
spawn-pipe.c | 257 posix_spawnattr_t attrs; 327 && ((err = posix_spawnattr_init (&attrs)) != 0 329 (err = posix_spawnattr_setsigmask (&attrs, 332 || (err = posix_spawnattr_setflags (&attrs, 336 attrs_allocated ? &attrs : NULL, prog_argv, 343 posix_spawnattr_destroy (&attrs); 364 posix_spawnattr_destroy (&attrs);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
PreferenceGroupTest.java | 30 private TestAttributeSet attrs; field in class:PreferenceGroupTest 36 attrs = new TestAttributeSet( new HashMap<String, String>() ); 38 group = new TestPreferenceGroup(context, attrs); 145 TestPreferenceGroup group2 = new TestPreferenceGroup(context, attrs); 158 TestPreferenceGroup group2 = new TestPreferenceGroup(context, attrs); 175 public TestPreferenceGroup(Context context, AttributeSet attrs) { 176 super(context, attrs);
|