HomeSort by relevance Sort by last modified time
    Searched refs:attr_name (Results 1 - 25 of 30) sorted by null

1 2

  /external/chromium_org/third_party/protobuf/python/
stubout.py 42 def SmartSet(self, obj, attr_name, new_attr):
43 """Replace obj.attr_name with new_attr. This method is smart and works
48 This method supports the case where attr_name is a staticmethod or a
63 (not inspect.isclass(obj) and obj.__dict__.has_key(attr_name))):
65 orig_attr = getattr(obj, attr_name)
80 orig_attr = getattr(obj, attr_name)
89 old_attribute = obj.__dict__.get(attr_name)
93 self.stubs.append((orig_obj, attr_name, orig_attr))
94 setattr(orig_obj, attr_name, new_attr)
mox.py 208 def StubOutWithMock(self, obj, attr_name, use_mock_anything=False):
217 attr_name: str. The name of the attribute to replace with a mock.
222 attr_to_replace = getattr(obj, attr_name)
228 self.stubs.Set(obj, attr_name, stub)
    [all...]
  /external/elfutils/0.153/libdw/
dwarf_child.c 105 unsigned int attr_name; local
106 get_uleb128 (attr_name, attrp);
111 if (attr_name == 0 && attr_form == 0)
115 if (attr_name == search_name && search_name != INVALID)
118 *codep = attr_name;
  /external/chromium_org/content/browser/download/
file_metadata_unittest_linux.cc 65 void CheckExtendedAttributeValue(const string attr_name,
67 ssize_t len = getxattr(test_file().value().c_str(), attr_name.c_str(),
70 FAIL() << "Attribute '" << attr_name << "' does not exist";
73 len = getxattr(test_file().value().c_str(), attr_name.c_str(), buffer, len);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
test_converter.py 140 for attr_name, attr_value in attrs:
141 if attr_name == target_attr:
151 for attr_name, attr_value in attrs:
152 if attr_name == 'style':
155 if attr_name == 'class' and 'instructions' in attr_value:
  /external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
object.pxd 15 bint PyObject_HasAttrString(object o, char *attr_name)
16 # Returns 1 if o has the attribute attr_name, and 0
18 # "hasattr(o, attr_name)". This function always succeeds.
20 object PyObject_GetAttrString(object o, char *attr_name)
22 # attr_name from object o. Returns the attribute value on success,
24 # expression "o.attr_name".
26 bint PyObject_HasAttr(object o, object attr_name)
27 # Returns 1 if o has the attribute attr_name, and 0
29 # "hasattr(o, attr_name)". This function always succeeds.
31 object PyObject_GetAttr(object o, object attr_name)
    [all...]
  /external/chromium_org/tools/grit/grit/gather/
igoogle_strings.py 44 for attr_name in attr_names:
46 att_text.append(attr_name)
49 xml.sax.saxutils.quoteattr(attrs.getValueByQName(attr_name)))
muppet_strings.py 51 for attr_name in attr_names:
53 att_text.append(attr_name)
56 xml.sax.saxutils.quoteattr(attrs.getValueByQName(attr_name)))
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
util.rb 94 def alias_accessor( alias_name, attr_name )
95 alias_method( alias_name, attr_name )
96 alias_method( :"#{ alias_name }=", :"#{ attr_name }=" )
  /cts/tools/utils/cts/
tools.py 226 def GetAndroidAttr(self, tag, attr_name):
231 attr_name: An attribute name in the android manifest namespace.
237 return element.getAttributeNS('http://schemas.android.com/apk/res/android', attr_name)
239 def GetAttr(self, tag, attr_name):
244 attr_name: An attribute name in the default namespace.
250 return element.getAttribute(attr_name)
  /development/ndk/platforms/android-3/include/linux/
sysfs.h 37 #define attr_name(_attr) (_attr).attr.name macro
  /external/chromium_org/third_party/cython/src/Cython/Compiler/
TreePath.py 23 def iterchildren(node, attr_name):
25 child = getattr(node, attr_name)
79 for attr_name in node.child_attrs:
80 for child in iterchildren(node, attr_name):
Visitor.pxd 40 cdef _dispatch_to_method_handler(self, attr_name, self_arg,
Visitor.py 591 attr_name = function.attribute
608 attr_name, self_arg, is_unbound_method, type_name,
613 def _dispatch_to_method_handler(self, attr_name, self_arg,
617 "method_%s_%s" % (type_name, attr_name), kwargs)
619 if (attr_name in TypeSlots.method_name_to_slot
620 or attr_name == '__new__'):
622 "slot%s" % attr_name, kwargs)
625 node, type_name, attr_name, function,
640 def _handle_method(self, node, type_name, attr_name, function,
Optimize.py     [all...]
  /external/chromium_org/chrome/browser/extensions/activity_log/
activity_actions.cc 120 std::string attr_name; local
123 args_->GetString(1u, &attr_name);
125 if (attr_name == kSrc) {
130 } else if (element_name == kAnchor && attr_name == kHref) {
394 std::string attr_name; local
398 args_->GetString(1u, &attr_name);
400 if (element_name == kIframe && attr_name == kSrc) {
403 } else if (element_name == kAnchor && attr_name == kHref) {
  /external/compiler-rt/test/msan/Linux/
xattr.cc 81 const char *attr_name) {
87 ssize_t res = fun(attr_name, buf, buf_size);
  /development/samples/SampleSyncAdapter/samplesyncadapter_server/
web_services.py 296 def safe_attr(self, obj, attr_name):
297 if attr_name in obj:
298 return obj[attr_name]
  /external/chromium_org/third_party/cython/src/Cython/Utility/
ObjectHandling.c     [all...]
  /external/chromium_org/build/android/pylib/utils/
parallelizer.py 184 def _assertNoShadow(self, attr_name):
185 """Ensures that |attr_name| isn't shadowing part of the wrapped obejcts.
187 If the wrapped objects _do_ have an |attr_name| attribute, it will be
191 attr_name: The attribute to check.
193 AssertionError if the wrapped objects have an attribute named 'attr_name'
  /external/chromium_org/content/browser/accessibility/
browser_accessibility.h 237 bool GetAriaTristate(const char* attr_name,
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
dwarf-aux.c 222 static int die_get_attr_udata(Dwarf_Die *tp_die, unsigned int attr_name,
227 if (dwarf_attr(tp_die, attr_name, &attr) == NULL ||
235 static int die_get_attr_sdata(Dwarf_Die *tp_die, unsigned int attr_name,
240 if (dwarf_attr(tp_die, attr_name, &attr) == NULL ||
  /external/chromium_org/third_party/WebKit/Source/core/css/parser/
CSSGrammar.y 364 %type <string> attr_name
1243 attr_name: label
1266 '[' maybe_space attr_name closing_square_bracket {
1271 | '[' maybe_space attr_name match maybe_space ident_or_string maybe_space maybe_attr_match_type closing_square_bracket {
1277 | '[' maybe_space namespace_selector attr_name closing_square_bracket {
1282 | '[' maybe_space namespace_selector attr_name match maybe_space ident_or_string maybe_space maybe_attr_match_type closing_square_bracket {
    [all...]
  /external/chromium_org/third_party/cython/src/
runtests.py     [all...]
  /external/opencv/cxcore/include/
cxcore.h     [all...]

Completed in 1608 milliseconds

1 2