/external/autotest/client/site_tests/policy_NotificationsBlockedForUrls/ |
policy_NotificationsBlockedForUrls.py | 67 def _wait_for_page_ready(self, tab): 68 """Wait for JavaScript on page in |tab| to set the pageReady flag. 70 @param tab: browser tab with page to load. 74 lambda: tab.EvaluateJavaScript('pageReady'), 78 def _are_notifications_blocked(self, tab): 81 @param: chrome tab which has test page loaded. 86 notification_permission = tab.EvaluateJavaScript( 104 tab = self.navigate_to_url(self.TEST_URL) 105 self._wait_for_page_ready(tab) [all...] |
/external/autotest/client/site_tests/video_ChromeRTCHWEncodeUsed/ |
video_ChromeRTCHWEncodeUsed.py | 40 tab = cr.browser.tabs.New() 41 tab.Navigate(cr.browser.platform.http_server.UrlOf( 43 tab.WaitForDocumentReadyStateToBeComplete() 54 tab = cr.browser.tabs.New() 57 tab.Navigate(HISTOGRAMS_URL + histogram) 58 tab.WaitForDocumentReadyStateToBeComplete() 59 return tab.EvaluateJavaScript( 64 lines = tab.EvaluateJavaScript(
|
/external/syslinux/gpxe/src/interface/efi/ |
efi_init.c | 60 struct efi_config_table *tab; local 99 for_each_table_entry ( tab, EFI_CONFIG_TABLES ) { 100 if ( ( *(tab->table) = efi_find_table ( &tab->u.guid ) ) ) { 102 uuid_ntoa ( &tab->u.uuid ), *(tab->table) ); 105 "table %s\n", uuid_ntoa ( &tab->u.uuid ) ); 106 if ( tab->required )
|
/device/google/contexthub/firmware/os/core/ |
syscall.c | 59 struct SyscallTable* tab = mTable; local 62 while (tab) { 67 if (tab->numEntries <= idx) 71 return &tab->entry[idx].func; 73 tab = tab->entry[idx].subtable;
|
/external/autotest/client/site_tests/graphics_Stress/ |
graphics_Stress.py | 44 tab = cr.browser.tabs[-1] 45 return tab 58 tab = None 60 tab = cr.browser.tabs[0] 61 tab.Navigate(url) 64 tab = self.create_window(cr, url) 66 tab = cr.browser.tabs.New() 67 tab.Navigate(url) 71 tab.WaitForDocumentReadyStateToBeComplete() 72 tab.Activate( [all...] |
/system/core/libprocinfo/ |
process.cpp | 86 char* tab = strchr(line, '\t'); local 87 if (tab == nullptr) { 91 size_t header_len = tab - line; 102 process_info->tid = atoi(tab + 1); 105 process_info->pid = atoi(tab + 1); 108 process_info->ppid = atoi(tab + 1); 111 process_info->tracer = atoi(tab + 1); 114 process_info->uid = atoi(tab + 1); 117 process_info->gid = atoi(tab + 1); 120 process_info->state = parse_state(tab + 1) [all...] |
/libcore/ojluni/src/main/java/java/util/ |
IdentityHashMap.java | 326 Object[] tab = table; local 327 int len = tab.length; 330 Object item = tab[i]; 332 return (V) tab[i + 1]; 350 Object[] tab = table; local 351 int len = tab.length; 354 Object item = tab[i]; 373 Object[] tab = table; local 374 for (int i = 1; i < tab.length; i += 2) 375 if (tab[i] == value && tab[i - 1] != null 391 Object[] tab = table; local 423 final Object[] tab = table; local 520 Object[] tab = table; local 552 Object[] tab = table; local 583 Object[] tab = table; local 616 Object[] tab = table; local 683 Object[] tab = table; local 720 Object[] tab = traversalTable; local 769 Object[] tab = traversalTable; local 1023 Object[] tab = table; local 1111 Object[] tab = table; local 1233 Object[] tab = table; local 1283 Object[] tab = table; local 1327 Object[] tab = table; local [all...] |
Hashtable.java | 298 HashtableEntry<?,?> tab[] = table; local 299 for (int i = tab.length ; i-- > 0 ;) { 300 for (HashtableEntry<?,?> e = tab[i] ; e != null ; e = e.next) { 336 HashtableEntry<?,?> tab[] = table; local 338 int index = (hash & 0x7FFFFFFF) % tab.length; 339 for (HashtableEntry<?,?> e = tab[index] ; e != null ; e = e.next) { 364 HashtableEntry<?,?> tab[] = table; local 366 int index = (hash & 0x7FFFFFFF) % tab.length; 367 for (HashtableEntry<?,?> e = tab[index] ; e != null ; e = e.next) { 424 HashtableEntry<?,?> tab[] = table local 465 HashtableEntry<?,?> tab[] = table; local 492 HashtableEntry<?,?> tab[] = table; local 532 HashtableEntry<?,?> tab[] = table; local 701 HashtableEntry<?,?>[] tab = table; local 716 HashtableEntry<?,?>[] tab = table; local 851 HashtableEntry<?,?>[] tab = table; local 877 HashtableEntry<?, ?>[] tab = table; local 897 HashtableEntry<K, V>[] tab = (HashtableEntry<K, V>[])table; local 916 HashtableEntry<?,?> tab[] = table; local 939 HashtableEntry<?,?> tab[] = table; local 964 HashtableEntry<?,?> tab[] = table; local 985 HashtableEntry<?,?> tab[] = table; local 1004 HashtableEntry<?,?> tab[] = table; local 1028 HashtableEntry<?,?> tab[] = table; local 1057 HashtableEntry<?,?> tab[] = table; local 1092 HashtableEntry<?,?> tab[] = table; local 1410 HashtableEntry<?,?>[] tab = Hashtable.this.table; local [all...] |
/external/abi-compliance-checker/modules/Internals/Scripts/ |
Tabs.js | 8 tab1.className='tab disabled'; 9 tab2.className='tab active'; 20 if (links[j].className.indexOf('tab') != -1) 24 var tab = document.getElementById(links[j].href.substr(links[j].href.indexOf('#') + 1)); 26 if (tab) 29 tab.style.display = 'block'; 32 tab.style.display = 'none'; 37 var tab = document.getElementById(this.href.substr(this.href.indexOf('#') + 1)); 38 if (tab) 46 this.className = 'tab active' [all...] |
/external/jemalloc/src/ |
ckh.c | 59 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; 105 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + 147 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; 251 ckhc_t *tab, *ttab; local 274 tab = (ckhc_t *)ipallocztm(tsd_tsdn(tsd), usize, CACHELINE, 276 if (tab == NULL) { 281 ttab = ckh->tab; 282 ckh->tab = tab; 283 tab = ttab 287 idalloctm(tsd_tsdn(tsd), tab, NULL, true, true); local 305 ckhc_t *tab, *ttab; local 334 idalloctm(tsd_tsdn(tsd), tab, NULL, true, true); local [all...] |
/external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/ |
webrtc_PausePlayPeerConnections.py | 42 self.tab = cr.browser.tabs[0] 43 self.tab.Navigate(cr.browser.platform.http_server.UrlOf( 45 self.tab.WaitForDocumentReadyStateToBeComplete() 46 self.tab.EvaluateJavaScript( 61 status = self.tab.EvaluateJavaScript('testRunner.getStatus()') 84 status = self.tab.EvaluateJavaScript('testRunner.getStatus()') 88 results = self.tab.EvaluateJavaScript('testRunner.getResults()')
|
/external/e2fsprogs/lib/et/ |
com_right.c | 76 struct error_table tab; member in struct:foobar 93 struct error_table *tab; local 103 et->table = tab = &f->tab; 104 tab->msgs = messages; 105 tab->n_msgs = num_errors; 106 tab->base = base;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/ |
2-2.c | 101 int tab[3]; variable 105 tab[global]=n; \ 149 tab[j] = 0; 196 if (tab[j] != j + 1) { 199 tab[0], tab[1], tab[2]);
|
/external/toybox/toys/posix/ |
expand.c | 19 Specify tab stops, either a single number instead of the default 8, 21 positions (absolute, not increments) with each additional tab beyound 31 unsigned tabcount, *tab; 74 width = TT.tabcount ? *TT.tab : 8; 77 if (TT.tab[stop] > x) { 78 width = TT.tab[stop] - x; 122 TT.tab = xmalloc(sizeof(unsigned)*TT.tabcount); 123 parse_tablist(TT.tab); 127 if (CFG_TOYBOX_FREE) free(TT.tab);
|
/external/selinux/checkpolicy/ |
Makefile | 19 CHECKOBJS = y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o \ 24 GENERATED=lex.yy.c y.tab.c y.tab.h 36 y.tab.o: y.tab.c 42 y.tab.c: policy_parse.y 45 lex.yy.c: policy_scan.l y.tab.c 60 -rm -f $(TARGETS) $(CHECKPOLOBJS) $(CHECKMODOBJS) y.tab.c y.tab.h lex.yy.c
|
/libcore/ojluni/src/main/java/java/lang/ |
ThreadLocal.java | 432 Entry[] tab = table; local 433 int len = tab.length; 443 e = tab[i]; 461 Entry[] tab = table; local 462 int len = tab.length; 465 for (Entry e = tab[i]; 467 e = tab[i = nextIndex(i, len)]) { 481 tab[i] = new Entry(key, value); 491 Entry[] tab = table; local 492 int len = tab.length 522 Entry[] tab = table; local 590 Entry[] tab = table; local 651 Entry[] tab = table; local 713 Entry[] tab = table; local [all...] |
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
TabHelperHoneycomb.java | 46 public void addTab(CompatTab tab) { 47 String tag = tab.getTag(); 49 // Check to see if we already have a fragment for this tab, probably 51 // initial state is that a tab isn't shown. 54 tab.setFragment(fragment); 62 if (tab.getCallback() == null) { 66 // We know tab is a CompatTabHoneycomb instance, so its 67 // native tab object is an ActionBar.Tab. 68 mActionBar.addTab((ActionBar.Tab) tab.getTab()) [all...] |
/external/autotest/client/site_tests/login_GaiaLogin/ |
login_GaiaLogin.py | 35 tab = cr.browser.tabs.New() 38 tab.Navigate('http://accounts.google.com') 39 tab.WaitForDocumentReadyStateToBeComplete() 40 res = tab.EvaluateJavaScript(''' 54 tab.Close()
|
/external/autotest/client/site_tests/ui_SettingsPage/ |
ui_SettingsPage.py | 34 tab = cr.browser.tabs[0] 35 tab.Navigate('chrome://settings') 36 tab.WaitForDocumentReadyStateToBeComplete() 38 if not tab.screenshot_supported: 39 raise error.TestError('Tab did not support taking screenshots') 41 screenshot = tab.Screenshot()
|
/toolchain/binutils/binutils-2.25/gprof/ |
sym_ids.c | 242 extend_match (struct match *m, Sym *sym, Sym_Table *tab, bfd_boolean second_pass) 249 tab->base[tab->len] = *sym; 250 m->prev_index = tab->len; 253 tab->base[tab->len].next = m->first_match; 254 m->first_match = &tab->base[tab->len]; 257 ++tab->len; 262 tab->base[m->prev_index].end_addr = sym->end_addr 280 Sym_Table *tab; local [all...] |
symtab.c | 80 symtab_finalize (Sym_Table *tab) 85 if (!tab->len) 89 qsort (tab->base, tab->len, sizeof (Sym), cmp_addr); 93 prev_addr = tab->base[0].addr + 1; 95 for (src = dst = tab->base; src < tab->limit; ++src) 138 if (dst > tab->base && dst[-1].end_addr == 0) 151 if (tab->len > 0 && dst[-1].end_addr == 0) 157 tab->len - (int) (dst - tab->base))) [all...] |
/external/autotest/client/site_tests/audio_SeekAudioFeedback/ |
audio_SeekAudioFeedback.py | 36 tab = self.chrome.browser.tabs[0] 37 tab.Navigate(self.chrome.browser.platform.http_server.UrlOf( 39 tab.WaitForDocumentReadyStateToBeComplete() 42 self.rms_test(tab, test_file, noiseprof_file.name, test_duration) 46 def rms_test(self, tab, test_file, noiseprof_file, test_duration): 54 self.play_media(tab, test_file, x) 78 def wait_player_end(self, tab): 81 condition=lambda: tab.EvaluateJavaScript('player.ended'), 85 def play_media(self, tab, test_file, value): 91 tab.EvaluateJavaScript('play("%s")' % test_file [all...] |
/external/autotest/client/site_tests/desktopui_MediaAudioFeedback/ |
desktopui_MediaAudioFeedback.py | 33 tab = self.chrome.browser.tabs[0] 34 tab.Navigate(self.chrome.browser.platform.http_server.UrlOf( 36 tab.WaitForDocumentReadyStateToBeComplete() 40 self.rms_test(tab, media_file, noiseprof_file.name, test_duration) 44 def rms_test(self, tab, media_file, noiseprof_file, test_duration): 50 self.play_media(tab, media_file) 75 self.wait_player_end(tab) 78 def wait_player_end(self, tab): 81 condition=lambda: tab.EvaluateJavaScript('player.ended'), 85 def play_media(self, tab, media_file) [all...] |
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
TabLayoutCustomItemsUsage.java | 43 TabLayout.Tab tab = tabLayout.newTab(); local 45 tabLayout.addTab(tab); 46 tab.setCustomView(R.layout.design_tab_custom);
|
/external/autotest/client/site_tests/graphics_WebGLClear/ |
graphics_WebGLClear.py | 51 tab = browser.tabs.New() 52 tab.Navigate(test_url) 53 tab.Activate() 54 tab.WaitForDocumentReadyStateToBeComplete() 56 avg_fps = tab.EvaluateJavaScript('g_fpsTimer.averageFPS;') 65 tab.Close()
|