/external/chromium/chrome/browser/ui/cocoa/ |
hyperlink_button_cell.mm | 21 if ((self = [super init])) { 22 [self customizeButtonCell]; 24 return self; 29 if ((self = [super initWithCoder:aDecoder])) { 30 [self customizeButtonCell]; 32 return self; 37 if ((self = [super initTextCell:title])) { 38 [self customizeButtonCell]; 40 return self; 46 [self setBordered:NO] [all...] |
/external/clang/test/SemaObjC/ |
protocol-qualified-class-unsupported.m | 12 + self; 35 doSomething([Derived self]); 36 doSomething([Derived2 self]); 37 doSomethingElse([Derived self]); 38 doSomethingElse([Derived2 self]);
|
self-declared-in-block.m | 12 char self; 35 __typeof(self) newSelf = self; 37 __typeof(self) self = newSelf; 41 C* self; 47 id self;
|
/external/protobuf/python/google/protobuf/internal/ |
containers.py | 52 def __init__(self, message_listener): 59 self._message_listener = message_listener 60 self._values = [] 62 def __getitem__(self, key): 64 return self._values[key] 66 def __len__(self): 68 return len(self._values) 70 def __ne__(self, other): 73 return not self == other 75 def __repr__(self) [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/webkit/Tools/Scripts/webkitpy/common/net/irc/ |
ircproxy.py | 37 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._irc_delegate [all...] |
ircbot.py | 37 def irc_message_received(self, nick, message): 40 def irc_nickname(self): 43 def irc_password(self): 49 def __init__(self, 52 self._message_queue = message_queue 53 self._delegate = delegate 55 self, 59 self._delegate.irc_password() 61 self._delegate.irc_nickname(), 62 self._delegate.irc_nickname() [all...] |
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
test_failures_unittest.py | 37 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...] |
/external/chromium/net/tools/testserver/ |
xmppserver.py | 32 def __init__(self, xml_element): 34 Error.__init__(self, 'Unexpected XML element', xml_text) 83 def __init__(self, ...): 85 self._parser = StanzaParser(self) 88 def SomeFunction(self, ...): 90 self._parser.FeedString(some_data) 93 def FeedStanza(self, stanza): 122 def __init__(self, delegate): 123 self._buffer = ' [all...] |
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
config.py | 64 def __init__(self, executive, filesystem): 65 self._executive = executive 66 self._filesystem = filesystem 67 self._webkit_base_dir = None 68 self._default_configuration = None 69 self._build_directories = {} 71 def build_directory(self, configuration): 75 self._FLAGS_FROM_CONFIGURATIONS[configuration]] 80 if not self._build_directories.get(configuration): 81 args = ["perl", self._script_path("webkit-build-directory")] + flag [all...] |
port_testcase.py | 49 def port_maker(self, platform): 55 def make_port(self, options=mock_options): 58 maker = self.port_maker(sys.platform) 64 def test_default_worker_model(self): 65 port = self.make_port() 70 self.assertEqual(port.default_worker_model(), 'processes') 72 self.assertEqual(port.default_worker_model(), 'threads') 74 def test_driver_cmd_line(self): 75 port = self.make_port() 78 self.assertTrue(len(port.driver_cmd_line()) [all...] |
chromium_gpu_unittest.py | 35 def test_get_chromium_gpu_linux(self): 36 self.assertOverridesWorked('chromium-gpu-linux') 38 def test_get_chromium_gpu_mac(self): 39 self.assertOverridesWorked('chromium-gpu-mac') 41 def test_get_chromium_gpu_win(self): 42 self.assertOverridesWorked('chromium-gpu-win') 44 def test_get_chromium_gpu__on_linux(self): 45 self.assertOverridesWorked('chromium-gpu-linux', 'chromium-gpu', 'linux2') 47 def test_get_chromium_gpu__on_mac(self): 48 self.assertOverridesWorked('chromium-gpu-mac', 'chromium-gpu', 'darwin' [all...] |
chromium_unittest.py | 48 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.driver._proc.stdin.getvalue(), expected_stdin [all...] |
/external/webkit/Tools/Scripts/webkitpy/tool/ |
multicommandtool_unittest.py | 41 def __init__(self, **kwargs): 42 Command.__init__(self, "help text", **kwargs) 44 def execute(self, options, args, tool): 57 def __init__(self, **kwargs): 58 Command.__init__(self, "help text", **kwargs) 59 self.execute_count = 0 61 def execute(self, options, args, tool): 62 self.execute_count += 1 63 if self.execute_count < 2: 68 def test_name_with_arguments(self) [all...] |
multicommandtool.py | 49 def __init__(self, help_text, argument_names=None, options=None, long_help=None, requires_local_commits=False): 50 self.help_text = help_text 51 self.long_help = long_help 52 self.argument_names = argument_names 53 self.required_arguments = self._parse_required_arguments(argument_names) 54 self.options = options 55 self.requires_local_commits = requires_local_commits 56 self._tool = None 59 self.option_parser = HelpPrintingOptionParser(usage=SUPPRESS_USAGE, add_help_option=False, option_list= (…) [all...] |
/bionic/libc/kernel/tools/ |
kernel.py | 67 def __init__(self,config={}): 69 self.reset() 70 self.config = config 72 def reset(self,config={}): 73 self.files = set() # set of files being parsed for headers 74 self.headers = {} # maps headers to set of users 75 self.config = config 77 def checkInclude(self, line, from_file, kernel_root=None): 87 self.files.add(from_file) 98 if not header in self.headers [all...] |
/build/tools/releasetools/ |
edify_generator.py | 24 def __init__(self, version, info): 25 self.script = [] 26 self.mounts = set() 27 self.version = version 28 self.info = info 30 def MakeTemporary(self): 34 x = EdifyGenerator(self.version, self.info) 35 x.mounts = self.mounts 66 def AppendScript(self, other) [all...] |
/external/srec/srec/Recognizer/include/ |
SR_Recognizer.h | 146 * @param self SR_Recognizer handle 147 * @return ESR_INVALID_ARGUMENT if self is null, if no acoustic models have been associated with the recognizer, 150 ESR_ReturnCode(*start)(struct SR_Recognizer_t* self); 156 * @param self SR_Recognizer handle 157 * @return ESR_INVALID_ARGUMENT if self is null; ESR_INVALID_STATE if an internal error has occured 159 ESR_ReturnCode(*stop)(struct SR_Recognizer_t* self); 163 * @param self SR_Recognizer handle 164 * @return ESR_INVALID_ARGUMENT if self is null; ESR_INVALID_STATE if an internal error has occured 166 ESR_ReturnCode(*destroy)(struct SR_Recognizer_t* self); 170 * @param self SR_Recognizer handl [all...] |
/external/srec/shared/include/ |
Int8ArrayList.h | 45 * @param self Int8ArrayList handle 48 ESR_ReturnCode(*add)(struct Int8ArrayList_t* self, asr_int8_t element); 53 * @param self Int8ArrayList handle 56 ESR_ReturnCode(*remove)(struct Int8ArrayList_t* self, asr_int8_t element); 61 * @param self Int8ArrayList handle 63 ESR_ReturnCode(*removeAll)(struct Int8ArrayList_t* self); 68 * @param self Int8ArrayList handle 72 ESR_ReturnCode(*contains)(struct Int8ArrayList_t* self, asr_int8_t element, ESR_BOOL* exists); 77 * @param self Int8ArrayList handle 80 ESR_ReturnCode(*getSize)(struct Int8ArrayList_t* self, size_t* size) [all...] |
HashMap.h | 47 * @param self HashMap handle 50 * @return ESR_INVALID_ARGUMENT if self is null; ESR_OUT_OF_MEMORY if system is out of memory 52 ESR_ReturnCode(*put)(struct HashMap_t* self, const LCHAR* key, void* value); 57 * @param self HashMap handle 59 * @return ESR_INVALID_ARGUMENT if self is null 61 ESR_ReturnCode(*remove)(struct HashMap_t* self, const LCHAR* key); 66 * @param self HashMap handle 68 * @return ESR_INVALID_ARGUMENT if self is null 70 ESR_ReturnCode(*removeAndFree)(struct HashMap_t* self, const LCHAR* key); 75 * @param self HashMap handl [all...] |
/external/chromium/chrome/browser/ui/cocoa/applescript/ |
element_applescript.mm | 17 return [[NSUniqueIDSpecifier allocWithZone:[self zone]] 19 (NSScriptClassDescription*)[[self container] classDescription] 21 [[self container] objectSpecifier] 22 key:[self containerProperty] 23 uniqueID:[self uniqueID]]; 27 [self setContainer:value]; 28 [self setContainerProperty:property];
|
/external/clang/test/ARCMT/ |
init.m.result | 18 self = [self init]; 23 return self; 27 self = [super init]; 28 return self; 32 [self init]; 35 return self;
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
filesystem_unittest.py | 46 def setUp(self): 47 self._this_dir = os.path.dirname(os.path.abspath(__file__)) 48 self._missing_file = os.path.join(self._this_dir, 'missing_file.py') 49 self._this_file = os.path.join(self._this_dir, 'filesystem_unittest.py') 51 def test_chdir(self): 58 self.assertEquals(fs.getcwd(), newdir) 61 def test_chdir__notexists(self): 66 self.assertRaises(OSError, fs.chdir, newdir [all...] |
/external/webkit/Tools/Scripts/webkitpy/style/ |
filter_unittest.py | 56 def test_validate_filter_rules(self): 75 self.assertRaises(ValueError, validate_filter_rules, 87 def test_init(self): 91 self.assertEquals(["+"], filter._filter_rules) 93 def test_init_default_arguments(self): 96 self.assertEquals([], filter._filter_rules) 98 def test_str(self): 101 self.assertEquals(str(filter), "+a,-b") 103 def test_eq(self): 111 self.assertTrue(filter1.__eq__(filter2) [all...] |
/external/webkit/Tools/Scripts/webkitpy/layout_tests/ |
run_webkit_tests_unittest.py | 143 def __init__(self, port, worker_number): 144 TestDriver.__init__(self, port, worker_number) 145 self._current_test_batch = None 147 def poll(self): 151 def stop(self): 152 self._current_test_batch = None 154 def run_test(self, test_input): 155 if self._current_test_batch is None: 156 self._current_test_batch = [] 157 test_batches.append(self._current_test_batch [all...] |