/external/webkit/WebCore/bindings/objc/ |
DOMObject.mm | 48 [NSException raise:NSGenericException format:@"+[%@ init]: should never be used", NSStringFromClass([self class])]; 49 [self release]; 63 return [self retain]; 74 if ([self isKindOfClass:[DOMProcessingInstruction class]]) 75 styleSheet = core(static_cast<DOMProcessingInstruction *>(self))->sheet(); 76 else if ([self isKindOfClass:[DOMHTMLLinkElement class]]) 77 styleSheet = core(static_cast<DOMHTMLLinkElement *>(self))->sheet(); 78 else if ([self isKindOfClass:[DOMHTMLStyleElement class]]) 79 styleSheet = core(static_cast<DOMHTMLStyleElement *>(self))->sheet();
|
/external/webkit/WebKit/mac/Plugins/ |
WebPluginPackage.m | 45 if (!(self = [super initWithPath:pluginPath])) 49 [self release]; 57 [self release]; 65 if (![self isNativeLibraryData:data]) { 66 [self release]; 70 if (![self getPluginInfoFromPLists]) { 71 [self release]; 75 return self; 97 LOG(Plugins, "principalClass took %f seconds for: %@", duration, [self name]);
|
/external/webkit/WebKit/mac/WebView/ |
WebPolicyDelegate.mm | 58 self = [super init]; 59 if (!self) 63 return self; 78 self = [super init]; 79 if (!self) 82 return self; 108 [self _usePolicy:PolicyUse]; 113 [self _usePolicy:PolicyIgnore]; 118 [self _usePolicy:PolicyDownload];
|
/external/webkit/WebKitTools/Scripts/webkitpy/ |
bugzilla_unittest.py | 40 def open(self, url): 43 def select_form(self, name): 46 def __setitem__(self, key, value): 49 def submit(self): 53 def test_flag_permission_rejection_message(self): 60 self.assertEqual(validator._flag_permission_rejection_message("foo@foo.com", "review"), expected_messsage) 104 def test_parse_bug_id(self): 107 self.assertEquals(12345, parse_bug_id("http://webkit.org/b/12345")) 108 self.assertEquals(12345, parse_bug_id("http://bugs.webkit.org/show_bug.cgi?id=12345")) 109 self.assertEquals(12345, parse_bug_id(bugs.short_bug_url_for_bug_id(12345)) [all...] |
buildbot.py | 46 def __init__(self, host=default_host): 47 self.buildbot_host = host 48 self.buildbot_server_url = "http://%s/" % self.buildbot_host 54 self.core_builder_names_regexps = [ 60 def _parse_builder_status_from_row(self, status_row): 71 builder['builder_url'] = self.buildbot_server_url + name_link['href'] 91 builder['build_url'] = self.buildbot_server_url + status_link['href'] 97 def _builder_statuses_with_names_matching_regexps(self, 107 def red_core_builders(self) [all...] |
credentials_unittest.py | 64 def test_keychain_lookup_on_non_mac(self): 66 def _is_mac_os_x(self): 69 self.assertEqual(credentials._is_mac_os_x(), False) 70 self.assertEqual(credentials._credentials_from_keychain("foo"), ["foo", None]) 72 def test_security_output_parse(self): 74 self.assertEqual(credentials._parse_security_tool_output(self.example_security_output), ["test@webkit.org", "SECRETSAUCE"]) 76 def test_security_output_parse_entry_not_found(self): 85 self.assertEqual(credentials._run_security_tool(), None) 88 def _assert_security_call(self, username=None) [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/steps/ |
postdiff.py | 45 def run(self, state): 46 diff = self.cached_lookup(state, "diff") 48 description = self._options.description or "Patch" 49 self._tool.bugs.add_patch_to_bug(state["bug_id"], diff_file, description, mark_for_review=self._options.review, mark_for_commit_queue=self._options.request_commit) 50 if self._options.open_bug: 51 self._tool.user.open_url(self._tool.bugs.bug_url_for_bug_id(state["bug_id"]))
|
/external/webkit/WebKitTools/pywebsocket/test/ |
test_memorizingfile.py | 44 def check(self, memorizing_file, num_read, expected_list): 48 self.assertEqual(len(expected_list), len(actual_list)) 50 self.assertEqual(expected, actual) 52 def test_get_memorized_lines(self): 55 self.check(memorizing_file, 3, ['Hello\n', 'World\n', 'Welcome']) 57 def test_get_memorized_lines_limit_memorized_lines(self): 60 self.check(memorizing_file, 3, ['Hello\n', 'World\n']) 62 def test_get_memorized_lines_empty_file(self): 65 self.check(memorizing_file, 10, [])
|
/external/opencore/oscl/oscl/osclio/src/ |
oscl_socket.cpp | 33 OsclSocketServ *self = OSCL_PLACEMENT_NEW(p, OsclSocketServ(alloc)); local 34 OsclError::LeaveIfNull(self); 35 OsclError::PushL(self); 36 self->iServ = OsclSocketServI::NewL(alloc); 38 return self; 67 OsclUDPSocket *self = OSCL_PLACEMENT_NEW(p, OsclUDPSocket(alloc)); local 68 OsclError::LeaveIfNull(self); 69 OsclError::PushL(self); 70 self->iUDPSocket = OsclUDPSocketI::NewL(alloc, aServ.iServ, aObserver, aId); 72 return self; 160 OsclTCPSocket *self = OSCL_PLACEMENT_NEW(p, OsclTCPSocket(alloc)); local 174 OsclTCPSocket *self = OSCL_PLACEMENT_NEW(p, OsclTCPSocket(alloc)); local [all...] |
/external/sonivox/jet_tools/JetCreator/ |
JetStatusEvent.py | 32 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
|
/dalvik/vm/interp/ |
Stack.c | 59 static bool dvmPushInterpFrame(Thread* self, const Method* method) 73 if (self->curFrame != NULL) 74 stackPtr = (u1*) SAVEAREA_FROM_FP(self->curFrame); 76 stackPtr = self->interpStackStart; 78 if (stackPtr - stackReq < self->interpStackEnd) { 82 stackReq, self->interpStackStart, self->curFrame, 83 self->interpStackSize, method->clazz->descriptor, method->name); 84 dvmHandleStackOverflow(self, method); 85 assert(dvmCheckException(self)); 665 Thread* self = dvmThreadSelf(); local [all...] |
/development/scripts/app_engine_server/gae_shell/ |
shell.py | 106 def set_global(self, name, value): 117 if name in self.global_names: 118 index = self.global_names.index(name) 119 self.globals[index] = blob 121 self.global_names.append(db.Text(name)) 122 self.globals.append(blob) 124 self.remove_unpicklable_name(name) 126 def remove_global(self, name): 132 if name in self.global_names: 133 index = self.global_names.index(name [all...] |
/external/webkit/WebKitTools/Scripts/ |
validate-committer-lists | 59 def _fetch_emails_from_page(self, url): 91 def check_for_emails_missing_from_list(self, committer_list): 92 committer_emails = self._fetch_emails_from_page(self.committers_list_url) 95 missing_from_mailing_list = self._commiters_not_found_in_email_list(committer_list.committers(), committer_emails) 98 users_missing_from_committers = self._emails_not_found_in_committer_list(committer_list.committers(), committer_emails) 102 reviewer_emails = self._fetch_emails_from_page(self.reviewers_list_url) 105 missing_from_mailing_list = self._commiters_not_found_in_email_list(committer_list.reviewers(), reviewer_emails) 108 missing_from_reviewers = self._emails_not_found_in_committer_list(committer_list.reviewers(), reviewer_emails [all...] |
/external/clearsilver/scripts/ |
document.py | 29 def __init__ (self, name): 30 self._name = name 31 self._title = None 32 self._desc = None 33 self._args = None 34 self._retr = None 35 self._defn = None 36 self._output = None 37 self._other = "" 39 def __repr__(self) [all...] |
/external/clearsilver/python/examples/trans/ |
trans.py | 42 def __init__ (self, string_id, filename, location): 43 self.string_id = string_id 44 self.filename = filename 45 self.location = location 55 def __init__ (self): 56 self.tdb = db_trans.trans_connect() 61 self.root = "testroot" 62 self.languages = ['es', 'en'] 64 self.ignore_paths = ['tmpl/m'] # common place for mockups 65 self.ignore_files = ['blah_ignore.cs'] # ignore clearsilver fil [all...] |
/external/srec/portable/src/ |
PANSIFileImpl.c | 34 ESR_ReturnCode PANSIFileCreateImpl(const LCHAR* filename, ESR_BOOL isLittleEndian, PFile** self) 68 *self = &impl->Interface.Interface; 76 ESR_ReturnCode PANSIFileDestroyImpl(PFile* self) 80 CHK(rc, PFileDestroyImpl(self)); 81 FREE(self); 114 ESR_ReturnCode PANSIFileOpenImpl(PFile* self, const LCHAR* mode) 116 PANSIFileImpl* impl = (PANSIFileImpl*) self; 143 ESR_ReturnCode PANSIFileCloseImpl(PFile* self) 145 PANSIFileImpl* impl = (PANSIFileImpl*) self; 159 ESR_ReturnCode PANSIFileReadImpl(PFile* self, void* buffer, size_t size, size_t* count [all...] |
PFileImpl.c | 35 ESR_ReturnCode PFileCreateImpl(PFile* self, const LCHAR* filename, ESR_BOOL isLittleEndian) 37 PFileImpl* impl = (PFileImpl*) self; 77 self->destroy(self); 108 ESR_ReturnCode PFileDestroyImpl(PFile* self) 110 PFileImpl* impl = (PFileImpl*) self; 115 CHKLOG(rc, self->isOpen(self, &isOpen)); 117 CHKLOG(rc, self->close(self)); [all...] |
/external/webkit/WebKit/mac/Misc/ |
WebKitNSStringExtras.mm | 66 unsigned length = [self length]; 69 [self getCharacters:buffer.data()]; 109 [self drawAtPoint:point withAttributes:[NSDictionary dictionaryWithObjectsAndKeys:font, NSFontAttributeName, textColor, NSForegroundColorAttributeName, nil]]; 121 [self _web_drawAtPoint:textPoint 126 [self _web_drawAtPoint:textPoint 134 unsigned length = [self length]; 137 [self getCharacters:buffer.data()]; 146 return [self sizeWithAttributes:[NSDictionary dictionaryWithObjectsAndKeys:font, NSFontAttributeName, nil]].width; 154 if ([self hasPrefix:resolvedHomeDirectory]) { 155 NSString *relativePath = [self substringFromIndex:[resolvedHomeDirectory length]] [all...] |
WebNSDictionaryExtras.m | 36 id object = [self objectForKey:key]; 42 NSNumber *number = [self _webkit_numberForKey:key]; 48 id object = [self objectForKey:key]; 54 id object = [self objectForKey:key]; 63 result = [self objectForKey:MIMEType]; 73 return [self objectForKey:[MIMEType substringToIndex:slashRange.location + 1]]; 78 NSNumber *number = [self _webkit_numberForKey:key]; 87 CFDictionarySetValue((CFMutableDictionaryRef)self, key, object); 93 [self setObject:object forKey:key]; 100 [self setObject:object forKey:key] [all...] |
/external/webkit/WebCore/platform/graphics/mac/ |
WebLayer.mm | 123 if ((self = [super initWithLayer:layer])) 126 return self; 139 dirtyRect = CGRectApplyAffineTransform(dirtyRect, [self contentsTransform]); 145 CGRect bounds = [self bounds]; 148 indicatorRect = CGRectApplyAffineTransform(indicatorRect, [self contentsTransform]); 160 m_layerOwner->didDisplay(self); 165 [WebLayer drawContents:m_layerOwner ofLayer:self intoContext:context]; 194 CGRect aBounds = [self bounds]; 195 CGPoint aPos = [self position]; 196 CATransform3D t = [self transform] [all...] |
/frameworks/base/cmds/runtime/ |
SignalHandler.cpp | 105 SignalHandler* const self = getInstance(); local 107 self->mLock.lock(); 121 self->mLock.unlock(); 141 self->mChildHandlers.add(childPid, entry); 143 self->mLock.unlock(); 150 SignalHandler* const self = getInstance(); local 152 AutoMutex _l (self->mLock); 153 const size_t N = self->mChildHandlers.size(); 155 const ChildHandler& ch(self->mChildHandlers.valueAt(i)); 204 SignalHandler* const self = mInstance local [all...] |
/dalvik/vm/mterp/armv5te/ |
OP_MONITOR_ENTER.S | 9 ldr r0, [rGLUE, #offGlue_self] @ r0<- glue->self 14 bl dvmLockObject @ call(self, obj) 16 ldr r0, [rGLUE, #offGlue_self] @ r0<- glue->self
|
/dalvik/vm/mterp/x86/ |
OP_MONITOR_ENTER.S | 10 movl offGlue_self(%ecx),%ecx # ecx<- glue->self 22 call dvmLockObject # dvmLockObject(self,object) 26 movl offGlueSelf(%ecx),%ecx # ecx<- glue->self
|
/external/srec/shared/src/ |
LStringImpl.c | 28 ESR_ReturnCode LStringCreate(LString** self) 49 *self = (LString*) impl; 53 ESR_ReturnCode LString_Append(LString* self, const LCHAR* value) 55 LStringImpl* impl = (LStringImpl*) self; 72 ESR_ReturnCode LString_Reset(LString* self) 74 LStringImpl* impl = (LStringImpl*) self; 80 ESR_ReturnCode LString_ToLCHAR(LString* self, LCHAR** result) 82 LStringImpl* impl = (LStringImpl*) self; 88 return self->destroy(self); [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/commands/ |
queuestest.py | 38 def __init__(self, name, queue): 41 def run(self): 52 def assert_queue_outputs(self, queue, args=None, work_item=None, expected_stdout=None, expected_stderr=None, options=Mock(), tool=MockBugzillaTool()): 60 work_item = self.mock_work_item 65 OutputCapture().assert_outputs(self, 69 OutputCapture().assert_outputs(self, 74 OutputCapture().assert_outputs(self, 78 OutputCapture().assert_outputs(self, 81 OutputCapture().assert_outputs(self, 85 OutputCapture().assert_outputs(self, [all...] |