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

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/Tools/MiniBrowser/
MBToolbarItem.m 32 [self setEnabled:[[self target] validateUserInterfaceItem:self]];
  /external/srec/shared/src/
HashMap.c 25 ESR_ReturnCode HashMapPut(HashMap* self, const LCHAR* key, void* value)
27 if (self == NULL)
29 return self->put(self, key, value);
32 ESR_ReturnCode HashMapRemove(HashMap* self, const LCHAR* key)
34 if (self == NULL)
36 return self->remove(self, key);
39 ESR_ReturnCode HashMapRemoveAndFree(HashMap* self, const LCHAR* key)
41 if (self == NULL
    [all...]
lstring.c 25 ESR_ReturnCode LStringAppend(LString* self, const LCHAR* value)
27 if (self == NULL)
32 return self->append(self, value);
35 ESR_ReturnCode LStringToLCHAR(LString* self, LCHAR** result)
37 if (self == NULL)
42 return self->toLCHAR(self, result);
45 ESR_ReturnCode LStringReset(LString* self)
47 if (self == NULL
    [all...]
IntArrayList.c 24 ESR_ReturnCode IntArrayListAdd(IntArrayList* self, int element)
26 if (self == NULL)
28 return self->add(self, element);
31 ESR_ReturnCode IntArrayListRemove(IntArrayList* self, int element)
33 if (self == NULL)
35 return self->remove(self, element);
38 ESR_ReturnCode IntArrayListRemoveAll(IntArrayList* self)
40 if (self == NULL
    [all...]
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...]
  /frameworks/base/tools/orientationplot/
orientationplot.py 40 def __init__(self, stream):
42 self.stream = stream
43 self.buffer = ''
44 self.pos = 0
46 def readline(self):
48 index = self.buffer.find('\n', self.pos)
50 result = self.buffer[self.pos:index]
51 self.pos = index +
    [all...]
  /external/markdown/
regression-tests.py 18 def setUp(self):
20 self.md = markdown.Markdown()
22 def testBlankInput(self):
24 self.assertEqual(self.md.convert(''), '')
26 def testWhitespaceOnly(self):
28 self.assertEqual(self.md.convert(' '), '')
30 def testSimpleInput(self):
32 self.assertEqual(self.md.convert('foo'), '<p>foo</p>'
    [all...]
  /external/bluetooth/bluez/test/
apitest 89 def __init__(self, argv):
90 self.name = argv[0]
92 self.parse_args(argv[1:])
95 self.dbus_setup()
100 def parse_args(self, argv):
104 self.usage()
109 self.usage()
112 self.listen = True
115 self.dev_path = a
117 self.dev_path = '/org/bluez/%s' %
    [all...]
  /external/embunit/src/
TestResult.c 39 void TestResult_init(TestResult* self,TestListner* listner)
41 self->runCount = 0;
42 self->failureCount = 0;
43 self->listener = listner;
46 void TestResult_startTest(TestResult* self,Test* test)
48 self->runCount++;
49 if (self->listener) {
50 TestListner_startTest(self->listener, test);
54 void TestResult_endTest(TestResult* self,Test* test)
56 if (self->listener)
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/common/thread/
threadedmessagequeue.py 35 def __init__(self):
36 self._messages = []
37 self._is_running = True
38 self._lock = threading.Lock()
40 def post(self, message):
41 with self._lock:
42 self._messages.append(message)
44 def stop(self):
45 with self._lock:
46 self._is_running = Fals
    [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/system/
fileset.py 31 def __init__(self, fileset, filename, filesystem=None):
32 self._filename = filename
33 self._fileset = fileset
34 self._contents = None
35 self._filesystem = filesystem or FileSystem()
37 def __str__(self):
38 return "%s:%s" % (self._fileset, self._filename)
40 def close(self):
43 def contents(self)
    [all...]
directoryfileset_unittest.py 33 def setUp(self):
38 self._filesystem = MockFileSystem(files)
39 self._fileset = DirectoryFileSet('/test', self._filesystem)
41 def test_files_in_namelist(self):
42 self.assertTrue('some-file' in self._fileset.namelist())
43 self.assertTrue('some-other-file' in self._fileset.namelist())
44 self.assertTrue('b/c' in self._fileset.namelist()
    [all...]
directoryfileset.py 30 def __init__(self, path, filesystem=None):
31 self._path = path
32 self._filesystem = filesystem or FileSystem()
33 if not self._path.endswith(self._filesystem.sep):
34 self._path += self._filesystem.sep
36 def _full_path(self, filename):
37 assert self._is_under(self._path, filename
    [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...]
  /external/antlr/antlr-3.4/runtime/Python/antlr3/
tokens.py 44 def getText(self):
51 def setText(self, text):
59 def getType(self):
66 def setType(self, ttype):
74 def getLine(self):
83 def setLine(self, line):
91 def getCharPositionInLine(self):
100 def setCharPositionInLine(self, pos):
108 def getChannel(self):
115 def setChannel(self, channel)
    [all...]
  /development/testrunner/test_defs/
test_suite.py 27 def __init__(self):
28 self._name = None
29 self._build_path = None
30 self._build_dependencies = []
31 self._is_continuous = False
32 self._suite = None
33 self._description = ''
34 self._extra_build_args = ''
35 self._is_full_make = False
37 def GetName(self)
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/style/checkers/
cpp_unittest.py 56 def __init__(self, assert_fn, filter=None):
59 self._assert_fn = assert_fn
60 self._errors = []
63 self._filter = filter
65 def __call__(self, unused_linenum, category, confidence, message):
66 self._assert_fn(category in self._all_style_categories,
69 if self._filter.should_check(category, ""):
70 self._seen_style_categories[category] = 1
71 self._errors.append('%s [%s] [%d]' % (message, category, confidence)
    [all...]
  /external/srec/srec/Nametag/src/
Nametag.c 26 ESR_ReturnCode SR_NametagGetID(const SR_Nametag* self, LCHAR** id)
28 if (self == NULL)
33 return self->getID(self, id);
36 ESR_ReturnCode SR_NametagGetValue(const SR_Nametag* self, const char** pvalue, size_t* plen)
38 if (self == NULL || pvalue == NULL || plen == NULL)
43 return self->getValue(self, pvalue, plen);
46 ESR_ReturnCode SR_NametagSetID(SR_Nametag* self, const LCHAR* id)
48 if (self == NULL
    [all...]
  /external/srec/srec/EventLog/src/
EventLog.c 26 ESR_ReturnCode SR_EventLogDestroy(SR_EventLog* self)
28 if (self == NULL)
33 return self->destroy(self);
36 ESR_ReturnCode SR_EventLogToken(SR_EventLog* self, const LCHAR* token, const LCHAR *value)
38 if (self == NULL)
43 return self->token(self, token, value);
46 ESR_ReturnCode SR_EventLogTokenInt(SR_EventLog* self, const LCHAR* token, int value)
48 if (self == NULL
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/common/
array_stream.py 42 def __init__(self):
43 self._contents = []
45 def write(self, msg):
47 self._contents.append(msg)
49 def get(self):
51 return self._contents
53 def reset(self):
55 self._contents = []
57 def empty(self):
59 return (len(self._contents) == 0
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/common/net/bugzilla/
attachment.py 38 def __init__(self, attachment_dictionary, bug):
39 self._attachment_dictionary = attachment_dictionary
40 self._bug = bug
41 self._reviewer = None
42 self._committer = None
44 def _bugzilla(self):
45 return self._bug._bugzilla
47 def id(self):
48 return int(self._attachment_dictionary.get("id"))
50 def attacher_is_committer(self)
    [all...]
  /frameworks/base/tools/velocityplot/
velocityplot.py 44 def __init__(self, stream):
46 self.stream = stream
47 self.buffer = ''
48 self.pos = 0
50 def readline(self):
52 index = self.buffer.find('\n', self.pos)
54 result = self.buffer[self.pos:index]
55 self.pos = index +
    [all...]
  /external/webkit/Tools/QueueStatusServer/model/
queues_unittest.py 36 def test_is_ews(self):
38 self.assertTrue(mac_ews.is_ews())
40 def test_queue_with_name(self):
41 self.assertEqual(Queue.queue_with_name("bogus"), None)
42 self.assertEqual(Queue.queue_with_name("mac-ews").name(), "mac-ews")
43 self.assertRaises(AssertionError, Queue, ("bogus"))
45 def _assert_short_name(self, queue_name, short_name):
46 self.assertEquals(Queue(queue_name).short_name(), short_name)
48 def test_short_name(self):
49 self._assert_short_name("mac-ews", "Mac"
    [all...]

Completed in 360 milliseconds

1 2 3 4 5 6 7 8 91011>>