Searched refs:self (Results 226 - 250 of 4083) sorted by relevance

1234567891011>>

/external/lldb/test/functionalities/data-formatter/data-formatter-python-synth/
H A Dftsp.py6 def __init__(self, valobj, dict):
7 self.valobj = valobj;
8 def num_children(self):
9 if self.char.IsValid():
12 def get_child_index(self,name):
14 def get_child_at_index(self,index):
16 return self.x.Cast(self.char)
18 return self.valobj.CreateValueFromExpression(str(index),'(char)('+str(self
[all...]
/external/lldb/test/linux/builtin_trap/
H A DTestBuiltinTrap.py18 def test_with_dsym_and_run_command(self):
20 self.buildDsym()
21 self.builtin_trap_unwind()
27 def test_with_dwarf_and_run_command(self):
29 self.buildDwarf()
30 self.builtin_trap_unwind()
32 def setUp(self):
34 TestBase.setUp(self)
36 self.line = line_number('main.cpp', '// Set break point at this line.')
38 def builtin_trap_unwind(self)
[all...]
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
H A DLexer.pm24 my ($self) = @_;
27 $self->SUPER::reset();
30 if (defined $self->input) {
32 $self->input->seek(0);
35 if (defined $self->state) {
36 $self->state->token(undef);
37 $self->state->type(ANTLR::Runtime::Token->INVALID_TOKEN_TYPE);
38 $self->state->channel(ANTLR::Runtime::Token->DEFAULT_CHANNEL);
39 $self->state->token_start_char_index(-1);
40 $self
[all...]
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Ddocs_server_utils_test.py18 def testStringIdentity(self):
20 self.assertEqual('C+7Hteo/', StringIdentity('foo'))
21 self.assertEqual('Ys23Ag/5', StringIdentity('bar'))
22 self.assertEqual('T5FOBOjX', StringIdentity('foo', 'bar'))
23 self.assertEqual('K7XzI1GD', StringIdentity('bar', 'foo'))
24 self.assertEqual('CXypceHn', StringIdentity('foo', 'bar', 'baz'))
25 self.assertEqual('gGo0GTF6', StringIdentity('foo', 'baz', 'bar'))
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
H A Dcollector.py32 def __init__(self):
33 self.data = None
34 self.should_trace = None
35 self.should_trace_cache = None
36 self.warn = None
37 self.cur_file_data = None
38 self.last_line = 0
39 self.data_stack = []
40 self.last_exc_back = None
41 self
[all...]
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/
H A Djson_writer.py39 def PreprocessPolicies(self, policy_list):
40 return self.FlattenGroupsAndSortPolicies(policy_list)
42 def WritePolicy(self, policy):
49 if not self._first_written:
50 self._out[-2] += ','
52 if not self.CanBeMandatory(policy) and self.CanBeRecommended(policy):
54 self._out.append(line)
56 self.config['linux_policy_path']
57 self
[all...]
H A Dadmx_writer.py30 def _AdmlString(self, name):
37 def _AdmlStringExplain(self, name):
44 def _AdmlPresentation(self, name):
51 def _AddPolicyNamespaces(self, parent, prefix, namespace):
64 policy_namespaces_elem = self.AddElement(parent, 'policyNamespaces')
69 self.AddElement(policy_namespaces_elem, 'target', attributes)
74 self.AddElement(policy_namespaces_elem, 'using', attributes)
76 def _AddCategory(self, parent, name, display_name,
105 category_elem = self.AddElement(parent, 'category', attributes)
108 self
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/backends/
H A Dcodepen_credentials_backend.py12 def logged_in_javascript(self):
17 def credentials_type(self):
21 def url(self):
25 def login_form_id(self):
29 def login_button_javascript(self):
36 def login_input_id(self):
40 def password_input_id(self):
/external/chromium_org/tools/telemetry/telemetry/core/platform/
H A Ddevice.py18 def __init__(self, name, guid):
19 self._name = name
20 self._guid = guid
23 def name(self):
24 return self._name
27 def guid(self):
28 return self._guid
H A Dtracing_options.py25 def __init__(self):
26 self.enable_chrome_trace = False
27 self._record_mode = RECORD_AS_MUCH_AS_POSSIBLE
30 def record_mode(self): # pylint: disable=E0202
31 return self._record_mode
34 def record_mode(self, value): # pylint: disable=E0202
36 self._record_mode = value
/external/compiler-rt/lib/sanitizer_common/scripts/
H A Dlitlint_test.py13 def test_missing_run(self):
15 self.assertEqual(f(' %t '), ('missing %run before %t', 2))
16 self.assertEqual(f(' %t\n'), ('missing %run before %t', 2))
17 self.assertEqual(f(' %t.so '), (None, None))
18 self.assertEqual(f(' %t.o '), (None, None))
19 self.assertEqual(f('%run %t '), (None, None))
20 self.assertEqual(f('-o %t '), (None, None))
/external/lldb/test/functionalities/data-formatter/rdar-9973992/
H A DTest-rdar-9973992.py18 def test_with_dsym_and_run_command(self):
20 self.buildDsym()
21 self.data_formatter_commands()
24 def test_with_dwarf_and_run_command(self):
26 self.buildDwarf()
27 self.data_formatter_commands()
29 def setUp(self):
31 TestBase.setUp(self)
33 self.line = line_number('main.cpp', '// Set break point at this line.')
35 def data_formatter_commands(self)
[all...]
/external/lldb/test/functionalities/watchpoint/watchpoint_set_command/
H A DTestWatchpointSetErrorCases.py15 def test_error_cases_with_watchpoint_set(self):
17 self.buildDwarf(dictionary=self.d)
18 self.setTearDownCleanup(dictionary=self.d)
19 self.error_cases_with_watchpoint_set()
21 def setUp(self):
23 TestBase.setUp(self)
25 self.source = 'main.cpp'
27 self
[all...]
/external/lldb/test/lang/c/blocks/
H A DTestBlocks.py16 def test_expr_with_dsym(self):
17 self.buildDsym()
18 self.expr()
22 def test_expr_with_dwarf(self):
23 self.buildDwarf()
24 self.expr()
26 def setUp(self):
28 TestBase.setUp(self)
30 self.lines.append(line_number('main.c', '// Set breakpoint 0 here.'))
31 self
[all...]
/external/lldb/test/lang/cpp/char1632_t/
H A DTestChar1632T.py18 def test_with_dsym(self):
20 self.buildDsym()
21 self.char1632()
25 def test_with_dwarf(self):
27 self.buildDwarf()
28 self.char1632()
30 def setUp(self):
32 TestBase.setUp(self)
34 self.source = 'main.cpp'
35 self
[all...]
/external/lldb/test/lang/objc/radar-9691614/
H A DTestObjCMethodReturningBOOL.py17 def test_method_ret_BOOL_with_dsym(self):
19 d = {'EXE': self.exe_name}
20 self.buildDsym(dictionary=d)
21 self.setTearDownCleanup(dictionary=d)
22 self.objc_method_ret_BOOL(self.exe_name)
25 def test_method_ret_BOOL_with_dwarf(self):
27 d = {'EXE': self.exe_name}
28 self.buildDwarf(dictionary=d)
29 self
[all...]
/external/lldb/test/lang/objc/rdar-10967107/
H A DTestRdar10967107.py17 def test_cfrange_diff_cfgregoriandate_with_dsym(self):
19 d = {'EXE': self.exe_name}
20 self.buildDsym(dictionary=d)
21 self.setTearDownCleanup(dictionary=d)
22 self.cfrange_diff_cfgregoriandate(self.exe_name)
25 def test_cfrange_diff_cfgregoriandate_with_dwarf(self):
27 d = {'EXE': self.exe_name}
28 self.buildDwarf(dictionary=d)
29 self
[all...]
/external/srec/srec/AcousticModels/src/
H A DAcousticModels.c26 ESR_ReturnCode SR_AcousticModelsDestroy(SR_AcousticModels* self) argument
28 if (self == NULL)
33 return self->destroy(self);
36 ESR_ReturnCode SR_AcousticModelsSave(SR_AcousticModels* self, const LCHAR* filename) argument
38 if (self == NULL)
43 return self->save(self, filename);
46 ESR_ReturnCode SR_AcousticModelsSetParameter(SR_AcousticModels* self, const LCHAR* key, LCHAR* value) argument
48 if (self
56 SR_AcousticModelsGetParameter(SR_AcousticModels* self, const LCHAR* key, LCHAR* value, size_t* len) argument
66 SR_AcousticModelsGetCount(SR_AcousticModels* self, size_t* size) argument
76 SR_AcousticModelsGetID(SR_AcousticModels* self, size_t index, SR_AcousticModelID* id, size_t* size) argument
86 SR_AcousticModelsSetID(SR_AcousticModels* self, size_t index, SR_AcousticModelID* id) argument
[all...]
/external/chromium_org/tools/strict_enum_value_checker/
H A Dstrict_enum_value_checker_test.py14 def __init__(self):
15 self.lines = []
17 def info(self, message):
18 self.lines.append(message)
20 def debug(self, message):
21 self.lines.append(message)
24 def __init__(self):
25 self.re = re
26 self.os_path = os.path
27 self
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
H A Dcros_browser_backend.py18 def __init__(self, browser_options, cri, is_guest, extensions_to_load):
19 super(CrOSBrowserBackend, self).__init__(
25 self._cri = cri
26 self._is_guest = is_guest
27 self._forwarder = None
33 self.wpr_port_pairs = forwarders.PortPairs(
34 http=forwarders.PortPair(self.wpr_port_pairs.http.local_port,
35 self.GetRemotePort(
36 self.wpr_port_pairs.http.local_port)),
37 https=forwarders.PortPair(self
[all...]
/external/chromium_org/tools/telemetry/telemetry/page/actions/
H A Dplay_unittest.py17 def setUp(self):
18 tab_test_case.TabTestCase.setUp(self)
19 self.Navigate('video_test.html')
22 def testPlayWithNoSelector(self):
25 action.WillRunAction(self._tab)
27 self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_PLAYING_CHECK))
28 self.assertFalse(self._tab.EvaluateJavaScript(AUDIO_1_PLAYING_CHECK))
29 action.RunAction(self
[all...]
/external/lldb/test/functionalities/watchpoint/watchpoint_commands/command/
H A DTestWatchpointCommandLLDB.py15 def setUp(self):
17 TestBase.setUp(self)
19 self.source = 'main.cpp'
21 self.line = line_number(self.source, '// Set break point at this line.')
23 self.decl = line_number(self.source, '// Watchpoint variable declaration.')
25 self.exe_name = self.testMethodName
26 self
[all...]
/external/chromium_org/third_party/cython/src/Cython/Compiler/
H A DUtilNodes.py17 def __init__(self, type, needs_cleanup=None):
18 self.type = type
20 self.needs_cleanup = type.is_pyobject
22 self.needs_cleanup = needs_cleanup
24 def ref(self, pos):
25 return TempRefNode(pos, handle=self, type=self.type)
27 def cleanup_ref(self, pos):
28 return CleanupTempRefNode(pos, handle=self, type=self
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
H A Dfilter.py60 def __init__(self, filter_rules=None):
78 self._filter_rules = filter_rules
79 self._should_check_category = {} # Cached dictionary of category to True/False
81 def __str__(self):
82 return ",".join(self._filter_rules)
85 def __eq__(self, other):
87 return self._filter_rules == other._filter_rules
90 def __ne__(self, other):
92 return not (self == other)
94 def should_check(self, categor
[all...]
/external/chromium_org/tools/memory_inspector/memory_inspector/core/
H A Dmemory_map.py16 def __init__(self):
17 self.entries = [] # List of |MapEntry|, sorted by start address.
19 def Add(self, entry):
21 bisect.insort_right(self.entries, entry)
23 def Lookup(self, addr):
25 idx = bisect.bisect_right(self.entries, addr) - 1
28 entry = self.entries[idx]
36 def __getitem__(self, index):
37 return self.entries[index]
39 def __len__(self)
[all...]

Completed in 1275 milliseconds

1234567891011>>