HomeSort by relevance Sort by last modified time
    Searched full:self (Results 51 - 75 of 3739) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/llvm/utils/lit/lit/
TestingConfig.py 65 def __init__(self, parent, name, suffixes, test_format,
69 self.parent = parent
70 self.name = str(name)
71 self.suffixes = set(suffixes)
72 self.test_format = test_format
73 self.environment = dict(environment)
74 self.substitutions = list(substitutions)
75 self.unsupported = unsupported
76 self.on_clone = on_clone
77 self.test_exec_root = test_exec_roo
    [all...]
  /external/srec/portable/src/
ArrayList.c 27 ESR_ReturnCode ArrayListAdd(ArrayList* self, void* element)
29 if (self == NULL)
34 return self->add(self, element);
37 ESR_ReturnCode ArrayListInsertAt(ArrayList* self, size_t index, void* element)
39 if (self == NULL)
44 return self->insertAt(self, index, element);
47 ESR_ReturnCode ArrayListRemove(ArrayList* self, void* element)
49 if (self == NULL
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/test/
skip_unittest.py 31 def setUp(self):
32 self.logger = logging.getLogger(__name__)
34 self.old_level = self.logger.level
35 self.logger.setLevel(logging.INFO)
37 self.old_propagate = self.logger.propagate
38 self.logger.propagate = False
40 self.log_stream = StringIO.StringIO()
41 self.handler = logging.StreamHandler(self.log_stream
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/common/checkout/
commitinfo.py 36 def __init__(self, revision, committer_email, changelog_data, committer_list=CommitterList()):
37 self._revision = revision
38 self._committer_email = committer_email
39 self._bug_id = changelog_data["bug_id"]
40 self._author_name = changelog_data["author_name"]
41 self._author_email = changelog_data["author_email"]
42 self._author = changelog_data["author"]
43 self._reviewer_text = changelog_data["reviewer_text"]
44 self._reviewer = changelog_data["reviewer"]
47 self._committer = committer_list.committer_by_email(committer_email
    [all...]
scm_unittest.py 183 def setUp(self):
184 self.orig_cwd = os.path.abspath(os.getcwd())
185 self.orig_abspath = os.path.abspath
189 self.output = OutputCapture()
190 self.output.capture_output()
192 def tearDown(self):
193 os.chdir(self.orig_cwd)
194 os.path.abspath = self.orig_abspath
195 self.output.restore_output()
197 def test_find_checkout_root(self)
    [all...]
  /external/srec/srec/Grammar/src/
SR_Grammar.c 28 ESR_ReturnCode SR_GrammarCompile(SR_Grammar* self)
30 if (self == NULL)
35 return self->compile(self);
38 ESR_ReturnCode SR_GrammarAddWordToSlot(SR_Grammar* self, const LCHAR* slot, const LCHAR* word,
42 if ( self == NULL )
47 return self->addWordToSlot(self, slot, word, pronunciation, weight, tag);
51 ESR_ReturnCode SR_GrammarResetAllSlots(SR_Grammar* self)
53 if (self == NULL
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
test_expectations_unittest.py 39 def test_result_was_expected(self):
41 self.assertEquals(result_was_expected(PASS, set([PASS]),
43 self.assertEquals(result_was_expected(TEXT, set([PASS]),
47 self.assertEquals(result_was_expected(IMAGE_PLUS_TEXT, set([FAIL]),
49 self.assertEquals(result_was_expected(IMAGE, set([FAIL]),
51 self.assertEquals(result_was_expected(TEXT, set([FAIL]),
53 self.assertEquals(result_was_expected(CRASH, set([FAIL]),
57 self.assertEquals(result_was_expected(SKIP, set([CRASH]),
59 self.assertEquals(result_was_expected(SKIP, set([CRASH]),
63 self.assertEquals(result_was_expected(MISSING, set([PASS])
    [all...]
worker.py 45 def __init__(self, worker_connection, worker_number, options):
46 self._worker_connection = worker_connection
47 self._worker_number = worker_number
48 self._options = options
49 self._name = 'worker/%d' % worker_number
50 self._done = False
51 self._canceled = False
52 self._port = None
54 def __del__(self):
55 self.cleanup(
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/tool/bot/
queueengine_unittest.py 42 def __init__(self, test):
43 self._test = test
44 self._callbacks = []
45 self._run_before = False
46 self.stop_message = None
60 def record(self, method_name):
61 self._callbacks.append(method_name)
63 def queue_log_path(self):
64 self.record("queue_log_path")
65 return os.path.join(self._test.temp_dir, "queue_log_path"
    [all...]
queueengine.py 45 def queue_log_path(self):
48 def work_item_log_path(self, work_item):
51 def begin_work_queue(self):
54 def should_continue_work_queue(self):
57 def next_work_item(self):
60 def should_proceed_with_work_item(self, work_item):
64 def process_work_item(self, work_item):
67 def handle_unexpected_error(self, work_item, message):
72 def __init__(self, name, delegate, wakeup_event):
73 self._name = nam
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
chromium_linux.py 50 def __init__(self, port_name=None, **kwargs):
52 chromium.ChromiumPort.__init__(self, port_name=port_name, **kwargs)
57 self._architecture = self._determine_architecture()
60 port_name = port_name + '-' + self._architecture
64 self._architecture = arch
65 assert self._architecture in self.SUPPORTED_ARCHITECTURES
69 self._name = port_name
70 self._operating_system = 'linux
    [all...]
chromium_mac.py 70 def __init__(self, port_name=None, os_version_string=None, **kwargs):
74 chromium.ChromiumPort.__init__(self, port_name=port_name, **kwargs)
76 self._version = mac.os_version(os_version_string, self.SUPPORTED_OS_VERSIONS)
77 self._name = port_name + '-' + self._version
79 self._version = port_name[port_name.index('-mac-') + 5:]
80 assert self._version in self.SUPPORTED_OS_VERSIONS
81 self._operating_system = 'mac
    [all...]
factory_unittest.py 57 def setUp(self):
58 self.real_sys_platform = sys.platform
59 self.webkit_options = mocktool.MockOptions(pixel_tests=False)
60 self.chromium_options = mocktool.MockOptions(pixel_tests=False,
63 def tearDown(self):
64 sys.platform = self.real_sys_platform
66 def assert_port(self, port_name, expected_port, port_obj=None):
75 self.assertTrue(isinstance(port_obj, expected_port))
77 def assert_platform_port(self, platform, options, expected_port):
88 self.assertTrue(isinstance(factory.get(options=options)
    [all...]
  /external/clang/test/SemaObjC/
idiomatic-parentheses.m 15 if (self = [self init]) {
17 return self;
21 if (self = [self initWithInt: i]) {
23 return self;
33 return self;
  /external/srec/srec/AcousticModels/src/
AcousticModels.c 26 ESR_ReturnCode SR_AcousticModelsDestroy(SR_AcousticModels* self)
28 if (self == NULL)
33 return self->destroy(self);
36 ESR_ReturnCode SR_AcousticModelsSave(SR_AcousticModels* self, const LCHAR* filename)
38 if (self == NULL)
43 return self->save(self, filename);
46 ESR_ReturnCode SR_AcousticModelsSetParameter(SR_AcousticModels* self, const LCHAR* key, LCHAR* value)
48 if (self == NULL
    [all...]
  /external/quake/quake/src/QW/progs/
subs.qc 5 void() SUB_Remove = {remove(self);};
14 if (self.angles == '0 -1 0')
15 self.movedir = '0 0 1';
16 else if (self.angles == '0 -2 0')
17 self.movedir = '0 0 -1';
20 makevectors (self.angles);
21 self.movedir = v_forward;
24 self.angles = '0 0 0';
36 if (self.angles != '0 0 0')
38 self.solid = SOLID_TRIGGER
    [all...]
  /external/srec/shared/src/
Int8ArrayList.c 26 ESR_ReturnCode Int8ArrayListAdd(Int8ArrayList* self, asr_int8_t element)
28 if (self == NULL)
33 return self->add(self, element);
36 ESR_ReturnCode Int8ArrayListRemove(Int8ArrayList* self, asr_int8_t element)
38 if (self == NULL)
43 return self->remove(self, element);
46 ESR_ReturnCode Int8ArrayListRemoveAll(Int8ArrayList* self)
48 if (self == NULL
    [all...]
  /external/v8/test/cctest/
testcfg.py 37 def __init__(self, path, executable, mode, raw_name, dependency, context, variant_flags):
38 super(CcTestCase, self).__init__(context, path, mode)
39 self.executable = executable
40 self.raw_name = raw_name
41 self.dependency = dependency
42 self.variant_flags = variant_flags
44 def GetLabel(self):
45 return "%s %s %s" % (self.mode, self.path[-2], self.path[-1]
    [all...]
  /external/v8/test/sputnik/
testcfg.py 38 def __init__(self, case, path, context, mode):
39 super(SputnikTestCase, self).__init__(context, path, mode)
40 self.case = case
41 self.tmpfile = None
42 self.source = None
44 def IsNegative(self):
45 return '@negative' in self.GetSource()
47 def IsFailureOutput(self, output):
53 def BeforeRun(self):
54 self.tmpfile = sputnik.TempFile(suffix='.js', prefix='sputnik-', text=True
    [all...]
  /external/v8/test/mjsunit/
testcfg.py 41 def __init__(self, path, file, mode, context, config, isolates):
42 super(MjsunitTestCase, self).__init__(context, path, mode)
43 self.file = file
44 self.config = config
45 self.self_script = False
46 self.isolates = isolates
48 def GetLabel(self):
49 return "%s %s" % (self.mode, self.GetName())
51 def GetName(self)
    [all...]
  /development/testrunner/
coverage_targets.py 42 def __init__(self, ):
43 self._target_map= {}
45 def __iter__(self):
46 return iter(self._target_map.values())
48 def Parse(self, file_path):
66 target_elements = doc.getElementsByTagName(self._TARGET_TAG_NAME)
70 self._AddTarget(target)
72 def _AddTarget(self, target):
73 self._target_map[target.GetName()] = target
75 def GetBuildTargets(self)
    [all...]
  /external/clang/test/Analysis/
self-init.m 46 static id _commonInit(MyObj *self) {
47 return self;
66 do { if (!((somePtr != 0))) { [[NSAssertionHandler currentHandler] handleFailureInMethod:_cmd object:self file:[NSString stringWithUTF8String:"init.m"] lineNumber:21 description:(@"Invalid parameter not satisfying: %s"), ("x != 0"), (0), (0), (0), (0)]; } } while(0);
67 return [self initWithSomething:0];
71 self = [self initWithSomething:0];
72 return self;
76 log([self class]);
77 return [self initWithSomething:0];
81 self = [super init]
    [all...]
  /development/tools/emulator/opengl/system/GLESv2_enc/
GL2Encoder.h 63 static GLenum s_glGetError(void * self);
66 static void s_glFlush(void * self);
69 static void s_glPixelStorei(void *self, GLenum param, GLint value);
72 static const GLubyte * s_glGetString(void *self, GLenum name);
75 static void s_glBindBuffer(void *self, GLenum target, GLuint id);
79 static void s_glBufferData(void *self, GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage);
81 static void s_glBufferSubData(void *self, GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data);
83 static void s_glDeleteBuffers(void *self, GLsizei n, const GLuint * buffers);
86 static void s_glDrawArrays(void *self, GLenum mode, GLint first, GLsizei count);
89 static void s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices)
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/style/
filereader_unittest.py 49 def __init__(self):
50 self.processed = []
53 def should_process(self, file_path):
56 def process(self, lines, file_path, test_kwarg=None):
57 self.processed.append((lines, file_path, test_kwarg))
59 def setUp(self):
60 LoggingTestCase.setUp(self)
65 self._file_reader = TextFileReader(processor)
66 self._processor = processor
67 self._temp_dir = temp_di
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/common/net/
statusserver.py 47 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.bot_id = bot_i
    [all...]

Completed in 1034 milliseconds

1 23 4 5 6 7 8 91011>>