/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
DrawableResourceLoader.java | 29 stateMap.put("android:state_selected", R.attr.state_selected); 30 stateMap.put("android:state_pressed", R.attr.state_pressed); 31 stateMap.put("android:state_focused", R.attr.state_focused); 32 stateMap.put("android:state_checkable", R.attr.state_checkable); 33 stateMap.put("android:state_checked", R.attr.state_checked); 34 stateMap.put("android:state_enabled", R.attr.state_enabled); 35 stateMap.put("android:state_window_focused", R.attr.state_window_focused); 179 Node attr = attrs.getNamedItem(state); local 180 if (attr != null) { 186 return R.attr.state_active [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_importlib.py | 46 for attr, default in (('meta_path', []), ('path', []), 49 originals[attr] = getattr(sys, attr) 50 if attr in kwargs: 51 new_value = kwargs[attr] 52 del kwargs[attr] 55 setattr(sys, attr, new_value) 61 for attr, value in originals.items(): 62 setattr(sys, attr, value) 86 module.attr = nam [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_importlib.py | 46 for attr, default in (('meta_path', []), ('path', []), 49 originals[attr] = getattr(sys, attr) 50 if attr in kwargs: 51 new_value = kwargs[attr] 52 del kwargs[attr] 55 setattr(sys, attr, new_value) 61 for attr, value in originals.items(): 62 setattr(sys, attr, value) 86 module.attr = nam [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_aka.c | 853 struct eap_sim_attrs *attr) 859 if (attr->mac || attr->iv || attr->encr_data) { 871 if (!attr->identity || attr->identity_len == 0) { 879 new_identity = os_malloc(attr->identity_len); 887 os_memcpy(sm->identity, attr->identity, attr->identity_len); 888 sm->identity_len = attr->identity_len 1183 struct eap_sim_attrs attr; local [all...] |
eap_server_sake.c | 306 struct eap_sake_parse_attr attr; local 314 if (eap_sake_parse_attributes(payload, payloadlen, &attr)) 317 if (!attr.rand_p || !attr.mic_p) { 323 os_memcpy(data->rand_p, attr.rand_p, EAP_SAKE_RAND_LEN); 328 if (attr.peerid) { 329 data->peerid = os_malloc(attr.peerid_len); 332 os_memcpy(data->peerid, attr.peerid, attr.peerid_len); 333 data->peerid_len = attr.peerid_len 369 struct eap_sake_parse_attr attr; local [all...] |
eap_server_sim.c | 416 struct eap_sim_attrs *attr) 437 if (!attr->identity || attr->identity_len == 0) { 443 new_identity = os_malloc(attr->identity_len); 448 os_memcpy(sm->identity, attr->identity, attr->identity_len); 449 sm->identity_len = attr->identity_len; 508 if (attr->nonce_mt == NULL || attr->selected_version < 0) { 514 if (!eap_sim_supported_ver(data, attr->selected_version)) 717 struct eap_sim_attrs attr; local [all...] |
/external/wpa_supplicant_8/src/p2p/ |
p2p_parse.c | 324 struct wps_parse_attr attr; local 328 if (wps_parse_msg(buf, &attr)) 330 if (attr.dev_name && attr.dev_name_len < sizeof(msg->device_name) && 332 os_memcpy(msg->device_name, attr.dev_name, attr.dev_name_len); 333 if (attr.config_methods) { 335 WPA_GET_BE16(attr.config_methods); 339 if (attr.dev_password_id) { 340 msg->dev_password_id = WPA_GET_BE16(attr.dev_password_id) [all...] |
/external/ipsec-tools/src/racoon/ |
isakmp_xauth.c | 124 struct isakmp_pl_attr *attr; local 146 tlen = sizeof(*attr) + 156 attr = (struct isakmp_pl_attr *)buffer->v; 157 memset(attr, 0, tlen); 159 attr->h.len = htons(tlen); 160 attr->type = ISAKMP_CFG_REQUEST; 161 attr->id = htons(eay_random()); 163 typeattr = (struct isakmp_data *)(attr + 1); 186 xauth_attr_reply(iph1, attr, id) 188 struct isakmp_data *attr; 417 struct isakmp_pl_attr *attr; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
UiElementNode.java | 54 import org.w3c.dom.Attr; 225 String attr = getDescAttribute(); local 226 if (attr != null) { 229 if (attr.contains(name)) { 230 return attr; 232 return String.format("%1$s (%2$s)", attr, name); 247 String attr = _Element_getAttributeNS(elem, local 250 if (attr == null || attr.length() == 0) { 251 attr = _Element_getAttributeNS(elem 310 String attr = getDescAttribute(); local 1063 Attr attr = doc.createAttributeNS(SdkConstants.XMLNS_URI, local 1575 Attr attr; local [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContextTest.java | 89 android.R.attr.windowNoTitle, 90 android.R.attr.panelColorForeground, 91 android.R.attr.panelColorBackground 170 final AttributeSet attr = Xml.asAttributeSet(parser); local 171 assertNotNull(attr); 172 return attr;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
AttributeScope.java | 125 Attribute attr = new Attribute(a); local 126 if ( !isReturnScope && attr.initValue!=null ) { 130 attr.name); 131 attr.initValue=null; // wipe it out 133 attributes.put(attr.name, attr);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
Attr.cpp | 24 #include "core/dom/Attr.h" 41 Attr::Attr(Element& element, const QualifiedName& name) 50 Attr::Attr(Document& document, const QualifiedName& name, const AtomicString& standaloneValue) 60 PassRefPtr<Attr> Attr::create(Element& element, const QualifiedName& name) 62 RefPtr<Attr> attr = adoptRef(new Attr(element, name)) local 69 RefPtr<Attr> attr = adoptRef(new Attr(document, name, value)); local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/targets/graw-xlib/ |
graw_xlib.c | 53 XSetWindowAttributes attr; local 106 attr.background_pixel = 0; 107 attr.border_pixel = 0; 108 attr.colormap = XCreateColormap( graw.display, root, visinfo->visual, AllocNone); 109 attr.event_mask = StructureNotifyMask | ExposureMask | KeyPressMask; 115 visinfo->visual, mask, &attr );
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nouveau_render_t.c | 83 &TAG(vertex_attrs)[(a)->attr]; \ 191 int attr = a->attr - VERT_ATTRIB_GENERIC0; local 203 }) [attr]; 205 COPY_4V(ctx->Light.Material.Attrib[attr], (float *)v); 206 _mesa_update_material(ctx, 1 << attr);
|
/external/chromium_org/tools/deep_memory_profiler/subcommands/ |
map.py | 46 for begin, end, attr in range_dict.iter_range(key[0], key[1]): 47 attr[dump.count] = value 50 for begin, end, attr in range_dict.iter_range(): 52 if len(attr) < max_dump_count: 53 attr[max_dump_count] = None 54 for index, value in enumerate(attr[1:]):
|
/external/droiddriver/src/com/google/android/droiddriver/base/ |
AbstractUiElement.java | 154 for (Attribute attr : Attribute.values()) { 155 addAttribute(toStringHelper, attr, get(attr)); 160 private static void addAttribute(ToStringHelper toStringHelper, Attribute attr, Object value) { 164 toStringHelper.addValue(attr.getName()); 167 toStringHelper.add(attr.getName(), value);
|
/external/libvpx/libvpx/examples/includes/PHP-SmartyPants-1.5.1e/ |
smartypants.php | 66 function smarty_modifier_smartypants($text, $attr = NULL) { 67 return SmartyPants($text, $attr); 72 function SmartyPants($text, $attr = NULL, $ctx = NULL) { 76 $attr; # value of the smart_quotes="" attribute 78 if ($attr == NULL) $attr = $smartypants_attr; 99 if ($attr == "0") { 103 else if ($attr == "1") { 110 else if ($attr == "2") { 117 else if ($attr == "3") [all...] |
/external/mesa3d/src/gallium/targets/graw-xlib/ |
graw_xlib.c | 53 XSetWindowAttributes attr; local 106 attr.background_pixel = 0; 107 attr.border_pixel = 0; 108 attr.colormap = XCreateColormap( graw.display, root, visinfo->visual, AllocNone); 109 attr.event_mask = StructureNotifyMask | ExposureMask | KeyPressMask; 115 visinfo->visual, mask, &attr );
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_render_t.c | 83 &TAG(vertex_attrs)[(a)->attr]; \ 191 int attr = a->attr - VERT_ATTRIB_GENERIC0; local 203 }) [attr]; 205 COPY_4V(ctx->Light.Material.Attrib[attr], (float *)v); 206 _mesa_update_material(ctx, 1 << attr);
|
/external/oprofile/libop/ |
op_xml_out.c | 138 void init_xml_int_attr(tag_t attr, int value, char *buffer, size_t max) 148 ret = snprintf(buf, size, " %s=\"%d\"", xml_tag_name(attr), value); 157 void init_xml_dbl_attr(tag_t attr, double value, char *buffer, size_t max) 167 ret = snprintf(buf, size, " %s=\"%.2f\"", xml_tag_name(attr), value); 243 void init_xml_str_attr(tag_t attr, char const *str, char *buffer, size_t max) 253 ret = snprintf(buf, size, " %s=", xml_tag_name(attr));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
functools.py | 32 for attr in assigned: 33 setattr(wrapper, attr, getattr(wrapped, attr)) 34 for attr in updated: 35 getattr(wrapper, attr).update(getattr(wrapped, attr, {}))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
functools.py | 32 for attr in assigned: 33 setattr(wrapper, attr, getattr(wrapped, attr)) 34 for attr in updated: 35 getattr(wrapper, attr).update(getattr(wrapped, attr, {}))
|
/external/chromium_org/chrome/browser/password_manager/ |
password_store_mac.cc | 62 search_attributes_.attr = NULL; 66 if (search_attributes_.attr) { 67 free(search_attributes_.attr); 78 search_attributes_.attr = 87 search_attributes_.attr[entries].tag = kSecServerItemAttr; 88 search_attributes_.attr[entries].length = strlen(server); 89 search_attributes_.attr[entries].data = 95 search_attributes_.attr[entries].tag = kSecPortItemAttr; 96 search_attributes_.attr[entries].length = sizeof(port); 97 search_attributes_.attr[entries].data 290 SecKeychainAttribute attr = attrList->attr[i]; local 810 SecKeychainAttribute attr = { kSecCreatorItemAttr, sizeof(creator_code), local [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/ |
SQLiteFileSystemWin.cpp | 96 DWORD attr = blink::Platform::current()->databaseGetFileAttributes(String(fileName)); local 100 *res = (attr != INVALID_FILE_ATTRIBUTES); 103 *res = ((attr & FILE_ATTRIBUTE_READONLY) == 0);
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/ |
main.c | 50 int attr[] = { SDL_GL_RED_SIZE, SDL_GL_BLUE_SIZE, SDL_GL_GREEN_SIZE, local 57 nAttr = sizeof(attr) / sizeof(int); 62 SDL_GL_GetAttribute (attr[i], &value);
|