Searched refs:self (Results 176 - 200 of 1112) sorted by relevance

1234567891011>>

/external/sonivox/jet_tools/JetCreator/
H A DJetStatusEvent.py32 def __init__(self, mode, data):
33 wx.PyEvent.__init__(self)
34 self.SetEventType(EVT_JET_STATUS_ID)
35 self.mode = mode
36 self.data = data
H A DJetSegGraph.py50 def __init__(self, sEventType, iEventId, sName, sStartMbt, sEndMbt, iStartMeasure, ppqn):
51 self.sEventType = sEventType
52 self.iEventId = iEventId
53 self.sName = sName
54 self.StartMbt = ConvertStrTimeToTuple(sStartMbt)
55 self.EndMbt = ConvertStrTimeToTuple(sEndMbt)
56 self.iStartMeasure = iStartMeasure
57 self.iStart = 0
58 self.iEnd = 0
59 self
[all...]
H A Deas.py196 def __init__ (self, result_code, msg, function=None):
197 self.msg = msg
198 self.result_code = result_code
199 self.function = function
200 def __str__ (self):
201 return self.msg
218 def __init__ (self, handle, eas):
220 self.handle = handle
221 self.eas = eas
223 def SetVolume (self, volum
[all...]
/external/srec/shared/include/
H A DIntArrayList.h45 * @param self IntArrayList handle
48 ESR_ReturnCode(*add)(struct IntArrayList_t* self, int element);
53 * @param self IntArrayList handle
56 ESR_ReturnCode(*remove)(struct IntArrayList_t* self, int element);
61 * @param self IntArrayList handle
63 ESR_ReturnCode(*removeAll)(struct IntArrayList_t* self);
68 * @param self IntArrayList handle
72 ESR_ReturnCode(*contains)(struct IntArrayList_t* self, int element, ESR_BOOL* exists);
77 * @param self IntArrayList handle
80 ESR_ReturnCode(*getSize)(struct IntArrayList_t* self, size_
[all...]
/external/webkit/Source/WebKit/wx/bindings/python/samples/
H A Dsimple.py31 def __init__(self, parent, log, frame=None):
33 self, parent, -1,
37 self.log = log
38 self.current = "http://wxPython.org/"
39 self.frame = frame
42 self.titleBase = frame.GetTitle()
47 self.webview = wx.webview.WebView(self, -1)
50 btn = wx.Button(self, -1, "Open", style=wx.BU_EXACTFIT)
51 self
[all...]
/external/webkit/Tools/Scripts/webkitpy/common/net/irc/
H A Dircproxy.py37 def __init__(self, message_queue, irc_delegate, irc_bot):
38 threading.Thread.__init__(self)
39 self.setDaemon(True)
40 self._message_queue = message_queue
41 self._irc_delegate = irc_delegate
42 self._irc_bot = irc_bot
44 def run(self):
45 bot = self._irc_bot(self._message_queue, self
[all...]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
H A Dtest_failures_unittest.py37 def assert_loads(self, cls):
41 self.assertTrue(isinstance(new_failure_obj, cls))
43 self.assertEqual(failure_obj, new_failure_obj)
46 self.assertFalse(failure_obj != new_failure_obj)
48 def test_crash(self):
51 def test_hash_incorrect(self):
54 def test_missing(self):
57 def test_missing_image(self):
60 def test_missing_image_hash(self):
63 def test_timeout(self)
[all...]
H A Dprinting.py211 def __init__(self, port, options, regular_output, buildbot_output,
233 self._buildbot_stream = buildbot_output
234 self._options = options
235 self._port = port
236 self._stream = regular_output
240 self._current_dir = None
241 self._current_progress_str = ""
242 self._current_test_number = 0
244 self._meter = metered_stream.MeteredStream(options.verbose,
246 self
[all...]
H A Dtest_runner.py190 def __init__(self, reason):
191 self.reason = reason
193 def __reduce__(self):
194 return self.__class__, (self.reason,)
207 def __init__(self, port, options, printer):
215 self._port = port
216 self._fs = port._filesystem
217 self._options = options
218 self
[all...]
/external/webkit/Tools/Scripts/webkitpy/tool/steps/
H A Deditchangelog.py35 def run(self, state):
36 os.chdir(self._tool.scm().checkout_root)
37 self._tool.user.edit_changelog(self.cached_lookup(state, "changelogs"))
38 self.did_modify_checkout(state)
H A Drevertrevision.py33 def run(self, state):
34 self._tool.checkout().apply_reverse_diffs(state["revision_list"])
35 self.did_modify_checkout(state)
/external/webkit/Tools/Scripts/webkitpy/common/net/
H A Dstatusserver.py47 def __init__(self, host=default_host, browser=None, bot_id=None):
48 self.set_host(host)
49 self._browser = browser or Browser()
50 self.set_bot_id(bot_id)
52 def set_host(self, host):
53 self.host = host
54 self.url = "http://%s" % self.host
56 def set_bot_id(self, bot_id):
57 self
[all...]
H A Dtestoutput.py30 def same_image(self, img1, img2):
40 def __init__(self, platform, output_type, files):
41 self._output_type = output_type
42 self._files = files
44 self._name = self._extract_test_name(file.name())
45 self._is_actual = '-actual.' in file.name()
47 self._platform = platform or self._extract_platform(file.name())
49 def _extract_platform(self, filenam
[all...]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dchromium_unittest.py48 def setUp(self):
51 self.driver = chromium.ChromiumDriver(mock_port, worker_number=0)
53 def test_test_shell_command(self):
55 self.assertEqual(self.driver._test_shell_command("test.html", 2, "checksum"), expected_command)
57 def _assert_write_command_and_read_line(self, input=None, expected_line=None, expected_stdin=None, expected_crash=False):
64 self.driver._proc.stdin = StringIO.StringIO()
65 line, did_crash = self.driver._write_command_and_read_line(input)
66 self.assertEqual(self
[all...]
H A Dwebsocket_server.py98 def __init__(self, port_obj, output_dir, port=_DEFAULT_WS_PORT,
104 http_server.Lighttpd.__init__(self, port_obj, output_dir,
107 self._output_dir = output_dir
108 self._process = None
109 self._port = port
110 self._root = root
111 self._use_tls = use_tls
112 self._private_key = self._pem_file
113 self
[all...]
H A Dconfig_unittest.py64 def tearDown(self):
67 def make_config(self, output='', files={}, exit_code=0, exception=None,
75 def assert_configuration(self, contents, expected):
78 c = self.make_config('foo', {'foo/Configuration': contents})
79 self.assertEqual(c.default_configuration(), expected)
81 def test_build_directory(self):
83 c = self.make_config(run_command_fn=mock_run_command)
84 self.assertTrue(c.build_directory(None).endswith('WebKitBuild'))
87 self.assertTrue(c.build_directory(None).endswith('WebKitBuild'))
90 self
[all...]
H A Dchromium_gpu.py89 def __init__(self, port_name='chromium-gpu-linux', **kwargs):
90 chromium_linux.ChromiumLinuxPort.__init__(self, port_name=port_name, **kwargs)
91 _set_gpu_options(self)
93 def baseline_path(self):
95 return self._webkit_baseline_path('chromium-gpu-linux')
97 def baseline_search_path(self):
99 return (map(self._webkit_baseline_path, ['chromium-gpu-linux', 'chromium-gpu-win', 'chromium-gpu']) +
100 chromium_linux.ChromiumLinuxPort.baseline_search_path(self))
102 def default_child_processes(self):
105 def tests(self, path
[all...]
H A Dhttp_server.py57 def __init__(self, port_obj, output_dir, background=False, port=None,
63 http_server_base.HttpServerBase.__init__(self, port_obj)
64 self._output_dir = output_dir
65 self._process = None
66 self._port = port
67 self._root = root
68 self._run_background = run_background
69 self._layout_tests_dir = layout_tests_dir
71 if self._port:
72 self
[all...]
/external/srec/portable/include/
H A DArrayList.h45 * @param self ArrayList handle
47 * @return ESR_INVALID_ARGUMENT if self is null; ESR_OUT_OF_MEMORY is system is out of memory
49 ESR_ReturnCode(*add)(struct ArrayList_t* self, void* element);
56 * @param self ArrayList handle
59 * @return ESR_INVALID_ARGUMENT if self is null; ESR_SUCCESS if success or anaother value indicating
63 ESR_ReturnCode(*insertAt)(struct ArrayList_t* self, size_t index,
69 * @param self ArrayList handle
71 * @return ESR_INVALID_ARGUMENT if self is null; ESR_OUT_OF_MEMORY is system is out of memory
73 ESR_ReturnCode(*remove)(struct ArrayList_t* self, const void* element);
78 * @param self ArrayLis
[all...]
/external/webkit/Tools/QueueStatusServer/model/
H A Dactiveworkitems.py44 def _item_time_pairs(self):
45 return zip(self.item_ids, self.item_dates)
47 def _set_item_time_pairs(self, pairs):
51 self.item_ids, self.item_dates = map(list, zip(*pairs))
53 self.item_ids = []
54 self.item_dates = []
56 def _append_item_time_pair(self, pair):
57 self
[all...]
/external/v8/test/es5conform/
H A Dtestcfg.py39 def __init__(self, filename, path, context, root, mode, framework):
40 super(ES5ConformTestCase, self).__init__(context, path, mode)
41 self.filename = filename
42 self.framework = framework
43 self.root = root
45 def IsNegative(self):
46 return self.filename.endswith('-n.js')
48 def GetLabel(self):
49 return "%s es5conform %s" % (self.mode, self
[all...]
/external/webkit/Tools/Scripts/webkitpy/tool/
H A Dmocktool.py212 def __init__(self, bugzilla):
213 Mock.__init__(self)
214 self._bugzilla = bugzilla
216 def _all_bugs(self):
217 return map(lambda bug_dictionary: Bug(bug_dictionary, self._bugzilla),
218 self._bugzilla.bug_cache.values())
220 def fetch_bug_ids_from_commit_queue(self):
223 self._all_bugs())
226 def fetch_attachment_ids_from_review_queue(self):
228 for bug in self
[all...]
/external/chromium/net/tools/testserver/
H A Dbackoff_server.py19 def do_GET(self):
20 if self.path == '/quitquitquit':
21 self.send_response(200)
22 self.send_header('Content-Type', 'text/plain')
23 self.end_headers()
24 self.wfile.write('QUITTING')
28 params = urlparse.parse_qs(urlparse.urlparse(self.path).query)
31 self.send_response(200)
32 self.send_header('Content-Type', 'text/plain')
33 self
[all...]
/external/libvpx/examples/includes/HTML-Toc-0.91/
H A DTocUpdator.pm41 my $self = $aType->SUPER::new;
43 $self->{htu__Mode} = MODE_DO_NOTHING;
45 $self->{_doDeleteTokens} = 0;
47 #$self->_resetBatchVariables;
49 $self->{options} = {};
53 return $self;
63 my ($self, $aTocs) = @_;
65 $self->{htu__Mode} = MODE_DO_NOTHING;
67 $self->_deinitializeInsertorBatch();
166 my ($self,
[all...]
/external/webkit/Tools/Scripts/webkitpy/common/system/
H A Durlfetcher.py36 def __init__(self, filesystem):
37 self._filesystem = filesystem
39 def fetch(self, url):
46 def fetch_into_file(self, url):
51 file_object, filename = self._filesystem.open_binary_tempfile('-fetched')
52 contents = self.fetch(url)

Completed in 8886 milliseconds

1234567891011>>