HomeSort by relevance Sort by last modified time
    Searched full:self (Results 101 - 125 of 1842) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/v8/test/message/
testcfg.py 37 def __init__(self, path, file, expected, mode, context, config):
38 super(MessageTestCase, self).__init__(context, path)
39 self.file = file
40 self.expected = expected
41 self.config = config
42 self.mode = mode
44 def IgnoreLine(self, str):
49 def IsFailureOutput(self, output):
50 f = file(self.expected)
56 env = { 'basename': basename(self.file)
    [all...]
  /external/webkit/WebKit/mac/WebView/
WebPreferences.mm 187 while ([[self class] _getInstanceForIdentifier:fakeIdentifier]){
191 return [self initWithIdentifier:fakeIdentifier];
196 self = [super init];
197 if (!self)
203 WebPreferences *instance = [[self class] _getInstanceForIdentifier:anIdentifier];
205 [self release];
213 [[self class] _setInstance:self forIdentifier:_private->identifier];
215 [self _postPreferencesChangesNotification];
217 return self;
    [all...]
  /external/webkit/WebKitTools/Scripts/webkitpy/
queueengine.py 42 def queue_log_path(self):
45 def work_item_log_path(self, work_item):
48 def begin_work_queue(self):
51 def should_continue_work_queue(self):
54 def next_work_item(self):
57 def should_proceed_with_work_item(self, work_item):
61 def process_work_item(self, work_item):
64 def handle_unexpected_error(self, work_item, message):
69 def __init__(self, name, delegate):
70 self._name = nam
    [all...]
webkitport_unittest.py 37 def test_mac_port(self):
38 self.assertEquals(MacPort.name(), "Mac")
39 self.assertEquals(MacPort.flag(), "--port=mac")
40 self.assertEquals(MacPort.run_webkit_tests_command(), [WebKitPort.script_path("run-webkit-tests")])
41 self.assertEquals(MacPort.build_webkit_command(), [WebKitPort.script_path("build-webkit")])
42 self.assertEquals(MacPort.build_webkit_command(build_style="debug"), [WebKitPort.script_path("build-webkit"), "--debug"])
43 self.assertEquals(MacPort.build_webkit_command(build_style="release"), [WebKitPort.script_path("build-webkit"), "--release"])
45 def test_gtk_port(self):
46 self.assertEquals(GtkPort.name(), "Gtk")
47 self.assertEquals(GtkPort.flag(), "--port=gtk"
    [all...]
webkit_logging.py 45 def __init__(self, *files):
46 self.files = files
48 def write(self, string):
49 for file in self.files:
53 def __init__(self):
54 self._original_stdout = None
55 self._original_stderr = None
56 self._files_for_output = []
58 def add_log(self, path):
59 log_file = self._open_log_file(path
    [all...]
  /external/quake/quake/src/QW/progs/
spectate.qc 22 bprint (PRINT_MEDIUM, self.netname);
25 self.goalentity = world; // used for impulse 1 below
38 bprint (PRINT_MEDIUM, self.netname);
51 if (self.impulse == 1) {
55 self.goalentity = find(self.goalentity, classname, "info_player_deathmatch");
56 if (self.goalentity == world)
57 self.goalentity = find(self.goalentity, classname, "info_player_deathmatch");
58 if (self.goalentity != world) {
    [all...]
triggers.qc 7 self.solid = SOLID_TRIGGER;
18 if (self.max_health)
20 self.health = self.max_health;
21 self.takedamage = DAMAGE_YES;
22 self.solid = SOLID_BBOX;
28 // self.enemy should be set to the activator so it can be held through a delay
32 if (self.nextthink > time)
37 if (self.classname == "trigger_secret")
39 if (self.enemy.classname != "player")
    [all...]
  /external/srec/shared/include/
IntArrayList.h 45 * @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_t* size)
    [all...]
ESR_SessionType.h 47 * @param self ESR_SessionType handle
53 ESR_ReturnCode(*getProperty)(struct ESR_SessionType_t* self, const LCHAR* name, void** value, VariableTypes type);
57 * @param self ESR_SessionType handle
60 * @return ESR_INVALID_ARGUMENT if self is null or property cannot be found
62 ESR_ReturnCode(*getPropertyType)(struct ESR_SessionType_t* self, const LCHAR* name, VariableTypes* type);
66 * @param self ESR_SessionType handle
71 ESR_ReturnCode(*getInt)(struct ESR_SessionType_t* self, const LCHAR* name, int* value);
79 ESR_ReturnCode(*getUint16_t)(struct ESR_SessionType_t* self, const LCHAR* name, asr_uint16_t* value);
83 * @param self ESR_SessionType handle
89 ESR_ReturnCode(*getSize_t)(struct ESR_SessionType_t* self, const LCHAR* name, size_t* value)
    [all...]
  /build/tools/releasetools/
edify_generator.py 24 def __init__(self, version):
25 self.script = []
26 self.mounts = set()
27 self.version = version
29 def MakeTemporary(self):
33 x = EdifyGenerator(self.version)
34 x.mounts = self.mounts
65 def AppendScript(self, other):
68 self.script.extend(other.script)
70 def AssertSomeFingerprint(self, *fp)
    [all...]
amend_generator.py 23 def __init__(self):
24 self.script = ['assert compatible_with("0.2") == "true"']
25 self.included_files = set()
27 def MakeTemporary(self):
33 x.included_files = self.included_files
56 def AppendScript(self, other):
59 self.script.extend(other.script)
60 self.included_files.update(other.included_files)
62 def AssertSomeFingerprint(self, *fp):
66 self.script.append("assert %s" % (" || ".join(x),)
    [all...]
  /development/testrunner/
coverage.py 57 def __init__(self, adb_interface):
58 self._root_path = android_build.GetTop()
59 self._output_root_path = os.path.join(self._root_path,
60 self._COVERAGE_REPORT_PATH)
61 self._emma_jar_path = os.path.join(self._root_path, self._EMMA_JAR)
62 self._adb = adb_interface
63 self._targets_manifest = self._ReadTargets(
    [all...]
  /external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/port/
chromium.py 48 def __init__(self, port_name=None, options=None):
49 base.Port.__init__(self, port_name, options)
50 self._chromium_base_dir = None
52 def baseline_path(self):
53 return self._chromium_baseline_path(self._name)
55 def check_sys_deps(self):
57 test_shell_binary_path = self._path_to_driver()
71 image_diff_path = self._path_to_image_diff()
73 self._options.no_pixel_tests)
    [all...]
http_server.py 52 def __init__(self, port_obj, output_dir, background=False, port=None,
58 http_server_base.HttpServerBase.__init__(self, port_obj)
59 self._output_dir = output_dir
60 self._process = None
61 self._port = port
62 self._root = root
63 self._register_cygwin = register_cygwin
64 self._run_background = run_background
65 if self._port:
66 self._port = int(self._port
    [all...]
chromium_mac.py 43 def __init__(self, port_name=None, options=None):
46 chromium.ChromiumPort.__init__(self, port_name, options)
48 def baseline_search_path(self):
49 return [self.baseline_path(),
50 self._webkit_baseline_path('mac' + self.version()),
51 self._webkit_baseline_path('mac')]
53 def check_sys_deps(self):
57 def num_cores(self):
61 def test_platform_name(self)
    [all...]
  /external/expat/amiga/
expat_vectors.c 172 uint32 _Expat_Obtain(struct ExpatIFace *Self)
174 return ++Self->Data.RefCount;
177 uint32 _Expat_Release(struct ExpatIFace *Self)
179 return --Self->Data.RefCount;
182 XML_Parser _Expat_XML_ParserCreate(struct ExpatIFace * Self, const XML_Char *encoding)
187 XML_Parser _Expat_XML_ParserCreateNS(struct ExpatIFace * Self, const XML_Char *encoding, XML_Char nsSep)
192 XML_Parser _Expat_XML_ParserCreate_MM(struct ExpatIFace * Self, const XML_Char *encoding, const XML_Memory_Handling_Suite *memsuite, const XML_Char *namespaceSeparator)
197 XML_Parser _Expat_XML_ExternalEntityParserCreate(struct ExpatIFace * Self, XML_Parser parser, const XML_Char *context, const XML_Char *encoding)
202 void _Expat_XML_ParserFree(struct ExpatIFace *Self, XML_Parser parser)
207 enum XML_Status _Expat_XML_Parse(struct ExpatIFace * Self, XML_Parser parser, const char * s, int len, int isFinal
    [all...]
  /external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/layout_package/
test_expectations.py 53 def __init__(self, port, tests, expectations, test_platform_name,
72 self._expected_failures = TestExpectationsFile(port, expectations,
81 def get_expectations_json_for_all_platforms(self):
83 self._expected_failures.get_expectations_json_for_all_platforms())
85 def get_rebaselining_failures(self):
86 return (self._expected_failures.get_test_set(REBASELINE, FAIL) |
87 self._expected_failures.get_test_set(REBASELINE, IMAGE) |
88 self._expected_failures.get_test_set(REBASELINE, TEXT) |
89 self._expected_failures.get_test_set(REBASELINE,
92 def get_options(self, test)
    [all...]
  /external/srec/srec/Nametag/include/
SR_Nametags.h 48 * @param self Nametags handle
51 ESR_ReturnCode(*load)(struct SR_Nametags_t* self, const LCHAR* filename);
56 * @param self Nametags handle
59 ESR_ReturnCode(*save)(struct SR_Nametags_t* self, const LCHAR* filename);
64 * @param self Nametags handle
67 ESR_ReturnCode(*add)(struct SR_Nametags_t* self, SR_Nametag* nametag);
72 * @param self Nametags handle
75 ESR_ReturnCode(*remove)(struct SR_Nametags_t* self, const LCHAR* id);
80 * @param self Nametags handle
83 ESR_ReturnCode(*getSize)(struct SR_Nametags_t* self, size_t* result)
    [all...]
  /external/sonivox/jet_tools/JetCreator/
eas.py 196 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, volume):
    [all...]
  /external/webkit/WebKitTools/pywebsocket/test/
test_dispatch.py 52 def test_normalize_path(self):
53 self.assertEqual(os.path.abspath('/a/b').replace('\\', '/'),
55 self.assertEqual(os.path.abspath('/a/b').replace('\\', '/'),
57 self.assertEqual(os.path.abspath('/a/b').replace('\\', '/'),
59 self.assertEqual(os.path.abspath('abc').replace('\\', '/'),
62 def test_converter(self):
64 self.assertEqual('/h', converter('/a/b/h_wsh.py'))
65 self.assertEqual('/c/h', converter('/a/b/c/h_wsh.py'))
66 self.assertEqual(None, converter('/a/b/h.py'))
67 self.assertEqual(None, converter('a/b/h_wsh.py')
    [all...]
  /cts/tools/utils/cts/
tools.py 39 def __init__(self, is_root=False):
40 self.is_root = is_root
41 self.test_cases = {}
42 self.test_suites = {}
44 def Add(self, names):
47 test_case = self.test_cases.setdefault(names[0], [])
50 sub_suite = self.test_suites.setdefault(names[0], TestPackage.TestSuite())
53 def WriteDescription(self, doc, parent):
55 for (suite_name, suite) in self.test_suites.iteritems():
61 for (case_name, test_list) in self.test_cases.iteritems()
    [all...]
  /external/bluetooth/bluez/audio/
gstavdtpsink.c 111 static GIOError gst_avdtp_sink_audioservice_send(GstAvdtpSink *self,
114 GstAvdtpSink *self,
131 GstAvdtpSink *self = GST_AVDTP_SINK(basesink); local
133 GST_INFO_OBJECT(self, "stop");
135 if (self->watch_id != 0) {
136 g_source_remove(self->watch_id);
137 self->watch_id = 0;
140 if (self->server) {
141 bt_audio_service_close(g_io_channel_unix_get_fd(self->server));
142 g_io_channel_unref(self->server)
172 GstAvdtpSink *self = GST_AVDTP_SINK(object); local
823 GstAvdtpSink *self = GST_AVDTP_SINK(user_data); local
856 GstAvdtpSink *self = GST_AVDTP_SINK(basesink); local
871 GstAvdtpSink *self = GST_AVDTP_SINK(basesink); local
1149 GstAvdtpSink *self = GST_AVDTP_SINK(basesink); local
1168 GstAvdtpSink *self = GST_AVDTP_SINK(basesink); local
1180 GstAvdtpSink *self = GST_AVDTP_SINK(basesink); local
    [all...]
  /development/testrunner/test_defs/
test_defs.py 36 def __init__(self):
38 self._testname_map = {}
40 def __iter__(self):
42 for k in sorted(self._testname_map):
43 ordered_list.append(self._testname_map[k])
46 def Parse(self, file_path):
56 self._ParseDoc(doc)
67 def ParseString(self, xml_string):
71 return self._ParseDoc(doc)
73 def _ParseDoc(self, doc)
    [all...]
  /external/webkit/WebKit/mac/Plugins/
WebBaseNetscapePluginView.mm 119 WebCoreObjCFinalizeOnMainThread(self);
134 self = [super initWithFrame:frame];
135 if (!self)
153 [self setAttributeKeys:mutableKeys.get() andValues:mutableValues.get()];
156 [self setAttributeKeys:keys andValues:values];
164 _haltable = new WebHaltablePlugin(self);
165 return self;
212 NSURL *URL = [self URLWithCString:URLCString];
217 Frame* frame = core([self webFrame]);
284 [self removeTrackingRect:_trackingTag]
    [all...]
  /external/webkit/WebKitTools/Scripts/webkitpy/style/processors/
text_unittest.py 40 def assertNoError(self, lines):
42 self.had_error = False
46 self.had_error = True
49 self.assert_(not self.had_error, '%s should not have any errors.' % lines)
51 def assertError(self, lines, expected_line_number):
53 self.had_error = False
57 self.assertEquals(expected_line_number, line_number)
58 self.assertEquals('whitespace/tab', category)
59 self.had_error = Tru
    [all...]

Completed in 82 milliseconds

1 2 3 45 6 7 8 91011>>