/external/webkit/WebKitTools/Scripts/webkitpy/steps/ |
confirmdiff.py | 41 def run(self, state): 42 if not self._options.confirm: 44 diff = self.cached_lookup(state, "diff") 45 self._tool.user.page(diff) 46 if not self._tool.user.confirm("Was that diff correct?"):
|
checkstyle.py | 44 def run(self, state): 45 if not self._options.check_style: 47 os.chdir(self._tool.scm().checkout_root) 49 self._run_script("check-webkit-style") 51 if self._options.non_interactive: 55 if not self._tool.user.confirm("Are you sure you want to continue?"):
|
preparechangelogforrevert.py | 36 def run(self, state): 38 os.chdir(self._tool.scm().checkout_root) 39 changelog_paths = self._tool.scm().modified_changelogs() 40 self._tool.scm().revert_files(changelog_paths) 44 self._run_script("prepare-ChangeLog") 45 bug_url = self._tool.bugs.bug_url_for_bug_id(state["bug_id"]) if state["bug_id"] else None
|
/external/webkit/WebKit/mac/Plugins/ |
WebNetscapePluginView.mm | 193 WebCoreObjCFinalizeOnMainThread(self); 208 NSWindow *currentWindow = [self currentWindow]; 274 ASSERT([self currentWindow] != nil); 277 NSRect boundsInWindow = [self convertRect:[self bounds] toView:nil]; 278 NSRect visibleRectInWindow = [self convertRect:[self visibleRect] toView:nil]; 281 float borderViewHeight = [[self currentWindow] frame].size.height; 286 WindowRef windowRef = (WindowRef)[[self currentWindow] windowRef]; 293 [self fixWindowPort] [all...] |
WebNullPluginView.mm | 49 self = [super initWithFrame:frame]; 50 if (!self) 57 [self setImage:nullPlugInImage]; 59 return self; 96 if ([self window]) 97 [self reportFailure];
|
/external/clearsilver/python/examples/base/ |
odb_sqlite.py | 33 def __init__(self,db, debug=0): 34 odb.Database.__init__(self, db, debug=debug) 35 self.SQLError = sqlite.Error 37 def escape(self,str): 48 def listTables(self, cursor=None): 49 if cursor is None: cursor = self.defaultCursor() 56 def listIndices(self, cursor=None): 57 if cursor is None: cursor = self.defaultCursor() 64 def listFieldsDict(self, table_name, cursor=None): 65 if cursor is None: cursor = self.defaultCursor( [all...] |
/external/gtest/test/ |
gtest_throw_on_failure_test.py | 83 def RunAndVerify(self, env_var_value, flag_value, should_fail): 126 self.assert_(failed == should_fail, msg) 128 def testDefaultBehavior(self): 131 self.RunAndVerify(env_var_value=None, flag_value=None, should_fail=False) 133 def testThrowOnFailureEnvVar(self): 136 self.RunAndVerify(env_var_value='0', 139 self.RunAndVerify(env_var_value='1', 143 def testThrowOnFailureFlag(self): 146 self.RunAndVerify(env_var_value=None, 149 self.RunAndVerify(env_var_value=None [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/test_types/ |
text_diff.py | 52 def get_normalized_output_text(self, output): 59 def get_normalized_expected_text(self, filename, show_sources): 64 expected_filename = self._port.expected_filename(filename, '.txt') 68 return self.get_normalized_text(expected_filename) 70 def get_normalized_text(self, filename): 81 def compare_output(self, port, filename, output, test_args, target): 88 self._save_baseline_data(filename, output, ".txt") 92 output = self.get_normalized_output_text(output) 93 expected = self.get_normalized_expected_text(filename, 99 self.write_output_files(port, filename, "", ".txt", output [all...] |
/frameworks/base/libs/ui/ |
FramebufferNativeWindow.cpp | 180 FramebufferNativeWindow* self = getSelf(window); local 181 Mutex::Autolock _l(self->mutex); 182 framebuffer_device_t* fb = self->fbDev; 185 while (!self->mNumFreeBuffers) { 186 self->mCondition.wait(self->mutex); 189 self->mNumFreeBuffers--; 190 int index = self->mBufferHead++; 191 if (self->mBufferHead >= self->mNumBuffers 202 FramebufferNativeWindow* self = getSelf(window); local 216 FramebufferNativeWindow* self = getSelf(window); local 230 FramebufferNativeWindow* self = getSelf(window); local [all...] |
/external/bluetooth/glib/gthread/ |
gthread-impl.c | 104 GSystemThread self; local 105 g_thread_functions_for_glib_use.thread_self (&self); 107 if (g_system_thread_equal (info->owner, self)) 114 g_system_thread_assign (info->owner, self); 126 GSystemThread self; local 127 g_thread_functions_for_glib_use.thread_self (&self); 129 if (g_system_thread_equal (info->owner, self)) 137 g_system_thread_assign (info->owner, self); 151 GSystemThread self; local 152 g_thread_functions_for_glib_use.thread_self (&self); 193 GSystemThread self; local 224 GSystemThread self; local [all...] |
/external/webkit/WebKit/mac/Misc/ |
WebNSPasteboardExtras.mm | 121 NSArray *types = [self types]; 124 NSURL *URLFromPasteboard = [NSURL URLFromPasteboard:self]; 132 NSString *URLString = [self stringForType:NSStringPboardType]; 142 NSArray *files = [self propertyListForType:NSFilenamesPboardType]; 166 [URL writeToPasteboard:self]; 168 [self setString:[URL _web_originalDataAsString] forType:WebURLPboardType]; 170 [self setString:title forType:WebURLNamePboardType]; 172 [self setString:[URL _web_userVisibleString] forType:NSStringPboardType]; 174 [WebURLsWithTitles writeURLs:[NSArray arrayWithObject:URL] andTitles:[NSArray arrayWithObject:title] toPasteboard:self]; 193 [self setData:RTFDData forType:NSRTFDPboardType] [all...] |
/external/srec/srec/EventLog/src/ |
EventLogImpl.c | 98 ESR_ReturnCode propertyChanged(ESR_SessionTypeListener* self, const LCHAR* name, const void* oldValue, const void* newValue, VariableTypes variableType, void* data) 154 ESR_ReturnCode SR_EventLogCreate(SR_EventLog** self) 167 if (self == NULL) 177 *self = (SR_EventLog*)any_existing_eventlog; 282 *self = (SR_EventLog*) impl; 290 ESR_ReturnCode SR_EventLog_Destroy(SR_EventLog* self) 292 SR_EventLogImpl* impl = (SR_EventLogImpl*) self; 335 ESR_ReturnCode SR_EventLog_Token(SR_EventLog* self, const LCHAR* token, const LCHAR *value) 337 SR_EventLogImpl *impl = (SR_EventLogImpl *)self; 340 if (self == NULL || token == NULL || value == NULL [all...] |
/bionic/libc/tools/ |
bionic_utils.py | 131 def __init__(self): 132 self.syscalls = [] 133 self.lineno = 0 136 print "%d: %s" % (self.lineno, msg) 138 def parse_line(self, line): 145 E = self.E 226 self.syscalls.append(t) 228 def parse_file(self, file_path): 232 self.lineno += 1 236 self.parse_line(line [all...] |
gensyscalls.py | 249 def __init__(self): 250 self.old_stubs = [] 251 self.new_stubs = [] 252 self.other_files = [] 253 self.syscalls = [] 255 def x86_genstub(self, fname, numparams, idname): 276 def x86_genstub_cid(self, fname, numparams, idname, cid): 314 def arm_genstub(self,fname, flags, idname): 324 def arm_eabi_genstub(self,fname, flags, idname): 334 def thumb_genstub(self,fname, flags, idname) [all...] |
/external/oprofile/daemon/ |
opd_perfmon.c | 206 static void create_context(struct child * self) 222 self->ctx_fd = ctx.ctx_fd; 227 static void write_pmu(struct child * self) 269 err = perfmonctl(self->ctx_fd, PFM_WRITE_PMCS, pc, i); 275 err = perfmonctl(self->ctx_fd, PFM_WRITE_PMDS, pd, i); 283 static void load_context(struct child * self) 289 load_args.load_pid = self->pid; 291 err = perfmonctl(self->ctx_fd, PFM_LOAD_CONTEXT, &load_args, 1); 299 static void notify_parent(struct child * self, size_t cpu) 303 ret = write(self->up_pipe[1], &cpu, sizeof(size_t)) 317 struct child * self = &children[cpu]; local [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/commands/ |
download.py | 87 def _prepare_state(self, options, args, tool): 97 # def _fetch_list_of_patches_to_process(self, options, args, tool): 98 # def _prepare_to_process(self, options, args, tool): 107 def execute(self, options, args, tool): 108 self._prepare_to_process(options, args, tool) 109 patches = self._fetch_list_of_patches_to_process(options, args, tool) 112 bugs_to_patches = self._collect_patches_by_bug(patches) 116 self._process_patch(patch, options, args, tool) 123 def __init__(self): 125 self._prepare_sequence = StepSequence(self.prepare_steps [all...] |
/external/srec/srec/Recognizer/include/ |
SR_RecognizerResultImpl.h | 75 * @param self RecognizerResult handle 77 SREC_RECOGNIZER_API ESR_ReturnCode SR_RecognizerResult_Create(SR_RecognizerResult** self, SR_RecognizerImpl* recogImpl); 81 SREC_RECOGNIZER_API ESR_ReturnCode SR_RecognizerResult_GetWaveform(const SR_RecognizerResult* self, 87 SREC_RECOGNIZER_API ESR_ReturnCode SR_RecognizerResult_GetSize(const SR_RecognizerResult* self, 92 SREC_RECOGNIZER_API ESR_ReturnCode SR_RecognizerResult_GetKeyCount(const SR_RecognizerResult* self, 98 SREC_RECOGNIZER_API ESR_ReturnCode SR_RecognizerResult_GetKeyList(const SR_RecognizerResult* self, 105 SREC_RECOGNIZER_API ESR_ReturnCode SR_RecognizerResult_GetValue(const SR_RecognizerResult* self, 113 SREC_RECOGNIZER_API ESR_ReturnCode SR_RecognizerResult_GetLocale(const SR_RecognizerResult* self, 120 SREC_RECOGNIZER_API ESR_ReturnCode SR_RecognizerResult_Destroy(SR_RecognizerResult* self);
|
/external/webkit/WebKit/mac/WebView/ |
WebScriptWorld.mm | 60 self = [super init]; 61 if (!self) 68 allWorlds().add(_private->world.get(), self); 70 return self; 75 return [self initWithWorld:ScriptController::createWorld()]; 96 return [[[self alloc] init] autorelease]; 101 return [self findOrCreateWorld:currentWorld(toJS(context))]; 118 return [self standardWorld]; 123 return [[[self alloc] initWithWorld:world] autorelease];
|
WebViewEventHandling.mm | 59 if (lastMouseoverView == self) 91 RetainPtr<WebView> protector = self; 92 if ([[self inputContext] wantsToHandleMouseEvents] && [[self inputContext] handleMouseEvent:event]) 98 [self _setMouseDownEvent:event]; 112 [self _cancelUpdateMouseoverTimer]; 116 if (Frame* frame = [self _mainCoreFrame]) 140 [self _setMouseDownEvent:nil]; 146 [self retain]; 148 [self _stopAutoscrollTimer] [all...] |
WebGeolocationPosition.mm | 54 self = [super init]; 55 if (!self) 58 return self; 75 self = [super init]; 76 if (!self) 83 return self;
|
/external/webkit/WebKitTools/DumpRenderTree/mac/ |
DumpRenderTreeWindow.mm | 63 CFArrayAppendValue(openWindowsRef, self); 70 [[NSNotificationCenter defaultCenter] removeObserver:self]; 73 CFIndex i = CFArrayGetFirstIndexOfValue(openWindowsRef, arrayRange, self); 94 if ([[[self contentView] subviews] count] > 0) { 95 firstView = [[[self contentView] subviews] objectAtIndex:0]; 104 [[self webView] _setPostsAcceleratedCompositingNotifications:YES]; 105 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(webViewStartedAcceleratedCompositing:) 114 if ([[self webView] _isUsingAcceleratedCompositing]) 115 [self setAutodisplay:YES];
|
/external/srec/srec/Semproc/include/ |
SR_SemanticGraph.h | 49 * @param self SR_SemanticGraph handle 51 ESR_ReturnCode(*destroy)(struct SR_SemanticGraph_t* self); 55 * @param self SR_SemanticGraph handle 62 ESR_ReturnCode(*load)(struct SR_SemanticGraph_t* self, wordmap* ilabels, const LCHAR* basename, int num_words_to_add); 66 * @param self SR_SemanticGraph handle 69 ESR_ReturnCode(*unload)(struct SR_SemanticGraph_t* self); 74 * @param self SR_SemanticGraph handle 78 ESR_ReturnCode(*save)(struct SR_SemanticGraph_t* self, const LCHAR* filename, int version_number); 83 * @param self SR_SemanticGraph handle 89 ESR_ReturnCode(*addWordToSlot)(struct SR_SemanticGraph_t* self, const LCHAR* slot, const LCHAR* word, const LCHAR* tag, const ESR_BOOL maybeMultiMeaning) [all...] |
/external/opencore/engines/2way/src/ |
pv_2way_dec_data_channel_datapath.cpp | 24 CPV2WayDecDataChannelDatapath *self = OSCL_NEW(CPV2WayDecDataChannelDatapath, (aLogger, aFormat, a2Way)); local 25 OsclError::LeaveIfNull(self); 27 if (self) 29 OSCL_TRAPSTACK_PUSH(self); 30 self->ConstructL(); 34 return self;
|
/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/port/ |
http_server_base.py | 40 def __init__(self, port_obj): 41 self._port_obj = port_obj 43 def wait_for_action(self, action): 54 def is_server_running_on_all_ports(self): 56 for mapping in self.mappings: 73 def remove_log_files(self, folder, starts_with):
|
/external/srec/srec/Recognizer/src/ |
RecognizerResultImpl.c | 31 ESR_ReturnCode SR_RecognizerResult_Create(SR_RecognizerResult** self, SR_RecognizerImpl* recogImpl) 35 if (self == NULL || recogImpl == NULL) 57 *self = (SR_RecognizerResult*) impl; 61 ESR_ReturnCode SR_RecognizerResult_GetWaveform(const SR_RecognizerResult* self, 64 SR_RecognizerResultImpl* impl = (SR_RecognizerResultImpl*) self; 92 ESR_ReturnCode SR_RecognizerResult_GetSize(const SR_RecognizerResult* self, size_t* count) 94 SR_RecognizerResultImpl* impl = (SR_RecognizerResultImpl*) self; 103 ESR_ReturnCode SR_RecognizerResult_GetKeyCount(const SR_RecognizerResult* self, 106 SR_RecognizerResultImpl* impl = (SR_RecognizerResultImpl*) self; 124 ESR_ReturnCode SR_RecognizerResult_GetKeyList(const SR_RecognizerResult* self, [all...] |