/external/mesa3d/src/mesa/main/ |
D | vtxfmt.c | 45 install_vtxfmt(struct gl_context *ctx, struct _glapi_table *tab, in install_vtxfmt() argument 51 SET_Color4f(tab, vfmt->Color4f); in install_vtxfmt() 55 _mesa_install_arrayelt_vtxfmt(tab, vfmt); in install_vtxfmt() 56 SET_Color3f(tab, vfmt->Color3f); in install_vtxfmt() 57 SET_Color3fv(tab, vfmt->Color3fv); in install_vtxfmt() 58 SET_Color4fv(tab, vfmt->Color4fv); in install_vtxfmt() 59 SET_EdgeFlag(tab, vfmt->EdgeFlag); in install_vtxfmt() 63 _mesa_install_eval_vtxfmt(tab, vfmt); in install_vtxfmt() 67 SET_Materialfv(tab, vfmt->Materialfv); in install_vtxfmt() 68 SET_MultiTexCoord4fARB(tab, vfmt->MultiTexCoord4fARB); in install_vtxfmt() [all …]
|
/external/u-boot/arch/x86/lib/ |
D | sfi.c | 32 static void *get_entry_start(struct table_info *tab) in get_entry_start() argument 34 if (tab->count == SFI_TABLE_MAX_ENTRIES) in get_entry_start() 36 tab->entry_start = tab->base + tab->ptr; in get_entry_start() 37 tab->table[tab->count] = tab->entry_start; in get_entry_start() 38 tab->entry_start += sizeof(struct sfi_table_header); in get_entry_start() 40 return (void *)(uintptr_t)tab->entry_start; in get_entry_start() 43 static void finish_table(struct table_info *tab, const char *sig, void *entry) in finish_table() argument 47 hdr = (struct sfi_table_header *)(uintptr_t)(tab->base + tab->ptr); in finish_table() 49 hdr->len = sizeof(*hdr) + ((ulong)entry - tab->entry_start); in finish_table() 55 tab->ptr += hdr->len; in finish_table() [all …]
|
/external/autotest/client/site_tests/autoupdate_UserData/ |
D | autoupdate_UserData.py | 37 def _execute_javascript(self, tab, code): argument 45 tab.ExecuteJavaScript(code) 49 def _navigate(self, tab, url): argument 57 tab.Navigate(url) 58 tab.WaitForDocumentReadyStateToBeComplete() 62 def _modify_input_methods(self, tab): argument 70 self._navigate(tab, 'chrome://settings/languages') 71 self._execute_javascript(tab, self._CLICK_INPUT_METHOD_BUTTON) 72 self._execute_javascript(tab, self._CLICK_MANAGE_INPUT_METHODS_BUTTON) 73 self._execute_javascript(tab, self._CLICK_ADD_US_INTL_OPTION) [all …]
|
/external/autotest/client/cros/video/ |
D | native_html5_player.py | 25 self.tab.ExecuteJavaScript( 36 return self.tab.EvaluateJavaScript('canplay()') 46 return self.tab.EvaluateJavaScript( 55 self.tab.ExecuteJavaScript('play()') 63 self.tab.ExecuteJavaScript('pause()') 72 return self.tab.EvaluateJavaScript(cmd) 81 return self.tab.EvaluateJavaScript(cmd) 89 return self.tab.EvaluateJavaScript('currentTime()') 100 self.tab.ExecuteJavaScript(cmd) 108 return self.tab.EvaluateJavaScript('finishedSeeking()') [all …]
|
D | histogram_verifier.py | 13 def get_histogram_text(tab, histogram_name): argument 22 tab.Navigate('chrome://histograms/%s' % histogram_name) 23 tab.WaitForDocumentReadyStateToBeComplete() 24 raw_text = tab.EvaluateJavaScript( 37 def loaded(tab, histogram_name, pattern): argument 48 return re.search(pattern, get_histogram_text(tab, histogram_name)) 69 tab = cr.browser.tabs.New() 71 utils.poll_for_condition(lambda : loaded(tab, histogram_name, 108 tab = cr.browser.tabs.New() 110 utils.poll_for_condition(lambda : loaded(tab, histogram_name, [all …]
|
/external/autotest/client/site_tests/video_YouTubeMseEme/ |
D | video_YouTubeMseEme.py | 38 self.tab = chrome.browser.tabs[0] 39 self.tab.Navigate(player_page) 40 self.tab.WaitForDocumentReadyStateToBeComplete() 49 self.tab.WaitForJavaScriptCondition( 62 self.tab.ExecuteJavaScript(js) 84 return self.tab.EvaluateJavaScript( 98 self.tab.EvaluateJavaScript( 107 self.tab.ExecuteJavaScript('window.__testAttach();') 115 self.tab.ExecuteJavaScript('window.__testAddSourceBuffer();') 125 self.tab.ExecuteJavaScript('window.__testAddSupportedFormats();') [all …]
|
/external/autotest/client/site_tests/platform_InputBrowserNav/ |
D | platform_InputBrowserNav.py | 31 def test_back(self, tab): argument 40 self.verify_url(tab, self.URL_1) 42 def test_forward(self, tab): argument 51 self.verify_url(tab, self.URL_2) 53 def test_refresh(self, tab): argument 63 tab.EvaluateJavaScript("not_refreshed=true") 66 lambda: tab.EvaluateJavaScript(js), 74 self.verify_url(tab, self.URL_2) 78 not_refresh = tab.EvaluateJavaScript(js) 83 def verify_url(self, tab, correct_url): argument [all …]
|
/external/jemalloc/src/ |
D | ckh.c | 59 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; in ckh_bucket_search() 105 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + in ckh_try_bucket_insert() 147 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; in ckh_evict_reloc_insert() 251 ckhc_t *tab, *ttab; in ckh_grow() local 274 tab = (ckhc_t *)ipallocztm(tsd_tsdn(tsd), usize, CACHELINE, in ckh_grow() 276 if (tab == NULL) { in ckh_grow() 281 ttab = ckh->tab; in ckh_grow() 282 ckh->tab = tab; in ckh_grow() 283 tab = ttab; in ckh_grow() 286 if (!ckh_rebuild(ckh, tab)) { in ckh_grow() [all …]
|
/external/jemalloc_new/src/ |
D | ckh.c | 68 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; in ckh_bucket_search() 114 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + in ckh_try_bucket_insert() 155 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; in ckh_evict_reloc_insert() 259 ckhc_t *tab, *ttab; in ckh_grow() local 282 tab = (ckhc_t *)ipallocztm(tsd_tsdn(tsd), usize, CACHELINE, in ckh_grow() 284 if (tab == NULL) { in ckh_grow() 289 ttab = ckh->tab; in ckh_grow() 290 ckh->tab = tab; in ckh_grow() 291 tab = ttab; in ckh_grow() 294 if (!ckh_rebuild(ckh, tab)) { in ckh_grow() [all …]
|
/external/libevent/test/ |
D | regress_testutils.c | 152 struct regress_dns_server_table *tab = data; in regress_dns_server_cb() local 161 while (tab->q && evutil_ascii_strcasecmp(question, tab->q) && in regress_dns_server_cb() 162 strcmp("*", tab->q)) in regress_dns_server_cb() 163 ++tab; in regress_dns_server_cb() 164 if (tab->q == NULL) in regress_dns_server_cb() 167 ++tab->seen; in regress_dns_server_cb() 169 if (tab->lower) in regress_dns_server_cb() 172 if (!strcmp(tab->anstype, "err")) { in regress_dns_server_cb() 173 int err = atoi(tab->ans); in regress_dns_server_cb() 176 } else if (!strcmp(tab->anstype, "errsoa")) { in regress_dns_server_cb() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | crc32c.c | 78 const uint32_t (*tab)[256]) in crc32_body() 95 const uint32_t *t0 = tab[0], *t1 = tab[1], *t2 = tab[2], *t3 = tab[3]; in crc32_body() 96 const uint32_t *t4 = tab[4], *t5 = tab[5], *t6 = tab[6], *t7 = tab[7]; in crc32_body() 148 size_t len, const uint32_t (*tab)[256], in crc32_le_generic() 161 crc = (crc >> 2) ^ tab[0][crc & 3]; in crc32_le_generic() 162 crc = (crc >> 2) ^ tab[0][crc & 3]; in crc32_le_generic() 163 crc = (crc >> 2) ^ tab[0][crc & 3]; in crc32_le_generic() 164 crc = (crc >> 2) ^ tab[0][crc & 3]; in crc32_le_generic() 169 crc = (crc >> 4) ^ tab[0][crc & 15]; in crc32_le_generic() 170 crc = (crc >> 4) ^ tab[0][crc & 15]; in crc32_le_generic() [all …]
|
/external/autotest/client/site_tests/graphics_Stress/ |
D | 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 …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_exit/ |
D | 3-2.c | 94 int tab[4]; variable 99 tab[global]=n; \ 119 ret = pthread_setspecific(tld[0], (void *)&tab[3]); in threaded() 126 ret = pthread_setspecific(tld[1], (void *)&tab[3]); in threaded() 132 ret = pthread_setspecific(tld[2], (void *)&tab[3]); in threaded() 174 tab[j] = 0; in main() 221 if ((tab[j] != j + 1) || (tab[3] != 9)) { in main() 224 tab[0], tab[1], tab[2], in main() 225 tab[3]); in main()
|
/external/autotest/client/site_tests/power_VideoSuspend/ |
D | power_VideoSuspend.py | 24 tab = cr.browser.tabs[0] 25 tab.Navigate(cr.browser.platform.http_server.UrlOf( 27 tab.WaitForDocumentReadyStateToBeComplete() 30 self._suspend_with_video(cr.browser, tab, url) 33 def _check_video_is_playing(self, tab): argument 35 return tab.EvaluateJavaScript('player.currentTime') 43 def _suspend_with_video(self, browser, tab, video_url): argument 45 tab.EvaluateJavaScript('play("%s")' % video_url) 47 self._check_video_is_playing(tab) 53 self._check_video_is_playing(tab)
|
/external/autotest/client/site_tests/power_FlashVideoSuspend/ |
D | power_FlashVideoSuspend.py | 23 tab = cr.browser.tabs[0] 24 tab.Navigate(cr.browser.platform.http_server.UrlOf( 29 def check_video_is_playing(self, tab): argument 37 return tab.EvaluateJavaScript('player.getCurrentTime()') 45 def suspend_with_youtube(self, tab, video_url): argument 52 tab.WaitForDocumentReadyStateToBeInteractiveOrBetter() 54 tab.EvaluateJavaScript('play("%s")' % video_url) 55 tab.WaitForJavaScriptCondition('typeof player != "undefined"', 58 self.check_video_is_playing(tab) 68 self.check_video_is_playing(tab)
|
/external/autotest/client/site_tests/desktopui_MediaAudioFeedback/ |
D | 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): argument 50 self.play_media(tab, media_file) 75 self.wait_player_end(tab) 78 def wait_player_end(self, tab): argument 81 condition=lambda: tab.EvaluateJavaScript('player.ended'), 85 def play_media(self, tab, media_file): argument [all …]
|
/external/autotest/client/site_tests/audio_SeekAudioFeedback/ |
D | 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): argument 54 self.play_media(tab, test_file, x) 78 def wait_player_end(self, tab): argument 81 condition=lambda: tab.EvaluateJavaScript('player.ended'), 85 def play_media(self, tab, test_file, value): argument 91 tab.EvaluateJavaScript('play("%s")' % test_file) [all …]
|
/external/autotest/client/cros/multimedia/ |
D | facade_resource.py | 161 def _generate_tab_descriptor(tab): argument 168 return hex(id(tab)) 183 for tab in browser_tabs: 184 if self._generate_tab_descriptor(tab) not in self._tabs: 187 tab.Close() 189 logging.warn('close tab timeout %r, %s', tab, tab.url) 241 tab = self._browser.tabs.New() 242 tab.Navigate(url) 243 tab.Activate() 244 tab.WaitForDocumentReadyStateToBeComplete() [all …]
|
/external/autotest/client/site_tests/power_ThermalLoad/ |
D | power_ThermalLoad.py | 26 tab = self.cr.browser.tabs.New() 27 tab.Activate() 30 fullscreen = tab.EvaluateJavaScript('document.webkitIsFullScreen') 38 tab.Navigate(test_url) 39 tab.WaitForDocumentReadyStateToBeComplete() 43 tab.EvaluateJavaScript('$("#jCount").val(100);') 44 tab.EvaluateJavaScript('$("#jSpeed").val(0.1);') 47 while tab.EvaluateJavaScript('jellyfish.count') < 100:
|
/external/autotest/client/site_tests/video_YouTubePage/ |
D | video_YouTubePage.py | 45 tab = None variable in video_YouTubePage 55 self.tab = chrome.browser.tabs[0] 57 self.tab.Navigate(player_page) 58 self.tab.WaitForDocumentReadyStateToBeComplete() 67 if not self.tab.EvaluateJavaScript(js): 78 return self.tab.EvaluateJavaScript('window.__getVideoState();') 85 self.tab.ExecuteJavaScript('window.__playVideo();') 92 self.tab.ExecuteJavaScript('window.__pauseVideo();') 101 self.tab.ExecuteJavaScript('window.__seek(%f);' % new_time) 111 self.tab.ExecuteJavaScript( [all …]
|
/external/autotest/client/common_lib/cros/ |
D | test_webrtc_peer_connection.py | 74 self.tab = None 92 self.tab = cr.browser.tabs[0] 93 self.tab.Navigate(cr.browser.platform.http_server.UrlOf( 95 self.tab.WaitForDocumentReadyStateToBeComplete() 97 self.before_start_hook(self.tab) 98 self.tab.EvaluateJavaScript( 112 status = self.tab.EvaluateJavaScript('getStatus()') 194 status = self.tab.EvaluateJavaScript('getStatus()') 237 if self.tab is not None and self.tab.screenshot_supported: 239 screenshot = self.tab.Screenshot(timeout = 10) [all …]
|
/external/libunwind/src/dwarf/ |
D | Gfind_proc_info-lsb.c | 400 struct table_entry *tab; member 406 debug_frame_tab_append (struct debug_frame_tab *tab, in debug_frame_tab_append() argument 409 unsigned int length = tab->length; in debug_frame_tab_append() 411 if (length == tab->size) in debug_frame_tab_append() 413 tab->size *= 2; in debug_frame_tab_append() 414 tab->tab = realloc (tab->tab, sizeof (struct table_entry) * tab->size); in debug_frame_tab_append() 417 tab->tab[length].fde_offset = fde_offset; in debug_frame_tab_append() 418 tab->tab[length].start_ip_offset = start_ip; in debug_frame_tab_append() 420 tab->length = length + 1; in debug_frame_tab_append() 424 debug_frame_tab_shrink (struct debug_frame_tab *tab) in debug_frame_tab_shrink() argument [all …]
|
/external/autotest/client/site_tests/power_VideoPlayback/ |
D | power_VideoPlayback.py | 109 tab = cr.browser.tabs[0] 110 tab.Navigate(cr.browser.platform.http_server.UrlOf(local_path)) 111 tab.WaitForDocumentReadyStateToBeComplete() 112 tab.EvaluateJavaScript("document.getElementsByTagName('video')[0]." 115 def _calculate_dropped_frame_percent(self, tab): argument 120 decoded_frame_count = tab.EvaluateJavaScript( 123 dropped_frame_count = tab.EvaluateJavaScript( 165 tab = self.cr.browser.tabs.New() 166 tab.Activate() 169 fullscreen = tab.EvaluateJavaScript('document.webkitIsFullScreen') [all …]
|
/external/autotest/client/site_tests/policy_JavaScriptAllowedForUrls/ |
D | policy_JavaScriptAllowedForUrls.py | 76 def _can_execute_javascript(self, tab): argument 83 lambda: tab.EvaluateJavaScript('jsAllowed', timeout=2), 103 tab = self.cr.browser.tabs.New() 104 tab.Activate() 105 tab.Navigate(self.TEST_URL) 109 lambda: tab.url == self.TEST_URL, 111 javascript_is_allowed = self._can_execute_javascript(tab) 122 tab.Close()
|
/external/autotest/client/site_tests/policy_ImagesAllowedForUrls/ |
D | policy_ImagesAllowedForUrls.py | 74 def _wait_for_page_ready(self, tab): argument 76 lambda: tab.EvaluateJavaScript('pageReady'), 80 def _is_image_blocked(self, tab): argument 81 image_width = tab.EvaluateJavaScript( 97 tab = self.navigate_to_url(self.TEST_URL) 98 self._wait_for_page_ready(tab) 99 image_is_blocked = self._is_image_blocked(tab) 110 tab.Close()
|